diff --git a/.changeset/smart-moose-run.md b/.changeset/smart-moose-run.md new file mode 100644 index 0000000000..0650b81232 --- /dev/null +++ b/.changeset/smart-moose-run.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/cli": patch +--- + +Fixed imports of module artifacts via `artifactPath` and removed unused `@latticexyz/world-modules` dependency. diff --git a/e2e/packages/contracts/package.json b/e2e/packages/contracts/package.json index d3d967f4f6..24df05b192 100644 --- a/e2e/packages/contracts/package.json +++ b/e2e/packages/contracts/package.json @@ -16,6 +16,7 @@ "@latticexyz/schema-type": "link:../../../packages/schema-type", "@latticexyz/store": "link:../../../packages/store", "@latticexyz/world": "link:../../../packages/world", + "@latticexyz/world-modules": "link:../../../packages/world-modules", "dotenv": "^16.0.3", "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", diff --git a/e2e/pnpm-lock.yaml b/e2e/pnpm-lock.yaml index 04e54b0c12..eb1eaeafab 100644 --- a/e2e/pnpm-lock.yaml +++ b/e2e/pnpm-lock.yaml @@ -99,6 +99,9 @@ importers: '@latticexyz/world': specifier: link:../../../packages/world version: link:../../../packages/world + '@latticexyz/world-modules': + specifier: link:../../../packages/world-modules + version: link:../../../packages/world-modules dotenv: specifier: ^16.0.3 version: 16.0.3 @@ -792,7 +795,6 @@ packages: ds-test@https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0: resolution: {tarball: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0} - name: ds-test version: 1.0.0 emoji-regex@8.0.0: @@ -838,7 +840,6 @@ packages: forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/74cfb77e308dd188d2f58864aaf44963ae6b88b1: resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/74cfb77e308dd188d2f58864aaf44963ae6b88b1} - name: forge-std version: 1.6.0 fs.realpath@1.0.0: @@ -1587,7 +1588,7 @@ snapshots: pretty-format: 29.7.0 abitype@1.0.0(typescript@5.4.2)(zod@3.22.2): - dependencies: + optionalDependencies: typescript: 5.4.2 zod: 3.22.2 @@ -1679,7 +1680,7 @@ snapshots: dotenv@16.0.3: {} drizzle-orm@0.28.5(postgres@3.3.5): - dependencies: + optionalDependencies: postgres: 3.3.5 ds-test@https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0: {} @@ -2097,8 +2098,9 @@ snapshots: '@scure/bip39': 1.2.1 abitype: 1.0.0(typescript@5.4.2)(zod@3.22.2) isows: 1.0.3(ws@8.13.0) - typescript: 5.4.2 ws: 8.13.0 + optionalDependencies: + typescript: 5.4.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -2123,11 +2125,11 @@ snapshots: vite@4.3.5(@types/node@20.1.3): dependencies: - '@types/node': 20.1.3 esbuild: 0.17.18 postcss: 8.4.23 rollup: 3.21.6 optionalDependencies: + '@types/node': 20.1.3 fsevents: 2.3.2 vitest@0.34.6(happy-dom@12.10.3): @@ -2145,7 +2147,6 @@ snapshots: cac: 6.7.14 chai: 4.4.1 debug: 4.3.4 - happy-dom: 12.10.3 local-pkg: 0.4.3 magic-string: 0.30.5 pathe: 1.1.2 @@ -2157,6 +2158,8 @@ snapshots: vite: 4.3.5(@types/node@20.1.3) vite-node: 0.34.6(@types/node@20.1.3) why-is-node-running: 2.2.2 + optionalDependencies: + happy-dom: 12.10.3 transitivePeerDependencies: - less - sass diff --git a/packages/cli/package.json b/packages/cli/package.json index 07f6f09e9b..ccdba5311e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -42,7 +42,6 @@ "@latticexyz/store": "workspace:*", "@latticexyz/utils": "workspace:*", "@latticexyz/world": "workspace:*", - "@latticexyz/world-modules": "workspace:*", "abitype": "1.0.0", "asn1.js": "^5.4.1", "chalk": "^5.0.1", @@ -51,6 +50,7 @@ "dotenv": "^16.0.3", "ethers": "^5.7.2", "execa": "^7.0.0", + "find-up": "^6.3.0", "glob": "^8.0.3", "openurl": "^1.1.1", "p-queue": "^7.4.1", diff --git a/packages/cli/src/deploy/common.ts b/packages/cli/src/deploy/common.ts index 89d201ec15..0a409b8cbb 100644 --- a/packages/cli/src/deploy/common.ts +++ b/packages/cli/src/deploy/common.ts @@ -2,7 +2,6 @@ import { Abi, Address, Hex, padHex } from "viem"; import storeConfig from "@latticexyz/store/mud.config"; import worldConfig from "@latticexyz/world/mud.config"; import IBaseWorldAbi from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.abi.json" assert { type: "json" }; -import IModuleAbi from "@latticexyz/world-modules/out/IModule.sol/IModule.abi.json" assert { type: "json" }; import { Tables, configToTables } from "./configToTables"; import { helloStoreEvent } from "@latticexyz/store"; import { StoreConfig } from "@latticexyz/store/internal"; @@ -22,7 +21,7 @@ export const worldTables = configToTables(worldToV1(worldConfig)); export const worldDeployEvents = [helloStoreEvent, helloWorldEvent] as const; -export const worldAbi = [...IBaseWorldAbi, ...IModuleAbi] as const; +export const worldAbi = IBaseWorldAbi; // Ideally, this should be an append-only list. Before adding more versions here, be sure to add backwards-compatible support for old Store/World versions. export const supportedStoreVersions = ["2.0.0", "2.0.1", "2.0.2"]; diff --git a/packages/cli/src/deploy/configToModules.ts b/packages/cli/src/deploy/configToModules.ts index 5a01091cdf..3738c9e1b2 100644 --- a/packages/cli/src/deploy/configToModules.ts +++ b/packages/cli/src/deploy/configToModules.ts @@ -11,6 +11,7 @@ import { knownModuleArtifacts } from "../utils/knownModuleArtifacts"; export async function configToModules( config: config, + // TODO: remove/replace `forgeOutDir` forgeOutDir: string, ): Promise { // this expects a namespaced table name when used with `resolveTableId` diff --git a/packages/cli/src/deploy/ensureModules.ts b/packages/cli/src/deploy/ensureModules.ts index 4af03fe9b3..a51c60cf61 100644 --- a/packages/cli/src/deploy/ensureModules.ts +++ b/packages/cli/src/deploy/ensureModules.ts @@ -38,6 +38,7 @@ export async function ensureModules({ pRetry( async () => { try { + // append module's ABI so that we can decode any custom errors const abi = [...worldAbi, ...mod.abi]; const moduleAddress = mod.prepareDeploy(deployerAddress, libraries).address; return mod.installAsRoot diff --git a/packages/cli/src/utils/getContractArtifact.ts b/packages/cli/src/utils/getContractArtifact.ts index 0ddd566e25..63d4abbd28 100644 --- a/packages/cli/src/utils/getContractArtifact.ts +++ b/packages/cli/src/utils/getContractArtifact.ts @@ -3,13 +3,21 @@ import { LibraryPlaceholder } from "../deploy/common"; import { findPlaceholders } from "./findPlaceholders"; import { z } from "zod"; import { Abi as abiSchema } from "abitype/zod"; +import { createRequire } from "node:module"; +import { findUp } from "find-up"; export type GetContractArtifactOptions = { + /** + * Path to `package.json` where `artifactPath`s are resolved relative to. + * + * Defaults to nearest `package.json` relative to `process.cwd()`. + */ + packageJsonPath?: string; /** * Import path to contract's forge/solc JSON artifact with the contract's compiled bytecode. * - * This path is resolved using node's contract resolution, so this supports both relative file paths (`../path/to/MyModule.json`) as well as JS import paths - * (`@latticexyz/world-contracts/out/CallWithSignatureModule.sol/CallWithSignatureModule.json`). + * This path is resolved using node's module resolution relative to `configPath`, so this supports both + * relative file paths (`../path/to/MyModule.json`) as well as JS import paths (`@latticexyz/world-contracts/out/CallWithSignatureModule.sol/CallWithSignatureModule.json`). */ artifactPath: string; }; @@ -42,17 +50,16 @@ const artifactSchema = z.object({ }); export async function getContractArtifact({ + packageJsonPath, artifactPath, }: GetContractArtifactOptions): Promise { let importedArtifact; try { - importedArtifact = ( - await import(artifactPath, { - with: { type: "json" }, - // `with` is the new approach, but `assert` is kept for backwards-compatibility with Node 18 - assert: { type: "json" }, - }) - ).default; + const requirePath = packageJsonPath ?? (await findUp("package.json", { cwd: process.cwd() })); + if (!requirePath) throw new Error("Could not find package.json to import relative to."); + + const require = createRequire(requirePath); + importedArtifact = require(artifactPath); } catch (error) { console.error(); console.error("Could not import contract artifact at", artifactPath); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82603da5a5..d8e2c9d065 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,7 +22,7 @@ importers: version: 18.15.11 '@typescript-eslint/eslint-plugin': specifier: 7.1.1 - version: 7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.4.2) + version: 7.1.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.4.2))(eslint@8.57.0)(typescript@5.4.2) '@typescript-eslint/parser': specifier: 7.1.1 version: 7.1.1(eslint@8.57.0)(typescript@5.4.2) @@ -166,9 +166,6 @@ importers: '@latticexyz/world': specifier: workspace:* version: link:../world - '@latticexyz/world-modules': - specifier: workspace:* - version: link:../world-modules abitype: specifier: 1.0.0 version: 1.0.0(typescript@5.4.2)(zod@3.23.7) @@ -193,6 +190,9 @@ importers: execa: specifier: ^7.0.0 version: 7.0.0 + find-up: + specifier: ^6.3.0 + version: 6.3.0 glob: specifier: ^8.0.3 version: 8.0.3 @@ -357,7 +357,7 @@ importers: dependencies: create-create-app: specifier: git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63 - version: https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63 + version: https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63(encoding@0.1.13) devDependencies: '@types/node': specifier: ^18.15.11 @@ -400,7 +400,7 @@ importers: version: 18.2.0(react@18.2.0) react-router-dom: specifier: ^6.11.0 - version: 6.11.0(react-dom@18.2.0)(react@18.2.0) + version: 6.11.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rxjs: specifier: 7.5.5 version: 7.5.5 @@ -409,7 +409,7 @@ importers: version: 1.12.0 use-local-storage-state: specifier: ^18.3.2 - version: 18.3.2(react-dom@18.2.0)(react@18.2.0) + version: 18.3.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) viem: specifier: 2.9.20 version: 2.9.20(typescript@5.4.2)(zod@3.23.7) @@ -607,13 +607,13 @@ importers: devDependencies: '@testing-library/react-hooks': specifier: ^8.0.1 - version: 8.0.1(@types/react@18.2.22)(react-test-renderer@18.2.0)(react@18.2.0) + version: 8.0.1(@types/react@18.2.22)(react-test-renderer@18.2.0(react@18.2.0))(react@18.2.0) '@types/react': specifier: 18.2.22 version: 18.2.22 '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.3.6) + version: 4.0.0(vite@4.3.6(@types/node@18.15.11)) eslint-plugin-react: specifier: 7.31.11 version: 7.31.11(eslint@8.57.0) @@ -662,7 +662,7 @@ importers: version: 29.5.0(@types/node@18.15.11) ts-jest: specifier: ^29.0.5 - version: 29.0.5(@babel/core@7.24.4)(esbuild@0.17.17)(jest@29.5.0)(typescript@5.4.2) + version: 29.0.5(@babel/core@7.21.4)(@jest/types@29.5.0)(babel-jest@29.5.0(@babel/core@7.21.4))(esbuild@0.17.17)(jest@29.5.0(@types/node@18.15.11))(typescript@5.4.2) tsup: specifier: ^6.7.0 version: 6.7.0(postcss@8.4.23)(typescript@5.4.2) @@ -830,7 +830,7 @@ importers: version: 16.0.3 drizzle-orm: specifier: ^0.28.5 - version: 0.28.5(@types/better-sqlite3@7.6.4)(better-sqlite3@8.6.0)(postgres@3.3.5) + version: 0.28.5(@opentelemetry/api@1.8.0)(@types/better-sqlite3@7.6.4)(@types/sql.js@1.4.4)(better-sqlite3@8.6.0)(kysely@0.26.3)(postgres@3.3.5)(sql.js@1.8.0) koa: specifier: ^2.14.2 version: 2.14.2 @@ -936,7 +936,7 @@ importers: version: 4.3.4 drizzle-orm: specifier: ^0.28.5 - version: 0.28.5(@types/sql.js@1.4.4)(kysely@0.26.3)(postgres@3.3.5)(sql.js@1.8.0) + version: 0.28.5(@opentelemetry/api@1.8.0)(@types/better-sqlite3@7.6.4)(@types/sql.js@1.4.4)(better-sqlite3@8.6.0)(kysely@0.26.3)(postgres@3.3.5)(sql.js@1.8.0) fast-deep-equal: specifier: ^3.1.3 version: 3.1.3 @@ -1004,7 +1004,7 @@ importers: version: 29.5.0(@types/node@18.15.11) ts-jest: specifier: ^29.0.5 - version: 29.0.5(@babel/core@7.24.4)(esbuild@0.17.17)(jest@29.5.0)(typescript@5.4.2) + version: 29.0.5(@babel/core@7.21.4)(@jest/types@29.5.0)(babel-jest@29.5.0(@babel/core@7.21.4))(esbuild@0.17.17)(jest@29.5.0(@types/node@18.15.11))(typescript@5.4.2) tsup: specifier: ^6.7.0 version: 6.7.0(postcss@8.4.23)(typescript@5.4.2) @@ -1199,10 +1199,6 @@ packages: resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} - '@ampproject/remapping@2.3.0': - resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} - engines: {node: '>=6.0.0'} - '@arktype/attest@0.6.4': resolution: {integrity: sha512-e0ZIITIany0UIpw2p1wiYKrqcK+iRvh9FLabVkWh/mhppm8n4jWPHyIut8OrURPWfB7Obd/cQ1Vu3DuchSfL7A==} hasBin: true @@ -1212,8 +1208,8 @@ packages: '@arktype/fs@0.0.11': resolution: {integrity: sha512-f3p8apUMOTl6KlFNTrOX6twQJDeSdSmtYPVca7SaQjUUTAxfUlaROY1/i1C3y2llYDrrQBEbsggk8k2Oxxgrvw==} - '@arktype/schema@0.1.2': - resolution: {integrity: sha512-ggvxs5P0toqd/4/XK76URQrtyOYpbYcLhirEZeTso6FxkloPa0lT+whPg7DNQj5qi2OQXLUHBYKMx9DOb13ViQ==} + '@arktype/schema@0.1.4': + resolution: {integrity: sha512-pqgpjL9vFwjgBW+gJKbKTHwVutWwa0h3sziK7Hx9lb4xzk8DXbpypTpmM/voaVtSVTQWtPaPLQ/45rwBQZwB5A==} '@arktype/util@0.0.23': resolution: {integrity: sha512-MwtDGjbgfXWxlExjIL78HvPlWOma1XFEcDd3VWuCPMt/f+3TR7fXyiGFNlIYZGOYdOIU7qgjaE8dmbd6jdJa3Q==} @@ -1221,8 +1217,8 @@ packages: '@arktype/util@0.0.29': resolution: {integrity: sha512-fDTBSVzxLj9k1ZjinkawmaQdcXFKMBVK8c+vqMPxwoa94mPMZxBo84yQcqyFVcIcWIkg6qQQmH1ozyT4nqFT/g==} - '@arktype/util@0.0.38': - resolution: {integrity: sha512-IvYMGnkUASJllRk3mdBVgckomKx2LNsDTrWCxz04EBK1OuU+4fJ/smSjxgZVWfopNXZds9sHNxZgTJOIw7GvJw==} + '@arktype/util@0.0.41': + resolution: {integrity: sha512-0YURzJ42v+lhlP1t5Dj90YezETRTCdFU0oM4xMVpYsmPx/DHJzr9n7AX1QPAlYWH4wY7hYY3gwai3O+8VntPgw==} '@aws-crypto/ie11-detection@3.0.0': resolution: {integrity: sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==} @@ -1346,86 +1342,44 @@ packages: resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} engines: {node: '>=6.9.0'} - '@babel/code-frame@7.24.2': - resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==} - engines: {node: '>=6.9.0'} - '@babel/compat-data@7.21.4': resolution: {integrity: sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.24.4': - resolution: {integrity: sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==} - engines: {node: '>=6.9.0'} - '@babel/core@7.21.4': resolution: {integrity: sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==} engines: {node: '>=6.9.0'} - '@babel/core@7.24.4': - resolution: {integrity: sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==} - engines: {node: '>=6.9.0'} - '@babel/generator@7.21.4': resolution: {integrity: sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.24.4': - resolution: {integrity: sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==} - engines: {node: '>=6.9.0'} - '@babel/helper-compilation-targets@7.21.4': resolution: {integrity: sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-compilation-targets@7.23.6': - resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} - engines: {node: '>=6.9.0'} - '@babel/helper-environment-visitor@7.18.9': resolution: {integrity: sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==} engines: {node: '>=6.9.0'} - '@babel/helper-environment-visitor@7.22.20': - resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} - engines: {node: '>=6.9.0'} - '@babel/helper-function-name@7.21.0': resolution: {integrity: sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==} engines: {node: '>=6.9.0'} - '@babel/helper-function-name@7.23.0': - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} - engines: {node: '>=6.9.0'} - '@babel/helper-hoist-variables@7.18.6': resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} - '@babel/helper-hoist-variables@7.22.5': - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} - engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.18.6': resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.24.3': - resolution: {integrity: sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==} - engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.21.2': resolution: {integrity: sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==} engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.23.3': - resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@babel/helper-plugin-utils@7.20.2': resolution: {integrity: sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==} engines: {node: '>=6.9.0'} @@ -1434,68 +1388,35 @@ packages: resolution: {integrity: sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==} engines: {node: '>=6.9.0'} - '@babel/helper-simple-access@7.22.5': - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} - '@babel/helper-split-export-declaration@7.18.6': resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} - '@babel/helper-split-export-declaration@7.22.6': - resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} - engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.19.4': resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.24.1': - resolution: {integrity: sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.19.1': resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.22.20': - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@7.21.0': resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@7.23.5': - resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} - engines: {node: '>=6.9.0'} - '@babel/helpers@7.21.0': resolution: {integrity: sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.24.4': - resolution: {integrity: sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==} - engines: {node: '>=6.9.0'} - '@babel/highlight@7.18.6': resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.2': - resolution: {integrity: sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==} - engines: {node: '>=6.9.0'} - '@babel/parser@7.21.4': resolution: {integrity: sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/parser@7.24.4': - resolution: {integrity: sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==} - engines: {node: '>=6.0.0'} - hasBin: true - '@babel/plugin-syntax-async-generators@7.8.4': resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: @@ -1589,26 +1510,14 @@ packages: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} engines: {node: '>=6.9.0'} - '@babel/template@7.24.0': - resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} - engines: {node: '>=6.9.0'} - '@babel/traverse@7.21.4': resolution: {integrity: sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.24.1': - resolution: {integrity: sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==} - engines: {node: '>=6.9.0'} - '@babel/types@7.21.4': resolution: {integrity: sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==} engines: {node: '>=6.9.0'} - '@babel/types@7.24.0': - resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} - engines: {node: '>=6.9.0'} - '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -2159,26 +2068,14 @@ packages: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} - '@jridgewell/gen-mapping@0.3.5': - resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} - engines: {node: '>=6.0.0'} - '@jridgewell/resolve-uri@3.1.0': resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - '@jridgewell/set-array@1.1.2': resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - '@jridgewell/set-array@1.2.1': - resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} - engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.4.14': resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} @@ -2188,9 +2085,6 @@ packages: '@jridgewell/trace-mapping@0.3.18': resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} - '@jridgewell/trace-mapping@0.3.25': - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - '@koa/cors@4.0.0': resolution: {integrity: sha512-Y4RrbvGTlAaa04DBoPBWJqDR5gPj32OOz827ULXfgB1F7piD1MB/zwn8JR2LAnvdILhxUbXbkXGWuNVsFuVFCQ==} engines: {node: '>= 14.0.0'} @@ -2992,8 +2886,8 @@ packages: arktype@1.0.29-alpha: resolution: {integrity: sha512-glMLgVhIQRSkR3tymiS+POAcWVJH09sfrgic0jHnyFL8BlhHAJZX2BzdImU9zYr1y9NBqy+U93ZNrRTHXsKRDw==} - arktype@2.0.0-dev.11: - resolution: {integrity: sha512-k+WVQoHsHsTyTiVQkO201mxLQxyXHmy3buJW8TXLOkr4X2yOUCp0K1SBscuG9OEJoc8MjpvoIharjPHEkFI7kg==} + arktype@2.0.0-dev.12: + resolution: {integrity: sha512-NrmlARlXdrx9E6yA+ao0QxYoGgldwHv9zm/ll8erQs3K//NHla20Jmkjk4dQFQrr5rWAwr4NT8d+oUhWvKO32g==} array-includes@3.1.6: resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==} @@ -3426,7 +3320,6 @@ packages: create-create-app@https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63: resolution: {tarball: https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63} - name: create-create-app version: 7.3.0 hasBin: true @@ -3661,7 +3554,6 @@ packages: ds-test@https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0: resolution: {tarball: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0} - name: ds-test version: 1.0.0 duplexify@3.7.1: @@ -4067,7 +3959,6 @@ packages: forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/74cfb77e308dd188d2f58864aaf44963ae6b88b1: resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/74cfb77e308dd188d2f58864aaf44963ae6b88b1} - name: forge-std version: 1.6.0 form-data@4.0.0: @@ -6944,33 +6835,28 @@ snapshots: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.18 - '@ampproject/remapping@2.3.0': - dependencies: - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - '@arktype/attest@0.6.4(typescript@5.4.2)': dependencies: '@arktype/fs': 0.0.11 '@arktype/util': 0.0.23 '@typescript/analyze-trace': 0.10.1 '@typescript/vfs': 1.5.0 - arktype: 2.0.0-dev.11 + arktype: 2.0.0-dev.12 typescript: 5.4.2 transitivePeerDependencies: - supports-color '@arktype/fs@0.0.11': {} - '@arktype/schema@0.1.2': + '@arktype/schema@0.1.4': dependencies: - '@arktype/util': 0.0.38 + '@arktype/util': 0.0.41 '@arktype/util@0.0.23': {} '@arktype/util@0.0.29': {} - '@arktype/util@0.0.38': {} + '@arktype/util@0.0.41': {} '@aws-crypto/ie11-detection@3.0.0': dependencies: @@ -7362,15 +7248,8 @@ snapshots: dependencies: '@babel/highlight': 7.18.6 - '@babel/code-frame@7.24.2': - dependencies: - '@babel/highlight': 7.24.2 - picocolors: 1.0.0 - '@babel/compat-data@7.21.4': {} - '@babel/compat-data@7.24.4': {} - '@babel/core@7.21.4': dependencies: '@ampproject/remapping': 2.2.1 @@ -7391,26 +7270,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/core@7.24.4': - dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.24.2 - '@babel/generator': 7.24.4 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.4) - '@babel/helpers': 7.24.4 - '@babel/parser': 7.24.4 - '@babel/template': 7.24.0 - '@babel/traverse': 7.24.1 - '@babel/types': 7.24.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/generator@7.21.4': dependencies: '@babel/types': 7.21.4 @@ -7418,13 +7277,6 @@ snapshots: '@jridgewell/trace-mapping': 0.3.18 jsesc: 2.5.2 - '@babel/generator@7.24.4': - dependencies: - '@babel/types': 7.24.0 - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 - '@babel/helper-compilation-targets@7.21.4(@babel/core@7.21.4)': dependencies: '@babel/compat-data': 7.21.4 @@ -7434,44 +7286,21 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.0 - '@babel/helper-compilation-targets@7.23.6': - dependencies: - '@babel/compat-data': 7.24.4 - '@babel/helper-validator-option': 7.23.5 - browserslist: 4.23.0 - lru-cache: 5.1.1 - semver: 6.3.1 - '@babel/helper-environment-visitor@7.18.9': {} - '@babel/helper-environment-visitor@7.22.20': {} - '@babel/helper-function-name@7.21.0': dependencies: '@babel/template': 7.20.7 '@babel/types': 7.21.4 - '@babel/helper-function-name@7.23.0': - dependencies: - '@babel/template': 7.24.0 - '@babel/types': 7.24.0 - '@babel/helper-hoist-variables@7.18.6': dependencies: '@babel/types': 7.21.4 - '@babel/helper-hoist-variables@7.22.5': - dependencies: - '@babel/types': 7.24.0 - '@babel/helper-module-imports@7.18.6': dependencies: '@babel/types': 7.21.4 - '@babel/helper-module-imports@7.24.3': - dependencies: - '@babel/types': 7.24.0 - '@babel/helper-module-transforms@7.21.2': dependencies: '@babel/helper-environment-visitor': 7.18.9 @@ -7485,45 +7314,22 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.23.3(@babel/core@7.24.4)': - dependencies: - '@babel/core': 7.24.4 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.24.3 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 - '@babel/helper-plugin-utils@7.20.2': {} '@babel/helper-simple-access@7.20.2': dependencies: '@babel/types': 7.21.4 - '@babel/helper-simple-access@7.22.5': - dependencies: - '@babel/types': 7.24.0 - '@babel/helper-split-export-declaration@7.18.6': dependencies: '@babel/types': 7.21.4 - '@babel/helper-split-export-declaration@7.22.6': - dependencies: - '@babel/types': 7.24.0 - '@babel/helper-string-parser@7.19.4': {} - '@babel/helper-string-parser@7.24.1': {} - '@babel/helper-validator-identifier@7.19.1': {} - '@babel/helper-validator-identifier@7.22.20': {} - '@babel/helper-validator-option@7.21.0': {} - '@babel/helper-validator-option@7.23.5': {} - '@babel/helpers@7.21.0': dependencies: '@babel/template': 7.20.7 @@ -7532,35 +7338,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helpers@7.24.4': - dependencies: - '@babel/template': 7.24.0 - '@babel/traverse': 7.24.1 - '@babel/types': 7.24.0 - transitivePeerDependencies: - - supports-color - '@babel/highlight@7.18.6': dependencies: '@babel/helper-validator-identifier': 7.19.1 chalk: 2.4.2 js-tokens: 4.0.0 - '@babel/highlight@7.24.2': - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - picocolors: 1.0.0 - '@babel/parser@7.21.4': dependencies: '@babel/types': 7.21.4 - '@babel/parser@7.24.4': - dependencies: - '@babel/types': 7.24.0 - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.21.4)': dependencies: '@babel/core': 7.21.4 @@ -7651,12 +7438,6 @@ snapshots: '@babel/parser': 7.21.4 '@babel/types': 7.21.4 - '@babel/template@7.24.0': - dependencies: - '@babel/code-frame': 7.24.2 - '@babel/parser': 7.24.4 - '@babel/types': 7.24.0 - '@babel/traverse@7.21.4': dependencies: '@babel/code-frame': 7.21.4 @@ -7672,33 +7453,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/traverse@7.24.1': - dependencies: - '@babel/code-frame': 7.24.2 - '@babel/generator': 7.24.4 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.24.4 - '@babel/types': 7.24.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - '@babel/types@7.21.4': dependencies: '@babel/helper-string-parser': 7.19.4 '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 - '@babel/types@7.24.0': - dependencies: - '@babel/helper-string-parser': 7.24.1 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - '@bcoe/v8-coverage@0.2.3': {} '@changesets/apply-release-plan@6.1.3': @@ -8498,20 +8258,10 @@ snapshots: '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.18 - '@jridgewell/gen-mapping@0.3.5': - dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.25 - '@jridgewell/resolve-uri@3.1.0': {} - '@jridgewell/resolve-uri@3.1.2': {} - '@jridgewell/set-array@1.1.2': {} - '@jridgewell/set-array@1.2.1': {} - '@jridgewell/sourcemap-codec@1.4.14': {} '@jridgewell/sourcemap-codec@1.4.15': {} @@ -8521,11 +8271,6 @@ snapshots: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 - '@jridgewell/trace-mapping@0.3.25': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@koa/cors@4.0.0': dependencies: vary: 1.1.2 @@ -8609,6 +8354,7 @@ snapshots: '@samverschueren/stream-to-observable@0.3.1(rxjs@6.6.7)': dependencies: any-observable: 0.3.0(rxjs@6.6.7) + optionalDependencies: rxjs: 6.6.7 transitivePeerDependencies: - zenObservable @@ -8943,12 +8689,13 @@ snapshots: '@solidity-parser/parser@0.17.0': {} - '@testing-library/react-hooks@8.0.1(@types/react@18.2.22)(react-test-renderer@18.2.0)(react@18.2.0)': + '@testing-library/react-hooks@8.0.1(@types/react@18.2.22)(react-test-renderer@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.21.0 - '@types/react': 18.2.22 react: 18.2.0 react-error-boundary: 3.1.4(react@18.2.0) + optionalDependencies: + '@types/react': 18.2.22 react-test-renderer: 18.2.0(react@18.2.0) '@tootallnate/once@2.0.0': {} @@ -9189,7 +8936,7 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.0 - '@typescript-eslint/eslint-plugin@7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.4.2)': + '@typescript-eslint/eslint-plugin@7.1.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.4.2))(eslint@8.57.0)(typescript@5.4.2)': dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 7.1.1(eslint@8.57.0)(typescript@5.4.2) @@ -9204,6 +8951,7 @@ snapshots: natural-compare: 1.4.0 semver: 7.6.0 ts-api-utils: 1.2.1(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -9216,6 +8964,7 @@ snapshots: '@typescript-eslint/visitor-keys': 7.1.1 debug: 4.3.4 eslint: 8.57.0 + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -9232,6 +8981,7 @@ snapshots: debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.2.1(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -9248,6 +8998,7 @@ snapshots: minimatch: 9.0.3 semver: 7.6.0 ts-api-utils: 1.2.1(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -9301,7 +9052,7 @@ snapshots: - debug - utf-8-validate - '@vitejs/plugin-react@4.0.0(vite@4.3.6)': + '@vitejs/plugin-react@4.0.0(vite@4.3.6(@types/node@18.15.11))': dependencies: '@babel/core': 7.21.4 '@babel/plugin-transform-react-jsx-self': 7.21.0(@babel/core@7.21.4) @@ -9346,7 +9097,7 @@ snapshots: abind@1.0.5: {} abitype@1.0.0(typescript@5.4.2)(zod@3.23.7): - dependencies: + optionalDependencies: typescript: 5.4.2 zod: 3.23.7 @@ -9393,7 +9144,7 @@ snapshots: indent-string: 4.0.0 ajv-formats@2.1.1(ajv@8.12.0): - dependencies: + optionalDependencies: ajv: 8.12.0 ajv@6.12.6: @@ -9445,7 +9196,7 @@ snapshots: antlr4ts@0.5.0-alpha.4: {} any-observable@0.3.0(rxjs@6.6.7): - dependencies: + optionalDependencies: rxjs: 6.6.7 any-promise@1.3.0: {} @@ -9482,10 +9233,10 @@ snapshots: arktype@1.0.29-alpha: {} - arktype@2.0.0-dev.11: + arktype@2.0.0-dev.12: dependencies: - '@arktype/schema': 0.1.2 - '@arktype/util': 0.0.38 + '@arktype/schema': 0.1.4 + '@arktype/util': 0.0.41 array-includes@3.1.6: dependencies: @@ -9989,12 +9740,12 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 - create-create-app@https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63: + create-create-app@https://codeload.github.com/holic/create-create-app/tar.gz/74376c59b48a04aabbe94d9cacfe9cb1cecccd63(encoding@0.1.13): dependencies: '@types/yargs-interactive': 2.1.3 chalk: 4.1.2 cross-spawn: 7.0.3 - epicfail: 3.0.0 + epicfail: 3.0.0(encoding@0.1.13) execa: 5.1.1 gitconfig: 2.0.8 globby: 11.1.0 @@ -10147,15 +9898,12 @@ snapshots: dotenv@16.0.3: {} - drizzle-orm@0.28.5(@types/better-sqlite3@7.6.4)(better-sqlite3@8.6.0)(postgres@3.3.5): - dependencies: + drizzle-orm@0.28.5(@opentelemetry/api@1.8.0)(@types/better-sqlite3@7.6.4)(@types/sql.js@1.4.4)(better-sqlite3@8.6.0)(kysely@0.26.3)(postgres@3.3.5)(sql.js@1.8.0): + optionalDependencies: + '@opentelemetry/api': 1.8.0 '@types/better-sqlite3': 7.6.4 - better-sqlite3: 8.6.0 - postgres: 3.3.5 - - drizzle-orm@0.28.5(@types/sql.js@1.4.4)(kysely@0.26.3)(postgres@3.3.5)(sql.js@1.8.0): - dependencies: '@types/sql.js': 1.4.4 + better-sqlite3: 8.6.0 kysely: 0.26.3 postgres: 3.3.5 sql.js: 1.8.0 @@ -10223,11 +9971,11 @@ snapshots: envinfo@7.8.1: {} - epicfail@3.0.0: + epicfail@3.0.0(encoding@0.1.13): dependencies: chalk: 4.1.2 envinfo: 7.8.1 - node-fetch: 2.6.9 + node-fetch: 2.6.9(encoding@0.1.13) pkg-up: 3.1.0 transitivePeerDependencies: - encoding @@ -10800,7 +10548,7 @@ snapshots: flatted@3.2.7: {} follow-redirects@1.15.2(debug@4.3.4): - dependencies: + optionalDependencies: debug: 4.3.4 forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/74cfb77e308dd188d2f58864aaf44963ae6b88b1: {} @@ -11408,7 +11156,6 @@ snapshots: '@babel/core': 7.21.4 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 18.15.11 babel-jest: 29.5.0(@babel/core@7.21.4) chalk: 4.1.2 ci-info: 3.8.0 @@ -11428,6 +11175,8 @@ snapshots: pretty-format: 29.5.0 slash: 3.0.0 strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 18.15.11 transitivePeerDependencies: - supports-color @@ -11524,7 +11273,7 @@ snapshots: jest-util: 29.5.0 jest-pnp-resolver@1.2.3(jest-resolve@29.5.0): - dependencies: + optionalDependencies: jest-resolve: 29.5.0 jest-regex-util@29.4.3: {} @@ -12180,9 +11929,11 @@ snapshots: dependencies: semver: 7.5.0 - node-fetch@2.6.9: + node-fetch@2.6.9(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 node-gyp@9.4.1: dependencies: @@ -12514,14 +12265,16 @@ snapshots: postcss-load-config@3.1.4(postcss@8.4.23): dependencies: lilconfig: 2.1.0 - postcss: 8.4.23 yaml: 1.10.2 + optionalDependencies: + postcss: 8.4.23 postcss-load-config@4.0.1(postcss@8.4.23): dependencies: lilconfig: 2.1.0 - postcss: 8.4.23 yaml: 2.2.2 + optionalDependencies: + postcss: 8.4.23 postcss-nested@6.0.1(postcss@8.4.23): dependencies: @@ -12686,7 +12439,7 @@ snapshots: react-refresh@0.14.0: {} - react-router-dom@6.11.0(react-dom@18.2.0)(react@18.2.0): + react-router-dom@6.11.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@remix-run/router': 1.6.0 react: 18.2.0 @@ -13412,11 +13165,9 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.0.5(@babel/core@7.24.4)(esbuild@0.17.17)(jest@29.5.0)(typescript@5.4.2): + ts-jest@29.0.5(@babel/core@7.21.4)(@jest/types@29.5.0)(babel-jest@29.5.0(@babel/core@7.21.4))(esbuild@0.17.17)(jest@29.5.0(@types/node@18.15.11))(typescript@5.4.2): dependencies: - '@babel/core': 7.24.4 bs-logger: 0.2.6 - esbuild: 0.17.17 fast-json-stable-stringify: 2.1.0 jest: 29.5.0(@types/node@18.15.11) jest-util: 29.5.0 @@ -13426,6 +13177,11 @@ snapshots: semver: 7.5.0 typescript: 5.4.2 yargs-parser: 21.1.1 + optionalDependencies: + '@babel/core': 7.21.4 + '@jest/types': 29.5.0 + babel-jest: 29.5.0(@babel/core@7.21.4) + esbuild: 0.17.17 tslib@1.14.1: {} @@ -13445,13 +13201,14 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss: 8.4.23 postcss-load-config: 3.1.4(postcss@8.4.23) resolve-from: 5.0.0 rollup: 3.21.8 source-map: 0.8.0-beta.0 sucrase: 3.32.0 tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.23 typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -13578,7 +13335,7 @@ snapshots: querystringify: 2.2.0 requires-port: 1.0.0 - use-local-storage-state@18.3.2(react-dom@18.2.0)(react@18.2.0): + use-local-storage-state@18.3.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -13619,8 +13376,9 @@ snapshots: '@scure/bip39': 1.2.1 abitype: 1.0.0(typescript@5.4.2)(zod@3.23.7) isows: 1.0.3(ws@8.13.0) - typescript: 5.4.2 ws: 8.13.0 + optionalDependencies: + typescript: 5.4.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -13645,11 +13403,11 @@ snapshots: vite@4.3.6(@types/node@18.15.11): dependencies: - '@types/node': 18.15.11 esbuild: 0.17.17 postcss: 8.4.23 rollup: 3.21.8 optionalDependencies: + '@types/node': 18.15.11 fsevents: 2.3.3 vitest@0.34.6(jsdom@22.1.0): @@ -13667,7 +13425,6 @@ snapshots: cac: 6.7.14 chai: 4.4.1 debug: 4.3.4 - jsdom: 22.1.0 local-pkg: 0.4.3 magic-string: 0.30.5 pathe: 1.1.2 @@ -13679,6 +13436,8 @@ snapshots: vite: 4.3.6(@types/node@18.15.11) vite-node: 0.34.6(@types/node@18.15.11) why-is-node-running: 2.2.2 + optionalDependencies: + jsdom: 22.1.0 transitivePeerDependencies: - less - sass @@ -13912,5 +13671,6 @@ snapshots: zustand@4.3.7(react@18.2.0): dependencies: - react: 18.2.0 use-sync-external-store: 1.2.0(react@18.2.0) + optionalDependencies: + react: 18.2.0 diff --git a/test/mock-game-contracts/package.json b/test/mock-game-contracts/package.json index 5b1ef29584..37482fe6d7 100644 --- a/test/mock-game-contracts/package.json +++ b/test/mock-game-contracts/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "mud build", "clean": "forge clean && rimraf src/codegen", - "deploy:local": "mud deploy" + "deploy:local": "DEBUG=mud:* mud deploy" }, "devDependencies": { "@latticexyz/cli": "workspace:*",