Skip to content

Commit

Permalink
chore: downgrade node engine to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Oct 9, 2024
1 parent 75fcca4 commit a50fcac
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
type: string

env:
NODE_JS: "20"
NODE_JS: "18"

jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ master ]

env:
NODE_JS: "20"
NODE_JS: "18"
EXAMPLE_TEMPLATE: "web-chat"
EXAMPLE_NAME: "example"
EXAMPLE_PORT: "8080"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/enr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/message-encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/message-hash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prepublish": "npm run build"
},
"engines": {
"node": ">=20"
"node": ">=18"
},
"dependencies": {
"event-target-polyfill": "^0.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a50fcac

Please sign in to comment.