Hash bigint syntax (tmp incl. w/ _n adjustment) (#1246)
* Hash bigint syntax (tmp incl. w/ _n adjustment) * headers with licence & PR link * Re-adjust package.json * Use patch-package * test for patch application * Upgrade dev * Remove eslintignore
This commit is contained in:
+5
-4
@@ -22,16 +22,17 @@
|
||||
"lint": "polkadot-dev-run-lint",
|
||||
"networks:crosscheck": "polkadot-dev-run-test packages/networks/src/crosscheck",
|
||||
"networks:sync": "yarn build && node packages/networks/scripts/fromSubstrate.mjs",
|
||||
"postinstall": "polkadot-dev-yarn-only",
|
||||
"postinstall": "polkadot-dev-yarn-only && patch-package --error-on-fail --patch-dir packages/util-crypto/src/patches",
|
||||
"test": "polkadot-dev-run-test --coverage --runInBand --testPathIgnorePatterns crosscheck --testPathIgnorePatterns toMiniSecretCmp",
|
||||
"test:mnemonicCmp": "polkadot-dev-run-test packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts",
|
||||
"test:one": "polkadot-dev-run-test --runInBand"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.16.0",
|
||||
"@polkadot/dev": "^0.63.30",
|
||||
"@polkadot/ts": "^0.4.14",
|
||||
"@types/jest": "^27.0.3"
|
||||
"@polkadot/dev": "^0.63.33",
|
||||
"@polkadot/ts": "^0.4.15",
|
||||
"@types/jest": "^27.0.3",
|
||||
"patch-package": "^6.4.7"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^4.5.2"
|
||||
|
||||
@@ -24,9 +24,12 @@
|
||||
"type": "module",
|
||||
"version": "7.9.3-18",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"postinstall": "patch-package --error-on-fail"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.3",
|
||||
"@noble/hashes": "^0.4.1",
|
||||
"@noble/hashes": "0.4.1",
|
||||
"@polkadot/networks": "7.9.3-18",
|
||||
"@polkadot/util": "7.9.3-18",
|
||||
"@polkadot/wasm-crypto": "^4.4.1",
|
||||
@@ -35,6 +38,7 @@
|
||||
"ed2curve": "^0.3.0",
|
||||
"elliptic": "^6.5.4",
|
||||
"micro-base": "^0.9.0",
|
||||
"patch-package": "^6.4.7",
|
||||
"tweetnacl": "^1.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,268 @@
|
||||
diff --git a/node_modules/@noble/hashes/lib/_sha2.js b/node_modules/@noble/hashes/lib/_sha2.js
|
||||
index 3a7e7d7..0517727 100644
|
||||
--- a/node_modules/@noble/hashes/lib/_sha2.js
|
||||
+++ b/node_modules/@noble/hashes/lib/_sha2.js
|
||||
@@ -2,12 +2,14 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.SHA2 = void 0;
|
||||
const utils_1 = require("./utils");
|
||||
+const _32n = (0, utils_1._n)(32);
|
||||
+const _u32_max = (0, utils_1._n)(0xffffffff);
|
||||
// Polyfill for Safari 14
|
||||
function setBigUint64(view, byteOffset, value, isLE) {
|
||||
if (typeof view.setBigUint64 === 'function')
|
||||
return view.setBigUint64(byteOffset, value, isLE);
|
||||
- const wh = Number((value >> 32n) & 0xffffffffn);
|
||||
- const wl = Number(value & 0xffffffffn);
|
||||
+ const wh = Number((value >> _32n) & _u32_max);
|
||||
+ const wl = Number(value & _u32_max);
|
||||
const [h, l] = isLE ? [4, 0] : [0, 4];
|
||||
view.setUint32(byteOffset + h, wh, isLE);
|
||||
view.setUint32(byteOffset + l, wl, isLE);
|
||||
diff --git a/node_modules/@noble/hashes/lib/_u64.js b/node_modules/@noble/hashes/lib/_u64.js
|
||||
index 396889a..f958bd5 100644
|
||||
--- a/node_modules/@noble/hashes/lib/_u64.js
|
||||
+++ b/node_modules/@noble/hashes/lib/_u64.js
|
||||
@@ -1,11 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.add5H = exports.add5L = exports.add4H = exports.add4L = exports.add3H = exports.add3L = exports.add = exports.rotlBL = exports.rotlBH = exports.rotlSL = exports.rotlSH = exports.rotr32L = exports.rotr32H = exports.rotrBL = exports.rotrBH = exports.rotrSL = exports.rotrSH = exports.shrSL = exports.shrSH = exports.toBig = exports.split = exports.fromBig = void 0;
|
||||
-const U32_MASK64 = 2n ** 32n - 1n;
|
||||
+const utils_1 = require("./utils");
|
||||
+const U32_MASK64 = (0, utils_1._n)(2 ** 32 - 1);
|
||||
+const _32n = (0, utils_1._n)(32);
|
||||
function fromBig(n, le = false) {
|
||||
if (le)
|
||||
- return { h: Number(n & U32_MASK64), l: Number((n >> 32n) & U32_MASK64) };
|
||||
- return { h: Number((n >> 32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
|
||||
+ return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };
|
||||
+ return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
|
||||
}
|
||||
exports.fromBig = fromBig;
|
||||
function split(lst, le = false) {
|
||||
@@ -17,7 +19,7 @@ function split(lst, le = false) {
|
||||
return [Ah, Al];
|
||||
}
|
||||
exports.split = split;
|
||||
-const toBig = (h, l) => (BigInt(h >>> 0) << 32n) | BigInt(l >>> 0);
|
||||
+const toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);
|
||||
exports.toBig = toBig;
|
||||
// for Shift in [0, 32)
|
||||
const shrSH = (h, l, s) => h >>> s;
|
||||
diff --git a/node_modules/@noble/hashes/lib/blake3.d.ts b/node_modules/@noble/hashes/lib/blake3.d.ts
|
||||
index 80f8856..3ab02fc 100644
|
||||
--- a/node_modules/@noble/hashes/lib/blake3.d.ts
|
||||
+++ b/node_modules/@noble/hashes/lib/blake3.d.ts
|
||||
@@ -27,8 +27,8 @@ declare class BLAKE3 extends blake2.BLAKE2<BLAKE3> implements HashXOF<BLAKE3> {
|
||||
private b2CompressOut;
|
||||
protected finish(): void;
|
||||
private writeInto;
|
||||
- XOFInto(out: Uint8Array): Uint8Array;
|
||||
- XOF(bytes: number): Uint8Array;
|
||||
+ xofInto(out: Uint8Array): Uint8Array;
|
||||
+ xof(bytes: number): Uint8Array;
|
||||
digestInto(out: Uint8Array): Uint8Array;
|
||||
digest(): Uint8Array;
|
||||
}
|
||||
diff --git a/node_modules/@noble/hashes/lib/blake3.js b/node_modules/@noble/hashes/lib/blake3.js
|
||||
index bfc7a19..52b28f0 100644
|
||||
--- a/node_modules/@noble/hashes/lib/blake3.js
|
||||
+++ b/node_modules/@noble/hashes/lib/blake3.js
|
||||
@@ -229,14 +229,14 @@ class BLAKE3 extends blake2.BLAKE2 {
|
||||
}
|
||||
return out;
|
||||
}
|
||||
- XOFInto(out) {
|
||||
+ xofInto(out) {
|
||||
if (!this.enableXOF)
|
||||
throw new Error('XOF impossible after digest call');
|
||||
return this.writeInto(out);
|
||||
}
|
||||
- XOF(bytes) {
|
||||
+ xof(bytes) {
|
||||
(0, utils_1.assertNumber)(bytes);
|
||||
- return this.XOFInto(new Uint8Array(bytes));
|
||||
+ return this.xofInto(new Uint8Array(bytes));
|
||||
}
|
||||
digestInto(out) {
|
||||
if (out.length < this.outputLen)
|
||||
diff --git a/node_modules/@noble/hashes/lib/sha3-addons.js b/node_modules/@noble/hashes/lib/sha3-addons.js
|
||||
index 51793e2..6a9eef7 100644
|
||||
--- a/node_modules/@noble/hashes/lib/sha3-addons.js
|
||||
+++ b/node_modules/@noble/hashes/lib/sha3-addons.js
|
||||
@@ -321,7 +321,7 @@ class KeccakPRG extends sha3_1.Keccak {
|
||||
throw new Error('KeccakPRG: digest is not allowed, please use .fetch instead.');
|
||||
}
|
||||
fetch(bytes) {
|
||||
- return this.XOF(bytes);
|
||||
+ return this.xof(bytes);
|
||||
}
|
||||
// Ensure irreversibility (even if state leaked previous outputs cannot be computed)
|
||||
forget() {
|
||||
diff --git a/node_modules/@noble/hashes/lib/sha3.d.ts b/node_modules/@noble/hashes/lib/sha3.d.ts
|
||||
index 6f0a062..1105727 100644
|
||||
--- a/node_modules/@noble/hashes/lib/sha3.d.ts
|
||||
+++ b/node_modules/@noble/hashes/lib/sha3.d.ts
|
||||
@@ -17,8 +17,8 @@ export declare class Keccak extends Hash<Keccak> implements HashXOF<Keccak> {
|
||||
update(data: Input): this;
|
||||
protected finish(): void;
|
||||
protected writeInto(out: Uint8Array): Uint8Array;
|
||||
- XOFInto(out: Uint8Array): Uint8Array;
|
||||
- XOF(bytes: number): Uint8Array;
|
||||
+ xofInto(out: Uint8Array): Uint8Array;
|
||||
+ xof(bytes: number): Uint8Array;
|
||||
digestInto(out: Uint8Array): Uint8Array;
|
||||
digest(): Uint8Array;
|
||||
destroy(): void;
|
||||
diff --git a/node_modules/@noble/hashes/lib/sha3.js b/node_modules/@noble/hashes/lib/sha3.js
|
||||
index 91adaf4..41a84b4 100644
|
||||
--- a/node_modules/@noble/hashes/lib/sha3.js
|
||||
+++ b/node_modules/@noble/hashes/lib/sha3.js
|
||||
@@ -22,20 +22,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.shake256 = exports.shake128 = exports.keccak_512 = exports.keccak_384 = exports.keccak_256 = exports.keccak_224 = exports.sha3_512 = exports.sha3_384 = exports.sha3_256 = exports.sha3_224 = exports.Keccak = exports.keccakP = void 0;
|
||||
const u64 = __importStar(require("./_u64"));
|
||||
const utils_1 = require("./utils");
|
||||
+const _0n = (0, utils_1._n)(0);
|
||||
+const _1n = (0, utils_1._n)(1);
|
||||
+const _2n = (0, utils_1._n)(2);
|
||||
+const _7n = (0, utils_1._n)(7);
|
||||
+const _256n = (0, utils_1._n)(256);
|
||||
+const _0x71n = (0, utils_1._n)(0x71);
|
||||
// Various per round constants calculations
|
||||
const [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];
|
||||
-for (let round = 0, R = 1n, x = 1, y = 0; round < 24; round++) {
|
||||
+for (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {
|
||||
// Pi
|
||||
[x, y] = [y, (2 * x + 3 * y) % 5];
|
||||
SHA3_PI.push(2 * (5 * y + x));
|
||||
// Rotational
|
||||
SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);
|
||||
// Iota
|
||||
- let t = 0n;
|
||||
+ let t = _0n;
|
||||
for (let j = 0; j < 7; j++) {
|
||||
- R = ((R << 1n) ^ ((R >> 7n) * 0x71n)) % 256n;
|
||||
- if (R & 2n)
|
||||
- t ^= 1n << ((1n << BigInt(j)) - 1n);
|
||||
+ R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;
|
||||
+ if (R & _2n)
|
||||
+ t ^= _1n << ((_1n << BigInt(j)) - _1n);
|
||||
}
|
||||
_SHA3_IOTA.push(t);
|
||||
}
|
||||
@@ -161,15 +167,15 @@ class Keccak extends utils_1.Hash {
|
||||
}
|
||||
return out;
|
||||
}
|
||||
- XOFInto(out) {
|
||||
+ xofInto(out) {
|
||||
// Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF
|
||||
if (!this.enableXOF)
|
||||
throw new Error('XOF is not possible for this instance');
|
||||
return this.writeInto(out);
|
||||
}
|
||||
- XOF(bytes) {
|
||||
+ xof(bytes) {
|
||||
(0, utils_1.assertNumber)(bytes);
|
||||
- return this.XOFInto(new Uint8Array(bytes));
|
||||
+ return this.xofInto(new Uint8Array(bytes));
|
||||
}
|
||||
digestInto(out) {
|
||||
if (out.length < this.outputLen)
|
||||
diff --git a/node_modules/@noble/hashes/lib/sha512.js b/node_modules/@noble/hashes/lib/sha512.js
|
||||
index 567bd80..0a733ab 100644
|
||||
--- a/node_modules/@noble/hashes/lib/sha512.js
|
||||
+++ b/node_modules/@noble/hashes/lib/sha512.js
|
||||
@@ -26,26 +26,26 @@ const utils_1 = require("./utils");
|
||||
// Round contants (first 32 bits of the fractional parts of the cube roots of the first 80 primes 2..409):
|
||||
// prettier-ignore
|
||||
const [SHA512_Kh, SHA512_Kl] = u64.split([
|
||||
- 0x428a2f98d728ae22n, 0x7137449123ef65cdn, 0xb5c0fbcfec4d3b2fn, 0xe9b5dba58189dbbcn,
|
||||
- 0x3956c25bf348b538n, 0x59f111f1b605d019n, 0x923f82a4af194f9bn, 0xab1c5ed5da6d8118n,
|
||||
- 0xd807aa98a3030242n, 0x12835b0145706fben, 0x243185be4ee4b28cn, 0x550c7dc3d5ffb4e2n,
|
||||
- 0x72be5d74f27b896fn, 0x80deb1fe3b1696b1n, 0x9bdc06a725c71235n, 0xc19bf174cf692694n,
|
||||
- 0xe49b69c19ef14ad2n, 0xefbe4786384f25e3n, 0x0fc19dc68b8cd5b5n, 0x240ca1cc77ac9c65n,
|
||||
- 0x2de92c6f592b0275n, 0x4a7484aa6ea6e483n, 0x5cb0a9dcbd41fbd4n, 0x76f988da831153b5n,
|
||||
- 0x983e5152ee66dfabn, 0xa831c66d2db43210n, 0xb00327c898fb213fn, 0xbf597fc7beef0ee4n,
|
||||
- 0xc6e00bf33da88fc2n, 0xd5a79147930aa725n, 0x06ca6351e003826fn, 0x142929670a0e6e70n,
|
||||
- 0x27b70a8546d22ffcn, 0x2e1b21385c26c926n, 0x4d2c6dfc5ac42aedn, 0x53380d139d95b3dfn,
|
||||
- 0x650a73548baf63den, 0x766a0abb3c77b2a8n, 0x81c2c92e47edaee6n, 0x92722c851482353bn,
|
||||
- 0xa2bfe8a14cf10364n, 0xa81a664bbc423001n, 0xc24b8b70d0f89791n, 0xc76c51a30654be30n,
|
||||
- 0xd192e819d6ef5218n, 0xd69906245565a910n, 0xf40e35855771202an, 0x106aa07032bbd1b8n,
|
||||
- 0x19a4c116b8d2d0c8n, 0x1e376c085141ab53n, 0x2748774cdf8eeb99n, 0x34b0bcb5e19b48a8n,
|
||||
- 0x391c0cb3c5c95a63n, 0x4ed8aa4ae3418acbn, 0x5b9cca4f7763e373n, 0x682e6ff3d6b2b8a3n,
|
||||
- 0x748f82ee5defb2fcn, 0x78a5636f43172f60n, 0x84c87814a1f0ab72n, 0x8cc702081a6439ecn,
|
||||
- 0x90befffa23631e28n, 0xa4506cebde82bde9n, 0xbef9a3f7b2c67915n, 0xc67178f2e372532bn,
|
||||
- 0xca273eceea26619cn, 0xd186b8c721c0c207n, 0xeada7dd6cde0eb1en, 0xf57d4f7fee6ed178n,
|
||||
- 0x06f067aa72176fban, 0x0a637dc5a2c898a6n, 0x113f9804bef90daen, 0x1b710b35131c471bn,
|
||||
- 0x28db77f523047d84n, 0x32caab7b40c72493n, 0x3c9ebe0a15c9bebcn, 0x431d67c49c100d4cn,
|
||||
- 0x4cc5d4becb3e42b6n, 0x597f299cfc657e2an, 0x5fcb6fab3ad6faecn, 0x6c44198c4a475817n
|
||||
+ (0, utils_1._n)('0x428a2f98d728ae22'), (0, utils_1._n)('0x7137449123ef65cd'), (0, utils_1._n)('0xb5c0fbcfec4d3b2f'), (0, utils_1._n)('0xe9b5dba58189dbbc'),
|
||||
+ (0, utils_1._n)('0x3956c25bf348b538'), (0, utils_1._n)('0x59f111f1b605d019'), (0, utils_1._n)('0x923f82a4af194f9b'), (0, utils_1._n)('0xab1c5ed5da6d8118'),
|
||||
+ (0, utils_1._n)('0xd807aa98a3030242'), (0, utils_1._n)('0x12835b0145706fbe'), (0, utils_1._n)('0x243185be4ee4b28c'), (0, utils_1._n)('0x550c7dc3d5ffb4e2'),
|
||||
+ (0, utils_1._n)('0x72be5d74f27b896f'), (0, utils_1._n)('0x80deb1fe3b1696b1'), (0, utils_1._n)('0x9bdc06a725c71235'), (0, utils_1._n)('0xc19bf174cf692694'),
|
||||
+ (0, utils_1._n)('0xe49b69c19ef14ad2'), (0, utils_1._n)('0xefbe4786384f25e3'), (0, utils_1._n)('0x0fc19dc68b8cd5b5'), (0, utils_1._n)('0x240ca1cc77ac9c65'),
|
||||
+ (0, utils_1._n)('0x2de92c6f592b0275'), (0, utils_1._n)('0x4a7484aa6ea6e483'), (0, utils_1._n)('0x5cb0a9dcbd41fbd4'), (0, utils_1._n)('0x76f988da831153b5'),
|
||||
+ (0, utils_1._n)('0x983e5152ee66dfab'), (0, utils_1._n)('0xa831c66d2db43210'), (0, utils_1._n)('0xb00327c898fb213f'), (0, utils_1._n)('0xbf597fc7beef0ee4'),
|
||||
+ (0, utils_1._n)('0xc6e00bf33da88fc2'), (0, utils_1._n)('0xd5a79147930aa725'), (0, utils_1._n)('0x06ca6351e003826f'), (0, utils_1._n)('0x142929670a0e6e70'),
|
||||
+ (0, utils_1._n)('0x27b70a8546d22ffc'), (0, utils_1._n)('0x2e1b21385c26c926'), (0, utils_1._n)('0x4d2c6dfc5ac42aed'), (0, utils_1._n)('0x53380d139d95b3df'),
|
||||
+ (0, utils_1._n)('0x650a73548baf63de'), (0, utils_1._n)('0x766a0abb3c77b2a8'), (0, utils_1._n)('0x81c2c92e47edaee6'), (0, utils_1._n)('0x92722c851482353b'),
|
||||
+ (0, utils_1._n)('0xa2bfe8a14cf10364'), (0, utils_1._n)('0xa81a664bbc423001'), (0, utils_1._n)('0xc24b8b70d0f89791'), (0, utils_1._n)('0xc76c51a30654be30'),
|
||||
+ (0, utils_1._n)('0xd192e819d6ef5218'), (0, utils_1._n)('0xd69906245565a910'), (0, utils_1._n)('0xf40e35855771202a'), (0, utils_1._n)('0x106aa07032bbd1b8'),
|
||||
+ (0, utils_1._n)('0x19a4c116b8d2d0c8'), (0, utils_1._n)('0x1e376c085141ab53'), (0, utils_1._n)('0x2748774cdf8eeb99'), (0, utils_1._n)('0x34b0bcb5e19b48a8'),
|
||||
+ (0, utils_1._n)('0x391c0cb3c5c95a63'), (0, utils_1._n)('0x4ed8aa4ae3418acb'), (0, utils_1._n)('0x5b9cca4f7763e373'), (0, utils_1._n)('0x682e6ff3d6b2b8a3'),
|
||||
+ (0, utils_1._n)('0x748f82ee5defb2fc'), (0, utils_1._n)('0x78a5636f43172f60'), (0, utils_1._n)('0x84c87814a1f0ab72'), (0, utils_1._n)('0x8cc702081a6439ec'),
|
||||
+ (0, utils_1._n)('0x90befffa23631e28'), (0, utils_1._n)('0xa4506cebde82bde9'), (0, utils_1._n)('0xbef9a3f7b2c67915'), (0, utils_1._n)('0xc67178f2e372532b'),
|
||||
+ (0, utils_1._n)('0xca273eceea26619c'), (0, utils_1._n)('0xd186b8c721c0c207'), (0, utils_1._n)('0xeada7dd6cde0eb1e'), (0, utils_1._n)('0xf57d4f7fee6ed178'),
|
||||
+ (0, utils_1._n)('0x06f067aa72176fba'), (0, utils_1._n)('0x0a637dc5a2c898a6'), (0, utils_1._n)('0x113f9804bef90dae'), (0, utils_1._n)('0x1b710b35131c471b'),
|
||||
+ (0, utils_1._n)('0x28db77f523047d84'), (0, utils_1._n)('0x32caab7b40c72493'), (0, utils_1._n)('0x3c9ebe0a15c9bebc'), (0, utils_1._n)('0x431d67c49c100d4c'),
|
||||
+ (0, utils_1._n)('0x4cc5d4becb3e42b6'), (0, utils_1._n)('0x597f299cfc657e2a'), (0, utils_1._n)('0x5fcb6fab3ad6faec'), (0, utils_1._n)('0x6c44198c4a475817')
|
||||
]);
|
||||
// Temporary buffer, not used to store anything between runs
|
||||
const SHA512_W_H = new Uint32Array(80);
|
||||
diff --git a/node_modules/@noble/hashes/lib/utils.d.ts b/node_modules/@noble/hashes/lib/utils.d.ts
|
||||
index 8233e80..67c4246 100644
|
||||
--- a/node_modules/@noble/hashes/lib/utils.d.ts
|
||||
+++ b/node_modules/@noble/hashes/lib/utils.d.ts
|
||||
@@ -1,5 +1,6 @@
|
||||
/*! noble-hashes - MIT License (c) 2021 Paul Miller (paulmillr.com) */
|
||||
export declare type TypedArray = Int8Array | Uint8ClampedArray | Uint8Array | Uint16Array | Int16Array | Uint32Array | Int32Array;
|
||||
+export declare const _n: (value: string | number | bigint | boolean) => bigint;
|
||||
export declare const u8: (arr: TypedArray) => Uint8Array;
|
||||
export declare const u32: (arr: TypedArray) => Uint32Array;
|
||||
export declare const createView: (arr: TypedArray) => DataView;
|
||||
@@ -24,8 +25,8 @@ export declare abstract class Hash<T extends Hash<T>> {
|
||||
clone(): T;
|
||||
}
|
||||
export declare type HashXOF<T extends Hash<T>> = Hash<T> & {
|
||||
- XOF(bytes: number): Uint8Array;
|
||||
- XOFInto(buf: Uint8Array): Uint8Array;
|
||||
+ xof(bytes: number): Uint8Array;
|
||||
+ xofInto(buf: Uint8Array): Uint8Array;
|
||||
};
|
||||
declare type EmptyObj = {};
|
||||
export declare function checkOpts<T1 extends EmptyObj, T2 extends EmptyObj>(def: T1, _opts?: T2): T1 & T2;
|
||||
@@ -46,7 +47,7 @@ export declare function wrapConstructorWithOpts<H extends Hash<H>, T extends Obj
|
||||
};
|
||||
export declare const crypto: {
|
||||
node?: any;
|
||||
- web?: Crypto;
|
||||
+ web?: any;
|
||||
};
|
||||
export declare function randomBytes(bytesLength?: number): Uint8Array;
|
||||
export {};
|
||||
diff --git a/node_modules/@noble/hashes/lib/utils.js b/node_modules/@noble/hashes/lib/utils.js
|
||||
index 1d45928..3811cf9 100644
|
||||
--- a/node_modules/@noble/hashes/lib/utils.js
|
||||
+++ b/node_modules/@noble/hashes/lib/utils.js
|
||||
@@ -1,7 +1,9 @@
|
||||
"use strict";
|
||||
/*! noble-hashes - MIT License (c) 2021 Paul Miller (paulmillr.com) */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
-exports.randomBytes = exports.crypto = exports.wrapConstructorWithOpts = exports.wrapConstructor = exports.checkOpts = exports.Hash = exports.assertHash = exports.assertBool = exports.assertNumber = exports.toBytes = exports.asyncLoop = exports.nextTick = exports.bytesToHex = exports.isLE = exports.rotr = exports.createView = exports.u32 = exports.u8 = void 0;
|
||||
+exports.randomBytes = exports.crypto = exports.wrapConstructorWithOpts = exports.wrapConstructor = exports.checkOpts = exports.Hash = exports.assertHash = exports.assertBool = exports.assertNumber = exports.toBytes = exports.asyncLoop = exports.nextTick = exports.bytesToHex = exports.isLE = exports.rotr = exports.createView = exports.u32 = exports.u8 = exports._n = void 0;
|
||||
+// helper to protect against older bundlers
|
||||
+exports._n = typeof BigInt !== 'undefined' ? BigInt : () => Number.NaN;
|
||||
// Cast array to different type
|
||||
const u8 = (arr) => new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);
|
||||
exports.u8 = u8;
|
||||
@@ -0,0 +1,12 @@
|
||||
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { _n } from '@noble/hashes/lib/utils';
|
||||
|
||||
describe('@noble/hashes', (): void => {
|
||||
it('is patched', (): void => {
|
||||
expect(
|
||||
_n(123) === 123n
|
||||
).toBe(true);
|
||||
});
|
||||
});
|
||||
@@ -82,7 +82,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helper-annotate-as-pure@npm:^7.15.4, @babel/helper-annotate-as-pure@npm:^7.16.0":
|
||||
"@babel/helper-annotate-as-pure@npm:^7.16.0":
|
||||
version: 7.16.0
|
||||
resolution: "@babel/helper-annotate-as-pure@npm:7.16.0"
|
||||
dependencies:
|
||||
@@ -208,7 +208,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.15.4, @babel/helper-module-imports@npm:^7.16.0":
|
||||
"@babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.0":
|
||||
version: 7.16.0
|
||||
resolution: "@babel/helper-module-imports@npm:7.16.0"
|
||||
dependencies:
|
||||
@@ -1770,7 +1770,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@noble/hashes@npm:^0.4.1":
|
||||
"@noble/hashes@npm:0.4.1":
|
||||
version: 0.4.1
|
||||
resolution: "@noble/hashes@npm:0.4.1"
|
||||
checksum: 3c706beec3bcd9e43f2b88c0791f022b645b5c0a9dd76889dfc189e51da2f0c692ef846b5889e074338353e335269c14f4c0ea34329b4d7dd45ae82c482b4605
|
||||
@@ -1937,9 +1937,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev@npm:^0.63.30":
|
||||
version: 0.63.30
|
||||
resolution: "@polkadot/dev@npm:0.63.30"
|
||||
"@polkadot/dev@npm:^0.63.33":
|
||||
version: 0.63.33
|
||||
resolution: "@polkadot/dev@npm:0.63.33"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.16.0
|
||||
"@babel/core": ^7.16.0
|
||||
@@ -1969,11 +1969,11 @@ __metadata:
|
||||
babel-jest: ^27.3.1
|
||||
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
|
||||
babel-plugin-module-resolver: ^4.1.0
|
||||
babel-plugin-styled-components: ^1.13.3
|
||||
babel-plugin-styled-components: ^2.0.1
|
||||
browserslist: ^4.18.1
|
||||
chalk: ^4.1.2
|
||||
coveralls: ^3.1.1
|
||||
eslint: ^8.2.0
|
||||
eslint: ^8.3.0
|
||||
eslint-config-standard: ^16.0.3
|
||||
eslint-import-resolver-node: ^0.3.6
|
||||
eslint-plugin-header: ^3.1.1
|
||||
@@ -1981,7 +1981,7 @@ __metadata:
|
||||
eslint-plugin-import-newlines: ^1.1.5
|
||||
eslint-plugin-node: ^11.1.0
|
||||
eslint-plugin-promise: ^5.1.1
|
||||
eslint-plugin-react: ^7.27.0
|
||||
eslint-plugin-react: ^7.27.1
|
||||
eslint-plugin-react-hooks: ^4.3.0
|
||||
eslint-plugin-simple-import-sort: ^7.0.0
|
||||
eslint-plugin-sort-destructure-keys: ^1.4.0
|
||||
@@ -2000,8 +2000,8 @@ __metadata:
|
||||
mkdirp: ^1.0.4
|
||||
prettier: ^2.4.1
|
||||
rimraf: ^3.0.2
|
||||
rollup: ^2.60.0
|
||||
typescript: ^4.4.4
|
||||
rollup: ^2.60.1
|
||||
typescript: ^4.5.2
|
||||
yargs: ^17.2.1
|
||||
bin:
|
||||
polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.mjs
|
||||
@@ -2024,7 +2024,7 @@ __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: 730b0433357bf99f0ea82979995ee95ebc33d550436754c2459e2844cb6beb39643f15fceca42089c3e7715af12a2c034cb1e3bfaa9c869fbd8cbfd6f828c339
|
||||
checksum: 67e8e7cce9f573dcb2cef7dc66e50ac1332c6685feec9bb6acc0a384b7fe7073782a9102c69c5fbe3a7e1e18d0b3375b81dba543997560b1b60a0e2e7565014a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2077,12 +2077,12 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/ts@npm:^0.4.14":
|
||||
version: 0.4.14
|
||||
resolution: "@polkadot/ts@npm:0.4.14"
|
||||
"@polkadot/ts@npm:^0.4.15":
|
||||
version: 0.4.15
|
||||
resolution: "@polkadot/ts@npm:0.4.15"
|
||||
dependencies:
|
||||
"@types/chrome": ^0.0.164
|
||||
checksum: 03b024e0c6fe178dcbd98dfad9c86689e5cbb6640b25b32888a22d5cfd83fbc8a0e56830729763650baa433c1915d30d23d68b135d8d63f457825cbbd0d99eeb
|
||||
checksum: 4d5914e80cfb547e2b0f24abc08715cc742fce8280d5ae415b1b7d938cfad9ad4e63d46bd678d43fafb3d50dd711c14d4f6063b435664840be1c6ed44710320d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2091,7 +2091,7 @@ __metadata:
|
||||
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.16.3
|
||||
"@noble/hashes": ^0.4.1
|
||||
"@noble/hashes": 0.4.1
|
||||
"@polkadot/networks": 7.9.3-18
|
||||
"@polkadot/util": 7.9.3-18
|
||||
"@polkadot/wasm-crypto": ^4.4.1
|
||||
@@ -2103,6 +2103,7 @@ __metadata:
|
||||
ed2curve: ^0.3.0
|
||||
elliptic: ^6.5.4
|
||||
micro-base: ^0.9.0
|
||||
patch-package: ^6.4.7
|
||||
tweetnacl: ^1.0.3
|
||||
peerDependencies:
|
||||
"@polkadot/util": 7.9.3-18
|
||||
@@ -2802,6 +2803,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/lockfile@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "@yarnpkg/lockfile@npm:1.1.0"
|
||||
checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zondax/ledger-substrate@npm:^0.18.0":
|
||||
version: 0.18.0
|
||||
resolution: "@zondax/ledger-substrate@npm:0.18.0"
|
||||
@@ -2867,12 +2875,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"acorn@npm:^8.2.4, acorn@npm:^8.5.0":
|
||||
version: 8.5.0
|
||||
resolution: "acorn@npm:8.5.0"
|
||||
"acorn@npm:^8.2.4, acorn@npm:^8.6.0":
|
||||
version: 8.6.0
|
||||
resolution: "acorn@npm:8.6.0"
|
||||
bin:
|
||||
acorn: bin/acorn
|
||||
checksum: 2e4c1dbed3da327684863debf31d341bf8882c6893c506653872c00977eee45675feb9129255d6c74c88424d2b20d889ca6de5b39776e5e3cccfc756b3ca1da8
|
||||
checksum: 9d0de73b73cb6ea8ccd8263a8144d9e2c4b6af90ea0c429997538af0ebbe83c5addecee814b2a7f91f7f615d0bd1547cc7137b3fa236ce058adc64feccee850b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3276,17 +3284,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"babel-plugin-styled-components@npm:^1.13.3":
|
||||
version: 1.13.3
|
||||
resolution: "babel-plugin-styled-components@npm:1.13.3"
|
||||
"babel-plugin-styled-components@npm:^2.0.1":
|
||||
version: 2.0.1
|
||||
resolution: "babel-plugin-styled-components@npm:2.0.1"
|
||||
dependencies:
|
||||
"@babel/helper-annotate-as-pure": ^7.15.4
|
||||
"@babel/helper-module-imports": ^7.15.4
|
||||
"@babel/helper-annotate-as-pure": ^7.16.0
|
||||
"@babel/helper-module-imports": ^7.16.0
|
||||
babel-plugin-syntax-jsx: ^6.18.0
|
||||
lodash: ^4.17.11
|
||||
peerDependencies:
|
||||
styled-components: ">= 2"
|
||||
checksum: 265520afd1c1e6633cd796446725b57f3d9eac6abb1d506c0399c34792f6f8a954865c2908cb24703fdf6c06aab8136e2a5098c53a0c7fb744bbdceaf3d5081b
|
||||
checksum: 0b0e57fd3fd997a1a2a83d8b109213c9160f59200246d780417184edc0808a8ca38da92bffeeac5b9a903f97f147c023c7942dd1bf4a6e4e069f1bbcb1ccfda9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4057,6 +4065,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cross-spawn@npm:^6.0.5":
|
||||
version: 6.0.5
|
||||
resolution: "cross-spawn@npm:6.0.5"
|
||||
dependencies:
|
||||
nice-try: ^1.0.4
|
||||
path-key: ^2.0.1
|
||||
semver: ^5.5.0
|
||||
shebang-command: ^1.2.0
|
||||
which: ^1.2.9
|
||||
checksum: f893bb0d96cd3d5751d04e67145bdddf25f99449531a72e82dcbbd42796bbc8268c1076c6b3ea51d4d455839902804b94bc45dfb37ecbb32ea8e54a6741c3ab9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
|
||||
version: 7.0.3
|
||||
resolution: "cross-spawn@npm:7.0.3"
|
||||
@@ -4869,9 +4890,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-react@npm:^7.27.0":
|
||||
version: 7.27.0
|
||||
resolution: "eslint-plugin-react@npm:7.27.0"
|
||||
"eslint-plugin-react@npm:^7.27.1":
|
||||
version: 7.27.1
|
||||
resolution: "eslint-plugin-react@npm:7.27.1"
|
||||
dependencies:
|
||||
array-includes: ^3.1.4
|
||||
array.prototype.flatmap: ^1.2.5
|
||||
@@ -4889,7 +4910,7 @@ __metadata:
|
||||
string.prototype.matchall: ^4.0.6
|
||||
peerDependencies:
|
||||
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
|
||||
checksum: 47d75e003898129a56ca2416d3aa038b4c4a752df3edf71174c3017788eb8b83d786091fc6c3702abf870a2abe5d25cc367d5aa7c1417153cf5b5b707aec6446
|
||||
checksum: db1ce303b597ede0bc8873d3f575b05873b06a058162c80f76604c9096eee8f72f299d7f849a86ac2e59f269c196575e6bcfb1ef9d7cbb23f533d081bcc15ea0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4923,13 +4944,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-scope@npm:^6.0.0":
|
||||
version: 6.0.0
|
||||
resolution: "eslint-scope@npm:6.0.0"
|
||||
"eslint-scope@npm:^7.1.0":
|
||||
version: 7.1.0
|
||||
resolution: "eslint-scope@npm:7.1.0"
|
||||
dependencies:
|
||||
esrecurse: ^4.3.0
|
||||
estraverse: ^5.2.0
|
||||
checksum: 3f1b3578f288c3820f68ad2aae102300e546be8a98a958f515405dc20cc2fe64fda583d364977628bb14fe3d4f96f37de5e9bc5d6eb26bc310da33ba2a677dc3
|
||||
checksum: 2070470a0725438ed47075b2574a4c03cf59aa32648da8cff9e3548c84f6b0079cfdb9ee1dd7ab0bfe97011f64b2af5bfd4b69cf14a1292130dec661eec7914a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4967,16 +4988,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-visitor-keys@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "eslint-visitor-keys@npm:3.0.0"
|
||||
checksum: 352607f367a2e0e2f9f234e40d6d9b34c39399345b8a9f204e1343749ddfae505d8343909cba6c4abc2ca03add4cdc0530af5e98f870ad7183fc2a89458669e5
|
||||
"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "eslint-visitor-keys@npm:3.1.0"
|
||||
checksum: fd2d613bb315bc549068ca97771d868437fb60c8f13ef8d6d54669773ff53f814b759fa9e57966f15e4c50a5f5e11c6ba47060b8f201f9776311f6c5d5c11b70
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint@npm:8.2.0, eslint@npm:^8.2.0":
|
||||
version: 8.2.0
|
||||
resolution: "eslint@npm:8.2.0"
|
||||
"eslint@npm:8.3.0, eslint@npm:^8.3.0":
|
||||
version: 8.3.0
|
||||
resolution: "eslint@npm:8.3.0"
|
||||
dependencies:
|
||||
"@eslint/eslintrc": ^1.0.4
|
||||
"@humanwhocodes/config-array": ^0.6.0
|
||||
@@ -4987,10 +5008,10 @@ __metadata:
|
||||
doctrine: ^3.0.0
|
||||
enquirer: ^2.3.5
|
||||
escape-string-regexp: ^4.0.0
|
||||
eslint-scope: ^6.0.0
|
||||
eslint-scope: ^7.1.0
|
||||
eslint-utils: ^3.0.0
|
||||
eslint-visitor-keys: ^3.0.0
|
||||
espree: ^9.0.0
|
||||
eslint-visitor-keys: ^3.1.0
|
||||
espree: ^9.1.0
|
||||
esquery: ^1.4.0
|
||||
esutils: ^2.0.2
|
||||
fast-deep-equal: ^3.1.3
|
||||
@@ -5018,18 +5039,18 @@ __metadata:
|
||||
v8-compile-cache: ^2.0.3
|
||||
bin:
|
||||
eslint: bin/eslint.js
|
||||
checksum: 19f2f4e23bdd1d0f1c99759adb88c0bf01908ce5bd480913ca7b5d3183f4c42d93142ada699b196e228295c074254ad90a3475126784673bd1afeb22e91ceea8
|
||||
checksum: c0338471fc787384077b132fb1496f264a4d7ed032b9072b2f6b8b1c833edc89b0a4890080576781ce6101a2700341af413ecbf1b66f0780aa02601c40fb2008
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"espree@npm:^9.0.0":
|
||||
version: 9.0.0
|
||||
resolution: "espree@npm:9.0.0"
|
||||
"espree@npm:^9.0.0, espree@npm:^9.1.0":
|
||||
version: 9.1.0
|
||||
resolution: "espree@npm:9.1.0"
|
||||
dependencies:
|
||||
acorn: ^8.5.0
|
||||
acorn: ^8.6.0
|
||||
acorn-jsx: ^5.3.1
|
||||
eslint-visitor-keys: ^3.0.0
|
||||
checksum: f313c642e35587ce62a419f57ceea47937a719b084c7b31f649d2ca15ed92bc2dde58e2ac4fc381a74364b0db0b97d9cdb2a5d1ca0ccd7483bde9b4b04fe23e8
|
||||
eslint-visitor-keys: ^3.1.0
|
||||
checksum: ba9b0f759c49c19a098e0bb97f3b9b05441a60dec3f868bc412ae300e00ba20cb0bd2c6a1bdd6c4f0056e6382650bf45b4982d81e67ad0210c1c16b336f73c39
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -5391,6 +5412,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"find-yarn-workspace-root@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "find-yarn-workspace-root@npm:2.0.0"
|
||||
dependencies:
|
||||
micromatch: ^4.0.2
|
||||
checksum: fa5ca8f9d08fe7a54ce7c0a5931ff9b7e36f9ee7b9475fb13752bcea80ec6b5f180fa5102d60b376d5526ce924ea3fc6b19301262efa0a5d248dd710f3644242
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"flat-cache@npm:^3.0.4":
|
||||
version: 3.0.4
|
||||
resolution: "flat-cache@npm:3.0.4"
|
||||
@@ -5462,6 +5492,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fs-extra@npm:^7.0.1":
|
||||
version: 7.0.1
|
||||
resolution: "fs-extra@npm:7.0.1"
|
||||
dependencies:
|
||||
graceful-fs: ^4.1.2
|
||||
jsonfile: ^4.0.0
|
||||
universalify: ^0.1.0
|
||||
checksum: 141b9dccb23b66a66cefdd81f4cda959ff89282b1d721b98cea19ba08db3dcbe6f862f28841f3cf24bb299e0b7e6c42303908f65093cb7e201708e86ea5a8dcf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fs-extra@npm:^8.1.0":
|
||||
version: 8.1.0
|
||||
resolution: "fs-extra@npm:8.1.0"
|
||||
@@ -5877,10 +5918,10 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4":
|
||||
version: 4.2.4
|
||||
resolution: "graceful-fs@npm:4.2.4"
|
||||
checksum: 9d58c444eb4f391ce30b451aae8a8af2bd675d9f6f624719e97306f571ab89b2bd2b5f9025199bc63a2edfe2e53e7701554012f32a708148d53aa689163728cc
|
||||
"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4":
|
||||
version: 4.2.8
|
||||
resolution: "graceful-fs@npm:4.2.8"
|
||||
checksum: 5d224c8969ad0581d551dfabdb06882706b31af2561bd5e2034b4097e67cc27d05232849b8643866585fd0a41c7af152950f8776f4dd5579e9853733f31461c6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -6287,6 +6328,15 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-docker@npm:^2.0.0":
|
||||
version: 2.2.1
|
||||
resolution: "is-docker@npm:2.2.1"
|
||||
bin:
|
||||
is-docker: cli.js
|
||||
checksum: 3fef7ddbf0be25958e8991ad941901bf5922ab2753c46980b60b05c1bf9c9c2402d35e6dc32e4380b980ef5e1970a5d9d5e5aa2e02d77727c3b6b5e918474c56
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-extglob@npm:^2.1.1":
|
||||
version: 2.1.1
|
||||
resolution: "is-extglob@npm:2.1.1"
|
||||
@@ -6538,6 +6588,15 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-wsl@npm:^2.1.1":
|
||||
version: 2.2.0
|
||||
resolution: "is-wsl@npm:2.2.0"
|
||||
dependencies:
|
||||
is-docker: ^2.0.0
|
||||
checksum: 20849846ae414997d290b75e16868e5261e86ff5047f104027026fd61d8b5a9b0b3ade16239f35e1a067b3c7cc02f70183cb661010ed16f4b6c7c93dad1b19d8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-yarn-global@npm:^0.3.0":
|
||||
version: 0.3.0
|
||||
resolution: "is-yarn-global@npm:0.3.0"
|
||||
@@ -7349,6 +7408,15 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"klaw-sync@npm:^6.0.0":
|
||||
version: 6.0.0
|
||||
resolution: "klaw-sync@npm:6.0.0"
|
||||
dependencies:
|
||||
graceful-fs: ^4.1.11
|
||||
checksum: 0da397f8961313c3ef8f79fb63af9002cde5a8fb2aeb1a37351feff0dd6006129c790400c3f5c3b4e757bedcabb13d21ec0a5eaef5a593d59515d4f2c291e475
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"kleur@npm:^3.0.3":
|
||||
version: 3.0.3
|
||||
resolution: "kleur@npm:3.0.3"
|
||||
@@ -7886,6 +7954,13 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"nice-try@npm:^1.0.4":
|
||||
version: 1.0.5
|
||||
resolution: "nice-try@npm:1.0.5"
|
||||
checksum: 0b4af3b5bb5d86c289f7a026303d192a7eb4417231fe47245c460baeabae7277bcd8fd9c728fb6bd62c30b3e15cd6620373e2cf33353b095d8b403d3e8a15aff
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-abi@npm:^2.21.0":
|
||||
version: 2.30.1
|
||||
resolution: "node-abi@npm:2.30.1"
|
||||
@@ -8149,6 +8224,16 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"open@npm:^7.4.2":
|
||||
version: 7.4.2
|
||||
resolution: "open@npm:7.4.2"
|
||||
dependencies:
|
||||
is-docker: ^2.0.0
|
||||
is-wsl: ^2.1.1
|
||||
checksum: 3333900ec0e420d64c23b831bc3467e57031461d843c801f569b2204a1acc3cd7b3ec3c7897afc9dde86491dfa289708eb92bba164093d8bd88fb2c231843c91
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"optionator@npm:^0.8.1":
|
||||
version: 0.8.3
|
||||
resolution: "optionator@npm:0.8.3"
|
||||
@@ -8330,6 +8415,29 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"patch-package@npm:^6.4.7":
|
||||
version: 6.4.7
|
||||
resolution: "patch-package@npm:6.4.7"
|
||||
dependencies:
|
||||
"@yarnpkg/lockfile": ^1.1.0
|
||||
chalk: ^2.4.2
|
||||
cross-spawn: ^6.0.5
|
||||
find-yarn-workspace-root: ^2.0.0
|
||||
fs-extra: ^7.0.1
|
||||
is-ci: ^2.0.0
|
||||
klaw-sync: ^6.0.0
|
||||
minimist: ^1.2.0
|
||||
open: ^7.4.2
|
||||
rimraf: ^2.6.3
|
||||
semver: ^5.6.0
|
||||
slash: ^2.0.0
|
||||
tmp: ^0.0.33
|
||||
bin:
|
||||
patch-package: index.js
|
||||
checksum: f36d5324da3b69ee635e7cd2c68f4d3dd89dc91d60ffdaad3b602fd953277f4da901c91033683bf6ff31c14799bc049849af3a389455c25d0435fe9cfb0d4088
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-exists@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "path-exists@npm:3.0.0"
|
||||
@@ -8351,6 +8459,13 @@ fsevents@~2.1.2:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-key@npm:^2.0.1":
|
||||
version: 2.0.1
|
||||
resolution: "path-key@npm:2.0.1"
|
||||
checksum: f7ab0ad42fe3fb8c7f11d0c4f849871e28fbd8e1add65c370e422512fc5887097b9cf34d09c1747d45c942a8c1e26468d6356e2df3f740bf177ab8ca7301ebfd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-key@npm:^3.0.0, path-key@npm:^3.1.0":
|
||||
version: 3.1.1
|
||||
resolution: "path-key@npm:3.1.1"
|
||||
@@ -9114,6 +9229,17 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rimraf@npm:^2.6.3":
|
||||
version: 2.7.1
|
||||
resolution: "rimraf@npm:2.7.1"
|
||||
dependencies:
|
||||
glob: ^7.1.3
|
||||
bin:
|
||||
rimraf: ./bin.js
|
||||
checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2":
|
||||
version: 3.0.2
|
||||
resolution: "rimraf@npm:3.0.2"
|
||||
@@ -9135,9 +9261,9 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rollup@npm:^2.60.0":
|
||||
version: 2.60.0
|
||||
resolution: "rollup@npm:2.60.0"
|
||||
"rollup@npm:^2.60.1":
|
||||
version: 2.60.1
|
||||
resolution: "rollup@npm:2.60.1"
|
||||
dependencies:
|
||||
fsevents: ~2.3.2
|
||||
dependenciesMeta:
|
||||
@@ -9145,7 +9271,7 @@ resolve@^2.0.0-next.3:
|
||||
optional: true
|
||||
bin:
|
||||
rollup: dist/bin/rollup
|
||||
checksum: ef267b49a203f3db86d6db8c63de8737d6e3995d988dadf35c1922964c21cafbb95990543cfc716356d31bf6ca3975e58d9195df85b28721ecdc9acd3693acca
|
||||
checksum: 77d7980bd5e619075c7cc67ccbe63263c4e98bd4cc41d4d77d5d4b743cb954adc81d348e38049546645651e2d0e73feeafdcac4474bd8ea333bf5cb882f0bc0c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9154,9 +9280,10 @@ resolve@^2.0.0-next.3:
|
||||
resolution: "root-workspace-0b6124@workspace:."
|
||||
dependencies:
|
||||
"@babel/core": ^7.16.0
|
||||
"@polkadot/dev": ^0.63.30
|
||||
"@polkadot/ts": ^0.4.14
|
||||
"@polkadot/dev": ^0.63.33
|
||||
"@polkadot/ts": ^0.4.15
|
||||
"@types/jest": ^27.0.3
|
||||
patch-package: ^6.4.7
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -9242,7 +9369,7 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"semver@npm:^5.4.1, semver@npm:^5.6.0":
|
||||
"semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0":
|
||||
version: 5.7.1
|
||||
resolution: "semver@npm:5.7.1"
|
||||
bin:
|
||||
@@ -9299,6 +9426,15 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shebang-command@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "shebang-command@npm:1.2.0"
|
||||
dependencies:
|
||||
shebang-regex: ^1.0.0
|
||||
checksum: 9eed1750301e622961ba5d588af2212505e96770ec376a37ab678f965795e995ade7ed44910f5d3d3cb5e10165a1847f52d3348c64e146b8be922f7707958908
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shebang-command@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "shebang-command@npm:2.0.0"
|
||||
@@ -9308,6 +9444,13 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shebang-regex@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "shebang-regex@npm:1.0.0"
|
||||
checksum: 404c5a752cd40f94591dfd9346da40a735a05139dac890ffc229afba610854d8799aaa52f87f7e0c94c5007f2c6af55bdcaeb584b56691926c5eaf41dc8f1372
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shebang-regex@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "shebang-regex@npm:3.0.0"
|
||||
@@ -10461,6 +10604,17 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"which@npm:^1.2.9":
|
||||
version: 1.3.1
|
||||
resolution: "which@npm:1.3.1"
|
||||
dependencies:
|
||||
isexe: ^2.0.0
|
||||
bin:
|
||||
which: ./bin/which
|
||||
checksum: f2e185c6242244b8426c9df1510e86629192d93c1a986a7d2a591f2c24869e7ffd03d6dac07ca863b2e4c06f59a4cc9916c585b72ee9fa1aa609d0124df15e04
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"which@npm:^2.0.1, which@npm:^2.0.2":
|
||||
version: 2.0.2
|
||||
resolution: "which@npm:2.0.2"
|
||||
|
||||
Reference in New Issue
Block a user