diff --git a/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/SyncOnboardingCompanion.tsx b/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/SyncOnboardingCompanion.tsx index 4584d5ae3a42..7f971c163f38 100644 --- a/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/SyncOnboardingCompanion.tsx +++ b/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/SyncOnboardingCompanion.tsx @@ -26,6 +26,7 @@ import SeedStep, { SeedPathStatus } from "./SeedStep"; import { analyticsFlowName, StepText } from "./shared"; import OnboardingAppInstallStep from "../../OnboardingAppInstall"; import { getOnboardingStatePolling } from "@ledgerhq/live-common/hw/getOnboardingStatePolling"; +import { isAllowedOnboardingStatePollingErrorDmk } from "@ledgerhq/live-dmk"; import ContinueOnDeviceWithAnim from "./ContinueOnDeviceWithAnim"; import { RecoverState } from "~/renderer/screens/recover/Player"; import TrackPage from "~/renderer/analytics/TrackPage"; @@ -245,6 +246,7 @@ const SyncOnboardingCompanion: React.FC = ({ device: device || null, pollingPeriodMs: POLLING_PERIOD_MS, stopPolling: !isPollingOn, + allowedErrorChecks: [isAllowedOnboardingStatePollingErrorDmk], }); const handleDeviceReady = useCallback(() => { diff --git a/apps/ledger-live-desktop/src/renderer/hooks/useListenToHidDevices.ts b/apps/ledger-live-desktop/src/renderer/hooks/useListenToHidDevices.ts index 9551a92cb590..64708532fc6c 100644 --- a/apps/ledger-live-desktop/src/renderer/hooks/useListenToHidDevices.ts +++ b/apps/ledger-live-desktop/src/renderer/hooks/useListenToHidDevices.ts @@ -14,7 +14,6 @@ export const useListenToHidDevices = () => { const deviceManagementKit = useDeviceManagementKit(); useEffect(() => { - console.log("[[useListenToHidDevices]] init", deviceManagementKit); let sub: Subscription; function syncDevices() { diff --git a/apps/ledger-live-desktop/tsconfig.json b/apps/ledger-live-desktop/tsconfig.json index 122fe1efefeb..27ba5626ad90 100644 --- a/apps/ledger-live-desktop/tsconfig.json +++ b/apps/ledger-live-desktop/tsconfig.json @@ -6,8 +6,8 @@ "jsx": "react", "lib": ["ES2021", "dom"], "target": "esnext", - "module": "nodenext", - "moduleResolution": "nodenext", + "module": "ESNext", + "moduleResolution": "bundler", "baseUrl": ".", "rootDir": ".", "paths": { diff --git a/apps/ledger-live-mobile/src/families/polkadot/NominateFlow/01-Validators.tsx b/apps/ledger-live-mobile/src/families/polkadot/NominateFlow/01-Validators.tsx index 97da803cba85..b691fbcbc2ac 100644 --- a/apps/ledger-live-mobile/src/families/polkadot/NominateFlow/01-Validators.tsx +++ b/apps/ledger-live-mobile/src/families/polkadot/NominateFlow/01-Validators.tsx @@ -27,7 +27,7 @@ import { MAX_NOMINATIONS, hasMinimumBondBalance, } from "@ledgerhq/live-common/families/polkadot/logic"; -import { PolkadotValidatorsRequired } from "@ledgerhq/live-common/families/polkadot/errors"; +import * as PolkadotErrors from "@ledgerhq/live-common/families/polkadot/errors"; import { usePolkadotPreloadData, useSortedValidators, @@ -245,8 +245,9 @@ function NominateSelectValidator({ navigation, route }: Props) { const error = getFirstStatusError(status, "errors"); const warning = getFirstStatusError(status, "warnings"); const maxSelected = validators.length === MAX_NOMINATIONS; - const maybeChill = error instanceof PolkadotValidatorsRequired; - const ignoreError = error instanceof PolkadotValidatorsRequired && !nominations.length; + const maybeChill = error instanceof PolkadotErrors.PolkadotValidatorsRequired; + const ignoreError = + error instanceof PolkadotErrors.PolkadotValidatorsRequired && !nominations.length; // Do not show error on first nominate return ( { + console.log(chalk.blue("Building esm...")); + await esbuild.build({ + ...config, + outdir: "lib/esm", + format: "esm", + platform: "browser", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const buildCjs = async () => { + console.log(chalk.blue("Building cjs...")); + await esbuild.build({ + ...config, + outdir: "lib/cjs", + format: "cjs", + platform: "node", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const buildTypes = async dir => { + console.log(chalk.blue("Building types...")); + await $`tsc --emitDeclarationOnly --outDir ${dir} --moduleResolution bundler -m esnext`; +}; + +const main = async () => { + return Promise.all([buildEsm(), buildCjs(), buildTypes("lib/types")]); +}; + +main().catch(error => { + console.error(error); + process.exit(1); +}); diff --git a/libs/coin-modules/coin-filecoin/package.json b/libs/coin-modules/coin-filecoin/package.json index 03b868ad2d7f..2f660008cb69 100644 --- a/libs/coin-modules/coin-filecoin/package.json +++ b/libs/coin-modules/coin-filecoin/package.json @@ -20,39 +20,66 @@ "publishConfig": { "access": "public" }, - "typesVersions": { - "*": { - "lib-es/*": [ - "lib-es/*" - ], - "specs": [ - "lib/test/bot-specs" - ], - "*": [ - "lib-es/*", - "lib-es/api/*", - "lib-es/bridge/*", - "lib-es/common-logic/*", - "lib-es/signer/*", - "lib-es/test/*", - "lib-es/types/*" - ] - } - }, "exports": { - "./lib-es/*": "./lib-es/*.js", - "./api": "./lib-es/api/index.js", - "./deviceTransactionConfig": "./lib-es/bridge/deviceTransactionConfig.js", - "./erc20": "./lib-es/erc20/tokenAccounts.js", - "./logic": "./lib-es/common-logic/index.js", - "./network": "./lib-es/network/index.js", - "./signer": "./lib-es/signer/index.js", - "./specs": "./lib-es/test/bot-specs.js", - "./transaction": "./lib-es/bridge/transaction.js", - "./types": "./lib-es/types/index.js", - "./*": "./lib-es/*.js", - ".": "./lib-es/index.js", - "./package.json": "./package.json" + "./api": { + "types": "./lib/types/api/index.d.ts", + "require": "./lib/cjs/api/index.js", + "default": "./lib/esm/api/index.js" + }, + "./deviceTransactionConfig": { + "types": "./lib/types/bridge/deviceTransactionConfig.d.ts", + "require": "./lib/cjs/bridge/deviceTransactionConfig.js", + "default": "./lib/esm/bridge/deviceTransactionConfig.js" + }, + "./erc20": { + "types": "./lib/types/erc20/tokenAccounts.d.ts", + "require": "./lib/cjs/erc20/tokenAccounts.js", + "default": "./lib/esm/erc20/tokenAccounts.js" + }, + "./logic": { + "types": "./lib/types/common-logic/index.d.ts", + "require": "./lib/cjs/common-logic/index.js", + "default": "./lib/esm/common-logic/index.js" + }, + "./network": { + "types": "./lib/types/network/index.d.ts", + "require": "./lib/cjs/network/index.js", + "default": "./lib/esm/network/index.js" + }, + "./signer": { + "types": "./lib/types/signer/index.d.ts", + "require": "./lib/cjs/signer/index.js", + "default": "./lib/esm/signer/index.js" + }, + "./specs": { + "types": "./lib/types/test/bot-specs.d.ts", + "require": "./lib/cjs/test/bot-specs.js", + "default": "./lib/esm/test/bot-specs.js" + }, + "./transaction": { + "types": "./lib/types/bridge/transaction.d.ts", + "require": "./lib/cjs/bridge/transaction.js", + "default": "./lib/esm/bridge/transaction.js" + }, + "./types": { + "types": "./lib/types/index.d.ts", + "require": "./lib/cjs/types/index.js", + "default": "./lib/esm/types/index.js" + }, + "./*": { + "types": "./lib/types/*.js", + "require": "./lib/cjs/*.js", + "default": "./lib/esm/*.js" + }, + ".": { + "types": "./lib/types/index.d.ts", + "require": "./lib/cjs/index.js", + "default": "./lib/esm/index.js" + }, + "./package.json": { + "require": "./lib/cjs/package.json", + "default": "./lib/esm/package.json" + } }, "license": "Apache-2.0", "dependencies": { @@ -78,17 +105,19 @@ "@types/jest": "^29.5.10", "@types/lodash": "^4.14.191", "@types/semver": "^7.5.8", + "axios": "1.7.7", + "esbuild": "0.24.2", "jest": "^29.7.0", - "ts-jest": "^29.1.1", - "axios": "1.7.7" + "ts-jest": "^29.1.1" }, "scripts": { "clean": "rimraf lib lib-es", - "build": "tsc --outDir lib-es", + "build": "zx build.mjs", "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-filecoin.json", "prewatch": "pnpm build", - "watch": "tsc --watch", - "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", + "watch": "zx watch.mjs", + "watch:es": "zx watch.mjs --platform esm", + "watch:cjs": "zx watch.mjs --platform cjs", "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", diff --git a/libs/coin-modules/coin-filecoin/tsconfig.json b/libs/coin-modules/coin-filecoin/tsconfig.json index bc73162d68c0..24c98a178929 100644 --- a/libs/coin-modules/coin-filecoin/tsconfig.json +++ b/libs/coin-modules/coin-filecoin/tsconfig.json @@ -8,8 +8,6 @@ "rootDir": "./src", "outDir": "lib", "exactOptionalPropertyTypes": true, - "module": "ESNext", - "moduleResolution": "bundler" }, "include": ["src/**/*", "deviceTransactionConfig.ts", "transaction.ts"] } \ No newline at end of file diff --git a/libs/coin-modules/coin-filecoin/watch.mjs b/libs/coin-modules/coin-filecoin/watch.mjs new file mode 100644 index 000000000000..870f5e1a5965 --- /dev/null +++ b/libs/coin-modules/coin-filecoin/watch.mjs @@ -0,0 +1,86 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +const { platform } = argv; + +const config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + }, +}; + +const getEsmContext = async () => { + console.log(chalk.blue("Getting esm context...")); + + return esbuild.context({ + ...config, + outdir: "lib/esm", + format: "esm", + platform: "browser", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const getCjsContext = async () => { + console.log(chalk.blue("Getting cjs context...")); + + return esbuild.context({ + ...config, + outdir: "lib/cjs", + format: "cjs", + platform: "node", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const watchTypes = async () => { + await $`tsc --watch --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const watch = async () => { + const esmContext = await getEsmContext(); + const cjsContext = await getCjsContext(); + + if (platform === "esm") { + console.log(chalk.blue("Watching esm...")); + await Promise.all([esmContext.watch(), watchTypes()]); + } else if (platform === "cjs") { + console.log(chalk.blue("Watching cjs...")); + await Promise.all([cjsContext.watch(), watchTypes()]); + } else { + console.log(chalk.blue("Watching all...")); + await Promise.all([esmContext.watch(), cjsContext.watch(), watchTypes()]); + } +}; + +watch().catch(error => { + console.error(error); + process.exitCode = error?.exitCode ?? 1; +}); diff --git a/libs/coin-modules/coin-hedera/build.mjs b/libs/coin-modules/coin-hedera/build.mjs new file mode 100644 index 000000000000..eb64332f3905 --- /dev/null +++ b/libs/coin-modules/coin-hedera/build.mjs @@ -0,0 +1,69 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +let config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + }, +}; + +const buildEsm = async () => { + console.log(chalk.blue("Building esm...")); + await esbuild.build({ + ...config, + outdir: "lib/esm", + format: "esm", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const buildCjs = async () => { + console.log(chalk.blue("Building cjs...")); + await esbuild.build({ + ...config, + outdir: "lib/cjs", + format: "cjs", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const buildTypes = async () => { + console.log(chalk.blue("Building types...")); + await $`tsc --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const main = async () => { + return Promise.all([buildEsm(), buildCjs(), buildTypes()]); +}; + +main().catch(error => { + console.error(error); + process.exit(1); +}); diff --git a/libs/coin-modules/coin-hedera/package.json b/libs/coin-modules/coin-hedera/package.json index b44cbdd11368..4cd6f870f7e3 100644 --- a/libs/coin-modules/coin-hedera/package.json +++ b/libs/coin-modules/coin-hedera/package.json @@ -20,61 +20,79 @@ "publishConfig": { "access": "public" }, - "typesVersions": { - "*": { - "lib-es/*": [ - "lib-es/*" - ], - "specs": [ - "lib/test/bot-specs" - ], - "*": [ - "lib-es/*" - ] - } - }, "exports": { - "./api": "./lib-es/api/index.js", - "./deviceTransactionConfig": "./lib-es/deviceTransactionConfig.js", - "./signer": "./lib-es/signer/index.js", - "./specs": "./lib-es/test/bot-specs.js", - "./transaction": "./lib-es/transaction.js", - "./types": "./lib-es/types/index.js", - "./*": "./lib-es/*.js", - ".": "./lib-es/index.js", - "./package.json": "./package.json" + "./api": { + "import": "./lib/esm/api/index.js", + "require": "./lib/cjs/api/index.js" + }, + "./deviceTransactionConfig": { + "import": "./lib/esm/deviceTransactionConfig.js", + "require": "./lib/cjs/deviceTransactionConfig.js" + }, + "./signer": { + "import": "./lib/esm/signer/index.js", + "require": "./lib/cjs/signer/index.js" + }, + "./specs": { + "import": "./lib/esm/test/bot-specs.js", + "require": "./lib/cjs/test/bot-specs.js" + }, + "./transaction": { + "import": "./lib/esm/transaction.js", + "require": "./lib/cjs/transaction.js" + }, + "./types": { + "import": "./lib/esm/types/index.js", + "require": "./lib/cjs/types/index.js" + }, + "./*": { + "types": "./lib/types/*.d.ts", + "import": "./lib/esm/*.js", + "require": "./lib/cjs/*.js" + }, + ".": { + "types": "./lib/types/index.d.ts", + "import": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, + "./package.json": { + "require": "./lib/cjs/package.json", + "default": "./lib/esm/package.json" + } }, "license": "Apache-2.0", "dependencies": { + "@hashgraph/sdk": "2.54.2", "@ledgerhq/coin-framework": "workspace:^", "@ledgerhq/cryptoassets": "workspace:^", "@ledgerhq/devices": "workspace:^", "@ledgerhq/errors": "workspace:^", + "@ledgerhq/live-countervalues": "workspace:^", "@ledgerhq/live-env": "workspace:^", "@ledgerhq/live-network": "workspace:^", "@ledgerhq/types-live": "workspace:^", - "@ledgerhq/live-countervalues": "workspace:^", - "@hashgraph/sdk": "2.54.2", + "bignumber.js": "^9.1.2", "expect": "^27.4.6", "invariant": "^2.2.2", "lodash": "^4.17.21", - "bignumber.js": "^9.1.2", "rxjs": "^7.8.1" }, "devDependencies": { "@types/invariant": "^2.2.2", "@types/jest": "^29.5.10", "@types/lodash": "^4.14.191", + "esbuild": "0.24.2", "jest": "^29.7.0", "ts-jest": "^29.1.1" }, "scripts": { "clean": "rimraf lib lib-es", - "build": "tsc --outDir lib-es", + "build": "zx build.mjs", "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-hedera.json", "prewatch": "pnpm build", - "watch": "tsc --watch", - "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", + "watch": "zx watch.mjs", + "watch:es": "zx watch.mjs --platform esm", + "watch:cjs": "zx watch.mjs --platform cjs", "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", diff --git a/libs/coin-modules/coin-hedera/tsconfig.json b/libs/coin-modules/coin-hedera/tsconfig.json index 73aa7d0b8e9d..3875f18bd22a 100644 --- a/libs/coin-modules/coin-hedera/tsconfig.json +++ b/libs/coin-modules/coin-hedera/tsconfig.json @@ -5,10 +5,8 @@ "declarationMap": true, "downlevelIteration": true, "lib": ["es2020", "dom"], - "outDir": "lib", "exactOptionalPropertyTypes": true, - "module": "ESNext", - "moduleResolution": "bundler" + "skipLibCheck": true }, - "include": ["src/**/*", "deviceTransactionConfig.ts", "transaction.ts"] + "include": ["src/**/*"] } diff --git a/libs/coin-modules/coin-hedera/watch.mjs b/libs/coin-modules/coin-hedera/watch.mjs new file mode 100644 index 000000000000..870f5e1a5965 --- /dev/null +++ b/libs/coin-modules/coin-hedera/watch.mjs @@ -0,0 +1,86 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +const { platform } = argv; + +const config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + }, +}; + +const getEsmContext = async () => { + console.log(chalk.blue("Getting esm context...")); + + return esbuild.context({ + ...config, + outdir: "lib/esm", + format: "esm", + platform: "browser", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const getCjsContext = async () => { + console.log(chalk.blue("Getting cjs context...")); + + return esbuild.context({ + ...config, + outdir: "lib/cjs", + format: "cjs", + platform: "node", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const watchTypes = async () => { + await $`tsc --watch --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const watch = async () => { + const esmContext = await getEsmContext(); + const cjsContext = await getCjsContext(); + + if (platform === "esm") { + console.log(chalk.blue("Watching esm...")); + await Promise.all([esmContext.watch(), watchTypes()]); + } else if (platform === "cjs") { + console.log(chalk.blue("Watching cjs...")); + await Promise.all([cjsContext.watch(), watchTypes()]); + } else { + console.log(chalk.blue("Watching all...")); + await Promise.all([esmContext.watch(), cjsContext.watch(), watchTypes()]); + } +}; + +watch().catch(error => { + console.error(error); + process.exitCode = error?.exitCode ?? 1; +}); diff --git a/libs/coin-modules/coin-polkadot/build.mjs b/libs/coin-modules/coin-polkadot/build.mjs new file mode 100644 index 000000000000..5cafd94e83bf --- /dev/null +++ b/libs/coin-modules/coin-polkadot/build.mjs @@ -0,0 +1,72 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef, no-console */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +let config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + ".example": "copy", + ".Dockerfile": "copy", + ".yml": "copy", + }, +}; + +const buildEsm = async () => { + console.log(chalk.blue("Building esm...")); + await esbuild.build({ + ...config, + outdir: "lib/esm", + format: "esm", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(() => { + fs.copyFileSync("package.json", "lib/esm/package.json"); + }); + }, + }, + ], + }); +}; + +const buildCjs = async () => { + console.log(chalk.blue("Building cjs...")); + await esbuild.build({ + ...config, + outdir: "lib/cjs", + format: "cjs", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(() => { + fs.copyFileSync("package.json", "lib/cjs/package.json"); + }); + }, + }, + ], + }); +}; + +const buildTypes = async () => { + console.log(chalk.blue("Building types...")); + await $`tsc --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const main = async () => { + return Promise.all([buildEsm(), buildCjs(), buildTypes()]); +}; + +main().catch(error => { + console.error(error); + process.exit(1); +}); diff --git a/libs/coin-modules/coin-polkadot/package.json b/libs/coin-modules/coin-polkadot/package.json index ba3039a5ad1a..1f7306678aff 100644 --- a/libs/coin-modules/coin-polkadot/package.json +++ b/libs/coin-modules/coin-polkadot/package.json @@ -20,55 +20,88 @@ "publishConfig": { "access": "public" }, - "typesVersions": { - "*": { - "lib-es/*": [ - "lib-es/*" - ], - "api": [ - "lib/api/index" - ], - "logic": [ - "lib/logic/index" - ], - "specs": [ - "lib/test/bot-specs" - ], - "*": [ - "lib-es/*", - "lib-es/api/*", - "lib-es/bridge/*", - "lib-es/logic/*", - "lib-es/signer/*", - "lib-es/test/*", - "lib-es/types/*" - ] - } - }, "exports": { - "./lib-es/*": "./lib-es/*.js", - "./api": "./lib-es/api/index.js", - "./deviceTransactionConfig": "./lib-es/bridge/deviceTransactionConfig.js", - "./errors": "./lib-es/types/errors.js", - "./formatters": "./lib-es/bridge/formatters.js", - "./logic": "./lib-es/logic/index.js", - "./preload": "./lib-es/bridge/preload.js", - "./serialization": "./lib-es/bridge/serialization.js", - "./specs": "./lib-es/test/bot-specs.js", - "./transaction": "./lib-es/bridge/transaction.js", - "./types": "./lib-es/types/index.js", - "./utils": "./lib-es/bridge/utils.js", - "./*": "./lib-es/*.js", - ".": "./lib-es/index.js", - "./package.json": "./package.json" + "./lib/cjs/*": "./lib/cjs/*.js", + "./lib/esm/*": "./lib/esm/*.js", + "./lib/types/*": "./lib/types/*.d.ts", + "./api": { + "types": "./lib/types/api/index.d.ts", + "require": "./lib/cjs/api/index.js", + "default": "./lib/esm/api/index.js" + }, + "./deviceTransactionConfig": { + "types": "./lib/types/bridge/deviceTransactionConfig.d.ts", + "require": "./lib/cjs/bridge/deviceTransactionConfig.js", + "default": "./lib/esm/bridge/deviceTransactionConfig.js" + }, + "./errors": { + "types": "./lib/types/types/errors.d.ts", + "require": "./lib/cjs/types/errors.js", + "default": "./lib/esm/types/errors.js" + }, + "./formatters": { + "types": "./lib/types/bridge/formatters.d.ts", + "require": "./lib/cjs/bridge/formatters.js", + "default": "./lib/esm/bridge/formatters.js" + }, + "./logic": { + "types": "./lib/types/common-logic/index.d.ts", + "require": "./lib/cjs/logic/index.js", + "default": "./lib/esm/logic/index.js" + }, + "./preload": { + "types": "./lib/types/bridge/preload.d.ts", + "require": "./lib/cjs/bridge/preload.js", + "default": "./lib/esm/bridge/preload.js" + }, + "./serialization": { + "types": "./lib/types/bridge/serialization.d.ts", + "require": "./lib/cjs/bridge/serialization.js", + "default": "./lib/esm/bridge/serialization.js" + }, + "./specs": { + "types": "./lib/types/test/bot-specs.d.ts", + "require": "./lib/cjs/test/bot-specs.js", + "default": "./lib/esm/test/bot-specs.js" + }, + "./transaction": { + "types": "./lib/types/bridge/transaction.d.ts", + "require": "./lib/cjs/bridge/transaction.js", + "default": "./lib/esm/bridge/transaction.js" + }, + "./types": { + "types": "./lib/types/types/index.d.ts", + "require": "./lib/cjs/types/index.js", + "default": "./lib/esm/types/index.js" + }, + "./utils": { + "types": "./lib/types/bridge/utils.d.ts", + "require": "./lib/cjs/bridge/utils.js", + "default": "./lib/esm/bridge/utils.js" + }, + "./*": { + "types": "./lib/types/*.d.ts", + "require": "./lib/cjs/*.js", + "default": "./lib/esm/*.js" + }, + ".": { + "types": "./lib/types/index.d.ts", + "require": "./lib/cjs/index.js", + "default": "./lib/esm/index.js" + }, + "./package.json": { + "require": "./lib/cjs/package.json", + "default": "./lib/esm/package.json" + } }, "license": "Apache-2.0", "scripts": { "clean": "rimraf lib lib-es", - "build": "tsc --outDir lib-es", + "build": "zx build.mjs", "prewatch": "pnpm build", - "watch": "tsc --watch", - "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", + "watch": "zx watch.mjs", + "watch:es": "zx watch.mjs --platform esm", + "watch:cjs": "zx watch.mjs --platform cjs", "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", @@ -109,9 +142,11 @@ "@types/invariant": "^2.2.2", "@types/jest": "^29.5.10", "@types/lodash": "^4.14.191", + "@types/node": "22.10.5", "chalk": "^4.1.2", "docker-compose": "^1.1.0", "dotenv": "^16.4.5", + "esbuild": "0.24.2", "eslint-plugin-jest": "^27.4.2", "jest": "^29.7.0", "jest-expect-message": "^1.1.3", diff --git a/libs/coin-modules/coin-polkadot/src/test/coin-tester/scenarii.test.ts b/libs/coin-modules/coin-polkadot/src/test/coin-tester/scenarii.test.ts index 77d4f46c69f8..e7f1e67ba5d0 100644 --- a/libs/coin-modules/coin-polkadot/src/test/coin-tester/scenarii.test.ts +++ b/libs/coin-modules/coin-polkadot/src/test/coin-tester/scenarii.test.ts @@ -1,9 +1,10 @@ +import console from "console"; import { executeScenario } from "@ledgerhq/coin-tester/main"; import { killSpeculos } from "@ledgerhq/coin-tester/signers/speculos"; import { killChopsticksAndSidecar } from "./chopsticks-sidecar"; import { PolkadotScenario } from "./scenarii/Polkadot"; -global.console = require("console"); +global.console = console; jest.setTimeout(300_000); export const defaultNanoApp = { firmware: "2.3.0" as const, version: "100.0.5" as const }; diff --git a/libs/coin-modules/coin-polkadot/tsconfig.json b/libs/coin-modules/coin-polkadot/tsconfig.json index b10c338e01e5..300b1f0a2682 100644 --- a/libs/coin-modules/coin-polkadot/tsconfig.json +++ b/libs/coin-modules/coin-polkadot/tsconfig.json @@ -6,7 +6,6 @@ "downlevelIteration": true, "lib": ["es2020", "dom"], "rootDir": "./src", - "outDir": "lib", "exactOptionalPropertyTypes": true, "module": "ESNext", "moduleResolution": "bundler" diff --git a/libs/coin-modules/coin-polkadot/watch.mjs b/libs/coin-modules/coin-polkadot/watch.mjs new file mode 100644 index 000000000000..3d6d738a811a --- /dev/null +++ b/libs/coin-modules/coin-polkadot/watch.mjs @@ -0,0 +1,89 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef, no-console */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +const { platform } = argv; + +const config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + ".example": "copy", + ".Dockerfile": "copy", + ".yml": "copy", + }, +}; + +const getEsmContext = async () => { + console.log(chalk.blue("Getting esm context...")); + + return esbuild.context({ + ...config, + outdir: "lib/esm", + format: "esm", + platform: "browser", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const getCjsContext = async () => { + console.log(chalk.blue("Getting cjs context...")); + + return esbuild.context({ + ...config, + outdir: "lib/cjs", + format: "cjs", + platform: "node", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const watchTypes = async () => { + await $`tsc --watch --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const watch = async () => { + const esmContext = await getEsmContext(); + const cjsContext = await getCjsContext(); + + if (platform === "esm") { + console.log(chalk.blue("Watching esm...")); + await Promise.all([esmContext.watch(), watchTypes()]); + } else if (platform === "cjs") { + console.log(chalk.blue("Watching cjs...")); + await Promise.all([cjsContext.watch(), watchTypes()]); + } else { + console.log(chalk.blue("Watching all...")); + await Promise.all([esmContext.watch(), cjsContext.watch(), watchTypes()]); + } +}; + +watch().catch(error => { + console.error(error); + process.exitCode = error?.exitCode ?? 1; +}); diff --git a/libs/coin-modules/coin-solana/build.mjs b/libs/coin-modules/coin-solana/build.mjs new file mode 100644 index 000000000000..df3712d6d31f --- /dev/null +++ b/libs/coin-modules/coin-solana/build.mjs @@ -0,0 +1,69 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef, no-console */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +let config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + }, +}; + +const buildEsm = async () => { + console.log(chalk.blue("Building esm...")); + await esbuild.build({ + ...config, + outdir: "lib/esm", + format: "esm", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(() => { + fs.copyFileSync("package.json", "lib/esm/package.json"); + }); + }, + }, + ], + }); +}; + +const buildCjs = async () => { + console.log(chalk.blue("Building cjs...")); + await esbuild.build({ + ...config, + outdir: "lib/cjs", + format: "cjs", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(() => { + fs.copyFileSync("package.json", "lib/cjs/package.json"); + }); + }, + }, + ], + }); +}; + +const buildTypes = async () => { + console.log(chalk.blue("Building types...")); + await $`tsc --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const main = async () => { + return Promise.all([buildEsm(), buildCjs(), buildTypes()]); +}; + +main().catch(error => { + console.error(error); + process.exit(1); +}); diff --git a/libs/coin-modules/coin-solana/package.json b/libs/coin-modules/coin-solana/package.json index 0e5cab31a108..dbcb8c343465 100644 --- a/libs/coin-modules/coin-solana/package.json +++ b/libs/coin-modules/coin-solana/package.json @@ -20,20 +20,16 @@ "publishConfig": { "access": "public" }, - "typesVersions": { - "*": { - "lib-es/*": [ - "lib-es/*" - ], - "*": [ - "lib-es/*" - ] - } - }, "exports": { - "./lib-es/*": "./lib-es/*.js", - "./*": "./lib-es/*.js", - "./package.json": "./package.json" + "./*": { + "types": "./lib/types/*.d.ts", + "require": "./lib/cjs/*.js", + "default": "./lib/esm/*.js" + }, + "./package.json": { + "require": "./lib/cjs/package.json", + "default": "./lib/esm/package.json" + } }, "license": "Apache-2.0", "dependencies": { @@ -63,17 +59,20 @@ "@types/invariant": "^2.2.2", "@types/jest": "^29.5.10", "@types/lodash": "^4.14.191", + "@types/node": "22.10.5", "@types/object-hash": "^2.1.0", + "esbuild": "0.24.2", "jest": "^29.7.0", "ts-jest": "^29.1.1" }, "scripts": { "clean": "rimraf lib lib-es", - "build": "tsc --outDir lib-es", + "build": "zx build.mjs", "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-solana.json", "prewatch": "pnpm build", - "watch": "tsc --watch", - "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", + "watch": "zx watch.mjs", + "watch:es": "zx watch.mjs --platform esm", + "watch:cjs": "zx watch.mjs --platform cjs", "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", diff --git a/libs/coin-modules/coin-solana/tsconfig.json b/libs/coin-modules/coin-solana/tsconfig.json index 52b2208dc818..74bd1e351db2 100644 --- a/libs/coin-modules/coin-solana/tsconfig.json +++ b/libs/coin-modules/coin-solana/tsconfig.json @@ -5,10 +5,9 @@ "declarationMap": true, "downlevelIteration": true, "lib": ["es2020", "dom"], - "outDir": "lib", "exactOptionalPropertyTypes": true, - "moduleResolution": "bundler", - "module": "ESNext" + "module": "ESNext", + "moduleResolution": "bundler" }, "include": ["src/**/*"] } diff --git a/libs/coin-modules/coin-solana/watch.mjs b/libs/coin-modules/coin-solana/watch.mjs new file mode 100644 index 000000000000..d2a0327d28b1 --- /dev/null +++ b/libs/coin-modules/coin-solana/watch.mjs @@ -0,0 +1,86 @@ +#!/usr/bin/env zx +/* eslint-disable no-undef, no-console */ +import "zx/globals"; + +import * as esbuild from "esbuild"; + +const { platform } = argv; + +const config = { + entryPoints: ["src/**/*"], + minify: true, + bundle: false, + treeShaking: true, + sourcemap: true, + color: true, + loader: { + ".json": "copy", + }, +}; + +const getEsmContext = async () => { + console.log(chalk.blue("Getting esm context...")); + + return esbuild.context({ + ...config, + outdir: "lib/esm", + format: "esm", + platform: "browser", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/esm/package.json`; + }); + }, + }, + ], + }); +}; + +const getCjsContext = async () => { + console.log(chalk.blue("Getting cjs context...")); + + return esbuild.context({ + ...config, + outdir: "lib/cjs", + format: "cjs", + platform: "node", + plugins: [ + { + name: "copy-package-json", + setup(build) { + build.onEnd(async () => { + await $`cp package.json lib/cjs/package.json`; + }); + }, + }, + ], + }); +}; + +const watchTypes = async () => { + await $`tsc --watch --emitDeclarationOnly --outDir lib/types --moduleResolution bundler -m esnext`; +}; + +const watch = async () => { + const esmContext = await getEsmContext(); + const cjsContext = await getCjsContext(); + + if (platform === "esm") { + console.log(chalk.blue("Watching esm...")); + await Promise.all([esmContext.watch(), watchTypes()]); + } else if (platform === "cjs") { + console.log(chalk.blue("Watching cjs...")); + await Promise.all([cjsContext.watch(), watchTypes()]); + } else { + console.log(chalk.blue("Watching all...")); + await Promise.all([esmContext.watch(), cjsContext.watch(), watchTypes()]); + } +}; + +watch().catch(error => { + console.error(error); + process.exitCode = error?.exitCode ?? 1; +}); diff --git a/libs/ledger-live-common/jest.config.ts b/libs/ledger-live-common/jest.config.ts index 38b398820b24..dfc7321ea7e6 100644 --- a/libs/ledger-live-common/jest.config.ts +++ b/libs/ledger-live-common/jest.config.ts @@ -35,9 +35,6 @@ if (process.env.CI) { const defaultConfig = { preset: "ts-jest", globals: { - "ts-jest": { - isolatedModules: true, - }, Buffer: Uint8Array, }, testEnvironment: "node", @@ -52,15 +49,18 @@ const defaultConfig = { ], testPathIgnorePatterns, testRegex, - transformIgnorePatterns: ["/node_modules/(?!|@babel/runtime/helpers/esm/)"], + transformIgnorePatterns: [ + "/node_modules/(?!|@babel/runtime/helpers/esm/)", + "/node_modules/(?!|@babel/runtime/helpers/esm/)", + ], moduleDirectories: ["node_modules", "cli/node_modules"], /** * Added because of this error happening when using toMatchInlineSnapshot: * TypeError: prettier.resolveConfig.sync is not a function at runPrettier (../../node_modules/.pnpm/jest-snapshot@28.1.3/node_modules/jest-snapshot/build/InlineSnapshots.js:319:30) - * - * See: https://github.com/jestjs/jest/issues/14305#issuecomment-1627346697 + * + * See: https://github.com/jestjs/jest/issues/14305#issuecomment-1627346697 */ prettierPath: null, }; @@ -69,13 +69,13 @@ export default { globalSetup: process.env.UPDATE_BACKEND_MOCKS ? "/src/__tests__/test-helpers/bridgeSetupUpdateMocks.ts" : process.env.USE_BACKEND_MOCKS - ? "/src/__tests__/test-helpers/bridgeSetupUseMocks.ts" - : undefined, + ? "/src/__tests__/test-helpers/bridgeSetupUseMocks.ts" + : undefined, globalTeardown: process.env.UPDATE_BACKEND_MOCKS ? "/src/__tests__/test-helpers/bridgeTeardownUpdateMocks.ts" : process.env.USE_BACKEND_MOCKS - ? "/src/__tests__/test-helpers/bridgeTeardownUseMocks.ts" - : undefined, + ? "/src/__tests__/test-helpers/bridgeTeardownUseMocks.ts" + : undefined, collectCoverage: true, collectCoverageFrom: ["src/**/*.{ts,tsx}"], coverageReporters: ["json", "lcov", "clover", "json-summary"], diff --git a/libs/ledger-live-common/package.json b/libs/ledger-live-common/package.json index d6227220419c..7ba944e09e1e 100644 --- a/libs/ledger-live-common/package.json +++ b/libs/ledger-live-common/package.json @@ -182,7 +182,6 @@ "@ledgerhq/live-config": "workspace:^", "@ledgerhq/live-countervalues": "workspace:^", "@ledgerhq/live-countervalues-react": "workspace:^", - "@ledgerhq/live-dmk": "workspace:^", "@ledgerhq/live-env": "workspace:^", "@ledgerhq/live-hooks": "workspace:*", "@ledgerhq/live-network": "workspace:^", @@ -269,6 +268,7 @@ "@types/react": "^18.2.21", "@types/uuid": "^8.3.4", "benchmark": "^2.1.4", + "buffer": "6.0.3", "camelcase": "^6.2.1", "cross-env": "^7.0.3", "env-cmd": "*", @@ -295,9 +295,8 @@ "ts-jest": "^29.1.1", "ts-node": "^10.4.0", "typescript": "5.1.3", + "undici": "6.19.2", "uuid": "^8.3.2", - "ws": "7", - "buffer": "6.0.3", - "undici": "6.19.2" + "ws": "7" } } diff --git a/libs/ledger-live-common/src/bridge/jsHelpers.ts b/libs/ledger-live-common/src/bridge/jsHelpers.ts index 0d6c1950c0a8..b6f186847d3c 100644 --- a/libs/ledger-live-common/src/bridge/jsHelpers.ts +++ b/libs/ledger-live-common/src/bridge/jsHelpers.ts @@ -12,9 +12,9 @@ import { withDevice } from "../hw/deviceAccess"; import getAddress from "../hw/getAddress"; export { - AccountShapeInfo, - GetAccountShape, - IterateResultBuilder, + type AccountShapeInfo, + type GetAccountShape, + type IterateResultBuilder, makeSync, mergeNfts, mergeOps, diff --git a/libs/ledger-live-common/src/currencies/index.ts b/libs/ledger-live-common/src/currencies/index.ts index 2c7ccf57866e..1458c995655b 100644 --- a/libs/ledger-live-common/src/currencies/index.ts +++ b/libs/ledger-live-common/src/currencies/index.ts @@ -36,7 +36,7 @@ export { setSupportedCurrencies, } from "@ledgerhq/coin-framework/currencies"; -export { getCurrencyColor, ColorableCurrency } from "./color"; +export { getCurrencyColor, type ColorableCurrency } from "./color"; export { formatShort } from "./formatShort"; export * from "./helpers"; export { sortCurrenciesByIds, currenciesByMarketcap } from "./sortByMarketcap"; diff --git a/libs/ledger-live-common/src/exchange/platform/types.ts b/libs/ledger-live-common/src/exchange/platform/types.ts index 85d59564f684..a20e66f50b80 100644 --- a/libs/ledger-live-common/src/exchange/platform/types.ts +++ b/libs/ledger-live-common/src/exchange/platform/types.ts @@ -1,8 +1,8 @@ import type { Account, AccountLike, AccountRaw, AccountRawLike } from "@ledgerhq/types-live"; -import { ExchangeTypes, RateTypes } from "@ledgerhq/hw-app-exchange"; +import type { ExchangeTypes, RateTypes } from "@ledgerhq/hw-app-exchange"; import type { Transaction } from "../../generated/types"; -import { ExchangeSwap } from "../swap/types"; -import { Device } from "../../hw/actions/types"; +import type { ExchangeSwap } from "../swap/types"; +import type { Device } from "../../hw/actions/types"; export type CompleteExchangeRequestEvent = | { type: "complete-exchange" } diff --git a/libs/ledger-live-common/src/families/aptos/api/graphql/queries.ts b/libs/ledger-live-common/src/families/aptos/api/graphql/queries.ts index 0c5df5daa4aa..59d044bd42fd 100644 --- a/libs/ledger-live-common/src/families/aptos/api/graphql/queries.ts +++ b/libs/ledger-live-common/src/families/aptos/api/graphql/queries.ts @@ -1,4 +1,5 @@ -import { gql } from "@apollo/client"; +// We need to target CJS for the CJS build of the lib +import { gql } from "@apollo/client/main.cjs"; export const GetDelegatedStakingActivities = gql` query getDelegatedStakingActivities($delegatorAddress: String) { diff --git a/libs/ledger-live-common/src/families/aptos/api/index.test.ts b/libs/ledger-live-common/src/families/aptos/api/index.test.ts index eff5afc25973..e4d3ad6883c8 100644 --- a/libs/ledger-live-common/src/families/aptos/api/index.test.ts +++ b/libs/ledger-live-common/src/families/aptos/api/index.test.ts @@ -1,4 +1,4 @@ -import { ApolloClient } from "@apollo/client"; +import { ApolloClient } from "@apollo/client/main.cjs"; import { AccountAddress, Aptos, diff --git a/libs/ledger-live-common/src/families/aptos/api/index.ts b/libs/ledger-live-common/src/families/aptos/api/index.ts index 6994006fb243..4aadafeebe6c 100644 --- a/libs/ledger-live-common/src/families/aptos/api/index.ts +++ b/libs/ledger-live-common/src/families/aptos/api/index.ts @@ -1,4 +1,5 @@ -import { ApolloClient, InMemoryCache } from "@apollo/client"; +import { ApolloClient, InMemoryCache } from "@apollo/client/main.cjs"; + import { AccountData, Aptos, diff --git a/libs/ledger-live-common/src/families/hedera/setup.ts b/libs/ledger-live-common/src/families/hedera/setup.ts index 79a531c302d1..1eabf8a03fb5 100644 --- a/libs/ledger-live-common/src/families/hedera/setup.ts +++ b/libs/ledger-live-common/src/families/hedera/setup.ts @@ -9,6 +9,7 @@ import makeCliTools from "@ledgerhq/coin-hedera/test/cli"; import { CreateSigner, createResolver, executeWithSigner } from "../../bridge/setup"; import { Resolver } from "../../hw/getAddress/types"; import { TransactionStatus, Transaction } from "@ledgerhq/coin-hedera/types/index"; +import {} from "@ledgerhq/coin-hedera"; const createSigner: CreateSigner = (transport: Transport) => { return new Hedera(transport); diff --git a/libs/ledger-live-common/src/families/solana/banner.test.ts b/libs/ledger-live-common/src/families/solana/banner.test.ts index df864e128c4e..e1fd8c2f3357 100644 --- a/libs/ledger-live-common/src/families/solana/banner.test.ts +++ b/libs/ledger-live-common/src/families/solana/banner.test.ts @@ -1,9 +1,11 @@ import * as preloadedData from "@ledgerhq/coin-solana/preload-data"; import type { SolanaAccount, SolanaPreloadDataV1, SolanaStake } from "@ledgerhq/coin-solana/types"; -import { ValidatorsAppValidator } from "@ledgerhq/coin-solana/validator-app/index"; +import type { ValidatorsAppValidator } from "@ledgerhq/coin-solana/validator-app/index"; import { getAccountBannerState } from "./banner"; import * as helpers from "../../account/helpers"; +jest.mock("@ledgerhq/coin-solana/preload-data"); + import { BigNumber } from "bignumber.js"; const ledgerValidator: ValidatorsAppValidator = { diff --git a/libs/ledger-live-common/src/families/solana/staking.ts b/libs/ledger-live-common/src/families/solana/staking.ts index 5d73e06e2905..a37d81687c6f 100644 --- a/libs/ledger-live-common/src/families/solana/staking.ts +++ b/libs/ledger-live-common/src/families/solana/staking.ts @@ -10,4 +10,4 @@ export { sweetch, tupleOfUnion, } from "@ledgerhq/coin-solana/utils"; -export { ValidatorsAppValidator } from "@ledgerhq/coin-solana/validator-app/index"; +export type { ValidatorsAppValidator } from "@ledgerhq/coin-solana/validator-app/index"; diff --git a/libs/ledger-live-common/src/hw/actions/initSwap.ts b/libs/ledger-live-common/src/hw/actions/initSwap.ts index b9f9667e09ee..a3561663841e 100644 --- a/libs/ledger-live-common/src/hw/actions/initSwap.ts +++ b/libs/ledger-live-common/src/hw/actions/initSwap.ts @@ -15,7 +15,7 @@ import type { ConnectAppEvent, Input as ConnectAppInput } from "../connectApp"; import type { AppRequest, AppState } from "./app"; import { createAction as createAppAction } from "./app"; import type { Action, Device } from "./types"; -import { TransactionStatus } from "../../generated/types"; +import type { TransactionStatus } from "../../generated/types"; type State = { initSwapResult: InitSwapResult | null | undefined; @@ -103,9 +103,6 @@ const reducer = (state: State, e: SwapRequestEvent) => { isLoading: false, }; } - - // FIXME it is supposed to be unreachable but it seems to be reached in swap flow. so we must preserve returning the state - return state; }; function useFrozenValue(value: T, frozen: boolean): T { diff --git a/libs/ledger-live-common/src/hw/getAddress/types.ts b/libs/ledger-live-common/src/hw/getAddress/types.ts index 1b93e3237ae3..103bb7ef2682 100644 --- a/libs/ledger-live-common/src/hw/getAddress/types.ts +++ b/libs/ledger-live-common/src/hw/getAddress/types.ts @@ -1,6 +1,6 @@ import Transport from "@ledgerhq/hw-transport"; -import { GetAddressOptions, Result } from "@ledgerhq/coin-framework/derivation"; +import type { GetAddressOptions, Result } from "@ledgerhq/coin-framework/derivation"; -export { GetAddressOptions, Result }; +export type { GetAddressOptions, Result }; export type Resolver = (transport: Transport, addressOpt: GetAddressOptions) => Promise; diff --git a/libs/ledger-live-common/src/hw/getOnboardingStatePolling.ts b/libs/ledger-live-common/src/hw/getOnboardingStatePolling.ts index ec9039dd858d..d61bc13eb186 100644 --- a/libs/ledger-live-common/src/hw/getOnboardingStatePolling.ts +++ b/libs/ledger-live-common/src/hw/getOnboardingStatePolling.ts @@ -15,7 +15,6 @@ import { DisconnectedDeviceDuringOperation, } from "@ledgerhq/errors"; import { FirmwareInfo } from "@ledgerhq/types-live"; -import { isAllowedOnboardingStatePollingErrorDmk } from "@ledgerhq/live-dmk"; import { extractOnboardingState, OnboardingState } from "./extractOnboardingState"; export type OnboardingStatePollingResult = { @@ -31,6 +30,7 @@ export type GetOnboardingStatePollingArgs = { pollingPeriodMs: number; transportAbortTimeoutMs?: number; safeGuardTimeoutMs?: number; + allowedErrorChecks?: ((error: unknown) => boolean)[]; }; /** @@ -53,6 +53,7 @@ export const getOnboardingStatePolling = ({ pollingPeriodMs, transportAbortTimeoutMs = pollingPeriodMs - 100, safeGuardTimeoutMs = pollingPeriodMs * 10, // Nb Empirical value + allowedErrorChecks = [], }: GetOnboardingStatePollingArgs): GetOnboardingStatePollingResult => { const getOnboardingStateOnce = (): Observable => { return withDevice(deviceId, { openTimeoutMs: transportAbortTimeoutMs })(t => @@ -63,7 +64,7 @@ export const getOnboardingStatePolling = ({ catchError((error: unknown) => { if ( isAllowedOnboardingStatePollingError(error) || - isAllowedOnboardingStatePollingErrorDmk(error) + allowedErrorChecks?.some(fn => fn(error)) ) { // Pushes the error to the next step to be processed (no retry from the beginning) return of(error as Error); diff --git a/libs/ledger-live-common/src/onboarding/hooks/useOnboardingStatePolling.ts b/libs/ledger-live-common/src/onboarding/hooks/useOnboardingStatePolling.ts index 961b4990cfcf..bacc446983f2 100644 --- a/libs/ledger-live-common/src/onboarding/hooks/useOnboardingStatePolling.ts +++ b/libs/ledger-live-common/src/onboarding/hooks/useOnboardingStatePolling.ts @@ -27,6 +27,7 @@ export type UseOnboardingStatePollingArgs = UseOnboardingStatePollingDependencie device: Device | null; pollingPeriodMs: number; stopPolling?: boolean; + allowedErrorChecks?: ((error: unknown) => boolean)[]; }; /** @@ -49,6 +50,7 @@ export const useOnboardingStatePolling = ({ device, pollingPeriodMs, stopPolling = false, + allowedErrorChecks = [], }: UseOnboardingStatePollingArgs): UseOnboardingStatePollingResult => { const [onboardingState, setOnboardingState] = useState(null); const [allowedError, setAllowedError] = useState(null); @@ -64,6 +66,7 @@ export const useOnboardingStatePolling = ({ onboardingStatePollingSubscription = getOnboardingStatePolling({ deviceId: device.deviceId, pollingPeriodMs, + allowedErrorChecks, }).subscribe({ next: (onboardingStatePollingResult: OnboardingStatePollingResult) => { if (onboardingStatePollingResult) { diff --git a/libs/ledger-live-common/src/platform/utils/extractDappURLFromManifest.ts b/libs/ledger-live-common/src/platform/utils/extractDappURLFromManifest.ts index d6cc7d9b2c73..cc41bd093e32 100644 --- a/libs/ledger-live-common/src/platform/utils/extractDappURLFromManifest.ts +++ b/libs/ledger-live-common/src/platform/utils/extractDappURLFromManifest.ts @@ -12,6 +12,9 @@ export function extractDappURLFromManifest(manifest: LiveAppManifest): URL | und } if (manifest && manifest.dapp) { try { + if (manifest.url instanceof URL) { + return manifest.url; + } const url = new URL(manifest.url); return url; } catch (error) { diff --git a/libs/ledger-live-common/src/wallet-api/types.ts b/libs/ledger-live-common/src/wallet-api/types.ts index e4b4e1df81c1..04488ba2c093 100644 --- a/libs/ledger-live-common/src/wallet-api/types.ts +++ b/libs/ledger-live-common/src/wallet-api/types.ts @@ -17,7 +17,7 @@ export type { export type { WalletAPIServer } from "@ledgerhq/wallet-api-server"; -export { +export type { CurrencyType as WalletAPICurrencyType, TokenStandard as WalletAPITokenStandard, } from "@ledgerhq/wallet-api-core"; diff --git a/libs/ledger-live-common/tsconfig.json b/libs/ledger-live-common/tsconfig.json index 611c8ea74c18..26c08eb81271 100644 --- a/libs/ledger-live-common/tsconfig.json +++ b/libs/ledger-live-common/tsconfig.json @@ -8,7 +8,8 @@ "outDir": "lib", // if out path for a file is same as its src path, nothing will be emitted "jsx": "react", "lib": ["es2020", "dom"], - "composite": true // required on the dependency project for references to work + "composite": true, // required on the dependency project for references to work + "isolatedModules": false }, "files": [ // by whitelisting the files to include, TS won't automatically diff --git a/libs/ledgerjs/packages/errors/src/helpers.ts b/libs/ledgerjs/packages/errors/src/helpers.ts index 3fcb7a189786..e339bb159b65 100644 --- a/libs/ledgerjs/packages/errors/src/helpers.ts +++ b/libs/ledgerjs/packages/errors/src/helpers.ts @@ -39,7 +39,8 @@ export const createCustomErrorClass = < this[k] = fields[k]; } } - if (options && isObject(options) && "cause" in options && !("cause" in this)) { + + if (options && isObject(options) && "cause" in options && !this.cause) { // .cause was specified but the superconstructor // did not create an instance property. const cause = options.cause; diff --git a/libs/ledgerjs/packages/hw-app-aptos/package.json b/libs/ledgerjs/packages/hw-app-aptos/package.json index caecf8b16612..f4018963e016 100644 --- a/libs/ledgerjs/packages/hw-app-aptos/package.json +++ b/libs/ledgerjs/packages/hw-app-aptos/package.json @@ -45,10 +45,10 @@ }, "scripts": { "clean": "rimraf lib lib-es", - "build": "tsc && tsc -m ES6 --outDir lib-es", + "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es", "prewatch": "pnpm build", "watch": "tsc --watch", - "watch:es": "tsc --watch -m ES6 --outDir lib-es", + "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", diff --git a/libs/live-config/package.json b/libs/live-config/package.json index 1808a00bd674..8ee796f51dba 100644 --- a/libs/live-config/package.json +++ b/libs/live-config/package.json @@ -31,13 +31,13 @@ "lodash": "^4.17.21" }, "devDependencies": { - "@types/jest": "^29.5.4", + "@types/jest": "^29.5.14", "@types/lodash": "^4.14.202", - "@types/node": "^20.2.5", - "jest": "^28.1.1", - "jest-environment-jsdom": "28", + "@types/node": "22.10.1", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", "semver": "^7.3.5", - "ts-jest": "^28.0.5" + "ts-jest": "^29.1.1" }, "typesVersions": { "*": { diff --git a/libs/live-dmk/jest.config.json b/libs/live-dmk/jest.config.json deleted file mode 100644 index b69d05348e91..000000000000 --- a/libs/live-dmk/jest.config.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "transform": { - "^.+\\.(ts|tsx)?$": [ - "ts-jest", - { - "globals": { - "isolatedModules": true - } - } - ] - }, - "testPathIgnorePatterns": ["lib/", "lib-es/"], - "testEnvironment": "jest-environment-jsdom" -} diff --git a/libs/live-dmk/package.json b/libs/live-dmk/package.json index 4828417336b0..c66bec5e0ed7 100644 --- a/libs/live-dmk/package.json +++ b/libs/live-dmk/package.json @@ -15,20 +15,19 @@ "url": "https://github.com/LedgerHQ/ledger-live/issues" }, "homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/env", - "main": "lib/index.js", - "types": "lib/index.d.ts", - "module": "lib-es/index.js", + "main": "./lib-es/index.js", + "types": "./lib-es/index.d.ts", "scripts": { - "clean": "rimraf lib lib-es", - "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es", + "clean": "rimraf lib-es", + "build": "tsc --project tsconfig.prod.json", "prewatch": "pnpm build", - "watch": "tsc --watch", - "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es", + "watch": "tsc --watch --project tsconfig.prod.json", + "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es --project tsconfig.test.json", "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache", "lint:fix": "pnpm lint --fix", "typecheck": "tsc --noEmit", "unimported": "unimported", - "test": "jest" + "test": "vitest run" }, "typesVersions": { "*": { @@ -47,8 +46,8 @@ } }, "dependencies": { - "@ledgerhq/device-management-kit": "0.0.0-develop-20241231132707", - "@ledgerhq/device-transport-kit-web-hid": "0.0.0-develop-20241231132707", + "@ledgerhq/device-management-kit": "0.0.0-develop-20250106155719", + "@ledgerhq/device-transport-kit-web-hid": "0.0.0-develop-20250106155719", "@ledgerhq/hw-transport": "workspace:^", "@ledgerhq/logs": "^6.12.0", "@ledgerhq/types-devices": "workspace:^", @@ -60,10 +59,11 @@ "@testing-library/dom": "^9.3.4", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", - "@types/jest": "^29.5.14", "@types/node": "22.10.1", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0", - "ts-jest": "^29.2.5" + "@vitejs/plugin-react": "4.3.4", + "jsdom": "25.0.1", + "vite": "6.0.7", + "vitest": "2.1.8", + "ws": "8.18.0" } } diff --git a/libs/live-dmk/src/useDeviceSessionState.test.tsx b/libs/live-dmk/src/index.test.tsx similarity index 66% rename from libs/live-dmk/src/useDeviceSessionState.test.tsx rename to libs/live-dmk/src/index.test.tsx index 07fb11fc6ad4..852776a34391 100644 --- a/libs/live-dmk/src/useDeviceSessionState.test.tsx +++ b/libs/live-dmk/src/index.test.tsx @@ -1,6 +1,6 @@ +import { type Mock } from "vitest"; import React from "react"; -import { render, act, cleanup } from "@testing-library/react"; -import "@testing-library/jest-dom"; +import { render, act } from "@testing-library/react"; import { BehaviorSubject, of } from "rxjs"; import { DeviceManagementKitProvider, @@ -9,38 +9,38 @@ import { } from "./index"; import { DeviceStatus } from "@ledgerhq/device-management-kit"; -jest.mock("@ledgerhq/device-management-kit", () => ({ - DeviceManagementKitBuilder: jest.fn(() => ({ - addLogger: jest.fn().mockReturnThis(), - addTransport: jest.fn().mockReturnThis(), - build: jest.fn().mockReturnValue({ - getDeviceSessionState: jest.fn(), - startDiscovering: jest.fn(), - connect: jest.fn(), - }), - })), - BuiltinTransports: { - USB: "USB", - }, - ConsoleLogger: jest.fn(), - LogLevel: { Debug: "debug" }, - DeviceStatus: { - NOT_CONNECTED: "not_connected", - CONNECTED: "connected", - }, -})); - -const activeDeviceSessionSubjectMock = new BehaviorSubject<{ - sessionId: string; - transport: { sessionId: string }; -} | null>(null); - -jest.mock("./index", () => ({ - ...jest.requireActual("./index"), - useDeviceManagementKit: jest.fn(), -})); +vi.mock("@ledgerhq/device-management-kit", async importOriginal => { + const actual = await importOriginal(); + return { + ...actual, + DeviceManagementKitBuilder: vi.fn(() => ({ + addLogger: vi.fn().mockReturnThis(), + addTransport: vi.fn().mockReturnThis(), + build: vi.fn().mockReturnValue({ + getDeviceSessionState: vi.fn(), + startDiscovering: vi.fn(), + connect: vi.fn(), + }), + })), + BuiltinTransports: { + USB: "USB", + }, + ConsoleLogger: vi.fn(), + LogLevel: { Debug: "debug" }, + DeviceStatus: { + NOT_CONNECTED: "not_connected", + CONNECTED: "connected", + }, + }; +}); -afterEach(cleanup); +vi.mock("./index", async importOriginal => { + const actual = await importOriginal(); + return { + ...actual, + useDeviceManagementKit: vi.fn(), + }; +}); const Wrapper: React.FC<{ children: React.ReactNode }> = ({ children }) => ( {children} @@ -55,34 +55,35 @@ const TestComponent: React.FC = () => { ); }; +const activeDeviceSessionSubjectMock = new BehaviorSubject<{ + sessionId: string; + transport: { sessionId: string }; +} | null>(null); + describe("useDeviceSessionState", () => { let deviceManagementKitMock: { - getDeviceSessionState: jest.Mock; + getDeviceSessionState: Mock; }; beforeEach(() => { deviceManagementKitMock = { - getDeviceSessionState: jest.fn(), + getDeviceSessionState: vi.fn(), }; - (useDeviceManagementKit as jest.Mock).mockReturnValue(deviceManagementKitMock); + (useDeviceManagementKit as Mock).mockReturnValue(deviceManagementKitMock); - jest - .spyOn(deviceManagementKitMock, "getDeviceSessionState") - .mockImplementation(({ sessionId }: { sessionId: string }) => { + vi.spyOn(deviceManagementKitMock, "getDeviceSessionState").mockImplementation( + ({ sessionId }: { sessionId: string }) => { if (sessionId === "valid-session") { return of({ deviceStatus: DeviceStatus.CONNECTED, }); - } else { - return of({ - deviceStatus: DeviceStatus.NOT_CONNECTED, - }); } - }); + }, + ); }); afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it("should display the device status when an active session is found", async () => { @@ -103,7 +104,7 @@ describe("useDeviceSessionState", () => { }); if (!result) { - throw new Error("Failed to render component"); + throw new Error("Result is undefined"); } const { getByTestId } = result!; diff --git a/libs/live-dmk/src/index.tsx b/libs/live-dmk/src/index.tsx index d0e8c633967a..843102b9feba 100644 --- a/libs/live-dmk/src/index.tsx +++ b/libs/live-dmk/src/index.tsx @@ -6,6 +6,7 @@ import { DeviceManagementKit, type DeviceSessionState, DeviceStatus, + DeviceBusyError, LogLevel, DiscoveredDevice, DeviceModelId, @@ -17,7 +18,6 @@ import { import { DescriptorEvent, DeviceModelId as DeviceModelIdTypes } from "@ledgerhq/types-devices"; import { BehaviorSubject, firstValueFrom, map, Observer, pairwise, startWith } from "rxjs"; import { LocalTracer } from "@ledgerhq/logs"; -import { DeviceBusyError } from "@ledgerhq/device-management-kit/src/internal/device-session/model/Errors.js"; const deviceManagementKit = new DeviceManagementKitBuilder() .addTransport(webHidTransportFactory) @@ -112,9 +112,7 @@ export const useDeviceSessionRefresherToggle = (ff: boolean) => { export const isAllowedOnboardingStatePollingErrorDmk = (error: unknown): boolean => { if (error) { - if (error instanceof WebHidSendReportError || error instanceof DeviceBusyError) { - return true; - } + return error instanceof DeviceBusyError || error instanceof WebHidSendReportError; } return false; diff --git a/libs/live-dmk/tests.setup.ts b/libs/live-dmk/tests.setup.ts new file mode 100644 index 000000000000..40e49210b2d8 --- /dev/null +++ b/libs/live-dmk/tests.setup.ts @@ -0,0 +1,9 @@ +import { afterEach } from "vitest"; +import { cleanup } from "@testing-library/react"; +import * as matchers from "@testing-library/jest-dom/matchers"; + +expect.extend(matchers); + +afterEach(() => { + cleanup(); +}); diff --git a/libs/live-dmk/tsconfig.json b/libs/live-dmk/tsconfig.json index 8f35e5a6013c..b7985bd6507b 100644 --- a/libs/live-dmk/tsconfig.json +++ b/libs/live-dmk/tsconfig.json @@ -8,10 +8,13 @@ "noImplicitThis": true, "downlevelIteration": true, "lib": ["es2020", "dom"], - "outDir": "lib", + "outDir": "lib-es", "baseUrl": ".", "esModuleInterop": true, - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "module": "esnext", + "moduleResolution": "bundler", + "types": ["vitest/globals", "@testing-library/jest-dom"] }, - "include": ["src/**/*", "src/index.tsx"] + "include": ["src", "tests.setup.ts"] } diff --git a/libs/live-dmk/tsconfig.prod.json b/libs/live-dmk/tsconfig.prod.json new file mode 100644 index 000000000000..4c35e23deea7 --- /dev/null +++ b/libs/live-dmk/tsconfig.prod.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "include": ["src/index.tsx"] +} diff --git a/libs/live-dmk/vitest.config.ts b/libs/live-dmk/vitest.config.ts new file mode 100644 index 000000000000..101dd62b0ffa --- /dev/null +++ b/libs/live-dmk/vitest.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from "vitest/config"; +import reactPlugin from "@vitejs/plugin-react"; + +export default defineConfig({ + // @ts-expect-error typescript is being craycray + plugins: [reactPlugin()], + test: { + globals: true, + environment: "jsdom", + setupFiles: ["./tests.setup.ts"], + exclude: ["node_modules", "lib-es"], + }, +}); diff --git a/package.json b/package.json index 6e96a4f5a9f9..d7d157d3aa26 100644 --- a/package.json +++ b/package.json @@ -220,7 +220,8 @@ "@changesets/get-github-info@0.6.0": "patches/@changesets__get-github-info@0.6.0.patch", "react-native-webview@13.10.3": "patches/react-native-webview@13.10.3.patch", "buffer@6.0.3": "patches/buffer@6.0.3.patch", - "react-native-fast-pbkdf2@0.3.1": "patches/react-native-fast-pbkdf2@0.3.1.patch" + "react-native-fast-pbkdf2@0.3.1": "patches/react-native-fast-pbkdf2@0.3.1.patch", + "@hashgraph/sdk@2.54.2": "patches/@hashgraph__sdk@2.54.2.patch" }, "packageExtensions": { "eslint-config-next@*": { diff --git a/patches/@hashgraph__sdk@2.54.2.patch b/patches/@hashgraph__sdk@2.54.2.patch new file mode 100644 index 000000000000..7ee64324a8ea --- /dev/null +++ b/patches/@hashgraph__sdk@2.54.2.patch @@ -0,0 +1,14 @@ +diff --git a/package.json b/package.json +index eda6c8d62656a8a66debdf443656bf6f45639eaa..5e9ebfded22877ae8df8fa7a86b2aceecc371142 100644 +--- a/package.json ++++ b/package.json +@@ -23,7 +23,8 @@ + ".": { + "types": "./lib/index.d.ts", + "import": "./src/index.js", +- "require": "./lib/index.cjs" ++ "require": "./lib/index.cjs", ++ "react-native": "./src/native.js" + } + }, + "license": "Apache-2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d5f132f7025a..c2e00671f315 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,6 +21,9 @@ patchedDependencies: '@changesets/get-github-info@0.6.0': hash: 7jzpsqogb5i6art53pk3h33ix4 path: patches/@changesets__get-github-info@0.6.0.patch + '@hashgraph/sdk@2.54.2': + hash: k7yhj43cvppejacxf26wwnq7qq + path: patches/@hashgraph__sdk@2.54.2.patch asyncstorage-down@4.2.0: hash: 2npkndps6fxdasqj3xzcrnnfbe path: patches/asyncstorage-down@4.2.0.patch @@ -2441,18 +2444,21 @@ importers: axios: specifier: 1.7.7 version: 1.7.7 + esbuild: + specifier: 0.24.2 + version: 0.24.2 jest: specifier: ^29.7.0 version: 29.7.0 ts-jest: specifier: ^29.1.1 - version: 29.1.5(jest@29.7.0)(typescript@5.4.3) + version: 29.1.5(esbuild@0.24.2)(jest@29.7.0)(typescript@5.4.3) libs/coin-modules/coin-hedera: dependencies: '@hashgraph/sdk': specifier: 2.54.2 - version: 2.54.2 + version: 2.54.2(patch_hash=k7yhj43cvppejacxf26wwnq7qq) '@ledgerhq/coin-framework': specifier: workspace:^ version: link:../../coin-framework @@ -2502,12 +2508,15 @@ importers: '@types/lodash': specifier: ^4.14.191 version: 4.17.7 + esbuild: + specifier: 0.24.2 + version: 0.24.2 jest: specifier: ^29.7.0 version: 29.7.0 ts-jest: specifier: ^29.1.1 - version: 29.1.5(jest@29.7.0)(typescript@5.4.3) + version: 29.1.5(esbuild@0.24.2)(jest@29.7.0)(typescript@5.4.3) libs/coin-modules/coin-icon: dependencies: @@ -2806,6 +2815,9 @@ importers: '@types/lodash': specifier: ^4.14.191 version: 4.17.7 + '@types/node': + specifier: 22.10.5 + version: 22.10.5 chalk: specifier: ^4.1.2 version: 4.1.2 @@ -2815,12 +2827,15 @@ importers: dotenv: specifier: ^16.4.5 version: 16.4.5 + esbuild: + specifier: 0.24.2 + version: 0.24.2 eslint-plugin-jest: specifier: ^27.4.2 - version: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)))(typescript@5.6.3) + version: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)))(typescript@5.6.3) jest: specifier: ^29.7.0 - version: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + version: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) jest-expect-message: specifier: ^1.1.3 version: 1.1.3 @@ -2829,10 +2844,10 @@ importers: version: 2.3.4(typescript@5.6.3) ts-jest: specifier: ^29.1.1 - version: 29.1.5(jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)))(typescript@5.6.3) + version: 29.1.5(esbuild@0.24.2)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)))(typescript@5.6.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(typescript@5.6.3) + version: 10.9.2(@types/node@22.10.5)(typescript@5.6.3) typescript: specifier: ^5.4.5 version: 5.6.3 @@ -2912,15 +2927,21 @@ importers: '@types/lodash': specifier: ^4.14.191 version: 4.17.7 + '@types/node': + specifier: 22.10.5 + version: 22.10.5 '@types/object-hash': specifier: ^2.1.0 version: 2.2.1 + esbuild: + specifier: 0.24.2 + version: 0.24.2 jest: specifier: ^29.7.0 - version: 29.7.0 + version: 29.7.0(@types/node@22.10.5) ts-jest: specifier: ^29.1.1 - version: 29.1.5(jest@29.7.0)(typescript@5.4.3) + version: 29.1.5(esbuild@0.24.2)(jest@29.7.0(@types/node@22.10.5))(typescript@5.4.3) libs/coin-modules/coin-stacks: dependencies: @@ -4036,9 +4057,6 @@ importers: '@ledgerhq/live-countervalues-react': specifier: workspace:^ version: link:../live-countervalues-react - '@ledgerhq/live-dmk': - specifier: workspace:^ - version: link:../live-dmk '@ledgerhq/live-env': specifier: workspace:^ version: link:../env @@ -6445,26 +6463,26 @@ importers: version: 4.17.21 devDependencies: '@types/jest': - specifier: ^29.5.4 - version: 29.5.12 + specifier: ^29.5.14 + version: 29.5.14 '@types/lodash': specifier: ^4.14.202 version: 4.17.7 '@types/node': - specifier: ^20.2.5 - version: 20.12.12 + specifier: 22.10.1 + version: 22.10.1 jest: - specifier: ^28.1.1 - version: 28.1.3(@types/node@20.12.12) + specifier: ^29.7.0 + version: 29.7.0(@types/node@22.10.1) jest-environment-jsdom: - specifier: '28' - version: 28.1.3 + specifier: ^29.7.0 + version: 29.7.0 semver: specifier: ^7.3.5 version: 7.5.4 ts-jest: - specifier: ^28.0.5 - version: 28.0.8(jest@28.1.3(@types/node@20.12.12))(typescript@5.4.3) + specifier: ^29.1.1 + version: 29.2.5(jest@29.7.0(@types/node@22.10.1))(typescript@5.4.3) libs/live-countervalues: dependencies: @@ -6558,11 +6576,11 @@ importers: libs/live-dmk: dependencies: '@ledgerhq/device-management-kit': - specifier: 0.0.0-develop-20241231132707 - version: 0.0.0-develop-20241231132707(rxjs@7.8.1) + specifier: 0.0.0-develop-20250106155719 + version: 0.0.0-develop-20250106155719(rxjs@7.8.1)(ws@8.18.0) '@ledgerhq/device-transport-kit-web-hid': - specifier: 0.0.0-develop-20241231132707 - version: 0.0.0-develop-20241231132707(@ledgerhq/device-management-kit@0.0.0-develop-20241231132707(rxjs@7.8.1))(rxjs@7.8.1) + specifier: 0.0.0-develop-20250106155719 + version: 0.0.0-develop-20250106155719(@ledgerhq/device-management-kit@0.0.0-develop-20250106155719(rxjs@7.8.1)(ws@8.18.0))(rxjs@7.8.1) '@ledgerhq/hw-transport': specifier: workspace:^ version: link:../ledgerjs/packages/hw-transport @@ -6591,21 +6609,24 @@ importers: '@testing-library/react': specifier: ^16.1.0 version: 16.1.0(@testing-library/dom@9.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@types/jest': - specifier: ^29.5.14 - version: 29.5.14 '@types/node': specifier: 22.10.1 version: 22.10.1 - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.10.1) - jest-environment-jsdom: - specifier: ^29.7.0 - version: 29.7.0 - ts-jest: - specifier: ^29.2.5 - version: 29.2.5(jest@29.7.0(@types/node@22.10.1))(typescript@5.4.3) + '@vitejs/plugin-react': + specifier: 4.3.4 + version: 4.3.4(vite@6.0.7(@types/node@22.10.1)) + jsdom: + specifier: 25.0.1 + version: 25.0.1 + vite: + specifier: 6.0.7 + version: 6.0.7(@types/node@22.10.1) + vitest: + specifier: 2.1.8 + version: 2.1.8(@types/node@22.10.1)(jsdom@25.0.1) + ws: + specifier: 8.18.0 + version: 8.18.0 libs/live-hooks: devDependencies: @@ -8132,6 +8153,9 @@ packages: resolution: {integrity: sha512-d6nWtUI//fyEN8DeLjm3+ro87Ad6+IKwR9pCqfrs/Azahso1xR1Llxd/O6fj/m1DDsuDj/HAsCsy5TC/aKD6Eg==} engines: {node: '>=11.0.0'} + '@asamuzakjp/css-color@2.8.2': + resolution: {integrity: sha512-RtWv9jFN2/bLExuZgFFZ0I3pWWeezAHGgrmjqGGWclATl1aDe3yhCUaI0Ilkp6OCk9zX7+FjvDasEX8Q9Rxc5w==} + '@aw-web-design/x-default-browser@1.4.126': resolution: {integrity: sha512-Xk1sIhyNC/esHGGVjL/niHLowM0csl/kFO5uawBy4IrWwy0o1G8LGt3jP6nmWGz+USxeeqbihAmp/oVZju6wug==} hasBin: true @@ -8539,6 +8563,10 @@ packages: resolution: {integrity: sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==} engines: {node: '>=6.9.0'} + '@babel/core@7.26.0': + resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} + engines: {node: '>=6.9.0'} + '@babel/eslint-parser@7.24.1': resolution: {integrity: sha512-d5guuzMlPeDfZIbpQ8+g1NaCNuAGBBGNECh0HVqz1sjOeVLh2CEaifuOysCH18URW6R7pqXINvf5PaR/dC6jLQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} @@ -8747,6 +8775,10 @@ packages: resolution: {integrity: sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==} engines: {node: '>=6.9.0'} + '@babel/helpers@7.26.0': + resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} + engines: {node: '>=6.9.0'} + '@babel/highlight@7.24.6': resolution: {integrity: sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==} engines: {node: '>=6.9.0'} @@ -9937,6 +9969,34 @@ packages: source-map-support: optional: true + '@csstools/color-helpers@5.0.1': + resolution: {integrity: sha512-MKtmkA0BX87PKaO1NFRTFH+UnkgnmySQOvNxJubsadusqPEC2aJ9MOQiMceZJJ6oitUl/i0L6u0M1IrmAOmgBA==} + engines: {node: '>=18'} + + '@csstools/css-calc@2.1.1': + resolution: {integrity: sha512-rL7kaUnTkL9K+Cvo2pnCieqNpTKgQzy5f+N+5Iuko9HAoasP+xgprVh7KN/MaJVvVL1l0EzQq2MoqBHKSrDrag==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.4 + '@csstools/css-tokenizer': ^3.0.3 + + '@csstools/css-color-parser@3.0.7': + resolution: {integrity: sha512-nkMp2mTICw32uE5NN+EsJ4f5N+IGFeCFu4bGpiKgb2Pq/7J/MpyLBeQ5ry4KKtRFZaYs6sTmcMYrSRIyj5DFKA==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.4 + '@csstools/css-tokenizer': ^3.0.3 + + '@csstools/css-parser-algorithms@3.0.4': + resolution: {integrity: sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-tokenizer': ^3.0.3 + + '@csstools/css-tokenizer@3.0.3': + resolution: {integrity: sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==} + engines: {node: '>=18'} + '@csstools/normalize.css@12.1.1': resolution: {integrity: sha512-YAYeJ+Xqh7fUou1d1j9XHl44BmsuThiTr4iNrgCQ3J27IbhXsxXDGZ1cXv8Qvs99d4rBbLiSKy3+WZiet32PcQ==} @@ -10208,6 +10268,18 @@ packages: cpu: [ppc64] os: [aix] + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/aix-ppc64@0.24.2': + resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + '@esbuild/android-arm64@0.18.20': resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} engines: {node: '>=12'} @@ -10226,6 +10298,18 @@ packages: cpu: [arm64] os: [android] + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.24.2': + resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + '@esbuild/android-arm@0.18.20': resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} @@ -10244,6 +10328,18 @@ packages: cpu: [arm] os: [android] + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.24.2': + resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + '@esbuild/android-x64@0.18.20': resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} engines: {node: '>=12'} @@ -10262,6 +10358,18 @@ packages: cpu: [x64] os: [android] + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.24.2': + resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + '@esbuild/darwin-arm64@0.18.20': resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} engines: {node: '>=12'} @@ -10280,6 +10388,18 @@ packages: cpu: [arm64] os: [darwin] + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.24.2': + resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + '@esbuild/darwin-x64@0.18.20': resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} engines: {node: '>=12'} @@ -10298,6 +10418,18 @@ packages: cpu: [x64] os: [darwin] + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.24.2': + resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + '@esbuild/freebsd-arm64@0.18.20': resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} engines: {node: '>=12'} @@ -10316,6 +10448,18 @@ packages: cpu: [arm64] os: [freebsd] + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.24.2': + resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + '@esbuild/freebsd-x64@0.18.20': resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} engines: {node: '>=12'} @@ -10334,6 +10478,18 @@ packages: cpu: [x64] os: [freebsd] + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.24.2': + resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + '@esbuild/linux-arm64@0.18.20': resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} engines: {node: '>=12'} @@ -10352,6 +10508,18 @@ packages: cpu: [arm64] os: [linux] + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.24.2': + resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + '@esbuild/linux-arm@0.18.20': resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} engines: {node: '>=12'} @@ -10370,6 +10538,18 @@ packages: cpu: [arm] os: [linux] + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.24.2': + resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + '@esbuild/linux-ia32@0.18.20': resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} engines: {node: '>=12'} @@ -10388,6 +10568,18 @@ packages: cpu: [ia32] os: [linux] + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.24.2': + resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + '@esbuild/linux-loong64@0.18.20': resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} @@ -10406,6 +10598,18 @@ packages: cpu: [loong64] os: [linux] + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.24.2': + resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + '@esbuild/linux-mips64el@0.18.20': resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} engines: {node: '>=12'} @@ -10424,6 +10628,18 @@ packages: cpu: [mips64el] os: [linux] + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.24.2': + resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + '@esbuild/linux-ppc64@0.18.20': resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} engines: {node: '>=12'} @@ -10442,6 +10658,18 @@ packages: cpu: [ppc64] os: [linux] + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.24.2': + resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + '@esbuild/linux-riscv64@0.18.20': resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} engines: {node: '>=12'} @@ -10460,6 +10688,18 @@ packages: cpu: [riscv64] os: [linux] + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.24.2': + resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + '@esbuild/linux-s390x@0.18.20': resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} engines: {node: '>=12'} @@ -10478,6 +10718,18 @@ packages: cpu: [s390x] os: [linux] + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.24.2': + resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + '@esbuild/linux-x64@0.18.20': resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} engines: {node: '>=12'} @@ -10496,6 +10748,24 @@ packages: cpu: [x64] os: [linux] + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.24.2': + resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.24.2': + resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + '@esbuild/netbsd-x64@0.18.20': resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} engines: {node: '>=12'} @@ -10514,6 +10784,24 @@ packages: cpu: [x64] os: [netbsd] + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.24.2': + resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.24.2': + resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + '@esbuild/openbsd-x64@0.18.20': resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} engines: {node: '>=12'} @@ -10532,6 +10820,18 @@ packages: cpu: [x64] os: [openbsd] + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.24.2': + resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + '@esbuild/sunos-x64@0.18.20': resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} engines: {node: '>=12'} @@ -10550,6 +10850,18 @@ packages: cpu: [x64] os: [sunos] + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.24.2': + resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + '@esbuild/win32-arm64@0.18.20': resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} engines: {node: '>=12'} @@ -10568,6 +10880,18 @@ packages: cpu: [arm64] os: [win32] + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.24.2': + resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + '@esbuild/win32-ia32@0.18.20': resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} engines: {node: '>=12'} @@ -10586,6 +10910,18 @@ packages: cpu: [ia32] os: [win32] + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.24.2': + resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + '@esbuild/win32-x64@0.18.20': resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} engines: {node: '>=12'} @@ -10604,6 +10940,18 @@ packages: cpu: [x64] os: [win32] + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.24.2': + resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + '@eslint-community/eslint-utils@4.4.0': resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -11490,6 +11838,9 @@ packages: '@jridgewell/sourcemap-codec@1.4.15': resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -11548,8 +11899,8 @@ packages: '@ledgerhq/cryptoassets-evm-signatures@13.5.2': resolution: {integrity: sha512-OjjzuiMMEIYEbXeueJB6mXwlvYhru28b43buAVOeggZ2XmdlT0kBvt7Cjn4bDPqff/glWR7vQdytIr7b77m2EQ==} - '@ledgerhq/device-management-kit@0.0.0-develop-20241231132707': - resolution: {integrity: sha512-qRYfUXbRq9xGWxH1iKJLAbbhgjTcDGvA3RjVdieFc/1FXI0gcVrYB261WAPyHj7jEAH3YTJ5U98aDzYia/bHsg==} + '@ledgerhq/device-management-kit@0.0.0-develop-20250106155719': + resolution: {integrity: sha512-LZu3Kio1QNW2DuxITLdSaZXa6s/0f7Y5vDgVy8ba2TszNXemKSvGntoMqzQ0x/TBYkejRtSh65Elw+tHd9euCQ==} peerDependencies: rxjs: ^7.8.1 @@ -11559,10 +11910,10 @@ packages: '@ledgerhq/device-transport-kit-mock-client@1.1.0': resolution: {integrity: sha512-gHY+g6y69iI+2axBPgINPNwQ45vMg+5QYy82aUPiyF6P2et5NIabIURsOzzXtfhAYopkCeanmgzg/DNDtf4IZw==} - '@ledgerhq/device-transport-kit-web-hid@0.0.0-develop-20241231132707': - resolution: {integrity: sha512-T53qrNWWR9tUGfUWHg8Rorm4prF01NS1LhKgmeGJi64cKWWGR4mLLT94b8oI8bCrb/+Nli/LMbzFeydIkcHGRw==} + '@ledgerhq/device-transport-kit-web-hid@0.0.0-develop-20250106155719': + resolution: {integrity: sha512-uzk9iOA1Cjp2wtPAYaZ5XWu4JWoFYBO/9Ur6YNGJVdGGf2Ht0gpU2sU43lPQ4Rnf4kcH3Z4+UpOx3RunkOvMMQ==} peerDependencies: - '@ledgerhq/device-management-kit': 0.0.0-develop-20241231132707 + '@ledgerhq/device-management-kit': 0.0.0-develop-20250106155719 rxjs: ^7.8.1 '@ledgerhq/domain-service@1.2.12': @@ -15869,9 +16220,6 @@ packages: '@types/jest@29.5.14': resolution: {integrity: sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==} - '@types/jsdom@16.2.15': - resolution: {integrity: sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ==} - '@types/jsdom@20.0.1': resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} @@ -15995,6 +16343,9 @@ packages: '@types/node@22.10.1': resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} + '@types/node@22.10.5': + resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -16566,6 +16917,41 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 + '@vitejs/plugin-react@4.3.4': + resolution: {integrity: sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.2.0 || ^5.0.0 || ^6.0.0 + + '@vitest/expect@2.1.8': + resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} + + '@vitest/mocker@2.1.8': + resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@2.1.8': + resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} + + '@vitest/runner@2.1.8': + resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} + + '@vitest/snapshot@2.1.8': + resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} + + '@vitest/spy@2.1.8': + resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} + + '@vitest/utils@2.1.8': + resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} + '@vue/cli-overlay@5.0.8': resolution: {integrity: sha512-KmtievE/B4kcXp6SuM2gzsnSd8WebkQpg3XaB6GmFh1BJGRqa1UiW9up7L/Q67uOdTigHxr5Ar2lZms4RcDjwQ==} @@ -16903,6 +17289,10 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} + agent-base@7.1.3: + resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} + engines: {node: '>= 14'} + agentkeepalive@4.5.0: resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} engines: {node: '>= 8.0.0'} @@ -17226,6 +17616,10 @@ packages: assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + ast-types-flow@0.0.8: resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} @@ -18087,6 +18481,10 @@ packages: resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} engines: {node: '>=4'} + chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} + engines: {node: '>=12'} + chainsaw@0.1.0: resolution: {integrity: sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==} @@ -18158,6 +18556,10 @@ packages: check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} + check-types@11.2.3: resolution: {integrity: sha512-+67P1GkJRaxQD6PKK0Et9DhwQB+vGg3PM5+aavopCpZT1lj9jeqfvpgTLAWErNj8qApkkmXlu/Ug74kmhagkXg==} @@ -19072,6 +19474,10 @@ packages: resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} engines: {node: '>=8'} + cssstyle@4.2.1: + resolution: {integrity: sha512-9+vem03dMXG7gDmZ62uqmRiMRNtinIZ9ZyuF6BdxzfOD+FdN5hretzynkn0ReS2DO2GSw76RWHs0UmJPI2zUjw==} + engines: {node: '>=18'} + csstype@2.6.21: resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==} @@ -19144,6 +19550,10 @@ packages: resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} engines: {node: '>=12'} + data-urls@5.0.0: + resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} + engines: {node: '>=18'} + data-view-buffer@1.0.1: resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} engines: {node: '>= 0.4'} @@ -19268,6 +19678,10 @@ packages: resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} engines: {node: '>=6'} + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + deep-equal@1.0.1: resolution: {integrity: sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==} @@ -19965,6 +20379,16 @@ packages: engines: {node: '>=12'} hasBin: true + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.24.2: + resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==} + engines: {node: '>=18'} + hasBin: true + escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -20247,6 +20671,9 @@ packages: estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -20374,6 +20801,10 @@ packages: resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} engines: {node: '>=6'} + expect-type@1.1.0: + resolution: {integrity: sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==} + engines: {node: '>=12.0.0'} + expect@27.5.1: resolution: {integrity: sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -21666,6 +22097,10 @@ packages: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} + html-encoding-sniffer@4.0.0: + resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} + engines: {node: '>=18'} + html-entities@2.5.2: resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} @@ -21750,6 +22185,10 @@ packages: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} engines: {node: '>= 6'} + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + http-proxy-middleware@2.0.6: resolution: {integrity: sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==} engines: {node: '>=12.0.0'} @@ -21791,6 +22230,10 @@ packages: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} + engines: {node: '>= 14'} + human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} @@ -22670,10 +23113,6 @@ packages: resolution: {integrity: sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - jest-environment-jsdom@28.1.3: - resolution: {integrity: sha512-HnlGUmZRdxfCByd3GM2F100DgQOajUBzEitjGqIREcb45kGjZvRrKUdlaF6escXBdcXNl0OBh+1ZrfeZT3GnAg==} - engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} - jest-environment-jsdom@29.7.0: resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -23144,20 +23583,20 @@ packages: canvas: optional: true - jsdom@19.0.0: - resolution: {integrity: sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==} - engines: {node: '>=12'} + jsdom@20.0.3: + resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} + engines: {node: '>=14'} peerDependencies: canvas: ^2.5.0 peerDependenciesMeta: canvas: optional: true - jsdom@20.0.3: - resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} - engines: {node: '>=14'} + jsdom@25.0.1: + resolution: {integrity: sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==} + engines: {node: '>=18'} peerDependencies: - canvas: ^2.5.0 + canvas: ^2.11.2 peerDependenciesMeta: canvas: optional: true @@ -23831,6 +24270,9 @@ packages: loupe@2.3.7: resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + loupe@3.1.2: + resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} + lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -23846,6 +24288,10 @@ packages: resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} engines: {node: 14 || >=16.14} + lru-cache@11.0.2: + resolution: {integrity: sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==} + engines: {node: 20 || >=22} + lru-cache@4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} @@ -23946,6 +24392,9 @@ packages: resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} engines: {node: '>=12'} + magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + magic-string@0.30.8: resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} engines: {node: '>=12'} @@ -24975,6 +25424,9 @@ packages: numeral@2.0.6: resolution: {integrity: sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA==} + nwsapi@2.2.16: + resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==} + nwsapi@2.2.7: resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} @@ -25401,6 +25853,10 @@ packages: pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} + pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} @@ -26034,6 +26490,10 @@ packages: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} + engines: {node: ^10 || ^12 || >=14} + postgres-array@2.0.0: resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} engines: {node: '>=4'} @@ -27557,6 +28017,12 @@ packages: rpc-websockets@9.0.4: resolution: {integrity: sha512-yWZWN0M+bivtoNLnaDbtny4XchdAIF5Q4g/ZsC5UC61Ckbp0QczwO8fg44rV3uYmY4WHd+EZQbn90W1d8ojzqQ==} + rrweb-cssom@0.7.1: + resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} + + rrweb-cssom@0.8.0: + resolution: {integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==} + run-async@2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -27856,6 +28322,9 @@ packages: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -27991,6 +28460,10 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + source-map-loader@3.0.2: resolution: {integrity: sha512-BokxPoLjyl3iOrgkWaakaxqnelAJSS+0V+De0kKIq6lyWrXuiPgYTGp6z3iHmqljKAaLXwZa+ctD8GccRJeVvg==} engines: {node: '>= 12.13.0'} @@ -28118,6 +28591,9 @@ packages: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} @@ -28152,6 +28628,9 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} + std-env@3.8.0: + resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} + stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} @@ -28837,12 +29316,37 @@ packages: tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + tinycolor2@1.6.0: resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinypool@1.0.2: + resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + engines: {node: '>=14.0.0'} + + tinyspy@3.0.2: + resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} + engines: {node: '>=14.0.0'} + tippy.js@6.3.7: resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==} + tldts-core@6.1.71: + resolution: {integrity: sha512-LRbChn2YRpic1KxY+ldL1pGXN/oVvKfCVufwfVzEQdFYNo39uF7AJa/WXdo+gYO7PTvdfkCPCed6Hkvz/kR7jg==} + + tldts@6.1.71: + resolution: {integrity: sha512-LQIHmHnuzfZgZWAf2HzL83TIIrD8NhhI0DVxqo9/FdOd4ilec+NTNZOlDZf7EwrTNoutccbsHjvWHYXLAtvxjw==} + hasBin: true + tmp-promise@3.0.3: resolution: {integrity: sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==} @@ -28907,6 +29411,10 @@ packages: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} + tough-cookie@5.0.0: + resolution: {integrity: sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==} + engines: {node: '>=16'} + tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} @@ -28921,6 +29429,10 @@ packages: resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} engines: {node: '>=12'} + tr46@5.0.0: + resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} + engines: {node: '>=18'} + trace-event-lib@1.4.1: resolution: {integrity: sha512-TOgFolKG8JFY+9d5EohGWMvwvteRafcyfPWWNIqcuD1W/FUvxWcy2MSCZ/beYHM63oYPHYHCd3tkbgCctHVP7w==} engines: {node: '>=12.0.0'} @@ -29811,6 +30323,11 @@ packages: vfile@5.3.7: resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} + vite-node@2.1.8: + resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + vite-plugin-electron@0.4.9: resolution: {integrity: sha512-LYKBd2/hncUqe99AG7D4PDzdU7qP0R7W1ijvO4IHTKwARhlWii2tsPa2dr+6Yi/+NBazlKK2OBSzc8lRNl+ctQ==} @@ -29845,6 +30362,102 @@ packages: terser: optional: true + vite@5.4.11: + resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + 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 + + vite@6.0.7: + resolution: {integrity: sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@2.1.8: + resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + 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 + vlq@0.2.3: resolution: {integrity: sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==} @@ -29928,14 +30541,14 @@ packages: resolution: {integrity: sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==} engines: {node: '>=10'} - w3c-xmlserializer@3.0.0: - resolution: {integrity: sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==} - engines: {node: '>=12'} - w3c-xmlserializer@4.0.0: resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} engines: {node: '>=14'} + w3c-xmlserializer@5.0.0: + resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} + engines: {node: '>=18'} + walk-back@4.0.0: resolution: {integrity: sha512-kudCA8PXVQfrqv2mFTG72vDBRi8BKWxGgFLwPpzHcpZnSwZk93WMwUDVcLHWNsnm+Y0AC4Vb6MUNRgaHfyV2DQ==} engines: {node: '>=8.0.0'} @@ -30189,6 +30802,10 @@ packages: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} + whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + whatwg-fetch@3.6.20: resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==} @@ -30199,18 +30816,22 @@ packages: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + whatwg-url-without-unicode@8.0.0-3: resolution: {integrity: sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==} engines: {node: '>=10'} - whatwg-url@10.0.0: - resolution: {integrity: sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==} - engines: {node: '>=12'} - whatwg-url@11.0.0: resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} engines: {node: '>=12'} + whatwg-url@14.1.0: + resolution: {integrity: sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==} + engines: {node: '>=18'} + whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -30264,6 +30885,11 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + wif@2.0.6: resolution: {integrity: sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ==} @@ -30431,6 +31057,18 @@ packages: utf-8-validate: optional: true + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + ws@8.5.0: resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} engines: {node: '>=10.0.0'} @@ -30466,6 +31104,10 @@ packages: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} + xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} + xml2js@0.4.23: resolution: {integrity: sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==} engines: {node: '>=4.0.0'} @@ -30776,6 +31418,14 @@ snapshots: jwt-decode: 4.0.0 poseidon-lite: 0.2.1 + '@asamuzakjp/css-color@2.8.2': + dependencies: + '@csstools/css-calc': 2.1.1(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-color-parser': 3.0.7(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) + '@csstools/css-tokenizer': 3.0.3 + lru-cache: 11.0.2 + '@aw-web-design/x-default-browser@1.4.126': dependencies: default-browser-id: 3.0.0 @@ -31911,6 +32561,26 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/core@7.26.0': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/helper-compilation-targets': 7.25.9 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) + '@babel/helpers': 7.26.0 + '@babel/parser': 7.26.2 + '@babel/template': 7.25.9 + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + convert-source-map: 2.0.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + '@babel/eslint-parser@7.24.1(@babel/core@7.24.3)(eslint@8.57.0)': dependencies: '@babel/core': 7.24.3 @@ -32155,6 +32825,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@babel/traverse': 7.25.9 + transitivePeerDependencies: + - supports-color + '@babel/helper-optimise-call-expression@7.22.5': dependencies: '@babel/types': 7.26.0 @@ -32287,6 +32966,11 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helpers@7.26.0': + dependencies: + '@babel/template': 7.25.9 + '@babel/types': 7.26.0 + '@babel/highlight@7.24.6': dependencies: '@babel/helper-validator-identifier': 7.25.9 @@ -33175,6 +33859,11 @@ snapshots: '@babel/core': 7.24.3 '@babel/helper-plugin-utils': 7.25.9 + '@babel/plugin-transform-react-jsx-self@7.25.9(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-plugin-utils': 7.25.9 + '@babel/plugin-transform-react-jsx-source@7.24.1(@babel/core@7.24.3)': dependencies: '@babel/core': 7.24.3 @@ -33189,6 +33878,11 @@ snapshots: '@babel/core': 7.24.3 '@babel/helper-plugin-utils': 7.25.9 + '@babel/plugin-transform-react-jsx-source@7.25.9(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-plugin-utils': 7.25.9 + '@babel/plugin-transform-react-jsx@7.23.4': dependencies: '@babel/helper-annotate-as-pure': 7.22.5 @@ -34409,6 +35103,26 @@ snapshots: optionalDependencies: source-map-support: 0.5.21 + '@csstools/color-helpers@5.0.1': {} + + '@csstools/css-calc@2.1.1(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': + dependencies: + '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) + '@csstools/css-tokenizer': 3.0.3 + + '@csstools/css-color-parser@3.0.7(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': + dependencies: + '@csstools/color-helpers': 5.0.1 + '@csstools/css-calc': 2.1.1(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) + '@csstools/css-tokenizer': 3.0.3 + + '@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3)': + dependencies: + '@csstools/css-tokenizer': 3.0.3 + + '@csstools/css-tokenizer@3.0.3': {} + '@csstools/normalize.css@12.1.1': {} '@csstools/postcss-cascade-layers@1.1.1(postcss@8.4.38)': @@ -34790,6 +35504,12 @@ snapshots: '@esbuild/aix-ppc64@0.20.2': optional: true + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/aix-ppc64@0.24.2': + optional: true + '@esbuild/android-arm64@0.18.20': optional: true @@ -34799,6 +35519,12 @@ snapshots: '@esbuild/android-arm64@0.20.2': optional: true + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.24.2': + optional: true + '@esbuild/android-arm@0.18.20': optional: true @@ -34808,6 +35534,12 @@ snapshots: '@esbuild/android-arm@0.20.2': optional: true + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-arm@0.24.2': + optional: true + '@esbuild/android-x64@0.18.20': optional: true @@ -34817,6 +35549,12 @@ snapshots: '@esbuild/android-x64@0.20.2': optional: true + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/android-x64@0.24.2': + optional: true + '@esbuild/darwin-arm64@0.18.20': optional: true @@ -34826,6 +35564,12 @@ snapshots: '@esbuild/darwin-arm64@0.20.2': optional: true + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.24.2': + optional: true + '@esbuild/darwin-x64@0.18.20': optional: true @@ -34835,6 +35579,12 @@ snapshots: '@esbuild/darwin-x64@0.20.2': optional: true + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.24.2': + optional: true + '@esbuild/freebsd-arm64@0.18.20': optional: true @@ -34844,6 +35594,12 @@ snapshots: '@esbuild/freebsd-arm64@0.20.2': optional: true + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.24.2': + optional: true + '@esbuild/freebsd-x64@0.18.20': optional: true @@ -34853,6 +35609,12 @@ snapshots: '@esbuild/freebsd-x64@0.20.2': optional: true + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.24.2': + optional: true + '@esbuild/linux-arm64@0.18.20': optional: true @@ -34862,6 +35624,12 @@ snapshots: '@esbuild/linux-arm64@0.20.2': optional: true + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.24.2': + optional: true + '@esbuild/linux-arm@0.18.20': optional: true @@ -34871,6 +35639,12 @@ snapshots: '@esbuild/linux-arm@0.20.2': optional: true + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-arm@0.24.2': + optional: true + '@esbuild/linux-ia32@0.18.20': optional: true @@ -34880,6 +35654,12 @@ snapshots: '@esbuild/linux-ia32@0.20.2': optional: true + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.24.2': + optional: true + '@esbuild/linux-loong64@0.18.20': optional: true @@ -34889,6 +35669,12 @@ snapshots: '@esbuild/linux-loong64@0.20.2': optional: true + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.24.2': + optional: true + '@esbuild/linux-mips64el@0.18.20': optional: true @@ -34898,6 +35684,12 @@ snapshots: '@esbuild/linux-mips64el@0.20.2': optional: true + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.24.2': + optional: true + '@esbuild/linux-ppc64@0.18.20': optional: true @@ -34907,6 +35699,12 @@ snapshots: '@esbuild/linux-ppc64@0.20.2': optional: true + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.24.2': + optional: true + '@esbuild/linux-riscv64@0.18.20': optional: true @@ -34916,6 +35714,12 @@ snapshots: '@esbuild/linux-riscv64@0.20.2': optional: true + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.24.2': + optional: true + '@esbuild/linux-s390x@0.18.20': optional: true @@ -34925,6 +35729,12 @@ snapshots: '@esbuild/linux-s390x@0.20.2': optional: true + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.24.2': + optional: true + '@esbuild/linux-x64@0.18.20': optional: true @@ -34934,6 +35744,15 @@ snapshots: '@esbuild/linux-x64@0.20.2': optional: true + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/linux-x64@0.24.2': + optional: true + + '@esbuild/netbsd-arm64@0.24.2': + optional: true + '@esbuild/netbsd-x64@0.18.20': optional: true @@ -34943,6 +35762,15 @@ snapshots: '@esbuild/netbsd-x64@0.20.2': optional: true + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.24.2': + optional: true + + '@esbuild/openbsd-arm64@0.24.2': + optional: true + '@esbuild/openbsd-x64@0.18.20': optional: true @@ -34952,6 +35780,12 @@ snapshots: '@esbuild/openbsd-x64@0.20.2': optional: true + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.24.2': + optional: true + '@esbuild/sunos-x64@0.18.20': optional: true @@ -34961,6 +35795,12 @@ snapshots: '@esbuild/sunos-x64@0.20.2': optional: true + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.24.2': + optional: true + '@esbuild/win32-arm64@0.18.20': optional: true @@ -34970,6 +35810,12 @@ snapshots: '@esbuild/win32-arm64@0.20.2': optional: true + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.24.2': + optional: true + '@esbuild/win32-ia32@0.18.20': optional: true @@ -34979,6 +35825,12 @@ snapshots: '@esbuild/win32-ia32@0.20.2': optional: true + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.24.2': + optional: true + '@esbuild/win32-x64@0.18.20': optional: true @@ -34988,6 +35840,12 @@ snapshots: '@esbuild/win32-x64@0.20.2': optional: true + '@esbuild/win32-x64@0.21.5': + optional: true + + '@esbuild/win32-x64@0.24.2': + optional: true + '@eslint-community/eslint-utils@4.4.0(eslint@8.57.0)': dependencies: eslint: 8.57.0 @@ -35379,7 +36237,7 @@ snapshots: text-table: 0.2.0 url-join: 4.0.0 wrap-ansi: 7.0.0 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - encoding @@ -35465,7 +36323,7 @@ snapshots: text-table: 0.2.0 url-join: 4.0.0 wrap-ansi: 7.0.0 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - encoding @@ -35551,7 +36409,7 @@ snapshots: text-table: 0.2.0 url-join: 4.0.0 wrap-ansi: 7.0.0 - ws: 8.17.1 + ws: 8.18.0 optionalDependencies: metro: 0.80.12 metro-core: 0.80.12 @@ -36482,7 +37340,7 @@ snapshots: long: 4.0.0 protobufjs: 7.3.2 - '@hashgraph/sdk@2.54.2': + '@hashgraph/sdk@2.54.2(patch_hash=k7yhj43cvppejacxf26wwnq7qq)': dependencies: '@ethersproject/abi': 5.7.0 '@ethersproject/bignumber': 5.7.0 @@ -36991,7 +37849,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(ts-node@10.9.2(typescript@5.4.3))': + '@jest/core@29.7.0(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37005,7 +37863,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.12.12)(ts-node@10.9.2(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@20.12.12)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37027,7 +37885,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(ts-node@10.9.2(typescript@5.6.3))': + '@jest/core@29.7.0(ts-node@10.9.2(typescript@5.4.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -37041,7 +37899,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.12.12)(ts-node@10.9.2(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.12.12)(ts-node@10.9.2(typescript@5.4.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37472,6 +38330,8 @@ snapshots: '@jridgewell/sourcemap-codec@1.4.15': {} + '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 @@ -37557,10 +38417,10 @@ snapshots: '@ledgerhq/live-env': 2.4.1 axios: 1.7.7 - '@ledgerhq/device-management-kit@0.0.0-develop-20241231132707(rxjs@7.8.1)': + '@ledgerhq/device-management-kit@0.0.0-develop-20250106155719(rxjs@7.8.1)(ws@8.18.0)': dependencies: '@sentry/minimal': 6.19.7 - '@statelyai/inspect': 0.4.0(xstate@5.19.1) + '@statelyai/inspect': 0.4.0(ws@8.18.0)(xstate@5.19.1) axios: 1.7.9 inversify: 6.2.1(reflect-metadata@0.2.2) inversify-logger-middleware: 3.1.0 @@ -37592,9 +38452,9 @@ snapshots: '@ledgerhq/device-transport-kit-mock-client@1.1.0': {} - '@ledgerhq/device-transport-kit-web-hid@0.0.0-develop-20241231132707(@ledgerhq/device-management-kit@0.0.0-develop-20241231132707(rxjs@7.8.1))(rxjs@7.8.1)': + '@ledgerhq/device-transport-kit-web-hid@0.0.0-develop-20250106155719(@ledgerhq/device-management-kit@0.0.0-develop-20250106155719(rxjs@7.8.1)(ws@8.18.0))(rxjs@7.8.1)': dependencies: - '@ledgerhq/device-management-kit': 0.0.0-develop-20241231132707(rxjs@7.8.1) + '@ledgerhq/device-management-kit': 0.0.0-develop-20250106155719(rxjs@7.8.1)(ws@8.18.0) '@sentry/minimal': 6.19.7 purify-ts: 2.1.0 rxjs: 7.8.1 @@ -37736,7 +38596,7 @@ snapshots: '@ledgerhq/wallet-api-core': 1.13.0 '@ledgerhq/wallet-api-server': 1.6.0(react@18.3.1)(rxjs@7.8.1) rxjs: 7.8.1 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - react @@ -38906,7 +39766,7 @@ snapshots: dependencies: '@polkadot/x-global': 12.6.2 tslib: 2.6.2 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -41947,19 +42807,19 @@ snapshots: transitivePeerDependencies: - encoding - '@statelyai/inspect@0.4.0(xstate@5.19.0)': + '@statelyai/inspect@0.4.0(ws@8.18.0)(xstate@5.19.1)': dependencies: fast-safe-stringify: 2.1.1 - isomorphic-ws: 5.0.0 + isomorphic-ws: 5.0.0(ws@8.18.0) partysocket: 0.0.25 safe-stable-stringify: 2.4.3 superjson: 1.13.3 uuid: 9.0.1 - xstate: 5.19.0 + xstate: 5.19.1 transitivePeerDependencies: - ws - '@statelyai/inspect@0.4.0(xstate@5.19.1)': + '@statelyai/inspect@0.4.0(xstate@5.19.0)': dependencies: fast-safe-stringify: 2.1.1 isomorphic-ws: 5.0.0 @@ -41967,7 +42827,7 @@ snapshots: safe-stable-stringify: 2.4.3 superjson: 1.13.3 uuid: 9.0.1 - xstate: 5.19.1 + xstate: 5.19.0 transitivePeerDependencies: - ws @@ -43447,7 +44307,7 @@ snapshots: util: 0.12.5 util-deprecate: 1.0.2 watchpack: 2.4.2 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - encoding @@ -44426,7 +45286,7 @@ snapshots: '@testing-library/dom@9.3.4': dependencies: - '@babel/code-frame': 7.26.2 + '@babel/code-frame': 7.24.6 '@babel/runtime': 7.24.1 '@types/aria-query': 5.0.4 aria-query: 5.1.3 @@ -44877,12 +45737,6 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 - '@types/jsdom@16.2.15': - dependencies: - '@types/node': 20.12.12 - '@types/parse5': 6.0.3 - '@types/tough-cookie': 4.0.5 - '@types/jsdom@20.0.1': dependencies: '@types/node': 20.12.12 @@ -45014,6 +45868,10 @@ snapshots: dependencies: undici-types: 6.20.0 + '@types/node@22.10.5': + dependencies: + undici-types: 6.20.0 + '@types/normalize-package-data@2.4.4': {} '@types/numeral@2.0.5': {} @@ -45791,6 +46649,57 @@ snapshots: transitivePeerDependencies: - supports-color + '@vitejs/plugin-react@4.3.4(vite@6.0.7(@types/node@22.10.1))': + dependencies: + '@babel/core': 7.26.0 + '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) + '@types/babel__core': 7.20.5 + react-refresh: 0.14.2 + vite: 6.0.7(@types/node@22.10.1) + transitivePeerDependencies: + - supports-color + + '@vitest/expect@2.1.8': + dependencies: + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 + chai: 5.1.2 + tinyrainbow: 1.2.0 + + '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.1))': + dependencies: + '@vitest/spy': 2.1.8 + estree-walker: 3.0.3 + magic-string: 0.30.17 + optionalDependencies: + vite: 5.4.11(@types/node@22.10.1) + + '@vitest/pretty-format@2.1.8': + dependencies: + tinyrainbow: 1.2.0 + + '@vitest/runner@2.1.8': + dependencies: + '@vitest/utils': 2.1.8 + pathe: 1.1.2 + + '@vitest/snapshot@2.1.8': + dependencies: + '@vitest/pretty-format': 2.1.8 + magic-string: 0.30.17 + pathe: 1.1.2 + + '@vitest/spy@2.1.8': + dependencies: + tinyspy: 3.0.2 + + '@vitest/utils@2.1.8': + dependencies: + '@vitest/pretty-format': 2.1.8 + loupe: 3.1.2 + tinyrainbow: 1.2.0 + '@vue/cli-overlay@5.0.8': {} '@vue/cli-plugin-router@5.0.8(@vue/cli-service@5.0.8(lodash@4.17.21)(prettier@3.2.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vue-template-compiler@2.7.16)(vue@2.7.16))': @@ -46207,7 +47116,7 @@ snapshots: dependencies: '@noble/hashes': 1.6.1 eventemitter3: 5.0.1 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -46462,6 +47371,8 @@ snapshots: transitivePeerDependencies: - supports-color + agent-base@7.1.3: {} + agentkeepalive@4.5.0: dependencies: humanize-ms: 1.2.1 @@ -46876,6 +47787,8 @@ snapshots: assertion-error@1.1.0: {} + assertion-error@2.0.1: {} + ast-types-flow@0.0.8: {} ast-types@0.15.2: @@ -48179,6 +49092,14 @@ snapshots: pathval: 1.1.1 type-detect: 4.0.8 + chai@5.1.2: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.2 + pathval: 2.0.0 + chainsaw@0.1.0: dependencies: traverse: 0.3.9 @@ -48253,6 +49174,8 @@ snapshots: dependencies: get-func-name: 2.0.2 + check-error@2.1.1: {} + check-types@11.2.3: {} child-process-promise@2.2.1: @@ -49003,13 +49926,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): + create-jest@29.7.0(@types/node@22.10.5): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -49019,13 +49942,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(ts-node@10.9.2(typescript@5.4.3)): + create-jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -49035,13 +49958,29 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)): + create-jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + jest-config: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - metro + - supports-color + - ts-node + + create-jest@29.7.0(ts-node@10.9.2(typescript@5.4.3)): + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -49330,6 +50269,11 @@ snapshots: dependencies: cssom: 0.3.8 + cssstyle@4.2.1: + dependencies: + '@asamuzakjp/css-color': 2.8.2 + rrweb-cssom: 0.8.0 + csstype@2.6.21: {} csstype@3.1.2: {} @@ -49401,6 +50345,11 @@ snapshots: whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 + data-urls@5.0.0: + dependencies: + whatwg-mimetype: 4.0.0 + whatwg-url: 14.1.0 + data-view-buffer@1.0.1: dependencies: call-bind: 1.0.7 @@ -49500,6 +50449,8 @@ snapshots: dependencies: type-detect: 4.0.8 + deep-eql@5.0.2: {} + deep-equal@1.0.1: {} deep-equal@1.1.2: @@ -50478,6 +51429,60 @@ snapshots: '@esbuild/win32-ia32': 0.20.2 '@esbuild/win32-x64': 0.20.2 + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + + esbuild@0.24.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.24.2 + '@esbuild/android-arm': 0.24.2 + '@esbuild/android-arm64': 0.24.2 + '@esbuild/android-x64': 0.24.2 + '@esbuild/darwin-arm64': 0.24.2 + '@esbuild/darwin-x64': 0.24.2 + '@esbuild/freebsd-arm64': 0.24.2 + '@esbuild/freebsd-x64': 0.24.2 + '@esbuild/linux-arm': 0.24.2 + '@esbuild/linux-arm64': 0.24.2 + '@esbuild/linux-ia32': 0.24.2 + '@esbuild/linux-loong64': 0.24.2 + '@esbuild/linux-mips64el': 0.24.2 + '@esbuild/linux-ppc64': 0.24.2 + '@esbuild/linux-riscv64': 0.24.2 + '@esbuild/linux-s390x': 0.24.2 + '@esbuild/linux-x64': 0.24.2 + '@esbuild/netbsd-arm64': 0.24.2 + '@esbuild/netbsd-x64': 0.24.2 + '@esbuild/openbsd-arm64': 0.24.2 + '@esbuild/openbsd-x64': 0.24.2 + '@esbuild/sunos-x64': 0.24.2 + '@esbuild/win32-arm64': 0.24.2 + '@esbuild/win32-ia32': 0.24.2 + '@esbuild/win32-x64': 0.24.2 + escalade@3.2.0: {} escape-goat@2.1.1: {} @@ -50853,24 +51858,24 @@ snapshots: - supports-color - typescript - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)))(typescript@5.6.3): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.6.3) eslint: 8.57.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3) - jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)))(typescript@5.6.3): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.3) eslint: 8.57.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.3))(eslint@8.57.0)(typescript@5.4.3) - jest: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) transitivePeerDependencies: - supports-color - typescript @@ -51060,6 +52065,10 @@ snapshots: estree-walker@2.0.2: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.6 + esutils@2.0.3: {} etag@1.8.1: {} @@ -51294,6 +52303,8 @@ snapshots: expand-template@2.0.3: {} + expect-type@1.1.0: {} + expect@27.5.1: dependencies: '@jest/types': 27.5.1 @@ -52901,6 +53912,10 @@ snapshots: dependencies: whatwg-encoding: 2.0.0 + html-encoding-sniffer@4.0.0: + dependencies: + whatwg-encoding: 3.1.1 + html-entities@2.5.2: {} html-escaper@2.0.2: {} @@ -53034,6 +54049,13 @@ snapshots: transitivePeerDependencies: - supports-color + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.3 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + http-proxy-middleware@2.0.6(@types/express@4.17.21): dependencies: '@types/http-proxy': 1.17.14 @@ -53100,6 +54122,13 @@ snapshots: transitivePeerDependencies: - supports-color + https-proxy-agent@7.0.6: + dependencies: + agent-base: 7.1.3 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + human-id@1.0.2: {} human-signals@2.1.0: {} @@ -53690,6 +54719,10 @@ snapshots: dependencies: ws: 8.17.1 + isomorphic-ws@5.0.0(ws@8.18.0): + dependencies: + ws: 8.18.0 + isstream@0.1.2: {} istanbul-lib-coverage@3.2.2: {} @@ -53972,26 +55005,6 @@ snapshots: - supports-color - ts-node - jest-cli@28.1.3(@types/node@20.12.12): - dependencies: - '@jest/core': 28.1.3 - '@jest/test-result': 28.1.3 - '@jest/types': 28.1.3 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - import-local: 3.1.0 - jest-config: 28.1.3(@types/node@20.12.12) - jest-util: 28.1.3 - jest-validate: 28.1.3 - prompts: 2.4.2 - yargs: 17.7.2 - transitivePeerDependencies: - - '@types/node' - - metro - - supports-color - - ts-node - jest-cli@29.7.0: dependencies: '@jest/core': 29.7.0 @@ -54152,16 +55165,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): + jest-cli@29.7.0(@types/node@22.10.5): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + '@jest/core': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + create-jest: 29.7.0(@types/node@22.10.5) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -54172,16 +55185,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(ts-node@10.9.2(typescript@5.4.3)): + jest-cli@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + create-jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -54192,16 +55205,36 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(ts-node@10.9.2(typescript@5.6.3)): + jest-cli@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + create-jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + jest-config: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - metro + - supports-color + - ts-node + + jest-cli@29.7.0(ts-node@10.9.2(typescript@5.4.3)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + exit: 0.1.2 + import-local: 3.1.0 + jest-config: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -54589,6 +55622,38 @@ snapshots: - metro - supports-color + jest-config@29.7.0(@types/node@20.12.12)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)): + dependencies: + '@babel/core': 7.24.3 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.24.3) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.7 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.12.12 + ts-node: 10.9.2(@types/node@22.10.5)(typescript@5.6.3) + transitivePeerDependencies: + - babel-plugin-macros + - metro + - supports-color + jest-config@29.7.0(@types/node@20.12.12)(ts-node@10.9.2(typescript@5.4.3)): dependencies: '@babel/core': 7.24.3 @@ -54614,14 +55679,45 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.12.12 - ts-node: 10.9.2(typescript@5.4.3) + '@types/node': 20.12.12 + ts-node: 10.9.2(typescript@5.4.3) + transitivePeerDependencies: + - babel-plugin-macros + - metro + - supports-color + + jest-config@29.7.0(@types/node@22.10.1): + dependencies: + '@babel/core': 7.24.3 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.24.3) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.7 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 22.10.1 transitivePeerDependencies: - babel-plugin-macros - metro - supports-color - jest-config@29.7.0(@types/node@20.12.12)(ts-node@10.9.2(typescript@5.6.3)): + jest-config@29.7.0(@types/node@22.10.5): dependencies: '@babel/core': 7.24.3 '@jest/test-sequencer': 29.7.0 @@ -54646,14 +55742,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.12.12 - ts-node: 10.9.2(typescript@5.6.3) + '@types/node': 22.10.5 transitivePeerDependencies: - babel-plugin-macros - metro - supports-color - jest-config@29.7.0(@types/node@22.10.1): + jest-config@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)): dependencies: '@babel/core': 7.24.3 '@jest/test-sequencer': 29.7.0 @@ -54678,7 +55773,8 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.5 + ts-node: 10.9.2(@types/node@22.10.5)(typescript@5.6.3) transitivePeerDependencies: - babel-plugin-macros - metro @@ -54746,37 +55842,6 @@ snapshots: - metro - supports-color - jest-config@29.7.0(ts-node@10.9.2(typescript@5.6.3)): - dependencies: - '@babel/core': 7.24.3 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.24.3) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.7 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - ts-node: 10.9.2(typescript@5.6.3) - transitivePeerDependencies: - - babel-plugin-macros - - metro - - supports-color - jest-diff@26.6.2: dependencies: chalk: 4.1.2 @@ -54872,22 +55937,6 @@ snapshots: - supports-color - utf-8-validate - jest-environment-jsdom@28.1.3: - dependencies: - '@jest/environment': 28.1.3 - '@jest/fake-timers': 28.1.3 - '@jest/types': 28.1.3 - '@types/jsdom': 16.2.15 - '@types/node': 20.12.12 - jest-mock: 28.1.3 - jest-util: 28.1.3 - jsdom: 19.0.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - jest-environment-jsdom@29.7.0: dependencies: '@jest/environment': 29.7.0 @@ -55660,18 +56709,6 @@ snapshots: - supports-color - ts-node - jest@28.1.3(@types/node@20.12.12): - dependencies: - '@jest/core': 28.1.3 - '@jest/types': 28.1.3 - import-local: 3.1.0 - jest-cli: 28.1.3(@types/node@20.12.12) - transitivePeerDependencies: - - '@types/node' - - metro - - supports-color - - ts-node - jest@29.7.0: dependencies: '@jest/core': 29.7.0 @@ -55776,12 +56813,12 @@ snapshots: - supports-color - ts-node - jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): + jest@29.7.0(@types/node@22.10.5): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-cli: 29.7.0(@types/node@22.10.5) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -55789,12 +56826,12 @@ snapshots: - supports-color - ts-node - jest@29.7.0(ts-node@10.9.2(typescript@5.4.3)): + jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) + jest-cli: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -55802,12 +56839,25 @@ snapshots: - supports-color - ts-node - jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)): + jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + '@jest/types': 29.6.3 + import-local: 3.1.0 + jest-cli: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - metro + - supports-color + - ts-node + + jest@29.7.0(ts-node@10.9.2(typescript@5.4.3)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + '@jest/core': 29.7.0(ts-node@10.9.2(typescript@5.4.3)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) + jest-cli: 29.7.0(ts-node@10.9.2(typescript@5.4.3)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -56062,18 +57112,18 @@ snapshots: whatwg-encoding: 1.0.5 whatwg-mimetype: 2.3.0 whatwg-url: 9.1.0 - ws: 8.17.1 + ws: 8.18.0 xml-name-validator: 3.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - jsdom@19.0.0: + jsdom@20.0.3: dependencies: abab: 2.0.6 acorn: 8.13.0 - acorn-globals: 6.0.0 + acorn-globals: 7.0.1 cssom: 0.5.0 cssstyle: 2.3.0 data-urls: 3.0.2 @@ -56086,51 +57136,45 @@ snapshots: https-proxy-agent: 5.0.1 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.7 - parse5: 6.0.1 - saxes: 5.0.1 + parse5: 7.1.2 + saxes: 6.0.0 symbol-tree: 3.2.4 tough-cookie: 4.1.4 - w3c-hr-time: 1.0.2 - w3c-xmlserializer: 3.0.0 + w3c-xmlserializer: 4.0.0 webidl-conversions: 7.0.0 whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 - whatwg-url: 10.0.0 - ws: 8.17.1 + whatwg-url: 11.0.0 + ws: 8.18.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - jsdom@20.0.3: + jsdom@25.0.1: dependencies: - abab: 2.0.6 - acorn: 8.13.0 - acorn-globals: 7.0.1 - cssom: 0.5.0 - cssstyle: 2.3.0 - data-urls: 3.0.2 + cssstyle: 4.2.1 + data-urls: 5.0.0 decimal.js: 10.4.3 - domexception: 4.0.0 - escodegen: 2.1.0 form-data: 4.0.0 - html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 + html-encoding-sniffer: 4.0.0 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.7 + nwsapi: 2.2.16 parse5: 7.1.2 + rrweb-cssom: 0.7.1 saxes: 6.0.0 symbol-tree: 3.2.4 - tough-cookie: 4.1.4 - w3c-xmlserializer: 4.0.0 + tough-cookie: 5.0.0 + w3c-xmlserializer: 5.0.0 webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - whatwg-url: 11.0.0 - ws: 8.17.1 - xml-name-validator: 4.0.0 + whatwg-encoding: 3.1.1 + whatwg-mimetype: 4.0.0 + whatwg-url: 14.1.0 + ws: 8.18.0 + xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil - supports-color @@ -56899,6 +57943,8 @@ snapshots: dependencies: get-func-name: 2.0.2 + loupe@3.1.2: {} + lower-case@2.0.2: dependencies: tslib: 2.6.2 @@ -56909,6 +57955,8 @@ snapshots: lru-cache@10.2.0: {} + lru-cache@11.0.2: {} + lru-cache@4.1.5: dependencies: pseudomap: 1.0.2 @@ -57035,6 +58083,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + magic-string@0.30.17: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.8: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -58574,6 +59626,8 @@ snapshots: numeral@2.0.6: {} + nwsapi@2.2.16: {} + nwsapi@2.2.7: {} nyc@15.1.0: @@ -59053,6 +60107,8 @@ snapshots: pathval@1.1.1: {} + pathval@2.0.0: {} + pause-stream@0.0.11: dependencies: through: 2.3.8 @@ -59722,6 +60778,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.0 + postcss@8.4.49: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.1 + source-map-js: 1.2.1 + postgres-array@2.0.0: {} postgres-bytea@1.0.0: {} @@ -61905,11 +62967,15 @@ snapshots: buffer: 6.0.3(patch_hash=2xnca52oxhztvr7iaoovwclcze) eventemitter3: 5.0.1 uuid: 8.3.2 - ws: 8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) optionalDependencies: bufferutil: 4.0.8 utf-8-validate: 5.0.10 + rrweb-cssom@0.7.1: {} + + rrweb-cssom@0.8.0: {} + run-async@2.4.1: {} run-parallel@1.2.0: @@ -62249,6 +63315,8 @@ snapshots: get-intrinsic: 1.2.4 object-inspect: 1.13.1 + siginfo@2.0.0: {} + signal-exit@3.0.7: {} signal-exit@4.1.0: {} @@ -62356,7 +63424,7 @@ snapshots: smoldot@2.0.22: dependencies: - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -62408,6 +63476,8 @@ snapshots: source-map-js@1.2.0: {} + source-map-js@1.2.1: {} + source-map-loader@3.0.2(webpack@5.94.0(metro@0.80.12)): dependencies: abab: 2.0.6 @@ -62558,6 +63628,8 @@ snapshots: dependencies: escape-string-regexp: 2.0.0 + stackback@0.0.2: {} + stackframe@1.3.4: {} stacktrace-gps@3.1.2: @@ -62589,6 +63661,8 @@ snapshots: statuses@2.0.1: {} + std-env@3.8.0: {} + stop-iteration-iterator@1.0.0: dependencies: internal-slot: 1.0.7 @@ -63623,12 +64697,28 @@ snapshots: tiny-warning@1.0.3: {} + tinybench@2.9.0: {} + tinycolor2@1.6.0: {} + tinyexec@0.3.2: {} + + tinypool@1.0.2: {} + + tinyrainbow@1.2.0: {} + + tinyspy@3.0.2: {} + tippy.js@6.3.7: dependencies: '@popperjs/core': 2.11.8 + tldts-core@6.1.71: {} + + tldts@6.1.71: + dependencies: + tldts-core: 6.1.71 + tmp-promise@3.0.3: dependencies: tmp: 0.2.3 @@ -63685,6 +64775,10 @@ snapshots: universalify: 0.2.0 url-parse: 1.5.10 + tough-cookie@5.0.0: + dependencies: + tldts: 6.1.71 + tr46@0.0.3: {} tr46@1.0.1: @@ -63699,6 +64793,10 @@ snapshots: dependencies: punycode: 2.3.1 + tr46@5.0.0: + dependencies: + punycode: 2.3.1 + trace-event-lib@1.4.1: dependencies: browser-process-hrtime: 1.0.0 @@ -63800,20 +64898,36 @@ snapshots: typescript: 5.6.3 yargs-parser: 21.1.1 - ts-jest@28.0.8(jest@28.1.3(@types/node@20.12.12))(typescript@5.4.3): + ts-jest@29.1.2(@babel/core@7.24.3)(babel-jest@29.7.0(@babel/core@7.24.3))(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 28.1.3(@types/node@20.12.12) - jest-util: 28.1.3 + jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.5.4 typescript: 5.4.3 yargs-parser: 21.1.1 + optionalDependencies: + '@babel/core': 7.24.3 + babel-jest: 29.7.0(@babel/core@7.24.3) - ts-jest@29.1.2(@babel/core@7.24.3)(babel-jest@29.7.0(@babel/core@7.24.3))(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): + ts-jest@29.1.2(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.3): + dependencies: + bs-logger: 0.2.6 + fast-json-stable-stringify: 2.1.0 + jest: 29.7.0(@types/node@20.12.12) + jest-util: 29.7.0 + json5: 2.2.3 + lodash.memoize: 4.1.2 + make-error: 1.3.6 + semver: 7.5.4 + typescript: 5.4.3 + yargs-parser: 21.1.1 + + ts-jest@29.1.2(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 @@ -63825,15 +64939,27 @@ snapshots: semver: 7.5.4 typescript: 5.4.3 yargs-parser: 21.1.1 + + ts-jest@29.1.5(esbuild@0.24.2)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)))(typescript@5.6.3): + dependencies: + bs-logger: 0.2.6 + fast-json-stable-stringify: 2.1.0 + jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3)) + jest-util: 29.7.0 + json5: 2.2.3 + lodash.memoize: 4.1.2 + make-error: 1.3.6 + semver: 7.5.4 + typescript: 5.6.3 + yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.24.3 - babel-jest: 29.7.0(@babel/core@7.24.3) + esbuild: 0.24.2 - ts-jest@29.1.2(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.3): + ts-jest@29.1.5(esbuild@0.24.2)(jest@29.7.0(@types/node@22.10.5))(typescript@5.4.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.12.12) + jest: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -63841,12 +64967,14 @@ snapshots: semver: 7.5.4 typescript: 5.4.3 yargs-parser: 21.1.1 + optionalDependencies: + esbuild: 0.24.2 - ts-jest@29.1.2(jest@29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)))(typescript@5.4.3): + ts-jest@29.1.5(esbuild@0.24.2)(jest@29.7.0)(typescript@5.4.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(ts-node@10.9.2(@swc/core@1.4.11)(typescript@5.4.3)) + jest: 29.7.0 jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -63854,6 +64982,8 @@ snapshots: semver: 7.5.4 typescript: 5.4.3 yargs-parser: 21.1.1 + optionalDependencies: + esbuild: 0.24.2 ts-jest@29.1.5(jest@29.7.0(@types/node@18.19.26)(ts-node@10.9.2(@types/node@18.19.26)(source-map-support@0.5.21)(typescript@5.4.3)))(typescript@5.4.3): dependencies: @@ -63946,19 +65076,6 @@ snapshots: typescript: 5.4.3 yargs-parser: 21.1.1 - ts-jest@29.1.5(jest@29.7.0(ts-node@10.9.2(typescript@5.6.3)))(typescript@5.6.3): - dependencies: - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(ts-node@10.9.2(typescript@5.6.3)) - jest-util: 29.7.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.5.4 - typescript: 5.6.3 - yargs-parser: 21.1.1 - ts-jest@29.1.5(jest@29.7.0)(typescript@5.4.3): dependencies: bs-logger: 0.2.6 @@ -64178,26 +65295,27 @@ snapshots: transitivePeerDependencies: - source-map-support - ts-node@10.9.2(typescript@5.4.3): + ts-node@10.9.2(@types/node@22.10.5)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 + '@types/node': 22.10.5 acorn: 8.13.0 acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.4.3 + typescript: 5.6.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 transitivePeerDependencies: - source-map-support - ts-node@10.9.2(typescript@5.6.3): + ts-node@10.9.2(typescript@5.4.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -64210,7 +65328,7 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.4.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 transitivePeerDependencies: @@ -64939,6 +66057,24 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 + vite-node@2.1.8(@types/node@22.10.1): + dependencies: + cac: 6.7.14 + debug: 4.3.7 + es-module-lexer: 1.5.4 + pathe: 1.1.2 + vite: 5.4.11(@types/node@22.10.1) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + vite-plugin-electron@0.4.9: dependencies: vite-plugin-optimizer: 1.4.3 @@ -64962,6 +66098,60 @@ snapshots: '@types/node': 20.12.12 fsevents: 2.3.3 + vite@5.4.11(@types/node@22.10.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.49 + rollup: 4.24.0 + optionalDependencies: + '@types/node': 22.10.1 + fsevents: 2.3.3 + + vite@6.0.7(@types/node@22.10.1): + dependencies: + esbuild: 0.24.2 + postcss: 8.4.49 + rollup: 4.24.0 + optionalDependencies: + '@types/node': 22.10.1 + fsevents: 2.3.3 + + vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1): + dependencies: + '@vitest/expect': 2.1.8 + '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.1)) + '@vitest/pretty-format': 2.1.8 + '@vitest/runner': 2.1.8 + '@vitest/snapshot': 2.1.8 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 + chai: 5.1.2 + debug: 4.3.7 + expect-type: 1.1.0 + magic-string: 0.30.17 + pathe: 1.1.2 + std-env: 3.8.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinypool: 1.0.2 + tinyrainbow: 1.2.0 + vite: 5.4.11(@types/node@22.10.1) + vite-node: 2.1.8(@types/node@22.10.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 22.10.1 + jsdom: 25.0.1 + transitivePeerDependencies: + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + vlq@0.2.3: {} vlq@1.0.1: {} @@ -65089,13 +66279,13 @@ snapshots: dependencies: xml-name-validator: 3.0.0 - w3c-xmlserializer@3.0.0: + w3c-xmlserializer@4.0.0: dependencies: xml-name-validator: 4.0.0 - w3c-xmlserializer@4.0.0: + w3c-xmlserializer@5.0.0: dependencies: - xml-name-validator: 4.0.0 + xml-name-validator: 5.0.0 walk-back@4.0.0: {} @@ -65449,7 +66639,7 @@ snapshots: sockjs: 0.3.24 spdy: 4.0.2 webpack-dev-middleware: 5.3.4(webpack@5.94.0) - ws: 8.17.1 + ws: 8.18.0 optionalDependencies: webpack: 5.94.0(webpack-cli@4.10.0) webpack-cli: 4.10.0(webpack-dev-server@4.15.2)(webpack@5.94.0) @@ -65489,7 +66679,7 @@ snapshots: sockjs: 0.3.24 spdy: 4.0.2 webpack-dev-middleware: 5.3.4(webpack@5.94.0(metro@0.80.12)) - ws: 8.17.1 + ws: 8.18.0 optionalDependencies: webpack: 5.94.0(metro@0.80.12) transitivePeerDependencies: @@ -65528,7 +66718,7 @@ snapshots: sockjs: 0.3.24 spdy: 4.0.2 webpack-dev-middleware: 5.3.4(webpack@5.94.0) - ws: 8.17.1 + ws: 8.18.0 optionalDependencies: webpack: 5.94.0 transitivePeerDependencies: @@ -65795,26 +66985,32 @@ snapshots: dependencies: iconv-lite: 0.6.3 + whatwg-encoding@3.1.1: + dependencies: + iconv-lite: 0.6.3 + whatwg-fetch@3.6.20: {} whatwg-mimetype@2.3.0: {} whatwg-mimetype@3.0.0: {} + whatwg-mimetype@4.0.0: {} + whatwg-url-without-unicode@8.0.0-3: dependencies: buffer: 5.7.1 punycode: 2.3.1 webidl-conversions: 5.0.0 - whatwg-url@10.0.0: + whatwg-url@11.0.0: dependencies: tr46: 3.0.0 webidl-conversions: 7.0.0 - whatwg-url@11.0.0: + whatwg-url@14.1.0: dependencies: - tr46: 3.0.0 + tr46: 5.0.0 webidl-conversions: 7.0.0 whatwg-url@5.0.0: @@ -65898,6 +67094,11 @@ snapshots: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + wif@2.0.6: dependencies: bs58check: 2.1.2 @@ -66126,15 +67327,17 @@ snapshots: ws@8.17.1: {} - ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10): + ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.3): optionalDependencies: bufferutil: 4.0.8 - utf-8-validate: 5.0.10 + utf-8-validate: 6.0.3 - ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.3): + ws@8.18.0: {} + + ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10): optionalDependencies: bufferutil: 4.0.8 - utf-8-validate: 6.0.3 + utf-8-validate: 5.0.10 ws@8.5.0: {} @@ -66170,6 +67373,8 @@ snapshots: xml-name-validator@4.0.0: {} + xml-name-validator@5.0.0: {} + xml2js@0.4.23: dependencies: sax: 1.2.4 diff --git a/tools/actions/build-checks/build/main.js b/tools/actions/build-checks/build/main.js index 6e7f4e93ab41..3e9d6e9a4622 100644 --- a/tools/actions/build-checks/build/main.js +++ b/tools/actions/build-checks/build/main.js @@ -57689,9 +57689,7 @@ function isDateBefore(a, b) { return new Date(a) < new Date(b); } var Reporter = class { - constructor() { - this.statements = []; - } + statements = []; improvement(message) { this.statements.push(`\u{1F680} ${message}`); } diff --git a/tools/actions/turbo-affected/build/main.js b/tools/actions/turbo-affected/build/main.js index a25a9c52688c..044bfd447604 100644 --- a/tools/actions/turbo-affected/build/main.js +++ b/tools/actions/turbo-affected/build/main.js @@ -18899,45 +18899,49 @@ var package_default = { changelog: "changeset add", prerelease: "pnpm run build:libs", release: "changeset publish", - "build:libs": 'pnpm turbo build --no-daemon --filter="./libs/**" --filter="!./libs/ui/examples/**"', + "build:libs": 'pnpm turbo build --filter="./libs/**" --filter="!./libs/ui/examples/**"', "build:libs:force": 'pnpm -r --filter="./libs/**" --filter="!./libs/ui/examples/**" build', - "build:tests": 'pnpm turbo build --no-daemon --filter="./tests/**"', + "build:tests": 'pnpm turbo build --filter="./tests/**"', "build:dummy-apps": 'pnpm turbo build --filter="@ledgerhq/dummy-*-app"', "build:dummy-wallet-app": 'pnpm turbo build --filter="@ledgerhq/dummy-wallet-app"', "build:dummy-live-app": 'pnpm turbo build --filter="@ledgerhq/dummy-live-app"', "build:actions": "pnpm turbo build --filter=@actions/*", - "build:cli": "pnpm turbo build --no-daemon --filter=@ledgerhq/live-cli", - "build:coin": 'pnpm turbo build --no-daemon --filter="./libs/coin-**"', - "build:domain": "pnpm turbo build --no-daemon --filter=@ledgerhq/domain-service", - "build:network": "pnpm turbo build --no-daemon --filter=@ledgerhq/live-network", - "build:config": "pnpm turbo build --no-daemon --filter=@ledgerhq/live-config", - "build:llc": "pnpm turbo build --no-daemon --filter=./libs/ledger-live-common", - "build:lld": "pnpm turbo build --no-daemon --filter=ledger-live-desktop", - "build:lld:deps": 'pnpm turbo build --no-daemon --filter="ledger-live-desktop^..."', - "build:llm:android": "pnpm turbo android:apk:local --no-daemon --filter=live-mobile", - "build:llm:ios": "pnpm turbo ios:local:ipa --no-daemon --filter=live-mobile", - "build:llm:deps": 'pnpm turbo build --no-daemon --filter="live-mobile^..."', - "build:ljs": 'pnpm turbo build --no-daemon --filter="./libs/ledgerjs/**"', - "build:web-tools": "pnpm turbo build --no-daemon --filter=./apps/web-tools", - "build-ci:llm:ios": "pnpm turbo ios:ci:adhoc --no-daemon --filter=live-mobile", - "build-ci:llm:android": "pnpm turbo android:apk --no-daemon --filter=live-mobile", - "clean:ljs": 'pnpm turbo clean --no-daemon --filter="./libs/ledgerjs/**"', - "doc:ljs": 'pnpm turbo doc --no-daemon --filter="./libs/ledgerjs/**"', - "watch:ljs": 'pnpm turbo watch --no-daemon --filter="./libs/ledgerjs/**"', - "watch:common": "pnpm turbo watch --no-daemon --filter=./libs/ledger-live-common", - "dev:cli": "pnpm turbo watch --filter=@ledgerhq/live-cli", - "dev:lld": "pnpm turbo start --no-daemon --filter=ledger-live-desktop", - "dev:lld:debug": "DEV_TOOLS=1 LEDGER_INTERNAL_ARGS=--inspect ELECTRON_ARGS=--remote-debugging-port=8315 pnpm turbo start --no-daemon --filter=ledger-live-desktop", - "dev:llm": "pnpm turbo start --no-daemon --filter=live-mobile", - "release:lld": "pnpm turbo release --no-daemon --filter=ledger-live-desktop", - "pre:lld": "pnpm turbo pre-build --no-daemon --filter=ledger-live-desktop", - nightly: "pnpm turbo nightly --no-daemon", - "nightly:lld": "pnpm turbo nightly --no-daemon --filter=ledger-live-desktop", - test: "pnpm turbo test --no-daemon --concurrency=50%", + "build:cli": "pnpm turbo build --filter=@ledgerhq/live-cli", + "build:coin": 'pnpm turbo build --filter="./libs/coin-*/**"', + "build:domain": "pnpm turbo build --filter=@ledgerhq/domain-service", + "build:network": "pnpm turbo build --filter=@ledgerhq/live-network", + "build:config": "pnpm turbo build --filter=@ledgerhq/live-config", + "build:llc": "pnpm turbo build --filter=./libs/ledger-live-common", + "build:lld": "pnpm turbo build --filter=ledger-live-desktop", + "build:lld:deps": 'pnpm turbo build --filter="ledger-live-desktop^..."', + "build:llm:android": "pnpm turbo android:apk:local --filter=live-mobile", + "build:llm:ios": "pnpm turbo ios:local:ipa --filter=live-mobile", + "build:llm:deps": 'pnpm turbo build --filter="live-mobile^..."', + "build:ljs": 'pnpm turbo build --filter="./libs/ledgerjs/**"', + "build:web-tools": "pnpm turbo build --filter=./apps/web-tools", + "build-ci:llm:ios": "pnpm turbo ios:ci:adhoc --filter=live-mobile", + "build-ci:llm:android": "pnpm turbo android:apk --filter=live-mobile", + "clean:ljs": 'pnpm turbo clean --filter="./libs/ledgerjs/**"', + "doc:ljs": 'pnpm turbo doc --filter="./libs/ledgerjs/**"', + "watch:coin": 'pnpm turbo run watch --filter="./libs/coin-*/**" --concurrency 20', + "watch:es:coin": 'pnpm turbo run watch:es --filter="./libs/coin-*/**" --concurrency 20', + "watch:ljs": 'pnpm turbo run watch --filter="./libs/ledgerjs/**" --concurrency 44', + "watch:es:ljs": 'pnpm turbo run watch:es --filter="./libs/ledgerjs/**" --concurrency 44', + "watch:common": "pnpm turbo run watch --filter=./libs/ledger-live-common", + "watch:es:common": "pnpm turbo run watch:es --filter=./libs/ledger-live-common", + "dev:cli": "pnpm turbo run watch --filter=@ledgerhq/live-cli", + "dev:lld": "pnpm turbo start --filter=ledger-live-desktop", + "dev:lld:debug": "DEV_TOOLS=1 LEDGER_INTERNAL_ARGS=--inspect ELECTRON_ARGS=--remote-debugging-port=8315 pnpm turbo start --filter=ledger-live-desktop", + "dev:llm": "pnpm turbo start --filter=live-mobile", + "release:lld": "pnpm turbo release --filter=ledger-live-desktop", + "pre:lld": "pnpm turbo pre-build --filter=ledger-live-desktop", + nightly: "pnpm turbo nightly", + "nightly:lld": "pnpm turbo nightly --filter=ledger-live-desktop", + test: "pnpm turbo test --concurrency=50%", "run:cli": "./apps/cli/bin/index.js", - lint: "pnpm turbo lint --no-daemon", - "lint:fix": "pnpm turbo lint:fix --no-daemon", - typecheck: "pnpm turbo typecheck --no-daemon", + lint: "pnpm turbo lint", + "lint:fix": "pnpm turbo lint:fix", + typecheck: "pnpm turbo typecheck", "knip-check": "pnpm turbo knip-check", unimported: "pnpm turbo unimported", desktop: "pnpm --filter ledger-live-desktop", @@ -18951,17 +18955,21 @@ var package_default = { "coin:cosmos": "pnpm --filter coin-cosmos", "coin:elrond": "pnpm --filter coin-elrond", "coin:evm": "pnpm --filter coin-evm", + "coin:filecoin": "pnpm --filter coin-filecoin", "coin:framework": "pnpm --filter coin-framework", - "coin:hedera": "pnpm --filter coin-hedera", "coin:tester": "pnpm --filter coin-tester", "coin:near": "pnpm --filter coin-near", "coin:polkadot": "pnpm --filter coin-polkadot", "coin:ton": "pnpm --filter coin-ton", "coin:solana": "pnpm --filter coin-solana", + "coin:hedera": "pnpm --filter coin-hedera", + "coin:stacks": "pnpm --filter coin-stacks", "coin:icon": "pnpm --filter coin-icon", + "coin:icp": "pnpm --filter coin-internet_computer", "coin:stellar": "pnpm --filter coin-stellar", "coin:tezos": "pnpm --filter coin-tezos", "coin:tron": "pnpm --filter coin-tron", + "coin:vechain": "pnpm --filter coin-vechain", "coin:xrp": "pnpm --filter coin-xrp", "evm-tools": "pnpm --filter evm-tools", domain: "pnpm --filter domain-service", @@ -18985,6 +18993,7 @@ var package_default = { "countervalues-react": "pnpm --filter live-countervalues-react", nft: "pnpm --filter live-nft", "nft-react": "pnpm --filter live-nft-react", + "live-dmk": "pnpm --filter live-dmk", "bot:github": "pnpm --filter live-github-bot", "ljs:cryptoassets": "pnpm --filter cryptoassets", "ljs:devices": "pnpm --filter devices", @@ -18995,6 +19004,7 @@ var package_default = { "ljs:hw-app-cosmos": "pnpm --filter hw-app-cosmos", "ljs:hw-app-eth": "pnpm --filter hw-app-eth", "ljs:hw-app-exchange": "pnpm --filter hw-app-exchange", + "ljs:hw-app-hedera": "pnpm --filter hw-app-hedera", "ljs:hw-app-helium": "pnpm --filter hw-app-helium", "ljs:hw-app-near": "pnpm --filter hw-app-near", "ljs:hw-app-polkadot": "pnpm --filter hw-app-polkadot", @@ -19004,6 +19014,8 @@ var package_default = { "ljs:hw-app-trx": "pnpm --filter hw-app-trx", "ljs:hw-app-xrp": "pnpm --filter hw-app-xrp", "ljs:hw-app-icon": "pnpm --filter hw-app-icon", + "ljs:hw-app-vet": "pnpm --filter hw-app-vet", + "ljs:hw-bolos": "pnpm --filter hw-bolos", "ljs:hw-transport": "pnpm --filter hw-transport", "ljs:hw-transport-http": "pnpm --filter hw-transport-http", "ljs:hw-transport-mocker": "pnpm --filter hw-transport-mocker", @@ -19025,6 +19037,8 @@ var package_default = { "ljs:types-cryptoassets": "pnpm --filter types-cryptoassets", "ljs:types-devices": "pnpm --filter types-devices", "ljs:types-live": "pnpm --filter types-live", + "service:cal": "pnpm --filter ledger-cal-service", + "service:trust": "pnpm --filter ledger-trust-service", "speculos-transport": "pnpm --filter speculos-transport", "test-utils": "pnpm --filter test-utils", "dummy-live-app": "pnpm --filter dummy-live-app", @@ -19077,7 +19091,6 @@ var package_default = { "@ledgerhq/devices": "workspace:*", tslib: "2.6.2", "@hashgraph/sdk>@grpc/grpc-js": "1.6.7", - "@hashgraph/sdk>@hashgraph/cryptography": "1.1.2", "@ethersproject/providers>ws": "7.5.10" }, patchedDependencies: { @@ -19085,10 +19098,9 @@ var package_default = { "rn-fetch-blob@0.12.0": "patches/rn-fetch-blob@0.12.0.patch", "react-native-image-crop-tools@1.6.4": "patches/react-native-image-crop-tools@1.6.4.patch", "asyncstorage-down@4.2.0": "patches/asyncstorage-down@4.2.0.patch", - "detox@20.26.2": "patches/detox@20.26.2.patch", + "detox@20.28.0": "patches/detox@20.28.0.patch", "usb@2.9.0": "patches/usb@2.9.0.patch", "react-native-video@5.2.1": "patches/react-native-video@5.2.1.patch", - "@hashgraph/sdk@2.14.2": "patches/@hashgraph__sdk@2.14.2.patch", "@changesets/get-github-info@0.6.0": "patches/@changesets__get-github-info@0.6.0.patch", "react-native-webview@13.10.3": "patches/react-native-webview@13.10.3.patch", "buffer@6.0.3": "patches/buffer@6.0.3.patch", @@ -19104,6 +19116,11 @@ var package_default = { dependencies: { tslib: "*" } + }, + detox: { + dependencies: { + expect: "*" + } } } }, @@ -19125,7 +19142,7 @@ async function main() { maxBuffer: 2048 * 1024 } ); - const pnpmOutput = (0, import_child_process.execSync)(`npx ${packageManager} list -r --depth=0 --json`, { + const pnpmOutput = (0, import_child_process.execSync)(`npx ${packageManager} list -r --depth=-1 --json`, { encoding: "utf-8", maxBuffer: 2048 * 1024 }); diff --git a/tools/actions/turborepo-gh-cache/build/server.js b/tools/actions/turborepo-gh-cache/build/server.js index 5fdd1768e18f..9aa9f4edafa4 100644 --- a/tools/actions/turborepo-gh-cache/build/server.js +++ b/tools/actions/turborepo-gh-cache/build/server.js @@ -34324,9 +34324,9 @@ var require_asynckit = __commonJS({ } }); -// ../../../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/lib/populate.js +// ../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js var require_populate = __commonJS({ - "../../../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/lib/populate.js"(exports2, module2) { + "../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js"(exports2, module2) { "use strict"; module2.exports = function(dst, src) { Object.keys(src).forEach(function(prop) { @@ -34337,9 +34337,9 @@ var require_populate = __commonJS({ } }); -// ../../../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/lib/form_data.js +// ../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js var require_form_data = __commonJS({ - "../../../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/lib/form_data.js"(exports2, module2) { + "../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js"(exports2, module2) { "use strict"; var CombinedStream = require_combined_stream(); var util3 = require("util"); @@ -34378,7 +34378,7 @@ var require_form_data = __commonJS({ if (typeof value == "number") { value = "" + value; } - if (util3.isArray(value)) { + if (Array.isArray(value)) { this._error(new Error("Arrays are not supported.")); return; } @@ -79873,12 +79873,83 @@ var require_get_intrinsic = __commonJS({ } }); -// ../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +// ../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js +var require_es_object_atoms = __commonJS({ + "../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js"(exports2, module2) { + "use strict"; + module2.exports = Object; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +var require_abs = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports2, module2) { + "use strict"; + module2.exports = Math.abs; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +var require_floor = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports2, module2) { + "use strict"; + module2.exports = Math.floor; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +var require_max = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports2, module2) { + "use strict"; + module2.exports = Math.max; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +var require_min = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports2, module2) { + "use strict"; + module2.exports = Math.min; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +var require_pow = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports2, module2) { + "use strict"; + module2.exports = Math.pow; + } +}); + +// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js +var require_gOPD = __commonJS({ + "../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports2, module2) { + "use strict"; + module2.exports = Object.getOwnPropertyDescriptor; + } +}); + +// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js +var require_gopd = __commonJS({ + "../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports2, module2) { + "use strict"; + var $gOPD = require_gOPD(); + if ($gOPD) { + try { + $gOPD([], "length"); + } catch (e) { + $gOPD = null; + } + } + module2.exports = $gOPD; + } +}); + +// ../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js var require_es_define_property = __commonJS({ - "../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js"(exports2, module2) { + "../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); - var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false; + var $defineProperty = Object.defineProperty || false; if ($defineProperty) { try { $defineProperty({}, "a", { value: 1 }); @@ -79890,20 +79961,489 @@ var require_es_define_property = __commonJS({ } }); -// ../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js -var require_gopd = __commonJS({ - "../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports2, module2) { +// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js +var require_shams2 = __commonJS({ + "../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); - var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true); - if ($gOPD) { + module2.exports = function hasSymbols() { + if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") { + return false; + } + if (typeof Symbol.iterator === "symbol") { + return true; + } + var obj = {}; + var sym = Symbol("test"); + var symObj = Object(sym); + if (typeof sym === "string") { + return false; + } + if (Object.prototype.toString.call(sym) !== "[object Symbol]") { + return false; + } + if (Object.prototype.toString.call(symObj) !== "[object Symbol]") { + return false; + } + var symVal = 42; + obj[sym] = symVal; + for (var _ in obj) { + return false; + } + if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) { + return false; + } + if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) { + return false; + } + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { + return false; + } + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { + return false; + } + if (typeof Object.getOwnPropertyDescriptor === "function") { + var descriptor = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(obj, sym) + ); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { + return false; + } + } + return true; + }; + } +}); + +// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js +var require_has_symbols2 = __commonJS({ + "../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports2, module2) { + "use strict"; + var origSymbol = typeof Symbol !== "undefined" && Symbol; + var hasSymbolSham = require_shams2(); + module2.exports = function hasNativeSymbols() { + if (typeof origSymbol !== "function") { + return false; + } + if (typeof Symbol !== "function") { + return false; + } + if (typeof origSymbol("foo") !== "symbol") { + return false; + } + if (typeof Symbol("bar") !== "symbol") { + return false; + } + return hasSymbolSham(); + }; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js +var require_functionCall = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) { + "use strict"; + module2.exports = Function.prototype.call; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js +var require_functionApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) { + "use strict"; + module2.exports = Function.prototype.apply; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js +var require_reflectApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) { + "use strict"; + module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js +var require_actualApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) { + "use strict"; + var bind = require_function_bind(); + var $apply = require_functionApply(); + var $call = require_functionCall(); + var $reflectApply = require_reflectApply(); + module2.exports = $reflectApply || bind.call($call, $apply); + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js +var require_call_bind_apply_helpers = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports2, module2) { + "use strict"; + var bind = require_function_bind(); + var $TypeError = require_type(); + var $call = require_functionCall(); + var $actualApply = require_actualApply(); + module2.exports = function callBindBasic(args) { + if (args.length < 1 || typeof args[0] !== "function") { + throw new $TypeError("a function is required"); + } + return $actualApply(bind, $call, args); + }; + } +}); + +// ../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +var require_get = __commonJS({ + "../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports2, module2) { + "use strict"; + var callBind = require_call_bind_apply_helpers(); + var gOPD = require_gopd(); + var hasProtoAccessor; + try { + hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ + [].__proto__ === Array.prototype; + } catch (e) { + if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") { + throw e; + } + } + var desc = !!hasProtoAccessor && gOPD && gOPD( + Object.prototype, + /** @type {keyof typeof Object.prototype} */ + "__proto__" + ); + var $Object = Object; + var $getPrototypeOf = $Object.getPrototypeOf; + module2.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? ( + /** @type {import('./get')} */ + function getDunder(value) { + return $getPrototypeOf(value == null ? value : $Object(value)); + } + ) : false; + } +}); + +// ../../../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js +var require_get_intrinsic2 = __commonJS({ + "../../../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js"(exports2, module2) { + "use strict"; + var undefined2; + var $Object = require_es_object_atoms(); + var $Error = require_es_errors(); + var $EvalError = require_eval(); + var $RangeError = require_range(); + var $ReferenceError = require_ref(); + var $SyntaxError = require_syntax(); + var $TypeError = require_type(); + var $URIError = require_uri(); + var abs = require_abs(); + var floor = require_floor(); + var max = require_max(); + var min = require_min(); + var pow = require_pow(); + var $Function = Function; + var getEvalledConstructor = function(expressionSyntax) { try { - $gOPD([], "length"); + return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")(); } catch (e) { - $gOPD = null; + } + }; + var $gOPD = require_gopd(); + var $defineProperty = require_es_define_property(); + var throwTypeError = function() { + throw new $TypeError(); + }; + var ThrowTypeError = $gOPD ? function() { + try { + arguments.callee; + return throwTypeError; + } catch (calleeThrows) { + try { + return $gOPD(arguments, "callee").get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }() : throwTypeError; + var hasSymbols = require_has_symbols2()(); + var getDunderProto = require_get(); + var getProto = typeof Reflect === "function" && Reflect.getPrototypeOf || $Object.getPrototypeOf || getDunderProto; + var $apply = require_functionApply(); + var $call = require_functionCall(); + var needsEval = {}; + var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array); + var INTRINSICS = { + __proto__: null, + "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer, + "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2, + "%AsyncFromSyncIteratorPrototype%": undefined2, + "%AsyncFunction%": needsEval, + "%AsyncGenerator%": needsEval, + "%AsyncGeneratorFunction%": needsEval, + "%AsyncIteratorPrototype%": needsEval, + "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics, + "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt, + "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": $Error, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": $EvalError, + "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array, + "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry, + "%Function%": $Function, + "%GeneratorFunction%": needsEval, + "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array, + "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array, + "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2, + "%JSON%": typeof JSON === "object" ? JSON : undefined2, + "%Map%": typeof Map === "undefined" ? undefined2 : Map, + "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": $Object, + "%Object.getOwnPropertyDescriptor%": $gOPD, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise, + "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy, + "%RangeError%": $RangeError, + "%ReferenceError%": $ReferenceError, + "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set === "undefined" ? undefined2 : Set, + "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2, + "%Symbol%": hasSymbols ? Symbol : undefined2, + "%SyntaxError%": $SyntaxError, + "%ThrowTypeError%": ThrowTypeError, + "%TypedArray%": TypedArray, + "%TypeError%": $TypeError, + "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array, + "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array, + "%URIError%": $URIError, + "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap, + "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef, + "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet, + "%Function.prototype.call%": $call, + "%Function.prototype.apply%": $apply, + "%Object.defineProperty%": $defineProperty, + "%Math.abs%": abs, + "%Math.floor%": floor, + "%Math.max%": max, + "%Math.min%": min, + "%Math.pow%": pow + }; + if (getProto) { + try { + null.error; + } catch (e) { + errorProto = getProto(getProto(e)); + INTRINSICS["%Error.prototype%"] = errorProto; } } - module2.exports = $gOPD; + var errorProto; + var doEval = function doEval2(name) { + var value; + if (name === "%AsyncFunction%") { + value = getEvalledConstructor("async function () {}"); + } else if (name === "%GeneratorFunction%") { + value = getEvalledConstructor("function* () {}"); + } else if (name === "%AsyncGeneratorFunction%") { + value = getEvalledConstructor("async function* () {}"); + } else if (name === "%AsyncGenerator%") { + var fn = doEval2("%AsyncGeneratorFunction%"); + if (fn) { + value = fn.prototype; + } + } else if (name === "%AsyncIteratorPrototype%") { + var gen = doEval2("%AsyncGenerator%"); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + INTRINSICS[name] = value; + return value; + }; + var LEGACY_ALIASES = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }; + var bind = require_function_bind(); + var hasOwn = require_hasown(); + var $concat = bind.call($call, Array.prototype.concat); + var $spliceApply = bind.call($apply, Array.prototype.splice); + var $replace = bind.call($call, String.prototype.replace); + var $strSlice = bind.call($call, String.prototype.slice); + var $exec = bind.call($call, RegExp.prototype.exec); + var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; + var reEscapeChar = /\\(\\)?/g; + var stringToPath = function stringToPath2(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === "%" && last !== "%") { + throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`"); + } else if (last === "%" && first !== "%") { + throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`"); + } + var result = []; + $replace(string, rePropName, function(match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match; + }); + return result; + }; + var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = "%" + alias[0] + "%"; + } + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === "undefined" && !allowMissing) { + throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!"); + } + return { + alias, + name: intrinsicName, + value + }; + } + throw new $SyntaxError("intrinsic " + name + " does not exist!"); + }; + module2.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== "string" || name.length === 0) { + throw new $TypeError("intrinsic name must be a non-empty string"); + } + if (arguments.length > 1 && typeof allowMissing !== "boolean") { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ""; + var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) { + throw new $SyntaxError("property names with quotes must have matching quotes"); + } + if (part === "constructor" || !isOwn) { + skipFurtherCaching = true; + } + intrinsicBaseName += "." + part; + intrinsicRealName = "%" + intrinsicBaseName + "%"; + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available."); + } + return void 0; + } + if ($gOPD && i + 1 >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + if (isOwn && "get" in desc && !("originalValue" in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; + }; } }); @@ -79981,7 +80521,7 @@ var require_has_property_descriptors = __commonJS({ var require_set_function_length = __commonJS({ "../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); + var GetIntrinsic = require_get_intrinsic2(); var define = require_define_data_property(); var hasDescriptors = require_has_property_descriptors()(); var gOPD = require_gopd(); @@ -80030,6 +80570,23 @@ var require_set_function_length = __commonJS({ } }); +// ../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +var require_es_define_property2 = __commonJS({ + "../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js"(exports2, module2) { + "use strict"; + var GetIntrinsic = require_get_intrinsic(); + var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false; + if ($defineProperty) { + try { + $defineProperty({}, "a", { value: 1 }); + } catch (e) { + $defineProperty = false; + } + } + module2.exports = $defineProperty; + } +}); + // ../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js var require_call_bind = __commonJS({ "../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js"(exports2, module2) { @@ -80041,7 +80598,7 @@ var require_call_bind = __commonJS({ var $apply = GetIntrinsic("%Function.prototype.apply%"); var $call = GetIntrinsic("%Function.prototype.call%"); var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply); - var $defineProperty = require_es_define_property(); + var $defineProperty = require_es_define_property2(); var $max = GetIntrinsic("%Math.max%"); module2.exports = function callBind(originalFunction) { if (typeof originalFunction !== "function") { diff --git a/tools/actions/turborepo-s3-cache/build/server.js b/tools/actions/turborepo-s3-cache/build/server.js index c2a40931d78f..57fed9522568 100644 --- a/tools/actions/turborepo-s3-cache/build/server.js +++ b/tools/actions/turborepo-s3-cache/build/server.js @@ -50120,12 +50120,83 @@ var require_get_intrinsic = __commonJS({ } }); -// ../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +// ../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js +var require_es_object_atoms = __commonJS({ + "../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js"(exports2, module2) { + "use strict"; + module2.exports = Object; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +var require_abs = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports2, module2) { + "use strict"; + module2.exports = Math.abs; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +var require_floor = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports2, module2) { + "use strict"; + module2.exports = Math.floor; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +var require_max = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports2, module2) { + "use strict"; + module2.exports = Math.max; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +var require_min = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports2, module2) { + "use strict"; + module2.exports = Math.min; + } +}); + +// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +var require_pow = __commonJS({ + "../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports2, module2) { + "use strict"; + module2.exports = Math.pow; + } +}); + +// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js +var require_gOPD = __commonJS({ + "../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports2, module2) { + "use strict"; + module2.exports = Object.getOwnPropertyDescriptor; + } +}); + +// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js +var require_gopd = __commonJS({ + "../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports2, module2) { + "use strict"; + var $gOPD = require_gOPD(); + if ($gOPD) { + try { + $gOPD([], "length"); + } catch (e5) { + $gOPD = null; + } + } + module2.exports = $gOPD; + } +}); + +// ../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js var require_es_define_property = __commonJS({ - "../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js"(exports2, module2) { + "../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); - var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false; + var $defineProperty = Object.defineProperty || false; if ($defineProperty) { try { $defineProperty({}, "a", { value: 1 }); @@ -50137,20 +50208,489 @@ var require_es_define_property = __commonJS({ } }); -// ../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js -var require_gopd = __commonJS({ - "../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports2, module2) { +// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js +var require_shams2 = __commonJS({ + "../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); - var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true); - if ($gOPD) { + module2.exports = function hasSymbols() { + if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") { + return false; + } + if (typeof Symbol.iterator === "symbol") { + return true; + } + var obj = {}; + var sym = Symbol("test"); + var symObj = Object(sym); + if (typeof sym === "string") { + return false; + } + if (Object.prototype.toString.call(sym) !== "[object Symbol]") { + return false; + } + if (Object.prototype.toString.call(symObj) !== "[object Symbol]") { + return false; + } + var symVal = 42; + obj[sym] = symVal; + for (var _2 in obj) { + return false; + } + if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) { + return false; + } + if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) { + return false; + } + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { + return false; + } + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { + return false; + } + if (typeof Object.getOwnPropertyDescriptor === "function") { + var descriptor = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(obj, sym) + ); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { + return false; + } + } + return true; + }; + } +}); + +// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js +var require_has_symbols2 = __commonJS({ + "../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports2, module2) { + "use strict"; + var origSymbol = typeof Symbol !== "undefined" && Symbol; + var hasSymbolSham = require_shams2(); + module2.exports = function hasNativeSymbols() { + if (typeof origSymbol !== "function") { + return false; + } + if (typeof Symbol !== "function") { + return false; + } + if (typeof origSymbol("foo") !== "symbol") { + return false; + } + if (typeof Symbol("bar") !== "symbol") { + return false; + } + return hasSymbolSham(); + }; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js +var require_functionCall = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) { + "use strict"; + module2.exports = Function.prototype.call; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js +var require_functionApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) { + "use strict"; + module2.exports = Function.prototype.apply; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js +var require_reflectApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) { + "use strict"; + module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply; + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js +var require_actualApply = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) { + "use strict"; + var bind = require_function_bind(); + var $apply = require_functionApply(); + var $call = require_functionCall(); + var $reflectApply = require_reflectApply(); + module2.exports = $reflectApply || bind.call($call, $apply); + } +}); + +// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js +var require_call_bind_apply_helpers = __commonJS({ + "../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports2, module2) { + "use strict"; + var bind = require_function_bind(); + var $TypeError = require_type(); + var $call = require_functionCall(); + var $actualApply = require_actualApply(); + module2.exports = function callBindBasic(args) { + if (args.length < 1 || typeof args[0] !== "function") { + throw new $TypeError("a function is required"); + } + return $actualApply(bind, $call, args); + }; + } +}); + +// ../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +var require_get = __commonJS({ + "../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports2, module2) { + "use strict"; + var callBind = require_call_bind_apply_helpers(); + var gOPD = require_gopd(); + var hasProtoAccessor; + try { + hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ + [].__proto__ === Array.prototype; + } catch (e5) { + if (!e5 || typeof e5 !== "object" || !("code" in e5) || e5.code !== "ERR_PROTO_ACCESS") { + throw e5; + } + } + var desc = !!hasProtoAccessor && gOPD && gOPD( + Object.prototype, + /** @type {keyof typeof Object.prototype} */ + "__proto__" + ); + var $Object = Object; + var $getPrototypeOf = $Object.getPrototypeOf; + module2.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? ( + /** @type {import('./get')} */ + function getDunder(value) { + return $getPrototypeOf(value == null ? value : $Object(value)); + } + ) : false; + } +}); + +// ../../../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js +var require_get_intrinsic2 = __commonJS({ + "../../../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js"(exports2, module2) { + "use strict"; + var undefined2; + var $Object = require_es_object_atoms(); + var $Error = require_es_errors(); + var $EvalError = require_eval(); + var $RangeError = require_range(); + var $ReferenceError = require_ref(); + var $SyntaxError = require_syntax(); + var $TypeError = require_type(); + var $URIError = require_uri(); + var abs = require_abs(); + var floor = require_floor(); + var max = require_max(); + var min = require_min(); + var pow = require_pow(); + var $Function = Function; + var getEvalledConstructor = function(expressionSyntax) { try { - $gOPD([], "length"); + return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")(); } catch (e5) { - $gOPD = null; + } + }; + var $gOPD = require_gopd(); + var $defineProperty = require_es_define_property(); + var throwTypeError = function() { + throw new $TypeError(); + }; + var ThrowTypeError = $gOPD ? function() { + try { + arguments.callee; + return throwTypeError; + } catch (calleeThrows) { + try { + return $gOPD(arguments, "callee").get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }() : throwTypeError; + var hasSymbols = require_has_symbols2()(); + var getDunderProto = require_get(); + var getProto = typeof Reflect === "function" && Reflect.getPrototypeOf || $Object.getPrototypeOf || getDunderProto; + var $apply = require_functionApply(); + var $call = require_functionCall(); + var needsEval = {}; + var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array); + var INTRINSICS = { + __proto__: null, + "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer, + "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2, + "%AsyncFromSyncIteratorPrototype%": undefined2, + "%AsyncFunction%": needsEval, + "%AsyncGenerator%": needsEval, + "%AsyncGeneratorFunction%": needsEval, + "%AsyncIteratorPrototype%": needsEval, + "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics, + "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt, + "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": $Error, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": $EvalError, + "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array, + "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry, + "%Function%": $Function, + "%GeneratorFunction%": needsEval, + "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array, + "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array, + "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2, + "%JSON%": typeof JSON === "object" ? JSON : undefined2, + "%Map%": typeof Map === "undefined" ? undefined2 : Map, + "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": $Object, + "%Object.getOwnPropertyDescriptor%": $gOPD, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise, + "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy, + "%RangeError%": $RangeError, + "%ReferenceError%": $ReferenceError, + "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set === "undefined" ? undefined2 : Set, + "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2, + "%Symbol%": hasSymbols ? Symbol : undefined2, + "%SyntaxError%": $SyntaxError, + "%ThrowTypeError%": ThrowTypeError, + "%TypedArray%": TypedArray, + "%TypeError%": $TypeError, + "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array, + "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array, + "%URIError%": $URIError, + "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap, + "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef, + "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet, + "%Function.prototype.call%": $call, + "%Function.prototype.apply%": $apply, + "%Object.defineProperty%": $defineProperty, + "%Math.abs%": abs, + "%Math.floor%": floor, + "%Math.max%": max, + "%Math.min%": min, + "%Math.pow%": pow + }; + if (getProto) { + try { + null.error; + } catch (e5) { + errorProto = getProto(getProto(e5)); + INTRINSICS["%Error.prototype%"] = errorProto; } } - module2.exports = $gOPD; + var errorProto; + var doEval = function doEval2(name) { + var value; + if (name === "%AsyncFunction%") { + value = getEvalledConstructor("async function () {}"); + } else if (name === "%GeneratorFunction%") { + value = getEvalledConstructor("function* () {}"); + } else if (name === "%AsyncGeneratorFunction%") { + value = getEvalledConstructor("async function* () {}"); + } else if (name === "%AsyncGenerator%") { + var fn = doEval2("%AsyncGeneratorFunction%"); + if (fn) { + value = fn.prototype; + } + } else if (name === "%AsyncIteratorPrototype%") { + var gen = doEval2("%AsyncGenerator%"); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + INTRINSICS[name] = value; + return value; + }; + var LEGACY_ALIASES = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }; + var bind = require_function_bind(); + var hasOwn = require_hasown(); + var $concat = bind.call($call, Array.prototype.concat); + var $spliceApply = bind.call($apply, Array.prototype.splice); + var $replace = bind.call($call, String.prototype.replace); + var $strSlice = bind.call($call, String.prototype.slice); + var $exec = bind.call($call, RegExp.prototype.exec); + var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; + var reEscapeChar = /\\(\\)?/g; + var stringToPath = function stringToPath2(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === "%" && last !== "%") { + throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`"); + } else if (last === "%" && first !== "%") { + throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`"); + } + var result = []; + $replace(string, rePropName, function(match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match; + }); + return result; + }; + var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = "%" + alias[0] + "%"; + } + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === "undefined" && !allowMissing) { + throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!"); + } + return { + alias, + name: intrinsicName, + value + }; + } + throw new $SyntaxError("intrinsic " + name + " does not exist!"); + }; + module2.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== "string" || name.length === 0) { + throw new $TypeError("intrinsic name must be a non-empty string"); + } + if (arguments.length > 1 && typeof allowMissing !== "boolean") { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ""; + var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + for (var i5 = 1, isOwn = true; i5 < parts.length; i5 += 1) { + var part = parts[i5]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) { + throw new $SyntaxError("property names with quotes must have matching quotes"); + } + if (part === "constructor" || !isOwn) { + skipFurtherCaching = true; + } + intrinsicBaseName += "." + part; + intrinsicRealName = "%" + intrinsicBaseName + "%"; + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available."); + } + return void 0; + } + if ($gOPD && i5 + 1 >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + if (isOwn && "get" in desc && !("originalValue" in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; + }; } }); @@ -50228,7 +50768,7 @@ var require_has_property_descriptors = __commonJS({ var require_set_function_length = __commonJS({ "../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports2, module2) { "use strict"; - var GetIntrinsic = require_get_intrinsic(); + var GetIntrinsic = require_get_intrinsic2(); var define = require_define_data_property(); var hasDescriptors = require_has_property_descriptors()(); var gOPD = require_gopd(); @@ -50277,6 +50817,23 @@ var require_set_function_length = __commonJS({ } }); +// ../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +var require_es_define_property2 = __commonJS({ + "../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js"(exports2, module2) { + "use strict"; + var GetIntrinsic = require_get_intrinsic(); + var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false; + if ($defineProperty) { + try { + $defineProperty({}, "a", { value: 1 }); + } catch (e5) { + $defineProperty = false; + } + } + module2.exports = $defineProperty; + } +}); + // ../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js var require_call_bind = __commonJS({ "../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js"(exports2, module2) { @@ -50288,7 +50845,7 @@ var require_call_bind = __commonJS({ var $apply = GetIntrinsic("%Function.prototype.apply%"); var $call = GetIntrinsic("%Function.prototype.call%"); var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply); - var $defineProperty = require_es_define_property(); + var $defineProperty = require_es_define_property2(); var $max = GetIntrinsic("%Math.max%"); module2.exports = function callBind(originalFunction) { if (typeof originalFunction !== "function") {