Skip to content

Commit

Permalink
feat: remove support for node v14
Browse files Browse the repository at this point in the history
On 30 April 2023, version 14 of Nodejs reaches its end of life

BREAKING CHANGE: End of life of Node v14

Signed-off-by: Francisco Buceta <frbuceta@gmail.com>
  • Loading branch information
frbuceta committed Apr 17, 2023
1 parent d9e2210 commit 5425762
Show file tree
Hide file tree
Showing 79 changed files with 93 additions and 96 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [14, 16, 18, 19]
node-version: [16, 18, 19]
include:
- os: macos-latest
node-version: 18 # LTS
Expand All @@ -36,9 +36,6 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node-version }}
- name: Upgrade NPM
if: matrix.node-version == 14
run: npm i -g npm@latest-7
- uses: Yuri6037/Action-FakeTTY@1abc69c7d530815855caedcd73842bae5687c1a6 # tag=v1.1
- name: Bootstrap
run: |
Expand All @@ -63,7 +60,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true

posttest:
post-test:
name: Post-Test
needs: test
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ for more details.

Make sure you have the following installed:

| Package | Version/-s | Link | Note |
| ------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [Node.js](https://nodejs.org/en/download/) | Maintenance LTS (_v14_) <br/> Active LTS (_v16_) <br/> Current (_v17_ & _v18_) | https://nodejs.org/en/about/releases/ | <span style="color: yellow;">The use of the current version for production is not recommended</span>. |
| Package | Version/-s | Link | Note |
| ------------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [Node.js](https://nodejs.org/en/download/) | Maintenance LTS (_v16_) <br/> Active LTS (_v18_) <br/> Current (_v19_) | https://nodejs.org/en/about/releases/ | <span style="color: yellow;">The use of the current version for production is not recommended</span>. |

Install LoopBack 4 CLI to help create new projects as follows:

Expand Down
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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"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": "14 || 16 || 18 || 19"
"node": "16 || 18 || 19"
},
"scripts": {
"build": "lb-tsc",
Expand Down
Loading

0 comments on commit 5425762

Please sign in to comment.