From 1b3256a14e8d1f310daee1897cc1e48bdffcb141 Mon Sep 17 00:00:00 2001 From: Tim B <79199034+timbrinded@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:54:37 +0100 Subject: [PATCH] Feat/upgrade vitest (#425) * update pkgs * new menu * fmt * add api key * changeset * newest vitest --- .changeset/shaggy-dingos-notice.md | 11 + .github/workflows/main.yml | 1 + packages/cli/package.json | 12 +- packages/cli/src/cmds/main.ts | 64 +-- packages/cli/src/cmds/runTests.ts | 7 + .../src/internal/cmdFunctions/downloader.ts | 6 +- packages/types/package.json | 4 +- packages/util/package.json | 6 +- pnpm-lock.yaml | 364 +++++++++--------- test/package.json | 10 +- 10 files changed, 245 insertions(+), 240 deletions(-) create mode 100644 .changeset/shaggy-dingos-notice.md diff --git a/.changeset/shaggy-dingos-notice.md b/.changeset/shaggy-dingos-notice.md new file mode 100644 index 00000000..939da508 --- /dev/null +++ b/.changeset/shaggy-dingos-notice.md @@ -0,0 +1,11 @@ +--- +"@moonwall/types": patch +"@moonwall/util": patch +"@moonwall/cli": patch +"@moonwall/tests": patch +--- + +Update Vitest +- Use Vitest 2.0.0 +- New menu graphics! +- GITHUB_TOKEN support on downloader feature \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index beef615e..2bec4c82 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,7 @@ on: - "**" env: WSS_URL: ws://127.0.0.1:9955 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: build: diff --git a/packages/cli/package.json b/packages/cli/package.json index e34a5761..3c5c9b4c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -70,10 +70,11 @@ "@polkadot/types-codec": "12.1.1", "@polkadot/util": "12.6.2", "@polkadot/util-crypto": "12.6.2", - "@vitest/ui": "1.6.0", + "@vitest/ui": "2.0.1", "@zombienet/orchestrator": "0.0.87", "@zombienet/utils": "0.0.25", "bottleneck": "2.19.5", + "cfonts": "^3.3.0", "chalk": "5.3.0", "clear": "0.1.0", "cli-progress": "3.12.0", @@ -87,8 +88,9 @@ "jsonc-parser": "3.3.1", "minimatch": "9.0.5", "semver": "7.6.2", - "viem": "2.17.0", - "vitest": "1.6.0", + "viem": "2.17.3", + "vitest": "2.0.1", + "vue": "^3.4.31", "web3": "4.10.0", "web3-providers-ws": "^4.0.7", "ws": "8.18.0", @@ -104,10 +106,10 @@ "devDependencies": { "@biomejs/biome": "1.8.3", "@types/clear": "^0.1.4", - "@types/cli-progress": "3.11.5", + "@types/cli-progress": "3.11.6", "@types/debug": "4.1.12", "@types/inquirer": "^9.0.7", - "@types/node": "20.14.9", + "@types/node": "20.14.10", "@types/semver": "^7.5.8", "@types/ws": "^8.5.10", "@types/yargs": "17.0.32", diff --git a/packages/cli/src/cmds/main.ts b/packages/cli/src/cmds/main.ts index 73ba2419..66bd1a99 100644 --- a/packages/cli/src/cmds/main.ts +++ b/packages/cli/src/cmds/main.ts @@ -3,6 +3,7 @@ import chalk from "chalk"; import clear from "clear"; import colors from "colors"; import fs from "node:fs"; +import cfonts from "cfonts"; import inquirer from "inquirer"; import PressToContinuePrompt from "inquirer-press-to-continue"; import path from "node:path"; @@ -445,55 +446,24 @@ const printIntro = async () => { console.error(`Fetch Error: ${error}`); } - const logo = - chalk.cyan(`\n - #################### - ############################ - ################################### - ######################################## - ########################################### - ############################################## - ################################################ - .################################################# - ################################################## - ################################################## -`) + - chalk.red(` -🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - 🧱🧱🧱🧱 🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱🧱 - -\n`); - process.stdout.write(logo); - process.stdout.write( - colors.rainbow( - "================================================================================\n" - ) - ); + cfonts.say("Moonwall", { + gradient: ["#FF66FF", "#9966FF", "#99CCFF", "#99FFFF", "#33FFFF", "#3366FF"], + transitionGradient: true, + lineHeight: 4, + }); - if (remoteVersion !== "unknown" && lt(currentVersion, new SemVer(remoteVersion))) { - process.stdout.write( - chalk.bgCyan.white( - ` MOONWALL V${currentVersion.version} (New version ${remoteVersion} available!) \n` - ) - ); - } else { - process.stdout.write( - chalk.bgCyan.white( - ` MOONWALL V${currentVersion.version} \n` - ) - ); - } + const versionText = + remoteVersion !== "unknown" && lt(currentVersion, new SemVer(remoteVersion)) + ? `V${currentVersion.version} (New version ${remoteVersion} available!) ${currentVersion.version}` + : `V${currentVersion.version}`; - process.stdout.write( - colors.rainbow( - "================================================================================\n" - ) - ); + const dividerLength = 90; + const leftPadding = Math.floor((dividerLength - versionText.length) / 2); + const rightPadding = dividerLength - versionText.length - leftPadding; + + const formattedDivider = `${colors.rainbow("=".repeat(leftPadding))}${chalk.bgCyan.grey(versionText)}${colors.rainbow("=".repeat(rightPadding))}\n`; + + console.log(formattedDivider); }; const getExtString = (file: string) => { diff --git a/packages/cli/src/cmds/runTests.ts b/packages/cli/src/cmds/runTests.ts index e9fa6050..cec3d687 100644 --- a/packages/cli/src/cmds/runTests.ts +++ b/packages/cli/src/cmds/runTests.ts @@ -102,6 +102,7 @@ export async function executeTests(env: Environment, testRunArgs?: testRunArgs) const options = new VitestOptionsBuilder() .setReporters(env.reporters || ["default"]) .setOutputFile(env.reportFile) + .setName(env.name) .setTimeout(env.timeout || globalConfig.defaultTestTimeout) .setInclude(env.include || ["**/*{test,spec,test_,test-}*{ts,mts,cts}"]) .addThreadConfig(env.multiThreads) @@ -150,6 +151,7 @@ class VitestOptionsBuilder { optimizer: { ssr: { enabled: false }, web: { enabled: false } }, }, include: ["**/*{test,spec,test_,test-}*{ts,mts,cts}"], + onConsoleLog(log) { if (filterList.includes(log.trim())) return false; if (log.includes("has multiple versions, ensure that there is only one installed.")) { @@ -158,6 +160,11 @@ class VitestOptionsBuilder { }, }; + setName(name: string): this { + this.options.name = name; + return this; + } + setReporters(reporters: string[]): this { this.options.reporters = reporters; return this; diff --git a/packages/cli/src/internal/cmdFunctions/downloader.ts b/packages/cli/src/internal/cmdFunctions/downloader.ts index 7003bfcf..4b388e95 100644 --- a/packages/cli/src/internal/cmdFunctions/downloader.ts +++ b/packages/cli/src/internal/cmdFunctions/downloader.ts @@ -17,7 +17,11 @@ export async function downloader(url: string, outputPath: string): Promise console.log("You've passed a WebSocket URL to fetch. Is this intended?"); } - const response = await fetch(url); + const headers: any = {}; + if (process.env.GITHUB_TOKEN) { + headers.Authorization = `Bearer ${process.env.GITHUB_TOKEN}`; + } + const response = await fetch(url, { headers }); if (!response.body) { throw new Error("No response body"); diff --git a/packages/types/package.json b/packages/types/package.json index 66e006cd..e4dfd215 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -59,12 +59,12 @@ "@polkadot/types": "12.1.1", "@polkadot/util": "12.6.2", "@polkadot/util-crypto": "12.6.2", - "@types/node": "20.14.9", + "@types/node": "20.14.10", "@zombienet/utils": "0.0.25", "bottleneck": "2.19.5", "debug": "4.3.5", "ethers": "6.13.1", - "viem": "2.17.0", + "viem": "2.17.3", "web3": "4.10.0" }, "peerDependencies": { diff --git a/packages/util/package.json b/packages/util/package.json index c9d8fed2..394034ca 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -75,8 +75,8 @@ "inquirer-press-to-continue": "1.2.0", "rlp": "3.0.0", "semver": "7.6.2", - "viem": "2.17.0", - "vitest": "1.6.0", + "viem": "2.17.3", + "vitest": "2.0.1", "web3": "4.10.0", "ws": "8.18.0", "yaml": "2.4.5", @@ -89,7 +89,7 @@ "devDependencies": { "@biomejs/biome": "1.8.3", "@types/debug": "4.1.12", - "@types/node": "20.14.9", + "@types/node": "20.14.10", "@types/ws": "^8.5.10", "@types/yargs": "17.0.32", "tsup": "8.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebfc63aa..66b4ce8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,17 +70,20 @@ importers: specifier: 12.6.2 version: 12.6.2(@polkadot/util@12.6.2) '@vitest/ui': - specifier: 1.6.0 - version: 1.6.0(vitest@1.6.0) + specifier: 2.0.1 + version: 2.0.1(vitest@2.0.1) '@zombienet/orchestrator': specifier: 0.0.87 - version: 0.0.87(@polkadot/util@12.6.2)(@types/node@20.14.9) + version: 0.0.87(@polkadot/util@12.6.2)(@types/node@20.14.10) '@zombienet/utils': specifier: 0.0.25 - version: 0.0.25(@types/node@20.14.9)(typescript@5.5.3) + version: 0.0.25(@types/node@20.14.10)(typescript@5.5.3) bottleneck: specifier: 2.19.5 version: 2.19.5 + cfonts: + specifier: ^3.3.0 + version: 3.3.0 chalk: specifier: 5.3.0 version: 5.3.0 @@ -121,11 +124,14 @@ importers: specifier: 7.6.2 version: 7.6.2 viem: - specifier: 2.17.0 - version: 2.17.0(typescript@5.5.3) + specifier: 2.17.3 + version: 2.17.3(typescript@5.5.3) vitest: - specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.9)(@vitest/ui@1.6.0) + specifier: 2.0.1 + version: 2.0.1(@types/node@20.14.10)(@vitest/ui@2.0.1) + vue: + specifier: ^3.4.31 + version: 3.4.31(typescript@5.5.3) web3: specifier: 4.10.0 version: 4.10.0(typescript@5.5.3) @@ -149,8 +155,8 @@ importers: specifier: ^0.1.4 version: 0.1.4 '@types/cli-progress': - specifier: 3.11.5 - version: 3.11.5 + specifier: 3.11.6 + version: 3.11.6 '@types/debug': specifier: 4.1.12 version: 4.1.12 @@ -158,8 +164,8 @@ importers: specifier: ^9.0.7 version: 9.0.7 '@types/node': - specifier: 20.14.9 - version: 20.14.9 + specifier: 20.14.10 + version: 20.14.10 '@types/semver': specifier: ^7.5.8 version: 7.5.8 @@ -200,11 +206,11 @@ importers: specifier: 12.6.2 version: 12.6.2(@polkadot/util@12.6.2) '@types/node': - specifier: 20.14.9 - version: 20.14.9 + specifier: 20.14.10 + version: 20.14.10 '@zombienet/utils': specifier: 0.0.25 - version: 0.0.25(@types/node@20.14.9)(typescript@5.5.3) + version: 0.0.25(@types/node@20.14.10)(typescript@5.5.3) bottleneck: specifier: 2.19.5 version: 2.19.5 @@ -215,8 +221,8 @@ importers: specifier: 6.13.1 version: 6.13.1 viem: - specifier: 2.17.0 - version: 2.17.0(typescript@5.5.3) + specifier: 2.17.3 + version: 2.17.3(typescript@5.5.3) web3: specifier: 4.10.0 version: 4.10.0(typescript@5.5.3) @@ -306,11 +312,11 @@ importers: specifier: 7.6.2 version: 7.6.2 viem: - specifier: 2.17.0 - version: 2.17.0(typescript@5.5.3) + specifier: 2.17.3 + version: 2.17.3(typescript@5.5.3) vitest: - specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.9)(@vitest/ui@1.6.0) + specifier: 2.0.1 + version: 2.0.1(@types/node@20.14.10)(@vitest/ui@2.0.1) web3: specifier: 4.10.0 version: 4.10.0(typescript@5.5.3) @@ -331,8 +337,8 @@ importers: specifier: 4.1.12 version: 4.1.12 '@types/node': - specifier: 20.14.9 - version: 20.14.9 + specifier: 20.14.10 + version: 20.14.10 '@types/ws': specifier: ^8.5.10 version: 8.5.10 @@ -386,14 +392,14 @@ importers: specifier: ^9.0.7 version: 9.0.7 '@types/node': - specifier: 20.14.9 - version: 20.14.9 + specifier: 20.14.10 + version: 20.14.10 '@types/yargs': specifier: 17.0.32 version: 17.0.32 '@vitest/ui': - specifier: 1.6.0 - version: 1.6.0(vitest@1.6.0) + specifier: 2.0.1 + version: 2.0.1(vitest@2.0.1) chai: specifier: 5.1.1 version: 5.1.1 @@ -404,8 +410,8 @@ importers: specifier: 6.13.1 version: 6.13.1 pnpm: - specifier: 9.4.0 - version: 9.4.0 + specifier: 9.5.0 + version: 9.5.0 solc: specifier: 0.8.26 version: 0.8.26 @@ -416,11 +422,11 @@ importers: specifier: 5.5.3 version: 5.5.3 viem: - specifier: 2.17.0 - version: 2.17.0(typescript@5.5.3) + specifier: 2.17.3 + version: 2.17.3(typescript@5.5.3) vitest: - specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.9)(@vitest/ui@1.6.0) + specifier: 2.0.1 + version: 2.0.1(@types/node@20.14.10)(@vitest/ui@2.0.1) web3: specifier: 4.10.0 version: 4.10.0(typescript@5.5.3) @@ -685,6 +691,13 @@ packages: '@algolia/logger-common': 4.24.0 '@algolia/requester-common': 4.24.0 + /@ampproject/remapping@2.3.0: + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + /@asamuzakjp/dom-selector@2.0.2: resolution: {integrity: sha512-x1KXOatwofR6ZAYzXRBL5wrdV0vwNxlTCK9NCuLqAzQYARqGcvFwiJA6A1ERuh+dgeA4Dxm3JBYictIes+SqUQ==} dependencies: @@ -696,12 +709,10 @@ packages: /@babel/helper-string-parser@7.24.7: resolution: {integrity: sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==} engines: {node: '>=6.9.0'} - dev: true /@babel/helper-validator-identifier@7.24.7: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} - dev: true /@babel/parser@7.24.7: resolution: {integrity: sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==} @@ -709,7 +720,6 @@ packages: hasBin: true dependencies: '@babel/types': 7.24.7 - dev: true /@babel/runtime@7.24.7: resolution: {integrity: sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==} @@ -725,7 +735,6 @@ packages: '@babel/helper-string-parser': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 - dev: true /@biomejs/biome@1.8.3: resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==} @@ -1287,7 +1296,6 @@ packages: '@jridgewell/set-array': 1.2.1 '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.25 - dev: true /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} @@ -1296,7 +1304,6 @@ packages: /@jridgewell/set-array@1.2.1: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - dev: true /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} @@ -1306,7 +1313,6 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /@jridgewell/trace-mapping@0.3.9: resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} @@ -2381,7 +2387,7 @@ packages: /@types/bn.js@5.1.5: resolution: {integrity: sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==} dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 /@types/bun@1.1.6: resolution: {integrity: sha512-uJgKjTdX0GkWEHZzQzFsJkWp5+43ZS7HC8sZPFnOwnSo1AsNl2q9o2bFeS23disNDqbggEgyFkKCHl/w8iZsMA==} @@ -2393,10 +2399,10 @@ packages: resolution: {integrity: sha512-4nJjoilJPTbYF7Q4y5+F7JFDK8QdcwOItzwVv3RDEMWALT9Mx9UzfxCiUfpbFK05REhieXTCvhbNkiDW/Wfejw==} dev: true - /@types/cli-progress@3.11.5: - resolution: {integrity: sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g==} + /@types/cli-progress@3.11.6: + resolution: {integrity: sha512-cE3+jb9WRlu+uOSAugewNpITJDt1VF8dHOopPO4IABFc3SXYL5WE/+PTz/FCdZRRfIujiWW3n3aMbv1eIGVRWA==} dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 dev: true /@types/debug@4.1.12: @@ -2459,8 +2465,8 @@ packages: undici-types: 5.26.5 dev: false - /@types/node@20.14.9: - resolution: {integrity: sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==} + /@types/node@20.14.10: + resolution: {integrity: sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==} dependencies: undici-types: 5.26.5 @@ -2471,7 +2477,7 @@ packages: /@types/through@0.0.33: resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 dev: true /@types/web-bluetooth@0.0.20: @@ -2481,12 +2487,12 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 /@types/ws@8.5.3: resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 /@types/yargs-parser@21.0.3: resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -2505,56 +2511,55 @@ packages: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.3.3(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.10) vue: 3.4.31(typescript@5.5.3) dev: true - /@vitest/expect@1.6.0: - resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + /@vitest/expect@2.0.1: + resolution: {integrity: sha512-yw70WL3ZwzbI2O3MOXYP2Shf4vqVkS3q5FckLJ6lhT9VMMtDyWdofD53COZcoeuHwsBymdOZp99r5bOr5g+oeA==} dependencies: - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - chai: 4.4.1 + '@vitest/spy': 2.0.1 + '@vitest/utils': 2.0.1 + chai: 5.1.1 - /@vitest/runner@1.6.0: - resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + /@vitest/runner@2.0.1: + resolution: {integrity: sha512-XfcSXOGGxgR2dQ466ZYqf0ZtDLLDx9mZeQcKjQDLQ9y6Cmk2Wl7wxMuhiYK4Fo1VxCtLcFEGW2XpcfMuiD1Maw==} dependencies: - '@vitest/utils': 1.6.0 - p-limit: 5.0.0 + '@vitest/utils': 2.0.1 pathe: 1.1.2 - /@vitest/snapshot@1.6.0: - resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + /@vitest/snapshot@2.0.1: + resolution: {integrity: sha512-rst79a4Q+J5vrvHRapdfK4BdqpMH0eF58jVY1vYeBo/1be+nkyenGI5SCSohmjf6MkCkI20/yo5oG+0R8qrAnA==} dependencies: magic-string: 0.30.10 pathe: 1.1.2 pretty-format: 29.7.0 - /@vitest/spy@1.6.0: - resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + /@vitest/spy@2.0.1: + resolution: {integrity: sha512-NLkdxbSefAtJN56GtCNcB4GiHFb5i9q1uh4V229lrlTZt2fnwsTyjLuWIli1xwK2fQspJJmHXHyWx0Of3KTXWA==} dependencies: - tinyspy: 2.2.1 + tinyspy: 3.0.0 - /@vitest/ui@1.6.0(vitest@1.6.0): - resolution: {integrity: sha512-k3Lyo+ONLOgylctiGovRKy7V4+dIN2yxstX3eY5cWFXH6WP+ooVX79YSyi0GagdTQzLmT43BF27T0s6dOIPBXA==} + /@vitest/ui@2.0.1(vitest@2.0.1): + resolution: {integrity: sha512-nkAHK2M6Y1ylrhGS0T3NBKeztKzFeACodoycfHn8YrSJBzA798SqWv/GJhwW+uYtAuczucSTC1JAbs4DhgyP8g==} peerDependencies: - vitest: 1.6.0 + vitest: 2.0.1 dependencies: - '@vitest/utils': 1.6.0 + '@vitest/utils': 2.0.1 fast-glob: 3.3.2 fflate: 0.8.2 flatted: 3.3.1 pathe: 1.1.2 picocolors: 1.0.1 sirv: 2.0.4 - vitest: 1.6.0(@types/node@20.14.9)(@vitest/ui@1.6.0) + vitest: 2.0.1(@types/node@20.14.10)(@vitest/ui@2.0.1) - /@vitest/utils@1.6.0: - resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + /@vitest/utils@2.0.1: + resolution: {integrity: sha512-STH+2fHZxlveh1mpU4tKzNgRk7RZJyr6kFGJYCI5vocdfqfPsQrgVC6k7dBWHfin5QNB4TLvRS0Ckly3Dt1uWw==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 - loupe: 2.3.7 + loupe: 3.1.1 pretty-format: 29.7.0 /@vue/compiler-core@3.4.31: @@ -2565,14 +2570,12 @@ packages: entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.2.0 - dev: true /@vue/compiler-dom@3.4.31: resolution: {integrity: sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==} dependencies: '@vue/compiler-core': 3.4.31 '@vue/shared': 3.4.31 - dev: true /@vue/compiler-sfc@3.4.31: resolution: {integrity: sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==} @@ -2586,14 +2589,12 @@ packages: magic-string: 0.30.10 postcss: 8.4.39 source-map-js: 1.2.0 - dev: true /@vue/compiler-ssr@3.4.31: resolution: {integrity: sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==} dependencies: '@vue/compiler-dom': 3.4.31 '@vue/shared': 3.4.31 - dev: true /@vue/devtools-api@7.3.5: resolution: {integrity: sha512-BSdBBu5hOIv+gBJC9jzYMh5bC27FQwjWLSb8fVAniqlL9gvsqvK27xTgczMf+hgctlszMYQnRm3bpY/j8vhPqw==} @@ -2623,14 +2624,12 @@ packages: resolution: {integrity: sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==} dependencies: '@vue/shared': 3.4.31 - dev: true /@vue/runtime-core@3.4.31: resolution: {integrity: sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==} dependencies: '@vue/reactivity': 3.4.31 '@vue/shared': 3.4.31 - dev: true /@vue/runtime-dom@3.4.31: resolution: {integrity: sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==} @@ -2639,7 +2638,6 @@ packages: '@vue/runtime-core': 3.4.31 '@vue/shared': 3.4.31 csstype: 3.1.3 - dev: true /@vue/server-renderer@3.4.31(vue@3.4.31): resolution: {integrity: sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==} @@ -2649,11 +2647,9 @@ packages: '@vue/compiler-ssr': 3.4.31 '@vue/shared': 3.4.31 vue: 3.4.31(typescript@5.5.3) - dev: true /@vue/shared@3.4.31: resolution: {integrity: sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==} - dev: true /@vueuse/core@10.11.0(vue@3.4.31): resolution: {integrity: sha512-x3sD4Mkm7PJ+pcq3HX8PLPBadXCAlSDR/waK87dz0gQE+qJnaaFhc/dZVfJz+IUYzTMVGum2QlR7ImiJQN4s6g==} @@ -2730,14 +2726,14 @@ packages: - vue dev: true - /@zombienet/orchestrator@0.0.87(@polkadot/util@12.6.2)(@types/node@20.14.9): + /@zombienet/orchestrator@0.0.87(@polkadot/util@12.6.2)(@types/node@20.14.10): resolution: {integrity: sha512-kORyR8/JgiP0BStooCbcyUkhPOI+RXKRs1QEqUN+kKtIN7PvpEjtXlhxROWiqpIQqhcDsHmkOxFcxSq1T0Glaw==} engines: {node: '>=18'} dependencies: '@polkadot/api': 11.3.1 '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2)(@polkadot/util@12.6.2) '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) - '@zombienet/utils': 0.0.25(@types/node@20.14.9)(typescript@5.5.3) + '@zombienet/utils': 0.0.25(@types/node@20.14.10)(typescript@5.5.3) JSONStream: 1.3.5 chai: 4.4.1 debug: 4.3.5(supports-color@8.1.1) @@ -2765,7 +2761,7 @@ packages: - utf-8-validate dev: false - /@zombienet/utils@0.0.25(@types/node@20.14.9)(typescript@5.5.3): + /@zombienet/utils@0.0.25(@types/node@20.14.10)(typescript@5.5.3): resolution: {integrity: sha512-VS+tWmdZ8ozRkA1Lgb/Si9iISgJz8AEQpPnlnlIg3lfVHYFqAD7M5DpiFv24AAEBSraokVhUv9E9E1uE4d4f0w==} engines: {node: '>=18'} dependencies: @@ -2774,7 +2770,7 @@ packages: mocha: 10.6.0 nunjucks: 3.2.4 toml: 3.0.0 - ts-node: 10.9.2(@types/node@20.14.9)(typescript@5.5.3) + ts-node: 10.9.2(@types/node@20.14.10)(typescript@5.5.3) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -3001,11 +2997,11 @@ packages: /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: false /assertion-error@2.0.1: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - dev: true /asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} @@ -3190,6 +3186,15 @@ packages: engines: {node: '>=10'} dev: false + /cfonts@3.3.0: + resolution: {integrity: sha512-RlVxeEw2FXWI5Bs9LD0/Ef3bsQIc9m6lK/DINN20HIW0Y0YHUO2jjy88cot9YKZITiRTCdWzTfLmTyx47HeSLA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + supports-color: 8.1.1 + window-size: 1.1.1 + dev: false + /chai@4.4.1: resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} engines: {node: '>=4'} @@ -3201,6 +3206,7 @@ packages: loupe: 2.3.7 pathval: 1.1.1 type-detect: 4.0.8 + dev: false /chai@5.1.1: resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} @@ -3211,7 +3217,6 @@ packages: deep-eql: 5.0.2 loupe: 3.1.1 pathval: 2.0.0 - dev: true /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -3247,11 +3252,11 @@ packages: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} dependencies: get-func-name: 2.0.2 + dev: false /check-error@2.1.1: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} - dev: true /chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} @@ -3429,9 +3434,6 @@ packages: /concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - /confbox@0.1.7: - resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} - /config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} dependencies: @@ -3498,7 +3500,6 @@ packages: /csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - dev: true /data-uri-to-buffer@4.0.1: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} @@ -3550,11 +3551,11 @@ packages: engines: {node: '>=6'} dependencies: type-detect: 4.0.8 + dev: false /deep-eql@5.0.2: resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - dev: true /deep-equal@2.2.3: resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} @@ -3606,6 +3607,13 @@ packages: has-property-descriptors: 1.0.2 object-keys: 1.1.1 + /define-property@1.0.0: + resolution: {integrity: sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 1.0.3 + dev: false + /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -3780,7 +3788,6 @@ packages: /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: true /estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -4403,6 +4410,13 @@ packages: sprintf-js: 1.1.3 optional: true + /is-accessor-descriptor@1.0.1: + resolution: {integrity: sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==} + engines: {node: '>= 0.10'} + dependencies: + hasown: 2.0.2 + dev: false + /is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} @@ -4438,10 +4452,21 @@ packages: has-tostringtag: 1.0.2 dev: false + /is-buffer@1.1.6: + resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} + dev: false + /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} + /is-data-descriptor@1.0.1: + resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} + engines: {node: '>= 0.4'} + dependencies: + hasown: 2.0.2 + dev: false + /is-date-object@1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} @@ -4449,6 +4474,14 @@ packages: has-tostringtag: 1.0.2 dev: false + /is-descriptor@1.0.3: + resolution: {integrity: sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==} + engines: {node: '>= 0.4'} + dependencies: + is-accessor-descriptor: 1.0.1 + is-data-descriptor: 1.0.1 + dev: false + /is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -4496,6 +4529,13 @@ packages: has-tostringtag: 1.0.2 dev: false + /is-number@3.0.0: + resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: false + /is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} @@ -4642,9 +4682,6 @@ packages: resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} dev: true - /js-tokens@9.0.0: - resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} - /js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -4741,6 +4778,13 @@ packages: engines: {'0': node >= 0.2.0} dev: false + /kind-of@3.2.2: + resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + dev: false + /libp2p-crypto@0.21.2: resolution: {integrity: sha512-EXFrhSpiHtJ+/L8xXDvQNK5VjUMG51u878jzZcaT5XhuN/zFg6PWJFnl/qB2Y2j7eMWnvCRP7Kp+ua2H36cG4g==} engines: {node: '>=12.0.0'} @@ -4779,13 +4823,6 @@ packages: strip-bom: 3.0.0 dev: true - /local-pkg@0.5.0: - resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} - engines: {node: '>=14'} - dependencies: - mlly: 1.7.1 - pkg-types: 1.1.3 - /locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -4834,12 +4871,12 @@ packages: resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} dependencies: get-func-name: 2.0.2 + dev: false /loupe@3.1.1: resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} dependencies: get-func-name: 2.0.2 - dev: true /lru-cache@10.3.0: resolution: {integrity: sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==} @@ -5056,14 +5093,6 @@ packages: engines: {node: '>=10'} hasBin: true - /mlly@1.7.1: - resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} - dependencies: - acorn: 8.12.1 - pathe: 1.1.2 - pkg-types: 1.1.3 - ufo: 1.5.3 - /mocha@10.6.0: resolution: {integrity: sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==} engines: {node: '>= 14.0.0'} @@ -5417,12 +5446,6 @@ packages: dependencies: yocto-queue: 0.1.0 - /p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} - dependencies: - yocto-queue: 1.1.1 - /p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -5511,11 +5534,11 @@ packages: /pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: false /pathval@2.0.0: resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} engines: {node: '>= 14.16'} - dev: true /peer-id@0.16.0: resolution: {integrity: sha512-EmL7FurFUduU9m1PS9cfJ5TAuCvxKQ7DKpfx3Yj6IKWyBRtosriFuOag/l3ni/dtPgPLwiA4R9IvpL7hsDLJuQ==} @@ -5600,15 +5623,8 @@ packages: find-up: 4.1.0 dev: true - /pkg-types@1.1.3: - resolution: {integrity: sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==} - dependencies: - confbox: 0.1.7 - mlly: 1.7.1 - pathe: 1.1.2 - - /pnpm@9.4.0: - resolution: {integrity: sha512-9Um4pSydK4U2di+ZwHIiBe/Fr5E+d4NdvMw7CwssqefcgCK3gGLBcpHEjoh0nHDOiOtadPH6jEv14Yu0bIvYOg==} + /pnpm@9.5.0: + resolution: {integrity: sha512-FAA2gwEkYY1iSiGHtQ0EKJ1aCH8ybJ7fwMzXM9dsT1LDoxPU/BSHlKKp2BVTAWAE5nQujPhQZwJopzh/wiDJAw==} engines: {node: '>=18.12'} hasBin: true dev: true @@ -5736,7 +5752,7 @@ packages: '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/long': 4.0.2 - '@types/node': 20.14.9 + '@types/node': 20.14.10 long: 4.0.0 dev: false @@ -6321,11 +6337,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /strip-literal@2.1.0: - resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} - dependencies: - js-tokens: 9.0.0 - /sucrase@3.35.0: resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} engines: {node: '>=16 || 14 >=14.17'} @@ -6431,12 +6442,12 @@ packages: /tinybench@2.8.0: resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} - /tinypool@0.8.4: - resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} - engines: {node: '>=14.0.0'} + /tinypool@1.0.0: + resolution: {integrity: sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==} + engines: {node: ^18.0.0 || >=20.0.0} - /tinyspy@2.2.1: - resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + /tinyspy@3.0.0: + resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} /tmp-promise@3.0.3: @@ -6459,7 +6470,6 @@ packages: /to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} - dev: true /to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -6541,7 +6551,7 @@ packages: yn: 3.1.1 dev: true - /ts-node@10.9.2(@types/node@20.14.9)(typescript@5.5.3): + /ts-node@10.9.2(@types/node@20.14.10)(typescript@5.5.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6560,7 +6570,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.9 + '@types/node': 20.14.10 acorn: 8.12.1 acorn-walk: 8.3.3 arg: 4.1.3 @@ -6636,6 +6646,7 @@ packages: /type-detect@4.0.8: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} + dev: false /type-fest@0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} @@ -6751,9 +6762,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - /ufo@1.5.3: - resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} - /uint8arrays@3.1.1: resolution: {integrity: sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==} dependencies: @@ -6822,8 +6830,8 @@ packages: /v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - /viem@2.17.0(typescript@5.5.3): - resolution: {integrity: sha512-+gaVlsfDsHL1oYdjpatdRxW1WK/slLYVvpOws3fEdLfQFUToezKI6YLC9l1g2uKm4Hg3OdGX1KQy/G7/58tTKQ==} + /viem@2.17.3(typescript@5.5.3): + resolution: {integrity: sha512-FY/1uBQWfko4Esy8mU1RamvL64TLy91LZwFyQJ20E6AI3vTTEOctWfSn0pkMKa3okq4Gxs5dJE7q1hmWOQ7xcw==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -6844,8 +6852,8 @@ packages: - utf-8-validate - zod - /vite-node@1.6.0(@types/node@20.14.9): - resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} + /vite-node@2.0.1(@types/node@20.14.10): + resolution: {integrity: sha512-nVd6kyhPAql0s+xIVJzuF+RSRH8ZimNrm6U8ZvTA4MXv8CHI17TFaQwRaFiK75YX6XeFqZD4IoAaAfi9OR1XvQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -6853,7 +6861,7 @@ packages: debug: 4.3.5(supports-color@8.1.1) pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.3.3(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.10) transitivePeerDependencies: - '@types/node' - less @@ -6864,7 +6872,7 @@ packages: - supports-color - terser - /vite@5.3.3(@types/node@20.14.9): + /vite@5.3.3(@types/node@20.14.10): resolution: {integrity: sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -6892,7 +6900,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.14.9 + '@types/node': 20.14.10 esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.18.0 @@ -6924,7 +6932,7 @@ packages: mark.js: 8.11.1 minisearch: 6.3.0 shiki: 1.10.1 - vite: 5.3.3(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.10) vue: 3.4.31(typescript@5.5.3) transitivePeerDependencies: - '@algolia/client-search' @@ -6954,15 +6962,15 @@ packages: - universal-cookie dev: true - /vitest@1.6.0(@types/node@20.14.9)(@vitest/ui@1.6.0): - resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} + /vitest@2.0.1(@types/node@20.14.10)(@vitest/ui@2.0.1): + resolution: {integrity: sha512-PBPvNXRJiywtI9NmbnEqHIhcXlk8mB0aKf6REQIaYGY4JtWF1Pg8Am+N0vAuxdg/wUSlxPSVJr8QdjwcVxc2Hg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.6.0 - '@vitest/ui': 1.6.0 + '@vitest/browser': 2.0.1 + '@vitest/ui': 2.0.1 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -6979,27 +6987,25 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.14.9 - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/ui': 1.6.0(vitest@1.6.0) - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.3 - chai: 4.4.1 + '@ampproject/remapping': 2.3.0 + '@types/node': 20.14.10 + '@vitest/expect': 2.0.1 + '@vitest/runner': 2.0.1 + '@vitest/snapshot': 2.0.1 + '@vitest/spy': 2.0.1 + '@vitest/ui': 2.0.1(vitest@2.0.1) + '@vitest/utils': 2.0.1 + chai: 5.1.1 debug: 4.3.5(supports-color@8.1.1) execa: 8.0.1 - local-pkg: 0.5.0 magic-string: 0.30.10 pathe: 1.1.2 picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 2.1.0 tinybench: 2.8.0 - tinypool: 0.8.4 - vite: 5.3.3(@types/node@20.14.9) - vite-node: 1.6.0(@types/node@20.14.9) + tinypool: 1.0.0 + vite: 5.3.3(@types/node@20.14.10) + vite-node: 2.0.1(@types/node@20.14.10) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -7039,7 +7045,6 @@ packages: '@vue/server-renderer': 3.4.31(vue@3.4.31) '@vue/shared': 3.4.31 typescript: 5.5.3 - dev: true /w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} @@ -7432,6 +7437,15 @@ packages: string-width: 4.2.3 optional: true + /window-size@1.1.1: + resolution: {integrity: sha512-5D/9vujkmVQ7pSmc0SCBmHXbkv6eaHwXEx65MywhmUMsI8sGqJ972APq1lotfcwMKPFLuCFfL8xGHLIp7jaBmA==} + engines: {node: '>= 0.10.0'} + hasBin: true + dependencies: + define-property: 1.0.0 + is-number: 3.0.0 + dev: false + /workerpool@6.5.1: resolution: {integrity: sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==} dev: false @@ -7563,10 +7577,6 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - /yocto-queue@1.1.1: - resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} - engines: {node: '>=12.20'} - /yoctocolors-cjs@2.1.2: resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} engines: {node: '>=18'} diff --git a/test/package.json b/test/package.json index 0f62ad8f..e78604f6 100644 --- a/test/package.json +++ b/test/package.json @@ -27,18 +27,18 @@ "@polkadot/api": "12.1.1", "@polkadot/util": "12.6.2", "@types/inquirer": "^9.0.7", - "@types/node": "20.14.9", + "@types/node": "20.14.10", "@types/yargs": "17.0.32", - "@vitest/ui": "1.6.0", + "@vitest/ui": "2.0.1", "chai": "5.1.1", "chalk": "5.3.0", "ethers": "6.13.1", - "pnpm": "9.4.0", + "pnpm": "9.5.0", "solc": "0.8.26", "tsx": "4.16.2", "typescript": "5.5.3", - "viem": "2.17.0", - "vitest": "1.6.0", + "viem": "2.17.3", + "vitest": "2.0.1", "web3": "4.10.0", "yargs": "17.7.2" },