Skip to content

Commit 9da6325

Browse files
committed
BREAKING: Increase minimum Node.js version to 16; recommended to 18
1 parent c1bd8c2 commit 9da6325

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
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: [12.x, 14.x, 16.x]
14+
node-version: [16.x, 18.x, 20.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-
v12
1+
v18

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ streamB.pipe(evilAiBrain).pipe(streamB);
2727

2828
### Setup
2929

30-
- Install [Node.js](https://nodejs.org) version 12
30+
- Install [Node.js](https://nodejs.org) version 18
3131
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
3232
- Install [Yarn v1](https://yarnpkg.com/en/docs/install)
3333
- Run `yarn setup` to install dependencies and run any requried post-install scripts

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/MetaMask/object-multiplex.git"
99
},
1010
"engines": {
11-
"node": ">=12.0.0"
11+
"node": "^16.20 || ^18.16 || >=20"
1212
},
1313
"files": [
1414
"dist/"
@@ -38,7 +38,7 @@
3838
"@metamask/eslint-config-nodejs": "^6.0.0",
3939
"@metamask/eslint-config-typescript": "^6.0.0",
4040
"@types/end-of-stream": "^1.4.0",
41-
"@types/node": "^14.14.9",
41+
"@types/node": "^16",
4242
"@types/once": "^1.4.0",
4343
"@types/readable-stream": "^2.3.9",
4444
"@typescript-eslint/eslint-plugin": "^4.26.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@
147147
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.10.tgz#5958a82e41863cfc71f2307b3748e3491ba03785"
148148
integrity sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==
149149

150-
"@types/node@^14.14.9":
151-
version "14.14.9"
152-
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.9.tgz#04afc9a25c6ff93da14deabd65dc44485b53c8d6"
153-
integrity sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==
150+
"@types/node@^16":
151+
version "16.18.48"
152+
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.48.tgz#3bc872236cdb31cb51024d8875d655e25db489a4"
153+
integrity sha512-mlaecDKQ7rIZrYD7iiKNdzFb6e/qD5I9U1rAhq+Fd+DWvYVs+G2kv74UFHmSOlg5+i/vF3XxuR522V4u8BqO+Q==
154154

155155
"@types/once@^1.4.0":
156156
version "1.4.0"

0 commit comments

Comments
 (0)