Compare commits

..

No commits in common. "master" and "v5.0.7" have entirely different histories.

6 changed files with 423 additions and 1738 deletions

View File

@ -70,7 +70,7 @@ jobs:
name: Code Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Use Node.js 18

View File

@ -19,8 +19,8 @@ script:
- npm run --ignore-scripts build
- npm test --ignore-scripts
node_js:
- 10.24.1
- 12.22.12
- 14.21.3
- 16.20.2
- 17.9.1
- 10
- 12
- 14
- 16
- 17

View File

@ -1,67 +1,3 @@
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
=========================

View File

@ -499,15 +499,7 @@ 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);
if (settings.catchFailure) {
try {
this.emit('error', err);
} catch (error) {
console.log(error);
}
} else {
this.emit('error', err);
}
this.emit('error', err);
}
} else {
// Either lazyConnect or connector initialize() defers the connection

2053
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "loopback-datasource-juggler",
"version": "5.0.9",
"version": "5.0.7",
"publishConfig": {
"export-tests": true
},
@ -36,19 +36,19 @@
"posttest": "npm run lint"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@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.3",
"eslint-plugin-mocha": "^10.4.0",
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
"mocha": "^10.4.0",
"mocha": "^10.3.0",
"nyc": "^15.1.0",
"should": "^13.2.3",
"typescript": "^5.4.5"
"typescript": "^5.4.2"
},
"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.5",
"minimatch": "^9.0.4",
"loopback-connector": "^6.1.3",
"minimatch": "^9.0.3",
"nanoid": "^3.3.7",
"qs": "^6.12.1",
"qs": "^6.12.0",
"strong-globalize": "^6.0.6",
"traverse": "^0.6.9",
"traverse": "^0.6.8",
"uuid": "^9.0.1"
},
"license": "MIT"