From 2d2a1a59898cf562b5e4c263fb286ef0336a9eb1 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sat, 22 Apr 2023 10:37:53 +0300 Subject: [PATCH] 12.0.1 (#1815) * 12.0.1 * Inline xxhash single-use * Adjust comments --- CHANGELOG.md | 2 +- package.json | 4 +- packages/hw-ledger-transports/package.json | 4 +- packages/hw-ledger/package.json | 6 +- packages/keyring/package.json | 10 +- packages/networks/package.json | 6 +- packages/util-crypto/package.json | 15 +- .../src/nacl/tweetnacl-secretbox.spec.ts | 2 +- packages/util-crypto/src/xxhash/xxhash64.ts | 34 +-- packages/util/package.json | 12 +- packages/x-bigint/package.json | 4 +- packages/x-bundle/package.json | 4 +- packages/x-fetch/package.json | 4 +- packages/x-global/package.json | 2 +- packages/x-randomvalues/package.json | 11 +- packages/x-textdecoder/package.json | 4 +- packages/x-textencoder/package.json | 4 +- packages/x-ws/package.json | 4 +- yarn.lock | 251 +++++++++--------- 19 files changed, 191 insertions(+), 192 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8a3859e853..9362ae291b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## master +## 12.0.1 Apr 22, 2023 Contributed: diff --git a/package.json b/package.json index 89975ce4ed4..1227a9539f4 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "versions": { "git": "11.1.4-19-x", "npm": "11.1.4-12" @@ -37,7 +37,7 @@ "test:one": "polkadot-dev-run-test --env browser" }, "devDependencies": { - "@polkadot/dev": "^0.73.1", + "@polkadot/dev": "^0.73.2", "@types/node": "^18.15.13" }, "resolutions": { diff --git a/packages/hw-ledger-transports/package.json b/packages/hw-ledger-transports/package.json index c73d7b807cd..e93ad8a34fa 100644 --- a/packages/hw-ledger-transports/package.json +++ b/packages/hw-ledger-transports/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", @@ -22,7 +22,7 @@ "@ledgerhq/hw-transport": "^6.28.2", "@ledgerhq/hw-transport-webhid": "^6.27.13", "@ledgerhq/hw-transport-webusb": "^6.27.13", - "@polkadot/util": "11.1.4-19-x", + "@polkadot/util": "12.0.0", "tslib": "^2.5.0" }, "optionalDependencies": { diff --git a/packages/hw-ledger/package.json b/packages/hw-ledger/package.json index 46077cd3c35..24be716ffe1 100644 --- a/packages/hw-ledger/package.json +++ b/packages/hw-ledger/package.json @@ -17,11 +17,11 @@ "./detectPackage.cjs" ], "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "dependencies": { - "@polkadot/hw-ledger-transports": "11.1.4-19-x", - "@polkadot/util": "11.1.4-19-x", + "@polkadot/hw-ledger-transports": "12.0.0", + "@polkadot/util": "12.0.0", "@zondax/ledger-substrate": "^0.40.7", "tslib": "^2.5.0" } diff --git a/packages/keyring/package.json b/packages/keyring/package.json index 7a893c65b25..986c2d4f97c 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -18,15 +18,15 @@ "./detectPackage.cjs" ], "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "dependencies": { - "@polkadot/util": "11.1.4-19-x", - "@polkadot/util-crypto": "11.1.4-19-x", + "@polkadot/util": "12.0.0", + "@polkadot/util-crypto": "12.0.0", "tslib": "^2.5.0" }, "peerDependencies": { - "@polkadot/util": "11.1.4-19-x", - "@polkadot/util-crypto": "11.1.4-19-x" + "@polkadot/util": "12.0.0", + "@polkadot/util-crypto": "12.0.0" } } diff --git a/packages/networks/package.json b/packages/networks/package.json index 3a8e7ef097d..ab03b1cfabc 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -15,14 +15,14 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "dependencies": { - "@polkadot/util": "11.1.4-19-x", + "@polkadot/util": "12.0.0", "@substrate/ss58-registry": "^1.39.0", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/hw-ledger": "11.1.4-19-x" + "@polkadot/hw-ledger": "12.0.0" } } diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index 413d2093da0..be8221156f9 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": { "crypto": false, "stream": false @@ -29,15 +29,16 @@ "dependencies": { "@noble/curves": "1.0.0", "@noble/hashes": "1.3.0", - "@polkadot/networks": "11.1.4-19-x", - "@polkadot/util": "11.1.4-19-x", - "@polkadot/wasm-crypto": "^7.0.3", - "@polkadot/x-bigint": "11.1.4-19-x", - "@polkadot/x-randomvalues": "11.1.4-19-x", + "@polkadot/networks": "12.0.0", + "@polkadot/util": "12.0.0", + "@polkadot/wasm-crypto": "^7.1.1", + "@polkadot/wasm-util": "^7.1.1", + "@polkadot/x-bigint": "12.0.0", + "@polkadot/x-randomvalues": "12.0.0", "@scure/base": "1.1.1", "tslib": "^2.5.0" }, "peerDependencies": { - "@polkadot/util": "11.1.4-19-x" + "@polkadot/util": "12.0.0" } } diff --git a/packages/util-crypto/src/nacl/tweetnacl-secretbox.spec.ts b/packages/util-crypto/src/nacl/tweetnacl-secretbox.spec.ts index e3dc6f648b4..7cc556e62a0 100644 --- a/packages/util-crypto/src/nacl/tweetnacl-secretbox.spec.ts +++ b/packages/util-crypto/src/nacl/tweetnacl-secretbox.spec.ts @@ -8,7 +8,7 @@ // // Changes made: // - Jest-like test environment (not tape) -// - Combine quite and random tests into single file +// - Combine "quick" and "random" tests into single file // // Original headers: // diff --git a/packages/util-crypto/src/xxhash/xxhash64.ts b/packages/util-crypto/src/xxhash/xxhash64.ts index 5f542610af9..9c52b39c73a 100644 --- a/packages/util-crypto/src/xxhash/xxhash64.ts +++ b/packages/util-crypto/src/xxhash/xxhash64.ts @@ -16,6 +16,7 @@ import { BigInt } from '@polkadot/x-bigint'; // - support only for Uint8Array inputs // - no constructor function, straight fill & digest // - update code removed, only called once, no streams +// - inline single-use functions interface State { seed: bigint; @@ -74,22 +75,8 @@ function fromU8a (u8a: Uint8Array, p: number, count: 2 | 4): bigint { return result; } -function toU8a (h64: bigint): Uint8Array { - const result = new Uint8Array(8); - - for (let i = 7; i >= 0; i--) { - result[i] = Number(h64 % _256n); - - h64 = h64 / _256n; - } - - return result; -} - -function state (initSeed: bigint | number): State { - const seed = BigInt(initSeed); - - return { +function init (seed: bigint, input: Uint8Array): State { + const state = { seed, u8a: new Uint8Array(32), u8asize: 0, @@ -98,9 +85,7 @@ function state (initSeed: bigint | number): State { v3: seed, v4: seed - P64_1 }; -} -function init (state: State, input: Uint8Array): State { if (input.length < 32) { state.u8a.set(input); state.u8asize = input.length; @@ -132,7 +117,7 @@ function init (state: State, input: Uint8Array): State { } export function xxhash64 (input: Uint8Array, initSeed: bigint | number): Uint8Array { - const { seed, u8a, u8asize, v1, v2, v3, v4 } = init(state(initSeed), input); + const { seed, u8a, u8asize, v1, v2, v3, v4 } = init(BigInt(initSeed), input); let p = 0; let h64 = U64 & (BigInt(input.length) + ( input.length >= 32 @@ -156,6 +141,15 @@ export function xxhash64 (input: Uint8Array, initSeed: bigint | number): Uint8Ar h64 = U64 & (P64_2 * (h64 ^ (h64 >> _33n))); h64 = U64 & (P64_3 * (h64 ^ (h64 >> _29n))); + h64 = U64 & (h64 ^ (h64 >> _32n)); + + const result = new Uint8Array(8); - return toU8a(U64 & (h64 ^ (h64 >> _32n))); + for (let i = 7; i >= 0; i--) { + result[i] = Number(h64 % _256n); + + h64 = h64 / _256n; + } + + return result; } diff --git a/packages/util/package.json b/packages/util/package.json index c568e784d91..ccac35f6dfb 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -18,7 +18,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "exports": { "./hex/toU8a": { @@ -35,15 +35,15 @@ } }, "dependencies": { - "@polkadot/x-bigint": "11.1.4-19-x", - "@polkadot/x-global": "11.1.4-19-x", - "@polkadot/x-textdecoder": "11.1.4-19-x", - "@polkadot/x-textencoder": "11.1.4-19-x", + "@polkadot/x-bigint": "12.0.0", + "@polkadot/x-global": "12.0.0", + "@polkadot/x-textdecoder": "12.0.0", + "@polkadot/x-textencoder": "12.0.0", "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/x-randomvalues": "11.1.4-19-x" + "@polkadot/x-randomvalues": "12.0.0" } } diff --git a/packages/x-bigint/package.json b/packages/x-bigint/package.json index 9c1bef52b9d..08577b7c37f 100644 --- a/packages/x-bigint/package.json +++ b/packages/x-bigint/package.json @@ -18,9 +18,9 @@ "./shim.cjs" ], "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "dependencies": { - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "tslib": "^2.5.0" } } diff --git a/packages/x-bundle/package.json b/packages/x-bundle/package.json index 48b4011dbf3..0df0d840c2e 100644 --- a/packages/x-bundle/package.json +++ b/packages/x-bundle/package.json @@ -15,10 +15,10 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "dependencies": { - "@polkadot/util": "11.1.4-19-x", + "@polkadot/util": "12.0.0", "buffer-es6": "^4.9.3", "tslib": "^2.5.0" } diff --git a/packages/x-fetch/package.json b/packages/x-fetch/package.json index 6ce5298c9a0..3f5049b1b6f 100644 --- a/packages/x-fetch/package.json +++ b/packages/x-fetch/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "node-fetch": "^3.3.1", "tslib": "^2.5.0" }, diff --git a/packages/x-global/package.json b/packages/x-global/package.json index 526c04ea02c..727f1a535bf 100644 --- a/packages/x-global/package.json +++ b/packages/x-global/package.json @@ -15,7 +15,7 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "main": "index.js", "dependencies": { "tslib": "^2.5.0" diff --git a/packages/x-randomvalues/package.json b/packages/x-randomvalues/package.json index 2167a513d1b..99e4498e633 100644 --- a/packages/x-randomvalues/package.json +++ b/packages/x-randomvalues/package.json @@ -15,20 +15,21 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/wasm-util": "^7.0.3", - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/util": "11.1.4-19-x", + "@polkadot/util": "12.0.0", + "@polkadot/wasm-util": "^7.1.1", "@types/react-native": "^0.71.6" }, "peerDependencies": { - "@polkadot/util": "11.1.4-19-x" + "@polkadot/util": "12.0.0", + "@polkadot/wasm-util": "*" } } diff --git a/packages/x-textdecoder/package.json b/packages/x-textdecoder/package.json index 3789a034f9c..59ac7accf2e 100644 --- a/packages/x-textdecoder/package.json +++ b/packages/x-textdecoder/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "tslib": "^2.5.0" } } diff --git a/packages/x-textencoder/package.json b/packages/x-textencoder/package.json index 2dc20e6c423..af839c11879 100644 --- a/packages/x-textencoder/package.json +++ b/packages/x-textencoder/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "tslib": "^2.5.0" } } diff --git a/packages/x-ws/package.json b/packages/x-ws/package.json index 526fb48fc12..1bdb7e42736 100644 --- a/packages/x-ws/package.json +++ b/packages/x-ws/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "11.1.4-19-x", + "version": "12.0.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "11.1.4-19-x", + "@polkadot/x-global": "12.0.0", "tslib": "^2.5.0", "ws": "^8.13.0" }, diff --git a/yarn.lock b/yarn.lock index f9f3609d000..134a750f853 100644 --- a/yarn.lock +++ b/yarn.lock @@ -101,10 +101,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.38.0, @eslint/js@npm:^8.38.0": - version: 8.38.0 - resolution: "@eslint/js@npm:8.38.0" - checksum: 1f28987aa8c9cd93e23384e16c7220863b39b5dc4b66e46d7cdbccce868040f455a98d24cd8b567a884f26545a0555b761f7328d4a00c051e7ef689cbea5fce1 +"@eslint/js@npm:8.39.0, @eslint/js@npm:^8.39.0": + version: 8.39.0 + resolution: "@eslint/js@npm:8.39.0" + checksum: 63fe36e2bfb5ff5705d1c1a8ccecd8eb2f81d9af239713489e767b0e398759c0177fcc75ad62581d02942f2776903a8496d5fae48dc2d883dff1b96fcb19e9e2 languageName: node linkType: hard @@ -456,34 +456,34 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev-test@npm:^0.73.1": - version: 0.73.1 - resolution: "@polkadot/dev-test@npm:0.73.1" +"@polkadot/dev-test@npm:^0.73.2": + version: 0.73.2 + resolution: "@polkadot/dev-test@npm:0.73.2" dependencies: jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: b77723ea9cc92b0f0276a3c5e32f036b5838a0f1bdaf57e7adfb144cb24fa668852dda32a5a034332b24184327ceb5eddbd546830cc88f91cd3cab8cdbf1d288 + checksum: 864e1d8fdb7c76eb52b60d5566e31e85b88eaa08113ff4b9741e3c6bdd4c08877c39409f843ae7efb62d1ffae92b57aea6255d2d19c5958e6cba25fbcba59e5b languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.73.1": - version: 0.73.1 - resolution: "@polkadot/dev-ts@npm:0.73.1" +"@polkadot/dev-ts@npm:^0.73.2": + version: 0.73.2 + resolution: "@polkadot/dev-ts@npm:0.73.2" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^5.0.4 - checksum: a594a30d6d552d80e6932f3b3576a1e1c8c4ac7c49b3f9470575dcdfe27b35d07f89b4fd83e94d822638f85ebd5b5299815b3a6241f5f59e38979be75807d5e5 + checksum: e092120f2b52c7b4b750bbfc486480e23221642c93e4857691c1a83caab0b92cdcc88cb4204972f32ef3b31e58a74b5efa56852283cb79842eee9607edd13a32 languageName: node linkType: hard -"@polkadot/dev@npm:^0.73.1": - version: 0.73.1 - resolution: "@polkadot/dev@npm:0.73.1" +"@polkadot/dev@npm:^0.73.2": + version: 0.73.2 + resolution: "@polkadot/dev@npm:0.73.2" dependencies: - "@eslint/js": ^8.38.0 - "@polkadot/dev-test": ^0.73.1 - "@polkadot/dev-ts": ^0.73.1 + "@eslint/js": ^8.39.0 + "@polkadot/dev-test": ^0.73.2 + "@polkadot/dev-ts": ^0.73.2 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-commonjs": ^24.1.0 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -491,11 +491,10 @@ __metadata: "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.0.2 "@rushstack/eslint-patch": ^1.2.0 - "@tsconfig/esm": ^1.0.3 "@tsconfig/strictest": ^2.0.1 "@typescript-eslint/eslint-plugin": ^5.59.0 "@typescript-eslint/parser": ^5.59.0 - eslint: ^8.38.0 + eslint: ^8.39.0 eslint-config-standard: ^17.0.0 eslint-import-resolver-node: ^0.3.7 eslint-plugin-deprecation: ^1.4.1 @@ -517,7 +516,7 @@ __metadata: tslib: ^2.5.0 typescript: ^5.0.4 webpack: ^5.80.0 - webpack-cli: ^5.0.1 + webpack-cli: ^5.0.2 webpack-dev-server: ^4.13.3 webpack-merge: ^5.8.0 webpack-subresource-integrity: ^5.2.0-rc.1 @@ -546,11 +545,11 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 36040232f4be9e8e5257f2df6cfbc18316cc9d44a1f3e87c8a12cc603bef8f836e1fc4d45cee7e6b4681f408c6706f01c7397d1f7acbc56ca9dac0f90c0bfe34 + checksum: ac738de6c657a3b2694cec6c12be94902f691737ef154a93738fd45c2943ff6fe3a686f5981daa34139b0cf11ed3b03532db0361825260978b2af289012e2f18 languageName: node linkType: hard -"@polkadot/hw-ledger-transports@11.1.4-19-x, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports": +"@polkadot/hw-ledger-transports@12.0.0, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports": version: 0.0.0-use.local resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports" dependencies: @@ -558,7 +557,7 @@ __metadata: "@ledgerhq/hw-transport-node-hid-singleton": ^6.28.10 "@ledgerhq/hw-transport-webhid": ^6.27.13 "@ledgerhq/hw-transport-webusb": ^6.27.13 - "@polkadot/util": 11.1.4-19-x + "@polkadot/util": 12.0.0 tslib: ^2.5.0 dependenciesMeta: "@ledgerhq/hw-transport-node-hid-singleton": @@ -566,12 +565,12 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/hw-ledger@11.1.4-19-x, @polkadot/hw-ledger@workspace:packages/hw-ledger": +"@polkadot/hw-ledger@12.0.0, @polkadot/hw-ledger@workspace:packages/hw-ledger": version: 0.0.0-use.local resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger" dependencies: - "@polkadot/hw-ledger-transports": 11.1.4-19-x - "@polkadot/util": 11.1.4-19-x + "@polkadot/hw-ledger-transports": 12.0.0 + "@polkadot/util": 12.0.0 "@zondax/ledger-substrate": ^0.40.7 tslib: ^2.5.0 languageName: unknown @@ -581,142 +580,145 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/keyring@workspace:packages/keyring" dependencies: - "@polkadot/util": 11.1.4-19-x - "@polkadot/util-crypto": 11.1.4-19-x + "@polkadot/util": 12.0.0 + "@polkadot/util-crypto": 12.0.0 tslib: ^2.5.0 peerDependencies: - "@polkadot/util": 11.1.4-19-x - "@polkadot/util-crypto": 11.1.4-19-x + "@polkadot/util": 12.0.0 + "@polkadot/util-crypto": 12.0.0 languageName: unknown linkType: soft -"@polkadot/networks@11.1.4-19-x, @polkadot/networks@workspace:packages/networks": +"@polkadot/networks@12.0.0, @polkadot/networks@workspace:packages/networks": version: 0.0.0-use.local resolution: "@polkadot/networks@workspace:packages/networks" dependencies: - "@polkadot/hw-ledger": 11.1.4-19-x - "@polkadot/util": 11.1.4-19-x + "@polkadot/hw-ledger": 12.0.0 + "@polkadot/util": 12.0.0 "@substrate/ss58-registry": ^1.39.0 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/util-crypto@11.1.4-19-x, @polkadot/util-crypto@workspace:packages/util-crypto": +"@polkadot/util-crypto@12.0.0, @polkadot/util-crypto@workspace:packages/util-crypto": version: 0.0.0-use.local resolution: "@polkadot/util-crypto@workspace:packages/util-crypto" dependencies: "@noble/curves": 1.0.0 "@noble/hashes": 1.3.0 - "@polkadot/networks": 11.1.4-19-x - "@polkadot/util": 11.1.4-19-x - "@polkadot/wasm-crypto": ^7.0.3 - "@polkadot/x-bigint": 11.1.4-19-x - "@polkadot/x-randomvalues": 11.1.4-19-x + "@polkadot/networks": 12.0.0 + "@polkadot/util": 12.0.0 + "@polkadot/wasm-crypto": ^7.1.1 + "@polkadot/wasm-util": ^7.1.1 + "@polkadot/x-bigint": 12.0.0 + "@polkadot/x-randomvalues": 12.0.0 "@scure/base": 1.1.1 tslib: ^2.5.0 peerDependencies: - "@polkadot/util": 11.1.4-19-x + "@polkadot/util": 12.0.0 languageName: unknown linkType: soft -"@polkadot/util@11.1.4-19-x, @polkadot/util@workspace:packages/util": +"@polkadot/util@12.0.0, @polkadot/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@polkadot/util@workspace:packages/util" dependencies: - "@polkadot/x-bigint": 11.1.4-19-x - "@polkadot/x-global": 11.1.4-19-x - "@polkadot/x-randomvalues": 11.1.4-19-x - "@polkadot/x-textdecoder": 11.1.4-19-x - "@polkadot/x-textencoder": 11.1.4-19-x + "@polkadot/x-bigint": 12.0.0 + "@polkadot/x-global": 12.0.0 + "@polkadot/x-randomvalues": 12.0.0 + "@polkadot/x-textdecoder": 12.0.0 + "@polkadot/x-textencoder": 12.0.0 "@types/bn.js": ^5.1.1 bn.js: ^5.2.1 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/wasm-bridge@npm:7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-bridge@npm:7.0.3" +"@polkadot/wasm-bridge@npm:7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-bridge@npm:7.1.1" dependencies: + "@polkadot/wasm-util": 7.1.1 tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 9603e0bfca80e0fbe1192783653c095990d34e4eb0b187f8fedd97abaeee4a3147e4f5e66e910b63f024030b0e7e21aedf118c0c58407a4464837ca7f2355809 + checksum: 7a394e9a41e9286ce41d233d54d69dc9585558c029b012f8d8a0528b3bb93bb480e18447576850026e4a3f22dc338b39796f5fa00720b2447b38ecaef8be5e02 languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.0.3" +"@polkadot/wasm-crypto-asmjs@npm:7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.1.1" dependencies: tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" - checksum: 6f819ba35612c475b3b14f286efa432086bdb9599ddb034c1abf448f0ad6e376ae81bac0ad4984564f6d5f82691ed5c4b74735ebc75dfdecf8f96f2e4bfcd5a3 + checksum: f3bb12eb29495520c030ca9d59ef5bfcb425ae4ecf2e2a407379951688189533d75c444aaafaa4fb93b22bfe10c48141e1d4597581281adc8455903d17114013 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-crypto-init@npm:7.0.3" +"@polkadot/wasm-crypto-init@npm:7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-crypto-init@npm:7.1.1" dependencies: - "@polkadot/wasm-bridge": 7.0.3 - "@polkadot/wasm-crypto-asmjs": 7.0.3 - "@polkadot/wasm-crypto-wasm": 7.0.3 + "@polkadot/wasm-bridge": 7.1.1 + "@polkadot/wasm-crypto-asmjs": 7.1.1 + "@polkadot/wasm-crypto-wasm": 7.1.1 + "@polkadot/wasm-util": 7.1.1 tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: ee5957c0b2297e58d913e59a5eecde10c8272a2bfc6e072e669ee8ada0105444f8d9cae535948849406fd696941620094daea12cc2950e18a0439d7fba2e19d8 + checksum: e0a375b4837c2a87e07df4ec8c99d0fc5c369c6bd1bcaf1e80f647921f7ae49d24c1638b41a81aa1b82064c0cfa033754eeb8cdc824f26731300a0bf2a912cfe languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.0.3" +"@polkadot/wasm-crypto-wasm@npm:7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.1.1" dependencies: - "@polkadot/wasm-util": 7.0.3 + "@polkadot/wasm-util": 7.1.1 tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" - checksum: ef9e6e88e066762e3803b8b0f4276035b835b2eaab86c53f004f977073442b6e51d7baf4c7bc308913c091975056c1b64ef1c00085e31f9988e12155b24111fb + checksum: d4f4e384f06293722e878bee16a20079147dfa1e835bfaf9e9ddaa0675d280116a3132bb4318fd6841abe526d7b61bbe47c31a99a0c7f4df1b5a98a9ab7419d2 languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-crypto@npm:7.0.3" +"@polkadot/wasm-crypto@npm:^7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-crypto@npm:7.1.1" dependencies: - "@polkadot/wasm-bridge": 7.0.3 - "@polkadot/wasm-crypto-asmjs": 7.0.3 - "@polkadot/wasm-crypto-init": 7.0.3 - "@polkadot/wasm-crypto-wasm": 7.0.3 - "@polkadot/wasm-util": 7.0.3 + "@polkadot/wasm-bridge": 7.1.1 + "@polkadot/wasm-crypto-asmjs": 7.1.1 + "@polkadot/wasm-crypto-init": 7.1.1 + "@polkadot/wasm-crypto-wasm": 7.1.1 + "@polkadot/wasm-util": 7.1.1 tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: e63fefca98685ea5ef488304e5aa7c30b1c483d7f633cda1efebfc95f8255faaf62fbaba439d81e57fadc11e53d3033a5b71272742cbdc0207f4ba617dba8123 + checksum: 7dd4a1889bb5f6928a6459c44c7be882ecefdb14d214f6f9c47f5382e078e9061bcd1a2b5ea8a2c8ca9a4fe73314ef44e402d4878080aed0d49ab98c8500b2fb languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.0.3, @polkadot/wasm-util@npm:^7.0.3": - version: 7.0.3 - resolution: "@polkadot/wasm-util@npm:7.0.3" +"@polkadot/wasm-util@npm:7.1.1, @polkadot/wasm-util@npm:^7.1.1": + version: 7.1.1 + resolution: "@polkadot/wasm-util@npm:7.1.1" dependencies: tslib: ^2.5.0 peerDependencies: "@polkadot/util": "*" - checksum: b20414290bbc9f67523c5180345f20ea8ef6244c90768936e0a25cce642448b086374869b99e6f2f7c071c0dea318ac9fb9761b8efefdeb24b75828c5d8bec3d + checksum: e7da5e0a580e36b5e1ad19b39c90478fd52559d4052db33370e4c72278c32a93683a9b7be3bb21fd9c8e97743381ff0e74eca66a624020bf5c6cf66853bcae3f languageName: node linkType: hard -"@polkadot/x-bigint@11.1.4-19-x, @polkadot/x-bigint@workspace:packages/x-bigint": +"@polkadot/x-bigint@12.0.0, @polkadot/x-bigint@workspace:packages/x-bigint": version: 0.0.0-use.local resolution: "@polkadot/x-bigint@workspace:packages/x-bigint" dependencies: - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/x-global": 12.0.0 tslib: ^2.5.0 languageName: unknown linkType: soft @@ -725,7 +727,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-bundle@workspace:packages/x-bundle" dependencies: - "@polkadot/util": 11.1.4-19-x + "@polkadot/util": 12.0.0 buffer-es6: ^4.9.3 tslib: ^2.5.0 languageName: unknown @@ -735,14 +737,14 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-fetch@workspace:packages/x-fetch" dependencies: - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/x-global": 12.0.0 "@types/node-fetch": ^2.6.3 node-fetch: ^3.3.1 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/x-global@11.1.4-19-x, @polkadot/x-global@workspace:packages/x-global": +"@polkadot/x-global@12.0.0, @polkadot/x-global@workspace:packages/x-global": version: 0.0.0-use.local resolution: "@polkadot/x-global@workspace:packages/x-global" dependencies: @@ -750,34 +752,35 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-randomvalues@11.1.4-19-x, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": +"@polkadot/x-randomvalues@12.0.0, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": version: 0.0.0-use.local resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues" dependencies: - "@polkadot/util": 11.1.4-19-x - "@polkadot/wasm-util": ^7.0.3 - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/util": 12.0.0 + "@polkadot/wasm-util": ^7.1.1 + "@polkadot/x-global": 12.0.0 "@types/react-native": ^0.71.6 tslib: ^2.5.0 peerDependencies: - "@polkadot/util": 11.1.4-19-x + "@polkadot/util": 12.0.0 + "@polkadot/wasm-util": "*" languageName: unknown linkType: soft -"@polkadot/x-textdecoder@11.1.4-19-x, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": +"@polkadot/x-textdecoder@12.0.0, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": version: 0.0.0-use.local resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder" dependencies: - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/x-global": 12.0.0 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/x-textencoder@11.1.4-19-x, @polkadot/x-textencoder@workspace:packages/x-textencoder": +"@polkadot/x-textencoder@12.0.0, @polkadot/x-textencoder@workspace:packages/x-textencoder": version: 0.0.0-use.local resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder" dependencies: - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/x-global": 12.0.0 tslib: ^2.5.0 languageName: unknown linkType: soft @@ -786,7 +789,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-ws@workspace:packages/x-ws" dependencies: - "@polkadot/x-global": 11.1.4-19-x + "@polkadot/x-global": 12.0.0 "@types/ws": ^8.5.4 tslib: ^2.5.0 ws: ^8.13.0 @@ -952,13 +955,6 @@ __metadata: languageName: node linkType: hard -"@tsconfig/esm@npm:^1.0.3": - version: 1.0.3 - resolution: "@tsconfig/esm@npm:1.0.3" - checksum: 07216f491c2603fbd7a5c214f39a2efa183c810dabb77d282ae930bab62f99ff7dbb2ddd7372e5e56ce72e8fb55eb92e3ee5dd6a46c0a7f980c1b59c402fa60b - languageName: node - linkType: hard - "@tsconfig/strictest@npm:^2.0.1": version: 2.0.1 resolution: "@tsconfig/strictest@npm:2.0.1" @@ -1560,16 +1556,16 @@ __metadata: languageName: node linkType: hard -"@webpack-cli/serve@npm:^2.0.1": - version: 2.0.1 - resolution: "@webpack-cli/serve@npm:2.0.1" +"@webpack-cli/serve@npm:^2.0.2": + version: 2.0.2 + resolution: "@webpack-cli/serve@npm:2.0.2" peerDependencies: webpack: 5.x.x webpack-cli: 5.x.x peerDependenciesMeta: webpack-dev-server: optional: true - checksum: 75c55f8398dd60e4821f81bec6e96287cebb3ab1837ef016779bc2f0c76a1d29c45b99e53daa99ba1fa156b5e2b61c19abf58098de20c2b58391b1f496ecc145 + checksum: f74c8cc7d3e4de58e1261c6d09af0e8b8a23f53ada4ec336140f30fa16d57d9f56de954e87125947c090c06a30b10a243ca1e093c3e4bd60ba3f19c852cb20b7 languageName: node linkType: hard @@ -2629,6 +2625,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^10.0.1": + version: 10.0.1 + resolution: "commander@npm:10.0.1" + checksum: 436901d64a818295803c1996cd856621a74f30b9f9e28a588e726b2b1670665bccd7c1a77007ebf328729f0139838a88a19265858a0fa7a8728c4656796db948 + languageName: node + linkType: hard + "commander@npm:^2.16.0, commander@npm:^2.18.0, commander@npm:^2.20.0, commander@npm:^2.20.3, commander@npm:^2.8.1": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -2643,7 +2646,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^9.1.0, commander@npm:^9.4.1": +"commander@npm:^9.1.0": version: 9.5.0 resolution: "commander@npm:9.5.0" checksum: c7a3e27aa59e913b54a1bafd366b88650bc41d6651f0cbe258d4ff09d43d6a7394232a4dadd0bf518b3e696fdf595db1028a0d82c785b88bd61f8a440cecfade @@ -3728,13 +3731,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.1.1": - version: 7.1.1 - resolution: "eslint-scope@npm:7.1.1" +"eslint-scope@npm:^7.2.0": + version: 7.2.0 + resolution: "eslint-scope@npm:7.2.0" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: 9f6e974ab2db641ca8ab13508c405b7b859e72afe9f254e8131ff154d2f40c99ad4545ce326fd9fde3212ff29707102562a4834f1c48617b35d98c71a97fbf3e + checksum: 64591a2d8b244ade9c690b59ef238a11d5c721a98bcee9e9f445454f442d03d3e04eda88e95a4daec558220a99fa384309d9faae3d459bd40e7a81b4063980ae languageName: node linkType: hard @@ -3779,14 +3782,14 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.38.0": - version: 8.38.0 - resolution: "eslint@npm:8.38.0" +"eslint@npm:^8.39.0": + version: 8.39.0 + resolution: "eslint@npm:8.39.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.4.0 "@eslint/eslintrc": ^2.0.2 - "@eslint/js": 8.38.0 + "@eslint/js": 8.39.0 "@humanwhocodes/config-array": ^0.11.8 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -3796,7 +3799,7 @@ __metadata: debug: ^4.3.2 doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.1.1 + eslint-scope: ^7.2.0 eslint-visitor-keys: ^3.4.0 espree: ^9.5.1 esquery: ^1.4.2 @@ -3825,7 +3828,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 73b6d9b650d0434aa7c07d0a1802f099b086ee70a8d8ba7be730439a26572a5eb71def12125c82942be2ec8ee5be38a6f1b42a13e40d4b67f11a148ec9e263eb + checksum: d7a074ff326e7ea482500dc0427a7d4b0260460f0f812d19b46b1cca681806b67309f23da9d17cd3de8eb74dd3c14cb549c4d58b05b140564d14cc1a391122a0 languageName: node linkType: hard @@ -7570,7 +7573,7 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.73.1 + "@polkadot/dev": ^0.73.2 "@types/node": ^18.15.13 languageName: unknown linkType: soft @@ -8889,16 +8892,16 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack-cli@npm:^5.0.1": - version: 5.0.1 - resolution: "webpack-cli@npm:5.0.1" +"webpack-cli@npm:^5.0.2": + version: 5.0.2 + resolution: "webpack-cli@npm:5.0.2" dependencies: "@discoveryjs/json-ext": ^0.5.0 "@webpack-cli/configtest": ^2.0.1 "@webpack-cli/info": ^2.0.1 - "@webpack-cli/serve": ^2.0.1 + "@webpack-cli/serve": ^2.0.2 colorette: ^2.0.14 - commander: ^9.4.1 + commander: ^10.0.1 cross-spawn: ^7.0.3 envinfo: ^7.7.3 fastest-levenshtein: ^1.0.12 @@ -8917,7 +8920,7 @@ fsevents@~2.3.2: optional: true bin: webpack-cli: bin/cli.js - checksum: b1544eea669442e78c3dba9f79c0f8d0136759b8b2fe9cd32c0d410250fd719988ae037778ba88993215d44971169f2c268c0c934068be561711615f1951bd53 + checksum: 98816d84c51487b90e1008ddbcda8827dcb7ae9ab7892f4d742f0d7b93f90a4a18a6ec2671b380e5a7ee4b0917cf0c43921119419d8ba9e1b14ea060115684fd languageName: node linkType: hard