From d7354428e634792e33c294f358cbbeb737406b5c Mon Sep 17 00:00:00 2001 From: Cameron Marshall Date: Thu, 12 Dec 2024 09:01:30 -0500 Subject: [PATCH 1/3] test: add chopsticks e2e tests (#481) --- .github/workflows/pr.yml | 8 +- .gitignore | 4 + README.md | 38 +- e2e-tests/README.md | 33 +- e2e-tests/balance.ts | 138 - e2e-tests/consts.ts | 10 - e2e-tests/executor.ts | 152 - e2e-tests/logger.ts | 110 - e2e-tests/moonbeam.hydration.spec.ts | 118 + e2e-tests/polkadotAssetHub.bridgeHub.spec.ts | 88 + e2e-tests/polkadotAssetHub.hydration.spec.ts | 355 ++ e2e-tests/tests.sh | 18 - e2e-tests/tests/assets.ts | 81 - e2e-tests/tests/foreignAssets.ts | 81 - e2e-tests/tests/index.ts | 167 - e2e-tests/tests/liquidPools.ts | 78 - e2e-tests/tests/local.ts | 153 - e2e-tests/tsconfig.json | 3 +- e2e-tests/verification.ts | 24 - e2e-tests/zombienet.sh | 14 - examples/tsconfig.json | 3 +- package.json | 39 +- scripts/consts.ts | 5 - scripts/testNetworkForeignAssets.ts | 250 -- scripts/testNetworkLiquidAssets.ts | 180 - scripts/testNetworkSetup.ts | 166 - scripts/tsconfig.json | 10 - scripts/util.ts | 81 - .../limitedReserveTransferAssets.ts | 1 + .../polkadotXcm/limitedTeleportAssets.ts | 1 + .../polkadotXcm/transferAssets.ts | 1 + .../transferAssetsUsingTypeAndThen.ts | 1 + src/createXcmTypes/ParaToPara.ts | 10 +- src/createXcmTypes/ParaToSystem.ts | 8 +- src/createXcmTypes/types.ts | 1 + .../getParachainNativeAssetLocation.spec.ts | 47 + .../util/getParachainNativeAssetLocation.ts | 83 + .../parachains/bifrost.spec.ts | 25 +- .../parachains/moonriver.spec.ts | 6 +- tsconfig.json | 6 +- vitest-setup-file.ts | 6 + vitest.config.ts | 8 + vitest.workspace.ts | 26 + yarn.lock | 3355 +++++++++++++++-- zombienet/medium-network.toml | 66 - zombienet/small-network.toml | 43 - 46 files changed, 3886 insertions(+), 2215 deletions(-) delete mode 100644 e2e-tests/balance.ts delete mode 100644 e2e-tests/consts.ts delete mode 100644 e2e-tests/executor.ts delete mode 100644 e2e-tests/logger.ts create mode 100644 e2e-tests/moonbeam.hydration.spec.ts create mode 100644 e2e-tests/polkadotAssetHub.bridgeHub.spec.ts create mode 100644 e2e-tests/polkadotAssetHub.hydration.spec.ts delete mode 100755 e2e-tests/tests.sh delete mode 100644 e2e-tests/tests/assets.ts delete mode 100644 e2e-tests/tests/foreignAssets.ts delete mode 100644 e2e-tests/tests/index.ts delete mode 100644 e2e-tests/tests/liquidPools.ts delete mode 100644 e2e-tests/tests/local.ts delete mode 100644 e2e-tests/verification.ts delete mode 100755 e2e-tests/zombienet.sh delete mode 100644 scripts/consts.ts delete mode 100644 scripts/testNetworkForeignAssets.ts delete mode 100644 scripts/testNetworkLiquidAssets.ts delete mode 100644 scripts/testNetworkSetup.ts delete mode 100644 scripts/tsconfig.json delete mode 100644 scripts/util.ts create mode 100644 src/createXcmTypes/util/getParachainNativeAssetLocation.spec.ts create mode 100644 src/createXcmTypes/util/getParachainNativeAssetLocation.ts create mode 100644 vitest-setup-file.ts create mode 100644 vitest.config.ts create mode 100644 vitest.workspace.ts delete mode 100644 zombienet/medium-network.toml delete mode 100644 zombienet/small-network.toml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bf63564f..5db79bb8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -101,4 +101,10 @@ jobs: run: yarn install - name: Unit tests. - run: yarn test + run: yarn test:unit + + - name: Integration tests. + run: yarn test:integration + + - name: E2E tests. + run: yarn test:e2e diff --git a/.gitignore b/.gitignore index 45d0833f..563ff883 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,7 @@ zombienet/bin/* # Binaries /bin/* !bin/README.md + +# Chopsticks +db.sqlite +db.sqlite-* diff --git a/README.md b/README.md index b60e9065..f40bbf48 100644 --- a/README.md +++ b/README.md @@ -397,40 +397,10 @@ api.claimAssets( Note: claimAssets works when pallet-xcm is configured as the AssetTrap for the given runtime. This is true for all relay chains and system parachains but may not be for other chains. -## License - -The source code in this repository is distributed under the Apache 2.0 license. See the [LICENSE](https://github.com/paritytech/asset-transfer-api/blob/main/LICENSE) file. This source code comes with absolutely no warranty. Use at your own risk. - -## Zombienet Testing - -Zombienet is used to launch a complete network including a relay chain, and two parachains. It will create HRMP channels betweens the launched parachains allowing the testing environment to send XCM messages and transfer assets. - -### **Requirements**: - -**Zombienet Binary**: You can download the appropriate binary from the zombienet repository [here](https://github.com/paritytech/zombienet/releases). Ensure that it is in the root of this directory. Note: For macos users if permission is denied to run the binary you can `chmod 755 ` to allow permissions. - -**Test Network Binaries**: You will need the following binaries depending on whether you want to run a small or medium network: - -- polkadot: You can find the releases [here](https://github.com/paritytech/polkadot-sdk/releases). (Needed for small, or medium network) -- trappist-collator: This binary is compiled along with polkadot above. You can find it [here](https://github.com/paritytech/trappist). (Needed for medium network) -- polkadot-parachain (ie: cumulus): You can find the releases [here](https://github.com/paritytech/polkadot-sdk/releases). (Needed for small, or medium network) - -NOTES: - -- When it comes to picking a version for both `cumulus` and `polkadot` ensure they are the same. Cumulus will have an extra 0 at the end though. Ex: v0.9.37 (polkadot) -> v0.9.370 (cumulus) - -- You can retrieve the binaries via the release, or by compiling yourself. It's recommended to compile it yourself. - -Copy each binary that is necessary into the root `/bin` folder. - -### Running Zombienet - -From the root directory run `./ -p native spawn ./zombienet/.toml | tee zombienet.log` - -### Create an asset +## E2E Testing -From the root directory run `yarn start:zombienet-post-script`. You can run this right after running your zombienet network. +You can access the E2E tests and their documentation [here](./e2e-tests/). -## E2E Testing +## License -You can access the E2E tests and its documentation [here](./e2e-tests/). +The source code in this repository is distributed under the Apache 2.0 license. See the [LICENSE](https://github.com/paritytech/asset-transfer-api/blob/main/LICENSE) file. This source code comes with absolutely no warranty. Use at your own risk. diff --git a/e2e-tests/README.md b/e2e-tests/README.md index d5698d2a..2c39d787 100644 --- a/e2e-tests/README.md +++ b/e2e-tests/README.md @@ -1,40 +1,15 @@ ## E2E Tests -End-to-end tests that run on a zombienet testnet. +End-to-End tests that run using Chopsticks. -**NOTE: tested using polkadot v1.4.0** - -### Setup - -To setup the testing environment you need to first download the `polkadot`, `polkadot-execute-worker`, `polkadot-prepare-worker` and `polkadot-parachain` from the `polkadot-sdk` [release page](https://github.com/paritytech/polkadot-sdk/releases/latest), as well as the `trappist-node` from its [release page](https://github.com/paritytech/trappist/releases/latest), and place them in the `../zombienet/bin/` folder. - -You also need to have the latest `zombienet` executable in the `../zombienet/` folder, which you can download from [here](https://github.com/paritytech/zombienet/releases/latest). - -### Launching zombienet - -To launch the zombienet run the following commands: +To run the end-to-end tests run the command: ```bash -$ yarn build && yarn e2e:build +$ yarn build && yarn build:e2e ``` Then run: ```bash -$ yarn e2e:zombienet +$ yarn test:e2e ``` - -And this will launch the zombienet using the config file located in the `../zombienet/` directory. Once it finished its setup, you can proceed to the following step. - -### Launching the tests - -For testing, we provide 4 options: - -- Testing liquidity tokens transfers with the command `yarn e2e:liquidity-assets`. -- Testing foreign assets transfers with the command `yarn e2e:foreign-assets`. -- Testing local transferss with the command `yarn e2e:local`. -- Testing assets transfers with the command `yarn e2e:assets`. - -Each of these commands will run the appropiate script to setup the basics, located in `../scripts/`. Wait for it to finish setting up the testing environment, and then go through the tests indicated in the `./tests/index.ts` file for the chosen option. - -After each testing suite has been completed, it's recommended to restart the zombienet before running another test suite. diff --git a/e2e-tests/balance.ts b/e2e-tests/balance.ts deleted file mode 100644 index 9edee8f1..00000000 --- a/e2e-tests/balance.ts +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import type { ApiPromise } from '@polkadot/api'; -import type { FrameSystemAccountInfo, PalletAssetsAssetAccount } from '@polkadot/types/lookup'; -import type { Option } from '@polkadot/types-codec'; - -/** - * Initial and final balances for a specific assetId, used by `balanceTracker` - * to validate the evolution of a particular account's balance - * - * @interface IBalance - * - * @property {[string, number][]} IBalance.initial Account's initial balance - * for the given assetIds - * @property {[string, number][]} IBalance.final Account's final balance for - * the given assetIds - */ -export interface IBalance { - initial: [string, number][]; - final: [string, number][]; -} - -/** - * Function to keep track of the evolution of the balances for specific assetIds - * for a given account, used to validate the correct processing of the tests' - * transactions. - * It queries the node for the appropiate pallet's balance for the given test - * suite, and stores it as either `initial`, if no previous value is stored, - * or `final`. Both properties consist of an array of tuples containing an assetId - * and its balance for the account for the moment the value was queried, either - * before or after running the test. - * - * @param api api instance - * @param test name of the test currently being ran - * @param address address of the account whose balance is being queried - * @param assetIds Ids of the assets being queried - * @param balance initial balance for the account queried - * @returns instance of IBalance containing the initial and optionally the final - * balance of the account queried - */ -export const balanceTracker = async ( - api: ApiPromise, - test: string, - address: string, - assetIds: string[], - balance?: IBalance, -): Promise => { - let balances: IBalance = { initial: [], final: [] }; - let accountInfo: FrameSystemAccountInfo | Option; - switch (test) { - case '--foreign-assets': - if (!balance) { - for (const assetId of assetIds) { - accountInfo = (await api.query.foreignAssets.account(assetId, address)) as Option; - if (accountInfo.valueOf() === null) { - balances.initial.push([assetId, 0]); - } else { - balances.initial.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - } else { - balances = balance; - for (const assetId of assetIds) { - accountInfo = (await api.query.foreignAssets.account(assetId, address)) as Option; - balances.final.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - return balances; - case '--liquidity-assets': - if (!balance) { - for (const assetId of assetIds) { - accountInfo = await api.query.poolAssets.account(assetId, address); - if (accountInfo.isNone) { - balances.initial.push([assetId, 0]); - } else { - balances.initial.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - } else { - balances = balance; - for (const assetId of assetIds) { - accountInfo = await api.query.poolAssets.account(assetId, address); - balances.final.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - return balances; - case '--local': - if (!balance) { - accountInfo = await api.query.system.account(address); - if (accountInfo === null) { - balances.initial.push(['0', 0]); - } else { - balances.initial.push(['0', Number(accountInfo.data.free)]); - } - } else { - balances = balance; - accountInfo = await api.query.system.account(address); - balances.final.push(['0', Number(accountInfo.data.free)]); - } - return balances; - case '--assets': - if (!balance) { - for (const assetId of assetIds) { - accountInfo = await api.query.assets.account(assetId, address); - if (accountInfo.isNone) { - balances.initial.push([assetId, 0]); - } else { - balances.initial.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - } else { - balances = balance; - for (const assetId of assetIds) { - accountInfo = await api.query.assets.account(assetId, address); - balances.final.push([assetId, accountInfo.unwrap().balance.toBn().toNumber()]); - } - } - return balances; - default: - if (!balance) { - for (const assetId of assetIds) { - accountInfo = await api.query.system.account(address); - if (accountInfo) { - balances.initial.push([assetId, accountInfo.data.free.toBn().toNumber()]); - } else { - balances.initial.push([assetId, 0]); - } - } - } else { - balances = balance; - for (const assetId of assetIds) { - accountInfo = await api.query.system.account(address); - balances.final.push([assetId, accountInfo.data.free.toBn().toNumber()]); - } - } - return balances; - } -}; diff --git a/e2e-tests/consts.ts b/e2e-tests/consts.ts deleted file mode 100644 index bfab60d8..00000000 --- a/e2e-tests/consts.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -export const KUSAMA_ASSET_HUB_WS_URL = 'ws://127.0.0.1:9911'; -export const PASEO_ALICE_WS_URL = 'ws://127.0.0.1:9900'; -export const MUSE_WS_URL = 'ws://127.0.0.1:9921'; - -export const BOB_ADDR = '5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty'; -export const FERDE_ADDR = '5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL'; - -export const EXTRINSIC_VERSION = 4; diff --git a/e2e-tests/executor.ts b/e2e-tests/executor.ts deleted file mode 100644 index a997f655..00000000 --- a/e2e-tests/executor.ts +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { Keyring } from '@polkadot/keyring'; -import { cryptoWaitReady } from '@polkadot/util-crypto'; - -import { delay } from '../scripts/util'; -import { constructApiPromise } from '../src'; -import { balanceTracker, IBalance } from './balance'; -import { KUSAMA_ASSET_HUB_WS_URL, MUSE_WS_URL, PASEO_ALICE_WS_URL } from './consts'; -import { startProgressBar, startTestLogger, terminateProgressBar, testResultLogger, updateProgressBar } from './logger'; -import { assetTests, foreignAssetsTests, IndividualTest, liquidPoolsTests, localTests, tests } from './tests'; -import { verification } from './verification'; - -const executor = async (testCase: string) => { - let originWsUrl = ''; - let destWsUrl = ''; - let testData: IndividualTest[] = []; - - await cryptoWaitReady(); - - const keyring = new Keyring({ type: 'sr25519' }); - let n: { [K: string]: Function } = {}; - - switch (testCase) { - case '--foreign-assets': - testData = tests.foreignAssets; - n = foreignAssetsTests; - break; - case '--liquidity-assets': - testData = tests.liquidPools; - n = liquidPoolsTests; - break; - case '--local': - testData = tests.local; - n = localTests; - break; - case '--assets': - testData = tests.assets; - n = assetTests; - break; - } - - let counter: number = 0; - - startTestLogger(testCase); - - const progressBar = startProgressBar(testData, testCase); - - const results: [string, string, string, boolean][] = []; - - for (const t of testData) { - const originChainId: string = t.args[0]; - const destChainId: string = t.args[1]; - const originAddr: string = t.args[2]; - const destAddr: string = t.args[3]; - const assetIds: string[] = t.args[4].slice(1, -1).split(','); - const amounts: string[] = t.args[5].slice(1, -1).split(','); - const opts: object = JSON.parse(t.args[6], (key: string, value: string) => { - return key === 'paysWithFeeOrigin' ? JSON.stringify(value) : value; - }) as object; - let chainName: string = ''; - - switch (originChainId) { - case '0': - originWsUrl = PASEO_ALICE_WS_URL; - chainName = 'Paseo'; - break; - case '1000': - originWsUrl = KUSAMA_ASSET_HUB_WS_URL; - chainName = 'Kusama Asset Hub'; - break; - case '1836': - originWsUrl = MUSE_WS_URL; - chainName = 'Muse Testnet'; - break; - } - if (originChainId == destChainId) { - destWsUrl = originWsUrl; - } else { - switch (destChainId) { - case '0': - destWsUrl = PASEO_ALICE_WS_URL; - chainName = 'Paseo'; - break; - case '1000': - destWsUrl = KUSAMA_ASSET_HUB_WS_URL; - chainName = 'Kusama Asset Hub'; - break; - case '1836': - destWsUrl = MUSE_WS_URL; - chainName = 'Trappist'; - break; - } - } - - const { api, specName, safeXcmVersion } = await constructApiPromise(originWsUrl); - - await api.isReady; - - const originApi = api; - const destinationApi = - originChainId == destChainId - ? originApi - : await ApiPromise.create({ - provider: new WsProvider(destWsUrl), - noInitWarn: true, - }); - - await destinationApi.isReady; - const destInitialBalance: IBalance = await balanceTracker(destinationApi, testCase, destAddr, assetIds); - const originKeyring = keyring.addFromUri(originAddr); - - //eslint-disable-next-line @typescript-eslint/no-unsafe-call - await n[t.test](originKeyring, destChainId, destAddr, assetIds, amounts, opts, api, specName, safeXcmVersion); - - await delay(24000); - - const destFinalBalance: IBalance = await balanceTracker( - destinationApi, - testCase, - destAddr, - assetIds, - destInitialBalance, - ); - - const verificationAssetIds: string[] = t.verification[0].slice(1, -1).split(','); - const verificationAmounts: string[] = t.verification[1].slice(1, -1).split(','); - - const correctlyReceived = verification(verificationAssetIds, verificationAmounts, destFinalBalance); - - await originApi.disconnect(); - await destinationApi.disconnect(); - - counter += 1; - - updateProgressBar(counter, progressBar); - - for (let i = 0; i < assetIds.length; i++) { - results.push([t.test, assetIds[i], chainName, correctlyReceived[i][1]]); - } - } - - for (let i = 0; i < results.length; i++) { - testResultLogger(results[i][0], results[i][1], results[i][2], results[i][3]); - } - - terminateProgressBar(progressBar, testCase); -}; - -executor(process.argv[2]) - .catch((err) => console.error(err)) - .finally(() => process.exit()); diff --git a/e2e-tests/logger.ts b/e2e-tests/logger.ts deleted file mode 100644 index 4076d53d..00000000 --- a/e2e-tests/logger.ts +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import colors from 'ansi-colors'; -import chalk from 'chalk'; -import * as cliProgress from 'cli-progress'; -import { IndividualTest } from 'tests'; - -/** - * - * @param testCase a string containing the test option selected - * @returns a prettified version of the testCase - */ -const defineTest = (testCase: string): string => { - let test: string = ''; - - switch (testCase) { - case '--foreign-assets': - test = 'Foreign Assets Transfers'; - break; - case '--liquidity-assets': - test = 'Liqudity Tokens Transfers'; - break; - case '--local': - test = 'Native Token Transfers'; - break; - case '--assets': - test = 'Local Assets Transfers'; - break; - } - return test; -}; - -/** - * Calls defineTest and prints a message signaling the begining of the tests - * @param testCase a string containing the test option selected - */ -export const startTestLogger = (testCase: string) => { - const test = defineTest(testCase); - - console.log(chalk.yellow(`Initializing tests for ${test}\n`)); -}; - -/** - * This creates and starts an instance of cliProgress containing a SingleBar to - * display the test suite's progress - * - * @param testData an array containing the individual tests for the test suite - * selected - * @param testCase the test suite selected - * @returns an instance of the cliProgress that will be used to track the progress - * of the tests - */ -export const startProgressBar = (testData: IndividualTest[], testCase: string): cliProgress.SingleBar => { - const test = defineTest(testCase); - - const coverage: number = testData.length; - - const progressBar = new cliProgress.SingleBar({ - format: - `\n${test} Test Suite Progress |` + colors.cyan('{bar}') + '| {percentage}% || {value}/{total} tests covered \n', - barCompleteChar: '\u2588', - barIncompleteChar: '\u2591', - hideCursor: true, - }); - - progressBar.start(coverage, 0); - - return progressBar; -}; - -/** - * Clears the progress bar in place and prints an updated version - * @param counter current test number - * @param progressBar instance of the cliProgress - */ -export const updateProgressBar = (counter: number, progressBar: cliProgress.SingleBar) => { - process.stdout.moveCursor(0, -2); - - process.stdout.clearLine(0); - - progressBar.increment(counter); -}; - -/** - * Terminates the cliProgess instance. It's called after the test suite is over - * @param progressBar instance of cliProgress to be terminated - * @param testCase - */ -export const terminateProgressBar = (progressBar: cliProgress.SingleBar, testCase: string) => { - const test = defineTest(testCase); - console.log(chalk.yellow(`Test Suite for ${test} completed.\n`)); - - progressBar.stop(); - console.log('\n'); -}; - -/** - * - * @param testName current test's name - * @param assetId Id of the asset tested against - * @param chainName Name of the chain against the test ran - * @param passed whether the test passed or failed - */ -export const testResultLogger = (testName: string, assetId: string, chainName: string, passed: boolean) => { - const tokenId = assetId === '' ? 'native asset' : `asset ${assetId}`; - if (passed) { - console.log(chalk.green(`Test ${testName} passed for ${chainName}'s ${tokenId} \u2705\n`)); - } else { - console.log(chalk.red(`Test ${testName} failed for ${chainName}'s ${tokenId} \u274E\n`)); - } -}; diff --git a/e2e-tests/moonbeam.hydration.spec.ts b/e2e-tests/moonbeam.hydration.spec.ts new file mode 100644 index 00000000..1bd10d6e --- /dev/null +++ b/e2e-tests/moonbeam.hydration.spec.ts @@ -0,0 +1,118 @@ +import { setupNetworks, testingPairs } from '@acala-network/chopsticks-testing'; +import { NetworkContext } from '@acala-network/chopsticks-utils'; +import { AccountData } from '@polkadot/types/interfaces'; +import { afterEach, beforeEach, expect, test } from 'vitest'; + +import { AssetTransferApi } from '../src/AssetTransferApi'; + +describe('Moonbeam <> Hydration', () => { + let hydration: NetworkContext; + let moonbeam: NetworkContext; + const hydrationRecipientAddress = '15McF4S5ZsoAJGzdXE3FwSFVjSPoz1Cd7Xj7VQZCb7HULcjx'; + const hdxMoonbeamAssetID = '69606720909260275826784788104880799692'; + + const { alice, alith } = testingPairs(); + + beforeEach(async () => { + const { hydration1, moonbeam1 } = await setupNetworks({ + hydration1: { + endpoint: 'wss://rpc.hydradx.cloud', + db: './db.sqlite', + port: 8000, + }, + moonbeam1: { + endpoint: 'wss://moonbeam-rpc.dwellir.com', + db: './db.sqlite', + port: 8001, + }, + }); + + hydration = hydration1; + moonbeam = moonbeam1; + }, 200000); + + afterEach(async () => { + await moonbeam.teardown(); + await hydration.teardown(); + }, 200000); + + test('Transfer GLMR from Moonbeam to Hydration', async () => { + await moonbeam.dev.setStorage({ + System: { + Account: [ + [[alith.address], { providers: 1, data: { free: '100000000000000000000000' } }], // GLMR + ], + }, + }); + + const recipientInitialGLMRBalance = await hydration.api.query.tokens.accounts(hydrationRecipientAddress, 16); + expect((recipientInitialGLMRBalance as AccountData).free.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(moonbeam.api, 'moonbeam', 4); + const tx = await assetTransferApi.createTransferTransaction( + '2034', + hydrationRecipientAddress, + ['GLMR'], + ['10000000000000000000'], + { + format: 'payload', + xcmVersion: 4, + sendersAddr: alith.address, + }, + ); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await moonbeam.api.tx(extrinsic).signAndSend(alith); + await moonbeam.dev.newBlock(); + + await hydration.dev.newBlock(); + + const recipientUpdatedGLMRBalance = await hydration.api.query.tokens.accounts(hydrationRecipientAddress, 16); + + expect((recipientUpdatedGLMRBalance as AccountData).free.toBigInt()).toBeGreaterThan( + (recipientInitialGLMRBalance as AccountData).free.toBigInt(), + ); + }, 100000); + + test('Transfer HDX from Hydration to Moonbeam', async () => { + await hydration.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: '50000000000000000000000000' } }], // HDX + ], + }, + Tokens: { + Accounts: [ + [[alice.address, 0], { free: '50000000000000000000000000' }], // HDX + ], + }, + }); + + const recipientInitialHDXBalance = ( + await moonbeam.api.query.assets.account(hdxMoonbeamAssetID, alith.address) + ).unwrapOrDefault(); + expect(recipientInitialHDXBalance.balance.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(hydration.api, 'hydradx', 4); + const tx = await assetTransferApi.createTransferTransaction('2004', alith.address, ['HDX'], ['10000000000000000'], { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await hydration.api.tx(extrinsic).signAndSend(alice); + await hydration.dev.newBlock(); + + await moonbeam.dev.newBlock(); + + const recipientUpdatedHDXBalance = ( + await moonbeam.api.query.assets.account(hdxMoonbeamAssetID, alith.address) + ).unwrapOrDefault(); + expect(recipientUpdatedHDXBalance.balance.toBigInt()).toBeGreaterThan( + recipientInitialHDXBalance.balance.toBigInt(), + ); + }, 100000); +}); diff --git a/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts b/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts new file mode 100644 index 00000000..0f1fd3fc --- /dev/null +++ b/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts @@ -0,0 +1,88 @@ +import { setupNetworks, testingPairs } from '@acala-network/chopsticks-testing'; +import { NetworkContext } from '@acala-network/chopsticks-utils'; +import { afterEach, beforeEach, expect, test } from 'vitest'; + +import { AssetTransferApi } from '../src/AssetTransferApi'; + +describe('Polkadot AssetHub <> Ethereum', () => { + const snowbridgeWETHLocation = { + parents: 2, + interior: { + X2: [ + { GlobalConsensus: { Ethereum: { chainId: 1 } } }, + { AccountKey20: { network: null, key: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' } }, + ], + }, + }; + let polkadotBridgeHub: NetworkContext; + let polkadotAssetHub: NetworkContext; + + const { alice, alith } = testingPairs(); + + beforeEach(async () => { + const { polkadotBridgeHub1, polkadotAssetHub1 } = await setupNetworks({ + polkadotBridgeHub1: { + endpoint: 'wss://bridge-hub-polkadot-rpc.dwellir.com', + db: './db.sqlite', + port: 8003, + }, + polkadotAssetHub1: { + endpoint: 'wss://asset-hub-polkadot-rpc.dwellir.com', + db: './db.sqlite', + port: 8004, + }, + }); + + polkadotBridgeHub = polkadotBridgeHub1; + polkadotAssetHub = polkadotAssetHub1; + }, 200000); + + afterEach(async () => { + await polkadotBridgeHub.teardown(); + await polkadotAssetHub.teardown(); + }, 200000); + + test('Snowbridge WETH From AssetHub to Ethereum', async () => { + await polkadotAssetHub.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // DOT + ], + }, + ForeignAssets: { + Account: [[[snowbridgeWETHLocation, alice.address], { balance: 75000000000000 }]], + }, + }); + + const assetTransferApi = new AssetTransferApi(polkadotAssetHub.api, 'asset-hub-polkadot', 4); + const tx = await assetTransferApi.createTransferTransaction( + `{"parents":"2","interior":{"X1":{"GlobalConsensus":{"Ethereum":{"chainId":"1"}}}}}`, + alith.address, + [ + `{"parents":"2","interior":{"X2":[{"GlobalConsensus":{"Ethereum":{"chainId":"1"}}},{"AccountKey20":{"network":null,"key":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}]}}`, + ], + ['25000000000000'], + { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }, + ); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await polkadotAssetHub.api.tx(extrinsic).signAndSend(alice); + await polkadotAssetHub.dev.newBlock(); + await polkadotBridgeHub.dev.newBlock(); + + const bridgeHubEvents = await polkadotBridgeHub.api.query.system.events(); + + const messageAcceptedEvent = bridgeHubEvents[bridgeHubEvents.length - 3]; + expect(messageAcceptedEvent.event.section).toEqual('ethereumOutboundQueue'); + expect(messageAcceptedEvent.event.method).toEqual('MessageAccepted'); + + const messageCommittedEvent = bridgeHubEvents[bridgeHubEvents.length - 1]; + expect(messageCommittedEvent.event.section).toEqual('ethereumOutboundQueue'); + expect(messageCommittedEvent.event.method).toEqual('MessagesCommitted'); + }, 5000000); +}); diff --git a/e2e-tests/polkadotAssetHub.hydration.spec.ts b/e2e-tests/polkadotAssetHub.hydration.spec.ts new file mode 100644 index 00000000..0b3bef8f --- /dev/null +++ b/e2e-tests/polkadotAssetHub.hydration.spec.ts @@ -0,0 +1,355 @@ +import { setupNetworks, testingPairs } from '@acala-network/chopsticks-testing'; +import { NetworkContext } from '@acala-network/chopsticks-utils'; +import { AccountData } from '@polkadot/types/interfaces'; +import { PalletAssetsAssetAccount } from '@polkadot/types/lookup'; +import { Option } from '@polkadot/types-codec'; +import { afterEach, beforeEach, expect, test } from 'vitest'; + +import { AssetTransferApi } from '../src/AssetTransferApi'; + +describe('Polkadot AssetHub <> Hydration', () => { + let hydration: NetworkContext; + let polkadotAssetHub: NetworkContext; + + const { alice } = testingPairs(); + const recipientAddress = '15McF4S5ZsoAJGzdXE3FwSFVjSPoz1Cd7Xj7VQZCb7HULcjx'; + const snowbridgeWETHLocation = { + parents: 2, + interior: { + X2: [ + { GlobalConsensus: { Ethereum: { chainId: 1 } } }, + { AccountKey20: { network: null, key: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' } }, + ], + }, + }; + + beforeEach(async () => { + const { hydration1, polkadotAssetHub1 } = await setupNetworks({ + hydration1: { + endpoint: 'wss://hydration.ibp.network', + db: './db.sqlite', + port: 8006, + }, + polkadotAssetHub1: { + endpoint: 'wss://polkadot-asset-hub-rpc.polkadot.io', + db: './db.sqlite', + port: 8007, + }, + }); + + hydration = hydration1; + polkadotAssetHub = polkadotAssetHub1; + }, 200000); + + afterEach(async () => { + await polkadotAssetHub.teardown(); + await hydration.teardown(); + }, 200000); + + test('AssetHub Local DOT Transfer', async () => { + await polkadotAssetHub.api.isReady; + + await polkadotAssetHub.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // DOT + ], + }, + }); + + const recipientsInitialDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; + expect(recipientsInitialDOTBalance.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(polkadotAssetHub.api, 'asset-hub-polkadot', 4); + const tx = await assetTransferApi.createTransferTransaction('1000', recipientAddress, ['dot'], ['1000000000000'], { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await polkadotAssetHub.api.tx(extrinsic).signAndSend(alice); + await polkadotAssetHub.dev.newBlock(); + + const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; + expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(1000000); + }, 50000); + + test('AssetHub Local Pool Asset Transfer', async () => { + await polkadotAssetHub.api.isReady; + + await polkadotAssetHub.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // DOT + [[recipientAddress], { providers: 1, data: { free: 2 * 1e12 } }], // DOT + ], + }, + PoolAssets: { + Account: [[[30, alice.address], { balance: 75000000000000 }]], + }, + }); + + const aliceBalance = (await polkadotAssetHub.api.query.poolAssets.account(30, alice.address)).unwrapOrDefault(); + expect(aliceBalance.balance.toNumber()).toEqual(75000000000000); + + const recipientsInitialPoolAssetBalance = ( + await polkadotAssetHub.api.query.poolAssets.account(30, recipientAddress) + ).unwrapOrDefault(); + expect(recipientsInitialPoolAssetBalance.balance.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(polkadotAssetHub.api, 'asset-hub-polkadot', 4); + const tx = await assetTransferApi.createTransferTransaction('1000', recipientAddress, ['30'], ['10'], { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + transferLiquidToken: true, + }); + + console.log('payload', JSON.stringify(tx)); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await polkadotAssetHub.api.tx(extrinsic).signAndSend(alice); + await polkadotAssetHub.dev.newBlock(); + + const recipientsUpdatedPoolAssetBalance = ( + await polkadotAssetHub.api.query.poolAssets.account(30, recipientAddress) + ).unwrapOrDefault(); + expect(recipientsUpdatedPoolAssetBalance.balance.toNumber()).toBeGreaterThan( + recipientsInitialPoolAssetBalance.balance.toNumber(), + ); + }, 50000); + + test('Hydration Local HDX Transfer', async () => { + await hydration.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // HDX + ], + }, + Tokens: { + Accounts: [ + [[alice.address, 0], { free: '50000000000000000000000000' }], // HDX + ], + }, + }); + + const recipientInitialHDXBalance = await hydration.api.query.tokens.accounts(recipientAddress, 0); + expect((recipientInitialHDXBalance as AccountData).free.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(hydration.api, 'hydradx', 4); + const tx = await assetTransferApi.createTransferTransaction( + '2034', + recipientAddress, + ['0'], // HDX currency ID + ['1000000000000'], + { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }, + ); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await hydration.api.tx(extrinsic).signAndSend(alice); + await hydration.dev.newBlock(); + + const recipientUpdatedHDXBalance = await hydration.api.query.tokens.accounts(recipientAddress, 0); + expect((recipientUpdatedHDXBalance as AccountData).free.toNumber()).toBeGreaterThan( + (recipientInitialHDXBalance as AccountData).free.toNumber(), + ); + }, 70000); + + test('Transfer DOT From Hydration to AssetHub', async () => { + await hydration.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // HDX + ], + }, + Tokens: { + Accounts: [ + [[alice.address, 5], { free: 1000 * 1e12 }], // DOT + ], + }, + }); + + const recipientsInitialDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; + expect(recipientsInitialDOTBalance.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(hydration.api, 'hydradx', 4); + const tx = await assetTransferApi.createTransferTransaction('1000', recipientAddress, ['DOT'], ['1000000000000'], { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }); + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await hydration.api.tx(extrinsic).signAndSend(alice); + await hydration.dev.newBlock(); + await polkadotAssetHub.dev.newBlock(); + + const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; + expect(recipientsUpdatedDOTBalance.toNumber()).not.toEqual(0); + expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(recipientsInitialDOTBalance.toNumber()); + }, 70000); + + test('Transfer DOT From AssetHub to Hydration', async () => { + await polkadotAssetHub.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // DOT + ], + }, + }); + + const recipientsInitialDOTBalance = await hydration.api.query.tokens.accounts(recipientAddress, 5); + expect((recipientsInitialDOTBalance as AccountData).free.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(polkadotAssetHub.api, 'asset-hub-polkadot', 4); + const tx = await assetTransferApi.createTransferTransaction('2034', recipientAddress, ['DOT'], ['1000000000000'], { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + }); + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await polkadotAssetHub.api.tx(extrinsic).signAndSend(alice); + await polkadotAssetHub.dev.newBlock(); + await hydration.dev.newBlock(); + + const recipientsUpdatedDOTBalance = await hydration.api.query.tokens.accounts(recipientAddress, 5); + expect((recipientsUpdatedDOTBalance as AccountData).free.toNumber()).toBeGreaterThan( + (recipientsInitialDOTBalance as AccountData).free.toNumber(), + ); + }, 50000); + + test('Transfer SnowBridge WETH From Hydration To AssetHub', async () => { + await hydration.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // HDX + ], + }, + Tokens: { + Accounts: [ + [[alice.address, 0], { free: '50000000000000000000000000' }], // HDX + [[alice.address, 1000189], { free: '50000000000000000000000000' }], // Snowbridge WETH + ], + }, + }); + + const recipientsInitialWETHBalance = ( + (await polkadotAssetHub.api.query.foreignAssets.account( + snowbridgeWETHLocation, + recipientAddress, + )) as Option + ).unwrapOrDefault(); + expect(recipientsInitialWETHBalance.balance.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(hydration.api, 'hydradx', 4, { + registryType: 'NPM', + injectedRegistry: { + polkadot: { + 2034: { + tokens: [], + assetsInfo: {}, + foreignAssetsInfo: {}, + poolPairsInfo: {}, + specName: 'hydradx', + xcAssetsData: [ + { + paraID: 0, + symbol: 'WETH.snow', + decimals: 18, + xcmV1MultiLocation: + '{"v1":{"parents":2,"interior":{"x2":[{"globalConsensus":{"ethereum":{"chainId":1}}},{"accountKey20":{"network":null,"key":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}]}}}', + asset: '1000189', + assetHubReserveLocation: '{"parents":"1","interior":{"X1":{"Parachain":"1000"}}}', + }, + ], + }, + }, + }, + }); + const tx = await assetTransferApi.createTransferTransaction( + '1000', + recipientAddress, + ['WETH.snow'], + ['25000000000000'], + { + format: 'payload', + xcmVersion: 4, + sendersAddr: '7NPoMQbiA6trJKkjB35uk96MeJD4PGWkLQLH7k7hXEkZpiba', + }, + ); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await hydration.api.tx(extrinsic).signAndSend(alice); + await hydration.dev.newBlock(); + + await polkadotAssetHub.dev.newBlock(); + + const recipientsUpdatedWETHBalance = ( + (await polkadotAssetHub.api.query.foreignAssets.account( + snowbridgeWETHLocation, + recipientAddress, + )) as Option + ).unwrapOrDefault(); + + expect(JSON.stringify(recipientsUpdatedWETHBalance)).not.toEqual('null'); + expect(recipientsUpdatedWETHBalance.balance.toNumber()).toBeGreaterThan(0); + }, 50000); + + test('Transfer SnowBridge WETH From AssetHub To Hydration', async () => { + await polkadotAssetHub.dev.setStorage({ + System: { + Account: [ + [[alice.address], { providers: 1, data: { free: 10 * 1e12 } }], // DOT + ], + }, + ForeignAssets: { + Account: [[[snowbridgeWETHLocation, alice.address], { balance: 75000000000000 }]], + }, + }); + + const recipientsInitialHydrationWETHBalance = await hydration.api.query.tokens.accounts(recipientAddress, 1000189); + expect((recipientsInitialHydrationWETHBalance as AccountData).free.toNumber()).toEqual(0); + + const assetTransferApi = new AssetTransferApi(polkadotAssetHub.api, 'asset-hub-polkadot', 4); + const tx = await assetTransferApi.createTransferTransaction( + '2034', + recipientAddress, + [ + `{"parents":"2","interior":{"X2":[{"GlobalConsensus":{"Ethereum":{"chainId":"1"}}},{"AccountKey20":{"network":null,"key":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}]}}`, + ], + ['25000000000000'], + { + format: 'payload', + xcmVersion: 4, + sendersAddr: alice.address, + paysWithFeeDest: + '{"parents":"2","interior":{"X2":[{"GlobalConsensus":{"Ethereum":{"chainId":"1"}}},{"AccountKey20":{"network":null,"key":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}]}}', + assetTransferType: 'LocalReserve', + remoteReserveAssetTransferTypeLocation: '{"parents":"1","interior":{"X1":{"Parachain":"1000"}}}', + feesTransferType: 'LocalReserve', + remoteReserveFeesTransferTypeLocation: '{"parents":"1","interior":{"X1":{"Parachain":"1000"}}}', + }, + ); + + const extrinsic = assetTransferApi.api.registry.createType('Extrinsic', { method: tx.tx.method }, { version: 4 }); + + await polkadotAssetHub.api.tx(extrinsic).signAndSend(alice); + await polkadotAssetHub.dev.newBlock(); + await hydration.dev.newBlock(); + + const recipientsUpdatedWETHBalance = await hydration.api.query.tokens.accounts(recipientAddress, 1000189); + expect((recipientsUpdatedWETHBalance as AccountData).free.toNumber()).toBeGreaterThan( + (recipientsInitialHydrationWETHBalance as AccountData).free.toNumber(), + ); + }, 50000); +}); diff --git a/e2e-tests/tests.sh b/e2e-tests/tests.sh deleted file mode 100755 index d53cd824..00000000 --- a/e2e-tests/tests.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -test=$1 -yarn run build:e2e -if [ $test = '--assets' ]; then - script=post -elif [ $test = '--local' ]; then - script=post -elif [ $test = '--liquidity-assets' ]; then - script=liquidity-assets -elif [ $test = '--foreign-assets' ]; then - script=foreign-assets -fi - -yarn run start:zombienet-$script-script - -sleep 24 - -node ./e2e-tests/build/e2e-tests/executor.js $test diff --git a/e2e-tests/tests/assets.ts b/e2e-tests/tests/assets.ts deleted file mode 100644 index e525f4a8..00000000 --- a/e2e-tests/tests/assets.ts +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import { ApiPromise } from '@polkadot/api'; -import { KeyringPair } from '@polkadot/keyring/types'; - -import { AssetTransferApi } from '../../src'; -import { TxResult } from '../../src/types'; - -const createAssetApi = (api: ApiPromise, specName: string, safeXcmVersion: number): AssetTransferApi => { - const injectedRegistry = { - paseo: { - '3369': { - tokens: ['MUSE'], - assetsInfo: {}, - foreignAssetsInfo: {}, - specName: 'muse', - poolPairsInfo: {}, - }, - }, - }; - - const assetApi = new AssetTransferApi(api, specName, safeXcmVersion, { injectedRegistry }); - - return assetApi; -}; - -const createLocalSystemAssetsTransferTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: object, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: localTransferInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createPayFeesTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: object, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: localTransferInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -export const assetTests: { [K: string]: Function } = { - createLocalSystemAssetsTransferTransaction, - createPayFeesTransaction, -}; diff --git a/e2e-tests/tests/foreignAssets.ts b/e2e-tests/tests/foreignAssets.ts deleted file mode 100644 index c7d2ac97..00000000 --- a/e2e-tests/tests/foreignAssets.ts +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import { ApiPromise } from '@polkadot/api'; -import { KeyringPair } from '@polkadot/keyring/types'; - -import { AssetTransferApi } from '../../src'; -import { TxResult } from '../../src/types'; - -const createAssetApi = (api: ApiPromise, specName: string, safeXcmVersion: number): AssetTransferApi => { - const injectedRegistry = { - paseo: { - '3369': { - tokens: ['MUSE'], - assetsInfo: {}, - foreignAssetsInfo: {}, - specName: 'muse', - poolPairsInfo: {}, - }, - }, - }; - - const assetApi = new AssetTransferApi(api, specName, safeXcmVersion, { injectedRegistry }); - - return assetApi; -}; - -const createForeignTransferTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: object, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: localTransferInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createLocalForeignTransferTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: object, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: localTransferInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -export const foreignAssetsTests: { [K: string]: Function } = { - createForeignTransferTransaction, - createLocalForeignTransferTransaction, -}; diff --git a/e2e-tests/tests/index.ts b/e2e-tests/tests/index.ts deleted file mode 100644 index 14f62944..00000000 --- a/e2e-tests/tests/index.ts +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -export { assetTests } from './assets'; -export { foreignAssetsTests } from './foreignAssets'; -export { liquidPoolsTests } from './liquidPools'; -export { localTests } from './local'; -import { BOB_ADDR, FERDE_ADDR } from '../consts'; - -export interface IndividualTest { - test: string; - args: string[]; - verification: string[]; -} - -export interface TestGroups { - foreignAssets: IndividualTest[]; - liquidPools: IndividualTest[]; - assets: IndividualTest[]; - local: IndividualTest[]; -} - -export const tests: TestGroups = { - foreignAssets: [ - { - test: 'createForeignTransferTransaction', - args: [ - '1000', - '3369', - '//Alice', - BOB_ADDR, - '[{ "parents": "1", "interior": { "X2": [{ "Parachain": "3369" }, { "GeneralIndex": "0" }]}}]', - '[200000000]', - '{ "format": "payload", "xcmVersion": 3, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" }', - ], - verification: [ - '[{ "parents": "1", "interior": { "X2": [{ "Parachain": "3369" }, { "GeneralIndex": "0" }]}}]', - '[200000000]', - ], - }, - { - test: 'createLocalForeignTransferTransaction', - args: [ - '1000', - '1000', - '//Alice', - FERDE_ADDR, - '[{ "parents": "1", "interior": { "X2": [{ "Parachain": "3369" }, { "GeneralIndex": "0" }]}}]', - '[200000000000]', - '{ "format": "payload", "xcmVersion": 3, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" }', - ], - verification: [ - '[{ "parents": "1", "interior": { "X2": [{ "Parachain": "3369" }, { "GeneralIndex": "0" }]}}]', - '[200000000000]', - ], - }, - ], - liquidPools: [ - { - test: 'createLocalTransferTransaction', - args: [ - '1000', - '1000', - '//Alice', - BOB_ADDR, - '[0]', - '[20000]', - '{ "format": "payload", "keepAlive": true, "transferLiquidToken": true, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" }', - ], - verification: ['[0]', '[20000]'], - }, - { - test: 'createPayFeesTransaction', - args: [ - '1000', - '1000', - '//Bob', - FERDE_ADDR, - '[0]', - '[3000000]', - '{ "format": "payload", "keepAlive": true, "transferLiquidToken": true, "paysWithFeeOrigin": { "parents": "0", "interior": { "X2": [{"PalletInstance": "50"}, { "GeneralIndex": "1" }]}}, "sendersAddr": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty" }', - ], - verification: ['[0]', '[3000000]'], - }, - ], - local: [ - { - test: 'createLocalTransferTransaction', - args: [ - '1000', - '1000', - '//Alice', - BOB_ADDR, - '[]', - '[100000000000]', - '{ "format": "payload", "keepAlive": true, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" }', - ], - verification: ['[]', '[100000000000]'], - }, - { - test: 'createLocalTransferTransactionWithFees', - args: [ - '0', - '0', - '//Alice', - BOB_ADDR, - '[]', - '[100000000000000000]', - '{ "format": "payload", "keepAlive": true, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", "paysWithFeeOrigin": { "parents": "0", "interior": { "X2": [{"PalletInstance": "50"}, { "GeneralIndex": "1" }]}} }', - ], - verification: ['[]', '[10000000000000]'], - }, - { - test: 'createLimitedNativeTransferToRelay', - args: [ - '1000', - '0', - '//Alice', - BOB_ADDR, - '[]', - '[1000000000000000]', - '{ "format": "payload", "keepAlive": true, "xcmVersion": 3, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", "paysWithFeeOrigin": { "parents": "0", "interior": { "X2": [{"PalletInstance": "50"}, { "GeneralIndex": "1" }]}} }', - ], - verification: ['[]', '[1000000000000000]'], - }, - { - test: 'createLimitedNativeTransferToSystem', - args: [ - '0', - '1000', - '//Bob', - FERDE_ADDR, - '[]', - '[210000000000000]', - '{ "format": "payload", "keepAlive": true, "xcmVersion": 3, "weightLimit": {"refTime": "10000" , "proofSize": "3000"}, "sendersAddr": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty", "paysWithFeeOrigin": { "parents": "0", "interior": { "X2": [{"PalletInstance": "50"}, { "GeneralIndex": "1" }]}} }', - ], - verification: ['[]', '[210000000000000]'], - }, - ], - assets: [ - { - test: 'createLocalSystemAssetsTransferTransaction', - args: [ - '1000', - '1000', - '//Alice', - BOB_ADDR, - '[1]', - '[3000000000000]', - '{ "format": "payload", "keepAlive": true, "sendersAddr": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" }', - ], - verification: ['[1]', '[3000000000000]'], - }, - { - test: 'createPayFeesTransaction', - args: [ - '1000', - '1000', - '//Bob', - FERDE_ADDR, - '[1]', - '[200000000000]', - '{ "format": "payload", "keepAlive": false, "sendersAddr": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty", "paysWithFeeOrigin": { "parents": "0", "interior": { "X2": [{"PalletInstance": "50"}, { "GeneralIndex": "1" }]}} }', - ], - verification: ['[1]', '[200000000000]'], - }, - ], -}; diff --git a/e2e-tests/tests/liquidPools.ts b/e2e-tests/tests/liquidPools.ts deleted file mode 100644 index d34b04ba..00000000 --- a/e2e-tests/tests/liquidPools.ts +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import { ApiPromise } from '@polkadot/api'; -import { KeyringPair } from '@polkadot/keyring/types'; - -import { AssetTransferApi } from '../../src'; -import { TxResult } from '../../src/types'; - -const createAssetApi = (api: ApiPromise, specName: string, safeXcmVersion: number): AssetTransferApi => { - const injectedRegistry = { - paseo: { - '3369': { - tokens: ['MUSE'], - assetsInfo: {}, - foreignAssetsInfo: {}, - specName: 'muse', - poolPairsInfo: {}, - }, - }, - }; - - const assetApi = new AssetTransferApi(api, specName, safeXcmVersion, { injectedRegistry }); - - return assetApi; -}; - -const createLocalTransferTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: object, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: localTransferInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createPayFeesTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: {}, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let transferWithFeesInfo: TxResult<'payload'>; - try { - transferWithFeesInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const extrinsic = api.registry.createType('Extrinsic', { method: transferWithFeesInfo.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -export const liquidPoolsTests: { [K: string]: Function } = { createLocalTransferTransaction, createPayFeesTransaction }; diff --git a/e2e-tests/tests/local.ts b/e2e-tests/tests/local.ts deleted file mode 100644 index 93124a18..00000000 --- a/e2e-tests/tests/local.ts +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import { ApiPromise } from '@polkadot/api'; -import { KeyringPair } from '@polkadot/keyring/types'; -import { EXTRINSIC_VERSION } from 'consts'; - -import { AssetTransferApi } from '../../src'; -import { TxResult } from '../../src/types'; - -const createAssetApi = (api: ApiPromise, specName: string, safeXcmVersion: number): AssetTransferApi => { - const injectedRegistry = { - paseo: { - '3369': { - tokens: ['MUSE'], - assetsInfo: {}, - foreignAssetsInfo: {}, - specName: 'muse', - poolPairsInfo: {}, - }, - }, - }; - - const assetApi = new AssetTransferApi(api, specName, safeXcmVersion, { injectedRegistry }); - - return assetApi; -}; - -const createLocalTransferTransaction = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: {}, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const payload = api.createType('ExtrinsicPayload', localTransferInfo.tx, { - version: EXTRINSIC_VERSION, - }); - - const extrinsic = api.registry.createType('Extrinsic', { method: payload.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createLocalTransferTransactionWithFees = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: {}, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const payload = api.createType('ExtrinsicPayload', localTransferInfo.tx, { - version: EXTRINSIC_VERSION, - }); - - const extrinsic = api.registry.createType('Extrinsic', { method: payload.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createLimitedNativeTransferToRelay = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: {}, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const payload = api.createType('ExtrinsicPayload', localTransferInfo.tx, { - version: EXTRINSIC_VERSION, - }); - - const extrinsic = api.registry.createType('Extrinsic', { method: payload.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -const createLimitedNativeTransferToSystem = async ( - origin: KeyringPair, - destChainId: string, - destAddr: string, - assetIds: string[], - amounts: string[], - opts: {}, - api: ApiPromise, - specName: string, - safeXcmVersion: number, -) => { - const assetApi = createAssetApi(api, specName, safeXcmVersion); - - let localTransferInfo: TxResult<'payload'>; - try { - localTransferInfo = await assetApi.createTransferTransaction(destChainId, destAddr, assetIds, amounts, opts); - - const payload = api.createType('ExtrinsicPayload', localTransferInfo.tx, { - version: EXTRINSIC_VERSION, - }); - - const extrinsic = api.registry.createType('Extrinsic', { method: payload.method }, { version: 4 }); - - await api.tx(extrinsic).signAndSend(origin); - } catch (e) { - console.error(e); - throw Error(e as string); - } -}; - -export const localTests: { [K: string]: Function } = { - createLocalTransferTransaction, - createLocalTransferTransactionWithFees, - createLimitedNativeTransferToRelay, - createLimitedNativeTransferToSystem, -}; diff --git a/e2e-tests/tsconfig.json b/e2e-tests/tsconfig.json index afbdecef..e4500cda 100644 --- a/e2e-tests/tsconfig.json +++ b/e2e-tests/tsconfig.json @@ -1,9 +1,8 @@ { - "extends": "@substrate/dev/config/tsconfig.json", + "extends": "../node_modules/@substrate/dev/config/tsconfig.json", "compilerOptions": { "baseUrl": ".", "outDir": "build", - "suppressImplicitAnyIndexErrors": true, "ignoreDeprecations": "5.0", "resolveJsonModule": true } diff --git a/e2e-tests/verification.ts b/e2e-tests/verification.ts deleted file mode 100644 index 99a88a4e..00000000 --- a/e2e-tests/verification.ts +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. -import { IBalance } from './balance'; - -/** - * This function verifies whether the test transaction impacted the destination's - * account balance - * @param assetIds assets to be queried - * @param amounts expected final balance - * @param destBalance stored queried balance - * @returns whetere the balance was modified as expected or not - */ -export const verification = (assetIds: string[], amounts: string[], destBalance: IBalance) => { - const destInitialBalance: [string, number][] = destBalance.initial; - const destFinalBalance: [string, number][] = destBalance.final; - const correctlyReceived: [string, boolean][] = []; - - let check = true; - for (let i = 0; i < assetIds.length; i++) { - check = destInitialBalance[i][1] + Number(amounts[i]) == destFinalBalance[i][1]; - correctlyReceived.push([destInitialBalance[i][0], check]); - } - - return correctlyReceived; -}; diff --git a/e2e-tests/zombienet.sh b/e2e-tests/zombienet.sh deleted file mode 100755 index 2f7831df..00000000 --- a/e2e-tests/zombienet.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -if [ $(uname) = 'Darwin' ]; then - os='zombienet-macOS' -elif [ $(uname) = 'Linux' ]; then - if [ $(uname -m) = 'x86_64' ]; then - os='zombienet-linux-x64' - elif [ $(uname -m) = 'arm64' ]; then - os='zombienet-linux-arm64' - fi -fi - -sed -i 's="./zombienet/zombienet": .*"="./zombienet/zombienet": "'$os' -p native spawn ./zombienet/medium-network.toml"=' package.json - -yarn run zombienet diff --git a/examples/tsconfig.json b/examples/tsconfig.json index 5a1d588c..dd639079 100644 --- a/examples/tsconfig.json +++ b/examples/tsconfig.json @@ -1,9 +1,8 @@ { - "extends": "@substrate/dev/config/tsconfig.json", + "extends": "../node_modules/@substrate/dev/config/tsconfig.json", "compilerOptions": { "baseUrl": ".", "outDir": "build", - "suppressImplicitAnyIndexErrors": true, "resolveJsonModule": true, "esModuleInterop": true, "ignoreDeprecations": "5.0" diff --git a/package.json b/package.json index e2e75292..84f2ce9e 100644 --- a/package.json +++ b/package.json @@ -9,20 +9,14 @@ "build:examples": "substrate-exec-rimraf examples/build/ && substrate-exec-tsc --project examples/tsconfig.json", "build:e2e": "substrate-exec-rimraf e2e-tests/build/ && substrate-exec-tsc --project e2e-tests/tsconfig.json", "start": "node ./lib/index.js", - "start:zombienet-post-script": "yarn build:scripts && node ./scripts/build/testNetworkSetup.js", - "start:zombienet-foreign-assets-script": "yarn build:scripts && node ./scripts/build/testNetworkForeignAssets.js", - "start:zombienet-liquidity-assets-script": "yarn build:scripts && node ./scripts/build/testNetworkLiquidAssets.js", - "zombienet": "./zombienet/zombienet-linux-x64 -p native spawn ./zombienet/medium-network.toml", - "e2e:zombienet": "./e2e-tests/zombienet.sh", - "e2e:assets": "./e2e-tests/tests.sh --assets", - "e2e:local": "./e2e-tests/tests.sh --local", - "e2e:liquidity-assets": "./e2e-tests/tests.sh --liquidity-assets", - "e2e:foreign-assets": "./e2e-tests/tests.sh --foreign-assets", "lint": "substrate-dev-run-lint", "lint:fix": "substrate-dev-run-lint --fix", - "test": "NODE_ENV=test substrate-exec-jest --detectOpenHandles", "docs": "typedoc", - "deploy": "yarn build && npm publish" + "deploy": "yarn build && npm publish", + "test:e2e": "vitest --project e2e", + "test:integration": "vitest --project integration", + "test:unit": "vitest --project unit", + "test": "vitest" }, "engines": { "node": ">=18.14" @@ -45,17 +39,24 @@ "ansi-colors": "^4.1.3", "chalk": "5.3.0", "cli-progress": "^3.12.0", - "typedoc": "^0.27.2", + "typedoc": "^0.26.10", "typedoc-plugin-missing-exports": "^3.0.0", - "typedoc-theme-hierarchy": "^5.0.3" + "typedoc-theme-hierarchy": "^5.0.3", + "vitest": "^2.1.8" }, "dependencies": { - "@polkadot/api": "15.0.1", - "@polkadot/api-augment": "15.0.1", - "@polkadot/types": "15.0.1", - "@polkadot/types-codec": "15.0.1", - "@polkadot/util": "13.2.3", - "@polkadot/util-crypto": "13.2.3", + "@acala-network/chopsticks-core": "^1.0.1", + "@acala-network/chopsticks-testing": "^1.0.1", + "@polkadot/api": "^14.2.3", + "@polkadot/api-augment": "^14.2.3", + "@polkadot/types": "^14.2.3", + "@polkadot/types-codec": "^14.2.3", + "@polkadot/util": "^13.2.3", + "@polkadot/util-crypto": "^13.2.3", "@substrate/asset-transfer-api-registry": "^0.2.24" + }, + "resolutions": { + "@polkadot/util-crypto": "13.2.2", + "@polkadot/util": "13.2.2" } } diff --git a/scripts/consts.ts b/scripts/consts.ts deleted file mode 100644 index 0cff5b9a..00000000 --- a/scripts/consts.ts +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -export const KUSAMA_ASSET_HUB_WS_URL = 'ws://127.0.0.1:9911'; -export const PASEO_ALICE_WS_URL = 'ws://127.0.0.1:9900'; -export const MUSE_WS_URL = 'ws://127.0.0.1:9921'; diff --git a/scripts/testNetworkForeignAssets.ts b/scripts/testNetworkForeignAssets.ts deleted file mode 100644 index db507716..00000000 --- a/scripts/testNetworkForeignAssets.ts +++ /dev/null @@ -1,250 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { Keyring } from '@polkadot/keyring'; -import { cryptoWaitReady } from '@polkadot/util-crypto'; -import chalk from 'chalk'; - -import { KUSAMA_ASSET_HUB_WS_URL, MUSE_WS_URL, PASEO_ALICE_WS_URL } from './consts'; -import { awaitBlockProduction, awaitEpochChange, delay, logWithDate } from './util'; - -const fAssetSetMetadataCall = (assetHubApi: ApiPromise): `0x${string}` => { - const trappistMultilocation = { - parents: 1, - interior: { - X1: { - parachain: 3369, - }, - }, - }; - - const setMetadataTx = assetHubApi.tx.foreignAssets.setMetadata( - trappistMultilocation, - 'Asset Hub Paseo Muse', - 'Muse', - 12, - ); - - const hexCall = assetHubApi.registry - .createType('Call', { - callIndex: setMetadataTx.callIndex, - args: setMetadataTx.args, - }) - .toHex(); - - return hexCall; -}; - -const fAssetCreateCall = (assetHubApi: ApiPromise): `0x${string}` => { - const trappistMultilocation = { - parents: 1, - interior: { - X1: { - parachain: 3369, - }, - }, - }; - - const createTx = assetHubApi.tx.foreignAssets.create( - trappistMultilocation, - '5Eg2fnsjAAr8RGZfa8Sy5mYFPabA9ZLNGYECCKXPD6xnK6D2', // Sibling 3369 -> ParaId - '100000000000', - ); - - const hexCall = assetHubApi.registry - .createType('Call', { - callIndex: createTx.callIndex, - args: createTx.args, - }) - .toHex(); - - return hexCall; -}; - -const sudoCallWrapper = (trappistApi: ApiPromise, call: `0x${string}`) => { - // Double encode the call - const xcmDoubleEncoded = trappistApi.createType('XcmDoubleEncoded', { - encoded: call, - }); - - const xcmOriginType = trappistApi.createType('XcmOriginKind', 'Xcm'); - const xcmDestMultiLocation = { - V3: { - parents: 1, - interior: { - X1: { - parachain: 1000, - }, - }, - }, - }; - const xcmMessage = { - V3: [ - { - withdrawAsset: [ - { - id: { - concrete: { - parents: 1, - interior: { Here: '' }, - }, - }, - fun: { - fungible: 100000000000, - }, - }, - ], - }, - { - buyExecution: { - fees: { - id: { - concrete: { - parents: 1, - interior: { Here: '' }, - }, - }, - fun: { - fungible: 100000000000, - }, - }, - weightLimit: { Unlimited: '' }, - }, - }, - { - transact: { - originKind: xcmOriginType, - requireWeightAtMost: { - refTime: 8000000000, - proofSize: 65536, - }, - call: xcmDoubleEncoded, - }, - }, - { - refundSurplus: true, - }, - { - depositAsset: { - assets: { - wild: { - All: '', - }, - }, - beneficiary: { - parents: 0, - interior: { - x1: { - AccountId32: { - id: '0x7369626c2c070000000000000000000000000000000000000000000000000000', - }, - }, - }, - }, - }, - }, - ], - }; - const xcmMsg = trappistApi.tx.polkadotXcm.send(xcmDestMultiLocation, xcmMessage); - const xcmCall = trappistApi.createType('Call', { - callIndex: xcmMsg.callIndex, - args: xcmMsg.args, - }); - - return xcmCall; -}; - -const createForeignAssetViaSudo = (assetHubApi: ApiPromise, trappistApi: ApiPromise) => { - const foreignAssetCreateCall = fAssetCreateCall(assetHubApi); - return sudoCallWrapper(trappistApi, foreignAssetCreateCall); -}; - -const setMetadataForeignAssetViaSudo = (assetHubApi: ApiPromise, trappistApi: ApiPromise) => { - const setMetadataCall = fAssetSetMetadataCall(assetHubApi); - return sudoCallWrapper(trappistApi, setMetadataCall); -}; - -const openHrmpChannels = (api: ApiPromise, sender: number, receiver: number) => { - return api.tx.hrmp.forceOpenHrmpChannel(sender, receiver, Number(8), Number(512)); -}; - -const main = async () => { - logWithDate(chalk.yellow('Initializing script to create foreignAssets on chain')); - await cryptoWaitReady(); - - const keyring = new Keyring({ type: 'sr25519' }); - const alice = keyring.addFromUri('//Alice'); - const bob = keyring.addFromUri('//Bob'); - - const kusamaAssetHubApi = await ApiPromise.create({ - provider: new WsProvider(KUSAMA_ASSET_HUB_WS_URL), - noInitWarn: true, - }); - - await kusamaAssetHubApi.isReady; - logWithDate(chalk.green('Created a connection to Kusama AssetHub')); - - const trappistApi = await ApiPromise.create({ - provider: new WsProvider(MUSE_WS_URL), - noInitWarn: true, - }); - - await trappistApi.isReady; - logWithDate(chalk.green('Created a connection to Muse')); - - const relayApi = await ApiPromise.create({ - provider: new WsProvider(PASEO_ALICE_WS_URL), - noInitWarn: true, - }); - - await relayApi.isReady; - - logWithDate(chalk.green('Created a connection to Paseo')); - - logWithDate(chalk.blue('Opening HRMP Channels')); - - const hrmpChannelCalls = []; - - hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1000), Number(3369))); - hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(3369), Number(1000))); - - await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice); - - await awaitEpochChange(relayApi); - logWithDate(chalk.magenta('HRMP channels open')); - - logWithDate(chalk.magenta('Sending funds to Trappist Sibling on Kusama AssetHub')); - - await kusamaAssetHubApi.tx.balances - .transferKeepAlive('5Eg2fnsjAAr8RGZfa8Sy5mYFPabA9ZLNGYECCKXPD6xnK6D2', 10000000000000) - .signAndSend(bob); - - const foreignAssetsCreateSudoXcmCall = createForeignAssetViaSudo(kusamaAssetHubApi, trappistApi); - - logWithDate('Sending Sudo XCM message from relay chain to execute create foreign asset call on Kusama AssetHub'); - await trappistApi.tx.sudo.sudo(foreignAssetsCreateSudoXcmCall).signAndSend(alice); - - await delay(24000); - - const foreignAssetsSetMetadataSudoXcmCall = setMetadataForeignAssetViaSudo(kusamaAssetHubApi, trappistApi); - - logWithDate('Sending Sudo XCM message from relay chain to execute setMetadata call on Kusama AssetHub'); - await trappistApi.tx.sudo.sudo(foreignAssetsSetMetadataSudoXcmCall).signAndSend(alice); - - await delay(24000); - - await kusamaAssetHubApi.disconnect().then(() => { - logWithDate(chalk.blue('Polkadot-js successfully disconnected from asset-hub')); - }); - - await trappistApi.disconnect().then(() => { - logWithDate(chalk.blue('Polkadot-js successfully disconnected from Trappist')); - }); -}; - -// eslint-disable-next-line @typescript-eslint/no-floating-promises -awaitBlockProduction(MUSE_WS_URL).then(async () => { - await main() - .catch(console.error) - .finally(() => process.exit()); -}); diff --git a/scripts/testNetworkLiquidAssets.ts b/scripts/testNetworkLiquidAssets.ts deleted file mode 100644 index 16066b78..00000000 --- a/scripts/testNetworkLiquidAssets.ts +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { Keyring } from '@polkadot/keyring'; -import { KeyringPair } from '@polkadot/keyring/types'; -import { cryptoWaitReady } from '@polkadot/util-crypto'; -import chalk from 'chalk'; - -import { KUSAMA_ASSET_HUB_WS_URL, PASEO_ALICE_WS_URL } from './consts'; -import { awaitBlockProduction, awaitEpochChange, delay, logWithDate } from './util'; - -const ASSET_ID = 1; -const ASSET_NAME = 'Testy'; -const ASSET_TICKER = 'TSTY'; -const ASSET_DECIMALS = 12; -const ASSET_MIN = 1; - -const asset = { - parents: 0, - interior: { - X2: [{ palletInstance: 50 }, { generalIndex: ASSET_ID }], - }, -}; - -const native = { - parents: 1, - interior: { - Here: '', - }, -}; - -const createAssetCall = (api: ApiPromise, admin: KeyringPair) => { - return api.tx.assets.create(ASSET_ID, admin.address, ASSET_MIN); -}; - -const setMetadataCall = (api: ApiPromise) => { - return api.tx.assets.setMetadata(ASSET_ID, ASSET_NAME, ASSET_TICKER, ASSET_DECIMALS); -}; - -const mintCall = (api: ApiPromise, to: KeyringPair, amount: number) => { - return api.tx.assets.mint(ASSET_ID, to.address, amount); -}; - -const createLiquidityPoolCall = (api: ApiPromise) => { - // For now, we have to override the types of the Assets until PJS is updated - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any - return api.tx.assetConversion.createPool(native, asset); -}; - -const addLiquidityCall = (api: ApiPromise, amountNative: number, amountAsset: number, to: KeyringPair) => { - // For now, we have to override the types of the Assets until PJS is updated - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any - return api.tx.assetConversion.addLiquidity(native, asset, amountNative, amountAsset, 0, 0, to.address); -}; - -const transferLPTokensCall = (api: ApiPromise, token: number, amount: number, to: KeyringPair) => { - return api.tx.poolAssets.transferKeepAlive(token, to.address, amount); -}; - -const openHrmpChannels = (api: ApiPromise, sender: number, receiver: number) => { - return api.tx.hrmp.forceOpenHrmpChannel(sender, receiver, Number(8), Number(512)); -}; - -const main = async () => { - logWithDate(chalk.yellow('Initializing script to create a liquidity pool on Kusama Asset Hub')); - await cryptoWaitReady(); - - const keyring = new Keyring({ type: 'sr25519' }); - const alice = keyring.addFromUri('//Alice'); - const bob = keyring.addFromUri('//Bob'); - - const relayApi = await ApiPromise.create({ - provider: new WsProvider(PASEO_ALICE_WS_URL), - noInitWarn: true, - }); - - await relayApi.isReady; - - logWithDate(chalk.blue('Opening HRMP Channels')); - - const hrmpChannelCalls = []; - - hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1000), Number(1836))); - hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1836), Number(1000))); - - await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice); - - await awaitEpochChange(relayApi); - logWithDate(chalk.magenta('HRMP channels open')); - - const api = await ApiPromise.create({ - provider: new WsProvider(KUSAMA_ASSET_HUB_WS_URL), - noInitWarn: true, - }); - - await api.isReady; - - logWithDate(chalk.green('Created a connection to Kusama AssetHub')); - - const txs = []; - const create = createAssetCall(api, alice); - const setMetadata = setMetadataCall(api); - const mint = mintCall(api, alice, 10000000000000); - const createPool = createLiquidityPoolCall(api); - const addLiquidity = addLiquidityCall(api, 10000000000000, 10000000000000, alice); - - txs.push(create); - txs.push(setMetadata); - txs.push(mint); - txs.push(createPool); - txs.push(addLiquidity); - - await api.tx.utility.batch(txs).signAndSend(alice, { nonce: -1 }); - - await delay(24000); - - const nextLpToken = await api.query.assetConversion.nextPoolAssetId(); - - const lpToken = Number(nextLpToken) - 1; - - logWithDate(chalk.yellow('Asset and Liquidity Pool created')); - - logWithDate(chalk.green(`Liquidity Pool Token ID: ${lpToken}`)); - - const startingBalances = await api.query.poolAssets.account.entries(lpToken); - - startingBalances.slice(1).forEach( - ([ - { - args: [lpToken, address], - }, - value, - ]) => { - logWithDate( - chalk.blue( - `LP Token: ${Number(lpToken)}, Account: ${address.toString()}, Starting liquidty token balance: ${value - .unwrap() - .balance.toHuman()}`, - ), - ); - }, - ); - - await delay(24000); - - logWithDate(chalk.magenta('Sending 1,000,000,000,000 lpTokens from Alice to Bob on Kusama Asset Hub')); - - await transferLPTokensCall(api, 0, 1000000000000, bob).signAndSend(alice, { nonce: -1 }); - - await delay(24000); - - const newBalances = await api.query.poolAssets.account.entries(lpToken); - newBalances.slice(1).forEach( - ([ - { - args: [lpToken, address], - }, - value, - ]) => { - logWithDate( - chalk.blue( - `LP Token: ${Number(lpToken)}, Account: ${address.toString()}, New liquidty token balance: ${value - .unwrap() - .balance.toHuman()}`, - ), - ); - }, - ); - - await api.disconnect().then(() => { - logWithDate(chalk.yellow('Polkadot-js successfully disconnected from asset-hub')); - }); -}; - -// eslint-disable-next-line @typescript-eslint/no-floating-promises -awaitBlockProduction(KUSAMA_ASSET_HUB_WS_URL).then(async () => { - await main() - .catch(console.error) - .finally(() => process.exit()); -}); diff --git a/scripts/testNetworkSetup.ts b/scripts/testNetworkSetup.ts deleted file mode 100644 index 0aa392cf..00000000 --- a/scripts/testNetworkSetup.ts +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import '@polkadot/api-augment'; - -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { Keyring } from '@polkadot/keyring'; -import { DispatchError } from '@polkadot/types/interfaces'; -import { cryptoWaitReady } from '@polkadot/util-crypto'; -import chalk from 'chalk'; - -import { KUSAMA_ASSET_HUB_WS_URL, PASEO_ALICE_WS_URL } from './consts'; -import { awaitBlockProduction, delay, logWithDate } from './util'; - -/** - * This script is intended to be run after zombienet is running. - * It uses the hard coded values given in `zombienet.toml`. - */ - -const main = async () => { - logWithDate(chalk.yellow('Initializing script to run transaction on chain')); - await cryptoWaitReady(); - - const keyring = new Keyring({ type: 'sr25519' }); - const alice = keyring.addFromUri('//Alice'); - - const assetInfo = { - assetId: 1, - assetName: 'xUSD', - assetSymbol: 'XUSD', - assetDecimals: 12, - }; - - const kusamaAssetHubApi = await ApiPromise.create({ - provider: new WsProvider(KUSAMA_ASSET_HUB_WS_URL), - noInitWarn: true, - }); - - await kusamaAssetHubApi.isReady; - logWithDate(chalk.green('Created a connection to Kusama AssetHub')); - - const paseoApi = await ApiPromise.create({ - provider: new WsProvider(PASEO_ALICE_WS_URL), - noInitWarn: true, - }); - - await paseoApi.isReady; - logWithDate(chalk.green('Created a connection to Paseo')); - - /** - * Create this call via the parachain api, since this is the chain in which it will be called. - */ - const forceCreate = kusamaAssetHubApi.tx.assets.forceCreate(assetInfo.assetId, alice.address, true, 1000); - const forceCreateCall = kusamaAssetHubApi.createType('Call', { - callIndex: forceCreate.callIndex, - args: forceCreate.args, - }); - /** - * Create an xcm call via the relay chain because this is the chain in which it will be called. - * NOTE: The relay chain will have sudo powers. - */ - const xcmDoubleEncoded = paseoApi.createType('XcmDoubleEncoded', { - encoded: forceCreateCall.toHex(), - }); - const xcmOriginType = paseoApi.createType('XcmOriginKind', 'Superuser'); - const xcmDest = { - V3: { - parents: 0, - interior: { - X1: { - parachain: 1000, - }, - }, - }, - }; - const xcmMessage = { - V3: [ - { - unpaidExecution: { - weightLimit: { Unlimited: '' }, - checkOrigin: { - parents: 1, - interior: { Here: '' }, - }, - }, - }, - { - transact: { - originKind: xcmOriginType, - requireWeightAtMost: { - refTime: 1000000000, - proofSize: 900000, - }, - call: xcmDoubleEncoded, - }, - }, - ], - }; - const multiLocation = paseoApi.createType('XcmVersionedMultiLocation', xcmDest); - const xcmVersionedMsg = paseoApi.createType('XcmVersionedXcm', xcmMessage); - const xcmMsg = paseoApi.tx.xcmPallet.send(multiLocation, xcmVersionedMsg); - const xcmCall = paseoApi.createType('Call', { - callIndex: xcmMsg.callIndex, - args: xcmMsg.args, - }); - - logWithDate('Sending Sudo XCM message from relay chain to execute forceCreate call on Kusama AssetHub'); - await paseoApi.tx.sudo.sudo(xcmCall).signAndSend(alice); - - /** - * Make sure we allow the asset enough time to be created before we mint. - * This is because parachain block production by default can be expected to be 12 seconds. - */ - await delay(24000); - - /** - * Mint the asset after its forceCreated by Alice. - */ - const { nonce } = await kusamaAssetHubApi.query.system.account(alice.address); - const txs = [ - kusamaAssetHubApi.tx.assets.setMetadata( - assetInfo.assetId, - assetInfo.assetName, - assetInfo.assetSymbol, - assetInfo.assetDecimals, - ), - kusamaAssetHubApi.tx.assets.mint(assetInfo.assetId, alice.address, 100000 * 120000000), - ]; - const batch = kusamaAssetHubApi.tx.utility.batchAll(txs); - - logWithDate('Sending batch call in order to mint a test asset on Kusama AssetHub'); - await batch.signAndSend(alice, { nonce }, ({ status, events }) => { - if (status.isInBlock || status.isFinalized) { - events - // find/filter for failed events - .filter(({ event }) => kusamaAssetHubApi.events.system.ExtrinsicFailed.is(event)) - // we know that data for system.ExtrinsicFailed is - // (DispatchError, DispatchInfo) - .forEach( - ({ - event: { - data: [error], - }, - }) => { - if ((error as DispatchError).isModule) { - // for module errors, we have the section indexed, lookup - const decoded = kusamaAssetHubApi.registry.findMetaError((error as DispatchError).asModule); - const { docs, method, section } = decoded; - - console.log(`${section}.${method}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - console.log(error.toString()); - } - }, - ); - } - }); - logWithDate(chalk.yellow('Script finished. Exiting')); -}; - -// eslint-disable-next-line @typescript-eslint/no-floating-promises -awaitBlockProduction(KUSAMA_ASSET_HUB_WS_URL).then(async () => { - await main() - .catch(console.error) - .finally(() => process.exit()); -}); diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json deleted file mode 100644 index afbdecef..00000000 --- a/scripts/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@substrate/dev/config/tsconfig.json", - "compilerOptions": { - "baseUrl": ".", - "outDir": "build", - "suppressImplicitAnyIndexErrors": true, - "ignoreDeprecations": "5.0", - "resolveJsonModule": true - } -} diff --git a/scripts/util.ts b/scripts/util.ts deleted file mode 100644 index bbb0a980..00000000 --- a/scripts/util.ts +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2023 Parity Technologies (UK) Ltd. - -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { formatDate } from '@polkadot/util'; -import chalk from 'chalk'; - -/** - * Set a delay (sleep) - * - * @param ms Milliseconds - */ -export const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - -/** - * Formats a string to match the output of polkadot-js logging. - * - * @param log String to be logged - * @param remove Remove lines before that were cleared by std - */ -export const logWithDate = (log: string, remove?: boolean) => { - remove - ? console.log(`\r${formatDate(new Date())} ${log}`) - : console.log(`${formatDate(new Date())} ${log}`); -}; - -/** - * Will block the main script from running until there is blocks in Polkadot AssetHub being produced. - */ -export const awaitBlockProduction = async (wsUrl: string) => { - logWithDate(chalk.yellow(`Initializing polkadot-js: Polling until ${wsUrl} is available`)); - const api = await ApiPromise.create({ - provider: new WsProvider(wsUrl), - noInitWarn: true, - }); - logWithDate(chalk.yellow('Polkadot-js is connected')); - - await api.isReady; - - let counter = 3; - let blocksProducing = false; - while (!blocksProducing) { - const { number } = await api.rpc.chain.getHeader(); - - if (number.toNumber() > 0) { - blocksProducing = true; - } - await delay(1000); - - counter += 1; - process.stdout.clearLine(0); - process.stdout.write(`\rWaiting for Block production on Kusama AssetHub${'.'.repeat((counter % 3) + 1)}`); - } - - process.stdout.clearLine(0); - logWithDate(chalk.magenta('Blocks are producing'), true); - await api.disconnect().then(() => { - logWithDate(chalk.blue('Polkadot-js successfully disconnected')); - }); -}; - -export const awaitEpochChange = async (api: ApiPromise) => { - const currentEpoch = await api.call.babeApi.currentEpoch(); - const currentEpochIndex = currentEpoch.epochIndex; - let counter = 1; - let changedEpoch = false; - while (!changedEpoch) { - const { epochIndex } = await api.call.babeApi.currentEpoch(); - - if (epochIndex.toNumber() > currentEpochIndex.toNumber() + 1) { - changedEpoch = true; - } - await delay(1000); - - counter += 1; - process.stdout.clearLine(0); - process.stdout.write(`\rWaiting for Epoch change${'.'.repeat((counter % 3) + 1)}`); - } - - process.stdout.clearLine(0); - logWithDate(chalk.magenta('Epoch changed'), true); -}; diff --git a/src/createXcmCalls/polkadotXcm/limitedReserveTransferAssets.ts b/src/createXcmCalls/polkadotXcm/limitedReserveTransferAssets.ts index 0a1d8c56..8c7cea9c 100644 --- a/src/createXcmCalls/polkadotXcm/limitedReserveTransferAssets.ts +++ b/src/createXcmCalls/polkadotXcm/limitedReserveTransferAssets.ts @@ -32,6 +32,7 @@ export const limitedReserveTransferAssets = async ( isForeignAssetsTransfer, isLiquidTokenTransfer, api, + destChainId, }); const weightLimitType = typeCreator.createWeightLimit({ weightLimit, diff --git a/src/createXcmCalls/polkadotXcm/limitedTeleportAssets.ts b/src/createXcmCalls/polkadotXcm/limitedTeleportAssets.ts index 4ca2bc73..a5c47c2f 100644 --- a/src/createXcmCalls/polkadotXcm/limitedTeleportAssets.ts +++ b/src/createXcmCalls/polkadotXcm/limitedTeleportAssets.ts @@ -31,6 +31,7 @@ export const limitedTeleportAssets = async ( isForeignAssetsTransfer, isLiquidTokenTransfer: false, api, + destChainId, }); const weightLimitType = typeCreator.createWeightLimit({ weightLimit, diff --git a/src/createXcmCalls/polkadotXcm/transferAssets.ts b/src/createXcmCalls/polkadotXcm/transferAssets.ts index 16013419..51292278 100644 --- a/src/createXcmCalls/polkadotXcm/transferAssets.ts +++ b/src/createXcmCalls/polkadotXcm/transferAssets.ts @@ -31,6 +31,7 @@ export const transferAssets = async ( isForeignAssetsTransfer, isLiquidTokenTransfer, api, + destChainId, }); const weightLimitValue = typeCreator.createWeightLimit({ diff --git a/src/createXcmCalls/polkadotXcm/transferAssetsUsingTypeAndThen.ts b/src/createXcmCalls/polkadotXcm/transferAssetsUsingTypeAndThen.ts index 390291ba..05ff4b3c 100644 --- a/src/createXcmCalls/polkadotXcm/transferAssetsUsingTypeAndThen.ts +++ b/src/createXcmCalls/polkadotXcm/transferAssetsUsingTypeAndThen.ts @@ -45,6 +45,7 @@ export const transferAssetsUsingTypeAndThen = async ( isForeignAssetsTransfer, isLiquidTokenTransfer, api, + destChainId, }); const weightLimitValue = typeCreator.createWeightLimit({ diff --git a/src/createXcmTypes/ParaToPara.ts b/src/createXcmTypes/ParaToPara.ts index 4e4c6856..159e8e40 100644 --- a/src/createXcmTypes/ParaToPara.ts +++ b/src/createXcmTypes/ParaToPara.ts @@ -35,6 +35,7 @@ import type { XcmWeight, } from './types'; import { dedupeAssets } from './util/dedupeAssets'; +import { getParachainNativeAssetLocation } from './util/getParachainNativeAssetLocation'; import { getXcAssetMultiLocationByAssetId } from './util/getXcAssetMultiLocationByAssetId'; import { isParachainPrimaryNativeAsset } from './util/isParachainPrimaryNativeAsset'; import { sortAssetsAscending } from './util/sortAssetsAscending'; @@ -152,7 +153,7 @@ export const ParaToPara: ICreateXcmType = { assets: string[], opts: CreateAssetsOpts, ): Promise => { - const { registry } = opts; + const { registry, destChainId } = opts; const sortedAndDedupedMultiAssets = await createParaToParaMultiAssets( opts.api, @@ -161,6 +162,7 @@ export const ParaToPara: ICreateXcmType = { assets, xcmVersion, registry, + destChainId, ); if (xcmVersion === 2) { @@ -517,6 +519,7 @@ const createParaToParaMultiAssets = async ( assets: string[], xcmVersion: number, registry: Registry, + destChainId?: string, ): Promise => { let multiAssets: FungibleStrAssetType[] = []; let multiAsset: FungibleStrAssetType | undefined = undefined; @@ -530,10 +533,7 @@ const createParaToParaMultiAssets = async ( if (isPrimaryParachainNativeAsset) { concreteMultiLocation = resolveMultiLocation( - { - parents: 0, - interior: { Here: '' }, - }, + getParachainNativeAssetLocation(registry, assets[0], destChainId), xcmVersion, ); diff --git a/src/createXcmTypes/ParaToSystem.ts b/src/createXcmTypes/ParaToSystem.ts index f39bc6b7..ad4c4b98 100644 --- a/src/createXcmTypes/ParaToSystem.ts +++ b/src/createXcmTypes/ParaToSystem.ts @@ -34,6 +34,7 @@ import type { XcmWeight, } from './types'; import { dedupeAssets } from './util/dedupeAssets'; +import { getParachainNativeAssetLocation } from './util/getParachainNativeAssetLocation'; import { getXcAssetMultiLocationByAssetId } from './util/getXcAssetMultiLocationByAssetId'; import { isParachainPrimaryNativeAsset } from './util/isParachainPrimaryNativeAsset'; import { sortAssetsAscending } from './util/sortAssetsAscending'; @@ -154,6 +155,7 @@ export const ParaToSystem: ICreateXcmType = { assets, xcmVersion, opts.registry, + opts.destChainId, ); if (xcmVersion === 2) { @@ -502,6 +504,7 @@ const createParaToSystemMultiAssets = async ( assets: string[], xcmVersion: number, registry: Registry, + destChainId?: string, ): Promise => { let multiAssets: FungibleStrAssetType[] = []; let multiAsset: FungibleStrAssetType; @@ -515,10 +518,7 @@ const createParaToSystemMultiAssets = async ( if (isPrimaryParachainNativeAsset) { concreteMultiLocation = resolveMultiLocation( - { - parents: 0, - interior: { Here: '' }, - }, + getParachainNativeAssetLocation(registry, assets[0], destChainId), xcmVersion, ); diff --git a/src/createXcmTypes/types.ts b/src/createXcmTypes/types.ts index b5211ba3..7d7d9d22 100644 --- a/src/createXcmTypes/types.ts +++ b/src/createXcmTypes/types.ts @@ -399,6 +399,7 @@ export interface CreateAssetsOpts { isForeignAssetsTransfer: boolean; isLiquidTokenTransfer: boolean; api: ApiPromise; + destChainId?: string; } export interface CreateFeeAssetItemOpts { diff --git a/src/createXcmTypes/util/getParachainNativeAssetLocation.spec.ts b/src/createXcmTypes/util/getParachainNativeAssetLocation.spec.ts new file mode 100644 index 00000000..90c445c2 --- /dev/null +++ b/src/createXcmTypes/util/getParachainNativeAssetLocation.spec.ts @@ -0,0 +1,47 @@ +import { Registry } from '../../registry'; +import { getParachainNativeAssetLocation } from './getParachainNativeAssetLocation'; + +describe('getParachainNativeAssetLocation', () => { + it('Correctly returns the native asset location for Moonbeam', () => { + const registry = new Registry('moonbeam', {}); + + const res = getParachainNativeAssetLocation(registry, 'GLMR', '2034'); + + expect(JSON.stringify(res)).toEqual('{"parents":0,"interior":{"X1":{"PalletInstance":"10"}}}'); + }); + it('Correctly returns the native asset location for Moonriver', () => { + const registry = new Registry('moonriver', {}); + + const res = getParachainNativeAssetLocation(registry, 'MOVR', '2001'); + + expect(JSON.stringify(res)).toEqual('{"parents":0,"interior":{"X1":{"PalletInstance":"10"}}}'); + }); + it('Correctly returns the native asset location for Phala', () => { + const registry = new Registry('phala', {}); + + const res = getParachainNativeAssetLocation(registry, 'PHA', '2034'); + + expect(JSON.stringify(res)).toEqual('{"parents":0,"interior":{"X1":{"Parachain":"2035"}}}'); + }); + it('Correctly returns the native asset location for Hydration', () => { + const registry = new Registry('hydradx', {}); + + const res = getParachainNativeAssetLocation(registry, 'HDX', '2004'); + + expect(JSON.stringify(res)).toEqual('{"parents":0,"interior":{"X1":{"GeneralIndex":"0"}}}'); + }); + it('Correctly returns the native asset location for Hydration when destination is AssetHub', () => { + const registry = new Registry('hydradx', {}); + + const res = getParachainNativeAssetLocation(registry, 'HDX', '1000'); + + expect(JSON.stringify(res)).toEqual('{"parents":0,"interior":{"X1":{"GeneralIndex":"0"}}}'); + }); + it('correctly throws an error when no valid location is found for the given native asset', () => { + const registry = new Registry('moonbeam', {}); + + const err = () => getParachainNativeAssetLocation(registry, 'GLMR', '3369'); + + expect(err).toThrow('No location found for asset GLMR'); + }); +}); diff --git a/src/createXcmTypes/util/getParachainNativeAssetLocation.ts b/src/createXcmTypes/util/getParachainNativeAssetLocation.ts new file mode 100644 index 00000000..0175a8f9 --- /dev/null +++ b/src/createXcmTypes/util/getParachainNativeAssetLocation.ts @@ -0,0 +1,83 @@ +import { BaseError, BaseErrorsEnum } from '../../errors'; +import { Registry } from '../../registry'; +import { SanitizedXcAssetsData } from '../../registry/types'; +import { sanitizeKeys } from '../../util/sanitizeKeys'; +import { UnionXcmMultiLocation, XcmV3Junction } from '../types'; +import { parseLocationStrToLocation } from './parseLocationStrToLocation'; + +export const getParachainNativeAssetLocation = ( + registry: Registry, + nativeAssetSymbol: string, + destChainId?: string, +): UnionXcmMultiLocation => { + if (!destChainId) { + throw new BaseError('No destination chainId provided', BaseErrorsEnum.InternalError); + } + + let location: UnionXcmMultiLocation | undefined = undefined; + + if (destChainId === '1000') { + for (const relayRegistryKey in registry.getRelaysRegistry) { + const paraXcAssets = registry.getRelaysRegistry[relayRegistryKey].xcAssetsData; + + if (paraXcAssets) { + location = getNativeAssetLocation(nativeAssetSymbol, paraXcAssets); + + if (location) { + return location; + } + } + } + } else { + const paraXcAssets = registry.getRelaysRegistry[destChainId].xcAssetsData; + + if (paraXcAssets) { + location = getNativeAssetLocation(nativeAssetSymbol, paraXcAssets); + if (location) { + return location; + } + } + } + + throw new BaseError(`No location found for asset ${nativeAssetSymbol}`, BaseErrorsEnum.InvalidAsset); +}; + +const getNativeAssetLocation = ( + nativeAssetSymbol: string, + paraXcAssets: SanitizedXcAssetsData[], +): UnionXcmMultiLocation | undefined => { + let location: UnionXcmMultiLocation | undefined = undefined; + + for (const asset of paraXcAssets) { + if (typeof asset.symbol === 'string' && asset.symbol.toLowerCase() === nativeAssetSymbol.toLowerCase()) { + // get the location from v1 + const v1LocationStr = asset.xcmV1MultiLocation; + location = parseLocationStrToLocation(v1LocationStr); + + // handle case where result is an xcmV1Multilocation from the registry + if ('v1' in location) { + location = location.v1 as UnionXcmMultiLocation; + } + + location.interior = sanitizeKeys(location.interior); + + if (location.interior.X2) { + location = { + parents: 0, + interior: { + X1: location.interior.X2[1] as XcmV3Junction, + }, + }; + } else if (location.interior.X1) { + location = { + parents: 0, + interior: { + X1: location.interior.X1 as XcmV3Junction, + }, + }; + } + } + } + + return location; +}; diff --git a/src/integrationTests/parachains/bifrost.spec.ts b/src/integrationTests/parachains/bifrost.spec.ts index 9e19f353..6702feba 100644 --- a/src/integrationTests/parachains/bifrost.spec.ts +++ b/src/integrationTests/parachains/bifrost.spec.ts @@ -96,13 +96,6 @@ describe('Bifrost', () => { } } }); - it('Should correctly build a V3 transferAssets submittable from Bifrost to Moonriver', async () => { - const res = await bifrostTransferAssets(bifrostATA, 'submittable', 3, '2023', ['BNC'], ['10000000'], { - isForeignAssetsTransfer: false, - isLiquidTokenTransfer: false, - }); - expect(res.tx.toRawType()).toEqual('Extrinsic'); - }); }); describe('XCM V4', () => { it('Should correctly construct a transferAssets call from Bifrost to Moonriver', async () => { @@ -137,13 +130,6 @@ describe('Bifrost', () => { } } }); - it('Should correctly build a V4 transferAssets submittable from Bifrost to Moonriver', async () => { - const res = await bifrostTransferAssets(bifrostATA, 'submittable', 4, '2023', ['BNC'], ['10000000'], { - isForeignAssetsTransfer: false, - isLiquidTokenTransfer: false, - }); - expect(res.tx.toRawType()).toEqual('Extrinsic'); - }); }); }); describe('transferMultiasset', () => { @@ -765,9 +751,9 @@ describe('Bifrost', () => { const tests: TestMultiassetWithFormat[] = [ [ '1000', - 'bnc', + 'ksm', 'call', - '0x290b04010100a10f0400010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b0404000000025a62020000000000', + '0x290b04010100a10f0400010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b0404010000025a62020000000000', ], ]; @@ -793,13 +779,6 @@ describe('Bifrost', () => { } } }); - it('Should correctly build a V3 transferAssets submittable from Bifrost to Moonriver', async () => { - const res = await bifrostTransferAssets(bifrostATA, 'submittable', 4, '1000', ['BNC'], ['10000000'], { - isForeignAssetsTransfer: false, - isLiquidTokenTransfer: false, - }); - expect(res.tx.toRawType()).toEqual('Extrinsic'); - }); }); }); }); diff --git a/src/integrationTests/parachains/moonriver.spec.ts b/src/integrationTests/parachains/moonriver.spec.ts index 019568ea..af683ab3 100644 --- a/src/integrationTests/parachains/moonriver.spec.ts +++ b/src/integrationTests/parachains/moonriver.spec.ts @@ -69,7 +69,7 @@ describe('Moonriver', () => { '2001', 'movr', 'call', - '0x670803010100451f0300010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b030400000000025a62020000000000', + '0x670803010100451f0300010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b0304000001040a00025a62020000000000', ], ]; @@ -470,7 +470,7 @@ describe('Moonriver', () => { '1000', 'movr', 'call', - '0x670901010100a10f0100010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b010400000000025a62020000000000', + '0x670901010100a10f0100010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b0104000001040a00025a62020000000000', ], ]; @@ -511,7 +511,7 @@ describe('Moonriver', () => { '1000', 'movr', 'call', - '0x670903010100a10f0300010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b030400000000025a62020000000000', + '0x670903010100a10f0300010100f5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b0304000001040a00025a62020000000000', ], ]; diff --git a/tsconfig.json b/tsconfig.json index c2dc261d..62434861 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,14 @@ { - "extends": "@substrate/dev/config/tsconfig.json", + "extends": "./node_modules/@substrate/dev/config/tsconfig.json", "compilerOptions": { "baseUrl": ".", "outDir": "lib", - "rootDirs": ["./src", "./scripts"], + "rootDirs": ["./src"], "ignoreDeprecations": "5.0", "resolveJsonModule": true, "esModuleInterop": true }, "typeRoots": ["./node_modules/@types"], "exclude": ["node_modules", "./src/**/*.spec.ts", "./src/testHelpers"], - "include": ["./src/**/*.ts", "./src/**/*.json"] + "include": ["./src/**/*.ts", "./src/**/*.json", "./vitest.config.ts", "./vitest.workspace.ts", "./vitest-setup-file.ts"] } diff --git a/vitest-setup-file.ts b/vitest-setup-file.ts new file mode 100644 index 00000000..8063a93b --- /dev/null +++ b/vitest-setup-file.ts @@ -0,0 +1,6 @@ +process.on('unhandledRejection', () => { + // eslint-disable-next-line no-console + console.log('Caught unhandled promise rejection'); +}); + +export default {}; diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 00000000..c5ec3a86 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,8 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + globals: true, + setupFiles: ['./vitest-setup-file.ts'], + }, +}); diff --git a/vitest.workspace.ts b/vitest.workspace.ts new file mode 100644 index 00000000..b0e23443 --- /dev/null +++ b/vitest.workspace.ts @@ -0,0 +1,26 @@ +import { defineWorkspace } from 'vitest/config'; + +export default defineWorkspace([ + { + extends: './vitest.config.ts', + test: { + name: 'unit', + include: ['./src/**/*.spec.ts'], + exclude: ['./src/integrationTests/**/*.spec.ts', './e2e-tests/*.spec.ts'], + }, + }, + { + extends: './vitest.config.ts', + test: { + name: 'integration', + include: ['./src/integrationTests/**/*.spec.ts'], + }, + }, + { + extends: './vitest.config.ts', + test: { + name: 'e2e', + include: ['./e2e-tests/*.spec.ts'], + }, + }, +]); diff --git a/yarn.lock b/yarn.lock index ebd31871..88ddb6fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,107 @@ __metadata: languageName: node linkType: hard +"@acala-network/chopsticks-core@npm:1.0.1, @acala-network/chopsticks-core@npm:^1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks-core@npm:1.0.1" + dependencies: + "@acala-network/chopsticks-executor": "npm:1.0.1" + "@polkadot/rpc-provider": "npm:^14.0.1" + "@polkadot/types": "npm:^14.0.1" + "@polkadot/types-codec": "npm:^14.0.1" + "@polkadot/types-known": "npm:^14.0.1" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" + comlink: "npm:^4.4.1" + eventemitter3: "npm:^5.0.1" + lodash: "npm:^4.17.21" + lru-cache: "npm:^11.0.1" + pino: "npm:^9.5.0" + pino-pretty: "npm:^11.3.0" + rxjs: "npm:^7.8.1" + zod: "npm:^3.23.8" + checksum: 10/a81c3a1a964eda7a07e1794956efbf2f466d9a4cc9d1812dca1fb9932568a443afeea5f1b6b5de03960424da46b577a7cc40bb851c0083a0c95ff1a4bde2519f + languageName: node + linkType: hard + +"@acala-network/chopsticks-db@npm:1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks-db@npm:1.0.1" + dependencies: + "@acala-network/chopsticks-core": "npm:1.0.1" + "@polkadot/util": "npm:^13.2.2" + idb: "npm:^8.0.0" + sqlite3: "npm:^5.1.7" + typeorm: "npm:^0.3.20" + checksum: 10/c3f33f1b1740a80a655aac2d07d3d7f9e64cc5816f02ab80fb06181719b416e2d3e6a4e1eb04e696b836317278e32f72ad198c8ce0b491d371298d5ae1b85f61 + languageName: node + linkType: hard + +"@acala-network/chopsticks-executor@npm:1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks-executor@npm:1.0.1" + dependencies: + "@polkadot/util": "npm:^13.2.2" + "@polkadot/wasm-util": "npm:^7.4.1" + checksum: 10/d9b0b1b39d5882d35a3ddcff67169e0541a6112dd1df1d3c05a4e097ee1c3fe23a463c7447b7f8bffa10bf4ac6c84c789ec7fcea9b42fa6358a59aaa9f27c695 + languageName: node + linkType: hard + +"@acala-network/chopsticks-testing@npm:^1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks-testing@npm:1.0.1" + dependencies: + "@acala-network/chopsticks-utils": "npm:1.0.1" + "@polkadot/api": "npm:^14.0.1" + "@polkadot/types": "npm:^14.0.1" + checksum: 10/3ed1914bcac8f13cd80a88deab8ef9254e5b9fed5c4c7c394441d682e525fa904a8fee9e719fad7731e879d3e8289bb2c0886d8004785a951c46c7e9542fc6b3 + languageName: node + linkType: hard + +"@acala-network/chopsticks-utils@npm:1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks-utils@npm:1.0.1" + dependencies: + "@acala-network/chopsticks": "npm:1.0.1" + "@acala-network/chopsticks-core": "npm:1.0.1" + "@polkadot/api": "npm:^14.0.1" + "@polkadot/api-base": "npm:^14.0.1" + "@polkadot/keyring": "npm:^13.2.2" + "@polkadot/types": "npm:^14.0.1" + "@polkadot/util": "npm:^13.2.2" + checksum: 10/f6a1cc9543a064641c671ecd8a7578b275b45c14589ddbe9359e7a65195693e858485d84e751c2bfbe152bf7b42b4e3938b9c229749bece0146282db86ec0fe1 + languageName: node + linkType: hard + +"@acala-network/chopsticks@npm:1.0.1": + version: 1.0.1 + resolution: "@acala-network/chopsticks@npm:1.0.1" + dependencies: + "@acala-network/chopsticks-core": "npm:1.0.1" + "@acala-network/chopsticks-db": "npm:1.0.1" + "@pnpm/npm-conf": "npm:^2.3.1" + "@polkadot/api": "npm:^14.0.1" + "@polkadot/api-augment": "npm:^14.0.1" + "@polkadot/rpc-provider": "npm:^14.0.1" + "@polkadot/types": "npm:^14.0.1" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" + axios: "npm:^1.7.7" + comlink: "npm:^4.4.1" + dotenv: "npm:^16.4.5" + global-agent: "npm:^3.0.0" + js-yaml: "npm:^4.1.0" + jsondiffpatch: "npm:^0.5.0" + lodash: "npm:^4.17.21" + ws: "npm:^8.18.0" + yargs: "npm:^17.7.2" + zod: "npm:^3.23.8" + bin: + chopsticks: ./chopsticks.cjs + checksum: 10/9ba38ee6297538597b1ad3e5b187ca448eede33eb502bad23ff980854007655d3a00d4b6b8e52f6715c7c9927bf3120c2104280e0442041608c6474d64932cb6 + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.2.0": version: 2.2.1 resolution: "@ampproject/remapping@npm:2.2.1" @@ -395,6 +496,167 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -437,24 +699,13 @@ __metadata: languageName: node linkType: hard -"@gar/promisify@npm:^1.1.3": +"@gar/promisify@npm:^1.0.1, @gar/promisify@npm:^1.1.3": version: 1.1.3 resolution: "@gar/promisify@npm:1.1.3" checksum: 10/052dd232140fa60e81588000cbe729a40146579b361f1070bce63e2a761388a22a16d00beeffc504bd3601cb8e055c57b21a185448b3ed550cf50716f4fd442e languageName: node linkType: hard -"@gerrit0/mini-shiki@npm:^1.24.0": - version: 1.24.1 - resolution: "@gerrit0/mini-shiki@npm:1.24.1" - dependencies: - "@shikijs/engine-oniguruma": "npm:^1.24.0" - "@shikijs/types": "npm:^1.24.0" - "@shikijs/vscode-textmate": "npm:^9.3.0" - checksum: 10/760e852fb28801fd75ba651ac0454d1169ad61ee0edb2ca81399441f297d16d3c73b141a1c0ddbf5c8bdc6996b2c16d4e4c70973ce9e4f8576ca569c68ba3ecf - languageName: node - linkType: hard - "@humanwhocodes/config-array@npm:^0.13.0": version: 0.13.0 resolution: "@humanwhocodes/config-array@npm:0.13.0" @@ -480,6 +731,20 @@ __metadata: languageName: node linkType: hard +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: "npm:^5.1.2" + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: "npm:^7.0.1" + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: "npm:^8.1.0" + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 10/e9ed5fd27c3aec1095e3a16e0c0cf148d1fee55a38665c35f7b3f86a9b5d00d042ddaabc98e8a1cb7463b9378c15f22a94eb35e99469c201453eb8375191f243 + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -762,6 +1027,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/sourcemap-codec@npm:^1.5.0": + version: 1.5.0 + resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" + checksum: 10/4ed6123217569a1484419ac53f6ea0d9f3b57e5b57ab30d7c267bdb27792a27eb0e4b08e84a2680aa55cc2f2b411ffd6ec3db01c44fdc6dc43aca4b55f8374fd + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.25 resolution: "@jridgewell/trace-mapping@npm:0.3.25" @@ -815,6 +1087,16 @@ __metadata: languageName: node linkType: hard +"@npmcli/fs@npm:^1.0.0": + version: 1.1.1 + resolution: "@npmcli/fs@npm:1.1.1" + dependencies: + "@gar/promisify": "npm:^1.0.1" + semver: "npm:^7.3.5" + checksum: 10/8b5e6d75759b9f1a8b7885913df274c8cbbb1221176872615f2aecedf47b2c36e5dfbf4046ff1a905c9f3592fbd32051b3050b8a897bf03514a1a404b39af074 + languageName: node + linkType: hard + "@npmcli/fs@npm:^2.1.0": version: 2.1.2 resolution: "@npmcli/fs@npm:2.1.2" @@ -825,6 +1107,16 @@ __metadata: languageName: node linkType: hard +"@npmcli/move-file@npm:^1.0.1": + version: 1.1.2 + resolution: "@npmcli/move-file@npm:1.1.2" + dependencies: + mkdirp: "npm:^1.0.4" + rimraf: "npm:^3.0.2" + checksum: 10/c96381d4a37448ea280951e46233f7e541058cf57a57d4094dd4bdcaae43fa5872b5f2eb6bfb004591a68e29c5877abe3cdc210cb3588cbf20ab2877f31a7de7 + languageName: node + linkType: hard + "@npmcli/move-file@npm:^2.0.0": version: 2.0.1 resolution: "@npmcli/move-file@npm:2.0.1" @@ -835,6 +1127,13 @@ __metadata: languageName: node linkType: hard +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 10/115e8ceeec6bc69dff2048b35c0ab4f8bbee12d8bb6c1f4af758604586d802b6e669dcb02dda61d078de42c2b4ddce41b3d9e726d7daa6b4b850f4adbf7333ff + languageName: node + linkType: hard + "@pkgr/core@npm:^0.1.0": version: 0.1.1 resolution: "@pkgr/core@npm:0.1.1" @@ -842,6 +1141,33 @@ __metadata: languageName: node linkType: hard +"@pnpm/config.env-replace@npm:^1.1.0": + version: 1.1.0 + resolution: "@pnpm/config.env-replace@npm:1.1.0" + checksum: 10/fabe35cede1b72ad12877b8bed32f7c2fcd89e94408792c4d69009b886671db7988a2132bc18b7157489d2d0fd4266a06c9583be3d2e10c847bf06687420cb2a + languageName: node + linkType: hard + +"@pnpm/network.ca-file@npm:^1.0.1": + version: 1.0.2 + resolution: "@pnpm/network.ca-file@npm:1.0.2" + dependencies: + graceful-fs: "npm:4.2.10" + checksum: 10/d8d0884646500576bd5390464d13db1bb9a62e32a1069293e5bddb2ad8354b354b7e2d2a35e12850025651e795e6a80ce9e601c66312504667b7e3ee7b52becc + languageName: node + linkType: hard + +"@pnpm/npm-conf@npm:^2.3.1": + version: 2.3.1 + resolution: "@pnpm/npm-conf@npm:2.3.1" + dependencies: + "@pnpm/config.env-replace": "npm:^1.1.0" + "@pnpm/network.ca-file": "npm:^1.0.1" + config-chain: "npm:^1.1.11" + checksum: 10/44fbb0b166eee3e3631ef0e92b1bed6489aa6975e3e722c16577cc0181b81374f5ae90c6e4da183c8160f996e6b4863325525b00542f42d1b757b51ef62bc4e7 + languageName: node + linkType: hard + "@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0": version: 0.1.0 resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0" @@ -909,141 +1235,141 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/api-augment@npm:15.0.1" +"@polkadot/api-augment@npm:14.2.3, @polkadot/api-augment@npm:^14.0.1, @polkadot/api-augment@npm:^14.2.3": + version: 14.2.3 + resolution: "@polkadot/api-augment@npm:14.2.3" dependencies: - "@polkadot/api-base": "npm:15.0.1" - "@polkadot/rpc-augment": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-augment": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/api-base": "npm:14.2.3" + "@polkadot/rpc-augment": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-augment": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/c3b74dca0522f303aa0045423a9fcd4b83cca0ecdc631330eb521f3b3ceceac9a8464ffccd7ba2c07806e863901736e59fa9bfdfc8b31e8dc4ddf2525922864e + checksum: 10/7c7bebf13311217e7a8ae8dc4bb1684a58e16790edaa3e8ced5f70a2a3bd4f3050dd364886a0eea768bb49ab446a64b73e1d35a0f7b643e31e616da8706532fb languageName: node linkType: hard -"@polkadot/api-base@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/api-base@npm:15.0.1" +"@polkadot/api-base@npm:14.2.3, @polkadot/api-base@npm:^14.0.1": + version: 14.2.3 + resolution: "@polkadot/api-base@npm:14.2.3" dependencies: - "@polkadot/rpc-core": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/rpc-core": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/40bf27ce42be882335bc59f34c955c7b7b288d788a49a6eef30c6d55f488b28ce7888fd108b99c4306262db1b48754c7b961583702ecd0f9952772436ac4b18a + checksum: 10/bda2df6b2208feffa1e007dd02cc85f70d21f2b9b5e338fe5623d68e1f1749af9583d0653c33e7bf28d997a0c629450627033a0b6edea4bd6e17964672c22eb5 languageName: node linkType: hard -"@polkadot/api-derive@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/api-derive@npm:15.0.1" +"@polkadot/api-derive@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/api-derive@npm:14.2.3" dependencies: - "@polkadot/api": "npm:15.0.1" - "@polkadot/api-augment": "npm:15.0.1" - "@polkadot/api-base": "npm:15.0.1" - "@polkadot/rpc-core": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" - "@polkadot/util-crypto": "npm:^13.2.3" + "@polkadot/api": "npm:14.2.3" + "@polkadot/api-augment": "npm:14.2.3" + "@polkadot/api-base": "npm:14.2.3" + "@polkadot/rpc-core": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/ae1e2bf5d5e859e7814afae1e5c14fd2dc23c374707339ade97eefae2a669b129fa84c331d6ce67d7b03c927f851114807f2942e607a1136430ec2a6bb160887 - languageName: node - linkType: hard - -"@polkadot/api@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/api@npm:15.0.1" - dependencies: - "@polkadot/api-augment": "npm:15.0.1" - "@polkadot/api-base": "npm:15.0.1" - "@polkadot/api-derive": "npm:15.0.1" - "@polkadot/keyring": "npm:^13.2.3" - "@polkadot/rpc-augment": "npm:15.0.1" - "@polkadot/rpc-core": "npm:15.0.1" - "@polkadot/rpc-provider": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-augment": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/types-create": "npm:15.0.1" - "@polkadot/types-known": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" - "@polkadot/util-crypto": "npm:^13.2.3" + checksum: 10/a788cd64d24015ad6beba1e024230a21460ecd4fdb2946b0dc128b7c17aa1c43c9523ca9e080aef8cfd16e86ef88dc4c6c70a722ae1107ac0bcd89a60cd1cbc8 + languageName: node + linkType: hard + +"@polkadot/api@npm:14.2.3, @polkadot/api@npm:^14.0.1, @polkadot/api@npm:^14.2.3": + version: 14.2.3 + resolution: "@polkadot/api@npm:14.2.3" + dependencies: + "@polkadot/api-augment": "npm:14.2.3" + "@polkadot/api-base": "npm:14.2.3" + "@polkadot/api-derive": "npm:14.2.3" + "@polkadot/keyring": "npm:^13.2.2" + "@polkadot/rpc-augment": "npm:14.2.3" + "@polkadot/rpc-core": "npm:14.2.3" + "@polkadot/rpc-provider": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-augment": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/types-create": "npm:14.2.3" + "@polkadot/types-known": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" eventemitter3: "npm:^5.0.1" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/d224409fcb1d412c0acd9998cd2ddd85f434944c9a7b994282088457720d4bde132ca885136a669d2677cb16436075693623481912c044114b3ea56ea1d21f70 + checksum: 10/99738ac9af51465f1fbc017c187eb29a5a8bdea88ba335dfd9e98927dfa20503383a9abe5e073165c2d443d4e153e0f9d0b09642a19ed71fe723b1ea247ea473 languageName: node linkType: hard -"@polkadot/keyring@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/keyring@npm:13.2.3" +"@polkadot/keyring@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/keyring@npm:13.2.2" dependencies: - "@polkadot/util": "npm:13.2.3" - "@polkadot/util-crypto": "npm:13.2.3" + "@polkadot/util": "npm:13.2.2" + "@polkadot/util-crypto": "npm:13.2.2" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.3 - "@polkadot/util-crypto": 13.2.3 - checksum: 10/c89cbdd3830f54cabcfde01527b7597a215b39dd7f26a374b1f0f43051fb0443385607548528c0b11eb42ca05d90569f38b13aeeed25858ccfa7ecf1d7345a21 + "@polkadot/util": 13.2.2 + "@polkadot/util-crypto": 13.2.2 + checksum: 10/552972c5e4c26f8a95dbb18552cbcfb04c87e085022153a705025987bb77655dc6c32709ea4b8300ebe74945a32b7f8a88ab50460d1962b847335daeae19bda1 languageName: node linkType: hard -"@polkadot/networks@npm:13.2.3, @polkadot/networks@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/networks@npm:13.2.3" +"@polkadot/networks@npm:13.2.2, @polkadot/networks@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/networks@npm:13.2.2" dependencies: - "@polkadot/util": "npm:13.2.3" + "@polkadot/util": "npm:13.2.2" "@substrate/ss58-registry": "npm:^1.51.0" tslib: "npm:^2.8.0" - checksum: 10/83c4d6321b67c8a5eaf55189dba2180e49600d12ebd55fe861780241fbe8969c972a8b184c91b64a03880c74502889f35ec2eef124f7288e27f2e77ecc4f5e39 + checksum: 10/a1282e7104ed0c3ca0c8b42db115fa95ae99e03ea878e1837db92b04fada55c0ed7a55a63c2d36d248ec467e471e72c49026f75233eddd7dbd7037e3a1c81bb2 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/rpc-augment@npm:15.0.1" +"@polkadot/rpc-augment@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/rpc-augment@npm:14.2.3" dependencies: - "@polkadot/rpc-core": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/rpc-core": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/c004560e2d1e477766e410f8b87e198246f869f5a2daf5359e772b974630c2bdca273815fe43ff35d2ee87e4932696030afd307397fd286dab84f7d26feaf47b + checksum: 10/c2f37cd28578147a27424f7ef81c11afca8ab2b81aaddad5047c1445d1ca389047edf5c1d41e9b7b8d5ebc32062eff7f5b6863f10abb5355d38031d841c4d293 languageName: node linkType: hard -"@polkadot/rpc-core@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/rpc-core@npm:15.0.1" +"@polkadot/rpc-core@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/rpc-core@npm:14.2.3" dependencies: - "@polkadot/rpc-augment": "npm:15.0.1" - "@polkadot/rpc-provider": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/rpc-augment": "npm:14.2.3" + "@polkadot/rpc-provider": "npm:14.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/4a24a3900008e54cdfdc5b23ddf9b9af77114dac5b73c339630e239af588f75e08128a0b826726f0d82022f23cc3e08213c1902fa5af573319b1b8c52e91d290 + checksum: 10/56e96c2ad714c70361b2d5fd2e7f38e5653ba545966cfa23d82750b26c3585a790175cd18e60178408c1810ee1a9534d38e667d1a4d598f76377d3b9dd7b67eb languageName: node linkType: hard -"@polkadot/rpc-provider@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/rpc-provider@npm:15.0.1" +"@polkadot/rpc-provider@npm:14.2.3, @polkadot/rpc-provider@npm:^14.0.1": + version: 14.2.3 + resolution: "@polkadot/rpc-provider@npm:14.2.3" dependencies: - "@polkadot/keyring": "npm:^13.2.3" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-support": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" - "@polkadot/util-crypto": "npm:^13.2.3" - "@polkadot/x-fetch": "npm:^13.2.3" - "@polkadot/x-global": "npm:^13.2.3" - "@polkadot/x-ws": "npm:^13.2.3" + "@polkadot/keyring": "npm:^13.2.2" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-support": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" + "@polkadot/x-fetch": "npm:^13.2.2" + "@polkadot/x-global": "npm:^13.2.2" + "@polkadot/x-ws": "npm:^13.2.2" "@substrate/connect": "npm:0.8.11" eventemitter3: "npm:^5.0.1" mock-socket: "npm:^9.3.1" @@ -1052,116 +1378,116 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: 10/8014c8697a6670a8f8e948b2864eb7320ee2161fce7c89e80a6e052c9cd7c2c3e909b721f09369be8e873d295f5d6825890028f30bb8fa3df722b55b3490547b + checksum: 10/3f1be813a62ef271eddff4d5d7aa680f40d90c43b6ba60cb7296ccae0ad1ca3c9508fa90c933f5859676903efd4d3f1c366b72dde7c7033afec561972a5958d8 languageName: node linkType: hard -"@polkadot/types-augment@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types-augment@npm:15.0.1" +"@polkadot/types-augment@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-augment@npm:14.2.3" dependencies: - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/b735c6332624b49d5ce2e025db04bc5b9376fe20ab998d89cdb4d969960417c98877f1db9f5b8d680c25fc5c42b761932c5327ae28cb2c2f957be21191f3a175 + checksum: 10/7a3bb4945356e1a49f1b69042fcdb9b81b02cb60b521f5b89c79e484cf2808492bbc46d7e6b1f5703a9763d9c5fa0460819dcbe8a5e78056e07e9cb20b8e7dd9 languageName: node linkType: hard -"@polkadot/types-codec@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types-codec@npm:15.0.1" +"@polkadot/types-codec@npm:14.2.3, @polkadot/types-codec@npm:^14.0.1, @polkadot/types-codec@npm:^14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-codec@npm:14.2.3" dependencies: - "@polkadot/util": "npm:^13.2.3" - "@polkadot/x-bigint": "npm:^13.2.3" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/x-bigint": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/b0ffa0f32022165d44bd0b4cc8bb46ea3d8e6bc6e7f457ecd1dd1a637185934a6727c01a54973c454600e04a3f143fa4377cf5f1f4e265c05be5c42ae15555d0 + checksum: 10/6bc9ae7f221e918f9f1d69feb4339f2995e485a89ab6748d1902c257dcef6a12a615050af841b9e5201bd497c90b86774fdc97990c61635efcd04135a22c8109 languageName: node linkType: hard -"@polkadot/types-create@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types-create@npm:15.0.1" +"@polkadot/types-create@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-create@npm:14.2.3" dependencies: - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/870756f6a2b41822ec5f76e71a326b1b42222e885b397c8035c4cd610b2c0210889ffe59d4a362f66cf65bf81aee80b4b5c6f2f451752f4932544f74849324c5 + checksum: 10/6e5cdc55680ebb69c3f9e879f5d62d1beccd42a8d5455872870b03e9091909835110f9499cebeb332cb46519ca8435732f8faededf360d79794c3c80b1d2d0ca languageName: node linkType: hard -"@polkadot/types-known@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types-known@npm:15.0.1" +"@polkadot/types-known@npm:14.2.3, @polkadot/types-known@npm:^14.0.1": + version: 14.2.3 + resolution: "@polkadot/types-known@npm:14.2.3" dependencies: - "@polkadot/networks": "npm:^13.2.3" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/types-create": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" + "@polkadot/networks": "npm:^13.2.2" + "@polkadot/types": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/types-create": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/46de44ecd996b77142c3896330f6a46117d130c545cb81047b4d699b8d094883f4939f7b6bc21591cdde684858515e59b944951c485551344e81519f60c15480 + checksum: 10/c54dc15315c6ccc7cdfea4b859fd98338e0021f7be17a6788712e533ada2349be138b0f8861d8408655d8ef9fe4cb70fa0c4103fad46580370b579ec985314d6 languageName: node linkType: hard -"@polkadot/types-support@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types-support@npm:15.0.1" +"@polkadot/types-support@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-support@npm:14.2.3" dependencies: - "@polkadot/util": "npm:^13.2.3" + "@polkadot/util": "npm:^13.2.2" tslib: "npm:^2.8.0" - checksum: 10/d1af7ba96516f3115d1d7224933f93e91b2bb3c9624cdc54ee1767f23396e342d54a09e671933c5ad828ade8b2b58e7e2eeacac0b179e1fe8b86a269e3f395b6 + checksum: 10/f3c50a768b8fefa0d93034852f77fdb5d6180318958943dcc1d0be7b8d9a29a90e968fdeb15cdc855a7cfef7bd6523c4bd89bf79569b572fc730280310b8fbab languageName: node linkType: hard -"@polkadot/types@npm:15.0.1": - version: 15.0.1 - resolution: "@polkadot/types@npm:15.0.1" +"@polkadot/types@npm:14.2.3, @polkadot/types@npm:^14.0.1, @polkadot/types@npm:^14.2.3": + version: 14.2.3 + resolution: "@polkadot/types@npm:14.2.3" dependencies: - "@polkadot/keyring": "npm:^13.2.3" - "@polkadot/types-augment": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/types-create": "npm:15.0.1" - "@polkadot/util": "npm:^13.2.3" - "@polkadot/util-crypto": "npm:^13.2.3" + "@polkadot/keyring": "npm:^13.2.2" + "@polkadot/types-augment": "npm:14.2.3" + "@polkadot/types-codec": "npm:14.2.3" + "@polkadot/types-create": "npm:14.2.3" + "@polkadot/util": "npm:^13.2.2" + "@polkadot/util-crypto": "npm:^13.2.2" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/811def19d07737b819901d713a8dfca2abb35c7f9b56813ac8061669461dcdde3a91d590baeea303ef795d6f4eaf722f0635569d4ec6b9b0bc7cf5835c330703 + checksum: 10/96ee678bbea707c2bce674c7489b1598ea22ce3315994c7807482c3d032bf747f96f5a4cd229196398b80a901cdd0039dd62dcd171012f5751ab9f1a9c186b45 languageName: node linkType: hard -"@polkadot/util-crypto@npm:13.2.3, @polkadot/util-crypto@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/util-crypto@npm:13.2.3" +"@polkadot/util-crypto@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/util-crypto@npm:13.2.2" dependencies: "@noble/curves": "npm:^1.3.0" "@noble/hashes": "npm:^1.3.3" - "@polkadot/networks": "npm:13.2.3" - "@polkadot/util": "npm:13.2.3" + "@polkadot/networks": "npm:13.2.2" + "@polkadot/util": "npm:13.2.2" "@polkadot/wasm-crypto": "npm:^7.4.1" "@polkadot/wasm-util": "npm:^7.4.1" - "@polkadot/x-bigint": "npm:13.2.3" - "@polkadot/x-randomvalues": "npm:13.2.3" + "@polkadot/x-bigint": "npm:13.2.2" + "@polkadot/x-randomvalues": "npm:13.2.2" "@scure/base": "npm:^1.1.7" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.3 - checksum: 10/47baf5cab1bd2ca20633ef324a35d7b8a4ecb6bff41eb9e0dac8229495d3a7e74f7bc685d652dd465c9339598fa4e885abce8f539329e77b32a1aa0920169825 + "@polkadot/util": 13.2.2 + checksum: 10/7f00b4a89be841cfa67c2a25717c21ead158ed52b3f166b5140dae6b2b20e011823b2c06b7df7df95216d964265db151d8785e3db8823ab62ffcc8986d769cd7 languageName: node linkType: hard -"@polkadot/util@npm:13.2.3, @polkadot/util@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/util@npm:13.2.3" +"@polkadot/util@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/util@npm:13.2.2" dependencies: - "@polkadot/x-bigint": "npm:13.2.3" - "@polkadot/x-global": "npm:13.2.3" - "@polkadot/x-textdecoder": "npm:13.2.3" - "@polkadot/x-textencoder": "npm:13.2.3" + "@polkadot/x-bigint": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-textdecoder": "npm:13.2.2" + "@polkadot/x-textencoder": "npm:13.2.2" "@types/bn.js": "npm:^5.1.6" bn.js: "npm:^5.2.1" tslib: "npm:^2.8.0" - checksum: 10/45c493224599a003cb52c98d0be502088e3e05dc74e1c505d579aae77341bf1769fbe1ca6c13df8b581235690f78c3b36f8525d378af9df5663a1c21becc4766 + checksum: 10/acf145fdf49ad7e39a8df2c24eba510956281196902684fa42ce3b4f2152863478a5410b9f64b9a73ab689f37b64f8e01af15027a29812417b1333f143d14c21 languageName: node linkType: hard @@ -1245,77 +1571,203 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:13.2.3, @polkadot/x-bigint@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-bigint@npm:13.2.3" +"@polkadot/x-bigint@npm:13.2.2, @polkadot/x-bigint@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-bigint@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" tslib: "npm:^2.8.0" - checksum: 10/1ede67d15b2e66eb8546e6f7ea9bd3599969eda2a75339a5e7077d1db67e1cebd61b5b4522c344ee3210e3117e9c8c36fe623fc691e0d4a8c0f9b0dc39b768a5 + checksum: 10/00cdd6298a82971c700b1cb9d9dda26423a46fe86044fe74c5c14cb15d70ca912f044a1c935416fb363b58f84544e7f7a5a79eedefccdfbc56e5185637781c90 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-fetch@npm:13.2.3" +"@polkadot/x-fetch@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-fetch@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" node-fetch: "npm:^3.3.2" tslib: "npm:^2.8.0" - checksum: 10/55104a2f6ca60acc25e15becf67988f19e702afa985283451436ca42a417e04d87f91332a1afba78537691c370f7a053ec6e07ba111464d25ccbecc99864eac7 + checksum: 10/19110cbe80ec105eb4f86f162f6f86a930e18bd189d422dbb724a5a0cf7ad83167ed86671835fd43948f5f92295b570ec7bb997f308359bf9ddb6cea335b4438 languageName: node linkType: hard -"@polkadot/x-global@npm:13.2.3, @polkadot/x-global@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-global@npm:13.2.3" +"@polkadot/x-global@npm:13.2.2, @polkadot/x-global@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-global@npm:13.2.2" dependencies: tslib: "npm:^2.8.0" - checksum: 10/163b11c938c4496a94fd476b909b8358007c17e9a251d627c4114d14419c8cd462d8246a580a28e859c91d71c384fc3acfeb27d2e0559c4a443226cbb25df560 + checksum: 10/9b2747c6b581943c82d6228e886fd491ea41068e07d1da3654c9acc27ace5e1b8682c6e9f8ceaffe68aa88fb386758ebe70f595fde8a5a2544361999e39e74f1 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-randomvalues@npm:13.2.3" +"@polkadot/x-randomvalues@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-randomvalues@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.3 + "@polkadot/util": 13.2.2 "@polkadot/wasm-util": "*" - checksum: 10/864b94a2f031582095afc4e0b2ecbb315cb76122b35f359f236704d8e753b0225c7a6f78a68c990bfbb7b2ea8287d05f0fcb9c27a3c2bd785408de3074fa9636 + checksum: 10/d30e37bc659f4fe045b421e80fc37849e92351ff64244c90651f35ef1fb8722ad1d8d421fc459d039a5f53b9072635f4f531a5a0fd029269025a86178b44b327 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-textdecoder@npm:13.2.3" +"@polkadot/x-textdecoder@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-textdecoder@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" tslib: "npm:^2.8.0" - checksum: 10/e67cfb4677cd8a43ed7678421562280947bf22b13d8d4b0ac49e20a34939bbd7de02b8e51a1f5f138c0884847d7c782fb6bbb13d2d7556d1bb7a4e39508c949d + checksum: 10/8fcf79d362141f011123230f7f82f9145cd7c0c7f2ac8caa89f0b8a59e457aad6ffb6e05dee98bd7e254dbd87cce6660dea50e7a41b09830f81e1e350f49a276 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-textencoder@npm:13.2.3" +"@polkadot/x-textencoder@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-textencoder@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" tslib: "npm:^2.8.0" - checksum: 10/54630e2ca156cda7d5f8eb3d5283f43d2729c579d032d9d2b088c2a599d3be905c237d9ebcca3fd432e1fca9d1d0349585e4bf8e27000946a2d6f3c8fef1009d + checksum: 10/e382f7b1601b11b91fa17242af0357ecd7db4bd7f6db2cea88eef9a5bb3f64271089569b34e28685d62f8e89e870876f2872ec2f34a8aee44515f47e79cd4f0f languageName: node linkType: hard -"@polkadot/x-ws@npm:^13.2.3": - version: 13.2.3 - resolution: "@polkadot/x-ws@npm:13.2.3" +"@polkadot/x-ws@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-ws@npm:13.2.2" dependencies: - "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.2" tslib: "npm:^2.8.0" ws: "npm:^8.18.0" - checksum: 10/35c66899e1bdfeaf2956d663124fc4c33fb1f0b47f3e14f9f9aa8f1e291a7a14cae264aa15baadf7ba85f5c314fbfce61b1fc4bfad3b1d3fc51c1f1dfa60659d + checksum: 10/f98fcf8350c691c78e2a06487dd57071e13d64014c8192fae2b4fd75435edd946bc4847142933f58046c93709160c912d7d8fa990b8f02b4db929f610b34c77b + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.25.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-android-arm64@npm:4.25.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.25.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.25.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-arm64@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.25.0" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-x64@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-freebsd-x64@npm:4.25.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.25.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.25.0" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.25.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.25.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.25.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.25.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-s390x-gnu@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.25.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.25.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.25.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.25.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.25.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.25.0": + version: 4.25.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.25.0" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1326,23 +1778,48 @@ __metadata: languageName: node linkType: hard -"@shikijs/engine-oniguruma@npm:^1.24.0": - version: 1.24.0 - resolution: "@shikijs/engine-oniguruma@npm:1.24.0" +"@shikijs/core@npm:1.22.0": + version: 1.22.0 + resolution: "@shikijs/core@npm:1.22.0" + dependencies: + "@shikijs/engine-javascript": "npm:1.22.0" + "@shikijs/engine-oniguruma": "npm:1.22.0" + "@shikijs/types": "npm:1.22.0" + "@shikijs/vscode-textmate": "npm:^9.3.0" + "@types/hast": "npm:^3.0.4" + hast-util-to-html: "npm:^9.0.3" + checksum: 10/a9e6699e319eaaa82c6b0c166a0e22c039d716df4be7a5179c232bd25dbfc2b30b538b95ebe449ecf1fa6107675f408324f04772b99e7156041dfda69ae0dbd9 + languageName: node + linkType: hard + +"@shikijs/engine-javascript@npm:1.22.0": + version: 1.22.0 + resolution: "@shikijs/engine-javascript@npm:1.22.0" dependencies: - "@shikijs/types": "npm:1.24.0" + "@shikijs/types": "npm:1.22.0" "@shikijs/vscode-textmate": "npm:^9.3.0" - checksum: 10/74b0dc760717155d7df6fd05d41b89a102b264de28941c4469ef8879af0c764184a6cc5cae1ff8121a293baf56ec67c7b4178631017853ea35f6ff60f5a8a831 + oniguruma-to-js: "npm:0.4.3" + checksum: 10/bd0b75112a5fd085b50d49e84f1b3f0a599e669be10b947901cc3f0dd2d3baa0d7238b4fa356ccc570cfb9c9c0856a870e17cfdb364bfac77c498a39b96b2bbd languageName: node linkType: hard -"@shikijs/types@npm:1.24.0, @shikijs/types@npm:^1.24.0": - version: 1.24.0 - resolution: "@shikijs/types@npm:1.24.0" +"@shikijs/engine-oniguruma@npm:1.22.0": + version: 1.22.0 + resolution: "@shikijs/engine-oniguruma@npm:1.22.0" + dependencies: + "@shikijs/types": "npm:1.22.0" + "@shikijs/vscode-textmate": "npm:^9.3.0" + checksum: 10/5dca4f84f77536b0f1cfc0c0280e9fa4d316d93bf089ad337c6953e38fbafcd5c98a2eea6429c8a59920c5bb3fa696ed2ba682ed550c97e74d57a3aa1b3b0cce + languageName: node + linkType: hard + +"@shikijs/types@npm:1.22.0": + version: 1.22.0 + resolution: "@shikijs/types@npm:1.22.0" dependencies: "@shikijs/vscode-textmate": "npm:^9.3.0" "@types/hast": "npm:^3.0.4" - checksum: 10/643c0e3df640fab990cb0ad9818ade22ddd8e332b8fd648a731245c386e19022374f16c8079ea9b28730151b9bb9109ccc7ca4c985de013742e1e985a88fc322 + checksum: 10/5313d7bad18820e3887460d0cf506ca265b752fdc826ee962a653385040df7ea12e785a0bb4233335ca2ccc9a0d51d57e97fe8e90543ab704ce507437dbeb225 languageName: node linkType: hard @@ -1378,6 +1855,13 @@ __metadata: languageName: node linkType: hard +"@sqltools/formatter@npm:^1.2.5": + version: 1.2.5 + resolution: "@sqltools/formatter@npm:1.2.5" + checksum: 10/ce9335025cd033f8f1ac997d290af22d5a5cdbd5f04cbf0fa18d5388871e980a4fc67875037821799b356032f851732dee1017b2ee7de84f5c2a2b8bfd5604f5 + languageName: node + linkType: hard + "@substrate/asset-transfer-api-registry@npm:^0.2.24": version: 0.2.24 resolution: "@substrate/asset-transfer-api-registry@npm:0.2.24" @@ -1389,21 +1873,24 @@ __metadata: version: 0.0.0-use.local resolution: "@substrate/asset-transfer-api@workspace:." dependencies: - "@polkadot/api": "npm:15.0.1" - "@polkadot/api-augment": "npm:15.0.1" - "@polkadot/types": "npm:15.0.1" - "@polkadot/types-codec": "npm:15.0.1" - "@polkadot/util": "npm:13.2.3" - "@polkadot/util-crypto": "npm:13.2.3" + "@acala-network/chopsticks-core": "npm:^1.0.1" + "@acala-network/chopsticks-testing": "npm:^1.0.1" + "@polkadot/api": "npm:^14.2.3" + "@polkadot/api-augment": "npm:^14.2.3" + "@polkadot/types": "npm:^14.2.3" + "@polkadot/types-codec": "npm:^14.2.3" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/util-crypto": "npm:^13.2.3" "@substrate/asset-transfer-api-registry": "npm:^0.2.24" "@substrate/dev": "npm:^0.9.0" "@types/cli-progress": "npm:^3" ansi-colors: "npm:^4.1.3" chalk: "npm:5.3.0" cli-progress: "npm:^3.12.0" - typedoc: "npm:^0.27.2" + typedoc: "npm:^0.26.10" typedoc-plugin-missing-exports: "npm:^3.0.0" typedoc-theme-hierarchy: "npm:^5.0.3" + vitest: "npm:^2.1.8" languageName: unknown linkType: soft @@ -1485,6 +1972,13 @@ __metadata: languageName: node linkType: hard +"@tootallnate/once@npm:1": + version: 1.1.2 + resolution: "@tootallnate/once@npm:1.1.2" + checksum: 10/e1fb1bbbc12089a0cb9433dc290f97bddd062deadb6178ce9bcb93bb7c1aecde5e60184bc7065aec42fe1663622a213493c48bbd4972d931aae48315f18e1be9 + languageName: node + linkType: hard + "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -1551,6 +2045,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.0": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d + languageName: node + linkType: hard + "@types/graceful-fs@npm:^4.1.3": version: 4.1.6 resolution: "@types/graceful-fs@npm:4.1.6" @@ -1560,7 +2061,7 @@ __metadata: languageName: node linkType: hard -"@types/hast@npm:^3.0.4": +"@types/hast@npm:^3.0.0, @types/hast@npm:^3.0.4": version: 3.0.4 resolution: "@types/hast@npm:3.0.4" dependencies: @@ -1604,6 +2105,15 @@ __metadata: languageName: node linkType: hard +"@types/mdast@npm:^4.0.0": + version: 4.0.4 + resolution: "@types/mdast@npm:4.0.4" + dependencies: + "@types/unist": "npm:*" + checksum: 10/efe3ec11b9ee0015a396c4fb4cd1b6f31b51b8ae9783c59560e6fc0bf6c2fa1dcc7fccaf45fa09a6c8b3397fab9dc8d431433935cae3835caa70a18f7fc775f8 + languageName: node + linkType: hard + "@types/node@npm:*": version: 18.11.18 resolution: "@types/node@npm:18.11.18" @@ -1618,7 +2128,7 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:*": +"@types/unist@npm:*, @types/unist@npm:^3.0.0": version: 3.0.3 resolution: "@types/unist@npm:3.0.3" checksum: 10/96e6453da9e075aaef1dc22482463898198acdc1eeb99b465e65e34303e2ec1e3b1ed4469a9118275ec284dc98019f63c3f5d49422f0e4ac707e5ab90fb3b71a @@ -1759,23 +2269,113 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0": +"@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" checksum: 10/c6fe89a505e513a7592e1438280db1c075764793a2397877ff1351721fe8792a966a5359769e30242b3cd023f2efb9e63ca2ca88019d73b564488cc20e3eab12 languageName: node linkType: hard -"abbrev@npm:^1.0.0": - version: 1.1.1 - resolution: "abbrev@npm:1.1.1" - checksum: 10/2d882941183c66aa665118bafdab82b7a177e9add5eb2776c33e960a4f3c89cff88a1b38aba13a456de01d0dd9d66a8bea7c903268b21ea91dd1097e1e2e8243 +"@vitest/expect@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/expect@npm:2.1.8" + dependencies: + "@vitest/spy": "npm:2.1.8" + "@vitest/utils": "npm:2.1.8" + chai: "npm:^5.1.2" + tinyrainbow: "npm:^1.2.0" + checksum: 10/3594149dd67dfac884a90f8b6a35687cdddd2f5f764562819bf7b66ae2eacfd4aa5e8914155deb4082fbe5a3792dced2fd7e59a948ffafe67acba4d2229dfe5f languageName: node linkType: hard -"acorn-jsx@npm:^5.3.2": - version: 5.3.2 - resolution: "acorn-jsx@npm:5.3.2" +"@vitest/mocker@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/mocker@npm:2.1.8" + dependencies: + "@vitest/spy": "npm:2.1.8" + estree-walker: "npm:^3.0.3" + magic-string: "npm:^0.30.12" + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + checksum: 10/f04060f42102caa4cca72059e63c1ecae8b8e091aaa61a2d4a914b129fc711ada4ad117eb0184e49e363757784ed1117fdbf9f4a81a45fe575fd92769740a970 + languageName: node + linkType: hard + +"@vitest/pretty-format@npm:2.1.8, @vitest/pretty-format@npm:^2.1.8": + version: 2.1.8 + resolution: "@vitest/pretty-format@npm:2.1.8" + dependencies: + tinyrainbow: "npm:^1.2.0" + checksum: 10/f0f60c007424194887ad398d202867d58d850154de327993925041e2972357544eea95a22e0bb3a62a470b006ff8de5f691d2078708dcd7f625e24f8a06b26e7 + languageName: node + linkType: hard + +"@vitest/runner@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/runner@npm:2.1.8" + dependencies: + "@vitest/utils": "npm:2.1.8" + pathe: "npm:^1.1.2" + checksum: 10/27f265a3ab1e20297b948b06232bfa4dc9fda44d1f9bb6206baa9e6fa643b71143ebfd2d1771570296b7ee74a12d684e529a830f545ad61235cefb454e94a8e9 + languageName: node + linkType: hard + +"@vitest/snapshot@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/snapshot@npm:2.1.8" + dependencies: + "@vitest/pretty-format": "npm:2.1.8" + magic-string: "npm:^0.30.12" + pathe: "npm:^1.1.2" + checksum: 10/71edf4f574d317579c605ed0a7ecab7ee96fddcebc777bd130774a770ddc692c538f9f5b3dfde89af83ecb36f7338fe880943c83cede58f55e3556768a1a0749 + languageName: node + linkType: hard + +"@vitest/spy@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/spy@npm:2.1.8" + dependencies: + tinyspy: "npm:^3.0.2" + checksum: 10/9a1cb9cf6b23c122681469b5890d91ca26fc8d74953b3d46d293a5d2a4944490106891f6a178cd732ab7a8abbda339f43681c81d1594565ecc3bf3e7f9b7735f + languageName: node + linkType: hard + +"@vitest/utils@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/utils@npm:2.1.8" + dependencies: + "@vitest/pretty-format": "npm:2.1.8" + loupe: "npm:^3.1.2" + tinyrainbow: "npm:^1.2.0" + checksum: 10/be1f4254347199fb5c1d9de8e4537dad4af3f434c033e7cd023165bd4b7e9de16fa0f86664256ab331120585df95ed6be8eea58b209b510651b49f6482051733 + languageName: node + linkType: hard + +"abbrev@npm:1, abbrev@npm:^1.0.0": + version: 1.1.1 + resolution: "abbrev@npm:1.1.1" + checksum: 10/2d882941183c66aa665118bafdab82b7a177e9add5eb2776c33e960a4f3c89cff88a1b38aba13a456de01d0dd9d66a8bea7c903268b21ea91dd1097e1e2e8243 + languageName: node + linkType: hard + +"abort-controller@npm:^3.0.0": + version: 3.0.0 + resolution: "abort-controller@npm:3.0.0" + dependencies: + event-target-shim: "npm:^5.0.0" + checksum: 10/ed84af329f1828327798229578b4fe03a4dd2596ba304083ebd2252666bdc1d7647d66d0b18704477e1f8aa315f055944aa6e859afebd341f12d0a53c37b4b40 + languageName: node + linkType: hard + +"acorn-jsx@npm:^5.3.2": + version: 5.3.2 + resolution: "acorn-jsx@npm:5.3.2" peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 checksum: 10/d4371eaef7995530b5b5ca4183ff6f062ca17901a6d3f673c9ac011b01ede37e7a1f7f61f8f5cfe709e88054757bb8f3277dc4061087cdf4f2a1f90ccbcdb977 @@ -1800,6 +2400,15 @@ __metadata: languageName: node linkType: hard +"agentkeepalive@npm:^4.1.3": + version: 4.5.0 + resolution: "agentkeepalive@npm:4.5.0" + dependencies: + humanize-ms: "npm:^1.2.1" + checksum: 10/dd210ba2a2e2482028f027b1156789744aadbfd773a6c9dd8e4e8001930d5af82382abe19a69240307b1d8003222ce6b0542935038313434b900e351914fc15f + languageName: node + linkType: hard + "agentkeepalive@npm:^4.2.1": version: 4.2.1 resolution: "agentkeepalive@npm:4.2.1" @@ -1856,6 +2465,13 @@ __metadata: languageName: node linkType: hard +"ansi-regex@npm:^6.0.1": + version: 6.1.0 + resolution: "ansi-regex@npm:6.1.0" + checksum: 10/495834a53b0856c02acd40446f7130cb0f8284f4a39afdab20d5dc42b2e198b1196119fe887beed8f9055c4ff2055e3b2f6d4641d0be018cdfb64fedf6fc1aac + languageName: node + linkType: hard + "ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" @@ -1881,6 +2497,20 @@ __metadata: languageName: node linkType: hard +"ansi-styles@npm:^6.1.0": + version: 6.2.1 + resolution: "ansi-styles@npm:6.2.1" + checksum: 10/70fdf883b704d17a5dfc9cde206e698c16bcd74e7f196ab821511651aee4f9f76c9514bdfa6ca3a27b5e49138b89cb222a28caf3afe4567570139577f991df32 + languageName: node + linkType: hard + +"any-promise@npm:^1.0.0": + version: 1.3.0 + resolution: "any-promise@npm:1.3.0" + checksum: 10/6737469ba353b5becf29e4dc3680736b9caa06d300bda6548812a8fee63ae7d336d756f88572fa6b5219aed36698d808fa55f62af3e7e6845c7a1dc77d240edb + languageName: node + linkType: hard + "anymatch@npm:^3.0.3": version: 3.1.3 resolution: "anymatch@npm:3.1.3" @@ -1891,6 +2521,13 @@ __metadata: languageName: node linkType: hard +"app-root-path@npm:^3.1.0": + version: 3.1.0 + resolution: "app-root-path@npm:3.1.0" + checksum: 10/b4cdab5f7e51ec43fa04c97eca2adedf8e18d6c3dd21cd775b70457c5e71f0441c692a49dcceb426f192640b7393dcd41d85c36ef98ecb7c785a53159c912def + languageName: node + linkType: hard + "aproba@npm:^1.0.3 || ^2.0.0": version: 2.0.0 resolution: "aproba@npm:2.0.0" @@ -1931,6 +2568,13 @@ __metadata: languageName: node linkType: hard +"assertion-error@npm:^2.0.1": + version: 2.0.1 + resolution: "assertion-error@npm:2.0.1" + checksum: 10/a0789dd882211b87116e81e2648ccb7f60340b34f19877dd020b39ebb4714e475eb943e14ba3e22201c221ef6645b7bfe10297e76b6ac95b48a9898c1211ce66 + languageName: node + linkType: hard + "async@npm:^3.2.3": version: 3.2.6 resolution: "async@npm:3.2.6" @@ -1938,6 +2582,31 @@ __metadata: languageName: node linkType: hard +"asynckit@npm:^0.4.0": + version: 0.4.0 + resolution: "asynckit@npm:0.4.0" + checksum: 10/3ce727cbc78f69d6a4722517a58ee926c8c21083633b1d3fdf66fd688f6c127a53a592141bd4866f9b63240a86e9d8e974b13919450bd17fa33c2d22c4558ad8 + languageName: node + linkType: hard + +"atomic-sleep@npm:^1.0.0": + version: 1.0.0 + resolution: "atomic-sleep@npm:1.0.0" + checksum: 10/3ab6d2cf46b31394b4607e935ec5c1c3c4f60f3e30f0913d35ea74b51b3585e84f590d09e58067f11762eec71c87d25314ce859030983dc0e4397eed21daa12e + languageName: node + linkType: hard + +"axios@npm:^1.7.7": + version: 1.7.7 + resolution: "axios@npm:1.7.7" + dependencies: + follow-redirects: "npm:^1.15.6" + form-data: "npm:^4.0.0" + proxy-from-env: "npm:^1.1.0" + checksum: 10/7f875ea13b9298cd7b40fd09985209f7a38d38321f1118c701520939de2f113c4ba137832fe8e3f811f99a38e12c8225481011023209a77b0c0641270e20cde1 + languageName: node + linkType: hard + "babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -2021,6 +2690,33 @@ __metadata: languageName: node linkType: hard +"base64-js@npm:^1.3.1": + version: 1.5.1 + resolution: "base64-js@npm:1.5.1" + checksum: 10/669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005 + languageName: node + linkType: hard + +"bindings@npm:^1.5.0": + version: 1.5.0 + resolution: "bindings@npm:1.5.0" + dependencies: + file-uri-to-path: "npm:1.0.0" + checksum: 10/593d5ae975ffba15fbbb4788fe5abd1e125afbab849ab967ab43691d27d6483751805d98cb92f7ac24a2439a8a8678cd0131c535d5d63de84e383b0ce2786133 + languageName: node + linkType: hard + +"bl@npm:^4.0.3": + version: 4.1.0 + resolution: "bl@npm:4.1.0" + dependencies: + buffer: "npm:^5.5.0" + inherits: "npm:^2.0.4" + readable-stream: "npm:^3.4.0" + checksum: 10/b7904e66ed0bdfc813c06ea6c3e35eafecb104369dbf5356d0f416af90c1546de3b74e5b63506f0629acf5e16a6f87c3798f16233dcff086e9129383aa02ab55 + languageName: node + linkType: hard + "bn.js@npm:^5.2.1": version: 5.2.1 resolution: "bn.js@npm:5.2.1" @@ -2028,6 +2724,13 @@ __metadata: languageName: node linkType: hard +"boolean@npm:^3.0.1": + version: 3.2.0 + resolution: "boolean@npm:3.2.0" + checksum: 10/d28a49dcaeef7fe10cf9fdf488214d3859f07350be8f5caa0c73ec621baf20650e5da6523262e5ce9221909519d4261c16d8430a5bf307fee9ef0e170cdb29f3 + languageName: node + linkType: hard + "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -2095,6 +2798,59 @@ __metadata: languageName: node linkType: hard +"buffer@npm:^5.5.0": + version: 5.7.1 + resolution: "buffer@npm:5.7.1" + dependencies: + base64-js: "npm:^1.3.1" + ieee754: "npm:^1.1.13" + checksum: 10/997434d3c6e3b39e0be479a80288875f71cd1c07d75a3855e6f08ef848a3c966023f79534e22e415ff3a5112708ce06127277ab20e527146d55c84566405c7c6 + languageName: node + linkType: hard + +"buffer@npm:^6.0.3": + version: 6.0.3 + resolution: "buffer@npm:6.0.3" + dependencies: + base64-js: "npm:^1.3.1" + ieee754: "npm:^1.2.1" + checksum: 10/b6bc68237ebf29bdacae48ce60e5e28fc53ae886301f2ad9496618efac49427ed79096750033e7eab1897a4f26ae374ace49106a5758f38fb70c78c9fda2c3b1 + languageName: node + linkType: hard + +"cac@npm:^6.7.14": + version: 6.7.14 + resolution: "cac@npm:6.7.14" + checksum: 10/002769a0fbfc51c062acd2a59df465a2a947916b02ac50b56c69ec6c018ee99ac3e7f4dd7366334ea847f1ecacf4defaa61bcd2ac283db50156ce1f1d8c8ad42 + languageName: node + linkType: hard + +"cacache@npm:^15.2.0": + version: 15.3.0 + resolution: "cacache@npm:15.3.0" + dependencies: + "@npmcli/fs": "npm:^1.0.0" + "@npmcli/move-file": "npm:^1.0.1" + chownr: "npm:^2.0.0" + fs-minipass: "npm:^2.0.0" + glob: "npm:^7.1.4" + infer-owner: "npm:^1.0.4" + lru-cache: "npm:^6.0.0" + minipass: "npm:^3.1.1" + minipass-collect: "npm:^1.0.2" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.2" + mkdirp: "npm:^1.0.3" + p-map: "npm:^4.0.0" + promise-inflight: "npm:^1.0.1" + rimraf: "npm:^3.0.2" + ssri: "npm:^8.0.1" + tar: "npm:^6.0.2" + unique-filename: "npm:^1.1.1" + checksum: 10/1432d84f3f4b31421cf47c15e6956e5e736a93c65126b0fd69ae5f70643d29be8996f33d4995204f578850de5d556268540911c04ecc1c026375b18600534f08 + languageName: node + linkType: hard + "cacache@npm:^16.1.0": version: 16.1.3 resolution: "cacache@npm:16.1.3" @@ -2149,6 +2905,26 @@ __metadata: languageName: node linkType: hard +"ccount@npm:^2.0.0": + version: 2.0.1 + resolution: "ccount@npm:2.0.1" + checksum: 10/48193dada54c9e260e0acf57fc16171a225305548f9ad20d5471e0f7a8c026aedd8747091dccb0d900cde7df4e4ddbd235df0d8de4a64c71b12f0d3303eeafd4 + languageName: node + linkType: hard + +"chai@npm:^5.1.2": + version: 5.1.2 + resolution: "chai@npm:5.1.2" + dependencies: + assertion-error: "npm:^2.0.1" + check-error: "npm:^2.1.1" + deep-eql: "npm:^5.0.1" + loupe: "npm:^3.1.0" + pathval: "npm:^2.0.0" + checksum: 10/e8c2bbc83cb5a2f87130d93056d4cfbbe04106e12aa798b504816dbe3fa538a9f68541b472e56cbf0f54558b501d7e31867d74b8218abcd5a8cc8ba536fba46c + languageName: node + linkType: hard + "chalk@npm:5.3.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" @@ -2167,7 +2943,17 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.0.2": +"chalk@npm:^3.0.0": + version: 3.0.0 + resolution: "chalk@npm:3.0.0" + dependencies: + ansi-styles: "npm:^4.1.0" + supports-color: "npm:^7.1.0" + checksum: 10/37f90b31fd655fb49c2bd8e2a68aebefddd64522655d001ef417e6f955def0ed9110a867ffc878a533f2dafea5f2032433a37c8a7614969baa7f8a1cd424ddfc + languageName: node + linkType: hard + +"chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -2184,6 +2970,34 @@ __metadata: languageName: node linkType: hard +"character-entities-html4@npm:^2.0.0": + version: 2.1.0 + resolution: "character-entities-html4@npm:2.1.0" + checksum: 10/7034aa7c7fa90309667f6dd50499c8a760c3d3a6fb159adb4e0bada0107d194551cdbad0714302f62d06ce4ed68565c8c2e15fdef2e8f8764eb63fa92b34b11d + languageName: node + linkType: hard + +"character-entities-legacy@npm:^3.0.0": + version: 3.0.0 + resolution: "character-entities-legacy@npm:3.0.0" + checksum: 10/7582af055cb488b626d364b7d7a4e46b06abd526fb63c0e4eb35bcb9c9799cc4f76b39f34fdccef2d1174ac95e53e9ab355aae83227c1a2505877893fce77731 + languageName: node + linkType: hard + +"check-error@npm:^2.1.1": + version: 2.1.1 + resolution: "check-error@npm:2.1.1" + checksum: 10/d785ed17b1d4a4796b6e75c765a9a290098cf52ff9728ce0756e8ffd4293d2e419dd30c67200aee34202463b474306913f2fcfaf1890641026d9fc6966fea27a + languageName: node + linkType: hard + +"chownr@npm:^1.1.1": + version: 1.1.4 + resolution: "chownr@npm:1.1.4" + checksum: 10/115648f8eb38bac5e41c3857f3e663f9c39ed6480d1349977c4d96c95a47266fcacc5a5aabf3cb6c481e22d72f41992827db47301851766c4fd77ac21a4f081d + languageName: node + linkType: hard + "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -2212,6 +3026,22 @@ __metadata: languageName: node linkType: hard +"cli-highlight@npm:^2.1.11": + version: 2.1.11 + resolution: "cli-highlight@npm:2.1.11" + dependencies: + chalk: "npm:^4.0.0" + highlight.js: "npm:^10.7.1" + mz: "npm:^2.4.0" + parse5: "npm:^5.1.1" + parse5-htmlparser2-tree-adapter: "npm:^6.0.0" + yargs: "npm:^16.0.0" + bin: + highlight: bin/highlight + checksum: 10/05d2b5beb8a4d3259f693517d013bf53d04ad20f470b77c3d02e051963092fae388388e3127f67d3679884a0c32cb855bf590292017c5e68c0f8d86f4b8e146e + languageName: node + linkType: hard + "cli-progress@npm:^3.12.0": version: 3.12.0 resolution: "cli-progress@npm:3.12.0" @@ -2221,6 +3051,17 @@ __metadata: languageName: node linkType: hard +"cliui@npm:^7.0.2": + version: 7.0.4 + resolution: "cliui@npm:7.0.4" + dependencies: + string-width: "npm:^4.2.0" + strip-ansi: "npm:^6.0.0" + wrap-ansi: "npm:^7.0.0" + checksum: 10/db858c49af9d59a32d603987e6fddaca2ce716cd4602ba5a2bb3a5af1351eebe82aba8dff3ef3e1b331f7fa9d40ca66e67bdf8e7c327ce0ea959747ead65c0ef + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -2287,6 +3128,36 @@ __metadata: languageName: node linkType: hard +"colorette@npm:^2.0.7": + version: 2.0.20 + resolution: "colorette@npm:2.0.20" + checksum: 10/0b8de48bfa5d10afc160b8eaa2b9938f34a892530b2f7d7897e0458d9535a066e3998b49da9d21161c78225b272df19ae3a64d6df28b4c9734c0e55bbd02406f + languageName: node + linkType: hard + +"combined-stream@npm:^1.0.8": + version: 1.0.8 + resolution: "combined-stream@npm:1.0.8" + dependencies: + delayed-stream: "npm:~1.0.0" + checksum: 10/2e969e637d05d09fa50b02d74c83a1186f6914aae89e6653b62595cc75a221464f884f55f231b8f4df7a49537fba60bdc0427acd2bf324c09a1dbb84837e36e4 + languageName: node + linkType: hard + +"comlink@npm:^4.4.1": + version: 4.4.2 + resolution: "comlink@npm:4.4.2" + checksum: 10/ecee53b5b4536b3aa3f7636c383f831e68fbc013def77665cc7fad873d72cfa23b994e1ec4b49e83e4e909c1089a03acae03a523e33a5e5ed938cdb613456434 + languageName: node + linkType: hard + +"comma-separated-tokens@npm:^2.0.0": + version: 2.0.3 + resolution: "comma-separated-tokens@npm:2.0.3" + checksum: 10/e3bf9e0332a5c45f49b90e79bcdb4a7a85f28d6a6f0876a94f1bb9b2bfbdbbb9292aac50e1e742d8c0db1e62a0229a106f57917e2d067fca951d81737651700d + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -2294,6 +3165,16 @@ __metadata: languageName: node linkType: hard +"config-chain@npm:^1.1.11": + version: 1.1.13 + resolution: "config-chain@npm:1.1.13" + dependencies: + ini: "npm:^1.3.4" + proto-list: "npm:~1.2.1" + checksum: 10/83d22cabf709e7669f6870021c4d552e4fc02e9682702b726be94295f42ce76cfed00f70b2910ce3d6c9465d9758e191e28ad2e72ff4e3331768a90da6c1ef03 + languageName: node + linkType: hard + "console-control-strings@npm:^1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -2332,6 +3213,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^7.0.0": + version: 7.0.5 + resolution: "cross-spawn@npm:7.0.5" + dependencies: + path-key: "npm:^3.1.0" + shebang-command: "npm:^2.0.0" + which: "npm:^2.0.1" + checksum: 10/c95062469d4bdbc1f099454d01c0e77177a3733012d41bf907a71eb8d22d2add43b5adf6a0a14ef4e7feaf804082714d6c262ef4557a1c480b86786c120d18e2 + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -2350,7 +3242,21 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"dateformat@npm:^4.6.3": + version: 4.6.3 + resolution: "dateformat@npm:4.6.3" + checksum: 10/5c149c91bf9ce2142c89f84eee4c585f0cb1f6faf2536b1af89873f862666a28529d1ccafc44750aa01384da2197c4f76f4e149a3cc0c1cb2c46f5cc45f2bcb5 + languageName: node + linkType: hard + +"dayjs@npm:^1.11.9": + version: 1.11.13 + resolution: "dayjs@npm:1.11.13" + checksum: 10/7374d63ab179b8d909a95e74790def25c8986e329ae989840bacb8b1888be116d20e1c4eee75a69ea0dfbae13172efc50ef85619d304ee7ca3c01d5878b704f5 + languageName: node + linkType: hard + +"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.7": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -2362,6 +3268,15 @@ __metadata: languageName: node linkType: hard +"decompress-response@npm:^6.0.0": + version: 6.0.0 + resolution: "decompress-response@npm:6.0.0" + dependencies: + mimic-response: "npm:^3.1.0" + checksum: 10/d377cf47e02d805e283866c3f50d3d21578b779731e8c5072d6ce8c13cc31493db1c2f6784da9d1d5250822120cefa44f1deab112d5981015f2e17444b763812 + languageName: node + linkType: hard + "dedent@npm:^1.0.0": version: 1.5.1 resolution: "dedent@npm:1.5.1" @@ -2374,6 +3289,20 @@ __metadata: languageName: node linkType: hard +"deep-eql@npm:^5.0.1": + version: 5.0.2 + resolution: "deep-eql@npm:5.0.2" + checksum: 10/a529b81e2ef8821621d20a36959a0328873a3e49d393ad11f8efe8559f31239494c2eb889b80342808674c475802ba95b9d6c4c27641b9a029405104c1b59fcf + languageName: node + linkType: hard + +"deep-extend@npm:^0.6.0": + version: 0.6.0 + resolution: "deep-extend@npm:0.6.0" + checksum: 10/7be7e5a8d468d6b10e6a67c3de828f55001b6eb515d014f7aeb9066ce36bd5717161eb47d6a0f7bed8a9083935b465bc163ee2581c8b128d29bf61092fdf57a7 + languageName: node + linkType: hard + "deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" @@ -2388,6 +3317,35 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.0.1": + version: 1.1.4 + resolution: "define-data-property@npm:1.1.4" + dependencies: + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + gopd: "npm:^1.0.1" + checksum: 10/abdcb2505d80a53524ba871273e5da75e77e52af9e15b3aa65d8aad82b8a3a424dad7aee2cc0b71470ac7acf501e08defac362e8b6a73cdb4309f028061df4ae + languageName: node + linkType: hard + +"define-properties@npm:^1.2.1": + version: 1.2.1 + resolution: "define-properties@npm:1.2.1" + dependencies: + define-data-property: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.0" + object-keys: "npm:^1.1.1" + checksum: 10/b4ccd00597dd46cb2d4a379398f5b19fca84a16f3374e2249201992f36b30f6835949a9429669ee6b41b6e837205a163eadd745e472069e70dfc10f03e5fcc12 + languageName: node + linkType: hard + +"delayed-stream@npm:~1.0.0": + version: 1.0.0 + resolution: "delayed-stream@npm:1.0.0" + checksum: 10/46fe6e83e2cb1d85ba50bd52803c68be9bd953282fa7096f51fc29edd5d67ff84ff753c51966061e5ba7cb5e47ef6d36a91924eddb7f3f3483b1c560f77a0020 + languageName: node + linkType: hard + "delegates@npm:^1.0.0": version: 1.0.0 resolution: "delegates@npm:1.0.0" @@ -2402,6 +3360,20 @@ __metadata: languageName: node linkType: hard +"dequal@npm:^2.0.0": + version: 2.0.3 + resolution: "dequal@npm:2.0.3" + checksum: 10/6ff05a7561f33603df87c45e389c9ac0a95e3c056be3da1a0c4702149e3a7f6fe5ffbb294478687ba51a9e95f3a60e8b6b9005993acd79c292c7d15f71964b6b + languageName: node + linkType: hard + +"detect-libc@npm:^2.0.0": + version: 2.0.3 + resolution: "detect-libc@npm:2.0.3" + checksum: 10/b4ea018d623e077bd395f168a9e81db77370dde36a5b01d067f2ad7989924a81d31cb547ff764acb2aa25d50bb7fdde0b0a93bec02212b0cb430621623246d39 + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -2409,6 +3381,29 @@ __metadata: languageName: node linkType: hard +"detect-node@npm:^2.0.4": + version: 2.1.0 + resolution: "detect-node@npm:2.1.0" + checksum: 10/832184ec458353e41533ac9c622f16c19f7c02d8b10c303dfd3a756f56be93e903616c0bb2d4226183c9351c15fc0b3dba41a17a2308262afabcfa3776e6ae6e + languageName: node + linkType: hard + +"devlop@npm:^1.0.0": + version: 1.1.0 + resolution: "devlop@npm:1.1.0" + dependencies: + dequal: "npm:^2.0.0" + checksum: 10/3cc5f903d02d279d6dc4aa71ab6ed9898b9f4d1f861cc5421ce7357893c21b9520de78afb203c92bd650a6977ad0ca98195453a0707a39958cf5fea3b0a8ddd8 + languageName: node + linkType: hard + +"diff-match-patch@npm:^1.0.0": + version: 1.0.5 + resolution: "diff-match-patch@npm:1.0.5" + checksum: 10/fd1ab417eba9559bda752a4dfc9a8ac73fa2ca8b146d29d153964b437168e301c09d8a688fae0cd81d32dc6508a4918a94614213c85df760793f44e245173bb6 + languageName: node + linkType: hard + "diff-sequences@npm:^29.6.3": version: 29.6.3 resolution: "diff-sequences@npm:29.6.3" @@ -2434,6 +3429,20 @@ __metadata: languageName: node linkType: hard +"dotenv@npm:^16.0.3, dotenv@npm:^16.4.5": + version: 16.4.5 + resolution: "dotenv@npm:16.4.5" + checksum: 10/55a3134601115194ae0f924e54473459ed0d9fc340ae610b676e248cca45aa7c680d86365318ea964e6da4e2ea80c4514c1adab5adb43d6867fb57ff068f95c8 + languageName: node + linkType: hard + +"eastasianwidth@npm:^0.2.0": + version: 0.2.0 + resolution: "eastasianwidth@npm:0.2.0" + checksum: 10/9b1d3e1baefeaf7d70799db8774149cef33b97183a6addceeba0cf6b85ba23ee2686f302f14482006df32df75d32b17c509c143a3689627929e4a8efaf483952 + languageName: node + linkType: hard + "ejs@npm:^3.1.10": version: 3.1.10 resolution: "ejs@npm:3.1.10" @@ -2466,15 +3475,31 @@ __metadata: languageName: node linkType: hard -"encoding@npm:^0.1.13": - version: 0.1.13 - resolution: "encoding@npm:0.1.13" +"emoji-regex@npm:^9.2.2": + version: 9.2.2 + resolution: "emoji-regex@npm:9.2.2" + checksum: 10/915acf859cea7131dac1b2b5c9c8e35c4849e325a1d114c30adb8cd615970f6dca0e27f64f3a4949d7d6ed86ecd79a1c5c63f02e697513cddd7b5835c90948b8 + languageName: node + linkType: hard + +"encoding@npm:^0.1.12, encoding@npm:^0.1.13": + version: 0.1.13 + resolution: "encoding@npm:0.1.13" dependencies: iconv-lite: "npm:^0.6.2" checksum: 10/bb98632f8ffa823996e508ce6a58ffcf5856330fde839ae42c9e1f436cc3b5cc651d4aeae72222916545428e54fd0f6aa8862fd8d25bdbcc4589f1e3f3715e7f languageName: node linkType: hard +"end-of-stream@npm:^1.1.0, end-of-stream@npm:^1.4.1": + version: 1.4.4 + resolution: "end-of-stream@npm:1.4.4" + dependencies: + once: "npm:^1.4.0" + checksum: 10/530a5a5a1e517e962854a31693dbb5c0b2fc40b46dad2a56a2deec656ca040631124f4795823acc68238147805f8b021abbe221f4afed5ef3c8e8efc2024908b + languageName: node + linkType: hard + "entities@npm:^4.4.0": version: 4.5.0 resolution: "entities@npm:4.5.0" @@ -2505,6 +3530,116 @@ __metadata: languageName: node linkType: hard +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" + dependencies: + get-intrinsic: "npm:^1.2.4" + checksum: 10/f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: 10/96e65d640156f91b707517e8cdc454dd7d47c32833aa3e85d79f24f9eb7ea85f39b63e36216ef0114996581969b59fe609a94e30316b08f5f4df1d44134cf8d5 + languageName: node + linkType: hard + +"es-module-lexer@npm:^1.5.4": + version: 1.5.4 + resolution: "es-module-lexer@npm:1.5.4" + checksum: 10/f29c7c97a58eb17640dcbd71bd6ef754ad4f58f95c3073894573d29dae2cad43ecd2060d97ed5b866dfb7804d5590fb7de1d2c5339a5fceae8bd60b580387fc5 + languageName: node + linkType: hard + +"es6-error@npm:^4.1.1": + version: 4.1.1 + resolution: "es6-error@npm:4.1.1" + checksum: 10/48483c25701dc5a6376f39bbe2eaf5da0b505607ec5a98cd3ade472c1939242156660636e2e508b33211e48e88b132d245341595c067bd4a95ac79fa7134da06 + languageName: node + linkType: hard + +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 10/d2ff2ca84d30cce8e871517374d6c2290835380dc7cd413b2d49189ed170d45e407be14de2cb4794cf76f75cf89955c4714726ebd3de7444b3046f5cab23ab6b + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -2684,6 +3819,15 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^3.0.3": + version: 3.0.3 + resolution: "estree-walker@npm:3.0.3" + dependencies: + "@types/estree": "npm:^1.0.0" + checksum: 10/a65728d5727b71de172c5df323385755a16c0fdab8234dc756c3854cfee343261ddfbb72a809a5660fac8c75d960bb3e21aa898c2d7e9b19bb298482ca58a3af + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -2691,6 +3835,13 @@ __metadata: languageName: node linkType: hard +"event-target-shim@npm:^5.0.0": + version: 5.0.1 + resolution: "event-target-shim@npm:5.0.1" + checksum: 10/49ff46c3a7facbad3decb31f597063e761785d7fdb3920d4989d7b08c97a61c2f51183e2f3a03130c9088df88d4b489b1b79ab632219901f184f85158508f4c8 + languageName: node + linkType: hard + "eventemitter3@npm:^5.0.1": version: 5.0.1 resolution: "eventemitter3@npm:5.0.1" @@ -2698,6 +3849,13 @@ __metadata: languageName: node linkType: hard +"events@npm:^3.3.0": + version: 3.3.0 + resolution: "events@npm:3.3.0" + checksum: 10/a3d47e285e28d324d7180f1e493961a2bbb4cad6412090e4dec114f4db1f5b560c7696ee8e758f55e23913ede856e3689cd3aa9ae13c56b5d8314cd3b3ddd1be + languageName: node + linkType: hard + "execa@npm:^5.0.0": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -2722,6 +3880,20 @@ __metadata: languageName: node linkType: hard +"expand-template@npm:^2.0.3": + version: 2.0.3 + resolution: "expand-template@npm:2.0.3" + checksum: 10/588c19847216421ed92befb521767b7018dc88f88b0576df98cb242f20961425e96a92cbece525ef28cc5becceae5d544ae0f5b9b5e2aa05acb13716ca5b3099 + languageName: node + linkType: hard + +"expect-type@npm:^1.1.0": + version: 1.1.0 + resolution: "expect-type@npm:1.1.0" + checksum: 10/05fca80ddc7d493a89361f783c6b000750fa04a8226bc24701f3b90adb0efc2fb467f2a0baaed4015a02d8b9034ef5bb87521df9dba980f50b1105bd596ef833 + languageName: node + linkType: hard + "expect@npm:^29.0.0, expect@npm:^29.7.0": version: 29.7.0 resolution: "expect@npm:29.7.0" @@ -2735,6 +3907,13 @@ __metadata: languageName: node linkType: hard +"fast-copy@npm:^3.0.2": + version: 3.0.2 + resolution: "fast-copy@npm:3.0.2" + checksum: 10/97e1022e2aaa27acf4a986d679310bfd66bfb87fe8da9dd33b698e3e50189484001cf1eeb9670e19b59d9d299828ed86c8da354c954f125995ab2a6331c5f290 + languageName: node + linkType: hard + "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -2776,6 +3955,20 @@ __metadata: languageName: node linkType: hard +"fast-redact@npm:^3.1.1": + version: 3.5.0 + resolution: "fast-redact@npm:3.5.0" + checksum: 10/24b27e2023bd5a62f908d97a753b1adb8d89206b260f97727728e00b693197dea2fc2aa3711147a385d0ec6e713569fd533df37a4ef947e08cb65af3019c7ad5 + languageName: node + linkType: hard + +"fast-safe-stringify@npm:^2.1.1": + version: 2.1.1 + resolution: "fast-safe-stringify@npm:2.1.1" + checksum: 10/dc1f063c2c6ac9533aee14d406441f86783a8984b2ca09b19c2fe281f9ff59d315298bc7bc22fd1f83d26fe19ef2f20e2ddb68e96b15040292e555c5ced0c1e4 + languageName: node + linkType: hard + "fastq@npm:^1.6.0": version: 1.15.0 resolution: "fastq@npm:1.15.0" @@ -2813,6 +4006,13 @@ __metadata: languageName: node linkType: hard +"file-uri-to-path@npm:1.0.0": + version: 1.0.0 + resolution: "file-uri-to-path@npm:1.0.0" + checksum: 10/b648580bdd893a008c92c7ecc96c3ee57a5e7b6c4c18a9a09b44fb5d36d79146f8e442578bc0e173dc027adf3987e254ba1dfd6e3ec998b7c282873010502144 + languageName: node + linkType: hard + "filelist@npm:^1.0.4": version: 1.0.4 resolution: "filelist@npm:1.0.4" @@ -2868,6 +4068,37 @@ __metadata: languageName: node linkType: hard +"follow-redirects@npm:^1.15.6": + version: 1.15.9 + resolution: "follow-redirects@npm:1.15.9" + peerDependenciesMeta: + debug: + optional: true + checksum: 10/e3ab42d1097e90d28b913903841e6779eb969b62a64706a3eb983e894a5db000fbd89296f45f08885a0e54cd558ef62e81be1165da9be25a6c44920da10f424c + languageName: node + linkType: hard + +"foreground-child@npm:^3.1.0": + version: 3.3.0 + resolution: "foreground-child@npm:3.3.0" + dependencies: + cross-spawn: "npm:^7.0.0" + signal-exit: "npm:^4.0.1" + checksum: 10/e3a60480f3a09b12273ce2c5fcb9514d98dd0e528f58656a1b04680225f918d60a2f81f6a368f2f3b937fcee9cfc0cbf16f1ad9a0bc6a3a6e103a84c9a90087e + languageName: node + linkType: hard + +"form-data@npm:^4.0.0": + version: 4.0.1 + resolution: "form-data@npm:4.0.1" + dependencies: + asynckit: "npm:^0.4.0" + combined-stream: "npm:^1.0.8" + mime-types: "npm:^2.1.12" + checksum: 10/6adb1cff557328bc6eb8a68da205f9ae44ab0e88d4d9237aaf91eed591ffc64f77411efb9016af7d87f23d0a038c45a788aa1c6634e51175c4efa36c2bc53774 + languageName: node + linkType: hard + "formdata-polyfill@npm:^4.0.10": version: 4.0.10 resolution: "formdata-polyfill@npm:4.0.10" @@ -2877,6 +4108,13 @@ __metadata: languageName: node linkType: hard +"fs-constants@npm:^1.0.0": + version: 1.0.0 + resolution: "fs-constants@npm:1.0.0" + checksum: 10/18f5b718371816155849475ac36c7d0b24d39a11d91348cfcb308b4494824413e03572c403c86d3a260e049465518c4f0d5bd00f0371cdfcad6d4f30a85b350d + languageName: node + linkType: hard + "fs-extra@npm:11.1.1": version: 11.1.1 resolution: "fs-extra@npm:11.1.1" @@ -2914,6 +4152,16 @@ __metadata: languageName: node linkType: hard +"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" + dependencies: + node-gyp: "npm:latest" + checksum: 10/4c1ade961ded57cdbfbb5cac5106ec17bc8bccd62e16343c569a0ceeca83b9dfef87550b4dc5cbb89642da412b20c5071f304c8c464b80415446e8e155a038c0 + conditions: os=darwin + languageName: node + linkType: hard + "fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin": version: 2.3.2 resolution: "fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin::version=2.3.2&hash=df0bf1" @@ -2923,6 +4171,15 @@ __metadata: languageName: node linkType: hard +"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + dependencies: + node-gyp: "npm:latest" + conditions: os=darwin + languageName: node + linkType: hard + "function-bind@npm:^1.1.1": version: 1.1.1 resolution: "function-bind@npm:1.1.1" @@ -2930,6 +4187,13 @@ __metadata: languageName: node linkType: hard +"function-bind@npm:^1.1.2": + version: 1.1.2 + resolution: "function-bind@npm:1.1.2" + checksum: 10/185e20d20f10c8d661d59aac0f3b63b31132d492e1b11fcc2a93cb2c47257ebaee7407c38513efd2b35cafdf972d9beb2ea4593c1e0f3bf8f2744836928d7454 + languageName: node + linkType: hard + "gauge@npm:^4.0.3": version: 4.0.4 resolution: "gauge@npm:4.0.4" @@ -2960,6 +4224,19 @@ __metadata: languageName: node linkType: hard +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" + dependencies: + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + has-proto: "npm:^1.0.1" + has-symbols: "npm:^1.0.3" + hasown: "npm:^2.0.0" + checksum: 10/85bbf4b234c3940edf8a41f4ecbd4e25ce78e5e6ad4e24ca2f77037d983b9ef943fd72f00f3ee97a49ec622a506b67db49c36246150377efcda1c9eb03e5f06d + languageName: node + linkType: hard + "get-package-type@npm:^0.1.0": version: 0.1.0 resolution: "get-package-type@npm:0.1.0" @@ -2974,6 +4251,13 @@ __metadata: languageName: node linkType: hard +"github-from-package@npm:0.0.0": + version: 0.0.0 + resolution: "github-from-package@npm:0.0.0" + checksum: 10/2a091ba07fbce22205642543b4ea8aaf068397e1433c00ae0f9de36a3607baf5bcc14da97fbb798cfca6393b3c402031fca06d8b491a44206d6efef391c58537 + languageName: node + linkType: hard + "glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -2992,6 +4276,22 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.3.10": + version: 10.4.5 + resolution: "glob@npm:10.4.5" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^3.1.2" + minimatch: "npm:^9.0.4" + minipass: "npm:^7.1.2" + package-json-from-dist: "npm:^1.0.0" + path-scurry: "npm:^1.11.1" + bin: + glob: dist/esm/bin.mjs + checksum: 10/698dfe11828b7efd0514cd11e573eaed26b2dff611f0400907281ce3eab0c1e56143ef9b35adc7c77ecc71fba74717b510c7c223d34ca8a98ec81777b293d4ac + languageName: node + linkType: hard + "glob@npm:^7.1.3, glob@npm:^7.1.4": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -3019,6 +4319,20 @@ __metadata: languageName: node linkType: hard +"global-agent@npm:^3.0.0": + version: 3.0.0 + resolution: "global-agent@npm:3.0.0" + dependencies: + boolean: "npm:^3.0.1" + es6-error: "npm:^4.1.1" + matcher: "npm:^3.0.0" + roarr: "npm:^2.15.3" + semver: "npm:^7.3.2" + serialize-error: "npm:^7.0.1" + checksum: 10/a26d96d1d79af57a8ef957f66cef6f3889a8fa55131f0bbd72b8e1bc340a9b7ed7b627b96eaf5eb14aee08a8b4ad44395090e2cf77146e993f1d2df7abaa0a0d + languageName: node + linkType: hard + "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -3035,6 +4349,16 @@ __metadata: languageName: node linkType: hard +"globalthis@npm:^1.0.1": + version: 1.0.4 + resolution: "globalthis@npm:1.0.4" + dependencies: + define-properties: "npm:^1.2.1" + gopd: "npm:^1.0.1" + checksum: 10/1f1fd078fb2f7296306ef9dd51019491044ccf17a59ed49d375b576ca108ff37e47f3d29aead7add40763574a992f16a5367dd1e2173b8634ef18556ab719ac4 + languageName: node + linkType: hard + "globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" @@ -3049,6 +4373,22 @@ __metadata: languageName: node linkType: hard +"gopd@npm:^1.0.1": + version: 1.0.1 + resolution: "gopd@npm:1.0.1" + dependencies: + get-intrinsic: "npm:^1.1.3" + checksum: 10/5fbc7ad57b368ae4cd2f41214bd947b045c1a4be2f194a7be1778d71f8af9dbf4004221f3b6f23e30820eb0d052b4f819fe6ebe8221e2a3c6f0ee4ef173421ca + languageName: node + linkType: hard + +"graceful-fs@npm:4.2.10": + version: 4.2.10 + resolution: "graceful-fs@npm:4.2.10" + checksum: 10/0c83c52b62c68a944dcfb9d66b0f9f10f7d6e3d081e8067b9bfdc9e5f3a8896584d576036f82915773189eec1eba599397fc620e75c03c0610fb3d67c6713c1a + languageName: node + linkType: hard + "graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" @@ -3077,6 +4417,29 @@ __metadata: languageName: node linkType: hard +"has-property-descriptors@npm:^1.0.0": + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" + dependencies: + es-define-property: "npm:^1.0.0" + checksum: 10/2d8c9ab8cebb572e3362f7d06139a4592105983d4317e68f7adba320fe6ddfc8874581e0971e899e633fd5f72e262830edce36d5a0bc863dad17ad20572484b2 + languageName: node + linkType: hard + +"has-proto@npm:^1.0.1": + version: 1.0.3 + resolution: "has-proto@npm:1.0.3" + checksum: 10/0b67c2c94e3bea37db3e412e3c41f79d59259875e636ba471e94c009cdfb1fa82bf045deeffafc7dbb9c148e36cae6b467055aaa5d9fad4316e11b41e3ba551a + languageName: node + linkType: hard + +"has-symbols@npm:^1.0.3": + version: 1.0.3 + resolution: "has-symbols@npm:1.0.3" + checksum: 10/464f97a8202a7690dadd026e6d73b1ceeddd60fe6acfd06151106f050303eaa75855aaa94969df8015c11ff7c505f196114d22f7386b4a471038da5874cf5e9b + languageName: node + linkType: hard + "has-unicode@npm:^2.0.1": version: 2.0.1 resolution: "has-unicode@npm:2.0.1" @@ -3093,6 +4456,57 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.0": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: "npm:^1.1.2" + checksum: 10/7898a9c1788b2862cf0f9c345a6bec77ba4a0c0983c7f19d610c382343d4f98fa260686b225dfb1f88393a66679d2ec58ee310c1d6868c081eda7918f32cc70a + languageName: node + linkType: hard + +"hast-util-to-html@npm:^9.0.3": + version: 9.0.3 + resolution: "hast-util-to-html@npm:9.0.3" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + ccount: "npm:^2.0.0" + comma-separated-tokens: "npm:^2.0.0" + hast-util-whitespace: "npm:^3.0.0" + html-void-elements: "npm:^3.0.0" + mdast-util-to-hast: "npm:^13.0.0" + property-information: "npm:^6.0.0" + space-separated-tokens: "npm:^2.0.0" + stringify-entities: "npm:^4.0.0" + zwitch: "npm:^2.0.4" + checksum: 10/cdf860be567137d045490b0f27590bcafc7032f0725a84667e8950d7bf2ce175d0dfc635b7ce05f3a8d1963ac4c74cae4d93513047429aad909222decdb2f7d1 + languageName: node + linkType: hard + +"hast-util-whitespace@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-whitespace@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: 10/8c7e9eeb8131fc18702f3a42623eb6b0b09d470347aa8badacac70e6d91f79657ab8c6b57c4c6fee3658cff405fac30e816d1cdfb3ed1fbf6045d0a4555cf4d4 + languageName: node + linkType: hard + +"help-me@npm:^5.0.0": + version: 5.0.0 + resolution: "help-me@npm:5.0.0" + checksum: 10/5f99bd91dae93d02867175c3856c561d7e3a24f16999b08f5fc79689044b938d7ed58457f4d8c8744c01403e6e0470b7896baa344d112b2355842fd935a75d69 + languageName: node + linkType: hard + +"highlight.js@npm:^10.7.1": + version: 10.7.3 + resolution: "highlight.js@npm:10.7.3" + checksum: 10/db8d10a541936b058e221dbde77869664b2b45bca75d660aa98065be2cd29f3924755fbc7348213f17fd931aefb6e6597448ba6fe82afba6d8313747a91983ee + languageName: node + linkType: hard + "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -3100,6 +4514,13 @@ __metadata: languageName: node linkType: hard +"html-void-elements@npm:^3.0.0": + version: 3.0.0 + resolution: "html-void-elements@npm:3.0.0" + checksum: 10/59be397525465a7489028afa064c55763d9cccd1d7d9f630cca47137317f0e897a9ca26cef7e745e7cff1abc44260cfa407742b243a54261dfacd42230e94fce + languageName: node + linkType: hard + "http-cache-semantics@npm:^4.1.0": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" @@ -3107,6 +4528,17 @@ __metadata: languageName: node linkType: hard +"http-proxy-agent@npm:^4.0.1": + version: 4.0.1 + resolution: "http-proxy-agent@npm:4.0.1" + dependencies: + "@tootallnate/once": "npm:1" + agent-base: "npm:6" + debug: "npm:4" + checksum: 10/2e17f5519f2f2740b236d1d14911ea4be170c67419dc15b05ea9a860a22c5d9c6ff4da270972117067cc2cefeba9df5f7cd5e7818fdc6ae52b6acf2a533e5fdd + languageName: node + linkType: hard + "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -3153,6 +4585,20 @@ __metadata: languageName: node linkType: hard +"idb@npm:^8.0.0": + version: 8.0.0 + resolution: "idb@npm:8.0.0" + checksum: 10/6ff47b46ead4bf02ac3a9145bb2f48bac707b950cf33282a72eec8efcda610ffb0a09aab6eea58450f6c87373060bf50998d307085830a302e9e231eee6cd37d + languageName: node + linkType: hard + +"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": + version: 1.2.1 + resolution: "ieee754@npm:1.2.1" + checksum: 10/d9f2557a59036f16c282aaeb107832dc957a93d73397d89bbad4eb1130560560eb695060145e8e6b3b498b15ab95510226649a0b8f52ae06583575419fe10fc4 + languageName: node + linkType: hard + "ignore@npm:^5.2.0, ignore@npm:^5.3.1": version: 5.3.2 resolution: "ignore@npm:5.3.2" @@ -3213,13 +4659,20 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.3": +"inherits@npm:2, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 10/cd45e923bee15186c07fa4c89db0aace24824c482fb887b528304694b2aa6ff8a898da8657046a5dcf3e46cd6db6c61629551f9215f208d7c3f157cf9b290521 languageName: node linkType: hard +"ini@npm:^1.3.4, ini@npm:~1.3.0": + version: 1.3.8 + resolution: "ini@npm:1.3.8" + checksum: 10/314ae176e8d4deb3def56106da8002b462221c174ddb7ce0c49ee72c8cd1f9044f7b10cc555a7d8850982c3b9ca96fc212122749f5234bc2b6fb05fb942ed566 + languageName: node + linkType: hard + "ip@npm:^2.0.0": version: 2.0.1 resolution: "ip@npm:2.0.1" @@ -3373,6 +4826,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^3.1.2": + version: 3.4.3 + resolution: "jackspeak@npm:3.4.3" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + "@pkgjs/parseargs": "npm:^0.11.0" + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 10/96f8786eaab98e4bf5b2a5d6d9588ea46c4d06bbc4f2eb861fdd7b6b182b16f71d8a70e79820f335d52653b16d4843b29dd9cdcf38ae80406756db9199497cf3 + languageName: node + linkType: hard + "jake@npm:^10.8.5": version: 10.9.2 resolution: "jake@npm:10.9.2" @@ -3826,6 +5292,13 @@ __metadata: languageName: node linkType: hard +"joycon@npm:^3.1.1": + version: 3.1.1 + resolution: "joycon@npm:3.1.1" + checksum: 10/4b36e3479144ec196425f46b3618f8a96ce7e1b658f091a309cd4906215f5b7a402d7df331a3e0a09681381a658d0c5f039cb3cf6907e0a1e17ed847f5d37775 + languageName: node + linkType: hard + "js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -3902,6 +5375,18 @@ __metadata: languageName: node linkType: hard +"jsondiffpatch@npm:^0.5.0": + version: 0.5.0 + resolution: "jsondiffpatch@npm:0.5.0" + dependencies: + chalk: "npm:^3.0.0" + diff-match-patch: "npm:^1.0.0" + bin: + jsondiffpatch: bin/jsondiffpatch + checksum: 10/ad223d6be7ca8fd9e5c4ac18bf30aeddc6d91375b1784d43c2731aa7555dcddb72b5c2009cf8a32cb3cd232de1b5068c1e65dfa82a01e6575eb07be78c5014e8 + languageName: node + linkType: hard + "jsonfile@npm:^6.0.1": version: 6.1.0 resolution: "jsonfile@npm:6.1.0" @@ -3987,6 +5472,34 @@ __metadata: languageName: node linkType: hard +"lodash@npm:^4.17.21": + version: 4.17.21 + resolution: "lodash@npm:4.17.21" + checksum: 10/c08619c038846ea6ac754abd6dd29d2568aa705feb69339e836dfa8d8b09abbb2f859371e86863eda41848221f9af43714491467b5b0299122431e202bb0c532 + languageName: node + linkType: hard + +"loupe@npm:^3.1.0, loupe@npm:^3.1.2": + version: 3.1.2 + resolution: "loupe@npm:3.1.2" + checksum: 10/8f5734e53fb64cd914aa7d986e01b6d4c2e3c6c56dcbd5428d71c2703f0ab46b5ab9f9eeaaf2b485e8a1c43f865bdd16ec08ae1a661c8f55acdbd9f4d59c607a + languageName: node + linkType: hard + +"lru-cache@npm:^10.2.0": + version: 10.4.3 + resolution: "lru-cache@npm:10.4.3" + checksum: 10/e6e90267360476720fa8e83cc168aa2bf0311f3f2eea20a6ba78b90a885ae72071d9db132f40fda4129c803e7dcec3a6b6a6fbb44ca90b081630b810b5d6a41a + languageName: node + linkType: hard + +"lru-cache@npm:^11.0.1": + version: 11.0.2 + resolution: "lru-cache@npm:11.0.2" + checksum: 10/25fcb66e9d91eaf17227c6abfe526a7bed5903de74f93bfde380eb8a13410c5e8d3f14fe447293f3f322a7493adf6f9f015c6f1df7a235ff24ec30f366e1c058 + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -3996,6 +5509,15 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^6.0.0": + version: 6.0.0 + resolution: "lru-cache@npm:6.0.0" + dependencies: + yallist: "npm:^4.0.0" + checksum: 10/fc1fe2ee205f7c8855fa0f34c1ab0bcf14b6229e35579ec1fd1079f31d6fc8ef8eb6fd17f2f4d99788d7e339f50e047555551ebd5e434dda503696e7c6591825 + languageName: node + linkType: hard + "lru-cache@npm:^7.7.1": version: 7.14.1 resolution: "lru-cache@npm:7.14.1" @@ -4010,6 +5532,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.30.12": + version: 0.30.14 + resolution: "magic-string@npm:0.30.14" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.5.0" + checksum: 10/8ca0f8937c2824e48ebc70e7e065a193c467713639cc6e5972aaba0fa5417b375a6f62c383410a19a66e618c386bb7253fbd3ccbfb0144bb310f0ba772121f12 + languageName: node + linkType: hard + "make-dir@npm:^3.0.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -4050,14 +5581,38 @@ __metadata: languageName: node linkType: hard -"makeerror@npm:1.0.12": - version: 1.0.12 - resolution: "makeerror@npm:1.0.12" +"make-fetch-happen@npm:^9.1.0": + version: 9.1.0 + resolution: "make-fetch-happen@npm:9.1.0" dependencies: - tmpl: "npm:1.0.5" - checksum: 10/4c66ddfc654537333da952c084f507fa4c30c707b1635344eb35be894d797ba44c901a9cebe914aa29a7f61357543ba09b09dddbd7f65b4aee756b450f169f40 - languageName: node - linkType: hard + agentkeepalive: "npm:^4.1.3" + cacache: "npm:^15.2.0" + http-cache-semantics: "npm:^4.1.0" + http-proxy-agent: "npm:^4.0.1" + https-proxy-agent: "npm:^5.0.0" + is-lambda: "npm:^1.0.1" + lru-cache: "npm:^6.0.0" + minipass: "npm:^3.1.3" + minipass-collect: "npm:^1.0.2" + minipass-fetch: "npm:^1.3.2" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.4" + negotiator: "npm:^0.6.2" + promise-retry: "npm:^2.0.1" + socks-proxy-agent: "npm:^6.0.0" + ssri: "npm:^8.0.0" + checksum: 10/a868e74fc223a78afb7a1f8115133befdffae84f07a5f5dd9317cbf9f784a8373f28829a73ae3f31060e1b0cb4944e73257733c3b10c314354060fab412b6028 + languageName: node + linkType: hard + +"makeerror@npm:1.0.12": + version: 1.0.12 + resolution: "makeerror@npm:1.0.12" + dependencies: + tmpl: "npm:1.0.5" + checksum: 10/4c66ddfc654537333da952c084f507fa4c30c707b1635344eb35be894d797ba44c901a9cebe914aa29a7f61357543ba09b09dddbd7f65b4aee756b450f169f40 + languageName: node + linkType: hard "markdown-it@npm:^14.1.0": version: 14.1.0 @@ -4075,6 +5630,32 @@ __metadata: languageName: node linkType: hard +"matcher@npm:^3.0.0": + version: 3.0.0 + resolution: "matcher@npm:3.0.0" + dependencies: + escape-string-regexp: "npm:^4.0.0" + checksum: 10/8bee1a7ab7609c2c21d9c9254b6785fa708eadf289032b556d57a34e98fcd4c537659a004dafee6ce80ab157099e645c199dc52678dff1e7fb0a6684e0da4dbe + languageName: node + linkType: hard + +"mdast-util-to-hast@npm:^13.0.0": + version: 13.2.0 + resolution: "mdast-util-to-hast@npm:13.2.0" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@ungap/structured-clone": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + trim-lines: "npm:^3.0.0" + unist-util-position: "npm:^5.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + checksum: 10/b17ee338f843af31a1c7a2ebf0df6f0b41c9380b7119a63ab521d271df665456578e1234bb7617883e8d860fe878038dcf2b76ab2f21e0f7451215a096d26cce + languageName: node + linkType: hard + "mdurl@npm:^2.0.0": version: 2.0.0 resolution: "mdurl@npm:2.0.0" @@ -4096,6 +5677,48 @@ __metadata: languageName: node linkType: hard +"micromark-util-character@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-util-character@npm:2.1.0" + dependencies: + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10/089fe853c2bede2a48fd73d977910fa657c3cf6649eddcd300557a975c6c7f1c73030d01724a483ff1dc69a0d3ac28b43b2ba4210f5ea6414807cdcd0c2fa63c + languageName: node + linkType: hard + +"micromark-util-encode@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-encode@npm:2.0.0" + checksum: 10/853a3f33fce72aaf4ffa60b7f2b6fcfca40b270b3466e1b96561b02185d2bd8c01dd7948bc31a24ac014f4cc854e545ca9a8e9cf7ea46262f9d24c9e88551c66 + languageName: node + linkType: hard + +"micromark-util-sanitize-uri@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-sanitize-uri@npm:2.0.0" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-encode: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + checksum: 10/7d10622f5a2bb058dda6d2e95b2735c43fdf8daa4f88a0863bc90eef6598f8e10e3df98e034341fcbc090d8021c53501308c463c49d3fe91f41eb64b5bf2766e + languageName: node + linkType: hard + +"micromark-util-symbol@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-symbol@npm:2.0.0" + checksum: 10/8c662644c326b384f02a5269974d843d400930cf6f5d6a8e6db1743fc8933f5ecc125b4203ad4ebca25447f5d23eb7e5bf1f75af34570c3fdd925cb618752fcd + languageName: node + linkType: hard + +"micromark-util-types@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-types@npm:2.0.0" + checksum: 10/b88e0eefd4b7c8d86b54dbf4ed0094ef56a3b0c7774d040bd5c8146b8e4e05b1026bbf1cd9308c8fcd05ecdc0784507680c8cee9888a4d3c550e6e574f7aef62 + languageName: node + linkType: hard + "micromatch@npm:^4.0.4": version: 4.0.8 resolution: "micromatch@npm:4.0.8" @@ -4106,6 +5729,22 @@ __metadata: languageName: node linkType: hard +"mime-db@npm:1.52.0": + version: 1.52.0 + resolution: "mime-db@npm:1.52.0" + checksum: 10/54bb60bf39e6f8689f6622784e668a3d7f8bed6b0d886f5c3c446cb3284be28b30bf707ed05d0fe44a036f8469976b2629bbea182684977b084de9da274694d7 + languageName: node + linkType: hard + +"mime-types@npm:^2.1.12": + version: 2.1.35 + resolution: "mime-types@npm:2.1.35" + dependencies: + mime-db: "npm:1.52.0" + checksum: 10/89aa9651b67644035de2784a6e665fc685d79aba61857e02b9c8758da874a754aed4a9aced9265f5ed1171fd934331e5516b84a7f0218031b6fa0270eca1e51a + languageName: node + linkType: hard + "mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" @@ -4113,6 +5752,13 @@ __metadata: languageName: node linkType: hard +"mimic-response@npm:^3.1.0": + version: 3.1.0 + resolution: "mimic-response@npm:3.1.0" + checksum: 10/7e719047612411fe071332a7498cf0448bbe43c485c0d780046c76633a771b223ff49bd00267be122cedebb897037fdb527df72335d0d0f74724604ca70b37ad + languageName: node + linkType: hard + "minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -4140,6 +5786,13 @@ __metadata: languageName: node linkType: hard +"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6": + version: 1.2.8 + resolution: "minimist@npm:1.2.8" + checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f + languageName: node + linkType: hard + "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -4149,6 +5802,21 @@ __metadata: languageName: node linkType: hard +"minipass-fetch@npm:^1.3.2": + version: 1.4.1 + resolution: "minipass-fetch@npm:1.4.1" + dependencies: + encoding: "npm:^0.1.12" + minipass: "npm:^3.1.0" + minipass-sized: "npm:^1.0.3" + minizlib: "npm:^2.0.0" + dependenciesMeta: + encoding: + optional: true + checksum: 10/4c6f678d2c976c275ba35735aa18e341401d1fb94bbf38a36bb2c2d01835ac699f15b7ab1adaf4ee40a751361527d312a18853feaf9c0121f4904f811656575a + languageName: node + linkType: hard + "minipass-fetch@npm:^2.0.3": version: 2.1.2 resolution: "minipass-fetch@npm:2.1.2" @@ -4173,7 +5841,7 @@ __metadata: languageName: node linkType: hard -"minipass-pipeline@npm:^1.2.4": +"minipass-pipeline@npm:^1.2.2, minipass-pipeline@npm:^1.2.4": version: 1.2.4 resolution: "minipass-pipeline@npm:1.2.4" dependencies: @@ -4191,7 +5859,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^3.0.0, minipass@npm:^3.1.1, minipass@npm:^3.1.6": +"minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3, minipass@npm:^3.1.6": version: 3.3.6 resolution: "minipass@npm:3.3.6" dependencies: @@ -4207,7 +5875,14 @@ __metadata: languageName: node linkType: hard -"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: 10/c25f0ee8196d8e6036661104bacd743785b2599a21de5c516b32b3fa2b83113ac89a2358465bc04956baab37ffb956ae43be679b2262bf7be15fce467ccd7950 + languageName: node + linkType: hard + +"minizlib@npm:^2.0.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" dependencies: @@ -4217,6 +5892,13 @@ __metadata: languageName: node linkType: hard +"mkdirp-classic@npm:^0.5.2, mkdirp-classic@npm:^0.5.3": + version: 0.5.3 + resolution: "mkdirp-classic@npm:0.5.3" + checksum: 10/3f4e088208270bbcc148d53b73e9a5bd9eef05ad2cbf3b3d0ff8795278d50dd1d11a8ef1875ff5aea3fa888931f95bfcb2ad5b7c1061cfefd6284d199e6776ac + languageName: node + linkType: hard + "mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" @@ -4226,6 +5908,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^2.1.3": + version: 2.1.6 + resolution: "mkdirp@npm:2.1.6" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10/4672fadb94dca8d2eafeb6fff53f2c5ea74e885565ef23251791709064f216105167c2387088c61ef068901bd0776648999785e341d74728164fa551b1c65996 + languageName: node + linkType: hard + "mock-socket@npm:^9.3.1": version: 9.3.1 resolution: "mock-socket@npm:9.3.1" @@ -4240,6 +5931,33 @@ __metadata: languageName: node linkType: hard +"mz@npm:^2.4.0": + version: 2.7.0 + resolution: "mz@npm:2.7.0" + dependencies: + any-promise: "npm:^1.0.0" + object-assign: "npm:^4.0.1" + thenify-all: "npm:^1.0.0" + checksum: 10/8427de0ece99a07e9faed3c0c6778820d7543e3776f9a84d22cf0ec0a8eb65f6e9aee9c9d353ff9a105ff62d33a9463c6ca638974cc652ee8140cd1e35951c87 + languageName: node + linkType: hard + +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" + bin: + nanoid: bin/nanoid.cjs + checksum: 10/ac1eb60f615b272bccb0e2b9cd933720dad30bf9708424f691b8113826bb91aca7e9d14ef5d9415a6ba15c266b37817256f58d8ce980c82b0ba3185352565679 + languageName: node + linkType: hard + +"napi-build-utils@npm:^1.0.1": + version: 1.0.2 + resolution: "napi-build-utils@npm:1.0.2" + checksum: 10/276feb8e30189fe18718e85b6f82e4f952822baa2e7696f771cc42571a235b789dc5907a14d9ffb6838c3e4ff4c25717c2575e5ce1cf6e02e496e204c11e57f6 + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -4247,6 +5965,13 @@ __metadata: languageName: node linkType: hard +"negotiator@npm:^0.6.2": + version: 0.6.4 + resolution: "negotiator@npm:0.6.4" + checksum: 10/d98c04a136583afd055746168f1067d58ce4bfe6e4c73ca1d339567f81ea1f7e665b5bd1e81f4771c67b6c2ea89b21cb2adaea2b16058c7dc31317778f931dab + languageName: node + linkType: hard + "negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" @@ -4265,6 +5990,24 @@ __metadata: languageName: node linkType: hard +"node-abi@npm:^3.3.0": + version: 3.71.0 + resolution: "node-abi@npm:3.71.0" + dependencies: + semver: "npm:^7.3.5" + checksum: 10/0a1cef5106c43d67f9f8a911b0c9d5ee08971eda002ba466606c8e6164964456f5211f37966717efc3d5d49bae32f0cf9290254b1286bf71f0ba158a4f8a9846 + languageName: node + linkType: hard + +"node-addon-api@npm:^7.0.0": + version: 7.1.1 + resolution: "node-addon-api@npm:7.1.1" + dependencies: + node-gyp: "npm:latest" + checksum: 10/ee1e1ed6284a2f8cd1d59ac6175ecbabf8978dcf570345e9a8095a9d0a2b9ced591074ae77f9009287b00c402352b38aa9322a34f2199cdc9f567b842a636b94 + languageName: node + linkType: hard + "node-domexception@npm:^1.0.0": version: 1.0.0 resolution: "node-domexception@npm:1.0.0" @@ -4283,6 +6026,26 @@ __metadata: languageName: node linkType: hard +"node-gyp@npm:8.x": + version: 8.4.1 + resolution: "node-gyp@npm:8.4.1" + dependencies: + env-paths: "npm:^2.2.0" + glob: "npm:^7.1.4" + graceful-fs: "npm:^4.2.6" + make-fetch-happen: "npm:^9.1.0" + nopt: "npm:^5.0.0" + npmlog: "npm:^6.0.0" + rimraf: "npm:^3.0.2" + semver: "npm:^7.3.5" + tar: "npm:^6.1.2" + which: "npm:^2.0.2" + bin: + node-gyp: bin/node-gyp.js + checksum: 10/5ac19a7f6212c787f33bb72f889fafb1ce9d80b7ecb87b3785aebb0ff94a70cd5dbb3ecb435a308eaeb26d037c6edaf173951a9edacaadf0f4c3ae189f1e5077 + languageName: node + linkType: hard + "node-gyp@npm:latest": version: 9.3.1 resolution: "node-gyp@npm:9.3.1" @@ -4317,6 +6080,17 @@ __metadata: languageName: node linkType: hard +"nopt@npm:^5.0.0": + version: 5.0.0 + resolution: "nopt@npm:5.0.0" + dependencies: + abbrev: "npm:1" + bin: + nopt: bin/nopt.js + checksum: 10/00f9bb2d16449469ba8ffcf9b8f0eae6bae285ec74b135fec533e5883563d2400c0cd70902d0a7759e47ac031ccf206ace4e86556da08ed3f1c66dda206e9ccd + languageName: node + linkType: hard + "nopt@npm:^6.0.0": version: 6.0.0 resolution: "nopt@npm:6.0.0" @@ -4356,7 +6130,28 @@ __metadata: languageName: node linkType: hard -"once@npm:^1.3.0": +"object-assign@npm:^4.0.1": + version: 4.1.1 + resolution: "object-assign@npm:4.1.1" + checksum: 10/fcc6e4ea8c7fe48abfbb552578b1c53e0d194086e2e6bbbf59e0a536381a292f39943c6e9628af05b5528aa5e3318bb30d6b2e53cadaf5b8fe9e12c4b69af23f + languageName: node + linkType: hard + +"object-keys@npm:^1.1.1": + version: 1.1.1 + resolution: "object-keys@npm:1.1.1" + checksum: 10/3d81d02674115973df0b7117628ea4110d56042e5326413e4b4313f0bcdf7dd78d4a3acef2c831463fa3796a66762c49daef306f4a0ea1af44877d7086d73bde + languageName: node + linkType: hard + +"on-exit-leak-free@npm:^2.1.0": + version: 2.1.2 + resolution: "on-exit-leak-free@npm:2.1.2" + checksum: 10/f7b4b7200026a08f6e4a17ba6d72e6c5cbb41789ed9cf7deaf9d9e322872c7dc5a7898549a894651ee0ee9ae635d34a678115bf8acdfba8ebd2ba2af688b563c + languageName: node + linkType: hard + +"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -4374,6 +6169,15 @@ __metadata: languageName: node linkType: hard +"oniguruma-to-js@npm:0.4.3": + version: 0.4.3 + resolution: "oniguruma-to-js@npm:0.4.3" + dependencies: + regex: "npm:^4.3.2" + checksum: 10/af64a77f4e428c2652387014596138c51bd61d67b0bbe957cd10ff73b4ec14567701ff9286342ab804cfa00486a9a0ff189da8391721c21c898ea8e26b62e74f + languageName: node + linkType: hard + "optionator@npm:^0.9.3": version: 0.9.3 resolution: "optionator@npm:0.9.3" @@ -4440,6 +6244,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.1 + resolution: "package-json-from-dist@npm:1.0.1" + checksum: 10/58ee9538f2f762988433da00e26acc788036914d57c71c246bf0be1b60cdbd77dd60b6a3e1a30465f0b248aeb80079e0b34cb6050b1dfa18c06953bb1cbc7602 + languageName: node + linkType: hard + "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -4461,6 +6272,29 @@ __metadata: languageName: node linkType: hard +"parse5-htmlparser2-tree-adapter@npm:^6.0.0": + version: 6.0.1 + resolution: "parse5-htmlparser2-tree-adapter@npm:6.0.1" + dependencies: + parse5: "npm:^6.0.1" + checksum: 10/3400a2cd1ad450b2fe148544154f86ea53d3ed6b6eab56c78bb43b9629d3dfe9f580dffd75bbf32be134ffef645b68081fc764bf75c210f236ab9c5c8c38c252 + languageName: node + linkType: hard + +"parse5@npm:^5.1.1": + version: 5.1.1 + resolution: "parse5@npm:5.1.1" + checksum: 10/5b509744cfe81488a33be05578df490c460690e64519fa67f0a0acb9c1bca05914e8acad17a977e2cf5964a000e43959b40024f0c243dd6595dd0cca8a32f71b + languageName: node + linkType: hard + +"parse5@npm:^6.0.1": + version: 6.0.1 + resolution: "parse5@npm:6.0.1" + checksum: 10/dfb110581f62bd1425725a7c784ae022a24669bd0efc24b58c71fc731c4d868193e2ebd85b74cde2dbb965e4dcf07059b1e651adbec1b3b5267531bd132fdb75 + languageName: node + linkType: hard + "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -4489,6 +6323,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.11.1": + version: 1.11.1 + resolution: "path-scurry@npm:1.11.1" + dependencies: + lru-cache: "npm:^10.2.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 10/5e8845c159261adda6f09814d7725683257fcc85a18f329880ab4d7cc1d12830967eae5d5894e453f341710d5484b8fdbbd4d75181b4d6e1eb2f4dc7aeadc434 + languageName: node + linkType: hard + "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -4496,6 +6340,20 @@ __metadata: languageName: node linkType: hard +"pathe@npm:^1.1.2": + version: 1.1.2 + resolution: "pathe@npm:1.1.2" + checksum: 10/f201d796351bf7433d147b92c20eb154a4e0ea83512017bf4ec4e492a5d6e738fb45798be4259a61aa81270179fce11026f6ff0d3fa04173041de044defe9d80 + languageName: node + linkType: hard + +"pathval@npm:^2.0.0": + version: 2.0.0 + resolution: "pathval@npm:2.0.0" + checksum: 10/b91575bf9cdf01757afd7b5e521eb8a0b874a49bc972d08e0047cfea0cd3c019f5614521d4bc83d2855e3fcc331db6817dfd533dd8f3d90b16bc76fad2450fc1 + languageName: node + linkType: hard + "picocolors@npm:^1.0.0": version: 1.0.0 resolution: "picocolors@npm:1.0.0" @@ -4503,6 +6361,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.1.1": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: 10/e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -4510,6 +6375,67 @@ __metadata: languageName: node linkType: hard +"pino-abstract-transport@npm:^2.0.0": + version: 2.0.0 + resolution: "pino-abstract-transport@npm:2.0.0" + dependencies: + split2: "npm:^4.0.0" + checksum: 10/e5699ecb06c7121055978e988e5cecea5b6892fc2589c64f1f86df5e7386bbbfd2ada268839e911b021c6b3123428aed7c6be3ac7940eee139556c75324c7e83 + languageName: node + linkType: hard + +"pino-pretty@npm:^11.3.0": + version: 11.3.0 + resolution: "pino-pretty@npm:11.3.0" + dependencies: + colorette: "npm:^2.0.7" + dateformat: "npm:^4.6.3" + fast-copy: "npm:^3.0.2" + fast-safe-stringify: "npm:^2.1.1" + help-me: "npm:^5.0.0" + joycon: "npm:^3.1.1" + minimist: "npm:^1.2.6" + on-exit-leak-free: "npm:^2.1.0" + pino-abstract-transport: "npm:^2.0.0" + pump: "npm:^3.0.0" + readable-stream: "npm:^4.0.0" + secure-json-parse: "npm:^2.4.0" + sonic-boom: "npm:^4.0.1" + strip-json-comments: "npm:^3.1.1" + bin: + pino-pretty: bin.js + checksum: 10/8494a07dc7428806648beffd0d6809a4cd25fb6ef48c567597d6534e7868a5eec477601c7aea65c7e7dd329ffa62182fe266fbc3e3726e39b9a49e2133f416cb + languageName: node + linkType: hard + +"pino-std-serializers@npm:^7.0.0": + version: 7.0.0 + resolution: "pino-std-serializers@npm:7.0.0" + checksum: 10/884e08f65aa5463d820521ead3779d4472c78fc434d8582afb66f9dcb8d8c7119c69524b68106cb8caf92c0487be7794cf50e5b9c0383ae65b24bf2a03480951 + languageName: node + linkType: hard + +"pino@npm:^9.5.0": + version: 9.5.0 + resolution: "pino@npm:9.5.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + fast-redact: "npm:^3.1.1" + on-exit-leak-free: "npm:^2.1.0" + pino-abstract-transport: "npm:^2.0.0" + pino-std-serializers: "npm:^7.0.0" + process-warning: "npm:^4.0.0" + quick-format-unescaped: "npm:^4.0.3" + real-require: "npm:^0.2.0" + safe-stable-stringify: "npm:^2.3.1" + sonic-boom: "npm:^4.0.1" + thread-stream: "npm:^3.0.0" + bin: + pino: bin.js + checksum: 10/e2dba79524be133e2a0800ad0424bbf2c4c94c46f028a81e514d40951666f3dcec76c582fd5ce6f6155df0f5a9d6d0257924fdf043fe285236d36c76509a59dd + languageName: node + linkType: hard + "pirates@npm:^4.0.4": version: 4.0.5 resolution: "pirates@npm:4.0.5" @@ -4526,6 +6452,39 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.43": + version: 8.4.48 + resolution: "postcss@npm:8.4.48" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.1.1" + source-map-js: "npm:^1.2.1" + checksum: 10/94d7b2255752607d120fb7de7b2a7f895ba1594a0e1b566cb01972ca4a7b04a65ed2a1783109f86bb28cfb421c5a58c54b9330942bedaa2fd35c5c605fa6beb8 + languageName: node + linkType: hard + +"prebuild-install@npm:^7.1.1": + version: 7.1.2 + resolution: "prebuild-install@npm:7.1.2" + dependencies: + detect-libc: "npm:^2.0.0" + expand-template: "npm:^2.0.3" + github-from-package: "npm:0.0.0" + minimist: "npm:^1.2.3" + mkdirp-classic: "npm:^0.5.3" + napi-build-utils: "npm:^1.0.1" + node-abi: "npm:^3.3.0" + pump: "npm:^3.0.0" + rc: "npm:^1.2.7" + simple-get: "npm:^4.0.0" + tar-fs: "npm:^2.0.0" + tunnel-agent: "npm:^0.6.0" + bin: + prebuild-install: bin.js + checksum: 10/32d5c026cc978dd02762b9ad3c765178aee8383aeac4303fed3cd226eff53100db038d4791b03ae1ebc7d213a7af392d26e32095579cedb8dba1d00ad08ecd46 + languageName: node + linkType: hard + "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -4562,6 +6521,20 @@ __metadata: languageName: node linkType: hard +"process-warning@npm:^4.0.0": + version: 4.0.0 + resolution: "process-warning@npm:4.0.0" + checksum: 10/0d6ec069f3a6fe1d3379c0247329a297f1f3b9ea7e1d828db0a8f61e0e8337a98b7eb201547350924bc4a101ddcf2fa5cf5563ffe2c54c27651f7996d328483e + languageName: node + linkType: hard + +"process@npm:^0.11.10": + version: 0.11.10 + resolution: "process@npm:0.11.10" + checksum: 10/dbaa7e8d1d5cf375c36963ff43116772a989ef2bb47c9bdee20f38fd8fc061119cf38140631cf90c781aca4d3f0f0d2c834711952b728953f04fd7d238f59f5b + languageName: node + linkType: hard + "promise-inflight@npm:^1.0.1": version: 1.0.1 resolution: "promise-inflight@npm:1.0.1" @@ -4596,6 +6569,37 @@ __metadata: languageName: node linkType: hard +"property-information@npm:^6.0.0": + version: 6.5.0 + resolution: "property-information@npm:6.5.0" + checksum: 10/fced94f3a09bf651ad1824d1bdc8980428e3e480e6d01e98df6babe2cc9d45a1c52eee9a7736d2006958f9b394eb5964dedd37e23038086ddc143fc2fd5e426c + languageName: node + linkType: hard + +"proto-list@npm:~1.2.1": + version: 1.2.4 + resolution: "proto-list@npm:1.2.4" + checksum: 10/9cc3b46d613fa0d637033b225db1bc98e914c3c05864f7adc9bee728192e353125ef2e49f71129a413f6333951756000b0e54f299d921f02d3e9e370cc994100 + languageName: node + linkType: hard + +"proxy-from-env@npm:^1.1.0": + version: 1.1.0 + resolution: "proxy-from-env@npm:1.1.0" + checksum: 10/f0bb4a87cfd18f77bc2fba23ae49c3b378fb35143af16cc478171c623eebe181678f09439707ad80081d340d1593cd54a33a0113f3ccb3f4bc9451488780ee23 + languageName: node + linkType: hard + +"pump@npm:^3.0.0": + version: 3.0.2 + resolution: "pump@npm:3.0.2" + dependencies: + end-of-stream: "npm:^1.1.0" + once: "npm:^1.3.1" + checksum: 10/e0c4216874b96bd25ddf31a0b61a5613e26cc7afa32379217cf39d3915b0509def3565f5f6968fafdad2894c8bbdbd67d340e84f3634b2a29b950cffb6442d9f + languageName: node + linkType: hard + "punycode.js@npm:^2.3.1": version: 2.3.1 resolution: "punycode.js@npm:2.3.1" @@ -4624,6 +6628,27 @@ __metadata: languageName: node linkType: hard +"quick-format-unescaped@npm:^4.0.3": + version: 4.0.4 + resolution: "quick-format-unescaped@npm:4.0.4" + checksum: 10/591eca457509a99368b623db05248c1193aa3cedafc9a077d7acab09495db1231017ba3ad1b5386e5633271edd0a03b312d8640a59ee585b8516a42e15438aa7 + languageName: node + linkType: hard + +"rc@npm:^1.2.7": + version: 1.2.8 + resolution: "rc@npm:1.2.8" + dependencies: + deep-extend: "npm:^0.6.0" + ini: "npm:~1.3.0" + minimist: "npm:^1.2.0" + strip-json-comments: "npm:~2.0.1" + bin: + rc: ./cli.js + checksum: 10/5c4d72ae7eec44357171585938c85ce066da8ca79146b5635baf3d55d74584c92575fa4e2c9eac03efbed3b46a0b2e7c30634c012b4b4fa40d654353d3c163eb + languageName: node + linkType: hard + "react-is@npm:^18.0.0": version: 18.2.0 resolution: "react-is@npm:18.2.0" @@ -4631,6 +6656,17 @@ __metadata: languageName: node linkType: hard +"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0": + version: 3.6.2 + resolution: "readable-stream@npm:3.6.2" + dependencies: + inherits: "npm:^2.0.3" + string_decoder: "npm:^1.1.1" + util-deprecate: "npm:^1.0.1" + checksum: 10/d9e3e53193adcdb79d8f10f2a1f6989bd4389f5936c6f8b870e77570853561c362bee69feca2bbb7b32368ce96a85504aa4cedf7cf80f36e6a9de30d64244048 + languageName: node + linkType: hard + "readable-stream@npm:^3.6.0": version: 3.6.0 resolution: "readable-stream@npm:3.6.0" @@ -4642,6 +6678,40 @@ __metadata: languageName: node linkType: hard +"readable-stream@npm:^4.0.0": + version: 4.5.2 + resolution: "readable-stream@npm:4.5.2" + dependencies: + abort-controller: "npm:^3.0.0" + buffer: "npm:^6.0.3" + events: "npm:^3.3.0" + process: "npm:^0.11.10" + string_decoder: "npm:^1.3.0" + checksum: 10/01b128a559c5fd76a898495f858cf0a8839f135e6a69e3409f986e88460134791657eb46a2ff16826f331682a3c4d0c5a75cef5e52ef259711021ba52b1c2e82 + languageName: node + linkType: hard + +"real-require@npm:^0.2.0": + version: 0.2.0 + resolution: "real-require@npm:0.2.0" + checksum: 10/ddf44ee76301c774e9c9f2826da8a3c5c9f8fc87310f4a364e803ef003aa1a43c378b4323051ced212097fff1af459070f4499338b36a7469df1d4f7e8c0ba4c + languageName: node + linkType: hard + +"reflect-metadata@npm:^0.2.1": + version: 0.2.2 + resolution: "reflect-metadata@npm:0.2.2" + checksum: 10/1c93f9ac790fea1c852fde80c91b2760420069f4862f28e6fae0c00c6937a56508716b0ed2419ab02869dd488d123c4ab92d062ae84e8739ea7417fae10c4745 + languageName: node + linkType: hard + +"regex@npm:^4.3.2": + version: 4.3.3 + resolution: "regex@npm:4.3.3" + checksum: 10/e18a7069b77173d0f36981386b70eabbd7a9ebd988ac99f5e41fe5a8b2786871c9e50b99135590f6d5ab6b459079e7a1b6c917583f78eb0cc5b909bd5e45ff22 + languageName: node + linkType: hard + "require-directory@npm:^2.1.1": version: 2.1.1 resolution: "require-directory@npm:2.1.1" @@ -4730,8 +6800,91 @@ __metadata: languageName: node linkType: hard -"run-parallel@npm:^1.1.9": - version: 1.2.0 +"roarr@npm:^2.15.3": + version: 2.15.4 + resolution: "roarr@npm:2.15.4" + dependencies: + boolean: "npm:^3.0.1" + detect-node: "npm:^2.0.4" + globalthis: "npm:^1.0.1" + json-stringify-safe: "npm:^5.0.1" + semver-compare: "npm:^1.0.0" + sprintf-js: "npm:^1.1.2" + checksum: 10/baaa5ad91468bf1b7f0263c4132a40865c8638a3d0916b44dd0d42980a77fb53085a3792e3edf16fc4eea9e31c719793c88bd45b1623b760763c4dc59df97619 + languageName: node + linkType: hard + +"rollup@npm:^4.20.0": + version: 4.25.0 + resolution: "rollup@npm:4.25.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.25.0" + "@rollup/rollup-android-arm64": "npm:4.25.0" + "@rollup/rollup-darwin-arm64": "npm:4.25.0" + "@rollup/rollup-darwin-x64": "npm:4.25.0" + "@rollup/rollup-freebsd-arm64": "npm:4.25.0" + "@rollup/rollup-freebsd-x64": "npm:4.25.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.25.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.25.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.25.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.25.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.25.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.25.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.25.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.25.0" + "@rollup/rollup-linux-x64-musl": "npm:4.25.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.25.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.25.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.25.0" + "@types/estree": "npm:1.0.6" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 10/747347035ea728a4905f4beb2e6c8eafd8f39c9015a3514bf8893bddebb5de71fcb4d5bb98064d3402d5915539135c0d1f41e66086e601de0a4e62839cbddf3c + languageName: node + linkType: hard + +"run-parallel@npm:^1.1.9": + version: 1.2.0 resolution: "run-parallel@npm:1.2.0" dependencies: queue-microtask: "npm:^1.2.2" @@ -4748,13 +6901,20 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:~5.2.0": +"safe-buffer@npm:^5.0.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: 10/32872cd0ff68a3ddade7a7617b8f4c2ae8764d8b7d884c651b74457967a9e0e886267d3ecc781220629c44a865167b61c375d2da6c720c840ecd73f45d5d9451 languageName: node linkType: hard +"safe-stable-stringify@npm:^2.3.1": + version: 2.5.0 + resolution: "safe-stable-stringify@npm:2.5.0" + checksum: 10/2697fa186c17c38c3ca5309637b4ac6de2f1c3d282da27cd5e1e3c88eca0fb1f9aea568a6aabdf284111592c8782b94ee07176f17126031be72ab1313ed46c5c + languageName: node + linkType: hard + "safer-buffer@npm:>= 2.1.2 < 3.0.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -4769,6 +6929,20 @@ __metadata: languageName: node linkType: hard +"secure-json-parse@npm:^2.4.0": + version: 2.7.0 + resolution: "secure-json-parse@npm:2.7.0" + checksum: 10/974386587060b6fc5b1ac06481b2f9dbbb0d63c860cc73dc7533f27835fdb67b0ef08762dbfef25625c15bc0a0c366899e00076cb0d556af06b71e22f1dede4c + languageName: node + linkType: hard + +"semver-compare@npm:^1.0.0": + version: 1.0.0 + resolution: "semver-compare@npm:1.0.0" + checksum: 10/75f9c7a7786d1756f64b1429017746721e07bd7691bdad6368f7643885d3a98a27586777e9699456564f4844b407e9f186cc1d588a3f9c0be71310e517e942c3 + languageName: node + linkType: hard + "semver@npm:^6.0.0, semver@npm:^6.3.0": version: 6.3.1 resolution: "semver@npm:6.3.1" @@ -4778,7 +6952,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3": +"semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3": version: 7.6.3 resolution: "semver@npm:7.6.3" bin: @@ -4787,6 +6961,15 @@ __metadata: languageName: node linkType: hard +"serialize-error@npm:^7.0.1": + version: 7.0.1 + resolution: "serialize-error@npm:7.0.1" + dependencies: + type-fest: "npm:^0.13.1" + checksum: 10/e0aba4dca2fc9fe74ae1baf38dbd99190e1945445a241ba646290f2176cdb2032281a76443b02ccf0caf30da5657d510746506368889a593b9835a497fc0732e + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -4794,6 +6977,18 @@ __metadata: languageName: node linkType: hard +"sha.js@npm:^2.4.11": + version: 2.4.11 + resolution: "sha.js@npm:2.4.11" + dependencies: + inherits: "npm:^2.0.1" + safe-buffer: "npm:^5.0.1" + bin: + sha.js: ./bin.js + checksum: 10/d833bfa3e0a67579a6ce6e1bc95571f05246e0a441dd8c76e3057972f2a3e098465687a4369b07e83a0375a88703577f71b5b2e966809e67ebc340dbedb478c7 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -4810,6 +7005,27 @@ __metadata: languageName: node linkType: hard +"shiki@npm:^1.16.2": + version: 1.22.0 + resolution: "shiki@npm:1.22.0" + dependencies: + "@shikijs/core": "npm:1.22.0" + "@shikijs/engine-javascript": "npm:1.22.0" + "@shikijs/engine-oniguruma": "npm:1.22.0" + "@shikijs/types": "npm:1.22.0" + "@shikijs/vscode-textmate": "npm:^9.3.0" + "@types/hast": "npm:^3.0.4" + checksum: 10/025b19f78133764410822d1abe89b8f902f63698acb5e3ba2126f0395a629ed5527b7dfba84e6b12c1fbaa1fcfe9556345a3519faa1219fdf013fa23eae4aedc + languageName: node + linkType: hard + +"siginfo@npm:^2.0.0": + version: 2.0.0 + resolution: "siginfo@npm:2.0.0" + checksum: 10/e93ff66c6531a079af8fb217240df01f980155b5dc408d2d7bebc398dd284e383eb318153bf8acd4db3c4fe799aa5b9a641e38b0ba3b1975700b1c89547ea4e7 + languageName: node + linkType: hard + "signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" @@ -4817,6 +7033,31 @@ __metadata: languageName: node linkType: hard +"signal-exit@npm:^4.0.1": + version: 4.1.0 + resolution: "signal-exit@npm:4.1.0" + checksum: 10/c9fa63bbbd7431066174a48ba2dd9986dfd930c3a8b59de9c29d7b6854ec1c12a80d15310869ea5166d413b99f041bfa3dd80a7947bcd44ea8e6eb3ffeabfa1f + languageName: node + linkType: hard + +"simple-concat@npm:^1.0.0": + version: 1.0.1 + resolution: "simple-concat@npm:1.0.1" + checksum: 10/4d211042cc3d73a718c21ac6c4e7d7a0363e184be6a5ad25c8a1502e49df6d0a0253979e3d50dbdd3f60ef6c6c58d756b5d66ac1e05cda9cacd2e9fc59e3876a + languageName: node + linkType: hard + +"simple-get@npm:^4.0.0": + version: 4.0.1 + resolution: "simple-get@npm:4.0.1" + dependencies: + decompress-response: "npm:^6.0.0" + once: "npm:^1.3.1" + simple-concat: "npm:^1.0.0" + checksum: 10/93f1b32319782f78f2f2234e9ce34891b7ab6b990d19d8afefaa44423f5235ce2676aae42d6743fecac6c8dfff4b808d4c24fe5265be813d04769917a9a44f36 + languageName: node + linkType: hard + "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -4847,6 +7088,17 @@ __metadata: languageName: node linkType: hard +"socks-proxy-agent@npm:^6.0.0": + version: 6.2.1 + resolution: "socks-proxy-agent@npm:6.2.1" + dependencies: + agent-base: "npm:^6.0.2" + debug: "npm:^4.3.3" + socks: "npm:^2.6.2" + checksum: 10/554749ba3bdba0742ec36493a907261c116dd0dafcd618ea5babdfc90ce5a5ae648d4ee4d2e26e7184afd854973d282372ce0af63e1fc6412bb9fa1a2b1f2d45 + languageName: node + linkType: hard + "socks-proxy-agent@npm:^7.0.0": version: 7.0.0 resolution: "socks-proxy-agent@npm:7.0.0" @@ -4868,6 +7120,22 @@ __metadata: languageName: node linkType: hard +"sonic-boom@npm:^4.0.1": + version: 4.2.0 + resolution: "sonic-boom@npm:4.2.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + checksum: 10/385ef7fb5ea5976c1d2a1fef0b6df8df6b7caba8696d2d67f689d60c05e3ea2d536752ce7e1c69b9fad844635f1036d07c446f8e8149f5c6a80e0040a455b310 + languageName: node + linkType: hard + +"source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 + languageName: node + linkType: hard + "source-map-support@npm:0.5.13": version: 0.5.13 resolution: "source-map-support@npm:0.5.13" @@ -4885,6 +7153,27 @@ __metadata: languageName: node linkType: hard +"space-separated-tokens@npm:^2.0.0": + version: 2.0.2 + resolution: "space-separated-tokens@npm:2.0.2" + checksum: 10/202e97d7ca1ba0758a0aa4fe226ff98142073bcceeff2da3aad037968878552c3bbce3b3231970025375bbba5aee00c5b8206eda408da837ab2dc9c0f26be990 + languageName: node + linkType: hard + +"split2@npm:^4.0.0": + version: 4.2.0 + resolution: "split2@npm:4.2.0" + checksum: 10/09bbefc11bcf03f044584c9764cd31a252d8e52cea29130950b26161287c11f519807c5e54bd9e5804c713b79c02cefe6a98f4688630993386be353e03f534ab + languageName: node + linkType: hard + +"sprintf-js@npm:^1.1.2": + version: 1.1.3 + resolution: "sprintf-js@npm:1.1.3" + checksum: 10/e7587128c423f7e43cc625fe2f87e6affdf5ca51c1cc468e910d8aaca46bb44a7fbcfa552f787b1d3987f7043aeb4527d1b99559e6621e01b42b3f45e5a24cbb + languageName: node + linkType: hard + "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -4892,6 +7181,36 @@ __metadata: languageName: node linkType: hard +"sqlite3@npm:^5.1.7": + version: 5.1.7 + resolution: "sqlite3@npm:5.1.7" + dependencies: + bindings: "npm:^1.5.0" + node-addon-api: "npm:^7.0.0" + node-gyp: "npm:8.x" + prebuild-install: "npm:^7.1.1" + tar: "npm:^6.1.11" + peerDependencies: + node-gyp: 8.x + dependenciesMeta: + node-gyp: + optional: true + peerDependenciesMeta: + node-gyp: + optional: true + checksum: 10/84b1183d39791b00bc9d9aa6f0d74738084c9447e7cff7cf3cc2fa7458474159e1272eed675cd3a5c6c5100e97557578dbf0e77082f1043ab6356e6446314e32 + languageName: node + linkType: hard + +"ssri@npm:^8.0.0, ssri@npm:^8.0.1": + version: 8.0.1 + resolution: "ssri@npm:8.0.1" + dependencies: + minipass: "npm:^3.1.1" + checksum: 10/fde247b7107674d9a424a20f9c1a6e3ad88a139c2636b9d9ffa7df59e85e11a894cdae48fadd0ad6be41eb0d5b847fe094736513d333615c7eebc3d111abe0d2 + languageName: node + linkType: hard + "ssri@npm:^9.0.0": version: 9.0.1 resolution: "ssri@npm:9.0.1" @@ -4910,6 +7229,20 @@ __metadata: languageName: node linkType: hard +"stackback@npm:0.0.2": + version: 0.0.2 + resolution: "stackback@npm:0.0.2" + checksum: 10/2d4dc4e64e2db796de4a3c856d5943daccdfa3dd092e452a1ce059c81e9a9c29e0b9badba91b43ef0d5ff5c04ee62feb3bcc559a804e16faf447bac2d883aa99 + languageName: node + linkType: hard + +"std-env@npm:^3.8.0": + version: 3.8.0 + resolution: "std-env@npm:3.8.0" + checksum: 10/034176196cfcaaab16dbdd96fc9e925a9544799fb6dc5a3e36fe43270f3a287c7f779d785b89edaf22cef2b5f1dcada2aae67430b8602e785ee74bdb3f671768 + languageName: node + linkType: hard + "string-length@npm:^4.0.1": version: 4.0.2 resolution: "string-length@npm:4.0.2" @@ -4920,7 +7253,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -4931,7 +7264,18 @@ __metadata: languageName: node linkType: hard -"string_decoder@npm:^1.1.1": +"string-width@npm:^5.0.1, string-width@npm:^5.1.2": + version: 5.1.2 + resolution: "string-width@npm:5.1.2" + dependencies: + eastasianwidth: "npm:^0.2.0" + emoji-regex: "npm:^9.2.2" + strip-ansi: "npm:^7.0.1" + checksum: 10/7369deaa29f21dda9a438686154b62c2c5f661f8dda60449088f9f980196f7908fc39fdd1803e3e01541970287cf5deae336798337e9319a7055af89dafa7193 + languageName: node + linkType: hard + +"string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" dependencies: @@ -4940,7 +7284,17 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": +"stringify-entities@npm:^4.0.0": + version: 4.0.4 + resolution: "stringify-entities@npm:4.0.4" + dependencies: + character-entities-html4: "npm:^2.0.0" + character-entities-legacy: "npm:^3.0.0" + checksum: 10/42bd2f37528795a7b4386bd39dc4699515fb0f0b8c418a6bb29ae205ce66eaff9e8801a2bee65b8049c918c9475a71c7e5911f6a88c19f1d84ebdcba3d881a2d + languageName: node + linkType: hard + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" dependencies: @@ -4949,6 +7303,15 @@ __metadata: languageName: node linkType: hard +"strip-ansi@npm:^7.0.1": + version: 7.1.0 + resolution: "strip-ansi@npm:7.1.0" + dependencies: + ansi-regex: "npm:^6.0.1" + checksum: 10/475f53e9c44375d6e72807284024ac5d668ee1d06010740dec0b9744f2ddf47de8d7151f80e5f6190fc8f384e802fdf9504b76a7e9020c9faee7103623338be2 + languageName: node + linkType: hard + "strip-bom@npm:^4.0.0": version: 4.0.0 resolution: "strip-bom@npm:4.0.0" @@ -4970,6 +7333,13 @@ __metadata: languageName: node linkType: hard +"strip-json-comments@npm:~2.0.1": + version: 2.0.1 + resolution: "strip-json-comments@npm:2.0.1" + checksum: 10/1074ccb63270d32ca28edfb0a281c96b94dc679077828135141f27d52a5a398ef5e78bcf22809d23cadc2b81dfbe345eb5fd8699b385c8b1128907dec4a7d1e1 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -5014,7 +7384,32 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.1.11, tar@npm:^6.1.2": +"tar-fs@npm:^2.0.0": + version: 2.1.1 + resolution: "tar-fs@npm:2.1.1" + dependencies: + chownr: "npm:^1.1.1" + mkdirp-classic: "npm:^0.5.2" + pump: "npm:^3.0.0" + tar-stream: "npm:^2.1.4" + checksum: 10/526deae025453e825f87650808969662fbb12eb0461d033e9b447de60ec951c6c4607d0afe7ce057defe9d4e45cf80399dd74bc15f9d9e0773d5e990a78ce4ac + languageName: node + linkType: hard + +"tar-stream@npm:^2.1.4": + version: 2.2.0 + resolution: "tar-stream@npm:2.2.0" + dependencies: + bl: "npm:^4.0.3" + end-of-stream: "npm:^1.4.1" + fs-constants: "npm:^1.0.0" + inherits: "npm:^2.0.3" + readable-stream: "npm:^3.1.1" + checksum: 10/1a52a51d240c118cbcd30f7368ea5e5baef1eac3e6b793fb1a41e6cd7319296c79c0264ccc5859f5294aa80f8f00b9239d519e627b9aade80038de6f966fec6a + languageName: node + linkType: hard + +"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.2.1 resolution: "tar@npm:6.2.1" dependencies: @@ -5046,6 +7441,68 @@ __metadata: languageName: node linkType: hard +"thenify-all@npm:^1.0.0": + version: 1.6.0 + resolution: "thenify-all@npm:1.6.0" + dependencies: + thenify: "npm:>= 3.1.0 < 4" + checksum: 10/dba7cc8a23a154cdcb6acb7f51d61511c37a6b077ec5ab5da6e8b874272015937788402fd271fdfc5f187f8cb0948e38d0a42dcc89d554d731652ab458f5343e + languageName: node + linkType: hard + +"thenify@npm:>= 3.1.0 < 4": + version: 3.3.1 + resolution: "thenify@npm:3.3.1" + dependencies: + any-promise: "npm:^1.0.0" + checksum: 10/486e1283a867440a904e36741ff1a177faa827cf94d69506f7e3ae4187b9afdf9ec368b3d8da225c192bfe2eb943f3f0080594156bf39f21b57cd1411e2e7f6d + languageName: node + linkType: hard + +"thread-stream@npm:^3.0.0": + version: 3.1.0 + resolution: "thread-stream@npm:3.1.0" + dependencies: + real-require: "npm:^0.2.0" + checksum: 10/ea2d816c4f6077a7062fac5414a88e82977f807c82ee330938fb9691fe11883bb03f078551c0518bb649c239e47ba113d44014fcbb5db42c5abd5996f35e4213 + languageName: node + linkType: hard + +"tinybench@npm:^2.9.0": + version: 2.9.0 + resolution: "tinybench@npm:2.9.0" + checksum: 10/cfa1e1418e91289219501703c4693c70708c91ffb7f040fd318d24aef419fb5a43e0c0160df9471499191968b2451d8da7f8087b08c3133c251c40d24aced06c + languageName: node + linkType: hard + +"tinyexec@npm:^0.3.1": + version: 0.3.1 + resolution: "tinyexec@npm:0.3.1" + checksum: 10/0537c70590d52d354f40c0255ff0f654a3d18ddb3812b440ddf9d436edf516c8057838ad5a38744c0c59670ec03e3cf23fbe04ae3d49f031d948274e99002569 + languageName: node + linkType: hard + +"tinypool@npm:^1.0.1": + version: 1.0.2 + resolution: "tinypool@npm:1.0.2" + checksum: 10/6109322f14b3763f65c8fa49fddab72cd3edd96b82dd50e05e63de74867329ff5353bff4377281ec963213d9314f37f4a353e9ee34bbac85fd4c1e4a568d6076 + languageName: node + linkType: hard + +"tinyrainbow@npm:^1.2.0": + version: 1.2.0 + resolution: "tinyrainbow@npm:1.2.0" + checksum: 10/2924444db6804355e5ba2b6e586c7f77329d93abdd7257a069a0f4530dff9f16de484e80479094e3f39273462541b003a65ee3a6afc2d12555aa745132deba5d + languageName: node + linkType: hard + +"tinyspy@npm:^3.0.2": + version: 3.0.2 + resolution: "tinyspy@npm:3.0.2" + checksum: 10/5db671b2ff5cd309de650c8c4761ca945459d7204afb1776db9a04fb4efa28a75f08517a8620c01ee32a577748802231ad92f7d5b194dc003ee7f987a2a06337 + languageName: node + linkType: hard + "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -5062,6 +7519,13 @@ __metadata: languageName: node linkType: hard +"trim-lines@npm:^3.0.0": + version: 3.0.1 + resolution: "trim-lines@npm:3.0.1" + checksum: 10/7a1325e4ce8ff7e9e52007600e9c9862a166d0db1f1cf0c9357e359e410acab1278fcd91cc279dfa5123fc37b69f080de02f471e91dbbc61b155b9ca92597929 + languageName: node + linkType: hard + "ts-api-utils@npm:^1.3.0": version: 1.3.0 resolution: "ts-api-utils@npm:1.3.0" @@ -5115,6 +7579,22 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.5.0": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7 + languageName: node + linkType: hard + +"tunnel-agent@npm:^0.6.0": + version: 0.6.0 + resolution: "tunnel-agent@npm:0.6.0" + dependencies: + safe-buffer: "npm:^5.0.1" + checksum: 10/7f0d9ed5c22404072b2ae8edc45c071772affd2ed14a74f03b4e71b4dd1a14c3714d85aed64abcaaee5fec2efc79002ba81155c708f4df65821b444abb0cfade + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -5131,6 +7611,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^0.13.1": + version: 0.13.1 + resolution: "type-fest@npm:0.13.1" + checksum: 10/11e9476dc85bf97a71f6844fb67ba8e64a4c7e445724c0f3bd37eb2ddf4bc97c1dc9337bd880b28bce158de1c0cb275c2d03259815a5bf64986727197126ab56 + languageName: node + linkType: hard + "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -5165,20 +7652,100 @@ __metadata: languageName: node linkType: hard -"typedoc@npm:^0.27.2": - version: 0.27.4 - resolution: "typedoc@npm:0.27.4" +"typedoc@npm:^0.26.10": + version: 0.26.11 + resolution: "typedoc@npm:0.26.11" dependencies: - "@gerrit0/mini-shiki": "npm:^1.24.0" lunr: "npm:^2.3.9" markdown-it: "npm:^14.1.0" minimatch: "npm:^9.0.5" - yaml: "npm:^2.6.1" + shiki: "npm:^1.16.2" + yaml: "npm:^2.5.1" peerDependencies: - typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x + typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x bin: typedoc: bin/typedoc - checksum: 10/420036e5bdadf0dc2e27d5c347807704cc1d8beb69666149ecd96cbd32b4fa2b5488c73e2d5c47b7712ff4233e63a98903d01f5bd49123cdd75fa09578c0595e + checksum: 10/969833b6ffaf1afc96ade3e2b6e594d2f072cc6e92bbc02e40f73c26e16eae8df01b63ccc4a445e2ef9ea2d3c7901ec7c8af476af526225a4b02ed014cdf88b7 + languageName: node + linkType: hard + +"typeorm@npm:^0.3.20": + version: 0.3.20 + resolution: "typeorm@npm:0.3.20" + dependencies: + "@sqltools/formatter": "npm:^1.2.5" + app-root-path: "npm:^3.1.0" + buffer: "npm:^6.0.3" + chalk: "npm:^4.1.2" + cli-highlight: "npm:^2.1.11" + dayjs: "npm:^1.11.9" + debug: "npm:^4.3.4" + dotenv: "npm:^16.0.3" + glob: "npm:^10.3.10" + mkdirp: "npm:^2.1.3" + reflect-metadata: "npm:^0.2.1" + sha.js: "npm:^2.4.11" + tslib: "npm:^2.5.0" + uuid: "npm:^9.0.0" + yargs: "npm:^17.6.2" + peerDependencies: + "@google-cloud/spanner": ^5.18.0 + "@sap/hana-client": ^2.12.25 + better-sqlite3: ^7.1.2 || ^8.0.0 || ^9.0.0 + hdb-pool: ^0.1.6 + ioredis: ^5.0.4 + mongodb: ^5.8.0 + mssql: ^9.1.1 || ^10.0.1 + mysql2: ^2.2.5 || ^3.0.1 + oracledb: ^6.3.0 + pg: ^8.5.1 + pg-native: ^3.0.0 + pg-query-stream: ^4.0.0 + redis: ^3.1.1 || ^4.0.0 + sql.js: ^1.4.0 + sqlite3: ^5.0.3 + ts-node: ^10.7.0 + typeorm-aurora-data-api-driver: ^2.0.0 + peerDependenciesMeta: + "@google-cloud/spanner": + optional: true + "@sap/hana-client": + optional: true + better-sqlite3: + optional: true + hdb-pool: + optional: true + ioredis: + optional: true + mongodb: + optional: true + mssql: + optional: true + mysql2: + optional: true + oracledb: + optional: true + pg: + optional: true + pg-native: + optional: true + pg-query-stream: + optional: true + redis: + optional: true + sql.js: + optional: true + sqlite3: + optional: true + ts-node: + optional: true + typeorm-aurora-data-api-driver: + optional: true + bin: + typeorm: cli.js + typeorm-ts-node-commonjs: cli-ts-node-commonjs.js + typeorm-ts-node-esm: cli-ts-node-esm.js + checksum: 10/956f64c6df4d0653d4bea7293bc1ddabf5d33df858c1f0f9d7e0f9fd861559c228e5ece7826eb89eb51b9d45757afc37c6b9eccca73e664c0d988c21e4758a69 languageName: node linkType: hard @@ -5209,6 +7776,15 @@ __metadata: languageName: node linkType: hard +"unique-filename@npm:^1.1.1": + version: 1.1.1 + resolution: "unique-filename@npm:1.1.1" + dependencies: + unique-slug: "npm:^2.0.0" + checksum: 10/9b6969d649a2096755f19f793315465c6427453b66d67c2a1bee8f36ca7e1fc40725be2c028e974dec110d365bd30a4248e89b1044dc1dfe29663b6867d071ef + languageName: node + linkType: hard + "unique-filename@npm:^2.0.0": version: 2.0.1 resolution: "unique-filename@npm:2.0.1" @@ -5218,6 +7794,15 @@ __metadata: languageName: node linkType: hard +"unique-slug@npm:^2.0.0": + version: 2.0.2 + resolution: "unique-slug@npm:2.0.2" + dependencies: + imurmurhash: "npm:^0.1.4" + checksum: 10/6cfaf91976acc9c125fd0686c561ee9ca0784bb4b2b408972e6cd30e747b4ff0ca50264c01bcf5e711b463535ea611ffb84199e9f73088cd79ac9ddee8154042 + languageName: node + linkType: hard + "unique-slug@npm:^3.0.0": version: 3.0.0 resolution: "unique-slug@npm:3.0.0" @@ -5227,6 +7812,54 @@ __metadata: languageName: node linkType: hard +"unist-util-is@npm:^6.0.0": + version: 6.0.0 + resolution: "unist-util-is@npm:6.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10/edd6a93fb2255addf4b9eeb304c1da63c62179aef793169dd64ab955cf2f6814885fe25f95f8105893e3562dead348af535718d7a84333826e0491c04bf42511 + languageName: node + linkType: hard + +"unist-util-position@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-position@npm:5.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10/89d4da00e74618d7562ac7ac288961df9bcd4ccca6df3b5a90650f018eceb6b95de6e771e88bdbef46cc9d96861d456abe57b7ad1108921e0feb67c6292aa29d + languageName: node + linkType: hard + +"unist-util-stringify-position@npm:^4.0.0": + version: 4.0.0 + resolution: "unist-util-stringify-position@npm:4.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10/d15c88aca7a31902d95d5b5355bbe09583cf6f6ff6e59e134ef76c76d3c30bc1021f2d7ea5b7897c6d0858ed5f3770c1b19de9c78274f50d72f95a0d05f1af71 + languageName: node + linkType: hard + +"unist-util-visit-parents@npm:^6.0.0": + version: 6.0.1 + resolution: "unist-util-visit-parents@npm:6.0.1" + dependencies: + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + checksum: 10/645b3cbc5e923bc692b1eb1a9ca17bffc5aabc25e6090ff3f1489bff8effd1890b28f7a09dc853cb6a7fa0da8581bfebc9b670a68b53c4c086cb9610dfd37701 + languageName: node + linkType: hard + +"unist-util-visit@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-visit@npm:5.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + unist-util-visit-parents: "npm:^6.0.0" + checksum: 10/f2bbde23641e9ade7640358c06ddeec0f38342322eb8e7819d9ee380b0f859d25d084dde22bf63db0280b3b2f36575f15aa1d6c23acf276c91c2493cf799e3b0 + languageName: node + linkType: hard + "universalify@npm:^2.0.0": version: 2.0.0 resolution: "universalify@npm:2.0.0" @@ -5264,6 +7897,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^9.0.0": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" + bin: + uuid: dist/bin/uuid + checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 + languageName: node + linkType: hard + "v8-to-istanbul@npm:^9.0.1": version: 9.1.0 resolution: "v8-to-istanbul@npm:9.1.0" @@ -5275,6 +7917,134 @@ __metadata: languageName: node linkType: hard +"vfile-message@npm:^4.0.0": + version: 4.0.2 + resolution: "vfile-message@npm:4.0.2" + dependencies: + "@types/unist": "npm:^3.0.0" + unist-util-stringify-position: "npm:^4.0.0" + checksum: 10/1a5a72bf4945a7103750a3001bd979088ce42f6a01efa8590e68b2425e1afc61ddc5c76f2d3c4a7053b40332b24c09982b68743223e99281158fe727135719fc + languageName: node + linkType: hard + +"vfile@npm:^6.0.0": + version: 6.0.3 + resolution: "vfile@npm:6.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/a5a85293c9eb8787aa42e180edaef00c13199a493d6ed82fecf13ab29a68526850788e22434d77808ea6b17a74e03ff899b9b4711df5b9eee75afcddd7c2e1fb + languageName: node + linkType: hard + +"vite-node@npm:2.1.8": + version: 2.1.8 + resolution: "vite-node@npm:2.1.8" + dependencies: + cac: "npm:^6.7.14" + debug: "npm:^4.3.7" + es-module-lexer: "npm:^1.5.4" + pathe: "npm:^1.1.2" + vite: "npm:^5.0.0" + bin: + vite-node: vite-node.mjs + checksum: 10/0ff0ed7a6fb234d3ddc4946e4c1150229980cac9f34fb4bd7f443aab0aae2da5b73ac20ff68af1df476545807dc23189247194e8cea0dcdfa394311c73f04429 + languageName: node + linkType: hard + +"vite@npm:^5.0.0": + version: 5.4.11 + resolution: "vite@npm:5.4.11" + dependencies: + esbuild: "npm:^0.21.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + sass-embedded: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 10/719c4dea896e9547958643354003c8c9ea98e5367196d98f5f46cffb3ec963fead3ea5853f5af941c79bbfb73583dec19bbb0d28d2f644b95d7f59c55e22919d + languageName: node + linkType: hard + +"vitest@npm:^2.1.8": + version: 2.1.8 + resolution: "vitest@npm:2.1.8" + dependencies: + "@vitest/expect": "npm:2.1.8" + "@vitest/mocker": "npm:2.1.8" + "@vitest/pretty-format": "npm:^2.1.8" + "@vitest/runner": "npm:2.1.8" + "@vitest/snapshot": "npm:2.1.8" + "@vitest/spy": "npm:2.1.8" + "@vitest/utils": "npm:2.1.8" + chai: "npm:^5.1.2" + debug: "npm:^4.3.7" + expect-type: "npm:^1.1.0" + magic-string: "npm:^0.30.12" + pathe: "npm:^1.1.2" + std-env: "npm:^3.8.0" + tinybench: "npm:^2.9.0" + tinyexec: "npm:^0.3.1" + tinypool: "npm:^1.0.1" + tinyrainbow: "npm:^1.2.0" + vite: "npm:^5.0.0" + vite-node: "npm:2.1.8" + why-is-node-running: "npm:^2.3.0" + peerDependencies: + "@edge-runtime/vm": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": 2.1.8 + "@vitest/ui": 2.1.8 + happy-dom: "*" + jsdom: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@types/node": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + bin: + vitest: vitest.mjs + checksum: 10/c2552c068f6faac82eb4e6debb9ed505c0e8016fd6e0a0f0e0dbb5b5417922fbcde80c54af0d3b5a5503a5d6ad6862b6e95b9b59b8b7e98bb553217b9c6fc227 + languageName: node + linkType: hard + "walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -5302,6 +8072,18 @@ __metadata: languageName: node linkType: hard +"why-is-node-running@npm:^2.3.0": + version: 2.3.0 + resolution: "why-is-node-running@npm:2.3.0" + dependencies: + siginfo: "npm:^2.0.0" + stackback: "npm:0.0.2" + bin: + why-is-node-running: cli.js + checksum: 10/0de6e6cd8f2f94a8b5ca44e84cf1751eadcac3ebedcdc6e5fbbe6c8011904afcbc1a2777c53496ec02ced7b81f2e7eda61e76bf8262a8bc3ceaa1f6040508051 + languageName: node + linkType: hard + "wide-align@npm:^1.1.5": version: 1.1.5 resolution: "wide-align@npm:1.1.5" @@ -5311,7 +8093,7 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": version: 7.0.0 resolution: "wrap-ansi@npm:7.0.0" dependencies: @@ -5322,6 +8104,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^8.1.0": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" + dependencies: + ansi-styles: "npm:^6.1.0" + string-width: "npm:^5.0.1" + strip-ansi: "npm:^7.0.1" + checksum: 10/7b1e4b35e9bb2312d2ee9ee7dc95b8cb5f8b4b5a89f7dde5543fe66c1e3715663094defa50d75454ac900bd210f702d575f15f3f17fa9ec0291806d2578d1ddf + languageName: node + linkType: hard + "wrappy@npm:1": version: 1.0.2 resolution: "wrappy@npm:1.0.2" @@ -5375,12 +8168,19 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.6.1": - version: 2.6.1 - resolution: "yaml@npm:2.6.1" +"yaml@npm:^2.5.1": + version: 2.6.0 + resolution: "yaml@npm:2.6.0" bin: yaml: bin.mjs - checksum: 10/cf412f03a33886db0a3aac70bb4165588f4c5b3c6f8fc91520b71491e5537800b6c2c73ed52015617f6e191eb4644c73c92973960a1999779c62a200ee4c231d + checksum: 10/f4369f667c7626c216ea81b5840fe9b530cdae4cff2d84d166ec1239e54bf332dbfac4a71bf60d121f8e85e175364a4e280a520292269b6cf9d074368309adf9 + languageName: node + linkType: hard + +"yargs-parser@npm:^20.2.2": + version: 20.2.9 + resolution: "yargs-parser@npm:20.2.9" + checksum: 10/0188f430a0f496551d09df6719a9132a3469e47fe2747208b1dd0ab2bb0c512a95d0b081628bbca5400fb20dbf2fabe63d22badb346cecadffdd948b049f3fcc languageName: node linkType: hard @@ -5391,7 +8191,22 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.3.1, yargs@npm:^17.7.2": +"yargs@npm:^16.0.0": + version: 16.2.0 + resolution: "yargs@npm:16.2.0" + dependencies: + cliui: "npm:^7.0.2" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.0" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^20.2.2" + checksum: 10/807fa21211d2117135d557f95fcd3c3d390530cda2eca0c840f1d95f0f40209dcfeb5ec18c785a1f3425896e623e3b2681e8bb7b6600060eda1c3f4804e7957e + languageName: node + linkType: hard + +"yargs@npm:^17.3.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: @@ -5412,3 +8227,17 @@ __metadata: checksum: 10/f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 languageName: node linkType: hard + +"zod@npm:^3.23.8": + version: 3.23.8 + resolution: "zod@npm:3.23.8" + checksum: 10/846fd73e1af0def79c19d510ea9e4a795544a67d5b34b7e1c4d0425bf6bfd1c719446d94cdfa1721c1987d891321d61f779e8236fde517dc0e524aa851a6eff1 + languageName: node + linkType: hard + +"zwitch@npm:^2.0.4": + version: 2.0.4 + resolution: "zwitch@npm:2.0.4" + checksum: 10/f22ec5fc2d5f02c423c93d35cdfa83573a3a3bd98c66b927c368ea4d0e7252a500df2a90a6b45522be536a96a73404393c958e945fdba95e6832c200791702b6 + languageName: node + linkType: hard diff --git a/zombienet/medium-network.toml b/zombienet/medium-network.toml deleted file mode 100644 index 3f5383ba..00000000 --- a/zombienet/medium-network.toml +++ /dev/null @@ -1,66 +0,0 @@ -[relaychain] -default_command = "./zombienet/bin/polkadot" -default_args = [ "-lparachain=debug" ] -chain = "paseo-local" - - [[relaychain.nodes]] - name = "alice" - validator = true - extra_args = [ "-lparachain=debug" ] - ws_port = 9900 - - [[relaychain.nodes]] - name = "bob" - validator = true - extra_args = [ "-lparachain=debug" ] - - [[relaychain.nodes]] - name = "charlie" - validator = true - extra_args = [ "-lparachain=debug" ] - - [[relaychain.nodes]] - name = "dave" - validator = true - extra_args = [ "-lparachain=debug" ] - -[[parachains]] -id = 1000 -addToGenesis = true -chain = "asset-hub-paseo-local" -cumulus_based = true - - [[parachains.collators]] - name = "asset-hub-paseo-collator01" - command = "./zombienet/bin/polkadot-parachain" - args = ["--log=xcm=trace,pallet-assets=trace"] - ws_port = 9910 - - [[parachains.collators]] - name = "asset-hub-paseo-collator02" - command = "./zombienet/bin/polkadot-parachain" - ws_port = 9911 - args = ["--log=xcm=trace,pallet-assets=trace"] - -[[parachains]] -id = 1836 -add_to_genesis = true -cumulus_based = true -chain = "trappist-local" - - [[parachains.collators]] - name = "trappist-collator01" - command = "./zombienet/bin/trappist-node" - ws_port = 9920 - args = ["--log=xcm=trace,pallet-assets=trace"] - - [[parachains.collators]] - name = "trappist-collator02" - command = "./zombienet/bin/trappist-node" - ws_port = 9921 - args = ["--log=xcm=trace,pallet-assets=trace"] - -[types.Header] -number = "u64" -parent_hash = "Hash" -post_state = "Hash" diff --git a/zombienet/small-network.toml b/zombienet/small-network.toml deleted file mode 100644 index 556abb0e..00000000 --- a/zombienet/small-network.toml +++ /dev/null @@ -1,43 +0,0 @@ -[relaychain] -default_command = "./bin/polkadot" -default_args = [ "-lparachain=debug" ] -chain = "paseo-local" - - [[relaychain.nodes]] - name = "alice" - validator = true - extra_args = [ "-lparachain=debug" ] - ws_port = 9900 - - [[relaychain.nodes]] - name = "bob" - validator = true - extra_args = [ "-lparachain=debug" ] - - [[relaychain.nodes]] - name = "charlie" - validator = true - extra_args = [ "-lparachain=debug" ] - - [[relaychain.nodes]] - name = "dave" - validator = true - extra_args = [ "-lparachain=debug" ] - -[[parachains]] -id = 1000 -addToGenesis = true -chain = "asset-hub-paseo-local" -cumulus_based = true - - [[parachains.collators]] - name = "asset-hub-paseo-collator01" - command = "./bin/polkadot-parachain" - args = ["--log=xcm=trace,pallet-assets=trace"] - ws_port = 9910 - - [[parachains.collators]] - name = "asset-hub-paseo-collator02" - command = "./bin/polkadot-parachain" - ws_port = 9911 - args = ["--log=xcm=trace,pallet-assets=trace"] From 464a2e20303ef54e92b8d7fb9335229d8664ba3c Mon Sep 17 00:00:00 2001 From: Cameron Marshall Date: Sat, 14 Dec 2024 15:28:57 -0500 Subject: [PATCH 2/3] chore(deps): update pjs (#484) --- e2e-tests/moonbeam.hydration.spec.ts | 4 +- e2e-tests/polkadotAssetHub.bridgeHub.spec.ts | 6 +- e2e-tests/polkadotAssetHub.hydration.spec.ts | 18 +- package.json | 19 +- yarn.lock | 377 +++++++++++-------- 5 files changed, 248 insertions(+), 176 deletions(-) diff --git a/e2e-tests/moonbeam.hydration.spec.ts b/e2e-tests/moonbeam.hydration.spec.ts index 1bd10d6e..76e50ecd 100644 --- a/e2e-tests/moonbeam.hydration.spec.ts +++ b/e2e-tests/moonbeam.hydration.spec.ts @@ -29,12 +29,12 @@ describe('Moonbeam <> Hydration', () => { hydration = hydration1; moonbeam = moonbeam1; - }, 200000); + }, 500000); afterEach(async () => { await moonbeam.teardown(); await hydration.teardown(); - }, 200000); + }, 500000); test('Transfer GLMR from Moonbeam to Hydration', async () => { await moonbeam.dev.setStorage({ diff --git a/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts b/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts index 0f1fd3fc..12306b22 100644 --- a/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts +++ b/e2e-tests/polkadotAssetHub.bridgeHub.spec.ts @@ -35,12 +35,12 @@ describe('Polkadot AssetHub <> Ethereum', () => { polkadotBridgeHub = polkadotBridgeHub1; polkadotAssetHub = polkadotAssetHub1; - }, 200000); + }, 500000); afterEach(async () => { await polkadotBridgeHub.teardown(); await polkadotAssetHub.teardown(); - }, 200000); + }, 500000); test('Snowbridge WETH From AssetHub to Ethereum', async () => { await polkadotAssetHub.dev.setStorage({ @@ -84,5 +84,5 @@ describe('Polkadot AssetHub <> Ethereum', () => { const messageCommittedEvent = bridgeHubEvents[bridgeHubEvents.length - 1]; expect(messageCommittedEvent.event.section).toEqual('ethereumOutboundQueue'); expect(messageCommittedEvent.event.method).toEqual('MessagesCommitted'); - }, 5000000); + }, 100000); }); diff --git a/e2e-tests/polkadotAssetHub.hydration.spec.ts b/e2e-tests/polkadotAssetHub.hydration.spec.ts index 0b3bef8f..48ea2493 100644 --- a/e2e-tests/polkadotAssetHub.hydration.spec.ts +++ b/e2e-tests/polkadotAssetHub.hydration.spec.ts @@ -39,12 +39,12 @@ describe('Polkadot AssetHub <> Hydration', () => { hydration = hydration1; polkadotAssetHub = polkadotAssetHub1; - }, 200000); + }, 500000); afterEach(async () => { await polkadotAssetHub.teardown(); await hydration.teardown(); - }, 200000); + }, 500000); test('AssetHub Local DOT Transfer', async () => { await polkadotAssetHub.api.isReady; @@ -74,7 +74,7 @@ describe('Polkadot AssetHub <> Hydration', () => { const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(1000000); - }, 50000); + }, 100000); test('AssetHub Local Pool Asset Transfer', async () => { await polkadotAssetHub.api.isReady; @@ -120,7 +120,7 @@ describe('Polkadot AssetHub <> Hydration', () => { expect(recipientsUpdatedPoolAssetBalance.balance.toNumber()).toBeGreaterThan( recipientsInitialPoolAssetBalance.balance.toNumber(), ); - }, 50000); + }, 100000); test('Hydration Local HDX Transfer', async () => { await hydration.dev.setStorage({ @@ -161,7 +161,7 @@ describe('Polkadot AssetHub <> Hydration', () => { expect((recipientUpdatedHDXBalance as AccountData).free.toNumber()).toBeGreaterThan( (recipientInitialHDXBalance as AccountData).free.toNumber(), ); - }, 70000); + }, 100000); test('Transfer DOT From Hydration to AssetHub', async () => { await hydration.dev.setStorage({ @@ -195,7 +195,7 @@ describe('Polkadot AssetHub <> Hydration', () => { const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free; expect(recipientsUpdatedDOTBalance.toNumber()).not.toEqual(0); expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(recipientsInitialDOTBalance.toNumber()); - }, 70000); + }, 100000); test('Transfer DOT From AssetHub to Hydration', async () => { await polkadotAssetHub.dev.setStorage({ @@ -225,7 +225,7 @@ describe('Polkadot AssetHub <> Hydration', () => { expect((recipientsUpdatedDOTBalance as AccountData).free.toNumber()).toBeGreaterThan( (recipientsInitialDOTBalance as AccountData).free.toNumber(), ); - }, 50000); + }, 100000); test('Transfer SnowBridge WETH From Hydration To AssetHub', async () => { await hydration.dev.setStorage({ @@ -303,7 +303,7 @@ describe('Polkadot AssetHub <> Hydration', () => { expect(JSON.stringify(recipientsUpdatedWETHBalance)).not.toEqual('null'); expect(recipientsUpdatedWETHBalance.balance.toNumber()).toBeGreaterThan(0); - }, 50000); + }, 100000); test('Transfer SnowBridge WETH From AssetHub To Hydration', async () => { await polkadotAssetHub.dev.setStorage({ @@ -351,5 +351,5 @@ describe('Polkadot AssetHub <> Hydration', () => { expect((recipientsUpdatedWETHBalance as AccountData).free.toNumber()).toBeGreaterThan( (recipientsInitialHydrationWETHBalance as AccountData).free.toNumber(), ); - }, 50000); + }, 100000); }); diff --git a/package.json b/package.json index 84f2ce9e..ebd7ce2b 100644 --- a/package.json +++ b/package.json @@ -47,16 +47,23 @@ "dependencies": { "@acala-network/chopsticks-core": "^1.0.1", "@acala-network/chopsticks-testing": "^1.0.1", - "@polkadot/api": "^14.2.3", - "@polkadot/api-augment": "^14.2.3", - "@polkadot/types": "^14.2.3", - "@polkadot/types-codec": "^14.2.3", + "@polkadot/api": "^15.0.2", + "@polkadot/api-augment": "^15.0.2", + "@polkadot/types": "^15.0.2", + "@polkadot/types-codec": "^15.0.2", "@polkadot/util": "^13.2.3", "@polkadot/util-crypto": "^13.2.3", "@substrate/asset-transfer-api-registry": "^0.2.24" }, "resolutions": { - "@polkadot/util-crypto": "13.2.2", - "@polkadot/util": "13.2.2" + "@polkadot/api": "^15.0.2", + "@polkadot/types-create": "15.0.2", + "@polkadot/rpc-provider": "15.0.2", + "@polkadot/api-augment": "^15.0.2", + "@polkadot/types": "^15.0.2", + "@polkadot/types-codec": "15.0.2", + "@polkadot/util-crypto": "13.2.3", + "@polkadot/util": "13.2.3", + "@polkadot/keyring": "13.2.3" } } diff --git a/yarn.lock b/yarn.lock index 88ddb6fe..b9a7f584 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1235,92 +1235,116 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:14.2.3, @polkadot/api-augment@npm:^14.0.1, @polkadot/api-augment@npm:^14.2.3": - version: 14.2.3 - resolution: "@polkadot/api-augment@npm:14.2.3" - dependencies: - "@polkadot/api-base": "npm:14.2.3" - "@polkadot/rpc-augment": "npm:14.2.3" - "@polkadot/types": "npm:14.2.3" - "@polkadot/types-augment": "npm:14.2.3" - "@polkadot/types-codec": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" +"@polkadot/api-augment@npm:^15.0.2": + version: 15.0.2 + resolution: "@polkadot/api-augment@npm:15.0.2" + dependencies: + "@polkadot/api-base": "npm:15.0.2" + "@polkadot/rpc-augment": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-augment": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" tslib: "npm:^2.8.0" - checksum: 10/7c7bebf13311217e7a8ae8dc4bb1684a58e16790edaa3e8ced5f70a2a3bd4f3050dd364886a0eea768bb49ab446a64b73e1d35a0f7b643e31e616da8706532fb + checksum: 10/3d4016cc2bac3218c3113e3d4f3bdb49cac28c255f7355bb2c76dc0e0ce52b1af8fce453827aeca9551ad51f8333bcf6fe743f6962b7d174fcd32118de853766 languageName: node linkType: hard -"@polkadot/api-base@npm:14.2.3, @polkadot/api-base@npm:^14.0.1": - version: 14.2.3 - resolution: "@polkadot/api-base@npm:14.2.3" +"@polkadot/api-base@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/api-base@npm:15.0.2" dependencies: - "@polkadot/rpc-core": "npm:14.2.3" - "@polkadot/types": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" + "@polkadot/rpc-core": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/bda2df6b2208feffa1e007dd02cc85f70d21f2b9b5e338fe5623d68e1f1749af9583d0653c33e7bf28d997a0c629450627033a0b6edea4bd6e17964672c22eb5 + checksum: 10/103329cc8a1c4fc46cab22873321407576ec2946ef38d3a6bbe0a5c03e2a7bf425ced3b403851c7e024934cf5c683380e8532720889c8d25b5da03c3c54cb5d1 languageName: node linkType: hard -"@polkadot/api-derive@npm:14.2.3": +"@polkadot/api-base@npm:^14.0.1": version: 14.2.3 - resolution: "@polkadot/api-derive@npm:14.2.3" + resolution: "@polkadot/api-base@npm:14.2.3" dependencies: - "@polkadot/api": "npm:14.2.3" - "@polkadot/api-augment": "npm:14.2.3" - "@polkadot/api-base": "npm:14.2.3" "@polkadot/rpc-core": "npm:14.2.3" "@polkadot/types": "npm:14.2.3" - "@polkadot/types-codec": "npm:14.2.3" "@polkadot/util": "npm:^13.2.2" - "@polkadot/util-crypto": "npm:^13.2.2" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/a788cd64d24015ad6beba1e024230a21460ecd4fdb2946b0dc128b7c17aa1c43c9523ca9e080aef8cfd16e86ef88dc4c6c70a722ae1107ac0bcd89a60cd1cbc8 + checksum: 10/bda2df6b2208feffa1e007dd02cc85f70d21f2b9b5e338fe5623d68e1f1749af9583d0653c33e7bf28d997a0c629450627033a0b6edea4bd6e17964672c22eb5 languageName: node linkType: hard -"@polkadot/api@npm:14.2.3, @polkadot/api@npm:^14.0.1, @polkadot/api@npm:^14.2.3": - version: 14.2.3 - resolution: "@polkadot/api@npm:14.2.3" +"@polkadot/api-derive@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/api-derive@npm:15.0.2" dependencies: - "@polkadot/api-augment": "npm:14.2.3" - "@polkadot/api-base": "npm:14.2.3" - "@polkadot/api-derive": "npm:14.2.3" - "@polkadot/keyring": "npm:^13.2.2" - "@polkadot/rpc-augment": "npm:14.2.3" - "@polkadot/rpc-core": "npm:14.2.3" - "@polkadot/rpc-provider": "npm:14.2.3" - "@polkadot/types": "npm:14.2.3" - "@polkadot/types-augment": "npm:14.2.3" - "@polkadot/types-codec": "npm:14.2.3" - "@polkadot/types-create": "npm:14.2.3" - "@polkadot/types-known": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" - "@polkadot/util-crypto": "npm:^13.2.2" + "@polkadot/api": "npm:15.0.2" + "@polkadot/api-augment": "npm:15.0.2" + "@polkadot/api-base": "npm:15.0.2" + "@polkadot/rpc-core": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/util-crypto": "npm:^13.2.3" + rxjs: "npm:^7.8.1" + tslib: "npm:^2.8.0" + checksum: 10/edb18939868c18b6352bf7132ff1645576925c3a039e87ab851815edeacc63475e8978caa49510abf5ede168942bc4313c64dd772a9715b305b6b4e54bf66b6d + languageName: node + linkType: hard + +"@polkadot/api@npm:^15.0.2": + version: 15.0.2 + resolution: "@polkadot/api@npm:15.0.2" + dependencies: + "@polkadot/api-augment": "npm:15.0.2" + "@polkadot/api-base": "npm:15.0.2" + "@polkadot/api-derive": "npm:15.0.2" + "@polkadot/keyring": "npm:^13.2.3" + "@polkadot/rpc-augment": "npm:15.0.2" + "@polkadot/rpc-core": "npm:15.0.2" + "@polkadot/rpc-provider": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-augment": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/types-create": "npm:15.0.2" + "@polkadot/types-known": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/util-crypto": "npm:^13.2.3" eventemitter3: "npm:^5.0.1" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/99738ac9af51465f1fbc017c187eb29a5a8bdea88ba335dfd9e98927dfa20503383a9abe5e073165c2d443d4e153e0f9d0b09642a19ed71fe723b1ea247ea473 + checksum: 10/b87fb579edc044ed3b5d5c24a74b91333291919900747231fd4bc4f4b5d3d2482c2a982f6cb3250fe9867ae644cdb6e65a5f7ce79b3bae20a7f9dcbc5626a4ba languageName: node linkType: hard -"@polkadot/keyring@npm:^13.2.2": - version: 13.2.2 - resolution: "@polkadot/keyring@npm:13.2.2" +"@polkadot/keyring@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/keyring@npm:13.2.3" dependencies: - "@polkadot/util": "npm:13.2.2" - "@polkadot/util-crypto": "npm:13.2.2" + "@polkadot/util": "npm:13.2.3" + "@polkadot/util-crypto": "npm:13.2.3" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.2 - "@polkadot/util-crypto": 13.2.2 - checksum: 10/552972c5e4c26f8a95dbb18552cbcfb04c87e085022153a705025987bb77655dc6c32709ea4b8300ebe74945a32b7f8a88ab50460d1962b847335daeae19bda1 + "@polkadot/util": 13.2.3 + "@polkadot/util-crypto": 13.2.3 + checksum: 10/c89cbdd3830f54cabcfde01527b7597a215b39dd7f26a374b1f0f43051fb0443385607548528c0b11eb42ca05d90569f38b13aeeed25858ccfa7ecf1d7345a21 languageName: node linkType: hard -"@polkadot/networks@npm:13.2.2, @polkadot/networks@npm:^13.2.2": +"@polkadot/networks@npm:13.2.3, @polkadot/networks@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/networks@npm:13.2.3" + dependencies: + "@polkadot/util": "npm:13.2.3" + "@substrate/ss58-registry": "npm:^1.51.0" + tslib: "npm:^2.8.0" + checksum: 10/83c4d6321b67c8a5eaf55189dba2180e49600d12ebd55fe861780241fbe8969c972a8b184c91b64a03880c74502889f35ec2eef124f7288e27f2e77ecc4f5e39 + languageName: node + linkType: hard + +"@polkadot/networks@npm:^13.2.2": version: 13.2.2 resolution: "@polkadot/networks@npm:13.2.2" dependencies: @@ -1344,6 +1368,19 @@ __metadata: languageName: node linkType: hard +"@polkadot/rpc-augment@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/rpc-augment@npm:15.0.2" + dependencies: + "@polkadot/rpc-core": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + tslib: "npm:^2.8.0" + checksum: 10/ea753d851929a31dd3a14b0b27c102a1dbd7b7d7f3d4518413c39c35f13da75cfc61db559c1f11d18d96c4939e94cae15873188519d0506445e2c818bdabd5b0 + languageName: node + linkType: hard + "@polkadot/rpc-core@npm:14.2.3": version: 14.2.3 resolution: "@polkadot/rpc-core@npm:14.2.3" @@ -1358,18 +1395,32 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:14.2.3, @polkadot/rpc-provider@npm:^14.0.1": - version: 14.2.3 - resolution: "@polkadot/rpc-provider@npm:14.2.3" +"@polkadot/rpc-core@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/rpc-core@npm:15.0.2" dependencies: - "@polkadot/keyring": "npm:^13.2.2" - "@polkadot/types": "npm:14.2.3" - "@polkadot/types-support": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" - "@polkadot/util-crypto": "npm:^13.2.2" - "@polkadot/x-fetch": "npm:^13.2.2" - "@polkadot/x-global": "npm:^13.2.2" - "@polkadot/x-ws": "npm:^13.2.2" + "@polkadot/rpc-augment": "npm:15.0.2" + "@polkadot/rpc-provider": "npm:15.0.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + rxjs: "npm:^7.8.1" + tslib: "npm:^2.8.0" + checksum: 10/ad75d7226816f8a0df8b478777668a84a57e78cb631241a94abc8e9243b969b10137a9ec20f86eeadcf45a3414ab14b4a65a539d5325649c0e5ae8c442c6f000 + languageName: node + linkType: hard + +"@polkadot/rpc-provider@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/rpc-provider@npm:15.0.2" + dependencies: + "@polkadot/keyring": "npm:^13.2.3" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-support": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/util-crypto": "npm:^13.2.3" + "@polkadot/x-fetch": "npm:^13.2.3" + "@polkadot/x-global": "npm:^13.2.3" + "@polkadot/x-ws": "npm:^13.2.3" "@substrate/connect": "npm:0.8.11" eventemitter3: "npm:^5.0.1" mock-socket: "npm:^9.3.1" @@ -1378,45 +1429,59 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: 10/3f1be813a62ef271eddff4d5d7aa680f40d90c43b6ba60cb7296ccae0ad1ca3c9508fa90c933f5859676903efd4d3f1c366b72dde7c7033afec561972a5958d8 + checksum: 10/9a3e7d19b163e851f51c1d09466f560e1e3c1cd0632d33672c47774150f74f0471e4cf910ad2798bf040b5700a55e97c0d85080747d2b5cf00f572566891e3bf languageName: node linkType: hard -"@polkadot/types-augment@npm:14.2.3": - version: 14.2.3 - resolution: "@polkadot/types-augment@npm:14.2.3" +"@polkadot/types-augment@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/types-augment@npm:15.0.2" dependencies: - "@polkadot/types": "npm:14.2.3" - "@polkadot/types-codec": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" tslib: "npm:^2.8.0" - checksum: 10/7a3bb4945356e1a49f1b69042fcdb9b81b02cb60b521f5b89c79e484cf2808492bbc46d7e6b1f5703a9763d9c5fa0460819dcbe8a5e78056e07e9cb20b8e7dd9 + checksum: 10/2543b8d3fb7db7c0110ca35a9f4ff5ea571bb9a6faebee9eff1e8c68a6a0ddb1fdbb701cb06a9d38c5c3e3912f2e84abc758530aff21f84989cc0cba46f230e3 languageName: node linkType: hard -"@polkadot/types-codec@npm:14.2.3, @polkadot/types-codec@npm:^14.0.1, @polkadot/types-codec@npm:^14.2.3": - version: 14.2.3 - resolution: "@polkadot/types-codec@npm:14.2.3" +"@polkadot/types-codec@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/types-codec@npm:15.0.2" dependencies: - "@polkadot/util": "npm:^13.2.2" - "@polkadot/x-bigint": "npm:^13.2.2" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/x-bigint": "npm:^13.2.3" tslib: "npm:^2.8.0" - checksum: 10/6bc9ae7f221e918f9f1d69feb4339f2995e485a89ab6748d1902c257dcef6a12a615050af841b9e5201bd497c90b86774fdc97990c61635efcd04135a22c8109 + checksum: 10/07ac31c967e97302e18b4d12b925bbc60295f9d6d7c411f9cfc6e1f187a7ad7ce1e4ea5b88b1936f1452015fcf20f63e76713fc98851f24b9a441975f1317365 languageName: node linkType: hard -"@polkadot/types-create@npm:14.2.3": - version: 14.2.3 - resolution: "@polkadot/types-create@npm:14.2.3" +"@polkadot/types-create@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/types-create@npm:15.0.2" dependencies: - "@polkadot/types-codec": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + tslib: "npm:^2.8.0" + checksum: 10/856906fc75aabe9eb598df806752f2194ed3dc3f62cfb0a8bdb2fa55c9033efe6716aa5e3f0eeee65d32ef2e6c0ed7c51b302bddec026ad9a5c34c35ed876bfc + languageName: node + linkType: hard + +"@polkadot/types-known@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/types-known@npm:15.0.2" + dependencies: + "@polkadot/networks": "npm:^13.2.3" + "@polkadot/types": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/types-create": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" tslib: "npm:^2.8.0" - checksum: 10/6e5cdc55680ebb69c3f9e879f5d62d1beccd42a8d5455872870b03e9091909835110f9499cebeb332cb46519ca8435732f8faededf360d79794c3c80b1d2d0ca + checksum: 10/53b7ef96836f599a0f0cb528dac41e1af6c8e2f023e5ad0feff94f00f6b598358b2fe96bc705c687f3dd3ce0ebd792db7eb307fb4bf7275be9050b0183943ad8 languageName: node linkType: hard -"@polkadot/types-known@npm:14.2.3, @polkadot/types-known@npm:^14.0.1": +"@polkadot/types-known@npm:^14.0.1": version: 14.2.3 resolution: "@polkadot/types-known@npm:14.2.3" dependencies: @@ -1430,64 +1495,64 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:14.2.3": - version: 14.2.3 - resolution: "@polkadot/types-support@npm:14.2.3" +"@polkadot/types-support@npm:15.0.2": + version: 15.0.2 + resolution: "@polkadot/types-support@npm:15.0.2" dependencies: - "@polkadot/util": "npm:^13.2.2" + "@polkadot/util": "npm:^13.2.3" tslib: "npm:^2.8.0" - checksum: 10/f3c50a768b8fefa0d93034852f77fdb5d6180318958943dcc1d0be7b8d9a29a90e968fdeb15cdc855a7cfef7bd6523c4bd89bf79569b572fc730280310b8fbab + checksum: 10/6c5d21ff2ca7f505d93e9f2640c29c1ef96f3db609bed172724bf58ebafdd934ec02acafae29a93a0224d5a1d7364e8c47c4dd261af22069470bb7795b8e51df languageName: node linkType: hard -"@polkadot/types@npm:14.2.3, @polkadot/types@npm:^14.0.1, @polkadot/types@npm:^14.2.3": - version: 14.2.3 - resolution: "@polkadot/types@npm:14.2.3" +"@polkadot/types@npm:^15.0.2": + version: 15.0.2 + resolution: "@polkadot/types@npm:15.0.2" dependencies: - "@polkadot/keyring": "npm:^13.2.2" - "@polkadot/types-augment": "npm:14.2.3" - "@polkadot/types-codec": "npm:14.2.3" - "@polkadot/types-create": "npm:14.2.3" - "@polkadot/util": "npm:^13.2.2" - "@polkadot/util-crypto": "npm:^13.2.2" + "@polkadot/keyring": "npm:^13.2.3" + "@polkadot/types-augment": "npm:15.0.2" + "@polkadot/types-codec": "npm:15.0.2" + "@polkadot/types-create": "npm:15.0.2" + "@polkadot/util": "npm:^13.2.3" + "@polkadot/util-crypto": "npm:^13.2.3" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.0" - checksum: 10/96ee678bbea707c2bce674c7489b1598ea22ce3315994c7807482c3d032bf747f96f5a4cd229196398b80a901cdd0039dd62dcd171012f5751ab9f1a9c186b45 + checksum: 10/2e0f7c4d5bdb9278bbef4f14de1167092615f3e41e010ac5a3a79f0533f91a4c2be24d954dc5993ffc71f261638c3abca541d7b520b6a7a3825f9b6cdb17fdf6 languageName: node linkType: hard -"@polkadot/util-crypto@npm:13.2.2": - version: 13.2.2 - resolution: "@polkadot/util-crypto@npm:13.2.2" +"@polkadot/util-crypto@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/util-crypto@npm:13.2.3" dependencies: "@noble/curves": "npm:^1.3.0" "@noble/hashes": "npm:^1.3.3" - "@polkadot/networks": "npm:13.2.2" - "@polkadot/util": "npm:13.2.2" + "@polkadot/networks": "npm:13.2.3" + "@polkadot/util": "npm:13.2.3" "@polkadot/wasm-crypto": "npm:^7.4.1" "@polkadot/wasm-util": "npm:^7.4.1" - "@polkadot/x-bigint": "npm:13.2.2" - "@polkadot/x-randomvalues": "npm:13.2.2" + "@polkadot/x-bigint": "npm:13.2.3" + "@polkadot/x-randomvalues": "npm:13.2.3" "@scure/base": "npm:^1.1.7" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.2 - checksum: 10/7f00b4a89be841cfa67c2a25717c21ead158ed52b3f166b5140dae6b2b20e011823b2c06b7df7df95216d964265db151d8785e3db8823ab62ffcc8986d769cd7 + "@polkadot/util": 13.2.3 + checksum: 10/47baf5cab1bd2ca20633ef324a35d7b8a4ecb6bff41eb9e0dac8229495d3a7e74f7bc685d652dd465c9339598fa4e885abce8f539329e77b32a1aa0920169825 languageName: node linkType: hard -"@polkadot/util@npm:13.2.2": - version: 13.2.2 - resolution: "@polkadot/util@npm:13.2.2" +"@polkadot/util@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/util@npm:13.2.3" dependencies: - "@polkadot/x-bigint": "npm:13.2.2" - "@polkadot/x-global": "npm:13.2.2" - "@polkadot/x-textdecoder": "npm:13.2.2" - "@polkadot/x-textencoder": "npm:13.2.2" + "@polkadot/x-bigint": "npm:13.2.3" + "@polkadot/x-global": "npm:13.2.3" + "@polkadot/x-textdecoder": "npm:13.2.3" + "@polkadot/x-textencoder": "npm:13.2.3" "@types/bn.js": "npm:^5.1.6" bn.js: "npm:^5.2.1" tslib: "npm:^2.8.0" - checksum: 10/acf145fdf49ad7e39a8df2c24eba510956281196902684fa42ce3b4f2152863478a5410b9f64b9a73ab689f37b64f8e01af15027a29812417b1333f143d14c21 + checksum: 10/45c493224599a003cb52c98d0be502088e3e05dc74e1c505d579aae77341bf1769fbe1ca6c13df8b581235690f78c3b36f8525d378af9df5663a1c21becc4766 languageName: node linkType: hard @@ -1571,77 +1636,77 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:13.2.2, @polkadot/x-bigint@npm:^13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-bigint@npm:13.2.2" +"@polkadot/x-bigint@npm:13.2.3, @polkadot/x-bigint@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-bigint@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" tslib: "npm:^2.8.0" - checksum: 10/00cdd6298a82971c700b1cb9d9dda26423a46fe86044fe74c5c14cb15d70ca912f044a1c935416fb363b58f84544e7f7a5a79eedefccdfbc56e5185637781c90 + checksum: 10/1ede67d15b2e66eb8546e6f7ea9bd3599969eda2a75339a5e7077d1db67e1cebd61b5b4522c344ee3210e3117e9c8c36fe623fc691e0d4a8c0f9b0dc39b768a5 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-fetch@npm:13.2.2" +"@polkadot/x-fetch@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-fetch@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" node-fetch: "npm:^3.3.2" tslib: "npm:^2.8.0" - checksum: 10/19110cbe80ec105eb4f86f162f6f86a930e18bd189d422dbb724a5a0cf7ad83167ed86671835fd43948f5f92295b570ec7bb997f308359bf9ddb6cea335b4438 + checksum: 10/55104a2f6ca60acc25e15becf67988f19e702afa985283451436ca42a417e04d87f91332a1afba78537691c370f7a053ec6e07ba111464d25ccbecc99864eac7 languageName: node linkType: hard -"@polkadot/x-global@npm:13.2.2, @polkadot/x-global@npm:^13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-global@npm:13.2.2" +"@polkadot/x-global@npm:13.2.3, @polkadot/x-global@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-global@npm:13.2.3" dependencies: tslib: "npm:^2.8.0" - checksum: 10/9b2747c6b581943c82d6228e886fd491ea41068e07d1da3654c9acc27ace5e1b8682c6e9f8ceaffe68aa88fb386758ebe70f595fde8a5a2544361999e39e74f1 + checksum: 10/163b11c938c4496a94fd476b909b8358007c17e9a251d627c4114d14419c8cd462d8246a580a28e859c91d71c384fc3acfeb27d2e0559c4a443226cbb25df560 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-randomvalues@npm:13.2.2" +"@polkadot/x-randomvalues@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-randomvalues@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.2.2 + "@polkadot/util": 13.2.3 "@polkadot/wasm-util": "*" - checksum: 10/d30e37bc659f4fe045b421e80fc37849e92351ff64244c90651f35ef1fb8722ad1d8d421fc459d039a5f53b9072635f4f531a5a0fd029269025a86178b44b327 + checksum: 10/864b94a2f031582095afc4e0b2ecbb315cb76122b35f359f236704d8e753b0225c7a6f78a68c990bfbb7b2ea8287d05f0fcb9c27a3c2bd785408de3074fa9636 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-textdecoder@npm:13.2.2" +"@polkadot/x-textdecoder@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-textdecoder@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" tslib: "npm:^2.8.0" - checksum: 10/8fcf79d362141f011123230f7f82f9145cd7c0c7f2ac8caa89f0b8a59e457aad6ffb6e05dee98bd7e254dbd87cce6660dea50e7a41b09830f81e1e350f49a276 + checksum: 10/e67cfb4677cd8a43ed7678421562280947bf22b13d8d4b0ac49e20a34939bbd7de02b8e51a1f5f138c0884847d7c782fb6bbb13d2d7556d1bb7a4e39508c949d languageName: node linkType: hard -"@polkadot/x-textencoder@npm:13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-textencoder@npm:13.2.2" +"@polkadot/x-textencoder@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-textencoder@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" tslib: "npm:^2.8.0" - checksum: 10/e382f7b1601b11b91fa17242af0357ecd7db4bd7f6db2cea88eef9a5bb3f64271089569b34e28685d62f8e89e870876f2872ec2f34a8aee44515f47e79cd4f0f + checksum: 10/54630e2ca156cda7d5f8eb3d5283f43d2729c579d032d9d2b088c2a599d3be905c237d9ebcca3fd432e1fca9d1d0349585e4bf8e27000946a2d6f3c8fef1009d languageName: node linkType: hard -"@polkadot/x-ws@npm:^13.2.2": - version: 13.2.2 - resolution: "@polkadot/x-ws@npm:13.2.2" +"@polkadot/x-ws@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-ws@npm:13.2.3" dependencies: - "@polkadot/x-global": "npm:13.2.2" + "@polkadot/x-global": "npm:13.2.3" tslib: "npm:^2.8.0" ws: "npm:^8.18.0" - checksum: 10/f98fcf8350c691c78e2a06487dd57071e13d64014c8192fae2b4fd75435edd946bc4847142933f58046c93709160c912d7d8fa990b8f02b4db929f610b34c77b + checksum: 10/35c66899e1bdfeaf2956d663124fc4c33fb1f0b47f3e14f9f9aa8f1e291a7a14cae264aa15baadf7ba85f5c314fbfce61b1fc4bfad3b1d3fc51c1f1dfa60659d languageName: node linkType: hard @@ -1875,10 +1940,10 @@ __metadata: dependencies: "@acala-network/chopsticks-core": "npm:^1.0.1" "@acala-network/chopsticks-testing": "npm:^1.0.1" - "@polkadot/api": "npm:^14.2.3" - "@polkadot/api-augment": "npm:^14.2.3" - "@polkadot/types": "npm:^14.2.3" - "@polkadot/types-codec": "npm:^14.2.3" + "@polkadot/api": "npm:^15.0.2" + "@polkadot/api-augment": "npm:^15.0.2" + "@polkadot/types": "npm:^15.0.2" + "@polkadot/types-codec": "npm:^15.0.2" "@polkadot/util": "npm:^13.2.3" "@polkadot/util-crypto": "npm:^13.2.3" "@substrate/asset-transfer-api-registry": "npm:^0.2.24" From bf18c85b7205ce20c873bda254b4da50805a8795 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:57:03 -0500 Subject: [PATCH 3/3] chore(deps-dev): bump typedoc from 0.26.11 to 0.27.5 (#486) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 374 ++++++--------------------------------------------- 2 files changed, 43 insertions(+), 333 deletions(-) diff --git a/package.json b/package.json index ebd7ce2b..c123e6fc 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "ansi-colors": "^4.1.3", "chalk": "5.3.0", "cli-progress": "^3.12.0", - "typedoc": "^0.26.10", + "typedoc": "^0.27.5", "typedoc-plugin-missing-exports": "^3.0.0", "typedoc-theme-hierarchy": "^5.0.3", "vitest": "^2.1.8" diff --git a/yarn.lock b/yarn.lock index b9a7f584..c20ed9ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -706,6 +706,17 @@ __metadata: languageName: node linkType: hard +"@gerrit0/mini-shiki@npm:^1.24.0": + version: 1.24.4 + resolution: "@gerrit0/mini-shiki@npm:1.24.4" + dependencies: + "@shikijs/engine-oniguruma": "npm:^1.24.2" + "@shikijs/types": "npm:^1.24.2" + "@shikijs/vscode-textmate": "npm:^9.3.1" + checksum: 10/246172bba26fa181f1769cfa0caa0fcac5d1c3f83677ae30050cd25e2c4f4b0de388d08c058ae0d861a669ea854c4813e99e968c03bbf8a4635e5f29257f3df9 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.13.0": version: 0.13.0 resolution: "@humanwhocodes/config-array@npm:0.13.0" @@ -1843,48 +1854,23 @@ __metadata: languageName: node linkType: hard -"@shikijs/core@npm:1.22.0": - version: 1.22.0 - resolution: "@shikijs/core@npm:1.22.0" - dependencies: - "@shikijs/engine-javascript": "npm:1.22.0" - "@shikijs/engine-oniguruma": "npm:1.22.0" - "@shikijs/types": "npm:1.22.0" - "@shikijs/vscode-textmate": "npm:^9.3.0" - "@types/hast": "npm:^3.0.4" - hast-util-to-html: "npm:^9.0.3" - checksum: 10/a9e6699e319eaaa82c6b0c166a0e22c039d716df4be7a5179c232bd25dbfc2b30b538b95ebe449ecf1fa6107675f408324f04772b99e7156041dfda69ae0dbd9 - languageName: node - linkType: hard - -"@shikijs/engine-javascript@npm:1.22.0": - version: 1.22.0 - resolution: "@shikijs/engine-javascript@npm:1.22.0" +"@shikijs/engine-oniguruma@npm:^1.24.2": + version: 1.24.2 + resolution: "@shikijs/engine-oniguruma@npm:1.24.2" dependencies: - "@shikijs/types": "npm:1.22.0" + "@shikijs/types": "npm:1.24.2" "@shikijs/vscode-textmate": "npm:^9.3.0" - oniguruma-to-js: "npm:0.4.3" - checksum: 10/bd0b75112a5fd085b50d49e84f1b3f0a599e669be10b947901cc3f0dd2d3baa0d7238b4fa356ccc570cfb9c9c0856a870e17cfdb364bfac77c498a39b96b2bbd + checksum: 10/07368ddac4bc603881982927096b22575c247279ab01f0669df62a14e27c3cfc76919f7ab3efea1eacc3a5f59e6ba30f51e7ddc375d7dc8e541f87b338a8293c languageName: node linkType: hard -"@shikijs/engine-oniguruma@npm:1.22.0": - version: 1.22.0 - resolution: "@shikijs/engine-oniguruma@npm:1.22.0" - dependencies: - "@shikijs/types": "npm:1.22.0" - "@shikijs/vscode-textmate": "npm:^9.3.0" - checksum: 10/5dca4f84f77536b0f1cfc0c0280e9fa4d316d93bf089ad337c6953e38fbafcd5c98a2eea6429c8a59920c5bb3fa696ed2ba682ed550c97e74d57a3aa1b3b0cce - languageName: node - linkType: hard - -"@shikijs/types@npm:1.22.0": - version: 1.22.0 - resolution: "@shikijs/types@npm:1.22.0" +"@shikijs/types@npm:1.24.2, @shikijs/types@npm:^1.24.2": + version: 1.24.2 + resolution: "@shikijs/types@npm:1.24.2" dependencies: "@shikijs/vscode-textmate": "npm:^9.3.0" "@types/hast": "npm:^3.0.4" - checksum: 10/5313d7bad18820e3887460d0cf506ca265b752fdc826ee962a653385040df7ea12e785a0bb4233335ca2ccc9a0d51d57e97fe8e90543ab704ce507437dbeb225 + checksum: 10/9428dc8556a66deae7897a68cbf5e5ec62e7fc2de36edcd524ca6625c9cea13a2ad2df967e445c9f06dfc9bb10115f7b3e7cbf23ef126f0606a1e421a8167de6 languageName: node linkType: hard @@ -1895,6 +1881,13 @@ __metadata: languageName: node linkType: hard +"@shikijs/vscode-textmate@npm:^9.3.1": + version: 9.3.1 + resolution: "@shikijs/vscode-textmate@npm:9.3.1" + checksum: 10/cb4ec8da2db02deb5cb5b45dff1c27e83aa07f179cb23688e258377ebbaad6b1677dbf8b856f2bf845a6c909670c053244b02db138dda875e9b078da5d465b95 + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -1952,7 +1945,7 @@ __metadata: ansi-colors: "npm:^4.1.3" chalk: "npm:5.3.0" cli-progress: "npm:^3.12.0" - typedoc: "npm:^0.26.10" + typedoc: "npm:^0.27.5" typedoc-plugin-missing-exports: "npm:^3.0.0" typedoc-theme-hierarchy: "npm:^5.0.3" vitest: "npm:^2.1.8" @@ -2126,7 +2119,7 @@ __metadata: languageName: node linkType: hard -"@types/hast@npm:^3.0.0, @types/hast@npm:^3.0.4": +"@types/hast@npm:^3.0.4": version: 3.0.4 resolution: "@types/hast@npm:3.0.4" dependencies: @@ -2170,15 +2163,6 @@ __metadata: languageName: node linkType: hard -"@types/mdast@npm:^4.0.0": - version: 4.0.4 - resolution: "@types/mdast@npm:4.0.4" - dependencies: - "@types/unist": "npm:*" - checksum: 10/efe3ec11b9ee0015a396c4fb4cd1b6f31b51b8ae9783c59560e6fc0bf6c2fa1dcc7fccaf45fa09a6c8b3397fab9dc8d431433935cae3835caa70a18f7fc775f8 - languageName: node - linkType: hard - "@types/node@npm:*": version: 18.11.18 resolution: "@types/node@npm:18.11.18" @@ -2193,7 +2177,7 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:*, @types/unist@npm:^3.0.0": +"@types/unist@npm:*": version: 3.0.3 resolution: "@types/unist@npm:3.0.3" checksum: 10/96e6453da9e075aaef1dc22482463898198acdc1eeb99b465e65e34303e2ec1e3b1ed4469a9118275ec284dc98019f63c3f5d49422f0e4ac707e5ab90fb3b71a @@ -2334,7 +2318,7 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": +"@ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" checksum: 10/c6fe89a505e513a7592e1438280db1c075764793a2397877ff1351721fe8792a966a5359769e30242b3cd023f2efb9e63ca2ca88019d73b564488cc20e3eab12 @@ -2970,13 +2954,6 @@ __metadata: languageName: node linkType: hard -"ccount@npm:^2.0.0": - version: 2.0.1 - resolution: "ccount@npm:2.0.1" - checksum: 10/48193dada54c9e260e0acf57fc16171a225305548f9ad20d5471e0f7a8c026aedd8747091dccb0d900cde7df4e4ddbd235df0d8de4a64c71b12f0d3303eeafd4 - languageName: node - linkType: hard - "chai@npm:^5.1.2": version: 5.1.2 resolution: "chai@npm:5.1.2" @@ -3035,20 +3012,6 @@ __metadata: languageName: node linkType: hard -"character-entities-html4@npm:^2.0.0": - version: 2.1.0 - resolution: "character-entities-html4@npm:2.1.0" - checksum: 10/7034aa7c7fa90309667f6dd50499c8a760c3d3a6fb159adb4e0bada0107d194551cdbad0714302f62d06ce4ed68565c8c2e15fdef2e8f8764eb63fa92b34b11d - languageName: node - linkType: hard - -"character-entities-legacy@npm:^3.0.0": - version: 3.0.0 - resolution: "character-entities-legacy@npm:3.0.0" - checksum: 10/7582af055cb488b626d364b7d7a4e46b06abd526fb63c0e4eb35bcb9c9799cc4f76b39f34fdccef2d1174ac95e53e9ab355aae83227c1a2505877893fce77731 - languageName: node - linkType: hard - "check-error@npm:^2.1.1": version: 2.1.1 resolution: "check-error@npm:2.1.1" @@ -3216,13 +3179,6 @@ __metadata: languageName: node linkType: hard -"comma-separated-tokens@npm:^2.0.0": - version: 2.0.3 - resolution: "comma-separated-tokens@npm:2.0.3" - checksum: 10/e3bf9e0332a5c45f49b90e79bcdb4a7a85f28d6a6f0876a94f1bb9b2bfbdbbb9292aac50e1e742d8c0db1e62a0229a106f57917e2d067fca951d81737651700d - languageName: node - linkType: hard - "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -3425,13 +3381,6 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.0": - version: 2.0.3 - resolution: "dequal@npm:2.0.3" - checksum: 10/6ff05a7561f33603df87c45e389c9ac0a95e3c056be3da1a0c4702149e3a7f6fe5ffbb294478687ba51a9e95f3a60e8b6b9005993acd79c292c7d15f71964b6b - languageName: node - linkType: hard - "detect-libc@npm:^2.0.0": version: 2.0.3 resolution: "detect-libc@npm:2.0.3" @@ -3453,15 +3402,6 @@ __metadata: languageName: node linkType: hard -"devlop@npm:^1.0.0": - version: 1.1.0 - resolution: "devlop@npm:1.1.0" - dependencies: - dequal: "npm:^2.0.0" - checksum: 10/3cc5f903d02d279d6dc4aa71ab6ed9898b9f4d1f861cc5421ce7357893c21b9520de78afb203c92bd650a6977ad0ca98195453a0707a39958cf5fea3b0a8ddd8 - languageName: node - linkType: hard - "diff-match-patch@npm:^1.0.0": version: 1.0.5 resolution: "diff-match-patch@npm:1.0.5" @@ -4530,34 +4470,6 @@ __metadata: languageName: node linkType: hard -"hast-util-to-html@npm:^9.0.3": - version: 9.0.3 - resolution: "hast-util-to-html@npm:9.0.3" - dependencies: - "@types/hast": "npm:^3.0.0" - "@types/unist": "npm:^3.0.0" - ccount: "npm:^2.0.0" - comma-separated-tokens: "npm:^2.0.0" - hast-util-whitespace: "npm:^3.0.0" - html-void-elements: "npm:^3.0.0" - mdast-util-to-hast: "npm:^13.0.0" - property-information: "npm:^6.0.0" - space-separated-tokens: "npm:^2.0.0" - stringify-entities: "npm:^4.0.0" - zwitch: "npm:^2.0.4" - checksum: 10/cdf860be567137d045490b0f27590bcafc7032f0725a84667e8950d7bf2ce175d0dfc635b7ce05f3a8d1963ac4c74cae4d93513047429aad909222decdb2f7d1 - languageName: node - linkType: hard - -"hast-util-whitespace@npm:^3.0.0": - version: 3.0.0 - resolution: "hast-util-whitespace@npm:3.0.0" - dependencies: - "@types/hast": "npm:^3.0.0" - checksum: 10/8c7e9eeb8131fc18702f3a42623eb6b0b09d470347aa8badacac70e6d91f79657ab8c6b57c4c6fee3658cff405fac30e816d1cdfb3ed1fbf6045d0a4555cf4d4 - languageName: node - linkType: hard - "help-me@npm:^5.0.0": version: 5.0.0 resolution: "help-me@npm:5.0.0" @@ -4579,13 +4491,6 @@ __metadata: languageName: node linkType: hard -"html-void-elements@npm:^3.0.0": - version: 3.0.0 - resolution: "html-void-elements@npm:3.0.0" - checksum: 10/59be397525465a7489028afa064c55763d9cccd1d7d9f630cca47137317f0e897a9ca26cef7e745e7cff1abc44260cfa407742b243a54261dfacd42230e94fce - languageName: node - linkType: hard - "http-cache-semantics@npm:^4.1.0": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" @@ -5704,23 +5609,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-hast@npm:^13.0.0": - version: 13.2.0 - resolution: "mdast-util-to-hast@npm:13.2.0" - dependencies: - "@types/hast": "npm:^3.0.0" - "@types/mdast": "npm:^4.0.0" - "@ungap/structured-clone": "npm:^1.0.0" - devlop: "npm:^1.0.0" - micromark-util-sanitize-uri: "npm:^2.0.0" - trim-lines: "npm:^3.0.0" - unist-util-position: "npm:^5.0.0" - unist-util-visit: "npm:^5.0.0" - vfile: "npm:^6.0.0" - checksum: 10/b17ee338f843af31a1c7a2ebf0df6f0b41c9380b7119a63ab521d271df665456578e1234bb7617883e8d860fe878038dcf2b76ab2f21e0f7451215a096d26cce - languageName: node - linkType: hard - "mdurl@npm:^2.0.0": version: 2.0.0 resolution: "mdurl@npm:2.0.0" @@ -5742,48 +5630,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-character@npm:^2.0.0": - version: 2.1.0 - resolution: "micromark-util-character@npm:2.1.0" - dependencies: - micromark-util-symbol: "npm:^2.0.0" - micromark-util-types: "npm:^2.0.0" - checksum: 10/089fe853c2bede2a48fd73d977910fa657c3cf6649eddcd300557a975c6c7f1c73030d01724a483ff1dc69a0d3ac28b43b2ba4210f5ea6414807cdcd0c2fa63c - languageName: node - linkType: hard - -"micromark-util-encode@npm:^2.0.0": - version: 2.0.0 - resolution: "micromark-util-encode@npm:2.0.0" - checksum: 10/853a3f33fce72aaf4ffa60b7f2b6fcfca40b270b3466e1b96561b02185d2bd8c01dd7948bc31a24ac014f4cc854e545ca9a8e9cf7ea46262f9d24c9e88551c66 - languageName: node - linkType: hard - -"micromark-util-sanitize-uri@npm:^2.0.0": - version: 2.0.0 - resolution: "micromark-util-sanitize-uri@npm:2.0.0" - dependencies: - micromark-util-character: "npm:^2.0.0" - micromark-util-encode: "npm:^2.0.0" - micromark-util-symbol: "npm:^2.0.0" - checksum: 10/7d10622f5a2bb058dda6d2e95b2735c43fdf8daa4f88a0863bc90eef6598f8e10e3df98e034341fcbc090d8021c53501308c463c49d3fe91f41eb64b5bf2766e - languageName: node - linkType: hard - -"micromark-util-symbol@npm:^2.0.0": - version: 2.0.0 - resolution: "micromark-util-symbol@npm:2.0.0" - checksum: 10/8c662644c326b384f02a5269974d843d400930cf6f5d6a8e6db1743fc8933f5ecc125b4203ad4ebca25447f5d23eb7e5bf1f75af34570c3fdd925cb618752fcd - languageName: node - linkType: hard - -"micromark-util-types@npm:^2.0.0": - version: 2.0.0 - resolution: "micromark-util-types@npm:2.0.0" - checksum: 10/b88e0eefd4b7c8d86b54dbf4ed0094ef56a3b0c7774d040bd5c8146b8e4e05b1026bbf1cd9308c8fcd05ecdc0784507680c8cee9888a4d3c550e6e574f7aef62 - languageName: node - linkType: hard - "micromatch@npm:^4.0.4": version: 4.0.8 resolution: "micromatch@npm:4.0.8" @@ -6234,15 +6080,6 @@ __metadata: languageName: node linkType: hard -"oniguruma-to-js@npm:0.4.3": - version: 0.4.3 - resolution: "oniguruma-to-js@npm:0.4.3" - dependencies: - regex: "npm:^4.3.2" - checksum: 10/af64a77f4e428c2652387014596138c51bd61d67b0bbe957cd10ff73b4ec14567701ff9286342ab804cfa00486a9a0ff189da8391721c21c898ea8e26b62e74f - languageName: node - linkType: hard - "optionator@npm:^0.9.3": version: 0.9.3 resolution: "optionator@npm:0.9.3" @@ -6634,13 +6471,6 @@ __metadata: languageName: node linkType: hard -"property-information@npm:^6.0.0": - version: 6.5.0 - resolution: "property-information@npm:6.5.0" - checksum: 10/fced94f3a09bf651ad1824d1bdc8980428e3e480e6d01e98df6babe2cc9d45a1c52eee9a7736d2006958f9b394eb5964dedd37e23038086ddc143fc2fd5e426c - languageName: node - linkType: hard - "proto-list@npm:~1.2.1": version: 1.2.4 resolution: "proto-list@npm:1.2.4" @@ -6770,13 +6600,6 @@ __metadata: languageName: node linkType: hard -"regex@npm:^4.3.2": - version: 4.3.3 - resolution: "regex@npm:4.3.3" - checksum: 10/e18a7069b77173d0f36981386b70eabbd7a9ebd988ac99f5e41fe5a8b2786871c9e50b99135590f6d5ab6b459079e7a1b6c917583f78eb0cc5b909bd5e45ff22 - languageName: node - linkType: hard - "require-directory@npm:^2.1.1": version: 2.1.1 resolution: "require-directory@npm:2.1.1" @@ -7070,20 +6893,6 @@ __metadata: languageName: node linkType: hard -"shiki@npm:^1.16.2": - version: 1.22.0 - resolution: "shiki@npm:1.22.0" - dependencies: - "@shikijs/core": "npm:1.22.0" - "@shikijs/engine-javascript": "npm:1.22.0" - "@shikijs/engine-oniguruma": "npm:1.22.0" - "@shikijs/types": "npm:1.22.0" - "@shikijs/vscode-textmate": "npm:^9.3.0" - "@types/hast": "npm:^3.0.4" - checksum: 10/025b19f78133764410822d1abe89b8f902f63698acb5e3ba2126f0395a629ed5527b7dfba84e6b12c1fbaa1fcfe9556345a3519faa1219fdf013fa23eae4aedc - languageName: node - linkType: hard - "siginfo@npm:^2.0.0": version: 2.0.0 resolution: "siginfo@npm:2.0.0" @@ -7218,13 +7027,6 @@ __metadata: languageName: node linkType: hard -"space-separated-tokens@npm:^2.0.0": - version: 2.0.2 - resolution: "space-separated-tokens@npm:2.0.2" - checksum: 10/202e97d7ca1ba0758a0aa4fe226ff98142073bcceeff2da3aad037968878552c3bbce3b3231970025375bbba5aee00c5b8206eda408da837ab2dc9c0f26be990 - languageName: node - linkType: hard - "split2@npm:^4.0.0": version: 4.2.0 resolution: "split2@npm:4.2.0" @@ -7349,16 +7151,6 @@ __metadata: languageName: node linkType: hard -"stringify-entities@npm:^4.0.0": - version: 4.0.4 - resolution: "stringify-entities@npm:4.0.4" - dependencies: - character-entities-html4: "npm:^2.0.0" - character-entities-legacy: "npm:^3.0.0" - checksum: 10/42bd2f37528795a7b4386bd39dc4699515fb0f0b8c418a6bb29ae205ce66eaff9e8801a2bee65b8049c918c9475a71c7e5911f6a88c19f1d84ebdcba3d881a2d - languageName: node - linkType: hard - "strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" @@ -7584,13 +7376,6 @@ __metadata: languageName: node linkType: hard -"trim-lines@npm:^3.0.0": - version: 3.0.1 - resolution: "trim-lines@npm:3.0.1" - checksum: 10/7a1325e4ce8ff7e9e52007600e9c9862a166d0db1f1cf0c9357e359e410acab1278fcd91cc279dfa5123fc37b69f080de02f471e91dbbc61b155b9ca92597929 - languageName: node - linkType: hard - "ts-api-utils@npm:^1.3.0": version: 1.3.0 resolution: "ts-api-utils@npm:1.3.0" @@ -7717,20 +7502,20 @@ __metadata: languageName: node linkType: hard -"typedoc@npm:^0.26.10": - version: 0.26.11 - resolution: "typedoc@npm:0.26.11" +"typedoc@npm:^0.27.5": + version: 0.27.5 + resolution: "typedoc@npm:0.27.5" dependencies: + "@gerrit0/mini-shiki": "npm:^1.24.0" lunr: "npm:^2.3.9" markdown-it: "npm:^14.1.0" minimatch: "npm:^9.0.5" - shiki: "npm:^1.16.2" - yaml: "npm:^2.5.1" + yaml: "npm:^2.6.1" peerDependencies: - typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x + typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x bin: typedoc: bin/typedoc - checksum: 10/969833b6ffaf1afc96ade3e2b6e594d2f072cc6e92bbc02e40f73c26e16eae8df01b63ccc4a445e2ef9ea2d3c7901ec7c8af476af526225a4b02ed014cdf88b7 + checksum: 10/de683457a23d5031a6632801315b82b8a554a4f650aefbcee1cf191b484939be226b45cf5b40a0c831d523cdffd854d27799df546ba173f5b71d60d3c14d0164 languageName: node linkType: hard @@ -7877,54 +7662,6 @@ __metadata: languageName: node linkType: hard -"unist-util-is@npm:^6.0.0": - version: 6.0.0 - resolution: "unist-util-is@npm:6.0.0" - dependencies: - "@types/unist": "npm:^3.0.0" - checksum: 10/edd6a93fb2255addf4b9eeb304c1da63c62179aef793169dd64ab955cf2f6814885fe25f95f8105893e3562dead348af535718d7a84333826e0491c04bf42511 - languageName: node - linkType: hard - -"unist-util-position@npm:^5.0.0": - version: 5.0.0 - resolution: "unist-util-position@npm:5.0.0" - dependencies: - "@types/unist": "npm:^3.0.0" - checksum: 10/89d4da00e74618d7562ac7ac288961df9bcd4ccca6df3b5a90650f018eceb6b95de6e771e88bdbef46cc9d96861d456abe57b7ad1108921e0feb67c6292aa29d - languageName: node - linkType: hard - -"unist-util-stringify-position@npm:^4.0.0": - version: 4.0.0 - resolution: "unist-util-stringify-position@npm:4.0.0" - dependencies: - "@types/unist": "npm:^3.0.0" - checksum: 10/d15c88aca7a31902d95d5b5355bbe09583cf6f6ff6e59e134ef76c76d3c30bc1021f2d7ea5b7897c6d0858ed5f3770c1b19de9c78274f50d72f95a0d05f1af71 - languageName: node - linkType: hard - -"unist-util-visit-parents@npm:^6.0.0": - version: 6.0.1 - resolution: "unist-util-visit-parents@npm:6.0.1" - dependencies: - "@types/unist": "npm:^3.0.0" - unist-util-is: "npm:^6.0.0" - checksum: 10/645b3cbc5e923bc692b1eb1a9ca17bffc5aabc25e6090ff3f1489bff8effd1890b28f7a09dc853cb6a7fa0da8581bfebc9b670a68b53c4c086cb9610dfd37701 - languageName: node - linkType: hard - -"unist-util-visit@npm:^5.0.0": - version: 5.0.0 - resolution: "unist-util-visit@npm:5.0.0" - dependencies: - "@types/unist": "npm:^3.0.0" - unist-util-is: "npm:^6.0.0" - unist-util-visit-parents: "npm:^6.0.0" - checksum: 10/f2bbde23641e9ade7640358c06ddeec0f38342322eb8e7819d9ee380b0f859d25d084dde22bf63db0280b3b2f36575f15aa1d6c23acf276c91c2493cf799e3b0 - languageName: node - linkType: hard - "universalify@npm:^2.0.0": version: 2.0.0 resolution: "universalify@npm:2.0.0" @@ -7982,26 +7719,6 @@ __metadata: languageName: node linkType: hard -"vfile-message@npm:^4.0.0": - version: 4.0.2 - resolution: "vfile-message@npm:4.0.2" - dependencies: - "@types/unist": "npm:^3.0.0" - unist-util-stringify-position: "npm:^4.0.0" - checksum: 10/1a5a72bf4945a7103750a3001bd979088ce42f6a01efa8590e68b2425e1afc61ddc5c76f2d3c4a7053b40332b24c09982b68743223e99281158fe727135719fc - languageName: node - linkType: hard - -"vfile@npm:^6.0.0": - version: 6.0.3 - resolution: "vfile@npm:6.0.3" - dependencies: - "@types/unist": "npm:^3.0.0" - vfile-message: "npm:^4.0.0" - checksum: 10/a5a85293c9eb8787aa42e180edaef00c13199a493d6ed82fecf13ab29a68526850788e22434d77808ea6b17a74e03ff899b9b4711df5b9eee75afcddd7c2e1fb - languageName: node - linkType: hard - "vite-node@npm:2.1.8": version: 2.1.8 resolution: "vite-node@npm:2.1.8" @@ -8233,12 +7950,12 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.5.1": - version: 2.6.0 - resolution: "yaml@npm:2.6.0" +"yaml@npm:^2.6.1": + version: 2.6.1 + resolution: "yaml@npm:2.6.1" bin: yaml: bin.mjs - checksum: 10/f4369f667c7626c216ea81b5840fe9b530cdae4cff2d84d166ec1239e54bf332dbfac4a71bf60d121f8e85e175364a4e280a520292269b6cf9d074368309adf9 + checksum: 10/cf412f03a33886db0a3aac70bb4165588f4c5b3c6f8fc91520b71491e5537800b6c2c73ed52015617f6e191eb4644c73c92973960a1999779c62a200ee4c231d languageName: node linkType: hard @@ -8299,10 +8016,3 @@ __metadata: checksum: 10/846fd73e1af0def79c19d510ea9e4a795544a67d5b34b7e1c4d0425bf6bfd1c719446d94cdfa1721c1987d891321d61f779e8236fde517dc0e524aa851a6eff1 languageName: node linkType: hard - -"zwitch@npm:^2.0.4": - version: 2.0.4 - resolution: "zwitch@npm:2.0.4" - checksum: 10/f22ec5fc2d5f02c423c93d35cdfa83573a3a3bd98c66b927c368ea4d0e7252a500df2a90a6b45522be536a96a73404393c958e945fdba95e6832c200791702b6 - languageName: node - linkType: hard