Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

chore(deps): bump zod to 4.6.7 (#5383)

David Tippett989ee963c279
diff --git a/apps/api/package.json b/apps/api/package.json
index 74620a7fc..c3657fea0 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -153,7 +153,7 @@
"winston": "^3.14.2",
"ws": "^8.21.0",
"xml2js": "^0.6.2",
- "zod": "4.1.12"
+ "zod": "4.6.7"
},
"nodemonConfig": {
"ignore": [
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index 601a29c46..cc47cce17 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -6,6 +6,7 @@ settings:
injectWorkspacePackages: true
overrides:
+ zod@>=4.0.0 <4.6.6: 4.6.7
body-parser@<1.20.9: 1.20.9
body-parser@>=2.0.0 <2.4.0: 2.4.0
'@types/express': ^5.0.6
@@ -65,28 +66,28 @@ importers:
dependencies:
'@ai-sdk/anthropic':
specifier: ^3.0.84
- version: 3.0.84([email protected])
+ version: 3.0.84([email protected])
'@ai-sdk/deepinfra':
specifier: ^2.0.54
- version: 2.0.54([email protected])
+ version: 2.0.54([email protected])
'@ai-sdk/fireworks':
specifier: ^2.0.56
- version: 2.0.56([email protected])
+ version: 2.0.56([email protected])
'@ai-sdk/google':
specifier: ^3.0.29
- version: 3.0.52([email protected])
+ version: 3.0.52([email protected])
'@ai-sdk/google-vertex':
specifier: ^4.0.165
- version: 4.0.165([email protected])
+ version: 4.0.165([email protected])
'@ai-sdk/groq':
specifier: ^3.0.41
- version: 3.0.41([email protected])
+ version: 3.0.41([email protected])
'@ai-sdk/openai':
specifier: 3.0.124
- version: 3.0.124([email protected])
+ version: 3.0.124([email protected])
'@ai-sdk/xai':
specifier: ^3.0.83
- version: 3.0.83([email protected])
+ version: 3.0.83([email protected])
'@bull-board/api':
specifier: ^6.21.3
version: 6.21.3(@bull-board/[email protected])
@@ -113,7 +114,7 @@ importers:
version: link:native
'@openrouter/ai-sdk-provider':
specifier: ^2.9.1
'@opentelemetry/api':
specifier: ^1.9.1
version: 1.9.1
@@ -137,7 +138,7 @@ importers:
version: 0.7.0
ai:
specifier: 6.0.86
- version: 6.0.86([email protected])
+ version: 6.0.86([email protected])
ajv:
specifier: ^8.18.0
version: 8.18.0
@@ -182,7 +183,7 @@ importers:
version: 16.4.5
drizzle-orm:
specifier: 1.0.0-rc.3
- version: 1.0.0-rc.3(@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected])
+ version: 1.0.0-rc.3(@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected])
esbuild:
specifier: ^0.28.1
version: 0.28.1
@@ -242,7 +243,7 @@ importers:
version: 2.4.0
ollama-ai-provider-v2:
specifier: ^3.6.0
parse-diff:
specifier: ^0.11.1
version: 0.11.1
@@ -310,8 +311,8 @@ importers:
specifier: ^0.6.2
version: 0.6.2
zod:
- specifier: 4.1.12
- version: 4.1.12
+ specifier: 4.6.7
+ version: 4.6.7
devDependencies:
'@types/amqplib':
specifier: ^0.10.7
@@ -413,97 +414,97 @@ packages:
resolution: {integrity: sha512-BIDaHmCHs6Sr5VUsEkTbbVlAN4GWjg97X9x/IfXyviLtzsXvffui9XIcZugkAi1Ri6FnvI5T5qDGh5YLnSuzRg==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-JSHw0m15tXsdZWaV64UOjbHFKHGsPVUi9jYApNaz2QOBm987vl+l9aUFnlN1OWmFvDNMIhAPVOYRsFwjK0by/w==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-UM2R9U/gXRgk16Onngj71c/BGe4tm2Q2K2fdjM5eiMWF9Thns5xRe99GcYDXSMnIW42ke/RDfoB2GBUPa+fN3w==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-fzgsoDFC+9LAUZaeIToeGpJ9ridPwqUjFYKT2QpXx6p/WnaQE7yHQyoifJ6MuP/rlDbNt/DK1UQWsAkOtcTk1w==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-zH1UbNRjG5woOXXFOrVCZraqZuFTtmPvLardMGcgLkzpxKV0U3tAGoyWKSZ862H+eBJfI/Hf2yj/zzGJcCkycg==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-+OHljO+nZD7b75uc+g1GjaVyV4kh+tQztegnbHlv245qeKR9zryT5lZzukyYvLZAL0/pnFYbFLiZiaUv3d3b+g==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-HiFB4VlHnv55k9xIbgQW9tHw5OsLXzbAghnDUqrnk/S94QpQuyrDwLSDsk/tUkxJeT00B+wvhL1y6/SARdLeXw==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-cMs/rLR7UMhKwdtG7G+wUPeX05VAz9Oij639xVPIHnGuovEN28W7WQOGnMnmdrXMA0IwZgZhrnGMwivLQ9nZAA==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-J3zWdzUdSgE2B8e70i/4b5TGEzDc2Z2xN18AKUs9XCzPF7k6WHyaCCahDUB7JIhRN8Q2nWJ+LQQthl144vq9fg==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-kNAGINk71AlOXx10Dq/PXw4t/9XjdK8uxfpVElRwtSFMdeSiLVt58p9TPx4/FJD+hxZuVhvxYj9r42osxWq79g==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-HyuxddF2Yv5G8qxK/0uksAINjQ4h6TpwOqHuqzsCM0u78/JWAW2OXcIplQeB44PIAORgPjbMzrw9DhnPYHMskA==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-lRe54zvyIS1a60N8UVhnwKZRI5I+GSV8uhKkPpId+aiKO7z7UgSbNqFmXkBBMD3yc9UrLnQnATV2EQyXNhzEkA==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-7DpRUPXzJ+S6XasEJBojzFCs04J3rNPs0FZFF3PEeix49IggZAwsMrqscUwB/+05+87r01SS/jeopQGOOL4AEQ==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-OL5IrpUm9Y8Dwy+w/vvFwPotS6m52O9W0op2oXgXdCROMJIBalBI0oro6OIBYkPxvm5Xg02GSkoQN25RlR0bnw==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-ukLTs9x1Xm6lxSIwbJIxYQxbZHmVeIczNntARZrBcOa6pjdBhqeZnATNnJMHa7M9dZ8Ji5NJbpKpvz7o5XyBtg==}
engines: {node: '>=18.17'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-89a7sPvZqXsP3PigcAQLWntu/duIVEcN/RyChAB+j6p3C7NwW767sVttvL8r0+BetTg63uAXQoYHCZZueQKBSw==}
engines: {node: '>=18.17'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-Q3BZ27qfpYqnCYGvE3vt+Qi6LGOF9R5Nmzn+9JoM1lCRsD9mYaIhfJLkSunN48nfGXJ6n+XNV0J/XVpqGQl7Dw==}
@@ -529,7 +530,7 @@ packages:
resolution: {integrity: sha512-SuQz68BZGeuZjrSUJAzku97IlhdiNJJBsvG/Tvm3K2tuxkBS7TJq0fH4/AzAM7w2H2jxVUgboP7kRR6IfpRxcg==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
'@asamuzakjp/[email protected]':
resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==}
@@ -1493,7 +1494,7 @@ packages:
engines: {node: '>=18'}
peerDependencies:
ai: ^6.0.0
- zod: ^3.25.0 || ^4.0.0
+ zod: 4.6.7
'@opentelemetry/[email protected]':
resolution: {integrity: sha512-9mb1If+IF6u0ZVXkHQ6ogEae5HwA6ajIVUgpSDQyRASxft6BSXHvBvPooRle3yFN/fKnCdSOnuu0OC3PLcF6+g==}
@@ -2328,7 +2329,7 @@ packages:
resolution: {integrity: sha512-U2W2LBCHA/pr0Ui7vmmsjBiLEzBbZF3yVHNy7Rbzn7IX+SvoQPFM5rN74hhfVzZoE8zBuGD4nLLk+j0elGacvQ==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.25.76 || ^4.1.8
+ zod: 4.6.7
resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
@@ -2782,7 +2783,7 @@ packages:
sqlite3: '>=5'
typebox: '>=1.0.0'
valibot: '>=1.0.0-beta.7'
- zod: ^3.25.0 || ^4.0.0
+ zod: 4.6.7
peerDependenciesMeta:
'@aws-sdk/client-rds-data':
optional: true
@@ -3803,7 +3804,7 @@ packages:
engines: {node: '>=20'}
peerDependencies:
ai: ^5.0.0 || ^6.0.0
- zod: ^4.0.16
+ zod: 4.6.7
resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}
@@ -4783,123 +4784,120 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==}
-
- resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==}
+ resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
snapshots:
dependencies:
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.14
- '@ai-sdk/provider-utils': 4.0.40([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.40([email protected])
+ zod: 4.6.7
dependencies:
- '@ai-sdk/openai-compatible': 2.0.50([email protected])
+ '@ai-sdk/openai-compatible': 2.0.50([email protected])
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
- '@ai-sdk/openai-compatible': 2.0.50([email protected])
+ '@ai-sdk/openai-compatible': 2.0.50([email protected])
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.8
- '@ai-sdk/provider-utils': 4.0.51([email protected])
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
'@vercel/oidc': 3.1.0
- zod: 4.1.12
+ zod: 4.6.7
dependencies:
- '@ai-sdk/anthropic': 3.0.98([email protected])
- '@ai-sdk/google': 3.0.96([email protected])
- '@ai-sdk/openai-compatible': 2.0.62([email protected])
+ '@ai-sdk/anthropic': 3.0.98([email protected])
+ '@ai-sdk/google': 3.0.96([email protected])
+ '@ai-sdk/openai-compatible': 2.0.62([email protected])
'@ai-sdk/provider': 3.0.14
- '@ai-sdk/provider-utils': 4.0.40([email protected])
+ '@ai-sdk/provider-utils': 4.0.40([email protected])
google-auth-library: 10.5.0
- zod: 4.1.12
+ zod: 4.6.7
transitivePeerDependencies:
- supports-color
dependencies:
'@ai-sdk/provider': 3.0.8
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.14
- '@ai-sdk/provider-utils': 4.0.40([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.40([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.8
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.14
- '@ai-sdk/provider-utils': 4.0.40([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.40([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.18
- '@ai-sdk/provider-utils': 4.0.57([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.57([email protected])
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.14
'@standard-schema/spec': 1.1.0
eventsource-parser: 3.1.0
- zod: 4.1.12
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.16
'@standard-schema/spec': 1.1.0
eventsource-parser: 3.1.0
undici: 7.30.1
- zod: 4.1.12
+ zod: 4.6.7
dependencies:
'@ai-sdk/provider': 3.0.18
'@standard-schema/spec': 1.1.0
eventsource-parser: 3.1.0
undici: 7.30.1
- zod: 4.1.12
+ zod: 4.6.7
'@ai-sdk/[email protected]':
dependencies:
@@ -4921,12 +4919,12 @@ snapshots:
dependencies:
json-schema: 0.4.0
dependencies:
- '@ai-sdk/openai-compatible': 2.0.41([email protected])
+ '@ai-sdk/openai-compatible': 2.0.41([email protected])
'@ai-sdk/provider': 3.0.8
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ zod: 4.6.7
'@asamuzakjp/[email protected]':
dependencies:
@@ -5787,10 +5785,10 @@ snapshots:
'@one-ini/[email protected]': {}
dependencies:
- ai: 6.0.86([email protected])
- zod: 4.1.12
+ ai: 6.0.86([email protected])
+ zod: 4.6.7
'@opentelemetry/[email protected]':
dependencies:
@@ -6406,13 +6404,13 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 3.0.46([email protected])
+ '@ai-sdk/gateway': 3.0.46([email protected])
'@ai-sdk/provider': 3.0.8
- '@ai-sdk/provider-utils': 4.0.51([email protected])
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
'@opentelemetry/api': 1.9.0
- zod: 4.1.12
+ zod: 4.6.7
optionalDependencies:
@@ -6478,7 +6476,7 @@ snapshots:
dependencies:
query-string: 9.5.0
rou3: 0.6.3
- zod: 4.1.12
+ zod: 4.6.7
optionalDependencies:
express: 5.2.1
react: 18.3.1
@@ -6805,12 +6803,12 @@ snapshots:
optionalDependencies:
'@opentelemetry/api': 1.9.1
'@types/pg': 8.15.5
pg: 8.16.3
- zod: 4.1.12
+ zod: 4.6.7
dependencies:
@@ -7558,7 +7556,7 @@ snapshots:
tinyglobby: 0.2.17
unbash: 4.0.12
yaml: 2.9.1
- zod: 4.6.5
+ zod: 4.6.7
@@ -7827,12 +7825,12 @@ snapshots:
dependencies:
'@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.51([email protected])
- ai: 6.0.86([email protected])
- zod: 4.1.12
+ '@ai-sdk/provider-utils': 4.0.51([email protected])
+ ai: 6.0.86([email protected])
+ zod: 4.6.7
dependencies:
@@ -8828,6 +8826,4 @@ snapshots:
-
diff --git a/apps/api/pnpm-workspace.yaml b/apps/api/pnpm-workspace.yaml
index 50809402d..d2f50d867 100644
--- a/apps/api/pnpm-workspace.yaml
+++ b/apps/api/pnpm-workspace.yaml
@@ -16,6 +16,8 @@ minimumReleaseAgeExclude:
- "@typescript/typescript6"
- "@typescript/typescript-*"
overrides:
+ # GHSA-mrhx-c7xc-m3w5: fixed in 4.6.6. Bounded <5.0.0; cannot resolve to 5.x.
+ "zod@>=4.0.0 <4.6.6": "4.6.7"
# GHSA-27r3-jxmh-p828: Express 5.2.1 also loads body-parser 2.x.
"body-parser@<1.20.9": "1.20.9"
"body-parser@>=2.0.0 <2.4.0": "2.4.0"
diff --git a/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts b/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts
index 8e489bdae..61ad74211 100644
--- a/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts
+++ b/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts
@@ -42,7 +42,9 @@ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(
expect(response.statusCode).toBe(400);
expect(response.body.success).toBe(false);
- expect(response.body.error).toBe("Bad Request");
+ expect(response.body.error).toBe(
+ "Unrecognized key in body -- please review the v2 API documentation for request body changes",
+ );
},
scrapeTimeout,
);
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index 2a20a0032..302cfcba2 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -359,7 +359,7 @@ const actionSchema = z.union([
}),
z.object({
type: z.literal("scroll"),
- direction: z.enum(["up", "down"]).optional().prefault("down"),
+ direction: z.enum(["up", "down"]).prefault("down"),
selector: z.string().optional(),
}),
z.object({
@@ -461,7 +461,6 @@ const baseScrapeOptions = z.strictObject({
"menu",
])
.array()
- .optional()
.prefault(["markdown"])
.refine(
x => !(x.includes("screenshot") && x.includes("screenshot@fullPage")),
@@ -519,7 +518,7 @@ const baseScrapeOptions = z.strictObject({
message: OPENAI_SCHEMA_ERROR_MESSAGE,
})
.superRefine(addStrictSchemaIssue),
- modes: z.enum(["json", "git-diff"]).array().optional().prefault([]),
+ modes: z.enum(["json", "git-diff"]).array().prefault([]),
tag: z.string().or(z.null()).prefault(null),
})
.optional(),
@@ -785,7 +784,7 @@ const extractV1Options = z
scrapeOptions: baseScrapeOptions
.prefault({ onlyMainContent: false })
.optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
urlTrace: z.boolean().prefault(false),
timeout: z.int().positive().min(1000).prefault(60000),
@@ -849,7 +848,7 @@ const scrapeRequestSchemaBase = baseScrapeOptions
.optional(),
extract: extractOptionsWithAgent.optional(),
jsonOptions: extractOptionsWithAgent.optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
timeout: z.int().positive().min(1000).prefault(30000),
zeroDataRetention: z.boolean().optional(),
@@ -869,7 +868,7 @@ export type ScrapeRequestInput = z.input<typeof scrapeRequestSchema>;
const batchScrapeRequestSchemaBase = baseScrapeOptions.extend({
urls: url.array().min(1),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
webhook: webhookSchema.optional(),
appendToId: z.uuid().optional(),
@@ -887,7 +886,7 @@ export const batchScrapeRequestSchema = batchScrapeRequestSchemaBase
const batchScrapeRequestSchemaNoURLValidationBase = baseScrapeOptions.extend({
urls: z.string().array().min(1),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
webhook: webhookSchema.optional(),
appendToId: z.uuid().optional(),
@@ -947,7 +946,7 @@ type CrawlerOptions = z.infer<typeof crawlerOptions>;
const crawlRequestSchemaBase = crawlerOptions.extend({
url,
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
scrapeOptions: baseScrapeOptions.prefault(() => baseScrapeOptions.parse({})),
webhook: webhookSchema.optional(),
@@ -1020,7 +1019,7 @@ const mapRequestSchemaBase = crawlerOptions
.omit({ ignoreQueryParameters: true })
.extend({
url,
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
includeSubdomains: z.boolean().prefault(true),
search: z.string().optional(),
@@ -1650,16 +1649,16 @@ export function toLegacyDocument(
export const searchRequestSchema = z
.strictObject({
query: z.string(),
- limit: z.int().positive().finite().max(100).optional().prefault(5),
+ limit: z.int().positive().finite().max(100).prefault(5),
tbs: z.string().optional(),
filter: z.string().optional(),
- lang: z.string().optional().prefault("en"),
+ lang: z.string().prefault("en"),
country: z.string().optional(),
location: z.string().optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
timeout: z.int().positive().finite().prefault(60000),
- ignoreInvalidURLs: z.boolean().optional().prefault(false),
+ ignoreInvalidURLs: z.boolean().prefault(false),
__searchPreviewToken: z.string().optional(),
threatProtection: threatProtectionOverrideSchema.optional(),
scrapeOptions: baseScrapeOptions
diff --git a/apps/api/src/controllers/v2/f-search.ts b/apps/api/src/controllers/v2/f-search.ts
index 23cc3c8ba..434b3e63f 100644
--- a/apps/api/src/controllers/v2/f-search.ts
+++ b/apps/api/src/controllers/v2/f-search.ts
@@ -11,12 +11,9 @@ import {
// Validation schemas
const searchRequestSchema = z.object({
query: z.string().min(1).max(500),
- limit: z.int().min(1).max(100).optional().prefault(50),
- offset: z.int().min(0).optional().prefault(0),
- mode: z
- .enum(["hybrid", "keyword", "semantic", "bm25"])
- .optional()
- .prefault("hybrid"),
+ limit: z.int().min(1).max(100).prefault(50),
+ offset: z.int().min(0).prefault(0),
+ mode: z.enum(["hybrid", "keyword", "semantic", "bm25"]).prefault("hybrid"),
filters: z
.object({
domain: z.string().optional(),
@@ -25,18 +22,16 @@ const searchRequestSchema = z.object({
minFreshness: z.number().min(0).max(1).optional(),
language: z.string().optional(),
})
- .optional()
.prefault({}),
});
const searchChunksRequestSchema = z.object({
query: z.string().min(1).max(500),
- limit: z.int().min(1).max(50).optional().prefault(20),
+ limit: z.int().min(1).max(50).prefault(20),
filters: z
.object({
domain: z.string().optional(),
})
- .optional()
.prefault({}),
});
diff --git a/apps/api/src/controllers/v2/types.ts b/apps/api/src/controllers/v2/types.ts
index ef554b1b1..4391f036b 100644
--- a/apps/api/src/controllers/v2/types.ts
+++ b/apps/api/src/controllers/v2/types.ts
@@ -311,7 +311,7 @@ const actionSchema = z.union([
}),
z.object({
type: z.literal("scroll"),
- direction: z.enum(["up", "down"]).optional().prefault("down"),
+ direction: z.enum(["up", "down"]).prefault("down"),
selector: z.string().optional(),
}),
z.object({
@@ -413,7 +413,7 @@ const changeTrackingFormatWithOptions = z.strictObject({
message: OPENAI_SCHEMA_ERROR_MESSAGE,
})
.superRefine(addStrictSchemaIssue),
- modes: z.enum(["json", "git-diff"]).array().optional().prefault([]),
+ modes: z.enum(["json", "git-diff"]).array().prefault([]),
tag: z.string().or(z.null()).prefault(null),
});
@@ -814,7 +814,6 @@ const scrapeOptionFields = z.strictObject({
z.strictObject({ type: z.literal("video") }),
])
.array()
- .optional()
.prefault([{ type: "markdown" }]),
)
.refine(x => {
@@ -1089,7 +1088,7 @@ const extractOptions = z
allowExternalLinks: z.boolean().prefault(false),
enableWebSearch: z.boolean().prefault(false),
scrapeOptions: baseScrapeOptions.optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
urlTrace: z.boolean().prefault(false),
timeout: z.int().positive().min(1000).optional(),
@@ -1194,7 +1193,7 @@ export const agentRequestSchema = z
});
}
}),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
maxCredits: z.number().optional(),
strictConstrainToURLs: z.boolean().optional(),
@@ -1228,7 +1227,7 @@ export type AgentRequest = z.infer<typeof agentRequestSchema>;
const scrapeRequestSchemaBase = baseScrapeOptions.safeExtend({
url: URL,
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
zeroDataRetention: z.boolean().optional(),
domainTools: z.boolean().optional(),
@@ -1287,7 +1286,7 @@ const uploadedParseFileSchema = z.custom<UploadedParseFile>(
);
const parseRequestSchemaBase = baseScrapeOptions.safeExtend({
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
zeroDataRetention: z.boolean().optional(),
__agentInterop: z
@@ -1320,7 +1319,7 @@ export type ParseRequestInput = z.input<typeof parseRequestSchemaBase>;
const batchScrapeRequestSchemaBase = baseScrapeOptions.safeExtend({
urls: URL.array().min(1),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
webhook: webhookSchema.optional(),
appendToId: z.uuid().optional(),
@@ -1345,7 +1344,7 @@ export const batchScrapeRequestSchema = strictWithMessage(
const batchScrapeRequestSchemaNoURLValidationBase =
baseScrapeOptions.safeExtend({
urls: z.string().array().min(1),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
webhook: webhookSchema.optional(),
appendToId: z.uuid().optional(),
@@ -1424,7 +1423,7 @@ type CrawlerOptions = z.infer<typeof crawlerOptions>;
const crawlRequestSchemaBase = crawlerOptions.extend({
url: URL,
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
scrapeOptions: baseScrapeOptions.prefault(() => baseScrapeOptions.parse({})),
webhook: webhookSchema.optional(),
@@ -1469,7 +1468,7 @@ const mapRequestSchemaBase = crawlerOptions
.omit({ sitemap: true, ignoreQueryParameters: true })
.extend({
url: URL,
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
includeSubdomains: z.boolean().prefault(true),
ignoreQueryParameters: z.boolean().prefault(true),
@@ -2586,7 +2585,7 @@ const searchDomainSchema = z
export const searchRequestSchema = z
.strictObject({
query: z.string(),
- limit: z.int().positive().finite().max(100).optional().prefault(10),
+ limit: z.int().positive().finite().max(100).prefault(10),
tbs: z.string().optional(),
filter: z.string().optional(),
sources: z
@@ -2605,7 +2604,6 @@ export const searchRequestSchema = z
]),
),
])
- .optional()
.prefault(["web"]),
categories: z
.preprocess(
@@ -2626,16 +2624,16 @@ export const searchRequestSchema = z
.optional(),
includeDomains: z.array(searchDomainSchema).optional(),
excludeDomains: z.array(searchDomainSchema).optional(),
- lang: z.string().optional().prefault("en"),
+ lang: z.string().prefault("en"),
safe: z.boolean().optional(),
enterprise: z.array(z.enum(["default", "anon", "zdr"])).optional(),
country: z.string().optional(),
location: z.string().optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
timeout: z.int().positive().finite().prefault(60000),
- ignoreInvalidURLs: z.boolean().optional().prefault(false),
- asyncScraping: z.boolean().optional().prefault(false),
+ ignoreInvalidURLs: z.boolean().prefault(false),
+ asyncScraping: z.boolean().prefault(false),
// Replace each result's snippet with query-relevant highlights pulled from
// our index. When omitted, the caller integration and rollout cohort decide
// whether generated highlights are returned or only run in shadow mode.
@@ -2674,7 +2672,6 @@ export const searchRequestSchema = z
screenshotFormatWithOptions,
])
.array()
- .optional()
.prefault([]),
)
.refine(x => {
@@ -2922,7 +2919,7 @@ export const searchFeedbackSchema = z
valuableResults: valuableResultsSchema.optional(),
missingContent: z.array(missingContentEntrySchema).max(20).optional(),
querySuggestions: z.string().trim().max(2000).optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
})
.refine(data => hasSubstantiveSearchFeedback(data), {
@@ -3014,7 +3011,7 @@ export const endpointFeedbackSchema = z
url: searchFeedbackUrlSchema.optional(),
pageNumbers: z.array(z.number().int().positive()).max(100).optional(),
metadata: feedbackMetadataSchema.optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
integration: integrationSchema.optional().transform(val => val || null),
})
.refine(
diff --git a/apps/api/src/services/monitoring/types.ts b/apps/api/src/services/monitoring/types.ts
index c4574a2a9..341a19a47 100644
--- a/apps/api/src/services/monitoring/types.ts
+++ b/apps/api/src/services/monitoring/types.ts
@@ -197,7 +197,7 @@ const createMonitorBaseSchema = z.strictObject({
retentionDays: z.number().int().positive().max(365).optional().default(30),
goal: z.string().max(2000).nullish(),
judgeEnabled: z.boolean().optional(),
- origin: z.string().optional().prefault("api"),
+ origin: z.string().prefault("api"),
});
function requireGoalForSearchTargets(
diff --git a/apps/js-sdk/firecrawl/package.json b/apps/js-sdk/firecrawl/package.json
index e74f3ba42..2d1be2b02 100644
--- a/apps/js-sdk/firecrawl/package.json
+++ b/apps/js-sdk/firecrawl/package.json
@@ -29,8 +29,8 @@
"axios": "1.20.0",
"firecrawl": "4.49.1",
"typescript-event-target": "^1.1.1",
- "zod": "^3.23.8",
- "zod-to-json-schema": "^3.23.0"
+ "zod": "^3.25.28 || ^4.6.6",
+ "zod-to-json-schema": "^3.25.2"
},
"bugs": {
"url": "https://github.com/firecrawl/firecrawl/issues"
diff --git a/apps/js-sdk/firecrawl/pnpm-lock.yaml b/apps/js-sdk/firecrawl/pnpm-lock.yaml
index c83cfe51f..70ada078a 100644
--- a/apps/js-sdk/firecrawl/pnpm-lock.yaml
+++ b/apps/js-sdk/firecrawl/pnpm-lock.yaml
@@ -5,6 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ zod@<4.6.6: 4.6.7
'@isaacs/brace-expansion@<=5.0.0': '>=5.0.1'
minimatch@<10.2.3: '>=10.2.3'
rollup@<4.59.0: '>=4.59.0'
@@ -29,11 +30,11 @@ importers:
specifier: ^1.1.1
version: 1.1.1
zod:
- specifier: ^3.23.8
- version: 3.25.76
+ specifier: 4.6.7
+ version: 4.6.7
zod-to-json-schema:
- specifier: ^3.23.0
- version: 3.24.6([email protected])
+ specifier: ^3.25.2
+ version: 3.25.2([email protected])
devDependencies:
'@types/dotenv':
specifier: ^8.2.0
@@ -1248,10 +1249,15 @@ packages:
resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==}
peerDependencies:
- zod: ^3.24.1
+ zod: 4.6.7
- resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
+ resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}
+ peerDependencies:
+ zod: 4.6.7
+
+ resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
snapshots:
@@ -1715,8 +1721,8 @@ snapshots:
dependencies:
axios: 1.20.0
typescript-event-target: 1.1.1
- zod: 3.25.76
- zod-to-json-schema: 3.24.6([email protected])
+ zod: 4.6.7
+ zod-to-json-schema: 3.24.6([email protected])
transitivePeerDependencies:
- debug
- supports-color
@@ -2194,8 +2200,12 @@ snapshots:
string-width: 5.1.2
strip-ansi: 7.1.2
+ dependencies:
+ zod: 4.6.7
+
dependencies:
- zod: 3.25.76
+ zod: 4.6.7
diff --git a/apps/js-sdk/firecrawl/pnpm-workspace.yaml b/apps/js-sdk/firecrawl/pnpm-workspace.yaml
index 9fc00710d..0ea5cee08 100644
--- a/apps/js-sdk/firecrawl/pnpm-workspace.yaml
+++ b/apps/js-sdk/firecrawl/pnpm-workspace.yaml
@@ -4,6 +4,9 @@ minimumReleaseAge: 4320 # 3 days
minimumReleaseAgeExclude:
- firecrawl
overrides:
+ # GHSA-mrhx-c7xc-m3w5: every zod <4.6.6 is affected, 3.x included, and 3.x has no
+ # fixed release. The published firecrawl dependency only uses zod for types.
+ "zod@<4.6.6": "4.6.7"
"@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
"minimatch@<10.2.3": ">=10.2.3"
"rollup@<4.59.0": ">=4.59.0"
diff --git a/apps/js-sdk/firecrawl/src/utils/zodSchemaToJson.ts b/apps/js-sdk/firecrawl/src/utils/zodSchemaToJson.ts
index 8f1dc70e2..3e71b4717 100644
--- a/apps/js-sdk/firecrawl/src/utils/zodSchemaToJson.ts
+++ b/apps/js-sdk/firecrawl/src/utils/zodSchemaToJson.ts
@@ -1,6 +1,7 @@
+import * as zod from "zod";
import { zodToJsonSchema as zodToJsonSchemaLib } from "zod-to-json-schema";
-type SchemaConverter = (schema: unknown) => unknown;
+type SchemaConverter = (schema: unknown, params?: { target?: string }) => unknown;
export function isZodSchema(value: unknown): boolean {
if (!value || typeof value !== "object") return false;
@@ -25,9 +26,9 @@ function tryZodV4Conversion(schema: unknown): Record<string, unknown> | null {
if (!isZodV4Schema(schema)) return null;
try {
- const zodModule = (schema as Record<string, unknown>).constructor?.prototype?.constructor;
- if (zodModule && typeof (zodModule as Record<string, unknown>).toJSONSchema === "function") {
- return (zodModule as { toJSONSchema: SchemaConverter }).toJSONSchema(schema) as Record<string, unknown>;
+ const toJSONSchema = (zod as Record<string, unknown>).toJSONSchema;
+ if (typeof toJSONSchema === "function") {
+ return (toJSONSchema as SchemaConverter)(schema, { target: "draft-07" }) as Record<string, unknown>;
}
} catch {
// V4 conversion not available
diff --git a/apps/js-sdk/firecrawl/src/v1/index.ts b/apps/js-sdk/firecrawl/src/v1/index.ts
index 02f56d7d2..f4bdc3af9 100644
--- a/apps/js-sdk/firecrawl/src/v1/index.ts
+++ b/apps/js-sdk/firecrawl/src/v1/index.ts
@@ -370,7 +370,7 @@ export interface ExtractParams<LLMSchema extends zt.ZodSchema = any> {
* Response interface for extracting information from URLs.
* Defines the structure of the response received after extracting information from URLs.
*/
-export interface ExtractResponse<LLMSchema extends zt.ZodSchema = any> {
+export interface ExtractResponse<LLMSchema = any> {
success: boolean;
data: LLMSchema;
error?: string;
diff --git a/apps/js-sdk/package.json b/apps/js-sdk/package.json
index 9b09843dc..8029b1e49 100644
--- a/apps/js-sdk/package.json
+++ b/apps/js-sdk/package.json
@@ -14,7 +14,7 @@
"axios": "^1.20.0",
"firecrawl": "^4.3.4",
"uuid": "^14.0.0",
- "zod": "^3.23.8"
+ "zod": "^4.6.7"
},
"devDependencies": {
"@types/node": "^24.3.0",
diff --git a/apps/js-sdk/pnpm-lock.yaml b/apps/js-sdk/pnpm-lock.yaml
index ec735e972..0da3116cb 100644
--- a/apps/js-sdk/pnpm-lock.yaml
+++ b/apps/js-sdk/pnpm-lock.yaml
@@ -5,6 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ zod@<4.6.6: 4.6.7
axios@>=1.0.0 <1.20.0: 1.20.0
diff@>=4.0.0 <4.0.4: '>=4.0.4 <5.0.0'
follow-redirects@<1.16.1: '>=1.16.1 <2.0.0'
@@ -25,8 +26,8 @@ importers:
specifier: ^14.0.0
version: 14.0.0
zod:
- specifier: ^3.23.8
- version: 3.25.76
+ specifier: ^4.6.7
+ version: 4.6.7
devDependencies:
'@types/node':
specifier: ^24.3.0
@@ -428,10 +429,10 @@ packages:
resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==}
peerDependencies:
- zod: ^3.24.1
+ zod: 4.6.7
- resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
+ resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
snapshots:
@@ -637,8 +638,8 @@ snapshots:
dependencies:
axios: 1.20.0
typescript-event-target: 1.1.1
- zod: 3.25.76
- zod-to-json-schema: 3.24.6([email protected])
+ zod: 4.6.7
+ zod-to-json-schema: 3.24.6([email protected])
transitivePeerDependencies:
- debug
- supports-color
@@ -752,8 +753,8 @@ snapshots:
dependencies:
- zod: 3.25.76
+ zod: 4.6.7
diff --git a/apps/js-sdk/pnpm-workspace.yaml b/apps/js-sdk/pnpm-workspace.yaml
index 708f86545..ef097c8d2 100644
--- a/apps/js-sdk/pnpm-workspace.yaml
+++ b/apps/js-sdk/pnpm-workspace.yaml
@@ -1,6 +1,9 @@
allowBuilds:
esbuild: true
overrides:
+ # GHSA-mrhx-c7xc-m3w5: every zod <4.6.6 is affected, 3.x included, and 3.x has no
+ # fixed release. The published firecrawl dependency only uses zod for types.
+ "zod@<4.6.6": "4.6.7"
# GHSA-vh66-26gq-q6x8 / GHSA-9fr6-4gfg-395g / GHSA-c29m-xwm3-cm6r /
# GHSA-mghh-pgcx-3jjj / GHSA-x97p-jq2g-jp4f / GHSA-3pq3-5fj3-cg6v /
# GHSA-542g-h47m-68v8 / GHSA-j8rh-479h-cp32 / GHSA-4hqw-qxg8-jxx2 /
diff --git a/apps/test-site/pnpm-lock.yaml b/apps/test-site/pnpm-lock.yaml
index 09576b314..c7de46fe7 100644
--- a/apps/test-site/pnpm-lock.yaml
+++ b/apps/test-site/pnpm-lock.yaml
@@ -5,6 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ zod@>=4.0.0 <4.6.6: 4.6.7
fast-xml-builder: '>=1.1.6 <2.0.0'
vite@>=8.0.0 <8.1.6: 8.1.6
fast-xml-parser: ^5.7.0
@@ -1920,12 +1921,6 @@ packages:
resolution: {integrity: sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==}
engines: {node: '>=12.20'}
- resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==}
-
- resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
-
resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
@@ -2073,13 +2068,13 @@ snapshots:
dependencies:
fast-xml-parser: 5.7.1
piccolore: 0.1.3
- zod: 4.4.3
+ zod: 4.6.7
'@astrojs/[email protected]':
dependencies:
sitemap: 9.0.1
stream-replace-string: 2.0.0
- zod: 4.3.6
+ zod: 4.6.7
'@astrojs/[email protected]':
dependencies:
@@ -4169,10 +4164,6 @@ snapshots:
-
-
diff --git a/apps/test-site/pnpm-workspace.yaml b/apps/test-site/pnpm-workspace.yaml
index 9b01404c6..0e9e9f7ad 100644
--- a/apps/test-site/pnpm-workspace.yaml
+++ b/apps/test-site/pnpm-workspace.yaml
@@ -2,6 +2,8 @@ allowBuilds:
esbuild: true
sharp: true
overrides:
+ # GHSA-mrhx-c7xc-m3w5: fixed in 4.6.6. Bounded <5.0.0; cannot resolve to 5.x.
+ "zod@>=4.0.0 <4.6.6": "4.6.7"
fast-xml-builder: ">=1.1.6 <2.0.0"
# GHSA-698v-4r3x-3vcv: pin the 8.0 and 8.1 lines to 8.1.6. Cannot resolve to 8.2+.
"vite@>=8.0.0 <8.1.6": "8.1.6"