Skip to content

Commit 210bd0d

Browse files
authored
Bump minimum Node.js version to 16 (#110)
* BREAKING: minimum nodejs v16; default v18 * ci: don't run on node.js v14 * devDeps: @types/node@^18.0.0->^16.11.48
1 parent 55444e1 commit 210bd0d

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
strategy:
1313
matrix:
14-
node-version: [14.x, 16.x, 18.x]
14+
node-version: [16.x, 18.x]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- 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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@metamask/eslint-config-typescript": "^10.0.0",
4646
"@types/chrome": "^0.0.204",
4747
"@types/jest": "^26.0.13",
48-
"@types/node": "^18.0.0",
48+
"@types/node": "^16.11.48",
4949
"@types/readable-stream": "^2.3.9",
5050
"@typescript-eslint/eslint-plugin": "^5.33.0",
5151
"@typescript-eslint/parser": "^5.33.0",
@@ -67,7 +67,7 @@
6767
"typescript": "~4.4.0"
6868
},
6969
"engines": {
70-
"node": ">=14.0.0"
70+
"node": "^16.20 || ^18.16 || >=20"
7171
},
7272
"publishConfig": {
7373
"access": "public",

yarn.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,15 +1816,10 @@
18161816
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197"
18171817
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
18181818

1819-
"@types/node@*", "@types/node@^18.0.0":
1820-
version "18.0.0"
1821-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.0.tgz#67c7b724e1bcdd7a8821ce0d5ee184d3b4dd525a"
1822-
integrity sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==
1823-
1824-
"@types/node@^16.11.26":
1825-
version "16.18.3"
1826-
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.3.tgz#d7f7ba828ad9e540270f01ce00d391c54e6e0abc"
1827-
integrity sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==
1819+
"@types/node@*", "@types/node@^16.11.26", "@types/node@^16.11.48":
1820+
version "16.18.48"
1821+
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.48.tgz#3bc872236cdb31cb51024d8875d655e25db489a4"
1822+
integrity sha512-mlaecDKQ7rIZrYD7iiKNdzFb6e/qD5I9U1rAhq+Fd+DWvYVs+G2kv74UFHmSOlg5+i/vF3XxuR522V4u8BqO+Q==
18281823

18291824
"@types/normalize-package-data@^2.4.0":
18301825
version "2.4.0"

0 commit comments

Comments
 (0)