1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-06 10:33:15 +00:00

Bump node to 16 and npm (#575)

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16
The dep on node 14.18 will get cleaned up once we bump electron

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Remove install step for npm 8
npm v8.1.2 is included in node v16

* Rename install step

* Fixed typo
This commit is contained in:
Daniel James Smith
2021-12-13 11:43:10 +01:00
committed by GitHub
parent e9630eeae5
commit 8fc3cf50d2
10 changed files with 79 additions and 49 deletions

44
package-lock.json generated
View File

@@ -17,7 +17,7 @@
"devDependencies": {
"@fluffy-spoon/substitute": "^1.202.0",
"@types/jasmine": "^3.7.6",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"concurrently": "^6.1.0",
"form-data": "4.0.0",
"jasmine": "^3.7.0",
@@ -45,8 +45,8 @@
"webpack": "^4.46.0"
},
"engines": {
"node": "~14",
"npm": "~7"
"node": "~16",
"npm": "~8"
}
},
"angular": {
@@ -93,7 +93,7 @@
},
"devDependencies": {
"@types/lunr": "^2.3.3",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"@types/node-forge": "^0.9.7",
"@types/papaparse": "^5.2.5",
"@types/tldjs": "^2.3.0",
@@ -117,7 +117,7 @@
"keytar": "7.7.0"
},
"devDependencies": {
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"rimraf": "^3.0.2",
"typescript": "4.3.5"
}
@@ -139,7 +139,7 @@
"devDependencies": {
"@types/inquirer": "^7.3.1",
"@types/lowdb": "^1.0.10",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"@types/node-fetch": "^2.5.10",
"rimraf": "^3.0.2",
"typescript": "4.3.5"
@@ -624,9 +624,10 @@
"dev": true
},
"node_modules/@types/node": {
"version": "14.17.34",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.34.tgz",
"integrity": "sha512-USUftMYpmuMzeWobskoPfzDi+vkpe0dvcOBRNOscFrGxVp4jomnRxWuVohgqBow2xyIPC0S3gjxV/5079jhmDg=="
"version": "16.11.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.12.tgz",
"integrity": "sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw==",
"dev": true
},
"node_modules/@types/node-fetch": {
"version": "2.5.12",
@@ -2830,6 +2831,11 @@
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
},
"node_modules/electron/node_modules/@types/node": {
"version": "14.18.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz",
"integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ=="
},
"node_modules/elliptic": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
@@ -9698,7 +9704,7 @@
"@microsoft/signalr": "5.0.10",
"@microsoft/signalr-protocol-msgpack": "5.0.10",
"@types/lunr": "^2.3.3",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"@types/node-forge": "^0.9.7",
"@types/papaparse": "^5.2.5",
"@types/tldjs": "^2.3.0",
@@ -9720,7 +9726,7 @@
"requires": {
"@bitwarden/jslib-common": "file:../common",
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"electron": "14.2.0",
"electron-log": "4.4.1",
"electron-store": "8.0.1",
@@ -9737,7 +9743,7 @@
"@bitwarden/jslib-common": "file:../common",
"@types/inquirer": "^7.3.1",
"@types/lowdb": "^1.0.10",
"@types/node": "^14.17.1",
"@types/node": "^16.11.12",
"@types/node-fetch": "^2.5.10",
"chalk": "^4.1.1",
"commander": "7.2.0",
@@ -9944,9 +9950,10 @@
"dev": true
},
"@types/node": {
"version": "14.17.34",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.34.tgz",
"integrity": "sha512-USUftMYpmuMzeWobskoPfzDi+vkpe0dvcOBRNOscFrGxVp4jomnRxWuVohgqBow2xyIPC0S3gjxV/5079jhmDg=="
"version": "16.11.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.12.tgz",
"integrity": "sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw==",
"dev": true
},
"@types/node-fetch": {
"version": "2.5.12",
@@ -11703,6 +11710,13 @@
"@electron/get": "^1.0.1",
"@types/node": "^14.6.2",
"extract-zip": "^1.0.3"
},
"dependencies": {
"@types/node": {
"version": "14.18.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz",
"integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ=="
}
}
},
"electron-log": {