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 type: string
env: env:
NODE_JS: "20" NODE_JS: "18"
jobs: jobs:
check: check:

View File

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

View File

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

22
package-lock.json generated
View File

@ -39114,7 +39114,7 @@
"sinon": "^18.0.0" "sinon": "^18.0.0"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
@ -39177,7 +39177,7 @@
"sinon": "^18.0.0" "sinon": "^18.0.0"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@libp2p/interface": "^1.6.3" "@libp2p/interface": "^1.6.3"
@ -39221,7 +39221,7 @@
"uint8arrays": "^5.0.1" "uint8arrays": "^5.0.1"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@multiformats/multiaddr": "^12.0.0" "@multiformats/multiaddr": "^12.0.0"
@ -39247,7 +39247,7 @@
"npm-run-all": "^4.1.5" "npm-run-all": "^4.1.5"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"packages/message-encryption": { "packages/message-encryption": {
@ -39280,7 +39280,7 @@
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"packages/message-hash": { "packages/message-hash": {
@ -39311,7 +39311,7 @@
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"packages/proto": { "packages/proto": {
@ -39333,7 +39333,7 @@
"uint8arraylist": "^2.4.3" "uint8arraylist": "^2.4.3"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"packages/react-native-polyfills": { "packages/react-native-polyfills": {
@ -39349,7 +39349,7 @@
"expo": "~51.0.14" "expo": "~51.0.14"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"expo": "~51.0.14", "expo": "~51.0.14",
@ -39429,7 +39429,7 @@
"sinon": "^18.0.0" "sinon": "^18.0.0"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@libp2p/bootstrap": "^10" "@libp2p/bootstrap": "^10"
@ -39486,7 +39486,7 @@
"npm-run-all": "^4.1.5" "npm-run-all": "^4.1.5"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"packages/utils": { "packages/utils": {
@ -39511,7 +39511,7 @@
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"engines": { "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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@libp2p/ping": "^1.1.2", "@libp2p/ping": "^1.1.2",

View File

@ -48,7 +48,7 @@
"test:browser": "NODE_ENV=test karma start karma.conf.cjs" "test:browser": "NODE_ENV=test karma start karma.conf.cjs"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@waku/interfaces": "0.0.27", "@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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@ethersproject/rlp": "^5.7.0", "@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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"devDependencies": { "devDependencies": {
"@chainsafe/libp2p-gossipsub": "^13.1.0", "@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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"browser": { "browser": {
"crypto": false "crypto": false

View File

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

View File

@ -34,7 +34,7 @@
"prepublish": "npm run build" "prepublish": "npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"event-target-polyfill": "^0.0.4", "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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@chainsafe/libp2p-noise": "^15.1.0", "@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" "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@libp2p/interface-compliance-tests": "^5.4.9", "@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" "test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@noble/hashes": "^1.3.2", "@noble/hashes": "^1.3.2",