Skip to content

Commit

Permalink
build(deps): pin ALL dependency versions in package.json files 2023-0…
Browse files Browse the repository at this point in the history
…7-24

Replaced all tilde and caret characters in package.json
files with nothing so that all versions are pinned down
for safety and stability of the build/publishing process.

Fixes hyperledger-cacti#2571

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Jul 24, 2023
1 parent dc85c27 commit d3e174c
Show file tree
Hide file tree
Showing 15 changed files with 6,426 additions and 1,903 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
"author": "hyperledger",
"license": "Apache-2.0",
"devDependencies": {
"@types/chai": "^4.2.16",
"@types/crypto-js": "^4.0.1",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@types/rewire": "^2.5.28",
"chai": "^4.3.4",
"mocha": "^8.3.2",
"sinon": "^10.0.0",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "^4.2.3"
"@types/chai": "4.2.16",
"@types/crypto-js": "4.0.1",
"@types/mocha": "8.2.2",
"@types/node": "14.14.37",
"@types/rewire": "2.5.28",
"chai": "4.3.4",
"mocha": "8.3.2",
"sinon": "10.0.0",
"ts-node": "9.1.1",
"tslint": "6.1.3",
"typescript": "4.2.3"
},
"dependencies": {
"crypto-js": "^4.0.0",
"fabric-shim": "^2.2.1"
"crypto-js": "4.0.0",
"fabric-shim": "2.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/cacti-cmd-gui-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"solid-icons": "1.0.4",
"solid-js": "1.5.7",
"solid-slider": "1.3.9",
"solid-toast": "^0.4.0"
"solid-toast": "0.4.0"
},
"engines": {
"npm": ">=6"
Expand Down
6 changes: 3 additions & 3 deletions weaver/common/policy-dsl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"author": "",
"license": "ISC",
"devDependencies": {
"ava": "^4.3.3",
"jest": "^26.6.3"
"ava": "4.3.3",
"jest": "26.6.3"
},
"dependencies": {
"antlr4": "^4.9.0"
"antlr4": "4.9.0"
}
}
12 changes: 6 additions & 6 deletions weaver/common/protos-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"js"
],
"dependencies": {
"@grpc/grpc-js": "^1.1.3",
"@grpc/proto-loader": "^0.5.5",
"google-protobuf": "^3.21.2",
"grpc": "^1.24.3",
"grpc-tools": "^1.9.1"
"@grpc/grpc-js": "1.1.3",
"@grpc/proto-loader": "0.5.5",
"google-protobuf": "3.21.2",
"grpc": "1.24.3",
"grpc-tools": "1.9.1"
},
"devDependencies": {
"grpc_tools_node_protoc_ts": "^5.0.1"
"grpc_tools_node_protoc_ts": "5.0.1"
},
"author": "Sandeep Nishad",
"license": "Apache-2.0",
Expand Down
32 changes: 16 additions & 16 deletions weaver/core/drivers/fabric-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@fidm/x509": "^1.2.1",
"@grpc/grpc-js": "^1.1.1",
"@fidm/x509": "1.2.1",
"@grpc/grpc-js": "1.1.1",
"@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.1",
"@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.1",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"dotenv": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"fabric-ca-client": "^2.2.8",
"fabric-network": "^2.2.8",
"level": "^8.0.0",
"winston": "^3.3.3"
"@typescript-eslint/eslint-plugin": "4.29.1",
"@typescript-eslint/parser": "4.29.1",
"dotenv": "8.2.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"fabric-ca-client": "2.2.8",
"fabric-network": "2.2.8",
"level": "8.0.0",
"winston": "3.3.3"
},
"devDependencies": {
"@types/node": "^14.0.14",
"nodemon": "^2.0.4",
"patch-package": "^6.2.2",
"typedoc": "^0.23.15",
"typescript": "^4.8.4"
"@types/node": "14.0.14",
"nodemon": "2.0.4",
"patch-package": "6.2.2",
"typedoc": "0.23.15",
"typescript": "4.8.4"
}
}
48 changes: 24 additions & 24 deletions weaver/core/identity-management/iin-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,33 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@fidm/x509": "^1.2.1",
"@grpc/grpc-js": "^1.1.1",
"@fidm/x509": "1.2.1",
"@grpc/grpc-js": "1.1.1",
"@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.1",
"@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.1",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"dotenv": "^8.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"fabric-ca-client": "^2.2.8",
"fabric-common": "^2.2.8",
"fabric-network": "^2.2.8"
"@typescript-eslint/eslint-plugin": "3.5.0",
"@typescript-eslint/parser": "3.5.0",
"dotenv": "8.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"fabric-ca-client": "2.2.8",
"fabric-common": "2.2.8",
"fabric-network": "2.2.8"
},
"devDependencies": {
"@types/node": "^14.0.14",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"mocha": "^5.2.0",
"nodemon": "^2.0.4",
"nyc": "^12.0.2",
"patch-package": "^6.2.2",
"proto3-json-serializer": "^1.1.0",
"rewire": "^4.0.1",
"sinon": "^6.1.3",
"sinon-chai": "^3.3.0",
"ts-node": "^10.9.0",
"typedoc": "^0.23.15",
"typescript": "^4.8.4"
"@types/node": "14.0.14",
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
"mocha": "5.2.0",
"nodemon": "2.0.4",
"nyc": "12.0.2",
"patch-package": "6.2.2",
"proto3-json-serializer": "1.1.0",
"rewire": "4.0.1",
"sinon": "6.1.3",
"sinon-chai": "3.3.0",
"ts-node": "10.9.0",
"typedoc": "0.23.15",
"typescript": "4.8.4"
}
}
18 changes: 9 additions & 9 deletions weaver/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"dependencies": {
"@docusaurus/core": "2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"gh-pages": "^2.2.0",
"elliptic": "^6.5.4",
"immer": "^9.0.21",
"react-dev-utils": "^11.0.4",
"is-svg": "^4.2.2"
"@mdx-js/react": "1.6.21",
"clsx": "1.1.1",
"react": "16.8.4",
"react-dom": "16.8.4",
"gh-pages": "2.2.0",
"elliptic": "6.5.4",
"immer": "9.0.21",
"react-dev-utils": "11.0.4",
"is-svg": "4.2.2"
},
"browserslist": {
"production": [
Expand Down
24 changes: 12 additions & 12 deletions weaver/samples/besu/besu-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@
"dependencies": {
"@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.1",
"@hyperledger/cacti-weaver-sdk-besu": "2.0.0-alpha.1",
"@truffle/contract": "^4.2.14",
"@truffle/contract": "4.2.14",
"gluegun": "latest",
"winston": "^3.3.3"
"winston": "3.3.3"
},
"devDependencies": {
"@types/jest": "^24.0.18",
"@types/node": "^12.7.11",
"jest": "^29.4.2",
"prettier": "^1.12.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^4.9.5"
"@types/jest": "24.0.18",
"@types/node": "12.7.11",
"jest": "29.4.2",
"prettier": "1.12.1",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"tslint": "5.12.0",
"tslint-config-prettier": "1.17.0",
"tslint-config-standard": "8.0.1",
"typescript": "4.9.5"
},
"jest": {
"preset": "ts-jest",
Expand Down
16 changes: 8 additions & 8 deletions weaver/samples/besu/simpleasset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
],
"homepage": "https://github.com/hyperledger/cacti/weaver/samples/besu/simpleasset",
"dependencies": {
"@lazyledger/protobuf3-solidity-lib": "^0.6.0",
"@openzeppelin/contracts": "^4.3.2",
"@truffle/contract": "^4.2.14",
"chai": "^4.3.4",
"@lazyledger/protobuf3-solidity-lib": "0.6.0",
"@openzeppelin/contracts": "4.3.2",
"@truffle/contract": "4.2.14",
"chai": "4.3.4",
"dotenv": "latest",
"ganache-cli": "^6.12.2",
"solc": "^0.8.8"
"ganache-cli": "6.12.2",
"solc": "0.8.8"
},
"devDependencies": {
"truffle": "^5.4.15",
"typescript": "^4.9.3"
"truffle": "5.4.15",
"typescript": "4.9.3"
}
}
12 changes: 6 additions & 6 deletions weaver/samples/besu/simplestate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
],
"homepage": "https://github.com/hyperledger/cacti/weaver/samples/besu/simplestate",
"dependencies": {
"@openzeppelin/contracts": "^4.7.3",
"@truffle/contract": "^4.2.14",
"chai": "^4.3.4",
"@openzeppelin/contracts": "4.7.3",
"@truffle/contract": "4.2.14",
"chai": "4.3.4",
"dotenv": "latest",
"ganache-cli": "^6.12.2",
"solc": "^0.8.8"
"ganache-cli": "6.12.2",
"solc": "0.8.8"
},
"devDependencies": {
"truffle": "^5.4.15"
"truffle": "5.4.15"
}
}
60 changes: 30 additions & 30 deletions weaver/samples/fabric/fabric-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,43 +32,43 @@
],
"license": "Apache-2.0",
"dependencies": {
"@fidm/x509": "^1.2.1",
"@fidm/x509": "1.2.1",
"@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.1",
"@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.1",
"body-parser": "^1.20.0",
"crypto": "^1.0.1",
"dotenv": "^8.2.0",
"elliptic": "^6.5.4",
"express": "^4.18.1",
"fabric-ca-client": "^2.2.8",
"fabric-network": "^2.2.8",
"body-parser": "1.20.0",
"crypto": "1.0.1",
"dotenv": "8.2.0",
"elliptic": "6.5.4",
"express": "4.18.1",
"fabric-ca-client": "2.2.8",
"fabric-network": "2.2.8",
"gluegun": "latest",
"grpc-tools": "1.9.1",
"ini": "^1.3.6",
"node-notifier": "^8.0.1",
"uuid": "^8.3.1",
"winston": "^3.3.3",
"y18n": "^4.0.1"
"ini": "1.3.6",
"node-notifier": "8.0.1",
"uuid": "8.3.1",
"winston": "3.3.3",
"y18n": "4.0.1"
},
"devDependencies": {
"@grpc/grpc-js": "^1.1.1",
"@grpc/proto-loader": "^0.5.4",
"@types/express": "^4.17.13",
"@types/jest": "^24.0.18",
"@types/node": "^12.12.54",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"eslint": "^7.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"@grpc/grpc-js": "1.1.1",
"@grpc/proto-loader": "0.5.4",
"@types/express": "4.17.13",
"@types/jest": "24.0.18",
"@types/node": "12.12.54",
"@typescript-eslint/eslint-plugin": "4.29.1",
"@typescript-eslint/parser": "4.29.1",
"eslint": "7.3.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"google-protobuf": "3.13.0",
"jest": "^24.1.0",
"pkg": "^4.5.1",
"prettier": "^1.12.1",
"protobufjs": "^6.9.0",
"ts-jest": "^24.1.0",
"ts-node": "^10.8.0",
"typescript": "^4.7.2"
"jest": "24.1.0",
"pkg": "4.5.1",
"prettier": "1.12.1",
"protobufjs": "6.9.0",
"ts-jest": "24.1.0",
"ts-node": "10.8.0",
"typescript": "4.7.2"
},
"jest": {
"preset": "ts-jest",
Expand Down
Loading

0 comments on commit d3e174c

Please sign in to comment.