Merge pull request #233 from actions/dependabot/npm_and_yarn/zod-3.19.1

Bump zod from 3.19.0 to 3.19.1
This commit is contained in:
Federico Builes
2022-09-12 06:54:18 +02:00
committed by GitHub
4 changed files with 15 additions and 12 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

14
package-lock.json generated
View File

@@ -17,7 +17,7 @@
"got": "^12.4.1",
"nodemon": "^2.0.19",
"yaml": "^2.1.1",
"zod": "^3.19.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@types/node": "^16.11.58",
@@ -7277,9 +7277,9 @@
}
},
"node_modules/zod": {
"version": "3.19.0",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.0.tgz",
"integrity": "sha512-Yw0qvUsCNGBe5YacikdMt5gVYeUuaEFVDIHKMfElrGSaBhwR3CQK6vOzgfAJOjTdGIhEeoaj8GtT+NDZrepZbw==",
"version": "3.19.1",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.1.tgz",
"integrity": "sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
@@ -12733,9 +12733,9 @@
"dev": true
},
"zod": {
"version": "3.19.0",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.0.tgz",
"integrity": "sha512-Yw0qvUsCNGBe5YacikdMt5gVYeUuaEFVDIHKMfElrGSaBhwR3CQK6vOzgfAJOjTdGIhEeoaj8GtT+NDZrepZbw=="
"version": "3.19.1",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.1.tgz",
"integrity": "sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA=="
}
}
}

View File

@@ -33,7 +33,7 @@
"got": "^12.4.1",
"nodemon": "^2.0.19",
"yaml": "^2.1.1",
"zod": "^3.19.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@types/node": "^16.11.58",