adding dist

This commit is contained in:
Federico Builes
2022-09-12 06:54:07 +02:00
parent 2ae4b932b7
commit 0455501026
2 changed files with 7 additions and 4 deletions

9
dist/index.js generated vendored
View File

@@ -13437,9 +13437,12 @@ class ZodObject extends ZodType {
const { status, ctx } = this._processInputParams(input);
const { shape, keys: shapeKeys } = this._getCached();
const extraKeys = [];
for (const key in ctx.data) {
if (!shapeKeys.includes(key)) {
extraKeys.push(key);
if (!(this._def.catchall instanceof ZodNever &&
this._def.unknownKeys === "strip")) {
for (const key in ctx.data) {
if (!shapeKeys.includes(key)) {
extraKeys.push(key);
}
}
}
const pairs = [];

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long