diff --git a/package.json b/package.json index dc1191693e..13c1f12612 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "test:one": "polkadot-dev-run-test --env node" }, "devDependencies": { - "@polkadot/dev": "^0.75.19", + "@polkadot/dev": "^0.75.21", "@polkadot/typegen": "workspace:packages/typegen", - "@types/node": "^20.2.5" + "@types/node": "^20.3.1" }, "resolutions": { "typescript": "^5.0.4" diff --git a/packages/api-contract/src/Abi/Abi.spec.ts b/packages/api-contract/src/Abi/Abi.spec.ts index 8961b3e6b2..317aa59450 100644 --- a/packages/api-contract/src/Abi/Abi.spec.ts +++ b/packages/api-contract/src/Abi/Abi.spec.ts @@ -6,7 +6,6 @@ import type { Registry } from '@polkadot/types/types'; import fs from 'node:fs'; -import path from 'node:path'; import process from 'node:process'; import { TypeDefInfo } from '@polkadot/types/types'; @@ -44,12 +43,9 @@ interface JSONAbi { } } -// FIXME When Jest is removed with ESM tests, this should be converted to use import.meta.url -const cmpPath = path.join(process.cwd(), 'packages/api-contract/src/test/compare'); - function stringifyInfo (key: string, value: unknown): unknown { - return key === 'info' - ? TypeDefInfo[value as number] + return key === 'info' && typeof value === 'number' + ? TypeDefInfo[value] : value; } @@ -92,7 +88,7 @@ describe('Abi', (): void => { it(`initializes from a contract ABI: ${abiName}`, (): void => { const abi = new Abi(abiJson); const registryJson = stringifyJson(abi.registry); - const cmpFile = path.join(cmpPath, `${abiName}.test.json`); + const cmpFile = new URL(`../test/compare/${abiName}.test.json`, import.meta.url); try { expect( diff --git a/packages/api-contract/src/base/Code.spec.ts b/packages/api-contract/src/base/Code.spec.ts index 94022ad5a1..1951287cd7 100644 --- a/packages/api-contract/src/base/Code.spec.ts +++ b/packages/api-contract/src/base/Code.spec.ts @@ -4,8 +4,6 @@ /// import fs from 'node:fs'; -import path from 'node:path'; -import process from 'node:process'; import { toPromiseMethod } from '@polkadot/api'; @@ -15,8 +13,7 @@ import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' a import { Code } from './Code.js'; import { mockApi } from './mock.js'; -// FIXME When Jest is removed with ESM tests, this should be converted to use import.meta.url -const v0wasmFlipper = fs.readFileSync(path.join(process.cwd(), 'packages/api-contract/src/test/contracts/ink/v0/flipper.wasm'), 'utf-8'); +const v0wasmFlipper = fs.readFileSync(new URL('../test/contracts/ink/v0/flipper.wasm', import.meta.url), 'utf-8'); describe('Code', (): void => { it('can construct with an individual ABI/WASM combo', (): void => { diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index a6d67dbd05..d0503f6994 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -35,9 +35,9 @@ "tslib": "^2.5.3" }, "devDependencies": { - "@substrate/connect": "0.7.26" + "@substrate/connect": "0.7.29" }, "optionalDependencies": { - "@substrate/connect": "0.7.26" + "@substrate/connect": "0.7.29" } } diff --git a/packages/rpc-provider/src/substrate-connect/index.spec.ts b/packages/rpc-provider/src/substrate-connect/index.spec.ts index a7a5c85c3a..9bd368c2de 100644 --- a/packages/rpc-provider/src/substrate-connect/index.spec.ts +++ b/packages/rpc-provider/src/substrate-connect/index.spec.ts @@ -6,6 +6,8 @@ import type * as Sc from '@substrate/connect'; import type { HealthChecker, SmoldotHealth } from './types.js'; +import { stringify } from '@polkadot/util'; + import { ScProvider } from './index.js'; interface MockChain extends Sc.Chain { @@ -100,7 +102,9 @@ function getFakeChain (spec: string, callback: Sc.JsonRpcCallback): MockChain { _spec: () => spec, _triggerCallback: (response) => { callback( - typeof response === 'string' ? response : JSON.stringify(response) + typeof response === 'string' + ? response + : stringify(response) ); }, remove: () => { diff --git a/packages/typegen/src/generate/tsDef.ts b/packages/typegen/src/generate/tsDef.ts index 17b6b268f9..80acfa89cd 100644 --- a/packages/typegen/src/generate/tsDef.ts +++ b/packages/typegen/src/generate/tsDef.ts @@ -153,7 +153,7 @@ function tsResult (registry: Registry, definitions: Record, /** @internal */ function tsSi (_registry: Registry, _definitions: Record, typeDef: TypeDef, _imports: TypeImports): string { // FIXME - return `// SI: ${JSON.stringify(typeDef)}`; + return `// SI: ${stringify(typeDef)}`; } /** @internal */ diff --git a/packages/typegen/src/util/wsMeta.ts b/packages/typegen/src/util/wsMeta.ts index f80b205631..745b70473b 100644 --- a/packages/typegen/src/util/wsMeta.ts +++ b/packages/typegen/src/util/wsMeta.ts @@ -4,6 +4,7 @@ import type { HexString } from '@polkadot/util/types'; import { promiseTracker } from '@polkadot/api/promise/decorateMethod'; +import { stringify } from '@polkadot/util'; import { WebSocket } from '@polkadot/x-ws'; async function getWsData (endpoint: string, method: 'rpc_methods' | 'state_getMetadata' | 'state_getRuntimeVersion'): Promise { @@ -20,7 +21,7 @@ async function getWsData (endpoint: string, method: 'rpc_methods' | 'state_g }; websocket.onerror = (event: unknown): void => { - tracker.reject(new Error(`WebSocket error:: ${JSON.stringify(event)}`)); + tracker.reject(new Error(`WebSocket error:: ${stringify(event)}`)); }; websocket.onopen = (): void => { diff --git a/packages/types-codec/src/base/Enum.spec.ts b/packages/types-codec/src/base/Enum.spec.ts index a49039036f..b8c7c2cacc 100644 --- a/packages/types-codec/src/base/Enum.spec.ts +++ b/packages/types-codec/src/base/Enum.spec.ts @@ -7,7 +7,7 @@ import type { Registry } from '@polkadot/types-codec/types'; import { TypeRegistry } from '@polkadot/types'; import { Enum, Null, Text, U32 } from '@polkadot/types-codec'; -import { u8aToHex } from '@polkadot/util'; +import { stringify, u8aToHex } from '@polkadot/util'; import { perf } from '../test/performance.js'; @@ -358,7 +358,7 @@ describe('Enum', (): void => { it('has a sane output for basic enums', (): void => { expect( new Enum(registry, ['foo', 'bar']).toRawType() - ).toEqual(JSON.stringify({ _enum: ['foo', 'bar'] })); + ).toEqual(stringify({ _enum: ['foo', 'bar'] })); }); it('has a sane output for typed enums', (): void => { @@ -366,7 +366,7 @@ describe('Enum', (): void => { // eslint-disable-next-line sort-keys new Enum(registry, { foo: Text, bar: U32 }).toRawType() // eslint-disable-next-line sort-keys - ).toEqual(JSON.stringify({ _enum: { foo: 'Text', bar: 'u32' } })); + ).toEqual(stringify({ _enum: { foo: 'Text', bar: 'u32' } })); }); it('re-creates via rawType (c-like)', (): void => { @@ -401,7 +401,7 @@ describe('Enum', (): void => { }); it('creates proper raw structure', (): void => { - expect(new Test(registry).toRawType()).toEqual(JSON.stringify({ + expect(new Test(registry).toRawType()).toEqual(stringify({ _enum: { A: 5, B: 42, diff --git a/packages/types-codec/src/native/Set.spec.ts b/packages/types-codec/src/native/Set.spec.ts index fdd1f440e5..1a7715773a 100644 --- a/packages/types-codec/src/native/Set.spec.ts +++ b/packages/types-codec/src/native/Set.spec.ts @@ -7,6 +7,7 @@ import { TypeRegistry } from '@polkadot/types'; import { CodecSet } from '@polkadot/types-codec'; +import { stringify } from '@polkadot/util'; // TODO actually import these from definitions, don't re-define here const SET_FIELDS = { @@ -108,7 +109,7 @@ describe('Set', (): void => { it('has a sane toRawType representation', (): void => { expect( new CodecSet(registry, { a: 1, b: 2, c: 345 }).toRawType() - ).toEqual(JSON.stringify({ + ).toEqual(stringify({ _set: { a: 1, b: 2, c: 345 } })); }); diff --git a/packages/types-codec/src/native/Struct.spec.ts b/packages/types-codec/src/native/Struct.spec.ts index 2f8b9ff876..b6c2f43214 100644 --- a/packages/types-codec/src/native/Struct.spec.ts +++ b/packages/types-codec/src/native/Struct.spec.ts @@ -10,6 +10,7 @@ import type { CodecTo } from '@polkadot/types-codec/types'; import { TypeRegistry } from '@polkadot/types'; import { Enum, Struct, Text, U32, Vec } from '@polkadot/types-codec'; +import { stringify } from '@polkadot/util'; import { TEST_A } from './Struct.data.js'; @@ -314,7 +315,7 @@ describe('Struct', (): void => { counter: U32, vector: Vec.with('AccountId') }).toRawType() - ).toEqual(JSON.stringify({ + ).toEqual(stringify({ accountId: 'AccountId', balanceCompact: 'Compact', // Override in Uint blockNumber: 'BlockNumber', @@ -333,7 +334,7 @@ describe('Struct', (): void => { expect( new Type(registry).toRawType() - ).toEqual(JSON.stringify({ + ).toEqual(stringify({ accountId: 'AccountId', balance: 'Balance' // Override in Uint })); diff --git a/packages/types-create/src/util/getTypeDef.spec.ts b/packages/types-create/src/util/getTypeDef.spec.ts index 6fa6bddc97..e86333ba53 100644 --- a/packages/types-create/src/util/getTypeDef.spec.ts +++ b/packages/types-create/src/util/getTypeDef.spec.ts @@ -5,6 +5,7 @@ import { TypeRegistry } from '@polkadot/types'; import { getTypeDef, TypeDefInfo } from '@polkadot/types-create'; +import { stringify } from '@polkadot/util'; describe('getTypeDef', (): void => { it('maps empty tuples to empty tuple', (): void => { @@ -439,7 +440,7 @@ describe('getTypeDef', (): void => { it('creates a nested enum with tuple/struct', (): void => { expect( - getTypeDef(JSON.stringify({ + getTypeDef(stringify({ _enum: { A: 'u32', B: '(u32, bool)', @@ -513,7 +514,7 @@ describe('getTypeDef', (): void => { it('creates a nested struct with struct/tuple', (): void => { expect( - getTypeDef(JSON.stringify({ + getTypeDef(stringify({ a: 'u32', b: '(u32, bool)', c: { diff --git a/packages/types-create/src/util/getTypeDef.ts b/packages/types-create/src/util/getTypeDef.ts index 8cd335ac48..906c09e587 100644 --- a/packages/types-create/src/util/getTypeDef.ts +++ b/packages/types-create/src/util/getTypeDef.ts @@ -5,7 +5,7 @@ import type { AnyString } from '@polkadot/types-codec/types'; import type { TypeDef } from '@polkadot/types-create/types'; import { sanitize } from '@polkadot/types-codec'; -import { isNumber, isString, objectSpread } from '@polkadot/util'; +import { isNumber, isString, objectSpread, stringify } from '@polkadot/util'; import { TypeDefInfo } from '../types/index.js'; import { typeSplit } from './typeSplit.js'; @@ -36,7 +36,7 @@ const KNOWN_INTERNALS = ['_alias', '_fallback']; function getTypeString (typeOrObj: any): string { return isString(typeOrObj) ? typeOrObj.toString() - : JSON.stringify(typeOrObj); + : stringify(typeOrObj); } function isRustEnum (details: Record | Record): details is Record { diff --git a/packages/types-known/src/upgrades/e2e/index.spec.ts b/packages/types-known/src/upgrades/e2e/index.spec.ts index 156a9399aa..7af64f7e67 100644 --- a/packages/types-known/src/upgrades/e2e/index.spec.ts +++ b/packages/types-known/src/upgrades/e2e/index.spec.ts @@ -9,6 +9,7 @@ import type { ChainUpgradesExpanded } from '../types.js'; import fs from 'node:fs'; import { ApiPromise, WsProvider } from '@polkadot/api'; +import { stringify } from '@polkadot/util'; import * as allMan from '../manual/index.js'; import * as allGen from './index.js'; @@ -39,7 +40,7 @@ for (const chain of keys) { import type { ChainUpgradesExpanded } from '../types.js'; - export const upgrades: ChainUpgradesExpanded = ${JSON.stringify(final, null, 2)}; + export const upgrades: ChainUpgradesExpanded = ${stringify(final, 2)}; `); await api.disconnect(); }); diff --git a/packages/types/src/generic/Block.spec.ts b/packages/types/src/generic/Block.spec.ts index fb36a8e5b2..581d2282b2 100644 --- a/packages/types/src/generic/Block.spec.ts +++ b/packages/types/src/generic/Block.spec.ts @@ -10,6 +10,7 @@ import type { BlockValue } from './Block.js'; import block00300 from '@polkadot/types-support/json/SignedBlock.003.00.json' assert { type: 'json' }; import metadataStatic from '@polkadot/types-support/metadata/static-substrate'; +import { stringify } from '@polkadot/util'; import { TypeRegistry } from '../create/index.js'; import { Metadata } from '../metadata/index.js'; @@ -32,7 +33,7 @@ describe('Block', (): void => { new Block(registry).toRawType() ).toEqual( // each of the containing structures have been stringified on their own - JSON.stringify({ + stringify({ header: 'Header', extrinsics: 'Vec' }) diff --git a/packages/types/src/metadata/util/testUtil.ts b/packages/types/src/metadata/util/testUtil.ts index cbd5750ff0..8bd98220e2 100644 --- a/packages/types/src/metadata/util/testUtil.ts +++ b/packages/types/src/metadata/util/testUtil.ts @@ -10,7 +10,6 @@ import type { MetaVersionAll } from '../versions.js'; import type { Check } from './types.js'; import fs from 'node:fs'; -import path from 'node:path'; import { hexToU8a, stringCamelCase, stringify, u8aToHex } from '@polkadot/util'; @@ -37,8 +36,8 @@ interface MetadataJson { } } -function getJsonName (version: number, type: string, sub: 'json' | 'types'): string { - return path.join(process.cwd(), `packages/types-support/src/metadata/v${version}/${type}-${sub}.json`); +function getJsonName (version: number, type: string, sub: 'json' | 'types'): URL { + return new URL(`../../../../types-support/src/metadata/v${version}/${type}-${sub}.json`, import.meta.url); } function writeJson (json: unknown, version: number, type: string, sub: 'json' | 'types'): void { diff --git a/packages/types/src/metadata/util/toCallsOnly.spec.ts b/packages/types/src/metadata/util/toCallsOnly.spec.ts index 56b45a6562..c0fefc6db2 100644 --- a/packages/types/src/metadata/util/toCallsOnly.spec.ts +++ b/packages/types/src/metadata/util/toCallsOnly.spec.ts @@ -5,6 +5,7 @@ import staticLatest from '@polkadot/types-support/metadata/static-substrate'; import staticV13 from '@polkadot/types-support/metadata/v13/substrate-hex'; +import { stringify } from '@polkadot/util'; import { TypeRegistry } from '../../create/index.js'; import { Metadata } from '../Metadata.js'; @@ -18,7 +19,7 @@ describe('toCallsOnly', (): void => { try { expect(stripped).toBeDefined(); } catch (error) { - console.error(JSON.stringify(stripped)); + console.error(stringify(stripped)); throw error; } @@ -30,7 +31,7 @@ describe('toCallsOnly', (): void => { try { expect(stripped).toBeDefined(); } catch (error) { - console.error(JSON.stringify(stripped)); + console.error(stringify(stripped)); throw error; } diff --git a/yarn.lock b/yarn.lock index 29d23930f9..19b921f72f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -468,43 +468,43 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev-test@npm:^0.75.19": - version: 0.75.19 - resolution: "@polkadot/dev-test@npm:0.75.19" +"@polkadot/dev-test@npm:^0.75.21": + version: 0.75.21 + resolution: "@polkadot/dev-test@npm:0.75.21" dependencies: jsdom: ^22.1.0 tslib: ^2.5.3 - checksum: a3c187fde1b9512e11c3917df54912fdb01adb2e9e9eb8893f6916ea2c33bf4883dad253388dcaa606171f5047fedb0a5ed6ff3b9fa256c6ff94dcc1398c6f1c + checksum: b117e92207f1ed2dd345db085d6c194c1c690a61d6ff1f41f0346e777d3934a76592c6c8b6beeb2c2eaedebb26cb45bd5a7deb704b7cfbcdb1f8bc93d7fc382d languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.75.19": - version: 0.75.19 - resolution: "@polkadot/dev-ts@npm:0.75.19" +"@polkadot/dev-ts@npm:^0.75.21": + version: 0.75.21 + resolution: "@polkadot/dev-ts@npm:0.75.21" dependencies: json5: ^2.2.3 tslib: ^2.5.3 typescript: ^5.1.3 - checksum: efc93f826c5dd1c54b472a61e8cdaeb83f167eaa94194b391d22b8adf2bcf578ed2b9251c863c45907b43ce45c12cde441872f43b1bc69c03983c1a4ee7c2e87 + checksum: a4f2a419442b79ca215c14f45cd2b3caa5e1af14b4d8673190eb11df5b1cdf814dfec6c2e5e122723fcbc0231a78a26645d8d47b168963709f7a0639cba85c12 languageName: node linkType: hard -"@polkadot/dev@npm:^0.75.19": - version: 0.75.19 - resolution: "@polkadot/dev@npm:0.75.19" +"@polkadot/dev@npm:^0.75.21": + version: 0.75.21 + resolution: "@polkadot/dev@npm:0.75.21" dependencies: "@eslint/js": ^8.42.0 - "@polkadot/dev-test": ^0.75.19 - "@polkadot/dev-ts": ^0.75.19 + "@polkadot/dev-test": ^0.75.21 + "@polkadot/dev-ts": ^0.75.21 "@rollup/plugin-alias": ^5.0.0 - "@rollup/plugin-commonjs": ^25.0.0 + "@rollup/plugin-commonjs": ^25.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 "@rollup/plugin-inject": ^5.0.3 "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.1.0 "@tsconfig/strictest": ^2.0.1 - "@typescript-eslint/eslint-plugin": ^5.59.9 - "@typescript-eslint/parser": ^5.59.9 + "@typescript-eslint/eslint-plugin": ^5.59.11 + "@typescript-eslint/parser": ^5.59.11 eslint: ^8.42.0 eslint-config-standard: ^17.1.0 eslint-import-resolver-node: ^0.3.7 @@ -526,13 +526,13 @@ __metadata: globals: ^13.20.0 json5: ^2.2.3 madge: ^6.1.0 - rollup: ^3.24.0 + rollup: ^3.25.1 rollup-plugin-cleanup: ^3.2.1 tslib: ^2.5.3 typescript: ^5.1.3 webpack: ^5.86.0 webpack-cli: ^5.1.4 - webpack-dev-server: ^4.15.0 + webpack-dev-server: ^4.15.1 webpack-merge: ^5.9.0 webpack-subresource-integrity: ^5.2.0-rc.1 yargs: ^17.7.2 @@ -560,7 +560,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: ab5e3c64f125508c068ca2e3f784947b1ddd1196f71cfc820b9bd11fae28548926865f18dadbb8321a646dba4d80f44122890a54efb97bef370b92a2e5f0fc46 + checksum: a63dfee4295f1596a0bac8927cca61a968c5ee4cddc56fdd20e4799272337edcc76aabf89634ed770ebd22dc666a973ecabd9d2bb404659d999ab668b7793e93 languageName: node linkType: hard @@ -627,7 +627,7 @@ __metadata: "@polkadot/x-fetch": ^12.3.2 "@polkadot/x-global": ^12.3.2 "@polkadot/x-ws": ^12.3.2 - "@substrate/connect": 0.7.26 + "@substrate/connect": 0.7.29 eventemitter3: ^5.0.1 mock-socket: ^9.2.1 nock: ^13.3.1 @@ -946,9 +946,9 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:^25.0.0": - version: 25.0.0 - resolution: "@rollup/plugin-commonjs@npm:25.0.0" +"@rollup/plugin-commonjs@npm:^25.0.1": + version: 25.0.1 + resolution: "@rollup/plugin-commonjs@npm:25.0.1" dependencies: "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 @@ -961,7 +961,7 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: f014f98f161ba4573e5101cf262c152bdcd8cfebf9cf4872f8bb657d20e20d8e2dc51af5339fe10772d19007e63044bd79881af0db4fe9babe9e96d0c0eeb328 + checksum: 886340bac6ba8c20bb16e3b7fa4d0357019708043697153e7b18cecb7e1fdbe7ec6f26974079f32091c6168c67300960f023ad3d167d2d0d9a9e3bd713cd22a4 languageName: node linkType: hard @@ -1068,14 +1068,14 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.26": - version: 0.7.26 - resolution: "@substrate/connect@npm:0.7.26" +"@substrate/connect@npm:0.7.29": + version: 0.7.29 + resolution: "@substrate/connect@npm:0.7.29" dependencies: "@substrate/connect-extension-protocol": ^1.0.1 eventemitter3: ^4.0.7 - smoldot: 1.0.4 - checksum: 3179d241f073318d5973deb61c9c8d9b89ae28909a594b6b9fbcdfffd030a70ba58e8428eaa9d72484810bad10c93de1ad9c440b878d0fcfaaf4559d2e6f4502 + smoldot: 1.0.9 + checksum: 60511199ef96c84b193ad9d3e166c6689135bffbb384a376a75bcc7ba26f28e1b3b5e3ff06bbeb2a73a5e237d17aacb2f3d0bb2d19f8c2253c01ccaeac1d7aee languageName: node linkType: hard @@ -1245,10 +1245,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.2.5": - version: 20.2.5 - resolution: "@types/node@npm:20.2.5" - checksum: 38ce7c7e9d76880dc632f71d71e0d5914fcda9d5e9a7095d6c339abda55ca4affb0f2a882aeb29398f8e09d2c5151f0b6586c81c8ccdfe529c34b1ea3337425e +"@types/node@npm:*, @types/node@npm:^20.3.1": + version: 20.3.1 + resolution: "@types/node@npm:20.3.1" + checksum: 63a393ab6d947be17320817b35d7277ef03728e231558166ed07ee30b09fd7c08861be4d746f10fdc63ca7912e8cd023939d4eab887ff6580ff704ff24ed810c languageName: node linkType: hard @@ -1333,12 +1333,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.5.1": - version: 8.5.3 - resolution: "@types/ws@npm:8.5.3" +"@types/ws@npm:^8.5.5": + version: 8.5.5 + resolution: "@types/ws@npm:8.5.5" dependencies: "@types/node": "*" - checksum: 0ce46f850d41383fcdc2149bcacc86d7232fa7a233f903d2246dff86e31701a02f8566f40af5f8b56d1834779255c04ec6ec78660fe0f9b2a69cf3d71937e4ae + checksum: d00bf8070e6938e3ccf933010921c6ce78ac3606696ce37a393b27a9a603f7bd93ea64f3c5fa295a2f743575ba9c9a9fdb904af0f5fe2229bf2adf0630386e4a languageName: node linkType: hard @@ -1358,14 +1358,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/eslint-plugin@npm:5.59.9" +"@typescript-eslint/eslint-plugin@npm:^5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/eslint-plugin@npm:5.59.11" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.59.9 - "@typescript-eslint/type-utils": 5.59.9 - "@typescript-eslint/utils": 5.59.9 + "@typescript-eslint/scope-manager": 5.59.11 + "@typescript-eslint/type-utils": 5.59.11 + "@typescript-eslint/utils": 5.59.11 debug: ^4.3.4 grapheme-splitter: ^1.0.4 ignore: ^5.2.0 @@ -1378,43 +1378,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: bd2428e307085d7fa6699913b6e61d65eb450bbcd26f884390cbf16722b80e1d80dc289c72774be1cdffd022744894204c3242f40ba3ffdfa05d3f210c4130bb + checksum: ff03eaa65a9fa4415cc1a14c2d4382289b9483f11dd3e0746233c2148d941cdbef421c1693304502f42307c72e049d4c3f3b58d30ce5d2ae452f31906e394e62 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/parser@npm:5.59.9" +"@typescript-eslint/parser@npm:^5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/parser@npm:5.59.11" dependencies: - "@typescript-eslint/scope-manager": 5.59.9 - "@typescript-eslint/types": 5.59.9 - "@typescript-eslint/typescript-estree": 5.59.9 + "@typescript-eslint/scope-manager": 5.59.11 + "@typescript-eslint/types": 5.59.11 + "@typescript-eslint/typescript-estree": 5.59.11 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 69b07d0a5bc6e1d24d23916c057ea9f2f53a0e7fb6dabadff92987c299640edee2c013fb93269322c7124e87b5c515529001397eae33006dfb40e1dcdf1902d7 + checksum: 75eb6e60577690e3c9dd66fde83c9b4e9e5fd818fe9673e532052d5ba8fa21a5f7a69aad19be99e6ef5825e9f52036262b25e918e51f96e1dc26e862448d2d3a languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/scope-manager@npm:5.59.9" +"@typescript-eslint/scope-manager@npm:5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/scope-manager@npm:5.59.11" dependencies: - "@typescript-eslint/types": 5.59.9 - "@typescript-eslint/visitor-keys": 5.59.9 - checksum: 362c22662d844440a7e14223d8cc0722f77ff21ad8f78deb0ee3b3f21de01b8846bf25fbbf527544677e83d8ff48008b3f7d40b39ddec55994ea4a1863e9ec0a + "@typescript-eslint/types": 5.59.11 + "@typescript-eslint/visitor-keys": 5.59.11 + checksum: f5c4e6d26da0a983b8f0c016f3ae63b3462442fe9c04d7510ca397461e13f6c48332b09b584258a7f336399fa7cd866f3ab55eaad89c5096a411c0d05d296475 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/type-utils@npm:5.59.9" +"@typescript-eslint/type-utils@npm:5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/type-utils@npm:5.59.11" dependencies: - "@typescript-eslint/typescript-estree": 5.59.9 - "@typescript-eslint/utils": 5.59.9 + "@typescript-eslint/typescript-estree": 5.59.11 + "@typescript-eslint/utils": 5.59.11 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -1422,7 +1422,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 6bc2619c5024c152b181eff1f44c9b5e7d0fc75ce9403f03b39d59fc1e13191b2fbaf6730f26a1caae22922ac47489f39c2cebccdd713588f6963169ed2a7958 + checksum: 3570ba21af35e7e0a916b606c1af311c00d20fe354a5837e0e937191b5e99ceb0076a5ba2924eaa028d4614e03981b20cfdd83a2be780c39e02be3b3bd365b63 languageName: node linkType: hard @@ -1433,19 +1433,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/types@npm:5.59.9" - checksum: 283f8fee1ee590eeccc2e0fcd3526c856c4b1e2841af2cdcd09eeac842a42cfb32f6bc8b40385380f3dbc3ee29da30f1819115eedf9e16f69ff5a160aeddd8fa +"@typescript-eslint/types@npm:5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/types@npm:5.59.11" + checksum: 4bb667571a7254f8c2b0dc3e37100e7290f9be14978722cc31c7204dfababd8a346bed4125e70dcafd15d07be386fb55bb9738bd86662ac10b98a6c964716396 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.59.9, @typescript-eslint/typescript-estree@npm:^5.13.0": - version: 5.59.9 - resolution: "@typescript-eslint/typescript-estree@npm:5.59.9" +"@typescript-eslint/typescript-estree@npm:5.59.11, @typescript-eslint/typescript-estree@npm:^5.13.0": + version: 5.59.11 + resolution: "@typescript-eslint/typescript-estree@npm:5.59.11" dependencies: - "@typescript-eslint/types": 5.59.9 - "@typescript-eslint/visitor-keys": 5.59.9 + "@typescript-eslint/types": 5.59.11 + "@typescript-eslint/visitor-keys": 5.59.11 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -1454,7 +1454,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: c0c9b81f20a2a4337f07bc3ccdc9c1dabd765f59096255ed9a149e91e5c9517b25c2b6655f8f073807cfc13500c7451fbd9bb62e5e572c07cc07945ab042db89 + checksum: 516a828884e6939000aac17a27208088055670b0fd9bd22d137a7b2d359a8db9ce9cd09eedffed6f498f968be90ce3c2695a91d46abbd4049f87fd3b7bb986b5 languageName: node linkType: hard @@ -1476,21 +1476,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.59.9, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": - version: 5.59.9 - resolution: "@typescript-eslint/utils@npm:5.59.9" +"@typescript-eslint/utils@npm:5.59.11, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": + version: 5.59.11 + resolution: "@typescript-eslint/utils@npm:5.59.11" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.59.9 - "@typescript-eslint/types": 5.59.9 - "@typescript-eslint/typescript-estree": 5.59.9 + "@typescript-eslint/scope-manager": 5.59.11 + "@typescript-eslint/types": 5.59.11 + "@typescript-eslint/typescript-estree": 5.59.11 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 22ec5962886de7dcf65f99c37aad9fb189a3bef6b2b07c81887fb82a0e8bf137246da58e64fb02141352285708440be13acd7f6db1ca19e96f86724813ac4646 + checksum: a61f3e761dbdc5d0bdb6c78bca7b2e628f7a1920192286d002219cc3acb516757613c2ec2a4adc416858ba1751ecbe2784457d6ebcec6bbb109cfc2ca210572b languageName: node linkType: hard @@ -1504,13 +1504,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.59.9": - version: 5.59.9 - resolution: "@typescript-eslint/visitor-keys@npm:5.59.9" +"@typescript-eslint/visitor-keys@npm:5.59.11": + version: 5.59.11 + resolution: "@typescript-eslint/visitor-keys@npm:5.59.11" dependencies: - "@typescript-eslint/types": 5.59.9 + "@typescript-eslint/types": 5.59.11 eslint-visitor-keys: ^3.3.0 - checksum: 2909ce761f7fe546592cd3c43e33263d8a5fa619375fd2fdffbc72ffc33e40d6feacafb28c79f36c638fcc2225048e7cc08c61cbac6ca63723dc68610d80e3e6 + checksum: 4894ec4b2b8da773b1f44398c836fcacb7f5a0c81f9404ecd193920e88d618091a7328659e0aa24697edda10479534db30bec7c8b0ba9fa0fce43f78222d5619 languageName: node linkType: hard @@ -6742,13 +6742,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pako@npm:^2.0.4": - version: 2.0.4 - resolution: "pako@npm:2.0.4" - checksum: 82b9b0b99dd830c9103856a6dbd10f0cb2c8c32b9768184727ea381a99666de9a47a069d2e6efe6acf09336f363956b50835c196ef9311b34b7274d420eb0d88 - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -7501,9 +7494,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"rollup@npm:^3.24.0": - version: 3.24.0 - resolution: "rollup@npm:3.24.0" +"rollup@npm:^3.25.1": + version: 3.25.1 + resolution: "rollup@npm:3.25.1" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -7511,7 +7504,7 @@ fsevents@~2.3.2: optional: true bin: rollup: dist/bin/rollup - checksum: 373d0062a79cfce3583d4f6b7ab8ac9aa3201a9af1fa20b24f61a4ddea95a45974c4a8baed3087cb4e7bfc34a9dcd6774b7a635eb071ba52f97f51a59e860d6e + checksum: f483b28a0605097a725b080c088262b0fa21f7bce66f741df73d9ff0be6a3baaf2927916b094ce95412f4f15cc59bb5eae020f59cae3d3a6993d123faceb5b41 languageName: node linkType: hard @@ -7519,9 +7512,9 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.75.19 + "@polkadot/dev": ^0.75.21 "@polkadot/typegen": "workspace:packages/typegen" - "@types/node": ^20.2.5 + "@types/node": ^20.3.1 languageName: unknown linkType: soft @@ -7873,13 +7866,12 @@ fsevents@~2.3.2: languageName: node linkType: hard -"smoldot@npm:1.0.4": - version: 1.0.4 - resolution: "smoldot@npm:1.0.4" +"smoldot@npm:1.0.9": + version: 1.0.9 + resolution: "smoldot@npm:1.0.9" dependencies: - pako: ^2.0.4 ws: ^8.8.1 - checksum: 81ecc38b98f7ac4dd093753e85956262608dca3c8a288c20a25fe1762a6afcdbe6f3622ea30a346df3f4145e0900ef0595e56e96e9e0de83c59f0649d1ab4786 + checksum: 7dff98c8d5e7ea14b60a1eaaa1dcb68d47e6bcf01fe004e387676041a0f1c65b079ee94aebd068c81a7899329d9c69c6b442a86c8e6acd0801996a4af5facff0 languageName: node linkType: hard @@ -8898,9 +8890,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack-dev-server@npm:^4.15.0": - version: 4.15.0 - resolution: "webpack-dev-server@npm:4.15.0" +"webpack-dev-server@npm:^4.15.1": + version: 4.15.1 + resolution: "webpack-dev-server@npm:4.15.1" dependencies: "@types/bonjour": ^3.5.9 "@types/connect-history-api-fallback": ^1.3.5 @@ -8908,7 +8900,7 @@ fsevents@~2.3.2: "@types/serve-index": ^1.9.1 "@types/serve-static": ^1.13.10 "@types/sockjs": ^0.3.33 - "@types/ws": ^8.5.1 + "@types/ws": ^8.5.5 ansi-html-community: ^0.0.8 bonjour-service: ^1.0.11 chokidar: ^3.5.3 @@ -8941,7 +8933,7 @@ fsevents@~2.3.2: optional: true bin: webpack-dev-server: bin/webpack-dev-server.js - checksum: 6fe375089b061be2e4ed6d6a8b20743734d304cd0c34757271c6685f97642b028f253c627f899b629c97c067c294484f906e394fd1c104ee795237b8725f2701 + checksum: cd0063b068d2b938fd76c412d555374186ac2fa84bbae098265212ed50a5c15d6f03aa12a5a310c544a242943eb58c0bfde4c296d5c36765c182f53799e1bc71 languageName: node linkType: hard