Compare commits

..
12 Commits
Author SHA1 Message Date
github-actions[bot] bf141cd874 [CI Skip] release/stable 10.2.5
skip-checks: true
2023-01-13 13:59:30 +00:00
Jaco 08bf4b7eb2 Bugfix for formatBalance (forceUnit), result < 0 (#1706)
* Bugfix for formatBalance (forceUnit), result < 0

* Deps up
2023-01-13 15:54:40 +02:00
github-actions[bot] 42daac5327 [CI Skip] release/stable 10.2.4
skip-checks: true
2023-01-13 07:49:02 +00:00
Jaco 694fb8b241 10.2.4 (#1705) 2023-01-13 09:44:39 +02:00
github-actions[bot] b0b69c27dc [CI Skip] bump/beta 10.2.4-1-x
skip-checks: true
2023-01-12 10:10:49 +00:00
Jaco b57bcdc38f Bump deps (#1704) 2023-01-12 12:06:11 +02:00
github-actions[bot] 4fd4178ce9 [CI Skip] bump/beta 10.2.4-0-x
skip-checks: true
2023-01-11 13:49:51 +00:00
Jaco 39403fcfe7 formatBalance withAll/withZero (#1703) 2023-01-11 15:45:19 +02:00
github-actions[bot] 955605b2b0 [CI Skip] release/stable 10.2.3
skip-checks: true
2023-01-07 13:05:49 +00:00
Jaco d291a76798 10.2.3 (#1702) 2023-01-07 15:02:13 +02:00
github-actions[bot] aa12647ef6 [CI Skip] bump/beta 10.2.3-0-x
skip-checks: true
2023-01-07 10:16:23 +00:00
Jaco ceff8cc9ff Adjust Buffer check (#1701)
* Adjust Buffer check

* Adjust
2023-01-07 12:12:43 +02:00
37 changed files with 405 additions and 351 deletions
+23
View File
@@ -1,5 +1,28 @@
# CHANGELOG
## 10.2.5 Jan 13, 2023
Changes:
- Bugfix for `formatBalance` (forceUnit) with `BN` inputs where output is less than 0
## 10.2.4 Jan 13, 2023
Changes:
- Add the `withAll` (default false) flag to `formatBalance` to format to max decimals
- Add the `withZero` (default true) flags to `formatBalance` to retain trailing zeros
## 10.2.3 Jan 7, 2023
Changes:
- Adjust `isBuffer` check on `xglobal` (no auto-polyfill detection on eg. parcel)
- Upgrade dependencies to latest stable versions
## 10.2.2 Jan 6, 2023
Contributed:
+1 -1
View File
@@ -1,4 +1,4 @@
1502 Jaco 10.2.2 (#1700)
1508 Jaco Bugfix for formatBalance (forceUnit), result < 0 (#1706)
10 Carlo Sala feat(networks): support ledger for ajuna (#1682)
9 Antoine Estienne Add eth uri keyring test (#1291)
6 Amaury Martiny Add tests from Rust (#283)
+4 -4
View File
@@ -11,10 +11,10 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"versions": {
"git": "10.2.2",
"npm": "10.2.2"
"git": "10.2.5",
"npm": "10.2.5"
},
"workspaces": [
"packages/*"
@@ -34,7 +34,7 @@
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@polkadot/dev": "^0.67.177",
"@polkadot/dev": "^0.67.178",
"@types/jest": "^29.2.5"
},
"resolutions": {
+2 -2
View File
@@ -16,7 +16,7 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
@@ -25,7 +25,7 @@
"@ledgerhq/hw-transport": "^6.27.9",
"@ledgerhq/hw-transport-webhid": "^6.27.9",
"@ledgerhq/hw-transport-webusb": "^6.27.9",
"@polkadot/util": "10.2.2"
"@polkadot/util": "10.2.5"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid-singleton": "^6.28.6"
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '10.2.5' };
+3 -3
View File
@@ -19,13 +19,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@ledgerhq/hw-transport": "^6.27.9",
"@polkadot/hw-ledger-transports": "10.2.2",
"@polkadot/util": "10.2.2",
"@polkadot/hw-ledger-transports": "10.2.5",
"@polkadot/util": "10.2.5",
"@zondax/ledger-substrate": "^0.40.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '10.2.5' };
+5 -5
View File
@@ -20,15 +20,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/util": "10.2.2",
"@polkadot/util-crypto": "10.2.2"
"@polkadot/util": "10.2.5",
"@polkadot/util-crypto": "10.2.5"
},
"peerDependencies": {
"@polkadot/util": "10.2.2",
"@polkadot/util-crypto": "10.2.2"
"@polkadot/util": "10.2.5",
"@polkadot/util-crypto": "10.2.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '10.2.5' };
+4 -4
View File
@@ -17,14 +17,14 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/util": "10.2.2",
"@substrate/ss58-registry": "^1.36.0"
"@polkadot/util": "10.2.5",
"@substrate/ss58-registry": "^1.37.0"
},
"devDependencies": {
"@polkadot/hw-ledger": "10.2.2"
"@polkadot/hw-ledger": "10.2.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '10.2.5' };
@@ -1639,5 +1639,18 @@
],
"standardAccount": "*25519",
"website": "https://nftmart.io"
},
{
"prefix": 13116,
"network": "bittensor",
"displayName": "Bittensor",
"symbols": [
"TAO"
],
"decimals": [
9
],
"standardAccount": "*25519",
"website": "https://bittensor.com"
}
]
+7 -7
View File
@@ -22,7 +22,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": {
"crypto": false,
"stream": false
@@ -31,12 +31,12 @@
"dependencies": {
"@babel/runtime": "^7.20.7",
"@noble/hashes": "1.1.5",
"@noble/secp256k1": "1.7.0",
"@polkadot/networks": "10.2.2",
"@polkadot/util": "10.2.2",
"@noble/secp256k1": "1.7.1",
"@polkadot/networks": "10.2.5",
"@polkadot/util": "10.2.5",
"@polkadot/wasm-crypto": "^6.4.1",
"@polkadot/x-bigint": "10.2.2",
"@polkadot/x-randomvalues": "10.2.2",
"@polkadot/x-bigint": "10.2.5",
"@polkadot/x-randomvalues": "10.2.5",
"@scure/base": "1.1.1",
"ed2curve": "^0.3.0",
"tweetnacl": "^1.0.3"
@@ -45,6 +45,6 @@
"@types/ed2curve": "^0.2.2"
},
"peerDependencies": {
"@polkadot/util": "10.2.2"
"@polkadot/util": "10.2.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '10.2.5' };
+6 -6
View File
@@ -34,18 +34,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-bigint": "10.2.2",
"@polkadot/x-global": "10.2.2",
"@polkadot/x-textdecoder": "10.2.2",
"@polkadot/x-textencoder": "10.2.2",
"@polkadot/x-bigint": "10.2.5",
"@polkadot/x-global": "10.2.5",
"@polkadot/x-textdecoder": "10.2.5",
"@polkadot/x-textencoder": "10.2.5",
"@types/bn.js": "^5.1.1",
"bn.js": "^5.2.1"
},
"devDependencies": {
"@polkadot/x-randomvalues": "10.2.2"
"@polkadot/x-randomvalues": "10.2.5"
}
}
@@ -13,6 +13,13 @@ describe('formatBalance', (): void => {
expect(formatBalance('0')).toEqual('0');
});
// this is after an issue/test from actual values with forceUnit
it('formats 1000 (BN) (decimals = 12, withAll, withZero = false)', (): void => {
expect(
formatBalance(new BN(1000), { decimals: 12, forceUnit: '-', withAll: true, withSi: false, withZero: true })
).toEqual('0.000000001000');
});
it('formats 123,456,789,000 (decimals=15)', (): void => {
expect(
formatBalance(TESTVAL, { decimals: 15, withSi: true })
@@ -37,6 +44,24 @@ describe('formatBalance', (): void => {
).toEqual('123.4567 µUnit');
});
it('formats 123,456,789,000 (decimals=10, withAll=true)', (): void => {
expect(
formatBalance(TESTVAL, { decimals: 10, forceUnit: '-', withAll: true, withSi: true })
).toEqual('12.3456789000 Unit');
});
it('formats 123,456,789,000 (decimals=10, withAll=true, withZero=false)', (): void => {
expect(
formatBalance(TESTVAL, { decimals: 10, forceUnit: '-', withAll: true, withSi: true, withZero: false })
).toEqual('12.3456789 Unit');
});
it('formats 123,000,000,000 (decimals=9, withAll=true, withZero=false)', (): void => {
expect(
formatBalance('123000000000', { decimals: 9, forceUnit: '-', withAll: true, withSi: true, withZero: false })
).toEqual('123 Unit');
});
it('formats 123,456,789,000 (decimals=15, Compact)', (): void => {
const compact = {
something: 'else',
+58 -37
View File
@@ -29,7 +29,11 @@ interface Options {
*/
forceUnit?: string;
/**
* @description Format with SI, i.e. m/M/etc.
* @description Returns value using all available decimals
*/
withAll?: boolean;
/**
* @description Format with SI, i.e. m/M/etc. (default = true)
*/
withSi?: boolean;
/**
@@ -40,6 +44,10 @@ interface Options {
* @description Add the unit (useful in Balance formats)
*/
withUnit?: boolean | string;
/**
* @description Returns all trailing zeros, otherwise removes (default = true)
*/
withZero?: boolean;
}
interface BalanceFormatter {
@@ -57,35 +65,10 @@ const DEFAULT_UNIT = SI[SI_MID].text;
let defaultDecimals = DEFAULT_DECIMALS;
let defaultUnit = DEFAULT_UNIT;
function getUnits (si: SiDef, withSi: boolean, withSiFull: boolean, withUnit: boolean | string): string {
const unit = isBoolean(withUnit)
? SI[SI_MID].text
: withUnit;
return withSi || withSiFull
? si.value === '-'
? withUnit
? ` ${unit}`
: ''
: ` ${withSiFull ? `${si.text}${withUnit ? ' ' : ''}` : si.value}${withUnit ? unit : ''}`
: '';
}
function getPrePost (text: string, decimals: number, forceUnit?: string): [SiDef, string, string] {
// NOTE We start at midpoint (8) minus 1 - this means that values display as
// 123.456 instead of 0.123k (so always 6 relevant). Additionally we use ceil
// so there are at most 3 decimal before the decimal separator
const si = calcSi(text, decimals, forceUnit);
const mid = text.length - (decimals + si.power);
const prefix = text.substring(0, mid);
const padding = mid < 0 ? 0 - mid : 0;
const postfix = `${`${new Array(padding + 1).join('0')}${text}`.substring(mid < 0 ? 0 : mid)}0000`.substring(0, 4);
return [si, prefix || '0', postfix];
}
// Formats a string/number with <prefix>.<postfix><type> notation
function _formatBalance <ExtToBn extends ToBn> (input?: number | string | BN | bigint | ExtToBn, { decimals = defaultDecimals, forceUnit, withSi = true, withSiFull = false, withUnit = true }: Options = {}): string {
function _formatBalance <ExtToBn extends ToBn> (input?: number | string | BN | bigint | ExtToBn, { decimals = defaultDecimals, forceUnit, withAll = false, withSi = true, withSiFull = false, withUnit = true, withZero = true }: Options = {}): string {
// we only work with string inputs here - convert anything
// into the string-only value
let text = bnToBn(input).toString();
if (text.length === 0 || text === '0') {
@@ -101,22 +84,62 @@ function _formatBalance <ExtToBn extends ToBn> (input?: number | string | BN | b
text = text.substring(1);
}
const [si, prefix, postfix] = getPrePost(text, decimals, forceUnit);
const units = getUnits(si, withSi, withSiFull, withUnit);
// We start at midpoint (8) minus 1 - this means that values display as
// 123.4567 instead of 0.1234 k (so we always have the most relevant).
const si = calcSi(text, decimals, forceUnit);
const mid = text.length - (decimals + si.power);
const pre = mid <= 0 ? '0' : text.substring(0, mid);
return `${sign}${formatDecimal(prefix)}.${postfix}${units}`;
// get the post from the midpoint onward and then first add max decimals
// before trimming to the correct (calculated) amount of decimals again
let post = text
.padStart(mid < 0 ? decimals : 1, '0')
.substring(mid < 0 ? 0 : mid)
.padEnd(withAll ? Math.max(decimals, 4) : 4, '0')
.substring(0, withAll ? Math.max(4, decimals + si.power) : 4);
console.error(mid, pre, post, text
.padStart((mid < 0 ? 0 - mid : 0) + 1, '0'));
// remove all trailing 0's (if required via flag)
if (!withZero) {
let end = post.length - 1;
// This looks inefficient, however it is better to do the checks and
// only make one final slice than it is to do it in multiples
do {
if (post[end] === '0') {
end--;
}
} while (post[end] === '0');
post = post.substring(0, end + 1);
}
// the display unit
const unit = isBoolean(withUnit)
? SI[SI_MID].text
: withUnit;
// format the units for display based on the flags
const units = withSi || withSiFull
? si.value === '-'
? withUnit
? ` ${unit}`
: ''
: ` ${withSiFull ? `${si.text}${withUnit ? ' ' : ''}` : si.value}${withUnit ? unit : ''}`
: '';
return `${sign}${formatDecimal(pre)}${post && `.${post}`}${units}`;
}
export const formatBalance = _formatBalance as BalanceFormatter;
// eslint-disable-next-line @typescript-eslint/unbound-method
formatBalance.calcSi = (text: string, decimals: number = defaultDecimals): SiDef =>
calcSi(text, decimals);
// eslint-disable-next-line @typescript-eslint/unbound-method
formatBalance.findSi = findSi;
// eslint-disable-next-line @typescript-eslint/unbound-method
formatBalance.getDefaults = (): Defaults => {
return {
decimals: defaultDecimals,
@@ -125,7 +148,6 @@ formatBalance.getDefaults = (): Defaults => {
};
// get allowable options to display in a dropdown
// eslint-disable-next-line @typescript-eslint/unbound-method
formatBalance.getOptions = (decimals: number = defaultDecimals): SiDef[] => {
return SI.filter(({ power }): boolean =>
power < 0
@@ -135,7 +157,6 @@ formatBalance.getOptions = (decimals: number = defaultDecimals): SiDef[] => {
};
// Sets the default decimals to use for formatting (ui-wide)
// eslint-disable-next-line @typescript-eslint/unbound-method
formatBalance.setDefaults = ({ decimals, unit }: SetDefaults): void => {
defaultDecimals = decimals === undefined
? defaultDecimals
+7 -1
View File
@@ -11,6 +11,12 @@ declare const __dirname: unknown;
declare const module: unknown;
declare const require: unknown;
// We define a scappy low-level interface to mock Buffer
// (this removes the need for the node typings)
type BufferClass = ((value: unknown) => unknown) & {
isBuffer: (value: unknown) => boolean;
}
/** true if the environment has proper BigInt support */
export const hasBigInt = typeof BigInt === 'function' && typeof BigInt.asIntN === 'function';
@@ -30,7 +36,7 @@ export const hasWasm = typeof WebAssembly !== 'undefined';
// that some bundlers such as parcel would add (this is a check, not a use)
/** true if the environment has support for Buffer (typically Node.js) */
export const hasBuffer = typeof xglobal.Buffer !== 'undefined';
export const hasBuffer = typeof xglobal.Buffer === 'function' && typeof (xglobal.Buffer as BufferClass).isBuffer === 'function';
/** true if the environment has process available (typically Node.js) */
export const hasProcess = typeof xglobal.process === 'object';
+8 -1
View File
@@ -1,9 +1,16 @@
// Copyright 2017-2023 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { xglobal } from '@polkadot/x-global';
import { hasBuffer } from '../has';
import { isFunction } from './function';
// We define these interfaces to not have the Buffer type
// (doing this removes the need for node types being available)
interface BufTyp { isBuffer: (value: unknown) => boolean }
interface BufObj { readDoubleLE: (...args: unknown[]) => unknown }
/**
* @name isBuffer
* @summary Tests for a `Buffer` object instance.
@@ -20,5 +27,5 @@ import { isFunction } from './function';
*/
export function isBuffer (value: unknown): value is Buffer {
// we do check a function first, since it is slightly faster than isBuffer itself
return hasBuffer && isFunction(value && (value as Buffer).readDoubleLE) && Buffer.isBuffer(value);
return hasBuffer && isFunction(value && (value as BufObj).readDoubleLE) && (xglobal.Buffer as BufTyp).isBuffer(value);
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -20,9 +20,9 @@
"./shim.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2"
"@polkadot/x-global": "10.2.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -17,11 +17,11 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/util": "10.2.2",
"@polkadot/util": "10.2.5",
"buffer-es6": "^4.9.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -17,13 +17,13 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2",
"@polkadot/x-global": "10.2.5",
"@types/node-fetch": "^2.6.2",
"node-fetch": "^3.3.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '10.2.5' };
+1 -1
View File
@@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.7"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '10.2.5' };
+3 -3
View File
@@ -17,16 +17,16 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2"
"@polkadot/x-global": "10.2.5"
},
"devDependencies": {
"@types/react-native": "^0.70.8"
"@types/react-native": "^0.71.0"
},
"denoDependencies": {
"crypto": "std@0.161.0/node/crypto.ts"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -17,13 +17,13 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2"
"@polkadot/x-global": "10.2.5"
},
"denoDependencies": {
"util": "std@0.161.0/node/util.ts"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -17,13 +17,13 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2"
"@polkadot/x-global": "10.2.5"
},
"denoDependencies": {
"util": "std@0.161.0/node/util.ts"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '10.2.5' };
+2 -2
View File
@@ -17,13 +17,13 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.2.5",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@babel/runtime": "^7.20.7",
"@polkadot/x-global": "10.2.2",
"@polkadot/x-global": "10.2.5",
"@types/websocket": "^1.0.5",
"websocket": "^1.0.34"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '10.2.5' };
+209 -250
View File
@@ -1936,10 +1936,10 @@ __metadata:
languageName: node
linkType: hard
"@noble/secp256k1@npm:1.7.0":
version: 1.7.0
resolution: "@noble/secp256k1@npm:1.7.0"
checksum: 540a2b8e527ee1e5522af1c430e54945ad373883cac983b115136cd0950efa1f2c473ee6a36d8e69b6809b3ee586276de62f5fa705c77a9425721e81bada8116
"@noble/secp256k1@npm:1.7.1":
version: 1.7.1
resolution: "@noble/secp256k1@npm:1.7.1"
checksum: d2301f1f7690368d8409a3152450458f27e54df47e3f917292de3de82c298770890c2de7c967d237eff9c95b70af485389a9695f73eb05a43e2bd562d18b18cb
languageName: node
linkType: hard
@@ -2101,9 +2101,9 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.67.177":
version: 0.67.177
resolution: "@polkadot/dev@npm:0.67.177"
"@polkadot/dev@npm:^0.67.178":
version: 0.67.178
resolution: "@polkadot/dev@npm:0.67.178"
dependencies:
"@babel/cli": ^7.20.7
"@babel/core": ^7.20.12
@@ -2129,25 +2129,25 @@ __metadata:
"@rollup/plugin-json": ^6.0.0
"@rollup/plugin-node-resolve": ^15.0.1
"@rushstack/eslint-patch": ^1.2.0
"@typescript-eslint/eslint-plugin": ^5.48.0
"@typescript-eslint/parser": ^5.48.0
"@typescript-eslint/eslint-plugin": ^5.48.1
"@typescript-eslint/parser": ^5.48.1
"@vue/component-compiler-utils": ^3.3.0
babel-jest: ^29.3.1
babel-plugin-module-extension-resolver: ^1.0.0
babel-plugin-module-resolver: ^4.1.0
babel-plugin-module-resolver: ^5.0.0
babel-plugin-styled-components: ^2.0.7
browserslist: ^4.21.4
coveralls: ^3.1.1
eslint: ^8.31.0
eslint-config-standard: ^17.0.0
eslint-import-resolver-node: ^0.3.6
eslint-import-resolver-node: ^0.3.7
eslint-plugin-deprecation: ^1.3.3
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.26.0
eslint-plugin-import: ^2.27.4
eslint-plugin-import-newlines: ^1.3.0
eslint-plugin-n: ^15.6.0
eslint-plugin-n: ^15.6.1
eslint-plugin-promise: ^6.1.1
eslint-plugin-react: ^7.31.11
eslint-plugin-react: ^7.32.0
eslint-plugin-react-hooks: ^4.6.0
eslint-plugin-simple-import-sort: ^8.0.0
eslint-plugin-sort-destructure-keys: ^1.4.0
@@ -2165,9 +2165,9 @@ __metadata:
madge: ^5.0.1
minimatch: ^5.1.2
mkdirp: ^1.0.4
prettier: ^2.8.1
prettier: ^2.8.2
rimraf: ^3.0.2
rollup: ^3.9.1
rollup: ^3.10.0
rollup-plugin-cleanup: ^3.2.1
typescript: ^4.9.4
webpack: ^5.75.0
@@ -2201,11 +2201,11 @@ __metadata:
polkadot-exec-swc: scripts/polkadot-exec-swc.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: eaff853f51b72fed7f91a21a24fabe532c529295e91b0a182def578d7ac805b61bf958ed9fa8682fc02d3e044ddc885501bfd198bfd430d359fc7627662b41f0
checksum: 427e79b66360a67ff1defb198b95ab8d668deb57e9e8b27e729b5a5eba084de541a9b35fefdbbf6e9d67fb27b248df531b6b78bcc33312337678339cb7d68815
languageName: node
linkType: hard
"@polkadot/hw-ledger-transports@10.2.2, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
"@polkadot/hw-ledger-transports@10.2.5, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
version: 0.0.0-use.local
resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports"
dependencies:
@@ -2214,21 +2214,21 @@ __metadata:
"@ledgerhq/hw-transport-node-hid-singleton": ^6.28.6
"@ledgerhq/hw-transport-webhid": ^6.27.9
"@ledgerhq/hw-transport-webusb": ^6.27.9
"@polkadot/util": 10.2.2
"@polkadot/util": 10.2.5
dependenciesMeta:
"@ledgerhq/hw-transport-node-hid-singleton":
optional: true
languageName: unknown
linkType: soft
"@polkadot/hw-ledger@10.2.2, @polkadot/hw-ledger@workspace:packages/hw-ledger":
"@polkadot/hw-ledger@10.2.5, @polkadot/hw-ledger@workspace:packages/hw-ledger":
version: 0.0.0-use.local
resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger"
dependencies:
"@babel/runtime": ^7.20.7
"@ledgerhq/hw-transport": ^6.27.9
"@polkadot/hw-ledger-transports": 10.2.2
"@polkadot/util": 10.2.2
"@polkadot/hw-ledger-transports": 10.2.5
"@polkadot/util": 10.2.5
"@zondax/ledger-substrate": ^0.40.3
languageName: unknown
linkType: soft
@@ -2238,56 +2238,56 @@ __metadata:
resolution: "@polkadot/keyring@workspace:packages/keyring"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/util": 10.2.2
"@polkadot/util-crypto": 10.2.2
"@polkadot/util": 10.2.5
"@polkadot/util-crypto": 10.2.5
peerDependencies:
"@polkadot/util": 10.2.2
"@polkadot/util-crypto": 10.2.2
"@polkadot/util": 10.2.5
"@polkadot/util-crypto": 10.2.5
languageName: unknown
linkType: soft
"@polkadot/networks@10.2.2, @polkadot/networks@workspace:packages/networks":
"@polkadot/networks@10.2.5, @polkadot/networks@workspace:packages/networks":
version: 0.0.0-use.local
resolution: "@polkadot/networks@workspace:packages/networks"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/hw-ledger": 10.2.2
"@polkadot/util": 10.2.2
"@substrate/ss58-registry": ^1.36.0
"@polkadot/hw-ledger": 10.2.5
"@polkadot/util": 10.2.5
"@substrate/ss58-registry": ^1.37.0
languageName: unknown
linkType: soft
"@polkadot/util-crypto@10.2.2, @polkadot/util-crypto@workspace:packages/util-crypto":
"@polkadot/util-crypto@10.2.5, @polkadot/util-crypto@workspace:packages/util-crypto":
version: 0.0.0-use.local
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
dependencies:
"@babel/runtime": ^7.20.7
"@noble/hashes": 1.1.5
"@noble/secp256k1": 1.7.0
"@polkadot/networks": 10.2.2
"@polkadot/util": 10.2.2
"@noble/secp256k1": 1.7.1
"@polkadot/networks": 10.2.5
"@polkadot/util": 10.2.5
"@polkadot/wasm-crypto": ^6.4.1
"@polkadot/x-bigint": 10.2.2
"@polkadot/x-randomvalues": 10.2.2
"@polkadot/x-bigint": 10.2.5
"@polkadot/x-randomvalues": 10.2.5
"@scure/base": 1.1.1
"@types/ed2curve": ^0.2.2
ed2curve: ^0.3.0
tweetnacl: ^1.0.3
peerDependencies:
"@polkadot/util": 10.2.2
"@polkadot/util": 10.2.5
languageName: unknown
linkType: soft
"@polkadot/util@10.2.2, @polkadot/util@workspace:packages/util":
"@polkadot/util@10.2.5, @polkadot/util@workspace:packages/util":
version: 0.0.0-use.local
resolution: "@polkadot/util@workspace:packages/util"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-bigint": 10.2.2
"@polkadot/x-global": 10.2.2
"@polkadot/x-randomvalues": 10.2.2
"@polkadot/x-textdecoder": 10.2.2
"@polkadot/x-textencoder": 10.2.2
"@polkadot/x-bigint": 10.2.5
"@polkadot/x-global": 10.2.5
"@polkadot/x-randomvalues": 10.2.5
"@polkadot/x-textdecoder": 10.2.5
"@polkadot/x-textencoder": 10.2.5
"@types/bn.js": ^5.1.1
bn.js: ^5.2.1
languageName: unknown
@@ -2371,12 +2371,12 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-bigint@10.2.2, @polkadot/x-bigint@workspace:packages/x-bigint":
"@polkadot/x-bigint@10.2.5, @polkadot/x-bigint@workspace:packages/x-bigint":
version: 0.0.0-use.local
resolution: "@polkadot/x-bigint@workspace:packages/x-bigint"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@polkadot/x-global": 10.2.5
languageName: unknown
linkType: soft
@@ -2385,7 +2385,7 @@ __metadata:
resolution: "@polkadot/x-bundle@workspace:packages/x-bundle"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/util": 10.2.2
"@polkadot/util": 10.2.5
buffer-es6: ^4.9.3
languageName: unknown
linkType: soft
@@ -2395,13 +2395,13 @@ __metadata:
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@polkadot/x-global": 10.2.5
"@types/node-fetch": ^2.6.2
node-fetch: ^3.3.0
languageName: unknown
linkType: soft
"@polkadot/x-global@10.2.2, @polkadot/x-global@workspace:packages/x-global":
"@polkadot/x-global@10.2.5, @polkadot/x-global@workspace:packages/x-global":
version: 0.0.0-use.local
resolution: "@polkadot/x-global@workspace:packages/x-global"
dependencies:
@@ -2409,31 +2409,31 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/x-randomvalues@10.2.2, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
"@polkadot/x-randomvalues@10.2.5, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
version: 0.0.0-use.local
resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@types/react-native": ^0.70.8
"@polkadot/x-global": 10.2.5
"@types/react-native": ^0.71.0
languageName: unknown
linkType: soft
"@polkadot/x-textdecoder@10.2.2, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
"@polkadot/x-textdecoder@10.2.5, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
version: 0.0.0-use.local
resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@polkadot/x-global": 10.2.5
languageName: unknown
linkType: soft
"@polkadot/x-textencoder@10.2.2, @polkadot/x-textencoder@workspace:packages/x-textencoder":
"@polkadot/x-textencoder@10.2.5, @polkadot/x-textencoder@workspace:packages/x-textencoder":
version: 0.0.0-use.local
resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@polkadot/x-global": 10.2.5
languageName: unknown
linkType: soft
@@ -2442,7 +2442,7 @@ __metadata:
resolution: "@polkadot/x-ws@workspace:packages/x-ws"
dependencies:
"@babel/runtime": ^7.20.7
"@polkadot/x-global": 10.2.2
"@polkadot/x-global": 10.2.5
"@types/websocket": ^1.0.5
websocket: ^1.0.34
languageName: unknown
@@ -2609,10 +2609,10 @@ __metadata:
languageName: node
linkType: hard
"@substrate/ss58-registry@npm:^1.36.0":
version: 1.36.0
resolution: "@substrate/ss58-registry@npm:1.36.0"
checksum: 4a804142d8f8cc693c2816e3eb4b5b195cc1d612f0f935b51ed9c77f980064b56b8001aae4aab7ec04d13f9ff7cde8346ac4d5e69ebabe52309713257dafb216
"@substrate/ss58-registry@npm:^1.37.0":
version: 1.37.0
resolution: "@substrate/ss58-registry@npm:1.37.0"
checksum: c70f9109318a53813b75db664bcc10738b407fd5dd9df1e9cb24a49157f6037b67061d9dc81a0174ec9281032277fdf2fef00a16ed8092bd35afa60061e6bfdd
languageName: node
linkType: hard
@@ -2939,12 +2939,12 @@ __metadata:
languageName: node
linkType: hard
"@types/react-native@npm:^0.70.8":
version: 0.70.8
resolution: "@types/react-native@npm:0.70.8"
"@types/react-native@npm:^0.71.0":
version: 0.71.0
resolution: "@types/react-native@npm:0.71.0"
dependencies:
"@types/react": "*"
checksum: e951992178f0a6a2a5bc5312824ad67146594840c03ec51156022eacb23e8db7be7470d0c9ad61828dbae840e531bf0cf553205b9dc290b358091329746fd094
checksum: 58332a3ab0bd239fa4211fd39d5143c8a6ae9c9b6217ebea1a8821eccfcc3b3805d9b69dd18eaf4917e9f656b9b59e2517591501b512ee7bd8cb12efa111a255
languageName: node
linkType: hard
@@ -3071,13 +3071,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.48.0"
"@typescript-eslint/eslint-plugin@npm:^5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.48.1"
dependencies:
"@typescript-eslint/scope-manager": 5.48.0
"@typescript-eslint/type-utils": 5.48.0
"@typescript-eslint/utils": 5.48.0
"@typescript-eslint/scope-manager": 5.48.1
"@typescript-eslint/type-utils": 5.48.1
"@typescript-eslint/utils": 5.48.1
debug: ^4.3.4
ignore: ^5.2.0
natural-compare-lite: ^1.4.0
@@ -3090,7 +3090,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: cb9cd62fd56670414795e30d30c9fa11ec7ad3a8b0abda48dd17625053a1c26ba1767184b096149bdd0ccb457bec6392306f22211b75f802f4b27366398d16eb
checksum: d8d73d123d16fc9b50b500ef21816dcabdffe0d2dcfdb15089dc5a1015d57cbad709de565d1c830f5058c0d7b410069e2554c0b53d1485fe7b237ea8089e58be
languageName: node
linkType: hard
@@ -3105,20 +3105,20 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/parser@npm:5.48.0"
"@typescript-eslint/parser@npm:^5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/parser@npm:5.48.1"
dependencies:
"@typescript-eslint/scope-manager": 5.48.0
"@typescript-eslint/types": 5.48.0
"@typescript-eslint/typescript-estree": 5.48.0
"@typescript-eslint/scope-manager": 5.48.1
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/typescript-estree": 5.48.1
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 41d5ce5c8742d286fb083523295a4f186e57bbe4e3da63b6b2de1edbafbcbf6d5225ed3405da2c56e2b0fe1d52bb72babc37508d2ee9b86f6fadad3c4a7950d0
checksum: c624d24eb209b4ce7f0a6c8116712363f10a9c9a5138f240e254ff265526ee4b0fd73b7b6b4b6a0e7611bd9934c42036350dd27f96ae2fa4efdade1a7ebd0e9e
languageName: node
linkType: hard
@@ -3132,22 +3132,22 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/scope-manager@npm:5.48.0"
"@typescript-eslint/scope-manager@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/scope-manager@npm:5.48.1"
dependencies:
"@typescript-eslint/types": 5.48.0
"@typescript-eslint/visitor-keys": 5.48.0
checksum: 96c0ce33d613490690ae6f34e4152f05dbddf3196a6dec89afba4a63cd2d828ae23a98262920b521fe461e7655d38f3a01e9e43588c12392a27bf8cb4f8ae201
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/visitor-keys": 5.48.1
checksum: f60a7efe917798cccf8652925de6be58b023ded6c6ee44ce74d074f0c2a1927680398a6d73bab33d500c69474ad8c54d63b90fcc6e13256712707d12a60e0a64
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/type-utils@npm:5.48.0"
"@typescript-eslint/type-utils@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/type-utils@npm:5.48.1"
dependencies:
"@typescript-eslint/typescript-estree": 5.48.0
"@typescript-eslint/utils": 5.48.0
"@typescript-eslint/typescript-estree": 5.48.1
"@typescript-eslint/utils": 5.48.1
debug: ^4.3.4
tsutils: ^3.21.0
peerDependencies:
@@ -3155,7 +3155,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 0d57e3bbcaa46e29b588b86b2271341b264f063e71ff5b6d4d35f50f2fe11bd6cdc3c4c95d78493fd17673ecdbd712992b84da1600947ed3bf6ae09de7b99464
checksum: 2739b35caf48c9edbeab82936de58ce0759ab34955ce7eec1786690d6a63146ae0a6c5d9c76034605d9fe200c87a73ede0772c6244c5df6e66df992d9ebbab72
languageName: node
linkType: hard
@@ -3173,10 +3173,10 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/types@npm:5.48.0"
checksum: fa27bd9ec7ec5f256b79a371bb05cfbc26902b6a395f38b0cff0e281633ebd76775ad18e41be1bb156868859287295f6833a2a671da57c6347ac7c6bc08a553b
"@typescript-eslint/types@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/types@npm:5.48.1"
checksum: 8437986e9d86d792b23327517ae2f9861ec55992d5a9cd55991e525409b6244169436cd708f3987ab7c579e45e59b6eab5a9d3583f7729219e25691164293094
languageName: node
linkType: hard
@@ -3198,12 +3198,12 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/typescript-estree@npm:5.48.0"
"@typescript-eslint/typescript-estree@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/typescript-estree@npm:5.48.1"
dependencies:
"@typescript-eslint/types": 5.48.0
"@typescript-eslint/visitor-keys": 5.48.0
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/visitor-keys": 5.48.1
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
@@ -3212,7 +3212,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 2444632243111e51bc83b56140514cb5978bef4d7151fede0dfcff8808afc1ad335b0c60ca86c2811bcc82273b87e59e2e0360bf1b8c014825ff818a1731d127
checksum: 2b26e5848ef131e1bb99ed54d8c0efa8279cf8e8f7d8b72de00c2ca6cf2799d96c20f5bbbcf26e14e81b7b9d1035ba509bff30f2d852c174815879e8f14c27ed
languageName: node
linkType: hard
@@ -3252,21 +3252,21 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/utils@npm:5.48.0"
"@typescript-eslint/utils@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/utils@npm:5.48.1"
dependencies:
"@types/json-schema": ^7.0.9
"@types/semver": ^7.3.12
"@typescript-eslint/scope-manager": 5.48.0
"@typescript-eslint/types": 5.48.0
"@typescript-eslint/typescript-estree": 5.48.0
"@typescript-eslint/scope-manager": 5.48.1
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/typescript-estree": 5.48.1
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
semver: ^7.3.7
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 53f512ae61f72c2b29f2daf8adbc1f37c400cc71156557f69f0745b62c1265d99917a168245e2ee3d88ae458144818d1bf41ced4a764d7d9534b466b29d362fd
checksum: 2d112cbb6a920f147c6c3322e404ca3c56c1170e1ede3bcbf16fb779960dc24cdba688b1f2d06acd242859fc1dbc8702da5f8fa8bbf53e7081e41d80bec4c236
languageName: node
linkType: hard
@@ -3290,13 +3290,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.48.0":
version: 5.48.0
resolution: "@typescript-eslint/visitor-keys@npm:5.48.0"
"@typescript-eslint/visitor-keys@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/visitor-keys@npm:5.48.1"
dependencies:
"@typescript-eslint/types": 5.48.0
"@typescript-eslint/types": 5.48.1
eslint-visitor-keys: ^3.3.0
checksum: 8d41fb7c93b79df415b43c31da7c9007074d78ab6f16c2d318c23e7974b578ce510f466a9584bd67c526367666974091cb5cfbf6670d29e36fb4ab2e57137515
checksum: 2bda10cf4e6bc48b0d463767617e48a832d708b9434665dff6ed101f7d33e0d592f02af17a2259bde1bd17e666246448ae78d0fe006148cb93d897fff9b1d134
languageName: node
linkType: hard
@@ -3843,7 +3843,7 @@ __metadata:
languageName: node
linkType: hard
"array-includes@npm:^3.1.2, array-includes@npm:^3.1.4, array-includes@npm:^3.1.6":
"array-includes@npm:^3.1.2, array-includes@npm:^3.1.6":
version: 3.1.6
resolution: "array-includes@npm:3.1.6"
dependencies:
@@ -3879,18 +3879,19 @@ __metadata:
languageName: node
linkType: hard
"array.prototype.flat@npm:^1.2.5":
version: 1.2.5
resolution: "array.prototype.flat@npm:1.2.5"
"array.prototype.flat@npm:^1.3.1":
version: 1.3.1
resolution: "array.prototype.flat@npm:1.3.1"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.0
checksum: 9cc6414b111abfc7717e39546e4887b1e5ec74df8f1618d83425deaa95752bf05d475d1d241253b4d88d4a01f8e1bc84845ad5b7cc2047f8db2f614512acd40e
define-properties: ^1.1.4
es-abstract: ^1.20.4
es-shim-unscopables: ^1.0.0
checksum: 5a8415949df79bf6e01afd7e8839bbde5a3581300e8ad5d8449dea52639e9e59b26a467665622783697917b43bf39940a6e621877c7dd9b3d1c1f97484b9b88b
languageName: node
linkType: hard
"array.prototype.flatmap@npm:^1.3.1":
"array.prototype.flatmap@npm:^1.3.0, array.prototype.flatmap@npm:^1.3.1":
version: 1.3.1
resolution: "array.prototype.flatmap@npm:1.3.1"
dependencies:
@@ -4024,16 +4025,16 @@ __metadata:
languageName: node
linkType: hard
"babel-plugin-module-resolver@npm:^4.1.0":
version: 4.1.0
resolution: "babel-plugin-module-resolver@npm:4.1.0"
"babel-plugin-module-resolver@npm:^5.0.0":
version: 5.0.0
resolution: "babel-plugin-module-resolver@npm:5.0.0"
dependencies:
find-babel-config: ^1.2.0
glob: ^7.1.6
find-babel-config: ^2.0.0
glob: ^8.0.3
pkg-up: ^3.1.0
reselect: ^4.0.0
resolve: ^1.13.1
checksum: 3907fba21ca3c66a081e01fbd16bb09c84781749db16aa57805becc376bb5ee8dc373d4b209613e1453d30ea6c836d13073e9e7b6d239ff1806dd1763a9ab18f
reselect: ^4.1.7
resolve: ^1.22.1
checksum: d6880e49fc8e7bac509a2c183b4303ee054a47a80032a59a6f7844bb468ebe5e333b5dc5378443afdab5839e2da2b31a6c8d9a985a0047cd076b82bb9161cc78
languageName: node
linkType: hard
@@ -5122,7 +5123,7 @@ __metadata:
languageName: node
linkType: hard
"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.6.9":
"debug@npm:2.6.9, debug@npm:^2.2.0":
version: 2.6.9
resolution: "debug@npm:2.6.9"
dependencies:
@@ -5846,23 +5847,26 @@ __metadata:
languageName: node
linkType: hard
"eslint-import-resolver-node@npm:^0.3.6":
version: 0.3.6
resolution: "eslint-import-resolver-node@npm:0.3.6"
"eslint-import-resolver-node@npm:^0.3.7":
version: 0.3.7
resolution: "eslint-import-resolver-node@npm:0.3.7"
dependencies:
debug: ^3.2.7
resolve: ^1.20.0
checksum: 6266733af1e112970e855a5bcc2d2058fb5ae16ad2a6d400705a86b29552b36131ffc5581b744c23d550de844206fb55e9193691619ee4dbf225c4bde526b1c8
is-core-module: ^2.11.0
resolve: ^1.22.1
checksum: 3379aacf1d2c6952c1b9666c6fa5982c3023df695430b0d391c0029f6403a7775414873d90f397e98ba6245372b6c8960e16e74d9e4a3b0c0a4582f3bdbe3d6e
languageName: node
linkType: hard
"eslint-module-utils@npm:^2.7.3":
version: 2.7.3
resolution: "eslint-module-utils@npm:2.7.3"
"eslint-module-utils@npm:^2.7.4":
version: 2.7.4
resolution: "eslint-module-utils@npm:2.7.4"
dependencies:
debug: ^3.2.7
find-up: ^2.1.0
checksum: 77048263f309167a1e6a1e1b896bfb5ddd1d3859b2e2abbd9c32c432aee13d610d46e6820b1ca81b37fba437cf423a404bc6649be64ace9148a3062d1886a678
peerDependenciesMeta:
eslint:
optional: true
checksum: 5da13645daff145a5c922896b258f8bba560722c3767254e458d894ff5fbb505d6dfd945bffa932a5b0ae06714da2379bd41011c4c20d2d59cc83e23895360f7
languageName: node
linkType: hard
@@ -5912,32 +5916,34 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-import@npm:^2.26.0":
version: 2.26.0
resolution: "eslint-plugin-import@npm:2.26.0"
"eslint-plugin-import@npm:^2.27.4":
version: 2.27.4
resolution: "eslint-plugin-import@npm:2.27.4"
dependencies:
array-includes: ^3.1.4
array.prototype.flat: ^1.2.5
debug: ^2.6.9
array-includes: ^3.1.6
array.prototype.flat: ^1.3.1
array.prototype.flatmap: ^1.3.0
debug: ^3.2.7
doctrine: ^2.1.0
eslint-import-resolver-node: ^0.3.6
eslint-module-utils: ^2.7.3
eslint-import-resolver-node: ^0.3.7
eslint-module-utils: ^2.7.4
has: ^1.0.3
is-core-module: ^2.8.1
is-core-module: ^2.11.0
is-glob: ^4.0.3
minimatch: ^3.1.2
object.values: ^1.1.5
resolve: ^1.22.0
object.values: ^1.1.6
resolve: ^1.22.1
semver: ^6.3.0
tsconfig-paths: ^3.14.1
peerDependencies:
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
checksum: 0bf77ad80339554481eafa2b1967449e1f816b94c7a6f9614ce33fb4083c4e6c050f10d241dd50b4975d47922880a34de1e42ea9d8e6fd663ebb768baa67e655
checksum: e298a9b1fde6d86737520c7da1d851d1facbf1883e29eddfd374a813eb05a647108c072d5c852b6bf535886c435a419f2fee1d6ae3a324d6f7877d957a796e37
languageName: node
linkType: hard
"eslint-plugin-n@npm:^15.6.0":
version: 15.6.0
resolution: "eslint-plugin-n@npm:15.6.0"
"eslint-plugin-n@npm:^15.6.1":
version: 15.6.1
resolution: "eslint-plugin-n@npm:15.6.1"
dependencies:
builtins: ^5.0.1
eslint-plugin-es: ^4.1.0
@@ -5949,7 +5955,7 @@ __metadata:
semver: ^7.3.8
peerDependencies:
eslint: ">=7.0.0"
checksum: 629dc3e8c83010cf8aced555f4d36f6fceeea65b0c580123ca36e44b7cb6a19a71718c30168a506a569d205b1f961a74ebe9e44148c33ed923116180b04be45b
checksum: 269d6f28967acadaaf6b6bb362d564bf5772545b1990053fb2a3c18f8683f9ffe708cda8c0de3dfddb4e86b63e738ab93634915b84649f51d3bb1783253d4b91
languageName: node
linkType: hard
@@ -5971,9 +5977,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-react@npm:^7.31.11":
version: 7.31.11
resolution: "eslint-plugin-react@npm:7.31.11"
"eslint-plugin-react@npm:^7.32.0":
version: 7.32.0
resolution: "eslint-plugin-react@npm:7.32.0"
dependencies:
array-includes: ^3.1.6
array.prototype.flatmap: ^1.3.1
@@ -5987,12 +5993,12 @@ __metadata:
object.hasown: ^1.1.2
object.values: ^1.1.6
prop-types: ^15.8.1
resolve: ^2.0.0-next.3
resolve: ^2.0.0-next.4
semver: ^6.3.0
string.prototype.matchall: ^4.0.8
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
checksum: a3d612f6647bef33cf2a67c81a6b37b42c075300ed079cffecf5fb475c0d6ab855c1de340d1cbf361a0126429fb906dda597527235d2d12c4404453dbc712fc6
checksum: b81ce2623b50a936287d8e21997bd855094e643856c99b42a9f0c10e1c7b123e469c3d75f77df9eefb719fee2b47a763862f1cdca1e7cc26edc7cde2fb8cba87
languageName: node
linkType: hard
@@ -6513,13 +6519,13 @@ __metadata:
languageName: node
linkType: hard
"find-babel-config@npm:^1.2.0":
version: 1.2.0
resolution: "find-babel-config@npm:1.2.0"
"find-babel-config@npm:^2.0.0":
version: 2.0.0
resolution: "find-babel-config@npm:2.0.0"
dependencies:
json5: ^0.5.1
path-exists: ^3.0.0
checksum: 0a1785d3da9f38637885d9d65f183aaa072f51a834f733035e9694e4d0f6983ae8c8e75cd4e08b92af6f595b3b490ee813a1c5a9b14740685aa836fa1e878583
json5: ^2.1.1
path-exists: ^4.0.0
checksum: d110308b02fe6a6411a0cfb7fd50af6740fbf5093eada3d6ddacf99b07fc8eea4aa3475356484710a0032433029a21ce733bb3ef88fda1d6e35c29a3e4983014
languageName: node
linkType: hard
@@ -6552,15 +6558,6 @@ __metadata:
languageName: node
linkType: hard
"find-up@npm:^2.1.0":
version: 2.1.0
resolution: "find-up@npm:2.1.0"
dependencies:
locate-path: ^2.0.0
checksum: 43284fe4da09f89011f08e3c32cd38401e786b19226ea440b75386c1b12a4cb738c94969808d53a84f564ede22f732c8409e3cfc3f7fb5b5c32378ad0bbf28bd
languageName: node
linkType: hard
"find-up@npm:^3.0.0":
version: 3.0.0
resolution: "find-up@npm:3.0.0"
@@ -7676,7 +7673,7 @@ __metadata:
languageName: node
linkType: hard
"is-core-module@npm:^2.11.0, is-core-module@npm:^2.2.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0":
"is-core-module@npm:^2.11.0, is-core-module@npm:^2.9.0":
version: 2.11.0
resolution: "is-core-module@npm:2.11.0"
dependencies:
@@ -8693,15 +8690,6 @@ __metadata:
languageName: node
linkType: hard
"json5@npm:^0.5.1":
version: 0.5.1
resolution: "json5@npm:0.5.1"
bin:
json5: lib/cli.js
checksum: 9b85bf06955b23eaa4b7328aa8892e3887e81ca731dd27af04a5f5f1458fbc5e1de57a24442e3272f8a888dd1abe1cb68eb693324035f6b3aeba4fcab7667d62
languageName: node
linkType: hard
"json5@npm:^1.0.1":
version: 1.0.1
resolution: "json5@npm:1.0.1"
@@ -8713,7 +8701,7 @@ __metadata:
languageName: node
linkType: hard
"json5@npm:^2.2.2":
"json5@npm:^2.1.1, json5@npm:^2.2.2":
version: 2.2.3
resolution: "json5@npm:2.2.3"
bin:
@@ -8870,16 +8858,6 @@ __metadata:
languageName: node
linkType: hard
"locate-path@npm:^2.0.0":
version: 2.0.0
resolution: "locate-path@npm:2.0.0"
dependencies:
p-locate: ^2.0.0
path-exists: ^3.0.0
checksum: 02d581edbbbb0fa292e28d96b7de36b5b62c2fa8b5a7e82638ebb33afa74284acf022d3b1e9ae10e3ffb7658fbc49163fcd5e76e7d1baaa7801c3e05a81da755
languageName: node
linkType: hard
"locate-path@npm:^3.0.0":
version: 3.0.0
resolution: "locate-path@npm:3.0.0"
@@ -9680,7 +9658,7 @@ __metadata:
languageName: node
linkType: hard
"object.values@npm:^1.1.5, object.values@npm:^1.1.6":
"object.values@npm:^1.1.6":
version: 1.1.6
resolution: "object.values@npm:1.1.6"
dependencies:
@@ -9818,15 +9796,6 @@ __metadata:
languageName: node
linkType: hard
"p-limit@npm:^1.1.0":
version: 1.3.0
resolution: "p-limit@npm:1.3.0"
dependencies:
p-try: ^1.0.0
checksum: 281c1c0b8c82e1ac9f81acd72a2e35d402bf572e09721ce5520164e9de07d8274451378a3470707179ad13240535558f4b277f02405ad752e08c7d5b0d54fbfd
languageName: node
linkType: hard
"p-limit@npm:^2.0.0, p-limit@npm:^2.2.0":
version: 2.3.0
resolution: "p-limit@npm:2.3.0"
@@ -9845,15 +9814,6 @@ __metadata:
languageName: node
linkType: hard
"p-locate@npm:^2.0.0":
version: 2.0.0
resolution: "p-locate@npm:2.0.0"
dependencies:
p-limit: ^1.1.0
checksum: e2dceb9b49b96d5513d90f715780f6f4972f46987dc32a0e18bc6c3fc74a1a5d73ec5f81b1398af5e58b99ea1ad03fd41e9181c01fa81b4af2833958696e3081
languageName: node
linkType: hard
"p-locate@npm:^3.0.0":
version: 3.0.0
resolution: "p-locate@npm:3.0.0"
@@ -9891,13 +9851,6 @@ __metadata:
languageName: node
linkType: hard
"p-try@npm:^1.0.0":
version: 1.0.0
resolution: "p-try@npm:1.0.0"
checksum: 3b5303f77eb7722144154288bfd96f799f8ff3e2b2b39330efe38db5dd359e4fb27012464cd85cb0a76e9b7edd1b443568cb3192c22e7cffc34989df0bafd605
languageName: node
linkType: hard
"p-try@npm:^2.0.0":
version: 2.2.0
resolution: "p-try@npm:2.2.0"
@@ -9989,7 +9942,7 @@ __metadata:
languageName: node
linkType: hard
"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7":
"path-parse@npm:^1.0.7":
version: 1.0.7
resolution: "path-parse@npm:1.0.7"
checksum: 49abf3d81115642938a8700ec580da6e830dde670be21893c62f4e10bd7dd4c3742ddc603fe24f898cba7eb0c6bc1777f8d9ac14185d34540c6d4d80cd9cae8a
@@ -10247,12 +10200,12 @@ __metadata:
languageName: node
linkType: hard
"prettier@npm:^1.18.2 || ^2.0.0, prettier@npm:^2.8.1":
version: 2.8.1
resolution: "prettier@npm:2.8.1"
"prettier@npm:^1.18.2 || ^2.0.0, prettier@npm:^2.8.2":
version: 2.8.2
resolution: "prettier@npm:2.8.2"
bin:
prettier: bin-prettier.js
checksum: 4f21a0f1269f76fb36f54e9a8a1ea4c11e27478958bf860661fb4b6d7ac69aac1581f8724fa98ea3585e56d42a2ea317a17ff6e3324f40cb11ff9e20b73785cc
checksum: 740c56c2128d587d656ea1dde9bc9c3503dfc94db4f3ac387259215eeb2e216680bdad9d18a0c9feecc6b42cfa188d6fa777df4c36c1d00cedd4199074fbfbd2
languageName: node
linkType: hard
@@ -10692,10 +10645,10 @@ __metadata:
languageName: node
linkType: hard
"reselect@npm:^4.0.0":
version: 4.0.0
resolution: "reselect@npm:4.0.0"
checksum: ac7dfc9ef2cdb42b6fc87a856f3ce904c2e4363a2bc1e6fb7eea5f78902a6f506e4388e6509752984877c6dbfe501100c076671d334799eb5a1bfe9936cb2c12
"reselect@npm:^4.1.7":
version: 4.1.7
resolution: "reselect@npm:4.1.7"
checksum: 738d8e2b8f0dca154ad29de6a209c9fbca2d70ae6788fd85df87f2c74b95a65bbf2d16d43a9e2faff39de34d17a29d706ba08a6b2ee5660c09589edbd19af7e1
languageName: node
linkType: hard
@@ -10736,7 +10689,7 @@ __metadata:
languageName: node
linkType: hard
"resolve@^1.1.6, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1":
"resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@npm:^1.22.1":
version: 1.22.1
resolution: "resolve@npm:1.22.1"
dependencies:
@@ -10749,17 +10702,20 @@ __metadata:
languageName: node
linkType: hard
resolve@^2.0.0-next.3:
version: 2.0.0-next.3
resolution: "resolve@npm:2.0.0-next.3"
"resolve@npm:^2.0.0-next.4":
version: 2.0.0-next.4
resolution: "resolve@npm:2.0.0-next.4"
dependencies:
is-core-module: ^2.2.0
path-parse: ^1.0.6
checksum: f34b3b93ada77d64a6d590c06a83e198f3a827624c4ec972260905fa6c4d612164fbf0200d16d2beefea4ad1755b001f4a9a1293d8fc2322a8f7d6bf692c4ff5
is-core-module: ^2.9.0
path-parse: ^1.0.7
supports-preserve-symlinks-flag: ^1.0.0
bin:
resolve: bin/resolve
checksum: c438ac9a650f2030fd074219d7f12ceb983b475da2d89ad3d6dd05fbf6b7a0a8cd37d4d10b43cb1f632bc19f22246ab7f36ebda54d84a29bfb2910a0680906d3
languageName: node
linkType: hard
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.13.1#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>":
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>":
version: 1.22.1
resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin<compat/resolve>::version=1.22.1&hash=07638b"
dependencies:
@@ -10772,13 +10728,16 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"resolve@patch:resolve@^2.0.0-next.3#~builtin<compat/resolve>":
version: 2.0.0-next.3
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.3#~builtin<compat/resolve>::version=2.0.0-next.3&hash=07638b"
"resolve@patch:resolve@^2.0.0-next.4#~builtin<compat/resolve>":
version: 2.0.0-next.4
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin<compat/resolve>::version=2.0.0-next.4&hash=07638b"
dependencies:
is-core-module: ^2.2.0
path-parse: ^1.0.6
checksum: 21684b4d99a4877337cdbd5484311c811b3e8910edb5d868eec85c6e6550b0f570d911f9a384f9e176172d6713f2715bd0b0887fa512cb8c6aeece018de6a9f8
is-core-module: ^2.9.0
path-parse: ^1.0.7
supports-preserve-symlinks-flag: ^1.0.0
bin:
resolve: bin/resolve
checksum: 4bf9f4f8a458607af90518ff73c67a4bc1a38b5a23fef2bb0ccbd45e8be89820a1639b637b0ba377eb2be9eedfb1739a84cde24fe4cd670c8207d8fea922b011
languageName: node
linkType: hard
@@ -10857,9 +10816,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"rollup@npm:^3.9.1":
version: 3.9.1
resolution: "rollup@npm:3.9.1"
"rollup@npm:^3.10.0":
version: 3.10.0
resolution: "rollup@npm:3.10.0"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -10867,7 +10826,7 @@ resolve@^2.0.0-next.3:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 929cfab6b8bb2e20c28d7a4c3909b53729f4a63d8cc14f3b1a217d5f8e550737ee0903124ba58a1f2e7efd45c596e044a968aa379411731d0e76c910621d7d3f
checksum: 31a882689c58d084ac36362aeaf2422dc4b80d671bd88c856693c37d63a26ddac9b9819dfba7f79c2d50d5207868b0e3d75f728fe551bbc347cf5dedf8ece18e
languageName: node
linkType: hard
@@ -10876,7 +10835,7 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.20.12
"@polkadot/dev": ^0.67.177
"@polkadot/dev": ^0.67.178
"@types/jest": ^29.2.5
languageName: unknown
linkType: soft