chore: drop Node.js 14 and lower

BREAKING CHANGE: drop support for Node.js 14 version and lower

Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
This commit is contained in:
dhmlau 2023-08-16 10:24:11 -04:00 committed by Diana Lau
parent 518e3ca1ca
commit 8306749436
3 changed files with 38 additions and 98 deletions

View File

@ -18,12 +18,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [10, 12, 14, 16, 17]
node-version: [16, 18, 20]
include:
- os: macos-latest
node-version: 14
node-version: 16
- os: windows-latest
node-version: 14
node-version: 16
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@ -73,10 +73,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- name: Update NPM
run: npm install --global npm
- name: Bootstrap project
@ -94,10 +94,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- name: Update NPM
run: npm install --global npm
- name: Bootstrap project

103
package-lock.json generated
View File

@ -15,7 +15,7 @@
"depd": "^2.0.0",
"inflection": "^1.13.4",
"lodash": "^4.17.21",
"loopback-connector": "^5.3.3",
"loopback-connector": "^6.0.1",
"minimatch": "^5.1.6",
"nanoid": "^3.3.6",
"qs": "^6.11.2",
@ -33,13 +33,13 @@
"eslint-config-loopback": "^13.1.0",
"eslint-plugin-mocha": "^10.1.0",
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
"mocha": "^9.0.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"should": "^13.2.3",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=10"
"node": ">=16"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@ -1189,12 +1189,6 @@
"integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==",
"dev": true
},
"node_modules/@ungap/promise-all-settled": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz",
"integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==",
"dev": true
},
"node_modules/accept-language": {
"version": "3.0.18",
"resolved": "https://registry.npmjs.org/accept-language/-/accept-language-3.0.18.tgz",
@ -2718,15 +2712,6 @@
"integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
"dev": true
},
"node_modules/growl": {
"version": "1.10.5",
"resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
"integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
"dev": true,
"engines": {
"node": ">=4.x"
}
},
"node_modules/hard-rejection": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz",
@ -3486,9 +3471,9 @@
}
},
"node_modules/loopback-connector": {
"version": "5.3.3",
"resolved": "https://registry.npmjs.org/loopback-connector/-/loopback-connector-5.3.3.tgz",
"integrity": "sha512-ZYULfy5W7+R2A3I9TILWZOdfMVcZ2qEQT/tye0Fy7Ju3zQ6Gv1bmroARGPGVDAneFt+5YaiaieLdoJ1t02hLpg==",
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/loopback-connector/-/loopback-connector-6.0.1.tgz",
"integrity": "sha512-PBKbvr9+H7nH4mtKeD3PP1NO51PjGqYjua/pengnd3c+Fk39L3SSufc9jG1/zOk8qtNG3Ts+fehKyHUBuZOhaw==",
"dependencies": {
"async": "^3.2.4",
"bluebird": "^3.7.2",
@ -3498,7 +3483,7 @@
"uuid": "^9.0.0"
},
"engines": {
"node": ">=10"
"node": ">=16"
}
},
"node_modules/loopback-connector-throwing": {
@ -3706,58 +3691,45 @@
}
},
"node_modules/mocha": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz",
"integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==",
"version": "10.2.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz",
"integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==",
"dev": true,
"dependencies": {
"@ungap/promise-all-settled": "1.1.2",
"ansi-colors": "4.1.1",
"browser-stdout": "1.3.1",
"chokidar": "3.5.3",
"debug": "4.3.3",
"debug": "4.3.4",
"diff": "5.0.0",
"escape-string-regexp": "4.0.0",
"find-up": "5.0.0",
"glob": "7.2.0",
"growl": "1.10.5",
"he": "1.2.0",
"js-yaml": "4.1.0",
"log-symbols": "4.1.0",
"minimatch": "4.2.1",
"minimatch": "5.0.1",
"ms": "2.1.3",
"nanoid": "3.3.1",
"nanoid": "3.3.3",
"serialize-javascript": "6.0.0",
"strip-json-comments": "3.1.1",
"supports-color": "8.1.1",
"which": "2.0.2",
"workerpool": "6.2.0",
"workerpool": "6.2.1",
"yargs": "16.2.0",
"yargs-parser": "20.2.4",
"yargs-unparser": "2.0.0"
},
"bin": {
"_mocha": "bin/_mocha",
"mocha": "bin/mocha"
"mocha": "bin/mocha.js"
},
"engines": {
"node": ">= 12.0.0"
"node": ">= 14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mochajs"
}
},
"node_modules/mocha/node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"node_modules/mocha/node_modules/cliui": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
@ -3769,36 +3741,13 @@
"wrap-ansi": "^7.0.0"
}
},
"node_modules/mocha/node_modules/debug": {
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
"dev": true,
"dependencies": {
"ms": "2.1.2"
},
"engines": {
"node": ">=6.0"
},
"peerDependenciesMeta": {
"supports-color": {
"optional": true
}
}
},
"node_modules/mocha/node_modules/debug/node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true
},
"node_modules/mocha/node_modules/minimatch": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz",
"integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==",
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz",
"integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==",
"dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
"brace-expansion": "^2.0.1"
},
"engines": {
"node": ">=10"
@ -3811,9 +3760,9 @@
"dev": true
},
"node_modules/mocha/node_modules/nanoid": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==",
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz",
"integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==",
"dev": true,
"bin": {
"nanoid": "bin/nanoid.cjs"
@ -5603,9 +5552,9 @@
"dev": true
},
"node_modules/workerpool": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz",
"integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==",
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz",
"integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==",
"dev": true
},
"node_modules/wrap-ansi": {

View File

@ -16,11 +16,11 @@
],
"author": "IBM Corp.",
"engines": {
"node": ">=10"
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/strongloop/loopback-datasource-juggler"
"url": "https://github.com/loopbackio/loopback-datasource-juggler"
},
"main": "index.js",
"types": "index.d.ts",
@ -45,7 +45,7 @@
"eslint-config-loopback": "^13.1.0",
"eslint-plugin-mocha": "^10.1.0",
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
"mocha": "^9.0.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"should": "^13.2.3",
"typescript": "^4.9.5"
@ -57,7 +57,7 @@
"depd": "^2.0.0",
"inflection": "^1.13.4",
"lodash": "^4.17.21",
"loopback-connector": "^5.3.3",
"loopback-connector": "^6.0.1",
"minimatch": "^5.1.6",
"nanoid": "^3.3.6",
"qs": "^6.11.2",
@ -65,14 +65,5 @@
"traverse": "^0.6.7",
"uuid": "^9.0.0"
},
"license": "MIT",
"ci": {
"downstreamIgnoreList": [
"loopback-connector-db2z",
"loopback-connector-ibmi",
"loopback-connector-informix",
"loopback-connector-mqlight",
"loopback-connector-kv-extreme-scale"
]
}
"license": "MIT"
}