diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dfa4aa84d..015ae18947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Contributed: Changes: +- Loose pedantic check not to fail on all-empty values - Extend `createType` auto-TS decoration for `BreeMap`, `BTreeSet`, `HashMap` diff --git a/package.json b/package.json index d38fcfbd04..f34a68a41f 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ }, "devDependencies": { "@babel/core": "^7.15.0", - "@babel/register": "^7.14.5", - "@babel/runtime": "^7.14.8", - "@polkadot/dev": "^0.62.58", + "@babel/register": "^7.15.3", + "@babel/runtime": "^7.15.3", + "@polkadot/dev": "^0.62.59", "@polkadot/ts": "^0.4.4", "@polkadot/typegen": "workspace:packages/typegen", "@types/jest": "^26.0.24", diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index c63ca00c17..06860b8c7b 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -19,10 +19,10 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { - "@babel/runtime": "^7.14.8", + "@babel/runtime": "^7.15.3", "@polkadot/api": "5.4.2-5", "@polkadot/types": "5.4.2-5", - "@polkadot/util": "^7.1.1", + "@polkadot/util": "^7.1.3-3", "rxjs": "^7.3.0" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index f8126b0942..9d3db6118f 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -19,16 +19,16 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { - "@babel/runtime": "^7.14.8", + "@babel/runtime": "^7.15.3", "@polkadot/api": "5.4.2-5", "@polkadot/rpc-core": "5.4.2-5", "@polkadot/types": "5.4.2-5", - "@polkadot/util": "^7.1.1", - "@polkadot/util-crypto": "^7.1.1", + "@polkadot/util": "^7.1.3-3", + "@polkadot/util-crypto": "^7.1.3-3", "rxjs": "^7.3.0" }, "devDependencies": { - "@polkadot/keyring": "^7.1.1", + "@polkadot/keyring": "^7.1.3-3", "@polkadot/rpc-provider": "5.4.2-5" } } diff --git a/packages/api/package.json b/packages/api/package.json index 8bf2d9a3dd..0917150c9a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -19,15 +19,15 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { - "@babel/runtime": "^7.14.8", + "@babel/runtime": "^7.15.3", "@polkadot/api-derive": "5.4.2-5", - "@polkadot/keyring": "^7.1.1", + "@polkadot/keyring": "^7.1.3-3", "@polkadot/rpc-core": "5.4.2-5", "@polkadot/rpc-provider": "5.4.2-5", "@polkadot/types": "5.4.2-5", "@polkadot/types-known": "5.4.2-5", - "@polkadot/util": "^7.1.1", - "@polkadot/util-crypto": "^7.1.1", + "@polkadot/util": "^7.1.3-3", + "@polkadot/util-crypto": "^7.1.3-3", "eventemitter3": "^4.0.7", "rxjs": "^7.3.0" } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index f73df44073..6f0dc43537 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -19,13 +19,13 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { - "@babel/runtime": "^7.14.8", + "@babel/runtime": "^7.15.3", "@polkadot/rpc-provider": "5.4.2-5", "@polkadot/types": "5.4.2-5", - "@polkadot/util": "^7.1.1", + "@polkadot/util": "^7.1.3-3", "rxjs": "^7.3.0" }, "devDependencies": { - "@polkadot/keyring": "^7.1.1" + "@polkadot/keyring": "^7.1.3-3" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 173d4d656d..b190d1b001 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -19,17 +19,17 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { - "@babel/runtime": "^7.14.8", + "@babel/runtime": "^7.15.3", "@polkadot/types": "5.4.2-5", - "@polkadot/util": "^7.1.1", - "@polkadot/util-crypto": "^7.1.1", - "@polkadot/x-fetch": "^7.1.1", - "@polkadot/x-global": "^7.1.1", - "@polkadot/x-ws": "^7.1.1", + "@polkadot/util": "^7.1.3-3", + "@polkadot/util-crypto": "^7.1.3-3", + "@polkadot/x-fetch": "^7.1.3-3", + "@polkadot/x-global": "^7.1.3-3", + "@polkadot/x-ws": "^7.1.3-3", "eventemitter3": "^4.0.7" }, "devDependencies": { - "@polkadot/keyring": "^7.1.1", + "@polkadot/keyring": "^7.1.3-3", "@polkadot/types": "5.4.2-5", "mock-socket": "^9.0.3", "nock": "^13.1.1" diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 162ac0b84e..6509f60415 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -27,13 +27,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme", "dependencies": { "@babel/core": "^7.15.0", - "@babel/register": "^7.14.5", - "@babel/runtime": "^7.14.8", + "@babel/register": "^7.15.3", + "@babel/runtime": "^7.15.3", "@polkadot/api": "5.4.2-5", "@polkadot/rpc-provider": "5.4.2-5", "@polkadot/types": "5.4.2-5", "@polkadot/types-support": "5.4.2-5", - "@polkadot/util": "^7.1.1", + "@polkadot/util": "^7.1.3-3", "handlebars": "^4.7.7", "websocket": "^1.0.34", "yargs": "^17.1.0" diff --git a/packages/types-known/package.json b/packages/types-known/package.json index f4594271e2..fd535e9cfc 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -19,9 +19,9 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "dependencies": { - "@babel/runtime": "^7.14.8", - "@polkadot/networks": "^7.1.1", + "@babel/runtime": "^7.15.3", + "@polkadot/networks": "^7.1.3-3", "@polkadot/types": "5.4.2-5", - "@polkadot/util": "^7.1.1" + "@polkadot/util": "^7.1.3-3" } } diff --git a/packages/types-support/package.json b/packages/types-support/package.json index dc2a885205..59988b3a62 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -19,7 +19,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-support#readme", "dependencies": { - "@babel/runtime": "^7.14.8", - "@polkadot/util": "^7.1.1" + "@babel/runtime": "^7.15.3", + "@polkadot/util": "^7.1.3-3" } } diff --git a/packages/types/package.json b/packages/types/package.json index f4ba09cae5..b940dff61a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -19,13 +19,13 @@ "bugs": "https://github.com/polkadot-js/api/issues", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { - "@babel/runtime": "^7.14.8", - "@polkadot/util": "^7.1.1", - "@polkadot/util-crypto": "^7.1.1", + "@babel/runtime": "^7.15.3", + "@polkadot/util": "^7.1.3-3", + "@polkadot/util-crypto": "^7.1.3-3", "rxjs": "^7.3.0" }, "devDependencies": { - "@polkadot/keyring": "^7.1.1", + "@polkadot/keyring": "^7.1.3-3", "@polkadot/types-support": "5.4.2-5", "@types/bn.js": "^4.11.6", "bn.js": "^4.11.9" diff --git a/packages/types/src/create/createType.ts b/packages/types/src/create/createType.ts index 976d7ca347..ca9287a6db 100644 --- a/packages/types/src/create/createType.ts +++ b/packages/types/src/create/createType.ts @@ -12,18 +12,25 @@ import { createClass } from './createClass'; // With isPedantic, actually check that the encoding matches that supplied. This // is much slower, but verifies that we have the correct types defined -function checkInstance (created: Codec, value: Uint8Array): void { +function checkInstance (created: Codec, matcher: Uint8Array): void { const u8a = created.toU8a(); const rawType = created.toRawType(); - - assert( - u8aEq(value, u8a) || ( - // when length-prefixed from hex, just check the actual length + const isOk = ( + // full match, all ok + u8aEq(u8a, matcher) || + ( + // on a length-prefixed type, just check the actual length ['Bytes', 'Text', 'Type'].includes(rawType) && - value.length === (created as Bytes).length - ), - () => `${rawType}:: Decoded input doesn't match input, received ${u8aToHex(value, 512)} (${value.length} bytes), created ${u8aToHex(u8a, 512)} (${u8a.length} bytes)` + matcher.length === (created as Bytes).length + ) || + ( + // when the created is empty and matcher is also empty, let it slide... + created.isEmpty && + matcher.every((v) => !v) + ) ); + + assert(isOk, () => `${rawType}:: Decoded input doesn't match input, received ${u8aToHex(matcher, 512)} (${matcher.length} bytes), created ${u8aToHex(u8a, 512)} (${u8a.length} bytes)`); } function checkPedantic (created: Codec, [value]: unknown[], isPedantic = false): void { diff --git a/yarn.lock b/yarn.lock index 719b43b31f..85388ef627 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1345,9 +1345,9 @@ __metadata: languageName: node linkType: hard -"@babel/register@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/register@npm:7.14.5" +"@babel/register@npm:^7.14.5, @babel/register@npm:^7.15.3": + version: 7.15.3 + resolution: "@babel/register@npm:7.15.3" dependencies: clone-deep: ^4.0.1 find-cache-dir: ^2.0.0 @@ -1356,16 +1356,16 @@ __metadata: source-map-support: ^0.5.16 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 5fab2384f5e3588cf5978312997afcc4cabcfc519eb6db7ebe3c5e704dc7faa7eef691b6939bc086937f732cdfbba028ea3fec0bdc23c41f19443bea13135a97 + checksum: 7da9d0399baebe6a5e517abd864cb22eef17d608e893d4f3b95d10411f0038b2b39c954fc611da9c3dc3d87427b8bdb45a576b1528100e65b36c1e9ad31987ca languageName: node linkType: hard -"@babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.8.4": - version: 7.14.8 - resolution: "@babel/runtime@npm:7.14.8" +"@babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.15.3, @babel/runtime@npm:^7.8.4": + version: 7.15.3 + resolution: "@babel/runtime@npm:7.15.3" dependencies: regenerator-runtime: ^0.13.4 - checksum: d2dd0ce51ddab78ac93928b04042425145d0dc8cc2b70150d47934f8703f55702eb0b2894f9bd47f66794ad04d8bb03a6a847d0138fbb7aa0b970b5ccd5cc8b7 + checksum: 2f0b8d2d4e36035ab1d84af0ec26aafa098536870f27c8e07de0a0e398f7a394fdea68a88165535ffb52ded6a68912bdc3450bdf91f229eb132e1c89470789f5 languageName: node linkType: hard @@ -1866,10 +1866,10 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: - "@babel/runtime": ^7.14.8 + "@babel/runtime": ^7.15.3 "@polkadot/api": 5.4.2-5 "@polkadot/types": 5.4.2-5 - "@polkadot/util": ^7.1.1 + "@polkadot/util": ^7.1.3-3 rxjs: ^7.3.0 languageName: unknown linkType: soft @@ -1878,14 +1878,14 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: - "@babel/runtime": ^7.14.8 + "@babel/runtime": ^7.15.3 "@polkadot/api": 5.4.2-5 - "@polkadot/keyring": ^7.1.1 + "@polkadot/keyring": ^7.1.3-3 "@polkadot/rpc-core": 5.4.2-5 "@polkadot/rpc-provider": 5.4.2-5 "@polkadot/types": 5.4.2-5 - "@polkadot/util": ^7.1.1 - "@polkadot/util-crypto": ^7.1.1 + "@polkadot/util": ^7.1.3-3 + "@polkadot/util-crypto": ^7.1.3-3 rxjs: ^7.3.0 languageName: unknown linkType: soft @@ -1894,23 +1894,23 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: - "@babel/runtime": ^7.14.8 + "@babel/runtime": ^7.15.3 "@polkadot/api-derive": 5.4.2-5 - "@polkadot/keyring": ^7.1.1 + "@polkadot/keyring": ^7.1.3-3 "@polkadot/rpc-core": 5.4.2-5 "@polkadot/rpc-provider": 5.4.2-5 "@polkadot/types": 5.4.2-5 "@polkadot/types-known": 5.4.2-5 - "@polkadot/util": ^7.1.1 - "@polkadot/util-crypto": ^7.1.1 + "@polkadot/util": ^7.1.3-3 + "@polkadot/util-crypto": ^7.1.3-3 eventemitter3: ^4.0.7 rxjs: ^7.3.0 languageName: unknown linkType: soft -"@polkadot/dev@npm:^0.62.58": - version: 0.62.58 - resolution: "@polkadot/dev@npm:0.62.58" +"@polkadot/dev@npm:^0.62.59": + version: 0.62.59 + resolution: "@polkadot/dev@npm:0.62.59" dependencies: "@babel/cli": ^7.14.8 "@babel/core": ^7.15.0 @@ -1997,30 +1997,30 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.cjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.cjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.cjs - checksum: 10dfbc5b2afa1131a6643b69777e13c9d298a6e15c743a475f2eaa4849e44372cd22672ad838010a31cd7b0428ac5326f4dd6a75dbf9c3864c1044e858416a63 + checksum: 2955f2b907bd23447b98f3b567284cb994ad0f75b6564286dfa96d90b072fc58ca7333865768a76c887e31ead100e4b9f6da476c90046d7ac38b40f4110a091e languageName: node linkType: hard -"@polkadot/keyring@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/keyring@npm:7.1.1" +"@polkadot/keyring@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/keyring@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/util": 7.1.1 - "@polkadot/util-crypto": 7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/util": 7.1.3-3 + "@polkadot/util-crypto": 7.1.3-3 peerDependencies: - "@polkadot/util": 7.1.1 - "@polkadot/util-crypto": 7.1.1 - checksum: 5600b0eea911f0cc0725091f153aeb71e92825c8c24a43d360634d74037b3078cd893b508e3297046a39a4b2a960e578636b242e61e9852dcb488b5becb0471c + "@polkadot/util": 7.1.3-3 + "@polkadot/util-crypto": 7.1.3-3 + checksum: 06b21fda3d023749ba29e7e43e797b489e6917a8eee60cbc9e78cee412d471019fd5d0238d59609da4ede5dc862130ec872bea7650feca2227bd21d136e49f9e languageName: node linkType: hard -"@polkadot/networks@npm:7.1.1, @polkadot/networks@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/networks@npm:7.1.1" +"@polkadot/networks@npm:7.1.3-3, @polkadot/networks@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/networks@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - checksum: 85cc0aec74d6a927c2757ce1c6a2ccf77970b9b7495383f731191178752d9b2a815aad7355094dcdf7cd2762ef28101921925733a8a459cb84902c541cf57d94 + "@babel/runtime": ^7.15.3 + checksum: 87cab47a496372299a33e57f59fb2b34bc896e5819adb5483e40abe349bcde2cb8fd46f1b07cd208453c844e33491adf54f6a5c0aff88361059e4ce7b140d78e languageName: node linkType: hard @@ -2028,11 +2028,11 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/keyring": ^7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/keyring": ^7.1.3-3 "@polkadot/rpc-provider": 5.4.2-5 "@polkadot/types": 5.4.2-5 - "@polkadot/util": ^7.1.1 + "@polkadot/util": ^7.1.3-3 rxjs: ^7.3.0 languageName: unknown linkType: soft @@ -2041,14 +2041,14 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/keyring": ^7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/keyring": ^7.1.3-3 "@polkadot/types": 5.4.2-5 - "@polkadot/util": ^7.1.1 - "@polkadot/util-crypto": ^7.1.1 - "@polkadot/x-fetch": ^7.1.1 - "@polkadot/x-global": ^7.1.1 - "@polkadot/x-ws": ^7.1.1 + "@polkadot/util": ^7.1.3-3 + "@polkadot/util-crypto": ^7.1.3-3 + "@polkadot/x-fetch": ^7.1.3-3 + "@polkadot/x-global": ^7.1.3-3 + "@polkadot/x-ws": ^7.1.3-3 eventemitter3: ^4.0.7 mock-socket: ^9.0.3 nock: ^13.1.1 @@ -2069,13 +2069,13 @@ __metadata: resolution: "@polkadot/typegen@workspace:packages/typegen" dependencies: "@babel/core": ^7.15.0 - "@babel/register": ^7.14.5 - "@babel/runtime": ^7.14.8 + "@babel/register": ^7.15.3 + "@babel/runtime": ^7.15.3 "@polkadot/api": 5.4.2-5 "@polkadot/rpc-provider": 5.4.2-5 "@polkadot/types": 5.4.2-5 "@polkadot/types-support": 5.4.2-5 - "@polkadot/util": ^7.1.1 + "@polkadot/util": ^7.1.3-3 "@types/websocket": ^1.0.4 "@types/yargs": ^17.0.2 handlebars: ^4.7.7 @@ -2094,10 +2094,10 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/networks": ^7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/networks": ^7.1.3-3 "@polkadot/types": 5.4.2-5 - "@polkadot/util": ^7.1.1 + "@polkadot/util": ^7.1.3-3 languageName: unknown linkType: soft @@ -2105,8 +2105,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/util": ^7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/util": ^7.1.3-3 languageName: unknown linkType: soft @@ -2114,26 +2114,26 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/keyring": ^7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/keyring": ^7.1.3-3 "@polkadot/types-support": 5.4.2-5 - "@polkadot/util": ^7.1.1 - "@polkadot/util-crypto": ^7.1.1 + "@polkadot/util": ^7.1.3-3 + "@polkadot/util-crypto": ^7.1.3-3 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 rxjs: ^7.3.0 languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:7.1.1, @polkadot/util-crypto@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/util-crypto@npm:7.1.1" +"@polkadot/util-crypto@npm:7.1.3-3, @polkadot/util-crypto@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/util-crypto@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/networks": 7.1.1 - "@polkadot/util": 7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/networks": 7.1.3-3 + "@polkadot/util": 7.1.3-3 "@polkadot/wasm-crypto": ^4.1.2 - "@polkadot/x-randomvalues": 7.1.1 + "@polkadot/x-randomvalues": 7.1.3-3 base-x: ^3.0.8 base64-js: ^1.5.1 blakejs: ^1.1.1 @@ -2147,23 +2147,23 @@ __metadata: tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 peerDependencies: - "@polkadot/util": 7.1.1 - checksum: 80c412c8dc8ce9655712a4388ed7e66f0f37ff45b66edf4eb956d79fd137f7bcf3c0e5f71bca16d40880ce38375a80c5d3216d1507f07f9b097e3936baf5e274 + "@polkadot/util": 7.1.3-3 + checksum: 2cdd6be74db18fd30f39aebd16755d6ecd1c28027ce4676f7552607b0265477a71356702c6428f88529349c11647d0df4d5398bb3da0b947ca5dd8aa4ed7e5d1 languageName: node linkType: hard -"@polkadot/util@npm:7.1.1, @polkadot/util@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/util@npm:7.1.1" +"@polkadot/util@npm:7.1.3-3, @polkadot/util@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/util@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-textdecoder": 7.1.1 - "@polkadot/x-textencoder": 7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/x-textdecoder": 7.1.3-3 + "@polkadot/x-textencoder": 7.1.3-3 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 camelcase: ^5.3.1 ip-regex: ^4.3.0 - checksum: dcaa620dc256ea6f279098a2c333a4c74a4c336d758464719e2aa1350fcc367f4fc04b7eb57bd455cb182c61f86c72d81ed95fb699eedbd600086490ff29d556 + checksum: 5be5543fb7fa4f2c3a4013a9cacd959e5d01eba24d4ee68df2b7db6f56df97c45870e6ef9677fedf2331e7dd661f6d5492fb5aa43ab6bca3057bd9453ad0e66c languageName: node linkType: hard @@ -2199,66 +2199,66 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-fetch@npm:7.1.1" +"@polkadot/x-fetch@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-fetch@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-global": 7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/x-global": 7.1.3-3 "@types/node-fetch": ^2.5.12 node-fetch: ^2.6.1 - checksum: 2e647c3d39b58f91aa5e82dbe5a7cdd2b0fcda8da6ffc04e452e6d89424df491a8e70bb33fe590cbaf81bf7ef01f1a763ad799c45fc6595993d265365cf7f609 + checksum: c29aef478178f36654d1b14a5149d61e68ba4067d26424212b57027daa28ca5f515c6c33963217fc5f9029966bc2794d36eca9a2c3f48ed472ac01c837e9979a languageName: node linkType: hard -"@polkadot/x-global@npm:7.1.1, @polkadot/x-global@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-global@npm:7.1.1" +"@polkadot/x-global@npm:7.1.3-3, @polkadot/x-global@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-global@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - checksum: 7d1a5d58a5788665e2aedc1b96c5b6b0f5d2b49c2763f7ee86a4840e107d7f374d60fa45ee94d2807e823ca03f9b0c88e40c93462427758f3623631f12f8b80e + "@babel/runtime": ^7.15.3 + checksum: 8b8b738b059b1d1b84d9dbbfa92d68c8155fc34867a4f8b96f7a86e63eabfbfbabd058b813abc7847eb8c0dc53d4ee6431a80ab0e652161237213d890c698a6c languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-randomvalues@npm:7.1.1" +"@polkadot/x-randomvalues@npm:7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-randomvalues@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-global": 7.1.1 - checksum: e30e83e1e3062c31a08bc89d71e7a87e8ccd288ab121a749cccf6caf8c7aaa58cabf105f349215cce6748361fd37a684a5b7c01a8778e6f075a976930e952493 + "@babel/runtime": ^7.15.3 + "@polkadot/x-global": 7.1.3-3 + checksum: a7c3b3f741c440166db3690597405e59e703360eb7e56c7a3ebc9f610477f775458ad27cc9fd4187b49d9f7810523ebf77f7ec42f54f6c7a1603638a2d03322d languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-textdecoder@npm:7.1.1" +"@polkadot/x-textdecoder@npm:7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-textdecoder@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-global": 7.1.1 - checksum: c11a7e5bcddd6733417a4bac6f253127c5bcd6d800480c041f912c3f5070d36bf7e4dddd211b16134181651f919dfb661424bc2170a4c5d2e5667c4f70fdff19 + "@babel/runtime": ^7.15.3 + "@polkadot/x-global": 7.1.3-3 + checksum: cf1db5bfef408d81c23ca7d6ed1d66a200928056bb3c3a94f525c4d9d204035b12c625dea79b2abef74ffe401e78434ee908d7cb5112bf79e1a9b7cccbda1da4 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-textencoder@npm:7.1.1" +"@polkadot/x-textencoder@npm:7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-textencoder@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-global": 7.1.1 - checksum: 7dc2988512ee0c59cd5d49be40b002ba792347a6713457683e8c35d8b914cf702b8cc462e63e335880bf968325c59c8aa5513cb22717d01d8630cb9630ba81ba + "@babel/runtime": ^7.15.3 + "@polkadot/x-global": 7.1.3-3 + checksum: 96223d3c4855268a27f7dc6cafe788ca3162f4f07536e87cf51e043412fed973dc1823c5d8d0dffafcc768adeddf0c97c30b429f7ce867864af0c80b4f1ccb3c languageName: node linkType: hard -"@polkadot/x-ws@npm:^7.1.1": - version: 7.1.1 - resolution: "@polkadot/x-ws@npm:7.1.1" +"@polkadot/x-ws@npm:^7.1.3-3": + version: 7.1.3-3 + resolution: "@polkadot/x-ws@npm:7.1.3-3" dependencies: - "@babel/runtime": ^7.14.8 - "@polkadot/x-global": 7.1.1 + "@babel/runtime": ^7.15.3 + "@polkadot/x-global": 7.1.3-3 "@types/websocket": ^1.0.4 websocket: ^1.0.34 - checksum: 835e8d2a8ab1c7dc3d1262c32b3e410f342de2e82470eef1ba129eb5884cce1116e0ef1a82ec827f35a4aab2d1814dea6064a36c810fb0f593e0d5e41466c875 + checksum: 840cbd1dfdb84024fac5819968ace6719cb2d8c892cb7125c1cccf7f09e6425b95d473f5056aa5c9ff9cf9cfa2675055c0bf2937d6eca3ce48b8ea238f87b624 languageName: node linkType: hard @@ -9624,9 +9624,9 @@ resolve@^2.0.0-next.3: resolution: "root-workspace-0b6124@workspace:." dependencies: "@babel/core": ^7.15.0 - "@babel/register": ^7.14.5 - "@babel/runtime": ^7.14.8 - "@polkadot/dev": ^0.62.58 + "@babel/register": ^7.15.3 + "@babel/runtime": ^7.15.3 + "@polkadot/dev": ^0.62.59 "@polkadot/ts": ^0.4.4 "@polkadot/typegen": "workspace:packages/typegen" "@types/jest": ^26.0.24