Skip to content

Commit

Permalink
Merge pull request #269 from axa-group/em/drop_node16
Browse files Browse the repository at this point in the history
Drop support of Node 16
  • Loading branch information
nulltoken authored Oct 3, 2023
2 parents 5c7896e + 1c53495 commit fc43577
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"ecmaVersion": 2022,
"sourceType": "module",
"project": "./tsconfig.json"
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [^16.13, ^18.12, ^20]
node-version: [^18.12, ^20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The purpose of this package is to provide an easily configurable OAuth 2 server,
## Development prerequisites

- [Node.js 16+](https://nodejs.org/)
- [Node.js 18+](https://nodejs.org/)
- [Yarn 1.15.2+](https://classic.yarnpkg.com/lang/en/)

## How to use
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"license": "MIT",
"engines": {
"node": "^16.13 || ^18.12 || ^20",
"node": "^18.12 || ^20",
"yarn": "^1.15.2"
},
"repository": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"@types/cors": "^2.8.14",
"@types/express": "^4.17.18",
"@types/lodash.isplainobject": "^4.0.7",
"@types/node": "^16.18.55",
"@types/node": "^18.18.1",
"@types/supertest": "^2.0.13",
"@types/uuid": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^6.7.3",
Expand All @@ -79,6 +79,6 @@
"vitest": "^0.34.6"
},
"resolutions": {
"@types/node": "^16"
"@types/node": "^18"
}
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"incremental": true /* Enable incremental compilation */,
"target": "es2021" /* Minimum supported Node version is ^16.13 => cf. https://stackoverflow.com/a/67371788/335418 */,
"target": "es2022" /* Minimum supported Node version is ^18 => cf. https://stackoverflow.com/a/72380008/335418 */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": [
"ES2021",
"ES2022",
"DOM"
] /* Minimum supported Node version is ^16.13 => cf. https://stackoverflow.com/a/67371788/335418 */,
] /* Minimum supported Node version is ^18 => cf. https://stackoverflow.com/a/72380008/335418 */,
"tsBuildInfoFile": ".cache/.tsbuildinfo",
"strict": true /* Enable all strict type-checking options. */,
"noUnusedLocals": true /* Report errors on unused locals. */,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,10 @@
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.3.tgz#bbe64987e0eb05de150c305005055c7ad784a9ce"
integrity sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg==

"@types/node@*", "@types/node@^16", "@types/node@^16.18.55":
version "16.18.55"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.55.tgz#3d9ac633ed401238c13ccaeed54297bd653412a3"
integrity sha512-Y1zz/LIuJek01+hlPNzzXQhmq/Z2BCP96j18MSXC0S0jSu/IG4FFxmBs7W4/lI2vPJ7foVfEB0hUVtnOjnCiTg==
"@types/node@*", "@types/node@^18", "@types/node@^18.18.1":
version "18.18.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.1.tgz#80b22f3df719f15c9736207980e95f35d01ec1aa"
integrity sha512-3G42sxmm0fF2+Vtb9TJQpnjmP+uKlWvFa8KoEGquh4gqRmoUG/N0ufuhikw6HEsdG2G2oIKhog1GCTfz9v5NdQ==

"@types/qs@*":
version "6.9.8"
Expand Down

0 comments on commit fc43577

Please sign in to comment.