From 9846dbe5e1905a8736732f73a48eddc237504033 Mon Sep 17 00:00:00 2001 From: Tomasz Kopacki Date: Mon, 26 Jan 2026 12:34:46 +0100 Subject: [PATCH 1/4] deps(zod): update to latest version --- pnpm-lock.yaml | 223 ++++++++++++++++++++++++++++++++++++-------- pnpm-workspace.yaml | 2 +- 2 files changed, 185 insertions(+), 40 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7f19b0d1..447d765ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ catalogs: specifier: ^4.0.2 version: 4.0.5 zod: - specifier: ^3.25.7 - version: 3.25.76 + specifier: ^4.3.6 + version: 4.3.6 overrides: '@adraffy/ens-normalize': 1.11.1 @@ -168,7 +168,7 @@ importers: version: link:../../packages/namehash-ui '@ponder/utils': specifier: 'catalog:' - version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76)) + version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6)) '@radix-ui/react-avatar': specifier: ^1.1.3 version: 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.1(react@19.2.1))(react@19.2.1) @@ -264,7 +264,7 @@ importers: version: 1.0.7(tailwindcss@4.1.18) viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) devDependencies: '@tailwindcss/postcss': specifier: ^4.1.18 @@ -298,7 +298,7 @@ importers: dependencies: '@ensdomains/ensjs': specifier: ^4.0.2 - version: 4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76) + version: 4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))(zod@4.3.6) '@ensnode/datasources': specifier: workspace:* version: link:../../packages/datasources @@ -322,7 +322,7 @@ importers: version: 0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4) '@hono/zod-validator': specifier: ^0.7.2 - version: 0.7.4(hono@4.11.4)(zod@3.25.76) + version: 0.7.4(hono@4.11.4)(zod@4.3.6) '@namehash/ens-referrals': specifier: workspace:* version: link:../../packages/ens-referrals @@ -361,7 +361,7 @@ importers: version: 0.16.1(@electric-sql/pglite@0.2.13)(@opentelemetry/api@1.9.0(patch_hash=4b2adeefaf7c22f9987d0a125d69cab900719bec7ed7636648bea6947107033a))(kysely@0.26.3)(pg@8.16.3)(typescript@5.9.3) '@ponder/utils': specifier: 'catalog:' - version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76)) + version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6)) '@pothos/core': specifier: ^4.10.0 version: 4.10.0(graphql@16.11.0) @@ -394,7 +394,7 @@ importers: version: 4.11.4 hono-openapi: specifier: ^1.1.2 - version: 1.1.2(@hono/standard-validator@0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4))(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.4)(openapi-types@12.1.3) + version: 1.1.2(@hono/standard-validator@0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4))(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.4)(openapi-types@12.1.3) p-memoize: specifier: ^8.0.0 version: 8.0.0 @@ -412,10 +412,10 @@ importers: version: 0.1.3(graphql@16.11.0)(hono@4.11.4) viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) zod: specifier: 'catalog:' - version: 3.25.76 + version: 4.3.6 devDependencies: '@ensnode/shared-configs': specifier: workspace:* @@ -440,7 +440,7 @@ importers: dependencies: '@ensdomains/ensjs': specifier: ^4.0.2 - version: 4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76) + version: 4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))(zod@4.3.6) '@ensnode/datasources': specifier: workspace:* version: link:../../packages/datasources @@ -476,13 +476,13 @@ importers: version: 2.9.1 ponder: specifier: 'catalog:' - version: 0.16.1(@opentelemetry/api@1.9.0(patch_hash=4b2adeefaf7c22f9987d0a125d69cab900719bec7ed7636648bea6947107033a))(@types/node@24.10.9)(hono@4.11.4)(lightningcss@1.30.2)(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76) + version: 0.16.1(@opentelemetry/api@1.9.0(patch_hash=4b2adeefaf7c22f9987d0a125d69cab900719bec7ed7636648bea6947107033a))(@types/node@24.10.9)(hono@4.11.4)(lightningcss@1.30.2)(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))(zod@4.3.6) viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) zod: specifier: 'catalog:' - version: 3.25.76 + version: 4.3.6 devDependencies: '@ensnode/shared-configs': specifier: workspace:* @@ -531,7 +531,7 @@ importers: version: 7.5.4 viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) yargs: specifier: ^17.7.2 version: 17.7.2 @@ -747,7 +747,7 @@ importers: dependencies: '@ponder/utils': specifier: 'catalog:' - version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76)) + version: 0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6)) devDependencies: '@ensnode/shared-configs': specifier: workspace:* @@ -763,7 +763,7 @@ importers: version: 5.9.3 viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) vitest: specifier: 'catalog:' version: 4.0.5(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(jsdom@27.0.1(postcss@8.5.6))(lightningcss@1.30.2)(tsx@4.20.6)(yaml@2.8.1) @@ -775,7 +775,7 @@ importers: version: link:../ensnode-sdk zod: specifier: 'catalog:' - version: 3.25.76 + version: 4.3.6 devDependencies: '@ensnode/shared-configs': specifier: workspace:* @@ -791,7 +791,7 @@ importers: version: 5.9.3 viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) vitest: specifier: 'catalog:' version: 4.0.5(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(jsdom@27.0.1(postcss@8.5.6))(lightningcss@1.30.2)(tsx@4.20.6)(yaml@2.8.1) @@ -871,7 +871,7 @@ importers: version: 4.1.0 zod: specifier: 'catalog:' - version: 3.25.76 + version: 4.3.6 devDependencies: '@ensnode/shared-configs': specifier: workspace:* @@ -887,7 +887,7 @@ importers: version: 5.9.3 viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) vitest: specifier: 'catalog:' version: 4.0.5(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(jsdom@27.0.1(postcss@8.5.6))(lightningcss@1.30.2)(tsx@4.20.6)(yaml@2.8.1) @@ -896,7 +896,7 @@ importers: dependencies: viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) devDependencies: '@ensnode/ensnode-sdk': specifier: workspace:* @@ -1003,7 +1003,7 @@ importers: version: 5.9.3 viem: specifier: 'catalog:' - version: 2.38.5(typescript@5.9.3)(zod@3.25.76) + version: 2.38.5(typescript@5.9.3)(zod@4.3.6) vitest: specifier: 'catalog:' version: 4.0.5(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(jsdom@27.0.1(postcss@8.5.6))(lightningcss@1.30.2)(tsx@4.20.6)(yaml@2.8.1) @@ -8831,6 +8831,9 @@ packages: zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + zod@4.3.6: + resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==} + zustand@4.5.7: resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} engines: {node: '>=12.7.0'} @@ -9922,19 +9925,19 @@ snapshots: dns-packet: 5.6.1 typescript-logging: 1.0.1 - '@ensdomains/ensjs@4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76)': + '@ensdomains/ensjs@4.0.2(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))(zod@4.3.6)': dependencies: '@adraffy/ens-normalize': 1.11.1 '@ensdomains/address-encoder': 1.1.1 '@ensdomains/content-hash': 3.1.0-rc.1 '@ensdomains/dnsprovejs': 0.5.1 - abitype: 1.1.1(typescript@5.9.3)(zod@3.25.76) + abitype: 1.1.1(typescript@5.9.3)(zod@4.3.6) dns-packet: 5.6.1 graphql: 16.11.0 graphql-request: 6.1.0(graphql@16.11.0) pako: 2.1.0 ts-pattern: 5.9.0 - viem: 2.38.5(typescript@5.9.3)(zod@3.25.76) + viem: 2.38.5(typescript@5.9.3)(zod@4.3.6) transitivePeerDependencies: - encoding - typescript @@ -10483,10 +10486,10 @@ snapshots: '@standard-schema/spec': 1.0.0 hono: 4.11.4 - '@hono/zod-validator@0.7.4(hono@4.11.4)(zod@3.25.76)': + '@hono/zod-validator@0.7.4(hono@4.11.4)(zod@4.3.6)': dependencies: hono: 4.11.4 - zod: 3.25.76 + zod: 4.3.6 '@iconify-json/lucide@1.2.71': dependencies: @@ -11298,9 +11301,9 @@ snapshots: - sql.js - sqlite3 - '@ponder/utils@0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@3.25.76))': + '@ponder/utils@0.2.16(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))': dependencies: - viem: 2.38.5(typescript@5.9.3)(zod@3.25.76) + viem: 2.38.5(typescript@5.9.3)(zod@4.3.6) optionalDependencies: typescript: 5.9.3 @@ -11310,6 +11313,12 @@ snapshots: optionalDependencies: typescript: 5.9.3 + '@ponder/utils@0.2.17(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))': + dependencies: + viem: 2.38.5(typescript@5.9.3)(zod@4.3.6) + optionalDependencies: + typescript: 5.9.3 + '@pothos/core@4.10.0(graphql@16.11.0)': dependencies: graphql: 16.11.0 @@ -12284,24 +12293,24 @@ snapshots: dependencies: tslib: 2.8.1 - '@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76)': + '@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6)': dependencies: '@standard-schema/spec': 1.0.0 '@types/json-schema': 7.0.15 quansync: 0.2.11 optionalDependencies: arktype: 2.1.29 - zod: 3.25.76 - zod-to-json-schema: 3.24.6(zod@3.25.76) + zod: 4.3.6 + zod-to-json-schema: 3.24.6(zod@4.3.6) - '@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@3.25.76)': + '@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@4.3.6)': dependencies: - '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76) + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6) '@standard-schema/spec': 1.0.0 openapi-types: 12.1.3 optionalDependencies: arktype: 2.1.29 - zod: 3.25.76 + zod: 4.3.6 '@standard-schema/spec@1.0.0': {} @@ -12942,6 +12951,11 @@ snapshots: typescript: 5.9.3 zod: 3.25.76 + abitype@0.10.3(typescript@5.9.3)(zod@4.3.6): + optionalDependencies: + typescript: 5.9.3 + zod: 4.3.6 + abitype@1.0.5(typescript@5.9.3)(zod@3.25.76): optionalDependencies: typescript: 5.9.3 @@ -12952,11 +12966,21 @@ snapshots: typescript: 5.9.3 zod: 3.25.76 + abitype@1.1.0(typescript@5.9.3)(zod@4.3.6): + optionalDependencies: + typescript: 5.9.3 + zod: 4.3.6 + abitype@1.1.1(typescript@5.9.3)(zod@3.25.76): optionalDependencies: typescript: 5.9.3 zod: 3.25.76 + abitype@1.1.1(typescript@5.9.3)(zod@4.3.6): + optionalDependencies: + typescript: 5.9.3 + zod: 4.3.6 + abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -14731,10 +14755,10 @@ snapshots: help-me@5.0.0: {} - hono-openapi@1.1.2(@hono/standard-validator@0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4))(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.4)(openapi-types@12.1.3): + hono-openapi@1.1.2(@hono/standard-validator@0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4))(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.4)(openapi-types@12.1.3): dependencies: - '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76) - '@standard-community/standard-openapi': 0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@3.25.76) + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6) + '@standard-community/standard-openapi': 0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.0.0)(@types/json-schema@7.0.15)(arktype@2.1.29)(quansync@0.2.11)(zod-to-json-schema@3.24.6(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.0.0)(arktype@2.1.29)(openapi-types@12.1.3)(zod@4.3.6) '@types/json-schema': 7.0.15 openapi-types: 12.1.3 optionalDependencies: @@ -15872,6 +15896,21 @@ snapshots: transitivePeerDependencies: - zod + ox@0.9.6(typescript@5.9.3)(zod@4.3.6): + dependencies: + '@adraffy/ens-normalize': 1.11.1 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.1(typescript@5.9.3)(zod@4.3.6) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 5.9.3 + transitivePeerDependencies: + - zod + p-filter@2.1.0: dependencies: p-map: 2.1.0 @@ -16228,6 +16267,88 @@ snapshots: - utf-8-validate - zod + ponder@0.16.1(@opentelemetry/api@1.9.0(patch_hash=4b2adeefaf7c22f9987d0a125d69cab900719bec7ed7636648bea6947107033a))(@types/node@24.10.9)(hono@4.11.4)(lightningcss@1.30.2)(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6))(zod@4.3.6): + dependencies: + '@babel/code-frame': 7.27.1 + '@commander-js/extra-typings': 12.1.0(commander@12.1.0) + '@electric-sql/pglite': 0.2.13 + '@escape.tech/graphql-armor-max-aliases': 2.6.2 + '@escape.tech/graphql-armor-max-depth': 2.4.2 + '@escape.tech/graphql-armor-max-tokens': 2.5.1 + '@hono/node-server': 1.19.5(hono@4.11.4) + '@ponder/utils': 0.2.17(typescript@5.9.3)(viem@2.38.5(typescript@5.9.3)(zod@4.3.6)) + abitype: 0.10.3(typescript@5.9.3)(zod@4.3.6) + ansi-escapes: 7.1.1 + commander: 12.1.0 + conf: 12.0.0 + dataloader: 2.2.3 + detect-package-manager: 3.0.2 + dotenv: 16.6.1 + drizzle-orm: 0.41.0(@electric-sql/pglite@0.2.13)(@opentelemetry/api@1.9.0(patch_hash=4b2adeefaf7c22f9987d0a125d69cab900719bec7ed7636648bea6947107033a))(kysely@0.26.3)(pg@8.16.3) + glob: 10.5.0 + graphql: 16.8.2 + graphql-yoga: 5.17.1(graphql@16.8.2) + hono: 4.11.4 + http-terminator: 3.2.0 + kysely: 0.26.3 + pg: 8.16.3 + pg-connection-string: 2.9.1 + pg-copy-streams: 6.0.6 + pg-query-emscripten: 5.1.0 + picocolors: 1.1.1 + pino: 8.21.0 + prom-client: 15.1.3 + semver: 7.7.3 + stacktrace-parser: 0.1.11 + superjson: 2.2.5 + terminal-size: 4.0.0 + viem: 2.38.5(typescript@5.9.3)(zod@4.3.6) + vite: 5.4.21(@types/node@24.10.9)(lightningcss@1.30.2) + vite-node: 1.0.2(@types/node@24.10.9)(lightningcss@1.30.2) + vite-tsconfig-paths: 4.3.1(typescript@5.9.3)(vite@5.4.21(@types/node@24.10.9)(lightningcss@1.30.2)) + ws: 8.18.3 + optionalDependencies: + typescript: 5.9.3 + transitivePeerDependencies: + - '@aws-sdk/client-rds-data' + - '@cloudflare/workers-types' + - '@libsql/client' + - '@libsql/client-wasm' + - '@neondatabase/serverless' + - '@op-engineering/op-sqlite' + - '@opentelemetry/api' + - '@planetscale/database' + - '@prisma/client' + - '@tidbcloud/serverless' + - '@types/better-sqlite3' + - '@types/node' + - '@types/pg' + - '@types/sql.js' + - '@vercel/postgres' + - '@xata.io/client' + - better-sqlite3 + - bufferutil + - bun-types + - expo-sqlite + - gel + - knex + - less + - lightningcss + - mysql2 + - pg-native + - postgres + - prisma + - sass + - sass-embedded + - sql.js + - sqlite3 + - stylus + - sugarss + - supports-color + - terser + - utf-8-validate + - zod + postcss-cli@11.0.1(jiti@2.6.1)(postcss@8.5.6)(tsx@4.20.6): dependencies: chokidar: 3.6.0 @@ -17541,6 +17662,23 @@ snapshots: - utf-8-validate - zod + viem@2.38.5(typescript@5.9.3)(zod@4.3.6): + dependencies: + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.9.3)(zod@4.3.6) + isows: 1.0.7(ws@8.18.3) + ox: 0.9.6(typescript@5.9.3)(zod@4.3.6) + ws: 8.18.3 + optionalDependencies: + typescript: 5.9.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + vite-node@1.0.2(@types/node@24.10.9)(lightningcss@1.30.2): dependencies: cac: 6.7.14 @@ -17917,6 +18055,11 @@ snapshots: dependencies: zod: 3.25.76 + zod-to-json-schema@3.24.6(zod@4.3.6): + dependencies: + zod: 4.3.6 + optional: true + zod-to-ts@1.2.0(typescript@5.9.3)(zod@3.25.76): dependencies: typescript: 5.9.3 @@ -17924,6 +18067,8 @@ snapshots: zod@3.25.76: {} + zod@4.3.6: {} + zustand@4.5.7(@types/react@19.2.7)(immer@9.0.21)(react@19.2.1): dependencies: use-sync-external-store: 1.6.0(react@19.2.1) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 249bb8d01..c2acbaab8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -31,4 +31,4 @@ catalog: viem: ^2.22.13 vite: ^7.1.12 vitest: ^4.0.2 - zod: ^3.25.7 + zod: ^4.3.6 From 87c23d811f0ae25ca037f485dbf900da2a20883c Mon Sep 17 00:00:00 2001 From: Tomasz Kopacki Date: Mon, 26 Jan 2026 12:36:58 +0100 Subject: [PATCH 2/4] deps: address security issues --- package.json | 4 +++- pnpm-lock.yaml | 38 ++++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index c3fdba1de..ac8046588 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,9 @@ "undici@<6.23.0": ">=6.23.0", "devalue@>=5.3.0 <=5.6.1": ">=5.6.2", "h3@<=1.15.4": ">=1.15.5", - "tar@<=7.5.2": ">=7.5.3" + "tar@<=7.5.3": ">=7.5.4", + "lodash-es@>=4.0.0 <=4.17.22": ">=4.17.23", + "lodash@>=4.0.0 <=4.17.22": ">=4.17.23" }, "ignoredBuiltDependencies": [ "bun" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 447d765ca..42a648d9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,7 +92,9 @@ overrides: undici@<6.23.0: '>=6.23.0' devalue@>=5.3.0 <=5.6.1: '>=5.6.2' h3@<=1.15.4: '>=1.15.5' - tar@<=7.5.2: '>=7.5.3' + tar@<=7.5.3: '>=7.5.4' + lodash-es@>=4.0.0 <=4.17.22: '>=4.17.23' + lodash@>=4.0.0 <=4.17.22: '>=4.17.23' patchedDependencies: '@changesets/assemble-release-plan@6.0.9': @@ -6409,8 +6411,8 @@ packages: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} - lodash-es@4.17.21: - resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + lodash-es@4.17.23: + resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==} lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} @@ -6442,8 +6444,8 @@ packages: lodash.uniq@4.5.0: resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} - lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + lodash@4.17.23: + resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==} long@5.3.2: resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==} @@ -7968,8 +7970,8 @@ packages: resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==} engines: {node: '>=6'} - tar@7.5.3: - resolution: {integrity: sha512-ENg5JUHUm2rDD7IvKNFGzyElLXNjachNLp6RaGf4+JOgxXHkqA+gq81ZAMCUmtMtqBsoU62lcp6S27g1LCYGGQ==} + tar@7.5.6: + resolution: {integrity: sha512-xqUeu2JAIJpXyvskvU3uvQW8PAmHrtXp2KDuMJwQqW8Sqq0CaZBAQ+dKS3RBXVhU4wC5NjAdKrmh84241gO9cA==} engines: {node: '>=18'} tdigest@0.1.2: @@ -9817,12 +9819,12 @@ snapshots: dependencies: '@chevrotain/gast': 11.0.3 '@chevrotain/types': 11.0.3 - lodash-es: 4.17.21 + lodash-es: 4.17.23 '@chevrotain/gast@11.0.3': dependencies: '@chevrotain/types': 11.0.3 - lodash-es: 4.17.21 + lodash-es: 4.17.23 '@chevrotain/regexp-to-ast@11.0.3': {} @@ -10507,7 +10509,7 @@ snapshots: local-pkg: 0.5.1 pathe: 1.1.2 svgo: 3.3.2 - tar: 7.5.3 + tar: 7.5.6 transitivePeerDependencies: - debug - supports-color @@ -13445,7 +13447,7 @@ snapshots: chevrotain-allstar@0.3.1(chevrotain@11.0.3): dependencies: chevrotain: 11.0.3 - lodash-es: 4.17.21 + lodash-es: 4.17.23 chevrotain@11.0.3: dependencies: @@ -13454,7 +13456,7 @@ snapshots: '@chevrotain/regexp-to-ast': 11.0.3 '@chevrotain/types': 11.0.3 '@chevrotain/utils': 11.0.3 - lodash-es: 4.17.21 + lodash-es: 4.17.23 chokidar@3.6.0: dependencies: @@ -13870,7 +13872,7 @@ snapshots: dagre-d3-es@7.0.13: dependencies: d3: 7.9.0 - lodash-es: 4.17.21 + lodash-es: 4.17.23 data-urls@6.0.0: dependencies: @@ -15116,7 +15118,7 @@ snapshots: dependencies: p-locate: 4.1.0 - lodash-es@4.17.21: {} + lodash-es@4.17.23: {} lodash.camelcase@4.3.0: {} @@ -15138,7 +15140,7 @@ snapshots: lodash.uniq@4.5.0: {} - lodash@4.17.21: {} + lodash@4.17.23: {} long@5.3.2: {} @@ -15403,7 +15405,7 @@ snapshots: dompurify: 3.3.0 katex: 0.16.25 khroma: 2.1.0 - lodash-es: 4.17.21 + lodash-es: 4.17.23 marked: 16.4.1 roughjs: 4.6.6 stylis: 4.3.6 @@ -17283,7 +17285,7 @@ snapshots: tapable@2.3.0: {} - tar@7.5.3: + tar@7.5.6: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 @@ -18007,7 +18009,7 @@ snapshots: yaml-language-server@1.15.0: dependencies: ajv: 8.17.1 - lodash: 4.17.21 + lodash: 4.17.23 request-light: 0.5.8 vscode-json-languageservice: 4.1.8 vscode-languageserver: 7.0.0 From 355e7c1d067e4700d1780ad4f85ff17871064d14 Mon Sep 17 00:00:00 2001 From: Tomasz Kopacki Date: Mon, 26 Jan 2026 12:49:30 +0100 Subject: [PATCH 3/4] deps: manage unused dependencies --- apps/ensapi/package.json | 1 - pnpm-lock.yaml | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/apps/ensapi/package.json b/apps/ensapi/package.json index 18a47324e..16a03c9ce 100644 --- a/apps/ensapi/package.json +++ b/apps/ensapi/package.json @@ -28,7 +28,6 @@ "@hono/node-server": "^1.19.5", "@hono/otel": "^0.2.2", "@hono/standard-validator": "^0.2.2", - "@hono/zod-validator": "^0.7.2", "@namehash/ens-referrals": "workspace:*", "@opentelemetry/api": "^1.9.0", "@opentelemetry/core": "^2.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42a648d9f..b06c37341 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -322,9 +322,6 @@ importers: '@hono/standard-validator': specifier: ^0.2.2 version: 0.2.2(@standard-schema/spec@1.0.0)(hono@4.11.4) - '@hono/zod-validator': - specifier: ^0.7.2 - version: 0.7.4(hono@4.11.4)(zod@4.3.6) '@namehash/ens-referrals': specifier: workspace:* version: link:../../packages/ens-referrals @@ -2203,12 +2200,6 @@ packages: '@standard-schema/spec': ^1.0.0 hono: '>=3.9.0' - '@hono/zod-validator@0.7.4': - resolution: {integrity: sha512-biKGn3BRJVaftZlIPMyK+HCe/UHAjJ6sH0UyXe3+v0OcgVr9xfImDROTJFLtn9e3XEEAHGZIM9U6evu85abm8Q==} - peerDependencies: - hono: '>=3.9.0' - zod: ^3.25.0 || ^4.0.0 - '@iconify-json/lucide@1.2.71': resolution: {integrity: sha512-KL+3JHW+wN8QqT3CN+7e1SzTe+gIunFBuUICtVmdCmdVRx+MdGNkX4xJhXoYHfhYO2azrEhoGPG+It9k30aZkw==} @@ -10488,11 +10479,6 @@ snapshots: '@standard-schema/spec': 1.0.0 hono: 4.11.4 - '@hono/zod-validator@0.7.4(hono@4.11.4)(zod@4.3.6)': - dependencies: - hono: 4.11.4 - zod: 4.3.6 - '@iconify-json/lucide@1.2.71': dependencies: '@iconify/types': 2.0.0 From a6340acd238fd57ea98805f1c8ec94d2081db190 Mon Sep 17 00:00:00 2001 From: Tomasz Kopacki Date: Mon, 26 Jan 2026 12:59:40 +0100 Subject: [PATCH 4/4] refactor: align Zod dependency imports across codebase --- apps/ensapi/src/handlers/amirealtime-api.ts | 2 +- apps/ensapi/src/handlers/name-tokens-api.ts | 2 +- apps/ensapi/src/handlers/registrar-actions-api.ts | 2 +- .../src/lib/indexing-status/ponder-metadata/zod-schemas.ts | 2 +- apps/ensindexer/src/lib/ponder-helpers.ts | 2 +- packages/ens-referrals/src/api/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/indexing-status/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/name-tokens/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/registrar-actions/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/resolution/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/shared/errors/response.ts | 2 +- packages/ensnode-sdk/src/api/shared/errors/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/api/shared/pagination/zod-schemas.ts | 2 +- packages/ensnode-sdk/src/tokenscope/zod-schemas.ts | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/ensapi/src/handlers/amirealtime-api.ts b/apps/ensapi/src/handlers/amirealtime-api.ts index a9a40ab5f..d87e4f135 100644 --- a/apps/ensapi/src/handlers/amirealtime-api.ts +++ b/apps/ensapi/src/handlers/amirealtime-api.ts @@ -1,6 +1,6 @@ import { minutesToSeconds } from "date-fns"; import { describeRoute } from "hono-openapi"; -import z from "zod/v4"; +import { z } from "zod/v4"; import type { Duration } from "@ensnode/ensnode-sdk"; import { makeDurationSchema } from "@ensnode/ensnode-sdk/internal"; diff --git a/apps/ensapi/src/handlers/name-tokens-api.ts b/apps/ensapi/src/handlers/name-tokens-api.ts index c7ad1a987..fead1a0da 100644 --- a/apps/ensapi/src/handlers/name-tokens-api.ts +++ b/apps/ensapi/src/handlers/name-tokens-api.ts @@ -2,7 +2,7 @@ import config from "@/config"; import { describeRoute, resolver as validationResolver } from "hono-openapi"; import { namehash } from "viem"; -import z from "zod/v4"; +import { z } from "zod/v4"; import { ENS_ROOT, diff --git a/apps/ensapi/src/handlers/registrar-actions-api.ts b/apps/ensapi/src/handlers/registrar-actions-api.ts index f854195a1..69bcea86a 100644 --- a/apps/ensapi/src/handlers/registrar-actions-api.ts +++ b/apps/ensapi/src/handlers/registrar-actions-api.ts @@ -1,5 +1,5 @@ import { describeRoute } from "hono-openapi"; -import z from "zod/v4"; +import { z } from "zod/v4"; import { buildPageContext, diff --git a/apps/ensindexer/src/lib/indexing-status/ponder-metadata/zod-schemas.ts b/apps/ensindexer/src/lib/indexing-status/ponder-metadata/zod-schemas.ts index 21914cb55..942a39579 100644 --- a/apps/ensindexer/src/lib/indexing-status/ponder-metadata/zod-schemas.ts +++ b/apps/ensindexer/src/lib/indexing-status/ponder-metadata/zod-schemas.ts @@ -11,7 +11,7 @@ * into the ENSIndexer application data model (and its constraints). */ -import z from "zod/v4"; +import { z } from "zod/v4"; import type { ChainIdString, ChainIndexingStatusSnapshot } from "@ensnode/ensnode-sdk"; import { diff --git a/apps/ensindexer/src/lib/ponder-helpers.ts b/apps/ensindexer/src/lib/ponder-helpers.ts index d8e48527b..54eb2918a 100644 --- a/apps/ensindexer/src/lib/ponder-helpers.ts +++ b/apps/ensindexer/src/lib/ponder-helpers.ts @@ -7,7 +7,7 @@ import type { Event, EventNames } from "ponder:registry"; import type { ChainConfig } from "ponder"; import type { Address, PublicClient } from "viem"; -import * as z from "zod/v4"; +import { z } from "zod/v4"; import { type ContractConfig, diff --git a/packages/ens-referrals/src/api/zod-schemas.ts b/packages/ens-referrals/src/api/zod-schemas.ts index 66552ba15..d025ab1eb 100644 --- a/packages/ens-referrals/src/api/zod-schemas.ts +++ b/packages/ens-referrals/src/api/zod-schemas.ts @@ -7,7 +7,7 @@ * `./src/internal.ts` file. */ -import z from "zod/v4"; +import { z } from "zod/v4"; import { makeAccountIdSchema, diff --git a/packages/ensnode-sdk/src/api/indexing-status/zod-schemas.ts b/packages/ensnode-sdk/src/api/indexing-status/zod-schemas.ts index 4585a7123..407ae50ce 100644 --- a/packages/ensnode-sdk/src/api/indexing-status/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/indexing-status/zod-schemas.ts @@ -1,4 +1,4 @@ -import z from "zod/v4"; +import { z } from "zod/v4"; import { makeRealtimeIndexingStatusProjectionSchema } from "../../ensindexer/indexing-status/zod-schemas"; import { diff --git a/packages/ensnode-sdk/src/api/name-tokens/zod-schemas.ts b/packages/ensnode-sdk/src/api/name-tokens/zod-schemas.ts index 344f2d108..877b77781 100644 --- a/packages/ensnode-sdk/src/api/name-tokens/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/name-tokens/zod-schemas.ts @@ -1,5 +1,5 @@ import { namehash } from "viem"; -import z from "zod/v4"; +import { z } from "zod/v4"; import { makeNodeSchema, diff --git a/packages/ensnode-sdk/src/api/registrar-actions/zod-schemas.ts b/packages/ensnode-sdk/src/api/registrar-actions/zod-schemas.ts index bcb6b4d3c..df76f3877 100644 --- a/packages/ensnode-sdk/src/api/registrar-actions/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/registrar-actions/zod-schemas.ts @@ -1,5 +1,5 @@ import { namehash } from "viem/ens"; -import z from "zod/v4"; +import { z } from "zod/v4"; import type { ParsePayload } from "zod/v4/core"; import { makeRegistrarActionSchema } from "../../registrars/zod-schemas"; diff --git a/packages/ensnode-sdk/src/api/resolution/zod-schemas.ts b/packages/ensnode-sdk/src/api/resolution/zod-schemas.ts index 5beab7a42..e3efbec67 100644 --- a/packages/ensnode-sdk/src/api/resolution/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/resolution/zod-schemas.ts @@ -1,4 +1,4 @@ -import z from "zod/v4"; +import { z } from "zod/v4"; /** * Schema for resolver records response (addresses, texts, name) diff --git a/packages/ensnode-sdk/src/api/shared/errors/response.ts b/packages/ensnode-sdk/src/api/shared/errors/response.ts index 5fdc88c4b..20a7f1b22 100644 --- a/packages/ensnode-sdk/src/api/shared/errors/response.ts +++ b/packages/ensnode-sdk/src/api/shared/errors/response.ts @@ -1,4 +1,4 @@ -import type z from "zod/v4"; +import type { z } from "zod/v4"; import type { ErrorResponseSchema } from "./zod-schemas"; diff --git a/packages/ensnode-sdk/src/api/shared/errors/zod-schemas.ts b/packages/ensnode-sdk/src/api/shared/errors/zod-schemas.ts index 7d76a13df..bdaddfdd2 100644 --- a/packages/ensnode-sdk/src/api/shared/errors/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/shared/errors/zod-schemas.ts @@ -1,4 +1,4 @@ -import z from "zod/v4"; +import { z } from "zod/v4"; import type { ErrorResponse } from "./response"; diff --git a/packages/ensnode-sdk/src/api/shared/pagination/zod-schemas.ts b/packages/ensnode-sdk/src/api/shared/pagination/zod-schemas.ts index f1b852ac7..26dd78521 100644 --- a/packages/ensnode-sdk/src/api/shared/pagination/zod-schemas.ts +++ b/packages/ensnode-sdk/src/api/shared/pagination/zod-schemas.ts @@ -1,4 +1,4 @@ -import z from "zod/v4"; +import { z } from "zod/v4"; import type { ParsePayload } from "zod/v4/core"; import { diff --git a/packages/ensnode-sdk/src/tokenscope/zod-schemas.ts b/packages/ensnode-sdk/src/tokenscope/zod-schemas.ts index f17903841..b3f828d6e 100644 --- a/packages/ensnode-sdk/src/tokenscope/zod-schemas.ts +++ b/packages/ensnode-sdk/src/tokenscope/zod-schemas.ts @@ -1,6 +1,6 @@ import { AssetId as CaipAssetId } from "caip"; import { zeroAddress } from "viem"; -import z from "zod/v4"; +import { z } from "zod/v4"; import type { ParsePayload } from "zod/v4/core"; import { type AssetId, AssetNamespaces } from "../shared/types";