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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "4.2.0-canary.20251022T022243",
3
+ "version": "4.2.0-canary.20251106T212241",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Colin McDonnell <zod@colinhacks.com>",
@@ -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 of Object.keys(input)) {
1786
+ for (const key in input) {
1787
1787
  if (keySet.has(key)) continue;
1788
1788
  if (t === "never") {
1789
1789
  unrecognized.push(key);
@@ -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 of Object.keys(input)) {
761
+ for (const key in input) {
762
762
  if (keySet.has(key))
763
763
  continue;
764
764
  if (t === "never") {
@@ -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 of Object.keys(input)) {
730
+ for (const key in input) {
731
731
  if (keySet.has(key))
732
732
  continue;
733
733
  if (t === "never") {