Skip to content

Commit

Permalink
build(deps): upgrade Jest to v29.6.2 project-wide
Browse files Browse the repository at this point in the history
Also upgraded these packages to make sure that
they all work correctly together:
1. @types/jest
2. jest-extended
3. ts-jest

Also disabled build scripts for nodemon which was
crashing during yarn install.

Fixes hyperledger-cacti#2606

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz authored and sandeepnRES committed Dec 21, 2023
1 parent 7fea1f6 commit 3577ebc
Show file tree
Hide file tree
Showing 11 changed files with 163 additions and 2,842 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
"grpc_tools_node_protoc_ts": "5.3.1",
"husky": "7.0.1",
"inquirer": "8.1.2",
"jest": "29.6.1",
"jest-extended": "4.0.0",
"jest": "29.6.2",
"jest-extended": "4.0.1",
"json5": "2.2.2",
"license-report": "6.4.0",
"lint-staged": "11.1.2",
Expand Down Expand Up @@ -230,6 +230,9 @@
"nice-napi": {
"built": false
},
"nodemon": {
"built": false
},
"pkcs11js": {
"built": false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@types/jsonwebtoken": "9.0.2",
"@types/node": "14.17.32",
"@types/sanitize-html": "2.6.2",
"jest-extended": "4.0.0",
"jest-extended": "4.0.1",
"uuid": "8.3.2"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cactus-plugin-ledger-connector-iroha2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"@types/sanitize-html": "2.6.2",
"body-parser": "1.19.0",
"express": "4.17.3",
"jest": "28.1.0",
"jest-extended": "4.0.0",
"jest": "29.6.2",
"jest-extended": "4.0.1",
"socket.io": "4.5.4",
"uuid": "8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-persistence-ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@types/express": "4.17.13",
"@types/pg": "8.6.5",
"@types/sanitize-html": "2.9.0",
"jest-extended": "4.0.0",
"jest-extended": "4.0.1",
"rxjs": "7.8.1",
"web3": "1.6.1",
"web3-core": "1.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-verifier-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@hyperledger/cactus-plugin-ledger-connector-iroha": "2.0.0-alpha.1",
"@hyperledger/cactus-plugin-ledger-connector-iroha2": "2.0.0-alpha.1",
"@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.1",
"jest-extended": "4.0.0",
"jest-extended": "4.0.1",
"rxjs": "7.8.1"
}
}
2 changes: 1 addition & 1 deletion weaver/common/policy-dsl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"license": "ISC",
"devDependencies": {
"ava": "4.3.3",
"jest": "26.6.3"
"jest": "29.6.2"
},
"dependencies": {
"antlr4": "4.13.0"
Expand Down
6 changes: 3 additions & 3 deletions weaver/samples/besu/besu-cli/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"winston": "3.3.3"
},
"devDependencies": {
"@types/jest": "24.0.18",
"@types/jest": "29.5.3",
"@types/node": "12.7.11",
"jest": "29.4.2",
"jest": "29.6.2",
"prettier": "1.12.1",
"ts-jest": "29.0.5",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tslint": "5.12.0",
"tslint-config-prettier": "1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion weaver/samples/besu/besu-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"winston": "3.10.0"
},
"devDependencies": {
"@types/jest": "24.9.1",
"@types/jest": "29.5.3",
"@types/node": "16.18.40",
"jest": "29.6.2",
"prettier": "1.19.1",
Expand Down
6 changes: 3 additions & 3 deletions weaver/samples/fabric/fabric-cli/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@
"@grpc/grpc-js": "1.9.0",
"@grpc/proto-loader": "0.7.8",
"@types/express": "4.17.17",
"@types/jest": "24.9.1",
"@types/jest": "29.5.3",
"@types/node": "12.20.55",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-prettier": "3.4.1",
"google-protobuf": "3.21.2",
"jest": "24.9.0",
"jest": "29.6.2",
"pkg": "4.5.1",
"prettier": "1.19.1",
"protobufjs": "6.11.3",
"ts-jest": "24.3.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
Expand Down
6 changes: 3 additions & 3 deletions weaver/samples/fabric/fabric-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@
"@grpc/grpc-js": "1.9.0",
"@grpc/proto-loader": "0.7.8",
"@types/express": "4.17.17",
"@types/jest": "24.9.1",
"@types/jest": "29.5.3",
"@types/node": "12.20.55",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-prettier": "3.4.1",
"google-protobuf": "3.21.2",
"jest": "24.9.0",
"jest": "29.6.2",
"pkg": "4.5.1",
"prettier": "1.19.1",
"protobufjs": "6.11.3",
"ts-jest": "24.3.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
Expand Down
Loading

0 comments on commit 3577ebc

Please sign in to comment.