diff --git a/.changeset/small-turkeys-deliver.md b/.changeset/small-turkeys-deliver.md new file mode 100644 index 0000000000..1a1b305a8b --- /dev/null +++ b/.changeset/small-turkeys-deliver.md @@ -0,0 +1,12 @@ +--- +"@latticexyz/cli": patch +"@latticexyz/config": patch +"@latticexyz/faucet": patch +"@latticexyz/store-indexer": patch +"@latticexyz/store-sync": patch +"@latticexyz/store": patch +"@latticexyz/world-modules": patch +"@latticexyz/world": patch +--- + +Bumped zod dependency to comply with abitype peer dependencies. diff --git a/packages/cli/package.json b/packages/cli/package.json index 1b3a8dabfa..6adf8c39ab 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -65,7 +65,7 @@ "typescript": "5.4.2", "viem": "2.9.20", "yargs": "^17.7.1", - "zod": "^3.21.4", + "zod": "^3.22.2", "zod-validation-error": "^1.3.0" }, "devDependencies": { diff --git a/packages/config/package.json b/packages/config/package.json index 1f42430bfe..fd447e1cd6 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -50,7 +50,7 @@ "esbuild": "^0.17.15", "find-up": "^6.3.0", "viem": "2.9.20", - "zod": "^3.21.4", + "zod": "^3.22.2", "zod-validation-error": "^1.3.0" }, "devDependencies": { diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 18221bae0b..9b84745986 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -37,7 +37,7 @@ "dotenv": "^16.0.3", "fastify": "^4.21.0", "viem": "2.9.20", - "zod": "^3.21.4" + "zod": "^3.22.2" }, "devDependencies": { "@types/debug": "^4.1.7", diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index 06a7fbeb31..eb7d45a8d6 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -64,7 +64,7 @@ "superjson": "^1.12.4", "trpc-koa-adapter": "^1.1.3", "viem": "2.9.20", - "zod": "^3.21.4" + "zod": "^3.22.2" }, "devDependencies": { "@types/accepts": "^1.3.7", diff --git a/packages/store-sync/package.json b/packages/store-sync/package.json index 2d934083bb..3fba04a5c6 100644 --- a/packages/store-sync/package.json +++ b/packages/store-sync/package.json @@ -80,7 +80,7 @@ "sql.js": "^1.8.0", "superjson": "^1.12.4", "viem": "2.9.20", - "zod": "^3.21.4", + "zod": "^3.22.2", "zustand": "^4.3.7" }, "devDependencies": { diff --git a/packages/store/package.json b/packages/store/package.json index 338d4bf687..7840af94eb 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -67,7 +67,7 @@ "abitype": "1.0.0", "arktype": "1.0.29-alpha", "viem": "2.9.20", - "zod": "^3.21.4" + "zod": "^3.22.2" }, "devDependencies": { "@latticexyz/abi-ts": "workspace:*", diff --git a/packages/world-modules/package.json b/packages/world-modules/package.json index fe11de4840..e8f1a49348 100644 --- a/packages/world-modules/package.json +++ b/packages/world-modules/package.json @@ -42,7 +42,7 @@ "@latticexyz/schema-type": "workspace:*", "@latticexyz/store": "workspace:*", "@latticexyz/world": "workspace:*", - "zod": "^3.21.4" + "zod": "^3.22.2" }, "devDependencies": { "@latticexyz/abi-ts": "workspace:*", diff --git a/packages/world/package.json b/packages/world/package.json index 2d7a84f553..45a5c62196 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -63,7 +63,7 @@ "abitype": "1.0.0", "arktype": "1.0.29-alpha", "viem": "2.9.20", - "zod": "^3.21.4" + "zod": "^3.22.2" }, "devDependencies": { "@latticexyz/abi-ts": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 57536f5743..b7f0709406 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,7 +107,7 @@ importers: version: link:../common abitype: specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.21.4) + version: 1.0.0(typescript@5.4.2)(zod@3.23.7) debug: specifier: ^4.3.4 version: 4.3.4 @@ -116,7 +116,7 @@ importers: version: 7.5.5 viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) devDependencies: '@types/debug': specifier: ^4.1.7 @@ -231,16 +231,16 @@ importers: version: 5.4.2 viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) yargs: specifier: ^17.7.1 version: 17.7.1 zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 zod-validation-error: specifier: ^1.3.0 - version: 1.3.0(zod@3.21.4) + version: 1.3.0(zod@3.23.7) devDependencies: '@types/debug': specifier: ^4.1.7 @@ -316,7 +316,7 @@ importers: version: 1.3.1(prettier@3.2.5) viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) devDependencies: '@types/debug': specifier: ^4.1.7 @@ -350,13 +350,13 @@ importers: version: 6.3.0 viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 zod-validation-error: specifier: ^1.3.0 - version: 1.3.0(zod@3.21.4) + version: 1.3.0(zod@3.23.7) devDependencies: tsup: specifier: ^6.7.0 @@ -421,7 +421,7 @@ importers: version: 18.3.2(react-dom@18.2.0)(react@18.2.0) viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zustand: specifier: ^4.3.7 version: 4.3.7(react@18.2.0) @@ -479,10 +479,10 @@ importers: version: 4.21.0 viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 devDependencies: '@types/debug': specifier: ^4.1.7 @@ -556,10 +556,10 @@ importers: version: link:../schema-type abitype: specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.21.4) + version: 1.0.0(typescript@5.4.2)(zod@3.23.7) viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) devDependencies: tsup: specifier: ^6.7.0 @@ -584,7 +584,7 @@ importers: version: link:../store viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) devDependencies: tsup: specifier: ^6.7.0 @@ -683,10 +683,10 @@ importers: dependencies: abitype: specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.21.4) + version: 1.0.0(typescript@5.4.2)(zod@3.23.7) viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) devDependencies: '@latticexyz/gas-report': specifier: workspace:* @@ -764,16 +764,16 @@ importers: version: link:../schema-type abitype: specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.21.4) + version: 1.0.0(typescript@5.4.2)(zod@3.23.7) arktype: specifier: 1.0.29-alpha version: 1.0.29-alpha viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 devDependencies: '@latticexyz/abi-ts': specifier: workspace:* @@ -885,10 +885,10 @@ importers: version: 1.1.3(@trpc/server@10.34.0)(koa@2.14.2) viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 devDependencies: '@types/accepts': specifier: ^1.3.7 @@ -988,10 +988,10 @@ importers: version: 1.12.4 viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 zustand: specifier: ^4.3.7 version: 4.3.7(react@18.2.0) @@ -1062,16 +1062,16 @@ importers: version: link:../store abitype: specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.21.4) + version: 1.0.0(typescript@5.4.2)(zod@3.23.7) arktype: specifier: 1.0.29-alpha version: 1.0.29-alpha viem: specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.21.4) + version: 2.9.20(typescript@5.4.2)(zod@3.23.7) zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 devDependencies: '@latticexyz/abi-ts': specifier: workspace:* @@ -1134,8 +1134,8 @@ importers: specifier: workspace:* version: link:../world zod: - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.2 + version: 3.23.7 devDependencies: '@latticexyz/abi-ts': specifier: workspace:* @@ -1252,7 +1252,7 @@ packages: '@arktype/util': 0.0.23 '@typescript/analyze-trace': 0.10.1 '@typescript/vfs': 1.5.0 - arktype: 2.0.0-dev.10 + arktype: 2.0.0-dev.11 typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -1262,10 +1262,10 @@ packages: resolution: {integrity: sha512-f3p8apUMOTl6KlFNTrOX6twQJDeSdSmtYPVca7SaQjUUTAxfUlaROY1/i1C3y2llYDrrQBEbsggk8k2Oxxgrvw==} dev: true - /@arktype/schema@0.1.1: - resolution: {integrity: sha512-wLZNVs6m/OHi4KgJavyjDW2RyPU/TGdfcTtncPvgt8n5JdJkYNaizlLQxDshUBMLPtWdRcN7mHDSZafqrnMJ2Q==} + /@arktype/schema@0.1.2: + resolution: {integrity: sha512-ggvxs5P0toqd/4/XK76URQrtyOYpbYcLhirEZeTso6FxkloPa0lT+whPg7DNQj5qi2OQXLUHBYKMx9DOb13ViQ==} dependencies: - '@arktype/util': 0.0.36 + '@arktype/util': 0.0.38 dev: true /@arktype/util@0.0.23: @@ -1276,8 +1276,8 @@ packages: resolution: {integrity: sha512-fDTBSVzxLj9k1ZjinkawmaQdcXFKMBVK8c+vqMPxwoa94mPMZxBo84yQcqyFVcIcWIkg6qQQmH1ozyT4nqFT/g==} dev: false - /@arktype/util@0.0.36: - resolution: {integrity: sha512-w9rngq4t1DFGyyLDLqkWhZH+wd1kmML0e87K8qKEHk0Oq2VhUBDEn383qZ1dX+nkweB4szLe+FCkZ0SJO6zQMA==} + /@arktype/util@0.0.38: + resolution: {integrity: sha512-IvYMGnkUASJllRk3mdBVgckomKx2LNsDTrWCxz04EBK1OuU+4fJ/smSjxgZVWfopNXZds9sHNxZgTJOIw7GvJw==} dev: true /@aws-crypto/ie11-detection@3.0.0: @@ -4954,7 +4954,7 @@ packages: engines: {node: '>=6', npm: '>=3'} dev: false - /abitype@1.0.0(typescript@5.4.2)(zod@3.21.4): + /abitype@1.0.0(typescript@5.4.2)(zod@3.23.7): resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} peerDependencies: typescript: '>=5.0.4' @@ -4966,7 +4966,7 @@ packages: optional: true dependencies: typescript: 5.4.2 - zod: 3.21.4 + zod: 3.23.7 dev: false /abort-controller-x@0.4.1: @@ -5221,11 +5221,11 @@ packages: resolution: {integrity: sha512-glMLgVhIQRSkR3tymiS+POAcWVJH09sfrgic0jHnyFL8BlhHAJZX2BzdImU9zYr1y9NBqy+U93ZNrRTHXsKRDw==} dev: false - /arktype@2.0.0-dev.10: - resolution: {integrity: sha512-fxprnIgP71JgeRdrxZI67QaM2swkTHDeZbIT5XuZJ6CG33Ais1rmi2qG1DNayiUXGGobBew9HjQVJDtcaXB0fw==} + /arktype@2.0.0-dev.11: + resolution: {integrity: sha512-k+WVQoHsHsTyTiVQkO201mxLQxyXHmy3buJW8TXLOkr4X2yOUCp0K1SBscuG9OEJoc8MjpvoIharjPHEkFI7kg==} dependencies: - '@arktype/schema': 0.1.1 - '@arktype/util': 0.0.36 + '@arktype/schema': 0.1.2 + '@arktype/util': 0.0.38 dev: true /array-includes@3.1.6: @@ -12090,7 +12090,7 @@ packages: engines: {node: '>= 0.8'} dev: false - /viem@2.9.20(typescript@5.4.2)(zod@3.21.4): + /viem@2.9.20(typescript@5.4.2)(zod@3.23.7): resolution: {integrity: sha512-PHb1MrBHMrSZ8Ayuk3Y/6wUTcMbzlACQaM6AJBSv9kRKX3xYSZ/kehi+gvS0swQJeAlTQ4eZM7jsHQJNAOarmg==} peerDependencies: typescript: '>=5.0.4' @@ -12103,7 +12103,7 @@ packages: '@noble/hashes': 1.3.2 '@scure/bip32': 1.3.2 '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.4.2)(zod@3.21.4) + 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 @@ -12595,17 +12595,17 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} - /zod-validation-error@1.3.0(zod@3.21.4): + /zod-validation-error@1.3.0(zod@3.23.7): resolution: {integrity: sha512-4WoQnuWnj06kwKR4A+cykRxFmy+CTvwMQO5ogTXLiVx1AuvYYmMjixh7sbkSsQTr1Fvtss6d5kVz8PGeMPUQjQ==} engines: {node: '>=16.0.0'} peerDependencies: zod: ^3.18.0 dependencies: - zod: 3.21.4 + zod: 3.23.7 dev: false - /zod@3.21.4: - resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==} + /zod@3.23.7: + resolution: {integrity: sha512-NBeIoqbtOiUMomACV/y+V3Qfs9+Okr18vR5c/5pHClPpufWOrsx8TENboDPe265lFdfewX2yBtNTLPvnmCxwog==} dev: false /zustand@4.3.7(react@18.2.0):