Skip to content

Commit

Permalink
build(deps): upgrade pkg openapi-types to v12.1.3 project-wide
Browse files Browse the repository at this point in the history
The command used to perform this upgrade was:

`yarn up openapi-types --exact`

Simple quality of life improvement. The openapi-types package is used
mainly as a helper for dealing with Open API spec related logic in a
cleaner manner. It doesn't really affect the runtime behavior of the
code that much.
With all that said, it is worthwhile to consolidate the versions we use
because strange/hard to debug compiler bugs can (and do) emerge from
time to time just on account of us juggling multiple different versions
of certain libraries.

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Mar 4, 2024
1 parent c2b6ef7 commit f58576c
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"async-exit-hook": "2.0.1",
"fabric-network": "2.2.20",
"fs-extra": "10.1.0",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"typescript-optional": "2.0.1",
"uuid": "8.3.2",
"web3-core": "1.6.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"async-exit-hook": "2.0.1",
"axios": "1.6.0",
"express": "4.18.2",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"typescript-optional": "2.0.1",
"uuid": "8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/cactus-example-cbdc-bridging-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"knex": "2.5.1",
"kubo-rpc-client": "3.0.1",
"nyc": "13.1.0",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"sqlite3": "5.1.5",
"typescript-optional": "2.0.1",
"uuid": "8.3.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/cactus-example-supply-chain-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"express-jwt": "8.4.1",
"fabric-network": "2.2.20",
"jose": "4.9.2",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"solc": "0.8.6",
"typescript-optional": "2.0.1",
"uuid": "8.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"async-exit-hook": "2.0.1",
"axios": "1.6.0",
"express": "4.18.2",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"run-time-error-cjs": "1.4.0",
"typescript-optional": "2.0.1",
"uuid": "8.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"body-parser": "1.20.2",
"fast-safe-stringify": "2.1.1",
"joi": "14.3.1",
"openapi-types": "7.0.1",
"openapi-types": "12.1.3",
"prom-client": "13.1.0",
"run-time-error-cjs": "1.4.0",
"socket.io-client-fixed-types": "4.5.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-htlc-eth-besu-erc20/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"axios": "1.6.0",
"express": "4.18.2",
"joi": "17.9.1",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"typescript-optional": "2.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-htlc-eth-besu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"ethers": "6.3.0",
"express": "4.18.2",
"joi": "17.9.1",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"typescript-optional": "2.0.1",
"web3js-quorum": "22.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-keychain-aws-sm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"body-parser": "1.20.2",
"express": "4.18.2",
"internal-ip": "6.2.0",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"uuid": "9.0.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-keychain-azure-kv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"body-parser": "1.20.2",
"express": "4.18.2",
"internal-ip": "6.2.0",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"uuid": "9.0.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-keychain-google-sm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"express": "4.18.2",
"google-gax": "4.0.5",
"internal-ip": "6.2.0",
"openapi-types": "9.1.0"
"openapi-types": "12.1.3"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-keychain-vault/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"body-parser": "1.20.2",
"express": "4.18.2",
"internal-ip": "6.2.0",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"uuid": "9.0.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-ledger-connector-besu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"express": "4.18.2",
"http-errors": "2.0.0",
"joi": "17.9.1",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"prom-client": "13.2.0",
"run-time-error-cjs": "1.4.0",
"rxjs": "7.8.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"ngo": "2.7.0",
"node-ssh": "13.1.0",
"node-vault": "0.9.22",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"prom-client": "13.2.0",
"run-time-error-cjs": "1.4.0",
"rxjs": "7.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-ledger-connector-iroha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"fast-safe-stringify": "2.1.1",
"iroha-helpers": "1.5.0",
"key-encoder": "2.0.3",
"openapi-types": "7.0.1",
"openapi-types": "12.1.3",
"prom-client": "13.1.0",
"run-time-error-cjs": "1.4.0",
"rxjs": "7.8.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"joi": "14.3.1",
"multer": "1.4.2",
"ngo": "2.6.2",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"prom-client": "13.2.0",
"run-time-error": "1.4.0",
"temp": "0.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-ledger-connector-xdai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"axios": "1.6.0",
"express": "4.18.2",
"joi": "17.9.1",
"openapi-types": "9.1.0",
"openapi-types": "12.1.3",
"prom-client": "13.2.0",
"run-time-error-cjs": "1.4.0",
"typescript-optional": "2.0.1",
Expand Down
48 changes: 17 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7825,7 +7825,7 @@ __metadata:
http-status-codes: 2.1.4
jose: 4.9.2
json-stable-stringify: 1.0.2
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
uuid: 8.3.2
web3-core: 1.6.1
Expand All @@ -7851,7 +7851,7 @@ __metadata:
async-exit-hook: 2.0.1
axios: 1.6.0
express: 4.18.2
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
uuid: 8.3.2
languageName: unknown
Expand Down Expand Up @@ -7935,7 +7935,7 @@ __metadata:
knex: 2.5.1
kubo-rpc-client: 3.0.1
nyc: 13.1.0
openapi-types: 9.1.0
openapi-types: 12.1.3
remix-tests: 0.1.34
sqlite3: 5.1.5
ts-node: 7.0.1
Expand Down Expand Up @@ -8085,7 +8085,7 @@ __metadata:
express-jwt: 8.4.1
fabric-network: 2.2.20
jose: 4.9.2
openapi-types: 9.1.0
openapi-types: 12.1.3
solc: 0.8.6
typescript-optional: 2.0.1
uuid: 8.3.2
Expand All @@ -8112,7 +8112,7 @@ __metadata:
async-exit-hook: 2.0.1
axios: 1.6.0
express: 4.18.2
openapi-types: 9.1.0
openapi-types: 12.1.3
run-time-error-cjs: 1.4.0
typescript-optional: 2.0.1
uuid: 8.3.2
Expand Down Expand Up @@ -8246,7 +8246,7 @@ __metadata:
express: 4.18.2
fast-safe-stringify: 2.1.1
joi: 14.3.1
openapi-types: 7.0.1
openapi-types: 12.1.3
prom-client: 13.1.0
run-time-error-cjs: 1.4.0
socket.io: 4.5.4
Expand All @@ -8270,7 +8270,7 @@ __metadata:
axios: 1.6.0
express: 4.18.2
joi: 17.9.1
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
languageName: unknown
linkType: soft
Expand All @@ -8294,7 +8294,7 @@ __metadata:
express: 4.18.2
forge-std: "https://github.com/foundry-rs/forge-std.git#66bf4e2c92cf507531599845e8d5a08cc2e3b5bb"
joi: 17.9.1
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
web3js-quorum: 22.4.0
languageName: unknown
Expand All @@ -8318,7 +8318,7 @@ __metadata:
express: 4.18.2
http-status-codes: 2.1.4
internal-ip: 6.2.0
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
typescript-optional: 2.0.1
uuid: 9.0.1
Expand All @@ -8343,7 +8343,7 @@ __metadata:
express: 4.18.2
http-status-codes: 2.1.4
internal-ip: 6.2.0
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
uuid: 9.0.1
languageName: unknown
Expand All @@ -8368,7 +8368,7 @@ __metadata:
google-gax: 4.0.5
http-status-codes: 2.1.4
internal-ip: 6.2.0
openapi-types: 9.1.0
openapi-types: 12.1.3
typescript-optional: 2.0.1
uuid: 9.0.1
languageName: unknown
Expand Down Expand Up @@ -8430,7 +8430,7 @@ __metadata:
http-status-codes: 2.1.4
internal-ip: 6.2.0
node-vault: 0.9.22
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
typescript-optional: 2.0.1
uuid: 9.0.1
Expand Down Expand Up @@ -8488,7 +8488,7 @@ __metadata:
http-errors: 2.0.0
joi: 17.9.1
key-encoder: 2.0.3
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
run-time-error-cjs: 1.4.0
rxjs: 7.8.1
Expand Down Expand Up @@ -8636,7 +8636,7 @@ __metadata:
ngo: 2.7.0
node-ssh: 13.1.0
node-vault: 0.9.22
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
run-time-error-cjs: 1.4.0
rxjs: 7.8.1
Expand Down Expand Up @@ -8742,7 +8742,7 @@ __metadata:
internal-ip: 6.2.0
iroha-helpers: 1.5.0
key-encoder: 2.0.3
openapi-types: 7.0.1
openapi-types: 12.1.3
prom-client: 13.1.0
run-time-error-cjs: 1.4.0
rxjs: 7.8.1
Expand Down Expand Up @@ -8788,7 +8788,7 @@ __metadata:
joi: 14.3.1
multer: 1.4.2
ngo: 2.6.2
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
run-time-error: 1.4.0
supertest: 6.1.6
Expand Down Expand Up @@ -8924,7 +8924,7 @@ __metadata:
body-parser: 1.20.2
express: 4.18.2
joi: 17.9.1
openapi-types: 9.1.0
openapi-types: 12.1.3
prom-client: 13.2.0
run-time-error-cjs: 1.4.0
typescript-optional: 2.0.1
Expand Down Expand Up @@ -39978,20 +39978,6 @@ __metadata:
languageName: node
linkType: hard

"openapi-types@npm:7.0.1":
version: 7.0.1
resolution: "openapi-types@npm:7.0.1"
checksum: c513edcb14c5d41e6b8ec63011cace8d13d2308b680784aac7fea4071ca958a576cee0b4f004b9cded8b31fe5c097ecc3802aa13c9ea03124b3545f37835dd0c
languageName: node
linkType: hard

"openapi-types@npm:9.1.0":
version: 9.1.0
resolution: "openapi-types@npm:9.1.0"
checksum: 8ae57949c00ff70bc98b45d688fcdf848b9f2a44a3f70869d1cbd892dbac1d05f5f72350394ba1e254245090900722ce0fd305aadca0e9168cbfbf3a20b9df72
languageName: node
linkType: hard

"opener@npm:^1.5.1, opener@npm:^1.5.2":
version: 1.5.2
resolution: "opener@npm:1.5.2"
Expand Down

1 comment on commit f58576c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 0.05.

Benchmark suite Current: f58576c Previous: 777bc7e Ratio
cmd-api-server_HTTP_GET_getOpenApiSpecV1 608 ops/sec (±1.73%) 615 ops/sec (±1.81%) 1.01
cmd-api-server_gRPC_GetOpenApiSpecV1 389 ops/sec (±1.35%) 388 ops/sec (±1.31%) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

CC: @petermetz

Please sign in to comment.