chore: downgrade node engine to 18

This commit is contained in:
Danish Arora 2024-10-09 15:31:53 +05:30
parent 75fcca4cd9
commit a50fcacdcb
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
15 changed files with 25 additions and 25 deletions

View File

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

View File

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

View File

@ -24,7 +24,7 @@ on:
default: false
env:
NODE_JS: "20"
NODE_JS: "18"
# 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 }}

22
package-lock.json generated
View File

@ -39114,7 +39114,7 @@
"sinon": "^18.0.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0",
@ -39177,7 +39177,7 @@
"sinon": "^18.0.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"peerDependencies": {
"@libp2p/interface": "^1.6.3"
@ -39221,7 +39221,7 @@
"uint8arrays": "^5.0.1"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0"
@ -39247,7 +39247,7 @@
"npm-run-all": "^4.1.5"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
},
"packages/message-encryption": {
@ -39280,7 +39280,7 @@
"rollup": "^4.12.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
},
"packages/message-hash": {
@ -39311,7 +39311,7 @@
"rollup": "^4.12.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
},
"packages/proto": {
@ -39333,7 +39333,7 @@
"uint8arraylist": "^2.4.3"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
},
"packages/react-native-polyfills": {
@ -39349,7 +39349,7 @@
"expo": "~51.0.14"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"peerDependencies": {
"expo": "~51.0.14",
@ -39429,7 +39429,7 @@
"sinon": "^18.0.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"peerDependencies": {
"@libp2p/bootstrap": "^10"
@ -39486,7 +39486,7 @@
"npm-run-all": "^4.1.5"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
},
"packages/utils": {
@ -39511,7 +39511,7 @@
"rollup": "^4.12.0"
},
"engines": {
"node": ">=20"
"node": ">=18"
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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