Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
370a529668 | ||
|
|
b7486f4f3b | ||
|
|
ff4a877ef9 | ||
|
|
e0f741db37 | ||
|
|
3107861322 | ||
|
|
7eff345003 | ||
|
|
00f7da2136 | ||
|
|
150a143163 | ||
|
|
f31ec881ef | ||
|
|
0b838d2055 | ||
|
|
b68aefe64d | ||
|
|
9340c296ee | ||
|
|
132ed20d18 |
+1
-1
@@ -1 +1 @@
|
||||
6.2.2
|
||||
6.2.3
|
||||
|
||||
+5
-2
@@ -1,4 +1,4 @@
|
||||
7
|
||||
8
|
||||
|
||||
3.2.2
|
||||
3.2.3
|
||||
@@ -11,4 +11,7 @@
|
||||
6.1.3
|
||||
6.1.4
|
||||
6.1.5
|
||||
6.2.2
|
||||
6.2.2
|
||||
|
||||
|
||||
6.2.3
|
||||
|
||||
+3
-1
@@ -8,7 +8,9 @@ module.exports = {
|
||||
ignorePatterns: [
|
||||
...base.ignorePatterns,
|
||||
'**/target/*',
|
||||
'**/build-wasm/*'
|
||||
'**/build-wasm/*',
|
||||
'**/deno/*.ts',
|
||||
'**/test/*.ts'
|
||||
],
|
||||
parserOptions: {
|
||||
...base.parserOptions,
|
||||
|
||||
+49
-13
@@ -1,50 +1,86 @@
|
||||
<!--
|
||||
|
||||
For general support, howto, coding and bundling questions, please use the Substrate & Polkadot StackExchange at https://substrate.stackexchange.com/ and get other ecosystem developers involved. This issues in this repository are meant for the tracking of feature requests and bug reports.
|
||||
For general support, howto, coding and bundling questions, please
|
||||
use the Substrate & Polkadot StackExchange at
|
||||
|
||||
While all issues are looked at non-bug and non-features would take quite a bit longer to get to and may yield less than satisfactory responses in this format.
|
||||
https://substrate.stackexchange.com/
|
||||
|
||||
Additionally, please ensure you have done a search on the existing and closed issues before logging a new request. This saves time on all sides.
|
||||
and get other ecosystem developers involved. This issues in this
|
||||
repository are meant for the tracking of feature requests and bug
|
||||
reports.
|
||||
|
||||
While all issues are looked at non-bug and non-features would take
|
||||
quite a bit longer to get to and may yield less than satisfactory
|
||||
responses in this format.
|
||||
|
||||
Additionally, please ensure you have done a search on the existing
|
||||
and closed issues before logging a new request. This saves time on
|
||||
all sides.
|
||||
|
||||
-->
|
||||
|
||||
|
||||
* **I'm submitting a ...**
|
||||
|
||||
<!--- Try and classify your actual report -->
|
||||
<!---
|
||||
|
||||
REQUIRED:
|
||||
|
||||
Classify the type of report your are submitting
|
||||
|
||||
-->
|
||||
|
||||
- [ ] Bug report
|
||||
- [ ] Feature request
|
||||
- [ ] Support request (please bear the comments above in mind)
|
||||
- [ ] Support request
|
||||
- [ ] Other
|
||||
|
||||
|
||||
* **What is the current behavior and expected behavior?**
|
||||
|
||||
<!--- If you're describing a bug, tell us what should happen -->
|
||||
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
||||
<!---
|
||||
|
||||
REQUIRED:
|
||||
|
||||
If you're describing a bug, tell us what should happen. If you're
|
||||
suggesting a change/improvement, tell us how it should work.
|
||||
|
||||
-->
|
||||
|
||||
|
||||
* **What is the motivation for changing the behavior?**
|
||||
|
||||
<!--- Not obligatory, but suggest a motivation for the request -->
|
||||
<!--- or ideas how to implement the addition or change -->
|
||||
<!---
|
||||
|
||||
OPTIONAL:
|
||||
|
||||
Suggest a motivation for the request or ideas how to implement the
|
||||
addition or change
|
||||
|
||||
-->
|
||||
|
||||
|
||||
* **Please tell us about your environment:**
|
||||
|
||||
<!--- Include as many relevant details about the environment you experienced the issue in -->
|
||||
<!--- Also snsure that you have tested against the latest stable releases if a bug -->
|
||||
<!---
|
||||
|
||||
REQUIRED:
|
||||
|
||||
Include as many relevant details about the environment in which you
|
||||
experienced the issue. Also ensure that you have tested against the
|
||||
latest stable releases if you believe this to be a bug
|
||||
|
||||
-->
|
||||
|
||||
- Version:
|
||||
- Environment:
|
||||
|
||||
- [ ] Node.js
|
||||
- [ ] Browser
|
||||
- [ ] Other (limited support for other environments available)
|
||||
- [ ] Other (limited support for other environments)
|
||||
|
||||
- Language:
|
||||
|
||||
- [ ] JavaScript
|
||||
- [ ] TypeScript
|
||||
- [ ] TypeScript (include tsc --version)
|
||||
- [ ] Other
|
||||
|
||||
@@ -13,7 +13,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: ${{ matrix.step }}
|
||||
if: always()
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
./scripts/install-build-deps.sh
|
||||
if [ "${{ matrix.step }}" != "lint" ]; then
|
||||
./scripts/install-build-deps.sh
|
||||
fi
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
name: deno
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
pr:
|
||||
strategy:
|
||||
matrix:
|
||||
step: ['check', 'build']
|
||||
name: ${{ matrix.step }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
YARN_ENABLE_SCRIPTS: false
|
||||
WITH_DENO: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: vx.x.x
|
||||
- name: ${{ matrix.step }}
|
||||
if: always()
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
if [ "${{ matrix.step }}" != "check" ]; then
|
||||
./scripts/install-build-deps.sh
|
||||
fi
|
||||
yarn deno:setup
|
||||
yarn deno:${{ matrix.step }}
|
||||
@@ -1,5 +1,13 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 6.2.3 Jul 7, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
- Optimize WASM init with pre-allocated buffers
|
||||
- Additional platform-specific tests
|
||||
|
||||
|
||||
## 6.2.2 Jul 4, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
450 Jaco 6.2.2 (#384)
|
||||
457 Jaco 6.2.3 (w/ dev publish fix) (#391)
|
||||
1 Evgeny Fixed type (#121)
|
||||
1 Shunfan Zhou Support sr25519 agreement (#209)
|
||||
1 Steve Degosserie Expose Schnorrkel's VRF capabilities (#170)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// Copyright 2019-2022 @polkadot/wasm authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// auto-generated via deno/setup.ts, do not edit
|
||||
|
||||
export * as wasmBridge from 'https://deno.land/x/polkadot/wasm-bridge/mod.ts';
|
||||
export * as wasmCrypto from 'https://deno.land/x/polkadot/wasm-crypto/mod.ts';
|
||||
export * as wasmCryptoAsmjs from 'https://deno.land/x/polkadot/wasm-crypto-asmjs/mod.ts';
|
||||
export * as wasmCryptoInit from 'https://deno.land/x/polkadot/wasm-crypto-init/mod.ts';
|
||||
export * as wasmCryptoWasm from 'https://deno.land/x/polkadot/wasm-crypto-wasm/mod.ts';
|
||||
export * as wasmUtil from 'https://deno.land/x/polkadot/wasm-util/mod.ts';
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"imports": {
|
||||
"crypto": "https://deno.land/std/node/crypto.ts",
|
||||
"@polkadot/util": "https://deno.land/x/polkadot/common/mod.ts",
|
||||
"https://deno.land/x/polkadot/wasm-crypto-init/": "../packages/wasm-crypto-init/build-deno/",
|
||||
"https://deno.land/x/polkadot/wasm-bridge/": "../packages/wasm-bridge/build-deno/",
|
||||
"https://deno.land/x/polkadot/wasm-crypto-wasm/": "../packages/wasm-crypto-wasm/build-deno/",
|
||||
"https://deno.land/x/polkadot/wasm-crypto/": "../packages/wasm-crypto/build-deno/",
|
||||
"https://deno.land/x/polkadot/wasm-crypto-asmjs/": "../packages/wasm-crypto-asmjs/build-deno/",
|
||||
"https://deno.land/x/polkadot/wasm-util/": "../packages/wasm-util/build-deno/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// Copyright 2019-2022 @polkadot/wasm authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
import { stringCamelCase } from 'https://deno.land/x/polkadot/util/mod.ts';
|
||||
|
||||
const exports: string[] = [];
|
||||
const imports: Record<string, string> = {
|
||||
'@polkadot/util': 'https://deno.land/x/polkadot/common/mod.ts',
|
||||
crypto: 'https://deno.land/std/node/crypto.ts'
|
||||
};
|
||||
|
||||
for await (const entry of Deno.readDir('packages')) {
|
||||
if (entry.isDirectory) {
|
||||
try {
|
||||
await Deno.readTextFile(`packages/${entry.name}/src/mod.ts`);
|
||||
|
||||
exports.push(`export * as ${stringCamelCase(entry.name)} from 'https://deno.land/x/polkadot/${entry.name}/mod.ts';`);
|
||||
|
||||
imports[`https://deno.land/x/polkadot/${entry.name}/`] = `../packages/${entry.name}/build-deno/`;
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await Deno.writeTextFile('deno/check.ts', `// Copyright 2019-${new Date().getFullYear()} @polkadot/wasm authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// auto-generated via deno/setup.ts, do not edit\n\n${exports.sort().join('\n')}\n`);
|
||||
|
||||
await Deno.writeTextFile('deno/import_map.json', `${JSON.stringify({ imports }, null, 2)}\n`);
|
||||
+6
-2
@@ -10,7 +10,7 @@
|
||||
"url": "https://github.com/polkadot-js/wasm.git"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@@ -22,9 +22,13 @@
|
||||
"build:rollup": "polkadot-exec-rollup --config",
|
||||
"build:wasm": "./scripts/build.sh",
|
||||
"clean": "./scripts/clean.sh",
|
||||
"deno:build": "yarn build",
|
||||
"deno:check": "yarn build:js && deno check --import-map=deno/import_map.json deno/check.ts",
|
||||
"deno:setup": "deno run --import-map=deno/import_map.json --allow-read --allow-write deno/setup.ts",
|
||||
"lint": "polkadot-dev-run-lint",
|
||||
"postinstall": "polkadot-dev-yarn-only",
|
||||
"test": "yarn test:wasm-crypto:rust",
|
||||
"test:wasm-crypto:deno": "deno test --allow-read --import-map=deno/import_map.json packages/wasm-crypto/test/deno.ts",
|
||||
"test:wasm-crypto:js": "yarn test:wasm-crypto:js:jest && yarn test:wasm-crypto:js:node",
|
||||
"test:wasm-crypto:js:jest": "polkadot-dev-run-test ./test/jest.spec.js",
|
||||
"test:wasm-crypto:js:node": "cd packages/wasm-crypto && node ./test/wasm.cjs && node ./test/asm.cjs",
|
||||
@@ -32,7 +36,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.18.6",
|
||||
"@polkadot/dev": "^0.67.50",
|
||||
"@polkadot/dev": "^0.67.57",
|
||||
"fflate": "^0.7.3",
|
||||
"override-require": "^1.1.1"
|
||||
},
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1",
|
||||
"@polkadot/x-randomvalues": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2",
|
||||
"@polkadot/x-randomvalues": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-bridge', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-bridge', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
@@ -20,19 +20,19 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"browser": "wasm.js",
|
||||
"main": "wasm.js",
|
||||
"react-native": "asm.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6",
|
||||
"@polkadot/wasm-bridge": "6.2.2",
|
||||
"@polkadot/wasm-crypto-asmjs": "6.2.2",
|
||||
"@polkadot/wasm-crypto-wasm": "6.2.2"
|
||||
"@polkadot/wasm-bridge": "6.2.3",
|
||||
"@polkadot/wasm-crypto-asmjs": "6.2.3",
|
||||
"@polkadot/wasm-crypto-wasm": "6.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1",
|
||||
"@polkadot/x-randomvalues": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2",
|
||||
"@polkadot/x-randomvalues": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-init', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-init', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6",
|
||||
"@polkadot/wasm-util": "6.2.2"
|
||||
"@polkadot/wasm-util": "6.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import { base64Decode, unzlibSync } from '@polkadot/wasm-util';
|
||||
|
||||
import { bytes, sizeUncompressed } from './cjs/bytes.js';
|
||||
import { bytes, lenIn, lenOut } from './cjs/bytes.js';
|
||||
|
||||
export { packageInfo } from './packageInfo';
|
||||
|
||||
@@ -16,4 +16,4 @@ export { packageInfo } from './packageInfo';
|
||||
* Upon loading the exposed bytes will be decoded and decompressed form this
|
||||
* specific format and returned.
|
||||
*/
|
||||
export const wasmBytes = unzlibSync(base64Decode(bytes), new Uint8Array(sizeUncompressed));
|
||||
export const wasmBytes = unzlibSync(base64Decode(bytes, new Uint8Array(lenIn)), new Uint8Array(lenOut));
|
||||
|
||||
+2
-2
@@ -3,6 +3,6 @@
|
||||
|
||||
export declare const bytes: string;
|
||||
|
||||
export declare const sizeCompressed: number;
|
||||
export declare const lenIn: number;
|
||||
|
||||
export declare const sizeUncompressed: number;
|
||||
export declare const lenOut: number;
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
module.exports.bytes = '';
|
||||
|
||||
module.exports.sizeCompressed = 0;
|
||||
module.exports.lenIn = 0;
|
||||
|
||||
module.exports.sizeUncompressed = 0;
|
||||
module.exports.lenOut = 0;
|
||||
|
||||
+2
-2
@@ -3,6 +3,6 @@
|
||||
|
||||
export declare const bytes: string;
|
||||
|
||||
export declare const sizeCompressed: number;
|
||||
export declare const lenIn: number;
|
||||
|
||||
export declare const sizeUncompressed: number;
|
||||
export declare const lenOut: number;
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
export const bytes = '';
|
||||
|
||||
export const sizeCompressed = 0;
|
||||
export const lenIn = 0;
|
||||
|
||||
export const sizeUncompressed = 0;
|
||||
export const lenOut = 0;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-wasm', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto-wasm', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
@@ -28,19 +28,19 @@
|
||||
"./initWasmAsm.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6",
|
||||
"@polkadot/wasm-bridge": "6.2.2",
|
||||
"@polkadot/wasm-crypto-asmjs": "6.2.2",
|
||||
"@polkadot/wasm-crypto-init": "6.2.2",
|
||||
"@polkadot/wasm-crypto-wasm": "6.2.2",
|
||||
"@polkadot/wasm-util": "6.2.2"
|
||||
"@polkadot/wasm-bridge": "6.2.3",
|
||||
"@polkadot/wasm-crypto-asmjs": "6.2.3",
|
||||
"@polkadot/wasm-crypto-init": "6.2.3",
|
||||
"@polkadot/wasm-crypto-wasm": "6.2.3",
|
||||
"@polkadot/wasm-util": "6.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1",
|
||||
"@polkadot/x-randomvalues": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2",
|
||||
"@polkadot/x-randomvalues": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-crypto', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
@@ -3,13 +3,12 @@
|
||||
|
||||
const { assert } = require('@polkadot/util');
|
||||
|
||||
const wasm = require('../../build');
|
||||
const bip39 = require('./bip39.cjs');
|
||||
const ed25519 = require('./ed25519.cjs');
|
||||
const hashing = require('./hashing.cjs');
|
||||
const secp256k1 = require('./secp256k1.cjs');
|
||||
const sr25519 = require('./sr25519.cjs');
|
||||
const vrf = require('./vrf.cjs');
|
||||
const bip39 = require('./bip39.js');
|
||||
const ed25519 = require('./ed25519.js');
|
||||
const hashing = require('./hashing.js');
|
||||
const secp256k1 = require('./secp256k1.js');
|
||||
const sr25519 = require('./sr25519.js');
|
||||
const vrf = require('./vrf.js');
|
||||
|
||||
const tests = {
|
||||
// We place secp256k1 first, this allows the interaction with it in the
|
||||
@@ -23,7 +22,7 @@ const tests = {
|
||||
...hashing
|
||||
};
|
||||
|
||||
async function beforeAll (name) {
|
||||
async function beforeAll (name, wasm) {
|
||||
const result = await wasm.waitReady();
|
||||
|
||||
console.log(`*** waitReady()=${result} for ${wasm.bridge.type}`);
|
||||
@@ -33,7 +32,7 @@ async function beforeAll (name) {
|
||||
return result;
|
||||
}
|
||||
|
||||
function runAll (name) {
|
||||
function runAll (name, wasm) {
|
||||
const failed = [];
|
||||
let count = 0;
|
||||
|
||||
@@ -63,11 +62,11 @@ function runAll (name) {
|
||||
}
|
||||
}
|
||||
|
||||
function runUnassisted (name) {
|
||||
function runUnassisted (name, wasm) {
|
||||
console.log(`\n*** ${name}: Running tests`);
|
||||
|
||||
beforeAll(name)
|
||||
.then(() => runAll(name))
|
||||
beforeAll(name, wasm)
|
||||
.then(() => runAll(name, wasm))
|
||||
.then(() => {
|
||||
console.log(`\n*** ${name}: All passed`);
|
||||
process.exit(0);
|
||||
@@ -82,6 +81,5 @@ module.exports = {
|
||||
beforeAll,
|
||||
runAll,
|
||||
runUnassisted,
|
||||
tests,
|
||||
wasm
|
||||
tests
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
{ "type": "commonjs" }
|
||||
@@ -4,6 +4,7 @@
|
||||
require('./alias-imports.cjs');
|
||||
require('@polkadot/wasm-crypto/initOnlyAsm');
|
||||
|
||||
const { runUnassisted } = require('./all/index.cjs');
|
||||
const wasm = require('../build');
|
||||
const { runUnassisted } = require('./all/index.js');
|
||||
|
||||
runUnassisted('ASM');
|
||||
runUnassisted('ASM', wasm);
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
// Copyright 2019-2022 @polkadot/wasm-crypto authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { createRequire } from 'https://deno.land/std@0.107.0/node/module.ts';
|
||||
|
||||
import * as wasm from '../build-deno/mod.ts';
|
||||
|
||||
declare const globalThis: Record<string, unknown>;
|
||||
declare const require: (name: string) => any;
|
||||
|
||||
globalThis.require = createRequire(import.meta.url);
|
||||
|
||||
const exp = require('./all/index.js');
|
||||
|
||||
await exp.beforeAll('wasm', wasm);
|
||||
|
||||
Object.keys(exp.tests).forEach((name) => {
|
||||
Deno.test(name, () => exp.tests[name](wasm));
|
||||
});
|
||||
@@ -5,11 +5,14 @@
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
import { beforeAll as beforeAllFn, tests, wasm } from './all/index.cjs';
|
||||
import * as wasm from '../build';
|
||||
import { beforeAll as beforeAllFn, tests } from './all/index.js';
|
||||
|
||||
globalThis.wasm = wasm;
|
||||
|
||||
describe('wasm-crypto', () => {
|
||||
beforeAll(async () => {
|
||||
await beforeAllFn('wasm');
|
||||
await beforeAllFn('wasm', wasm);
|
||||
});
|
||||
|
||||
Object.keys(tests).forEach((name) => {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
require('./alias-imports.cjs');
|
||||
|
||||
const { runUnassisted } = require('./all/index.cjs');
|
||||
const wasm = require('../build');
|
||||
const { runUnassisted } = require('./all/index.js');
|
||||
|
||||
runUnassisted('WASM');
|
||||
runUnassisted('WASM', wasm);
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/test/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../wasm-bridge/tsconfig.build.json" },
|
||||
{ "path": "../wasm-crypto-init/tsconfig.build.json" },
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "6.2.2",
|
||||
"version": "6.2.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^9.7.1"
|
||||
"@polkadot/util": "^9.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*"
|
||||
|
||||
@@ -1,31 +1,37 @@
|
||||
// Copyright 2019-2022 @polkadot/wasm-util authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||
const chr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||
const map: Record<string, number> = {};
|
||||
|
||||
for (let i = 0; i < chr.length; i++) {
|
||||
map[chr[i]] = i;
|
||||
}
|
||||
|
||||
/**
|
||||
* @name base64Decode
|
||||
* @description
|
||||
* A fail-safe base64Decoding function that operates in all environments. Unlike
|
||||
* decoding from Buffer (Node.js only) or atob (browser-only) this implementation
|
||||
* is slightly slower, but it is platform independent.
|
||||
* A base64Decoding function that operates in all environments. Unlike decoding
|
||||
* from Buffer (Node.js only) or atob (browser-only) this implementation is
|
||||
* slightly slower, but it is platform independent.
|
||||
*
|
||||
* For our usage, since we have access to the static final size (where used), we
|
||||
* decode to a specified output buffer.
|
||||
*/
|
||||
export function base64Decode (data: string): Uint8Array {
|
||||
// TODO: For Node.js speedups, we could add an explicit base64Node.ts implementation
|
||||
// that would be (via export maps) be available in that environment only
|
||||
const bytes = [];
|
||||
export function base64Decode (data: string, out: Uint8Array): Uint8Array {
|
||||
let byte = 0;
|
||||
let bits = 0;
|
||||
let pos = -1;
|
||||
|
||||
for (let i = 0; i < data.length && data[i] !== '='; i++) {
|
||||
// each character represents 6 bits
|
||||
byte = (byte << 6) | chars.indexOf(data[i]);
|
||||
byte = (byte << 6) | map[data[i]];
|
||||
|
||||
// each byte needs to contain 8 bits
|
||||
if ((bits += 6) >= 8) {
|
||||
bytes.push((byte >>> (bits -= 8)) & 0xff);
|
||||
out[++pos] = (byte >>> (bits -= 8)) & 0xff;
|
||||
}
|
||||
}
|
||||
|
||||
return Uint8Array.from(bytes);
|
||||
return out;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/wasm-util', path: 'auto', type: 'auto', version: '6.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/wasm-util', path: 'auto', type: 'auto', version: '6.2.3' };
|
||||
|
||||
+17
-11
@@ -13,18 +13,24 @@ cd packages
|
||||
|
||||
PKG_NAME=wasm-crypto ../scripts/build-wasm.sh
|
||||
|
||||
yarn test:wasm-crypto:js
|
||||
if [ -z "$WITH_DENO" ]; then
|
||||
yarn test:wasm-crypto:js
|
||||
else
|
||||
yarn test:wasm-crypto:deno
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "*** wasm-crypto"
|
||||
ls -alR wasm-crypto/build
|
||||
echo ""
|
||||
echo "*** wasm-crypto-asmjs"
|
||||
ls -alR wasm-crypto-asmjs/build
|
||||
echo ""
|
||||
echo "*** wasm-crypto-wasm"
|
||||
ls -alR wasm-crypto-wasm/build
|
||||
# echo ""
|
||||
# echo "*** wasm-crypto"
|
||||
# ls -alR wasm-crypto/build
|
||||
# echo ""
|
||||
# echo "*** wasm-crypto-asmjs"
|
||||
# ls -alR wasm-crypto-asmjs/build
|
||||
# echo ""
|
||||
# echo "*** wasm-crypto-wasm"
|
||||
# ls -alR wasm-crypto-wasm/build
|
||||
|
||||
cd ..
|
||||
|
||||
yarn build:rollup
|
||||
if [ -z "$WITH_DENO" ]; then
|
||||
yarn build:rollup
|
||||
fi
|
||||
|
||||
@@ -48,12 +48,12 @@ if [ ! -d "binaryen" ]; then
|
||||
echo "*** Downloading binaryen"
|
||||
curl -L $BINARYEN_REPO/releases/download/$BINARYEN_VER/$BINARYEN_ZIP.tar.gz | tar xz
|
||||
mv binaryen-$BINARYEN_VER binaryen
|
||||
ls -alR binaryen
|
||||
# ls -alR binaryen
|
||||
fi
|
||||
|
||||
if [ ! -d "bindgen" ]; then
|
||||
echo "*** Downloading bindgen"
|
||||
curl -L $BINDGEN_REPO/releases/download/$BINDGEN_VER/$BINDGEN_ZIP.tar.gz | tar xz
|
||||
mv $BINDGEN_ZIP bindgen
|
||||
ls -alR bindgen
|
||||
# ls -alR bindgen
|
||||
fi
|
||||
|
||||
@@ -19,11 +19,11 @@ fs.writeFileSync(`./${process.env.PKG_NAME}-wasm/build/cjs/bytes.js`, `// Copyri
|
||||
|
||||
// Generated as part of the build, do not edit
|
||||
|
||||
const sizeCompressed = ${compressed.length};
|
||||
const sizeUncompressed = ${data.length};
|
||||
const lenIn = ${compressed.length};
|
||||
const lenOut = ${data.length};
|
||||
const bytes = '${compressed.toString('base64')}';
|
||||
|
||||
module.exports = { bytes, sizeCompressed, sizeUncompressed };
|
||||
module.exports = { bytes, lenIn, lenOut };
|
||||
`);
|
||||
|
||||
fs.writeFileSync(`${denoDir}/bytes.js`, `// Copyright 2019-${new Date().getFullYear()} @polkadot/${process.env.PKG_NAME}-wasm authors & contributors
|
||||
@@ -31,9 +31,9 @@ fs.writeFileSync(`${denoDir}/bytes.js`, `// Copyright 2019-${new Date().getFullY
|
||||
|
||||
// Generated as part of the build, do not edit
|
||||
|
||||
export const sizeCompressed = ${compressed.length};
|
||||
export const lenIn = ${compressed.length};
|
||||
|
||||
export const sizeUncompressed = ${data.length};
|
||||
export const lenOut = ${data.length};
|
||||
|
||||
export const bytes = '${compressed.toString('base64')}';
|
||||
`);
|
||||
|
||||
@@ -1941,9 +1941,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev@npm:^0.67.50":
|
||||
version: 0.67.50
|
||||
resolution: "@polkadot/dev@npm:0.67.50"
|
||||
"@polkadot/dev@npm:^0.67.57":
|
||||
version: 0.67.57
|
||||
resolution: "@polkadot/dev@npm:0.67.57"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.18.6
|
||||
"@babel/core": ^7.18.6
|
||||
@@ -1968,8 +1968,8 @@ __metadata:
|
||||
"@rollup/plugin-json": ^4.1.0
|
||||
"@rollup/plugin-node-resolve": ^13.3.0
|
||||
"@rushstack/eslint-patch": ^1.1.4
|
||||
"@typescript-eslint/eslint-plugin": 5.30.4
|
||||
"@typescript-eslint/parser": 5.30.4
|
||||
"@typescript-eslint/eslint-plugin": 5.30.5
|
||||
"@typescript-eslint/parser": 5.30.5
|
||||
"@vue/component-compiler-utils": ^3.3.0
|
||||
babel-jest: ^28.1.2
|
||||
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
|
||||
@@ -1982,8 +1982,8 @@ __metadata:
|
||||
eslint-import-resolver-node: ^0.3.6
|
||||
eslint-plugin-header: ^3.1.1
|
||||
eslint-plugin-import: ^2.26.0
|
||||
eslint-plugin-import-newlines: ^1.2.2
|
||||
eslint-plugin-n: ^15.2.3
|
||||
eslint-plugin-import-newlines: ^1.2.3
|
||||
eslint-plugin-n: ^15.2.4
|
||||
eslint-plugin-promise: ^6.0.0
|
||||
eslint-plugin-react: ^7.30.1
|
||||
eslint-plugin-react-hooks: ^4.6.0
|
||||
@@ -2031,73 +2031,73 @@ __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: ba1f72f2013c31548f7f2995dc4da3bf219505d16536fa2f212152b3adc57c632007f47e10c849fbaacd3f93db74a49c7b5865c8ee4c92b66567c13b73f6a170
|
||||
checksum: 65e2b4c6a50b174332fe88fac580f4a6e5123e58aea59ff3888ac47f18d83c7d0881bd533b761b5643c477f09f41bd7f3652d8a61b6105265fd9a4e04c44c88e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:^9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/util@npm:9.7.1"
|
||||
"@polkadot/util@npm:^9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/util@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/x-bigint": 9.7.1
|
||||
"@polkadot/x-global": 9.7.1
|
||||
"@polkadot/x-textdecoder": 9.7.1
|
||||
"@polkadot/x-textencoder": 9.7.1
|
||||
"@polkadot/x-bigint": 9.7.2
|
||||
"@polkadot/x-global": 9.7.2
|
||||
"@polkadot/x-textdecoder": 9.7.2
|
||||
"@polkadot/x-textencoder": 9.7.2
|
||||
"@types/bn.js": ^5.1.0
|
||||
bn.js: ^5.2.1
|
||||
ip-regex: ^4.3.0
|
||||
checksum: 4e8cf7aef0b3cdb94cb464dfdd90b86ff0ce8b37cb1ccd4248b667ff14ce94bc833ee6ae731d38991af28444790ba998864d6e70d82fc416872b762826f070af
|
||||
checksum: ccb7270148a0479c141dc138546a30f31fbe39d6d182c72bfc027ae1f01163702b1d2a568b7b2ae5dd2d1b787ec70243f8bebe55a7209ee3f0321708ada293ba
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/wasm-bridge@6.2.2, @polkadot/wasm-bridge@workspace:packages/wasm-bridge":
|
||||
"@polkadot/wasm-bridge@6.2.3, @polkadot/wasm-bridge@workspace:packages/wasm-bridge":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/wasm-bridge@workspace:packages/wasm-bridge"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/x-randomvalues": ^9.7.1
|
||||
"@polkadot/util": ^9.7.2
|
||||
"@polkadot/x-randomvalues": ^9.7.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
"@polkadot/x-randomvalues": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/wasm-crypto-asmjs@6.2.2, @polkadot/wasm-crypto-asmjs@workspace:packages/wasm-crypto-asmjs":
|
||||
"@polkadot/wasm-crypto-asmjs@6.2.3, @polkadot/wasm-crypto-asmjs@workspace:packages/wasm-crypto-asmjs":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/wasm-crypto-asmjs@workspace:packages/wasm-crypto-asmjs"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/util": ^9.7.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/wasm-crypto-init@6.2.2, @polkadot/wasm-crypto-init@workspace:packages/wasm-crypto-init":
|
||||
"@polkadot/wasm-crypto-init@6.2.3, @polkadot/wasm-crypto-init@workspace:packages/wasm-crypto-init":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/wasm-crypto-init@workspace:packages/wasm-crypto-init"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/wasm-bridge": 6.2.2
|
||||
"@polkadot/wasm-crypto-asmjs": 6.2.2
|
||||
"@polkadot/wasm-crypto-wasm": 6.2.2
|
||||
"@polkadot/x-randomvalues": ^9.7.1
|
||||
"@polkadot/util": ^9.7.2
|
||||
"@polkadot/wasm-bridge": 6.2.3
|
||||
"@polkadot/wasm-crypto-asmjs": 6.2.3
|
||||
"@polkadot/wasm-crypto-wasm": 6.2.3
|
||||
"@polkadot/x-randomvalues": ^9.7.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
"@polkadot/x-randomvalues": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/wasm-crypto-wasm@6.2.2, @polkadot/wasm-crypto-wasm@workspace:packages/wasm-crypto-wasm":
|
||||
"@polkadot/wasm-crypto-wasm@6.2.3, @polkadot/wasm-crypto-wasm@workspace:packages/wasm-crypto-wasm":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/wasm-crypto-wasm@workspace:packages/wasm-crypto-wasm"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/wasm-util": 6.2.2
|
||||
"@polkadot/util": ^9.7.2
|
||||
"@polkadot/wasm-util": 6.2.3
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
languageName: unknown
|
||||
@@ -2108,76 +2108,76 @@ __metadata:
|
||||
resolution: "@polkadot/wasm-crypto@workspace:packages/wasm-crypto"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/wasm-bridge": 6.2.2
|
||||
"@polkadot/wasm-crypto-asmjs": 6.2.2
|
||||
"@polkadot/wasm-crypto-init": 6.2.2
|
||||
"@polkadot/wasm-crypto-wasm": 6.2.2
|
||||
"@polkadot/wasm-util": 6.2.2
|
||||
"@polkadot/x-randomvalues": ^9.7.1
|
||||
"@polkadot/util": ^9.7.2
|
||||
"@polkadot/wasm-bridge": 6.2.3
|
||||
"@polkadot/wasm-crypto-asmjs": 6.2.3
|
||||
"@polkadot/wasm-crypto-init": 6.2.3
|
||||
"@polkadot/wasm-crypto-wasm": 6.2.3
|
||||
"@polkadot/wasm-util": 6.2.3
|
||||
"@polkadot/x-randomvalues": ^9.7.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
"@polkadot/x-randomvalues": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/wasm-util@6.2.2, @polkadot/wasm-util@workspace:packages/wasm-util":
|
||||
"@polkadot/wasm-util@6.2.3, @polkadot/wasm-util@workspace:packages/wasm-util":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/wasm-util@workspace:packages/wasm-util"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/util": ^9.7.1
|
||||
"@polkadot/util": ^9.7.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-bigint@npm:9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/x-bigint@npm:9.7.1"
|
||||
"@polkadot/x-bigint@npm:9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/x-bigint@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/x-global": 9.7.1
|
||||
checksum: c741f2079c6d68422da6bc972bb77fc5d4092c2a44fa007148a3cef4c2e61acf4fdb7e759dcc93a53c7b1a36eba4b923f3e0acf2efc22f2190890563d43e03f8
|
||||
"@polkadot/x-global": 9.7.2
|
||||
checksum: 18610e4c55388b5c82e8ca6964200751fc20a19f8159f957a321d47b325ce349e3102d4f55a7e8997178e92a2d84cc138e8a39028e986a42175f45c38945b539
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-global@npm:9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/x-global@npm:9.7.1"
|
||||
"@polkadot/x-global@npm:9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/x-global@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
checksum: 9d8927ac687e3cd4872144dd196198750a3119d60e7a36f28d2673894aba1c97a65ebc905b211a6de5da9b4a98212673e453ff5df20d5ca5f040afc1534575ed
|
||||
checksum: 1c64fd3ba0d81707887bb0fcb55da1ee5977ebf4bf247bc078e1d96e7a12d2bed089fafa8776b8c219772049521cf49f45d378f37fed82aaafe44b0b5aad41ac
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-randomvalues@npm:^9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/x-randomvalues@npm:9.7.1"
|
||||
"@polkadot/x-randomvalues@npm:^9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/x-randomvalues@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/x-global": 9.7.1
|
||||
checksum: 951692a6f438a00331d74927e812896cf73094827db3dfffe16a949300d4a4cdda8c6678da475e8fd23179df9479a708e3450e291c9b690424202ef16292656e
|
||||
"@polkadot/x-global": 9.7.2
|
||||
checksum: 0c7e3a0b04dea40ce6696613970b523924e364de622e4180cfcb678a2187d4f59f143651aa16380b96bdebe022c462f4bfb53730e3528b24b0d2e9ffcc0276a2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/x-textdecoder@npm:9.7.1"
|
||||
"@polkadot/x-textdecoder@npm:9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/x-textdecoder@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/x-global": 9.7.1
|
||||
checksum: 8f25e83b2b4297b5bbf59627bcdb2dbf8df2464a203aa2b4a69883e16ce929ee3a70aa5fb4b683d3d53db201b4c460d2801f83d4bca1b3c6ca612fad82eecccb
|
||||
"@polkadot/x-global": 9.7.2
|
||||
checksum: e2cb044723a7130fb8ad7f3799ede94f49777e94ab6806318f7fc5a0cfdba91fd06730da3292453c9a4d901b60b07b78efbbd44f917b99ea1490a79f8dfec39d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:9.7.1":
|
||||
version: 9.7.1
|
||||
resolution: "@polkadot/x-textencoder@npm:9.7.1"
|
||||
"@polkadot/x-textencoder@npm:9.7.2":
|
||||
version: 9.7.2
|
||||
resolution: "@polkadot/x-textencoder@npm:9.7.2"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.6
|
||||
"@polkadot/x-global": 9.7.1
|
||||
checksum: fe5b4045b790742ff54cef2bcc408a6c1e6a92b3d1816ffbd0b9ed90259a990d02d897ea099a0797cb4c6854ff82ec7b16f73c83149f21eaae4e6503e4d2396c
|
||||
"@polkadot/x-global": 9.7.2
|
||||
checksum: 619bf4eafc086e777abfae67e1027136fb1e4d9761e20583da12c55c5b6cc852f227029b8b3241cda23b157e11d450d273b3526b792a95eaa294f0f785d9fe3c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2518,13 +2518,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/eslint-plugin@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.30.4"
|
||||
"@typescript-eslint/eslint-plugin@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.30.4
|
||||
"@typescript-eslint/type-utils": 5.30.4
|
||||
"@typescript-eslint/utils": 5.30.4
|
||||
"@typescript-eslint/scope-manager": 5.30.5
|
||||
"@typescript-eslint/type-utils": 5.30.5
|
||||
"@typescript-eslint/utils": 5.30.5
|
||||
debug: ^4.3.4
|
||||
functional-red-black-tree: ^1.0.1
|
||||
ignore: ^5.2.0
|
||||
@@ -2537,42 +2537,42 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 9b9290448b3009b93dc9bbc263049103f48c006d395351695486f7ab156f24b3f3e9e83a9f68a8cf73afc036c2d1092005446085f171afc9cdcb0b1b475443e3
|
||||
checksum: cf763fb091dcdfd6c25843251a220b654ca83968b17266e0f343771f489085c6afc4e41fcf2187b4c72c4d12a787070c64b5e5367069460f95a8174573f48905
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/parser@npm:5.30.4"
|
||||
"@typescript-eslint/parser@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/parser@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.30.4
|
||||
"@typescript-eslint/types": 5.30.4
|
||||
"@typescript-eslint/typescript-estree": 5.30.4
|
||||
"@typescript-eslint/scope-manager": 5.30.5
|
||||
"@typescript-eslint/types": 5.30.5
|
||||
"@typescript-eslint/typescript-estree": 5.30.5
|
||||
debug: ^4.3.4
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: e13ffd0cbb691b5b82038a5a1475a7771409398bc90e0430e9b3818174926c5af7c637d5915f7c2949f38201c04bfe57dfc91f4d9052a48ee551faba3b8c7349
|
||||
checksum: 6c16821e122b891420a538f200f6e576ad1167855a67e87f9a7d3a08c0513fe26006f6411b8ba6f4662a81526bd0339ae37c47dd88fa5943e6f27ff70da9f989
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/scope-manager@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.30.4"
|
||||
"@typescript-eslint/scope-manager@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.30.4
|
||||
"@typescript-eslint/visitor-keys": 5.30.4
|
||||
checksum: 3da442dc113ee821c6b1c4510ee4cfd6f6f34838587785b7c486d262af913dca66229a47ebb9a63ad605f8edbe57a8387be24c817c8091783b57c33b7862cbcc
|
||||
"@typescript-eslint/types": 5.30.5
|
||||
"@typescript-eslint/visitor-keys": 5.30.5
|
||||
checksum: 509bee6d62cca1716e8f4792d9180c189974992ba13d8103ca04423a64006cf184c4b2c606d55c776305458140c798a3a9a414d07a60790b83dd714f56c457b0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/type-utils@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.30.4"
|
||||
"@typescript-eslint/type-utils@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/utils": 5.30.4
|
||||
"@typescript-eslint/utils": 5.30.5
|
||||
debug: ^4.3.4
|
||||
tsutils: ^3.21.0
|
||||
peerDependencies:
|
||||
@@ -2580,7 +2580,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 552eb1a5b11787d3b98dc454a80153b05bcb6d58aeb97c861d6b006f3eb6af95d117a3f9a679b41a8b6d58ac0dceaaeafd23ce28d83881a363e51bbc1a088936
|
||||
checksum: 080cc1231729c34b778395658374e32d034474056f9b777dbc89d20d15eb93d93d0959328ad47c2a6623d40c6552364ababadce439842a944bce001f55b731b3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2591,19 +2591,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/types@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/types@npm:5.30.4"
|
||||
checksum: 06181c33551850492ccfd48232f93083c6cf9205d26b26fe6e356b7a4ebb08beffd89ae3b84011da94ffd0e6948422d91d94df7005edeca1c8348117d4776715
|
||||
"@typescript-eslint/types@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/types@npm:5.30.5"
|
||||
checksum: c70420618cb875d4e964a20a3fa4cf40cb97a8ad3123e24860e3d829edf3b081c77fa1fe25644700499d27e44aee5783abc7765deee61e2ef59a928db96b2175
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.30.4"
|
||||
"@typescript-eslint/typescript-estree@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.30.4
|
||||
"@typescript-eslint/visitor-keys": 5.30.4
|
||||
"@typescript-eslint/types": 5.30.5
|
||||
"@typescript-eslint/visitor-keys": 5.30.5
|
||||
debug: ^4.3.4
|
||||
globby: ^11.1.0
|
||||
is-glob: ^4.0.3
|
||||
@@ -2612,7 +2612,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 1aaa414993a4e35927e93f929d34a6e07cb8ec46c4ea9a58f018c36ff1fc3027ca5007e6abe922c5869557cd2d7f319e8c57cccd618517781979e669d3b704d0
|
||||
checksum: 19dce426c826cddd4aadf2fa15be943c6ad7d2038685cc2665749486a5f44a47819aab5d260b54f8a4babf6acf2500e9f62e709d61fce337b12d5468ff285277
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2634,19 +2634,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/utils@npm:5.30.4"
|
||||
"@typescript-eslint/utils@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/utils@npm:5.30.5"
|
||||
dependencies:
|
||||
"@types/json-schema": ^7.0.9
|
||||
"@typescript-eslint/scope-manager": 5.30.4
|
||||
"@typescript-eslint/types": 5.30.4
|
||||
"@typescript-eslint/typescript-estree": 5.30.4
|
||||
"@typescript-eslint/scope-manager": 5.30.5
|
||||
"@typescript-eslint/types": 5.30.5
|
||||
"@typescript-eslint/typescript-estree": 5.30.5
|
||||
eslint-scope: ^5.1.1
|
||||
eslint-utils: ^3.0.0
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: 0f680d366701c6ca5a4e1fc53247876e6f6acaee498400d32a7cb767e6187d0d75bc4488350cf6dc6e7c373ea023d62e395ea14ba56ad246b458d6853b213782
|
||||
checksum: 12f68cb34a150d39708f4e09a54964360f29589885cd50f119a2061660011752ec72eff3d90111f0e597575d32aae7250a6e2c730a84963e5e30352759d5f1f4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2660,13 +2660,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:5.30.4":
|
||||
version: 5.30.4
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.30.4"
|
||||
"@typescript-eslint/visitor-keys@npm:5.30.5":
|
||||
version: 5.30.5
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.30.5"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.30.4
|
||||
"@typescript-eslint/types": 5.30.5
|
||||
eslint-visitor-keys: ^3.3.0
|
||||
checksum: ec39680a89b058e8350adc084c2a957e83161e87ac9732c9fef8fd3045ce5004e059b2ddb0c366192806e3998bf3263c8bbb2cc74a4f2ad3313154ed35dd479a
|
||||
checksum: c0de9ae48378eec2682b860a059518bed213ea29575aad538d8d2f8137875e7279e375a7f23d38c1c183466fdd9cf1ca1db4ed5a1d374968f9460d83e48b2437
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4431,14 +4431,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-import-newlines@npm:^1.2.2":
|
||||
version: 1.2.2
|
||||
resolution: "eslint-plugin-import-newlines@npm:1.2.2"
|
||||
"eslint-plugin-import-newlines@npm:^1.2.3":
|
||||
version: 1.2.3
|
||||
resolution: "eslint-plugin-import-newlines@npm:1.2.3"
|
||||
peerDependencies:
|
||||
eslint: ">=6.0.0"
|
||||
bin:
|
||||
import-linter: lib/index.js
|
||||
checksum: 3bb35817357aa47e2ec45b82e085605351f8f6050a0766b4f3ccd287ba81c7db72c33ac4c4ccea6cf90d66868ae141692897d6c84e08532d740672daeebcb789
|
||||
checksum: 0781d83d5aeb41b487919d61a21d822a3c922bbc5504ad36790309d68e4df0a05ea2288da998498b5757f814fb841abcc4872241ed349b65cf63287476255bc2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4465,9 +4465,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-n@npm:^15.2.3":
|
||||
version: 15.2.3
|
||||
resolution: "eslint-plugin-n@npm:15.2.3"
|
||||
"eslint-plugin-n@npm:^15.2.4":
|
||||
version: 15.2.4
|
||||
resolution: "eslint-plugin-n@npm:15.2.4"
|
||||
dependencies:
|
||||
builtins: ^5.0.1
|
||||
eslint-plugin-es: ^4.1.0
|
||||
@@ -4479,7 +4479,7 @@ __metadata:
|
||||
semver: ^7.3.7
|
||||
peerDependencies:
|
||||
eslint: ">=7.0.0"
|
||||
checksum: da02bbf3152c49f9a09ab253f70e85f9d62af0f40f3d1882cf8a5fc9b9e07465c7f9632feae002ee97bce0598b408f017a4bb6c6f152b0870bad6f50aa430820
|
||||
checksum: dd651651ab76120e45707ee968d846e3ffffb42d1035792fdef6d3b0dcfddf3673bc6a09cb2fac8c5f1d081f14f2a67fc52295d5ed1d2edfb5beead93284eaac
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -8595,7 +8595,7 @@ resolve@^2.0.0-next.3:
|
||||
resolution: "root-workspace-0b6124@workspace:."
|
||||
dependencies:
|
||||
"@babel/core": ^7.18.6
|
||||
"@polkadot/dev": ^0.67.50
|
||||
"@polkadot/dev": ^0.67.57
|
||||
fflate: ^0.7.3
|
||||
override-require: ^1.1.1
|
||||
languageName: unknown
|
||||
|
||||
Reference in New Issue
Block a user