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:
+6
-3
@@ -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 = [];
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Generated
+7
-7
@@ -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=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user