diff --git a/eslint.config.mjs b/eslint.config.mjs index 956f95781..1b776695c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -300,7 +300,7 @@ export default [ 'n/no-unsupported-features/node-builtins': [ 'error', { - version: '^24', + version: '^22.20.0 || ^24', allowExperimental: true, ignores: [], }, diff --git a/package.json b/package.json index 9da21fca8..c829e984d 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@bbob/plugin-helper": "4.3.1", "@bbob/preset-html5": "4.3.1", "@hono/node-server": "1.19.6", - "@hono/zod-openapi": "0.19.10", + "@hono/zod-openapi": "1.1.4", "@notionhq/client": "5.4.0", "@opentelemetry/api": "1.9.0", "@opentelemetry/exporter-prometheus": "0.208.0", @@ -87,7 +87,7 @@ "header-generator": "2.1.77", "hono": "4.10.6", "html-to-text": "9.0.5", - "http-cookie-agent": "7.0.2", + "http-cookie-agent": "7.0.3", "https-proxy-agent": "7.0.6", "iconv-lite": "0.7.0", "imapflow": "1.1.1", @@ -127,7 +127,7 @@ "title": "4.0.1", "tldts": "7.0.17", "tosource": "2.0.0-alpha.3", - "tough-cookie": "5.1.2", + "tough-cookie": "6.0.0", "tsx": "4.20.6", "twitter-api-v2": "1.28.0", "ufo": "1.6.1", @@ -137,7 +137,7 @@ "xxhash-wasm": "1.1.0", "youtube-caption-extractor": "1.9.1", "youtubei.js": "16.0.1", - "zod": "3.25.76" + "zod": "4.1.12" }, "devDependencies": { "@babel/preset-env": "7.28.5", @@ -199,7 +199,7 @@ }, "packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c", "engines": { - "node": "^24" + "node": "^22.20.0 || ^24" }, "pnpm": { "onlyBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 816c6039a..fdfd190ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: 1.19.6 version: 1.19.6(hono@4.10.6) '@hono/zod-openapi': - specifier: 0.19.10 - version: 0.19.10(hono@4.10.6)(zod@3.25.76) + specifier: 1.1.4 + version: 1.1.4(hono@4.10.6)(zod@4.1.12) '@notionhq/client': specifier: 5.4.0 version: 5.4.0 @@ -127,8 +127,8 @@ importers: specifier: 9.0.5 version: 9.0.5 http-cookie-agent: - specifier: 7.0.2 - version: 7.0.2(tough-cookie@5.1.2)(undici@7.16.0) + specifier: 7.0.3 + version: 7.0.3(tough-cookie@6.0.0)(undici@7.16.0) https-proxy-agent: specifier: 7.0.6 version: 7.0.6 @@ -247,8 +247,8 @@ importers: specifier: 2.0.0-alpha.3 version: 2.0.0-alpha.3 tough-cookie: - specifier: 5.1.2 - version: 5.1.2 + specifier: 6.0.0 + version: 6.0.0 tsx: specifier: 4.20.6 version: 4.20.6 @@ -277,8 +277,8 @@ importers: specifier: 16.0.1 version: 16.0.1 zod: - specifier: 3.25.76 - version: 3.25.76 + specifier: 4.1.12 + version: 4.1.12 devDependencies: '@babel/preset-env': specifier: 7.28.5 @@ -473,10 +473,10 @@ packages: '@asamuzakjp/nwsapi@2.3.9': resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==} - '@asteasolutions/zod-to-openapi@7.3.4': - resolution: {integrity: sha512-/2rThQ5zPi9OzVwes6U7lK1+Yvug0iXu25olp7S0XsYmOqnyMfxH7gdSQjn/+DSOHRg7wnotwGJSyL+fBKdnEA==} + '@asteasolutions/zod-to-openapi@8.1.0': + resolution: {integrity: sha512-tQFxVs05J/6QXXqIzj6rTRk3nj1HFs4pe+uThwE95jL5II2JfpVXkK+CqkO7aT0Do5AYqO6LDrKpleLUFXgY+g==} peerDependencies: - zod: ^3.20.2 + zod: ^4.0.0 '@babel/code-frame@7.27.1': resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} @@ -1464,15 +1464,15 @@ packages: peerDependencies: hono: ^4 - '@hono/zod-openapi@0.19.10': - resolution: {integrity: sha512-dpoS6DenvoJyvxtQ7Kd633FRZ/Qf74+4+o9s+zZI8pEqnbjdF/DtxIib08WDpCaWabMEJOL5TXpMgNEZvb7hpA==} + '@hono/zod-openapi@1.1.4': + resolution: {integrity: sha512-4BbOtd6oKg20yo6HLluVbEycBLLIfdKX5o/gUSoKZ2uBmeP4Og/VDfIX3k9pbNEX5W3fRkuPeVjGA+zaQDVY1A==} engines: {node: '>=16.0.0'} peerDependencies: hono: '>=4.3.6' - zod: '>=3.0.0' + zod: ^4.0.0 - '@hono/zod-validator@0.7.2': - resolution: {integrity: sha512-ub5eL/NeZ4eLZawu78JpW/J+dugDAYhwqUIdp9KYScI6PZECij4Hx4UsrthlEUutqDDhPwRI0MscUfNkvn/mqQ==} + '@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 @@ -3957,11 +3957,11 @@ packages: http-cache-semantics@4.2.0: resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==} - http-cookie-agent@7.0.2: - resolution: {integrity: sha512-aHaES6SOFtnSlmWu0yEaaQvu+QexUG2gscSAvMhJ7auzW8r/jYOgGrzuAm9G9nHbksuhz7Lw4zOwDHmfQaxZvw==} + http-cookie-agent@7.0.3: + resolution: {integrity: sha512-EeZo7CGhfqPW6R006rJa4QtZZUpBygDa2HZH3DJqsTzTjyRE6foDBVQIv/pjVsxHC8z2GIdbB1Hvn9SRorP3WQ==} engines: {node: '>=20.0.0'} peerDependencies: - tough-cookie: ^4.0.0 || ^5.0.0 + tough-cookie: ^4.0.0 || ^5.0.0 || ^6.0.0 undici: ^7.0.0 peerDependenciesMeta: undici: @@ -5596,16 +5596,9 @@ packages: resolution: {integrity: sha512-QXqwfEl9ddlGBaRFXIvNKK6OhipSiLXuRuLJX5DErz0o0Q0rYxulWLdFryTkV5PkdZct5iMInwYEGe/eR++1AA==} hasBin: true - tldts-core@6.1.86: - resolution: {integrity: sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==} - tldts-core@7.0.17: resolution: {integrity: sha512-DieYoGrP78PWKsrXr8MZwtQ7GLCUeLxihtjC1jZsW1DnvSMdKPitJSe8OSYDM2u5H6g3kWJZpePqkp43TfLh0g==} - tldts@6.1.86: - resolution: {integrity: sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==} - hasBin: true - tldts@7.0.17: resolution: {integrity: sha512-Y1KQBgDd/NUc+LfOtKS6mNsC9CCaH+m2P1RoIZy7RAPo3C3/t8X45+zgut31cRZtZ3xKPjfn3TkGTrctC2TQIQ==} hasBin: true @@ -5635,10 +5628,6 @@ packages: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} - tough-cookie@5.1.2: - resolution: {integrity: sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==} - engines: {node: '>=16'} - tough-cookie@6.0.0: resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==} engines: {node: '>=16'} @@ -6204,6 +6193,9 @@ packages: zod@4.1.11: resolution: {integrity: sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==} + zod@4.1.12: + resolution: {integrity: sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==} + snapshots: '@acemir/cssom@0.9.23': {} @@ -6241,10 +6233,10 @@ snapshots: '@asamuzakjp/nwsapi@2.3.9': {} - '@asteasolutions/zod-to-openapi@7.3.4(zod@3.25.76)': + '@asteasolutions/zod-to-openapi@8.1.0(zod@4.1.12)': dependencies: openapi3-ts: 4.5.0 - zod: 3.25.76 + zod: 4.1.12 '@babel/code-frame@7.27.1': dependencies: @@ -7283,18 +7275,18 @@ snapshots: dependencies: hono: 4.10.6 - '@hono/zod-openapi@0.19.10(hono@4.10.6)(zod@3.25.76)': + '@hono/zod-openapi@1.1.4(hono@4.10.6)(zod@4.1.12)': dependencies: - '@asteasolutions/zod-to-openapi': 7.3.4(zod@3.25.76) - '@hono/zod-validator': 0.7.2(hono@4.10.6)(zod@3.25.76) + '@asteasolutions/zod-to-openapi': 8.1.0(zod@4.1.12) + '@hono/zod-validator': 0.7.4(hono@4.10.6)(zod@4.1.12) hono: 4.10.6 openapi3-ts: 4.5.0 - zod: 3.25.76 + zod: 4.1.12 - '@hono/zod-validator@0.7.2(hono@4.10.6)(zod@3.25.76)': + '@hono/zod-validator@0.7.4(hono@4.10.6)(zod@4.1.12)': dependencies: hono: 4.10.6 - zod: 3.25.76 + zod: 4.1.12 '@humanfs/core@0.19.1': {} @@ -10102,10 +10094,10 @@ snapshots: http-cache-semantics@4.2.0: {} - http-cookie-agent@7.0.2(tough-cookie@5.1.2)(undici@7.16.0): + http-cookie-agent@7.0.3(tough-cookie@6.0.0)(undici@7.16.0): dependencies: agent-base: 7.1.4 - tough-cookie: 5.1.2 + tough-cookie: 6.0.0 optionalDependencies: undici: 7.16.0 @@ -11949,14 +11941,8 @@ snapshots: tlds@1.261.0: {} - tldts-core@6.1.86: {} - tldts-core@7.0.17: {} - tldts@6.1.86: - dependencies: - tldts-core: 6.1.86 - tldts@7.0.17: dependencies: tldts-core: 7.0.17 @@ -11989,10 +11975,6 @@ snapshots: universalify: 0.2.0 url-parse: 1.5.10 - tough-cookie@5.1.2: - dependencies: - tldts: 6.1.86 - tough-cookie@6.0.0: dependencies: tldts: 7.0.17 @@ -12498,3 +12480,5 @@ snapshots: zod@3.25.76: {} zod@4.1.11: {} + + zod@4.1.12: {}