zod 4.3.0-canary.20251216T031750 → 4.3.0-canary.20251216T031837
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/checks.ts +6 -0
- package/v4/core/checks.cjs +6 -0
- package/v4/core/checks.js +6 -0
package/package.json
CHANGED
package/src/v4/core/checks.ts
CHANGED
|
@@ -323,6 +323,7 @@ export const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat> = /
|
|
|
323
323
|
note: "Integers must be within the safe integer range.",
|
|
324
324
|
inst,
|
|
325
325
|
origin,
|
|
326
|
+
inclusive: true,
|
|
326
327
|
continue: !def.abort,
|
|
327
328
|
});
|
|
328
329
|
} else {
|
|
@@ -334,6 +335,7 @@ export const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat> = /
|
|
|
334
335
|
note: "Integers must be within the safe integer range.",
|
|
335
336
|
inst,
|
|
336
337
|
origin,
|
|
338
|
+
inclusive: true,
|
|
337
339
|
continue: !def.abort,
|
|
338
340
|
});
|
|
339
341
|
}
|
|
@@ -360,7 +362,9 @@ export const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat> = /
|
|
|
360
362
|
input,
|
|
361
363
|
code: "too_big",
|
|
362
364
|
maximum,
|
|
365
|
+
inclusive: true,
|
|
363
366
|
inst,
|
|
367
|
+
continue: !def.abort,
|
|
364
368
|
} as any);
|
|
365
369
|
}
|
|
366
370
|
};
|
|
@@ -422,7 +426,9 @@ export const $ZodCheckBigIntFormat: core.$constructor<$ZodCheckBigIntFormat> = /
|
|
|
422
426
|
input,
|
|
423
427
|
code: "too_big",
|
|
424
428
|
maximum,
|
|
429
|
+
inclusive: true,
|
|
425
430
|
inst,
|
|
431
|
+
continue: !def.abort,
|
|
426
432
|
} as any);
|
|
427
433
|
}
|
|
428
434
|
};
|
package/v4/core/checks.cjs
CHANGED
|
@@ -175,6 +175,7 @@ exports.$ZodCheckNumberFormat = core.$constructor("$ZodCheckNumberFormat", (inst
|
|
|
175
175
|
note: "Integers must be within the safe integer range.",
|
|
176
176
|
inst,
|
|
177
177
|
origin,
|
|
178
|
+
inclusive: true,
|
|
178
179
|
continue: !def.abort,
|
|
179
180
|
});
|
|
180
181
|
}
|
|
@@ -187,6 +188,7 @@ exports.$ZodCheckNumberFormat = core.$constructor("$ZodCheckNumberFormat", (inst
|
|
|
187
188
|
note: "Integers must be within the safe integer range.",
|
|
188
189
|
inst,
|
|
189
190
|
origin,
|
|
191
|
+
inclusive: true,
|
|
190
192
|
continue: !def.abort,
|
|
191
193
|
});
|
|
192
194
|
}
|
|
@@ -210,7 +212,9 @@ exports.$ZodCheckNumberFormat = core.$constructor("$ZodCheckNumberFormat", (inst
|
|
|
210
212
|
input,
|
|
211
213
|
code: "too_big",
|
|
212
214
|
maximum,
|
|
215
|
+
inclusive: true,
|
|
213
216
|
inst,
|
|
217
|
+
continue: !def.abort,
|
|
214
218
|
});
|
|
215
219
|
}
|
|
216
220
|
};
|
|
@@ -243,7 +247,9 @@ exports.$ZodCheckBigIntFormat = core.$constructor("$ZodCheckBigIntFormat", (inst
|
|
|
243
247
|
input,
|
|
244
248
|
code: "too_big",
|
|
245
249
|
maximum,
|
|
250
|
+
inclusive: true,
|
|
246
251
|
inst,
|
|
252
|
+
continue: !def.abort,
|
|
247
253
|
});
|
|
248
254
|
}
|
|
249
255
|
};
|
package/v4/core/checks.js
CHANGED
|
@@ -149,6 +149,7 @@ export const $ZodCheckNumberFormat = /*@__PURE__*/ core.$constructor("$ZodCheckN
|
|
|
149
149
|
note: "Integers must be within the safe integer range.",
|
|
150
150
|
inst,
|
|
151
151
|
origin,
|
|
152
|
+
inclusive: true,
|
|
152
153
|
continue: !def.abort,
|
|
153
154
|
});
|
|
154
155
|
}
|
|
@@ -161,6 +162,7 @@ export const $ZodCheckNumberFormat = /*@__PURE__*/ core.$constructor("$ZodCheckN
|
|
|
161
162
|
note: "Integers must be within the safe integer range.",
|
|
162
163
|
inst,
|
|
163
164
|
origin,
|
|
165
|
+
inclusive: true,
|
|
164
166
|
continue: !def.abort,
|
|
165
167
|
});
|
|
166
168
|
}
|
|
@@ -184,7 +186,9 @@ export const $ZodCheckNumberFormat = /*@__PURE__*/ core.$constructor("$ZodCheckN
|
|
|
184
186
|
input,
|
|
185
187
|
code: "too_big",
|
|
186
188
|
maximum,
|
|
189
|
+
inclusive: true,
|
|
187
190
|
inst,
|
|
191
|
+
continue: !def.abort,
|
|
188
192
|
});
|
|
189
193
|
}
|
|
190
194
|
};
|
|
@@ -217,7 +221,9 @@ export const $ZodCheckBigIntFormat = /*@__PURE__*/ core.$constructor("$ZodCheckB
|
|
|
217
221
|
input,
|
|
218
222
|
code: "too_big",
|
|
219
223
|
maximum,
|
|
224
|
+
inclusive: true,
|
|
220
225
|
inst,
|
|
226
|
+
continue: !def.abort,
|
|
221
227
|
});
|
|
222
228
|
}
|
|
223
229
|
};
|