Skip to content

Commit

Permalink
Update node minimum version to 14 (#5765)
Browse files Browse the repository at this point in the history
* update node minimum version to 14

* added node and npm recommended main versions to all package.config
  • Loading branch information
Muhammad-Altabba authored Jan 26, 2023
1 parent 8e44e88 commit 4bbc030
Show file tree
Hide file tree
Showing 21 changed files with 77 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/ChainSafe/web3.js/issues"
},
"engines": {
"node": ">=12",
"node": ">=14",
"npm": ">=6.12.0"
},
"workspaces": {
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ethereum/web3.js/tree/4.x/packages/web3-eth-abi",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ethereum/web3.js/tree/4.x/packages/web3-eth-contract",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-iban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-providers-ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*",
"dist/**/*"
Expand Down
3 changes: 2 additions & 1 deletion packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "lib/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0",
"npm": ">=6.12.0"
},
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
Expand Down
4 changes: 4 additions & 0 deletions tools/web3-packagetemplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
],
Expand Down
3 changes: 2 additions & 1 deletion tools/web3-plugin-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Example implementations of Web3.js' 4.x plugin system",
"repository": "https://github.com/ChainSafe/web3.js",
"engines": {
"node": ">=12.0.0"
"node": ">=14",
"npm": ">=6.12.0"
},
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
Expand Down

0 comments on commit 4bbc030

Please sign in to comment.