Skip to content

Commit

Permalink
chore: drop Node.js 16 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop Node.js 16 support in all LB4 modules and extensions

Signed-off-by: dhmlau <[email protected]>
  • Loading branch information
dhmlau committed Jan 17, 2024
1 parent 692a1e7 commit b9efcb4
Show file tree
Hide file tree
Showing 80 changed files with 155 additions and 155 deletions.
2 changes: 1 addition & 1 deletion acceptance/extension-logging-fluentd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "acceptance/extension-logging-fluentd"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-cloudant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "acceptance/repository-cloudant"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "acceptance/repository-mongodb"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "acceptance/repository-mysql"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "acceptance/repository-postgresql"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "benchmark"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion bodyparsers/rest-msgpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"directory": "bodyparsers/rest-msgpack"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"directory": "docs"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"version": "node ./bin/copy-readmes.js && node ./bin/copy-changelogs.js && cd .. && npm run tsdocs",
Expand Down
2 changes: 1 addition & 1 deletion examples/access-control-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "examples/access-control-migration"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/binding-resolution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "examples/binding-resolution"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "examples/context"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/express-composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "examples/express-composition"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/file-transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "examples/file-transfer"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "examples/graphql"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeter-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/loopbackio/loopback-next/issues"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeting-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/loopbackio/loopback-next/issues"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "examples/hello-world"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/lb3-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "examples/lb3-application"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/log-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/loopbackio/loopback-next/issues"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/metrics-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "examples/metrics-prometheus"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-tenancy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "examples/multi-tenancy"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/passport-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "examples/passport-login"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/references-many/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "examples/references-many"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/rest-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "examples/rest-crud"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "examples/rpc-server"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/soap-calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "examples/soap-calculator"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/socketio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "examples/socketio"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "examples/todo-jwt"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "examples/todo-list"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "examples/todo"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/validation-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "examples/validation-app"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "examples/webpack"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/apiconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "extensions/apiconnect"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/authentication-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "extensions/authentication-jwt"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/authentication-passport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "extensions/authentication-passport"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/context-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "extensions/context-explorer"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/cron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "extensions/cron"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "extensions/graphql"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/health/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "extensions/health"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "extensions/logging"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "extensions/metrics"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/pooling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "extensions/pooling"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "extensions/sequelize"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/socketio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "extensions/socketio"
},
"engines": {
"node": "16 || 18 || 20"
"node": "18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
Loading

0 comments on commit b9efcb4

Please sign in to comment.