Compare commits
43 Commits
Author | SHA1 | Date |
---|---|---|
|
58585c1526 | |
|
7abd2ecddc | |
|
819e1845c7 | |
|
394d16a96f | |
|
29f45692e9 | |
|
01d8584a7f | |
|
7fce7dd559 | |
|
331cca66dd | |
|
a25e2da920 | |
|
84618aead6 | |
|
3f910f9d2b | |
|
2f4ff8b6a9 | |
|
7bc1d917dd | |
|
99cd30a7a4 | |
|
de40642e89 | |
|
8233e2abed | |
|
685d1da15c | |
|
163499308f | |
|
c92e5862d0 | |
|
dd40c27e8a | |
|
c2c892b071 | |
|
260acdd898 | |
|
9ae71251ae | |
|
d35149e2b7 | |
|
034cb0048b | |
|
ca091d0342 | |
|
a84721b8d8 | |
|
602602f69a | |
|
26d4b30634 | |
|
b7a7963223 | |
|
12ebf9c5e6 | |
|
23b7ca8cff | |
|
feaecba71c | |
|
a206198e31 | |
|
13f2ce6b98 | |
|
68bff40ba7 | |
|
79a06a587c | |
|
b83f9e68e9 | |
|
a7efa3576b | |
|
edbdf8520b | |
|
1f5a4cd072 | |
|
365f27b911 | |
|
99ff788169 |
|
@ -70,7 +70,7 @@ jobs:
|
|||
name: Code Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Use Node.js 18
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.pull_request }}
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Use Node.js 18
|
||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -19,8 +19,8 @@ script:
|
|||
- npm run --ignore-scripts build
|
||||
- npm test --ignore-scripts
|
||||
node_js:
|
||||
- 10
|
||||
- 12
|
||||
- 14
|
||||
- 16
|
||||
- 17
|
||||
- 10.24.1
|
||||
- 12.22.12
|
||||
- 14.21.3
|
||||
- 16.20.2
|
||||
- 17.9.1
|
||||
|
|
64
CHANGES.md
64
CHANGES.md
|
@ -1,3 +1,67 @@
|
|||
2024-05-14, Version 5.0.9
|
||||
=========================
|
||||
|
||||
* chore: update dependency loopback-connector to ^6.1.5 (renovate[bot])
|
||||
|
||||
* chore: lock file maintenance (renovate[bot])
|
||||
|
||||
* chore: update actions/checkout action to v4.1.5 (renovate[bot])
|
||||
|
||||
* chore: update actions/checkout action to v4.1.4 (renovate[bot])
|
||||
|
||||
* chore: update dependency @commitlint/cli to ^19.3.0 (renovate[bot])
|
||||
|
||||
* chore: update actions/checkout action to v4.1.3 (renovate[bot])
|
||||
|
||||
* chore: update dependency eslint-plugin-mocha to ^10.4.3 (renovate[bot])
|
||||
|
||||
* chore: update dependency node to v17.9.1 (renovate[bot])
|
||||
|
||||
* chore: update dependency node to v16.20.2 (renovate[bot])
|
||||
|
||||
* chore: update dependency node to v14.21.3 (renovate[bot])
|
||||
|
||||
* chore: update dependency node to v12.22.12 (renovate[bot])
|
||||
|
||||
* chore: update dependency node to v10.24.1 (renovate[bot])
|
||||
|
||||
* chore: update commitlint monorepo to ^19.2.2 (renovate[bot])
|
||||
|
||||
* chore: update dependency qs to ^6.12.1 (renovate[bot])
|
||||
|
||||
* chore: update dependency typescript to ^5.4.5 (renovate[bot])
|
||||
|
||||
* chore: update dependency eslint-plugin-mocha to ^10.4.2 (renovate[bot])
|
||||
|
||||
* chore: update dependency traverse to ^0.6.9 (renovate[bot])
|
||||
|
||||
* chore: update dependency typescript to ^5.4.4 (renovate[bot])
|
||||
|
||||
* chore: update dependency loopback-connector to ^6.1.4 (renovate[bot])
|
||||
|
||||
|
||||
2024-04-04, Version 5.0.8
|
||||
=========================
|
||||
|
||||
* chore: lock file maintenance (renovate[bot])
|
||||
|
||||
* chore: update dependency minimatch to ^9.0.4 (renovate[bot])
|
||||
|
||||
* fix: add error handling in case of unvailable cache server (Muhammad Aaqil)
|
||||
|
||||
* chore: update dependency mocha to ^10.4.0 (renovate[bot])
|
||||
|
||||
* chore: update dependency typescript to ^5.4.3 (renovate[bot])
|
||||
|
||||
* chore: update dependency @commitlint/cli to ^19.2.1 (renovate[bot])
|
||||
|
||||
* chore: update dependency @commitlint/cli to ^19.2.0 (renovate[bot])
|
||||
|
||||
* chore: update commitlint monorepo to ^19.1.0 (renovate[bot])
|
||||
|
||||
* chore: update dependency eslint-plugin-mocha to ^10.4.1 (renovate[bot])
|
||||
|
||||
|
||||
2024-03-07, Version 5.0.7
|
||||
=========================
|
||||
|
||||
|
|
|
@ -499,7 +499,15 @@ DataSource.prototype.setup = function(dsName, settings) {
|
|||
debug('Connection fails: %s\nIt will be retried for the next request.', err);
|
||||
} else {
|
||||
g.error('Connection fails: %s\nIt will be retried for the next request.', err);
|
||||
this.emit('error', err);
|
||||
if (settings.catchFailure) {
|
||||
try {
|
||||
this.emit('error', err);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
} else {
|
||||
this.emit('error', err);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Either lazyConnect or connector initialize() defers the connection
|
||||
|
|
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "loopback-datasource-juggler",
|
||||
"version": "5.0.7",
|
||||
"version": "5.0.9",
|
||||
"publishConfig": {
|
||||
"export-tests": true
|
||||
},
|
||||
|
@ -36,19 +36,19 @@
|
|||
"posttest": "npm run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.0.3",
|
||||
"@commitlint/config-conventional": "^19.0.3",
|
||||
"@commitlint/cli": "^19.3.0",
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@types/node": "^10.17.60",
|
||||
"async-iterators": "^0.2.2",
|
||||
"bson": "^4.7.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-loopback": "^13.1.0",
|
||||
"eslint-plugin-mocha": "^10.4.0",
|
||||
"eslint-plugin-mocha": "^10.4.3",
|
||||
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
|
||||
"mocha": "^10.3.0",
|
||||
"mocha": "^10.4.0",
|
||||
"nyc": "^15.1.0",
|
||||
"should": "^13.2.3",
|
||||
"typescript": "^5.4.2"
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "^3.2.5",
|
||||
|
@ -57,12 +57,12 @@
|
|||
"depd": "^2.0.0",
|
||||
"inflection": "^3.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"loopback-connector": "^6.1.3",
|
||||
"minimatch": "^9.0.3",
|
||||
"loopback-connector": "^6.1.5",
|
||||
"minimatch": "^9.0.4",
|
||||
"nanoid": "^3.3.7",
|
||||
"qs": "^6.12.0",
|
||||
"qs": "^6.12.1",
|
||||
"strong-globalize": "^6.0.6",
|
||||
"traverse": "^0.6.8",
|
||||
"traverse": "^0.6.9",
|
||||
"uuid": "^9.0.1"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
|
Loading…
Reference in New Issue