Skip to content

Commit fa035c1

Browse files
committed
BREAKING: Increase minimum Node.js version to 16; recommended to 18
1 parent 4304508 commit fa035c1

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }}
1515
strategy:
1616
matrix:
17-
node-version: [14.x, 16.x, 18.x, 19.x]
17+
node-version: [16.x, 18.x, 20.5]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,7 +41,7 @@ jobs:
4141
- prepare
4242
strategy:
4343
matrix:
44-
node-version: [14.x, 16.x, 18.x, 19.x]
44+
node-version: [16.x, 18.x, 20.5]
4545
steps:
4646
- uses: actions/checkout@v3
4747
- name: Use Node.js ${{ matrix.node-version }}
@@ -69,7 +69,7 @@ jobs:
6969
- prepare
7070
strategy:
7171
matrix:
72-
node-version: [14.x, 16.x, 18.x, 19.x]
72+
node-version: [16.x, 18.x, 20.5]
7373
steps:
7474
- uses: actions/checkout@v3
7575
- name: Use Node.js ${{ matrix.node-version }}
@@ -103,7 +103,7 @@ jobs:
103103
- prepare
104104
strategy:
105105
matrix:
106-
node-version: [14.x, 16.x, 18.x, 19.x]
106+
node-version: [16.x, 18.x, 20.5]
107107
steps:
108108
- uses: actions/checkout@v3
109109
- name: Use Node.js ${{ matrix.node-version }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14
1+
v18

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The full API documentation for the latest published version of this library is [
2020

2121
### Setup
2222

23-
- Install [Node.js](https://nodejs.org) version 14
23+
- Install [Node.js](https://nodejs.org) version 18
2424
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
2525
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
2626
- Run `yarn install` to install dependencies and run any required post-install scripts

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@metamask/eslint-config-nodejs": "^11.1.0",
6161
"@metamask/eslint-config-typescript": "^11.1.0",
6262
"@types/jest": "^27.0.6",
63-
"@types/node": "^14.14.25",
63+
"@types/node": "^16.18.50",
6464
"@typescript-eslint/eslint-plugin": "^5.59.1",
6565
"@typescript-eslint/parser": "^5.59.1",
6666
"ajv": "^8.11.0",
@@ -81,7 +81,7 @@
8181
},
8282
"packageManager": "[email protected]",
8383
"engines": {
84-
"node": ">=14.0.0"
84+
"node": "^16.20 || ^18.16 || >=20"
8585
},
8686
"publishConfig": {
8787
"access": "public",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ __metadata:
902902
"@metamask/eslint-config-typescript": ^11.1.0
903903
"@metamask/utils": ^5.0.2
904904
"@types/jest": ^27.0.6
905-
"@types/node": ^14.14.25
905+
"@types/node": ^16.18.50
906906
"@typescript-eslint/eslint-plugin": ^5.59.1
907907
"@typescript-eslint/parser": ^5.59.1
908908
ajv: ^8.11.0
@@ -1250,10 +1250,10 @@ __metadata:
12501250
languageName: node
12511251
linkType: hard
12521252

1253-
"@types/node@npm:^14.14.25":
1254-
version: 14.18.24
1255-
resolution: "@types/node@npm:14.18.24"
1256-
checksum: 631b86787a2110048bcd45d2555e6b9265594a6c65bcdc9947004cbdf1b4b9c8f84b7f0c4f03e4b0b1d24fd821c8d39b931073e21832c8c29dc74de060efd11d
1253+
"@types/node@npm:^16.18.50":
1254+
version: 16.18.50
1255+
resolution: "@types/node@npm:16.18.50"
1256+
checksum: 8aec1eaf83407197ec2fe947182c238f49b82a7aace867cee1f81f72eb8a76c3c8b2adb1fd356e7443317cffb2546708da8934299a579edd25e3160bf7af30a1
12571257
languageName: node
12581258
linkType: hard
12591259

0 commit comments

Comments
 (0)