chore: upgrade node to LTS 20 (#2110)

* chore: upgrade nodejs to new LTS 20

* chore: update other references
This commit is contained in:
Danish Arora 2024-08-23 15:57:20 +05:30 committed by GitHub
parent 8f56d90cf1
commit 69b6612ec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 516 additions and 378 deletions

View File

@ -15,7 +15,7 @@ on:
type: string
env:
NODE_JS: "18"
NODE_JS: "20"
jobs:
check:

View File

@ -7,7 +7,7 @@ on:
branches: [ master ]
env:
NODE_JS: "18"
NODE_JS: "20"
EXAMPLE_TEMPLATE: "web-chat"
EXAMPLE_NAME: "example"
EXAMPLE_PORT: "8080"

View File

@ -24,7 +24,7 @@ on:
default: false
env:
NODE_JS: "18"
NODE_JS: "20"
# Ensure test type conditions remain consistent.
WAKU_SERVICE_NODE_PARAMS: ${{ (inputs.test_type == 'go-waku-master') && '--min-relay-peers-to-publish=0' || '' }}
DEBUG: ${{ inputs.debug }}

866
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -65,7 +65,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@libp2p/ping": "^1.1.2",

View File

@ -48,7 +48,7 @@
"test:browser": "NODE_ENV=test karma start karma.conf.cjs"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@waku/interfaces": "0.0.25",

View File

@ -48,7 +48,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@ethersproject/rlp": "^5.7.0",

View File

@ -44,7 +44,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"devDependencies": {
"@chainsafe/libp2p-gossipsub": "^13.1.0",

View File

@ -69,7 +69,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"browser": {
"crypto": false

View File

@ -47,7 +47,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@noble/hashes": "^1.3.2",

View File

@ -41,7 +41,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"protons-runtime": "^5.4.0"

View File

@ -34,7 +34,7 @@
"prepublish": "npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"event-target-polyfill": "^0.0.4",

View File

@ -58,7 +58,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^15.1.0",

View File

@ -47,7 +47,7 @@
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@libp2p/interface-compliance-tests": "^5.4.9",

View File

@ -64,7 +64,7 @@
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"dependencies": {
"@noble/hashes": "^1.3.2",