zod 4.2.0-canary.20251022T022243 → 4.2.0-canary.20251106T212241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/v4/core/schemas.ts +1 -1
- package/v4/core/schemas.cjs +1 -1
- package/v4/core/schemas.js +1 -1
package/package.json
CHANGED
package/src/v4/core/schemas.ts
CHANGED
|
@@ -1783,7 +1783,7 @@ function handleCatchall(
|
|
|
1783
1783
|
const keySet = def.keySet;
|
|
1784
1784
|
const _catchall = def.catchall!._zod;
|
|
1785
1785
|
const t = _catchall.def.type;
|
|
1786
|
-
for (const key
|
|
1786
|
+
for (const key in input) {
|
|
1787
1787
|
if (keySet.has(key)) continue;
|
|
1788
1788
|
if (t === "never") {
|
|
1789
1789
|
unrecognized.push(key);
|
package/v4/core/schemas.cjs
CHANGED
|
@@ -758,7 +758,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
758
758
|
const keySet = def.keySet;
|
|
759
759
|
const _catchall = def.catchall._zod;
|
|
760
760
|
const t = _catchall.def.type;
|
|
761
|
-
for (const key
|
|
761
|
+
for (const key in input) {
|
|
762
762
|
if (keySet.has(key))
|
|
763
763
|
continue;
|
|
764
764
|
if (t === "never") {
|
package/v4/core/schemas.js
CHANGED
|
@@ -727,7 +727,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
727
727
|
const keySet = def.keySet;
|
|
728
728
|
const _catchall = def.catchall._zod;
|
|
729
729
|
const t = _catchall.def.type;
|
|
730
|
-
for (const key
|
|
730
|
+
for (const key in input) {
|
|
731
731
|
if (keySet.has(key))
|
|
732
732
|
continue;
|
|
733
733
|
if (t === "never") {
|