Skip to content

Commit

Permalink
build(typescript): upgrade compiler to v5.5.x
Browse files Browse the repository at this point in the history
1. Brings in size and performance improvements.
2. Also adds support for some new features such as Ecmascript setters
3. Also upgraded typedoc project-wide so that its peer dependency constraints
aren't failing the build due to the newer typescript version.

https://www.infoworld.com/article/3715246/typescript-adds-support-for-ecmascripts-set-methods.html

Fixes #3326

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Jun 27, 2024
1 parent ac6e884 commit 5cbebad
Show file tree
Hide file tree
Showing 28 changed files with 148 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"sinon-chai": "^3.5.0",
"ts-node": "^8.8.1",
"tslint": "^6.1.0",
"typescript": "5.3.3",
"typescript": "5.5.2",
"winston": "^3.2.1"
},
"nyc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "5.3.3",
"typescript": "5.5.2",
"uuid": "9.0.1",
"web-vitals": "^2.1.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"socket.io": "4.6.2"
},
"devDependencies": {
"typescript": "5.3.3"
"typescript": "5.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/test-run-transaction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
},
"devDependencies": {
"@types/escape-html": "1.0.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"express": "4.19.2",
"moment": "2.29.4",
"ts-node": "10.9.1",
"typescript": "5.3.3",
"typescript": "5.5.2",
"helmet": "4.6.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"ts-jest": "29.1.1",
"ts-loader": "9.4.4",
"ts-node": "10.9.1",
"typescript": "5.3.3",
"typescript": "5.5.2",
"web3": "4.1.1",
"web3-core": "4.1.1",
"web3-eth": "4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cacti-ledger-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@types/react": "18.2.43",
"@types/react-dom": "18.2.17",
"@vitejs/plugin-react": "4.2.1",
"typescript": "5.2.2",
"typescript": "5.5.2",
"vite": "5.1.7"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/node": "10.17.60",
"@types/sinon": "5.0.7",
"@types/sinon-chai": "3.2.8",
"typescript": "3.9.10"
"typescript": "5.5.2"
},
"nyc": {
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/node": "18.11.9",
"@types/sinon": "5.0.7",
"@types/sinon-chai": "3.2.8",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"nyc": {
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"sinon-chai": "3.7.0",
"ts-node": "7.0.1",
"tslint": "5.20.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"nyc": {
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"sinon-chai": "3.7.0",
"ts-node": "7.0.1",
"tslint": "5.20.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"nyc": {
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"web3": "1.7.0"
},
"devDependencies": {
"typescript": "5.3.3",
"typescript": "5.5.2",
"@types/shelljs": "^0.8.12"
}
}
2 changes: 1 addition & 1 deletion packages/cactus-plugin-satp-hermes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"express": "4.19.2",
"fabric-network": "2.2.20",
"kubo-rpc-client": "3.0.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"sinon-chai": "3.7.0",
"ts-node": "7.0.1",
"tslint": "5.20.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"nyc": {
"extension": [
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/drivers/fabric-driver/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"devDependencies": {
"@types/node": "18.11.9",
"nodemon": "2.0.22",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/drivers/fabric-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"devDependencies": {
"@types/node": "18.11.9",
"nodemon": "2.0.22",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/identity-management/iin-agent/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/identity-management/iin-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion weaver/samples/besu/besu-cli/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"jest": "29.6.2",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
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 @@ -46,7 +46,7 @@
"jest": "29.6.2",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion weaver/samples/besu/simpleasset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"truffle": "5.11.2",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion weaver/samples/fabric/fabric-cli/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/node": "18.11.9",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion weaver/samples/fabric/fabric-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/node": "18.11.9",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.3.3"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/sdks/besu/node/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/sdks/besu/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/sdks/fabric/interoperation-node-sdk/package-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions weaver/sdks/fabric/interoperation-node-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"sinon": "6.3.5",
"sinon-chai": "3.7.0",
"ts-node": "10.9.1",
"typedoc": "0.25.6",
"typescript": "5.3.3"
"typedoc": "0.26.2",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18",
Expand Down
Loading

0 comments on commit 5cbebad

Please sign in to comment.