Adjust bundle builds (crypto now working) (#1055)

This commit is contained in:
Jaco
2021-07-09 09:59:16 +02:00
committed by GitHub
parent 81811510f4
commit 4a9f0326e7
19 changed files with 213 additions and 237 deletions
+1 -1
View File
@@ -6,8 +6,8 @@
Changes:
- Allow building as a completely stand-alone browser bundle
- Remove `@polkadot/x-rxjs`, direct import from `rxjs >= 7.2.0` required
- Allow building as a completely stand-alone browser bundle (experimental)
## 6.11.1 Jul 5, 2021
+1 -4
View File
@@ -22,12 +22,9 @@
"test:mnemonicCmp": "polkadot-dev-run-test packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts",
"test:one": "polkadot-dev-run-test --runInBand"
},
"dependencies": {
"empty": "^0.10.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@polkadot/dev": "^0.62.54",
"@polkadot/dev": "^0.62.56",
"@polkadot/ts": "^0.4.4",
"@types/jest": "^26.0.24"
},
+1 -1
View File
@@ -24,7 +24,7 @@
"@babel/runtime": "^7.14.6",
"@polkadot/networks": "6.11.2-12",
"@polkadot/util": "6.11.2-12",
"@polkadot/wasm-crypto": "^4.1.1",
"@polkadot/wasm-crypto": "^4.1.2",
"@polkadot/x-randomvalues": "6.11.2-12",
"base-x": "^3.0.8",
"base64-js": "^1.5.1",
+1 -1
View File
@@ -16,5 +16,5 @@
* ```
*/
export function isBuffer (value: unknown): value is Buffer {
return Buffer.isBuffer(value);
return typeof Buffer !== 'undefined' && Buffer.isBuffer(value);
}
+3
View File
@@ -0,0 +1,3 @@
# @polkadot/x-bundle
A rollup-only package to allow for bundling of builtin dependencies
+23
View File
@@ -0,0 +1,23 @@
{
"name": "@polkadot/x-bundle",
"version": "6.11.2-12",
"type": "module",
"description": "A bundler helper",
"main": "index.js",
"sideEffects": false,
"engines": {
"node": ">=14.0.0"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"contributors": [],
"license": "Apache-2.0",
"repository": "github:polkadot-js/common",
"bugs": "https://github.com/polkadot-js/common/issues",
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-bundle#readme",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/util": "^6.11.2-12",
"buffer-es6": "^4.9.3"
}
}
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
const { BN } = require('@polkadot/util');
module.exports = BN;
+4
View File
@@ -0,0 +1,4 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
declare module 'buffer-es6';
+7
View File
@@ -0,0 +1,7 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Buffer } from 'buffer-es6';
export default Buffer;
export { Buffer };
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
const crypto = {};
export default crypto;
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
const empty = {};
export default empty;
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo';
console.error('@polkadot/x-bundle is not meant to be used directly');
+26
View File
@@ -0,0 +1,26 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Adapted from https://github.com/isaacs/inherits/blob/dbade4c47c548aa7259017eca8874d61c8aaad2b/inherits_browser.js
// The ISC License
// Copyright (c) Isaac Z. Schlueter
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/explicit-module-boundary-types
function inherits (ctor: any, superCtor: any): any {
if (superCtor) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-member-access
ctor.super_ = superCtor;
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-member-access
ctor.prototype = Object.create(superCtor.prototype, {
constructor: {
configurable: true,
enumerable: false,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
value: ctor,
writable: true
}
});
}
}
export default inherits;
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2021 @polkadot/x-bundle authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/x-bundle', version: '6.11.2-12' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2021 @polkadot/x-fetch authors & contributors
// Copyright 2017-2021 @polkadot/x-global authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo';
+28 -15
View File
@@ -17,26 +17,36 @@ const external = [
...pkgs
];
const entries = ['hw-ledger-transports', 'x-fetch', 'x-global', 'x-randomvalues', 'x-textdecoder', 'x-textencoder', 'x-ws'].map((p) => ({
find: `@polkadot/${p}`,
replacement: path.resolve(process.cwd(), `packages/${p}/build`)
}));
const entries = ['hw-ledger-transports', 'x-fetch', 'x-global', 'x-randomvalues', 'x-textdecoder', 'x-textencoder', 'x-ws'].reduce((all, p) => ({
...all,
[`@polkadot/${p}`]: path.resolve(process.cwd(), `packages/${p}/build`)
}), {});
const overrides = {
'@polkadot/hw-ledger': {
// these are all in the un-shakable and unused hdDerivation stuff from the Zondax libs, ignore
entries: ['bip39', 'hash.js', 'bip32-ed25519', 'bs58', 'blakejs'].map((find) => ({
find,
replacement: path.resolve(process.cwd(), 'node_modules/empty/object.js')
}))
entries: {
'bip32-ed25519': path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js'),
bip39: path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js'),
blakejs: path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js'),
bs58: path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js'),
events: path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js'),
'hash.js': path.resolve(process.cwd(), 'packages/x-bundle/build/empty.js')
}
},
'@polkadot/util-crypto': {
entries: [
{
find: '@polkadot/wasm-crypto',
replacement: path.resolve(process.cwd(), 'node_modules/@polkadot/wasm-crypto/bundle.js')
}
]
entries: {
'@polkadot/wasm-crypto': path.resolve(process.cwd(), 'node_modules/@polkadot/wasm-crypto/bundle.js'),
'bn.js': path.resolve(process.cwd(), 'packages/x-bundle/build/bn.cjs'),
buffer: path.resolve(process.cwd(), 'packages/x-bundle/build/buffer.js'),
crypto: path.resolve(process.cwd(), 'packages/x-bundle/build/crypto.js')
},
inject: {
Buffer: path.resolve(process.cwd(), 'packages/x-bundle/build/buffer.js'),
crypto: path.resolve(process.cwd(), 'packages/x-bundle/build/crypto.js'),
inherits: path.resolve(process.cwd(), 'packages/x-bundle/build/inherits.js')
},
polyfill: false
}
};
@@ -47,6 +57,9 @@ export default pkgs.map((pkg) => {
external,
pkg,
...override,
entries: entries.concat(...(override.entries || []))
entries: {
...entries,
...(override.entries || {})
}
});
});
+44
View File
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style></style>
</head>
<body>
Executing bundle tests, see the dev console for output ...
<script>
function log (label, result) {
label.startsWith('*')
? console.log(label)
: console.log(label.padStart(24), '=', result);
}
</script>
<script src="packages/util/build/bundle-polkadot-util.js"></script>
<script>
log('*** polkadotUtil');
log('u8aToHex', polkadotUtil.u8aToHex(new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8])));
log('bnToBn', polkadotUtil.bnToBn(123).addn(1).toString());
</script>
<script src="packages/networks/build/bundle-polkadot-networks.js"></script>
<script>
log('*** polkadotNetworks');
log('available', polkadotNetworks.available.map(({ displayName }) => displayName).join('; '));
</script>
<script src="packages/util-crypto/build/bundle-polkadot-util-crypto.js"></script>
<script>
log('*** polkadotUtilCrypto');
log('blake2AsHex', polkadotUtilCrypto.blake2AsHex(new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8])));
log('blake2AsHex (js)', polkadotUtilCrypto.blake2AsHex(new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]), 256, null, true));
</script>
<script src="packages/keyring/build/bundle-polkadot-keyring.js"></script>
<script>
log('*** polkadotKeyring');
const keyring = new polkadotKeyring.Keyring();
const alice = keyring.addFromUri('//Alice');
log('alice.address', alice.address);
</script>
</body>
</html>
+1
View File
@@ -19,6 +19,7 @@
"@polkadot/util-crypto/*": [ "packages/util-crypto/src/*" ],
"@polkadot/util": [ "packages/util/src" ],
"@polkadot/util/*": [ "packages/util/src/*" ],
"@polkadot/x-bundle/*": [ "packages/x-bundle/src/*" ],
"@polkadot/x-fetch": [ "packages/x-fetch/src/browser" ],
"@polkadot/x-global": [ "packages/x-global/src" ],
"@polkadot/x-randomvalues": [ "packages/x-randomvalues/src/browser" ],
+42 -214
View File
@@ -1952,9 +1952,9 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.62.54":
version: 0.62.54
resolution: "@polkadot/dev@npm:0.62.54"
"@polkadot/dev@npm:^0.62.56":
version: 0.62.56
resolution: "@polkadot/dev@npm:0.62.56"
dependencies:
"@babel/cli": ^7.14.5
"@babel/core": ^7.14.6
@@ -2042,7 +2042,7 @@ __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: fd36c929cfec2ca6adca28d0cc47c495d7404923b46e77dda403343fb652793324517868139d5d8e65f3a05a18aece2f88874f350e4d6eaf57e310a2a6e49746
checksum: dfd8d2a404224108d241162e352bbe4bd75af7bf29a530a280de58ac4177b4ad3b500e1b8afbb9f236e906a61f91634064543b4315f630fe9216788aa3d59cd5
languageName: node
linkType: hard
@@ -2111,7 +2111,7 @@ __metadata:
"@babel/runtime": ^7.14.6
"@polkadot/networks": 6.11.2-12
"@polkadot/util": 6.11.2-12
"@polkadot/wasm-crypto": ^4.1.1
"@polkadot/wasm-crypto": ^4.1.2
"@polkadot/x-randomvalues": 6.11.2-12
"@types/bn.js": ^4.11.6
"@types/create-hash": ^1.2.2
@@ -2148,38 +2148,48 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/wasm-crypto-asmjs@npm:^4.1.1":
version: 4.1.1
resolution: "@polkadot/wasm-crypto-asmjs@npm:4.1.1"
"@polkadot/wasm-crypto-asmjs@npm:^4.1.2":
version: 4.1.2
resolution: "@polkadot/wasm-crypto-asmjs@npm:4.1.2"
dependencies:
"@babel/runtime": ^7.14.6
checksum: e1c2d201af398fe179f685f3a33537c2bc5539fc84226c7fba768ce47f291fb196821a0cbc3791c8f1505db9ffcbe8172f51c19894463c6193895f3265b73e7e
checksum: 47aedf0e6188264e5cd9e9e735b9f0bd9450f070c6b4149e825506354aa226c60f55bd2670b028fe53f1af1043fe968b1cb1102ff50827083941cec4d1ac6642
languageName: node
linkType: hard
"@polkadot/wasm-crypto-wasm@npm:^4.1.1":
version: 4.1.1
resolution: "@polkadot/wasm-crypto-wasm@npm:4.1.1"
"@polkadot/wasm-crypto-wasm@npm:^4.1.2":
version: 4.1.2
resolution: "@polkadot/wasm-crypto-wasm@npm:4.1.2"
dependencies:
"@babel/runtime": ^7.14.6
checksum: be2f41b24ed013b1786bdb35fcdbed6a9534d50ce3fb7235d8f336e51aa1b601d2c3e60bdd2ca66943e5083a05e93f873bc7019e2b3d9211b4cb8ed1311e21d7
checksum: 6b3321805c592e8a26db28f8fe2c0fe85a1834b2babc6a695d5755d4c216ec51e24a717d84d94437caf89ebd3742772082f33959a5d51a8ae6c9305d21cfd768
languageName: node
linkType: hard
"@polkadot/wasm-crypto@npm:^4.1.1":
version: 4.1.1
resolution: "@polkadot/wasm-crypto@npm:4.1.1"
"@polkadot/wasm-crypto@npm:^4.1.2":
version: 4.1.2
resolution: "@polkadot/wasm-crypto@npm:4.1.2"
dependencies:
"@babel/runtime": ^7.14.6
"@polkadot/wasm-crypto-asmjs": ^4.1.1
"@polkadot/wasm-crypto-wasm": ^4.1.1
"@polkadot/wasm-crypto-asmjs": ^4.1.2
"@polkadot/wasm-crypto-wasm": ^4.1.2
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 1eb876d3a0bba120eeb13347cb9a756eeb5a6f11ba542d6d3bb469b06c2a1b6d70e661a5d5f588c48d390c109b4a40d3df6508a09a211a516a92a9a15f01a384
checksum: b40a6324af26b7a89d61338d568452b383e9159d38796d0790d45ff9783b78e75c7528c6d40dc274d1d2eaf2fac3621905d60a643a575f8b7419d05c9c43a1c3
languageName: node
linkType: hard
"@polkadot/x-bundle@workspace:packages/x-bundle":
version: 0.0.0-use.local
resolution: "@polkadot/x-bundle@workspace:packages/x-bundle"
dependencies:
"@babel/runtime": ^7.14.6
"@polkadot/util": ^6.11.2-12
buffer-es6: ^4.9.3
languageName: unknown
linkType: soft
"@polkadot/x-fetch@6.11.2-12, @polkadot/x-fetch@workspace:packages/x-fetch":
version: 0.0.0-use.local
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
@@ -2865,15 +2875,6 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:^5.2.1":
version: 5.7.4
resolution: "acorn@npm:5.7.4"
bin:
acorn: bin/acorn
checksum: f51392a4d25c7705fadb890f784c59cde4ac1c5452ccd569fa59bd2191b7951b4a6398348ab7ea08a54f0bc0a56c13776710f4e1bae9de441e4d33e2015ad1e0
languageName: node
linkType: hard
"acorn@npm:^7.1.1, acorn@npm:^7.4.0":
version: 7.4.1
resolution: "acorn@npm:7.4.1"
@@ -2925,13 +2926,6 @@ __metadata:
languageName: node
linkType: hard
"amdefine@npm:>=0.0.4":
version: 1.0.1
resolution: "amdefine@npm:1.0.1"
checksum: 9d4e15b94641643a9385b2841b4cb2bcf4e8e2f741ea4bd475c93ad7bab261ad4ed827a32e9c549b38b98759c4526c173ae4e6dde8caeb75ee5cebedc9863762
languageName: node
linkType: hard
"ansi-align@npm:^3.0.0":
version: 3.0.0
resolution: "ansi-align@npm:3.0.0"
@@ -3198,13 +3192,6 @@ __metadata:
languageName: node
linkType: hard
"ast-types@npm:0.9.6":
version: 0.9.6
resolution: "ast-types@npm:0.9.6"
checksum: 6b75831c192963453eaeaedaa9db41823cd964bfb9c40ad8da6e978393dd66611f8cc4f778ecabce6a4a9b44a04c83b2571d98fcb561b87596d7b2ea796447db
languageName: node
linkType: hard
"astral-regex@npm:^2.0.0":
version: 2.0.0
resolution: "astral-regex@npm:2.0.0"
@@ -3444,13 +3431,6 @@ __metadata:
languageName: node
linkType: hard
"base62@npm:^1.1.0":
version: 1.2.8
resolution: "base62@npm:1.2.8"
checksum: bfad0f60d300f8166c2c392f28273449aed451d4e7d99ce28f14605833a3220d6a7943366474b2dc1d5a9ff579846e60bb22d56b88358c2ac1a9a04f388760ed
languageName: node
linkType: hard
"base64-js@npm:^1.3.1, base64-js@npm:^1.5.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
@@ -3700,6 +3680,13 @@ __metadata:
languageName: node
linkType: hard
"buffer-es6@npm:^4.9.3":
version: 4.9.3
resolution: "buffer-es6@npm:4.9.3"
checksum: dfc8ebb3c5c00166e6f81e6ec7ea876693ea6197a8d0b07b1a17482ffab0e5d3307bfb539f84862b1ae35cd70ad03835db0f3c7dc4e337cbd16c50bb4c7e5df7
languageName: node
linkType: hard
"buffer-from@npm:^1.0.0":
version: 1.1.1
resolution: "buffer-from@npm:1.1.1"
@@ -4091,7 +4078,7 @@ __metadata:
languageName: node
linkType: hard
"commander@npm:^2.16.0, commander@npm:^2.18.0, commander@npm:^2.20.3, commander@npm:^2.5.0, commander@npm:^2.8.1":
"commander@npm:^2.16.0, commander@npm:^2.18.0, commander@npm:^2.20.3, commander@npm:^2.8.1":
version: 2.20.3
resolution: "commander@npm:2.20.3"
checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e
@@ -4119,25 +4106,6 @@ __metadata:
languageName: node
linkType: hard
"commoner@npm:^0.10.1":
version: 0.10.8
resolution: "commoner@npm:0.10.8"
dependencies:
commander: ^2.5.0
detective: ^4.3.1
glob: ^5.0.15
graceful-fs: ^4.1.2
iconv-lite: ^0.4.5
mkdirp: ^0.5.0
private: ^0.1.6
q: ^1.1.2
recast: ^0.11.17
bin:
commonize: ./bin/commonize
checksum: 26104e3028a2f799421a59508b50d267f2eda580d1021d24a69acfe4d2a276e881c81991959c580f87330425fa38a7c205cddacacbb1826690d17d211f53f449
languageName: node
linkType: hard
"component-emitter@npm:^1.2.1":
version: 1.3.0
resolution: "component-emitter@npm:1.3.0"
@@ -4512,13 +4480,6 @@ __metadata:
languageName: node
linkType: hard
"defined@npm:^1.0.0":
version: 1.0.0
resolution: "defined@npm:1.0.0"
checksum: 77672997c5001773371c4dbcce98da0b3dc43089d6da2ad87c4b800adb727633cea8723ea3889fe0c2112a2404e2fd07e3bfd0e55f7426aa6441d8992045dbd5
languageName: node
linkType: hard
"delayed-stream@npm:~1.0.0":
version: 1.0.0
resolution: "delayed-stream@npm:1.0.0"
@@ -4687,16 +4648,6 @@ __metadata:
languageName: node
linkType: hard
"detective@npm:^4.3.1":
version: 4.7.1
resolution: "detective@npm:4.7.1"
dependencies:
acorn: ^5.2.1
defined: ^1.0.0
checksum: 87531cb2f2f07feed75b68aa4d6f08ff46adef4e3b332cbff81a13256a298ab83cec7ff9b84f4c1cf532d4def58472cb3e75a31e2c0e19c3915582437bc29b86
languageName: node
linkType: hard
"diff-sequences@npm:^26.6.2":
version: 26.6.2
resolution: "diff-sequences@npm:26.6.2"
@@ -4835,15 +4786,6 @@ __metadata:
languageName: node
linkType: hard
"empty@npm:^0.10.1":
version: 0.10.1
resolution: "empty@npm:0.10.1"
dependencies:
envify: ^3.4.0
checksum: add4304ed25c87e92fe750c171a4f4e0c9b063bd8b577bdefd9e1ee6241ec23b776c8e0a18d97eb558ed820dc38d9a71158a3d7375564b810489761942e83ef1
languageName: node
linkType: hard
"end-of-stream@npm:^1.1.0, end-of-stream@npm:^1.4.1":
version: 1.4.4
resolution: "end-of-stream@npm:1.4.4"
@@ -4879,18 +4821,6 @@ __metadata:
languageName: node
linkType: hard
"envify@npm:^3.4.0":
version: 3.4.1
resolution: "envify@npm:3.4.1"
dependencies:
jstransform: ^11.0.3
through: ~2.3.4
bin:
envify: bin/envify
checksum: a4fb63291b1cca6c5b161ffd7f0d294a97d3de7150031ab79e45e57f958c031753a963063cc9bc9177f5604b1adc217297fe455b0cfada7673ec82fecb5f803f
languageName: node
linkType: hard
"error-ex@npm:^1.3.1":
version: 1.3.2
resolution: "error-ex@npm:1.3.2"
@@ -5299,16 +5229,6 @@ __metadata:
languageName: node
linkType: hard
"esprima-fb@npm:^15001.1.0-dev-harmony-fb":
version: 15001.1.0-dev-harmony-fb
resolution: "esprima-fb@npm:15001.1.0-dev-harmony-fb"
bin:
esparse: ./bin/esparse.js
esvalidate: ./bin/esvalidate.js
checksum: dc5ffe9af81632df7383164a9dccddb5d86cf8732527f87b3caf964ed568168c0d747133cdda1926badbb2c92b9ad8c7c9113e75ab04f3a5fc3ab15a78db0960
languageName: node
linkType: hard
"esprima@npm:4.0.1, esprima@npm:^4.0.0, esprima@npm:^4.0.1":
version: 4.0.1
resolution: "esprima@npm:4.0.1"
@@ -5319,16 +5239,6 @@ __metadata:
languageName: node
linkType: hard
"esprima@npm:~3.1.0":
version: 3.1.3
resolution: "esprima@npm:3.1.3"
bin:
esparse: ./bin/esparse.js
esvalidate: ./bin/esvalidate.js
checksum: 2771c059aa61f2b2fe9d898f11c737c45c26eae6052908f1e2b8bd91c6a440607420f2679cbfd6cbb79f2fa502b37a3053048d287bcd30ea582d46c969fcf67e
languageName: node
linkType: hard
"esquery@npm:^1.4.0":
version: 1.4.0
resolution: "esquery@npm:1.4.0"
@@ -6116,19 +6026,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"glob@npm:^5.0.15":
version: 5.0.15
resolution: "glob@npm:5.0.15"
dependencies:
inflight: ^1.0.4
inherits: 2
minimatch: 2 || 3
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: f9742448303460672607e569457f1b57e486a79a985e269b69465834d2075b243378225f65dc54c09fcd4b75e4fb34442aec88f33f8c65fa4abccc8ee2dc2f5d
languageName: node
linkType: hard
"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7":
version: 7.1.7
resolution: "glob@npm:7.1.7"
@@ -6456,7 +6353,7 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24, iconv-lite@npm:^0.4.5":
"iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24":
version: 0.4.24
resolution: "iconv-lite@npm:0.4.24"
dependencies:
@@ -7830,21 +7727,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"jstransform@npm:^11.0.3":
version: 11.0.3
resolution: "jstransform@npm:11.0.3"
dependencies:
base62: ^1.1.0
commoner: ^0.10.1
esprima-fb: ^15001.1.0-dev-harmony-fb
object-assign: ^2.0.0
source-map: ^0.4.2
bin:
jstransform: bin/jstransform
checksum: 90c3c3e7100a542c83bc4542337c2e6b5da72e450510551bfb4bdf93c20d9bbafa350cf3fe99205af0caa1a85d9bdb1ec284bee8018d06fe4ff129a467010e8c
languageName: node
linkType: hard
"jsx-ast-utils@npm:^2.4.1 || ^3.0.0":
version: 3.2.0
resolution: "jsx-ast-utils@npm:3.2.0"
@@ -8336,7 +8218,7 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"minimatch@npm:2 || 3, minimatch@npm:^3.0.4":
"minimatch@npm:^3.0.4":
version: 3.0.4
resolution: "minimatch@npm:3.0.4"
dependencies:
@@ -8388,17 +8270,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"mkdirp@npm:^0.5.0":
version: 0.5.5
resolution: "mkdirp@npm:0.5.5"
dependencies:
minimist: ^1.2.5
bin:
mkdirp: bin/cmd.js
checksum: 3bce20ea525f9477befe458ab85284b0b66c8dc3812f94155af07c827175948cdd8114852ac6c6d82009b13c1048c37f6d98743eb019651ee25c39acc8aabe7d
languageName: node
linkType: hard
"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4":
version: 1.0.4
resolution: "mkdirp@npm:1.0.4"
@@ -8723,13 +8594,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"object-assign@npm:^2.0.0":
version: 2.1.1
resolution: "object-assign@npm:2.1.1"
checksum: d37a7d7173408e07ee225116437592d92b584b2a5f38cafe608400b43efd9b78878dbd545b524aff5b4118d88e39466b9038b2d3de8885e212adad497d656c46
languageName: node
linkType: hard
"object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1":
version: 4.1.1
resolution: "object-assign@npm:4.1.1"
@@ -9421,13 +9285,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"private@npm:^0.1.6, private@npm:~0.1.5":
version: 0.1.8
resolution: "private@npm:0.1.8"
checksum: a00abd713d25389f6de7294f0e7879b8a5d09a9ec5fd81cc2f21b29d4f9a80ec53bc4222927d3a281d4aadd4cd373d9a28726fca3935921950dc75fd71d1fdbb
languageName: node
linkType: hard
"process-nextick-args@npm:~2.0.0":
version: 2.0.1
resolution: "process-nextick-args@npm:2.0.1"
@@ -9524,13 +9381,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"q@npm:^1.1.2":
version: 1.5.1
resolution: "q@npm:1.5.1"
checksum: 147baa93c805bc1200ed698bdf9c72e9e42c05f96d007e33a558b5fdfd63e5ea130e99313f28efc1783e90e6bdb4e48b67a36fcc026b7b09202437ae88a1fb12
languageName: node
linkType: hard
"qs@npm:~6.5.2":
version: 6.5.2
resolution: "qs@npm:6.5.2"
@@ -9651,18 +9501,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"recast@npm:^0.11.17":
version: 0.11.23
resolution: "recast@npm:0.11.23"
dependencies:
ast-types: 0.9.6
esprima: ~3.1.0
private: ~0.1.5
source-map: ~0.5.0
checksum: e2a6f973fa8e7f4aac6fdebd27706d67570c71d127632f15fad350a430c63b0dcdd9d7ceffad547b07114b5d28895e6fe078a287c1f8e5410c90aaa7289787ac
languageName: node
linkType: hard
"rechoir@npm:^0.6.2":
version: 0.6.2
resolution: "rechoir@npm:0.6.2"
@@ -10037,10 +9875,9 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.14.6
"@polkadot/dev": ^0.62.54
"@polkadot/dev": ^0.62.56
"@polkadot/ts": ^0.4.4
"@types/jest": ^26.0.24
empty: ^0.10.1
languageName: unknown
linkType: soft
@@ -10394,16 +10231,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"source-map@npm:^0.4.2":
version: 0.4.4
resolution: "source-map@npm:0.4.4"
dependencies:
amdefine: ">=0.0.4"
checksum: b31992fcb4a2a6c335617f187bd36f392896dfcc111830ebdb8b716923cf6554b665833b975fc998bdf3a63881b2c8b4c5c34fda0280357b8c18fe6aa5d148ea
languageName: node
linkType: hard
"source-map@npm:^0.5.0, source-map@npm:^0.5.6, source-map@npm:~0.5.0":
"source-map@npm:^0.5.0, source-map@npm:^0.5.6":
version: 0.5.7
resolution: "source-map@npm:0.5.7"
checksum: 5dc2043b93d2f194142c7f38f74a24670cd7a0063acdaf4bf01d2964b402257ae843c2a8fa822ad5b71013b5fcafa55af7421383da919752f22ff488bc553f4d
@@ -10917,7 +10745,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"through@npm:^2.3.6, through@npm:~2.3.4":
"through@npm:^2.3.6":
version: 2.3.8
resolution: "through@npm:2.3.8"
checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd