From 92fb3f019b561ac1a77f32bb37162eb248696636 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 15 Jan 2025 13:38:19 +0100 Subject: [PATCH] Upgrade protobufjs to 7.4 --- .pnp.cjs | 21 ++++++++-------- .../long-npm-4.0.0-ecd96a31ed-50a6417d15.zip | 3 --- .../long-npm-5.2.4-b96a88098c-0cf819ce2a.zip | 3 +++ ...bufjs-npm-6.11.4-af11968b80-c244d7b9b6.zip | 3 --- ...obufjs-npm-7.4.0-12c56a3adc-a5460a63fe.zip | 3 +++ CHANGELOG.md | 1 + packages/proto-signing/package.json | 2 +- yarn.lock | 24 ++++++++----------- 8 files changed, 28 insertions(+), 32 deletions(-) delete mode 100644 .yarn/cache/long-npm-4.0.0-ecd96a31ed-50a6417d15.zip create mode 100644 .yarn/cache/long-npm-5.2.4-b96a88098c-0cf819ce2a.zip delete mode 100644 .yarn/cache/protobufjs-npm-6.11.4-af11968b80-c244d7b9b6.zip create mode 100644 .yarn/cache/protobufjs-npm-7.4.0-12c56a3adc-a5460a63fe.zip diff --git a/.pnp.cjs b/.pnp.cjs index 4035e8efb8..fc68857bb8 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -1927,7 +1927,7 @@ const RAW_RUNTIME_STATE = ],\ [\ "long",\ - "npm:4.0.0"\ + "npm:5.2.4"\ ],\ [\ "lru-cache",\ @@ -2283,7 +2283,7 @@ const RAW_RUNTIME_STATE = ],\ [\ "protobufjs",\ - "npm:6.11.4"\ + "npm:7.4.0"\ ],\ [\ "proxy-from-env",\ @@ -3734,7 +3734,7 @@ const RAW_RUNTIME_STATE = ["karma-jasmine-html-reporter", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.6.0"],\ ["nyc", "npm:15.1.0"],\ ["prettier", "npm:2.8.8"],\ - ["protobufjs", "npm:6.11.4"],\ + ["protobufjs", "npm:7.4.0"],\ ["ses", "npm:0.11.1"],\ ["source-map-support", "npm:0.5.21"],\ ["ts-node", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.10.2"],\ @@ -9935,10 +9935,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["long", [\ - ["npm:4.0.0", {\ - "packageLocation": "./.yarn/cache/long-npm-4.0.0-ecd96a31ed-50a6417d15.zip/node_modules/long/",\ + ["npm:5.2.4", {\ + "packageLocation": "./.yarn/cache/long-npm-5.2.4-b96a88098c-0cf819ce2a.zip/node_modules/long/",\ "packageDependencies": [\ - ["long", "npm:4.0.0"]\ + ["long", "npm:5.2.4"]\ ],\ "linkType": "HARD"\ }]\ @@ -11050,10 +11050,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["protobufjs", [\ - ["npm:6.11.4", {\ - "packageLocation": "./.yarn/unplugged/protobufjs-npm-6.11.4-af11968b80/node_modules/protobufjs/",\ + ["npm:7.4.0", {\ + "packageLocation": "./.yarn/unplugged/protobufjs-npm-7.4.0-12c56a3adc/node_modules/protobufjs/",\ "packageDependencies": [\ - ["protobufjs", "npm:6.11.4"],\ + ["protobufjs", "npm:7.4.0"],\ ["@protobufjs/aspromise", "npm:1.1.2"],\ ["@protobufjs/base64", "npm:1.1.2"],\ ["@protobufjs/codegen", "npm:2.0.4"],\ @@ -11064,9 +11064,8 @@ const RAW_RUNTIME_STATE = ["@protobufjs/path", "npm:1.1.2"],\ ["@protobufjs/pool", "npm:1.1.0"],\ ["@protobufjs/utf8", "npm:1.1.0"],\ - ["@types/long", "npm:4.0.1"],\ ["@types/node", "npm:22.10.6"],\ - ["long", "npm:4.0.0"]\ + ["long", "npm:5.2.4"]\ ],\ "linkType": "HARD"\ }]\ diff --git a/.yarn/cache/long-npm-4.0.0-ecd96a31ed-50a6417d15.zip b/.yarn/cache/long-npm-4.0.0-ecd96a31ed-50a6417d15.zip deleted file mode 100644 index 6335569c92..0000000000 --- a/.yarn/cache/long-npm-4.0.0-ecd96a31ed-50a6417d15.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fbe45eb010bb6a4f3e743fd9abd54bfd8dc59c23a460ce418834e204159a067 -size 178066 diff --git a/.yarn/cache/long-npm-5.2.4-b96a88098c-0cf819ce2a.zip b/.yarn/cache/long-npm-5.2.4-b96a88098c-0cf819ce2a.zip new file mode 100644 index 0000000000..6c4aa92bbb --- /dev/null +++ b/.yarn/cache/long-npm-5.2.4-b96a88098c-0cf819ce2a.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a34a6637a3fd5742ade382fed737bc7bb267e4b56cc40c443a541302ce20e59c +size 120324 diff --git a/.yarn/cache/protobufjs-npm-6.11.4-af11968b80-c244d7b9b6.zip b/.yarn/cache/protobufjs-npm-6.11.4-af11968b80-c244d7b9b6.zip deleted file mode 100644 index 1995441527..0000000000 --- a/.yarn/cache/protobufjs-npm-6.11.4-af11968b80-c244d7b9b6.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7752ca4b88b9262443766adfce657c5afd62e0b5fc53727c35495508bd8a36b -size 15157888 diff --git a/.yarn/cache/protobufjs-npm-7.4.0-12c56a3adc-a5460a63fe.zip b/.yarn/cache/protobufjs-npm-7.4.0-12c56a3adc-a5460a63fe.zip new file mode 100644 index 0000000000..55fdeb11cf --- /dev/null +++ b/.yarn/cache/protobufjs-npm-7.4.0-12c56a3adc-a5460a63fe.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ddda0da80355eadc635dba0e5a27565c0314d2d2120bcf49541d9113f5a2386 +size 2785766 diff --git a/CHANGELOG.md b/CHANGELOG.md index 07453d07a4..ecd5eb5351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to on a JavaScript implementation of ICS-23 but [@confio/ics23 is unmaintained](https://github.com/cosmos/cosmjs/issues/1618) without replacement. +- @cosmjs/proto-signing: Upgrade protobufjs to 7.4. [#1552]: https://github.com/cosmos/cosmjs/issues/1552 diff --git a/packages/proto-signing/package.json b/packages/proto-signing/package.json index 435cea7b48..6f348bb5d3 100644 --- a/packages/proto-signing/package.json +++ b/packages/proto-signing/package.json @@ -74,7 +74,7 @@ "karma-jasmine-html-reporter": "^1.5.4", "nyc": "^15.1.0", "prettier": "^2.8.1", - "protobufjs": "~6.11.4", + "protobufjs": "^7.4.0", "ses": "^0.11.0", "source-map-support": "^0.5.19", "ts-node": "^8", diff --git a/yarn.lock b/yarn.lock index dd5705ef46..f46f7ff6b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -769,7 +769,7 @@ __metadata: karma-jasmine-html-reporter: "npm:^1.5.4" nyc: "npm:^15.1.0" prettier: "npm:^2.8.1" - protobufjs: "npm:~6.11.4" + protobufjs: "npm:^7.4.0" ses: "npm:^0.11.0" source-map-support: "npm:^0.5.19" ts-node: "npm:^8" @@ -5384,10 +5384,10 @@ __metadata: languageName: node linkType: hard -"long@npm:^4.0.0": - version: 4.0.0 - resolution: "long@npm:4.0.0" - checksum: 10c0/50a6417d15b06104dbe4e3d4a667c39b137f130a9108ea8752b352a4cfae047531a3ac351c181792f3f8768fe17cca6b0f406674a541a86fb638aaac560d83ed +"long@npm:^5.0.0": + version: 5.2.4 + resolution: "long@npm:5.2.4" + checksum: 10c0/0cf819ce2a7bbe48663e79233917552c7667b11e68d4d9ea4ebb99173042509d9af461e5211c22939b913332c264d9a1135937ea533cbd05bc4f8cf46f6d2e07 languageName: node linkType: hard @@ -6404,9 +6404,9 @@ __metadata: languageName: node linkType: hard -"protobufjs@npm:~6.11.4": - version: 6.11.4 - resolution: "protobufjs@npm:6.11.4" +"protobufjs@npm:^7.4.0": + version: 7.4.0 + resolution: "protobufjs@npm:7.4.0" dependencies: "@protobufjs/aspromise": "npm:^1.1.2" "@protobufjs/base64": "npm:^1.1.2" @@ -6418,13 +6418,9 @@ __metadata: "@protobufjs/path": "npm:^1.1.2" "@protobufjs/pool": "npm:^1.1.0" "@protobufjs/utf8": "npm:^1.1.0" - "@types/long": "npm:^4.0.1" "@types/node": "npm:>=13.7.0" - long: "npm:^4.0.0" - bin: - pbjs: bin/pbjs - pbts: bin/pbts - checksum: 10c0/c244d7b9b6d3258193da5c0d1e558dfb47f208ae345e209f90ec45c9dca911b90fa17e937892a9a39a4136ab9886981aae9efdf6039f7baff4f7225f5eeb9812 + long: "npm:^5.0.0" + checksum: 10c0/a5460a63fe596523b9a067cbce39a6b310d1a71750fda261f076535662aada97c24450e18c5bc98a27784f70500615904ff1227e1742183509f0db4fdede669b languageName: node linkType: hard