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 { status, ctx } = this._processInputParams(input);
|
||||||
const { shape, keys: shapeKeys } = this._getCached();
|
const { shape, keys: shapeKeys } = this._getCached();
|
||||||
const extraKeys = [];
|
const extraKeys = [];
|
||||||
for (const key in ctx.data) {
|
if (!(this._def.catchall instanceof ZodNever &&
|
||||||
if (!shapeKeys.includes(key)) {
|
this._def.unknownKeys === "strip")) {
|
||||||
extraKeys.push(key);
|
for (const key in ctx.data) {
|
||||||
|
if (!shapeKeys.includes(key)) {
|
||||||
|
extraKeys.push(key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const pairs = [];
|
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",
|
"got": "^12.4.1",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
"yaml": "^2.1.1",
|
"yaml": "^2.1.1",
|
||||||
"zod": "^3.19.0"
|
"zod": "^3.19.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.58",
|
"@types/node": "^16.11.58",
|
||||||
@@ -7277,9 +7277,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/zod": {
|
"node_modules/zod": {
|
||||||
"version": "3.19.0",
|
"version": "3.19.1",
|
||||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.0.tgz",
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.1.tgz",
|
||||||
"integrity": "sha512-Yw0qvUsCNGBe5YacikdMt5gVYeUuaEFVDIHKMfElrGSaBhwR3CQK6vOzgfAJOjTdGIhEeoaj8GtT+NDZrepZbw==",
|
"integrity": "sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==",
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/colinhacks"
|
"url": "https://github.com/sponsors/colinhacks"
|
||||||
}
|
}
|
||||||
@@ -12733,9 +12733,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"zod": {
|
"zod": {
|
||||||
"version": "3.19.0",
|
"version": "3.19.1",
|
||||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.0.tgz",
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.19.1.tgz",
|
||||||
"integrity": "sha512-Yw0qvUsCNGBe5YacikdMt5gVYeUuaEFVDIHKMfElrGSaBhwR3CQK6vOzgfAJOjTdGIhEeoaj8GtT+NDZrepZbw=="
|
"integrity": "sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@
|
|||||||
"got": "^12.4.1",
|
"got": "^12.4.1",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
"yaml": "^2.1.1",
|
"yaml": "^2.1.1",
|
||||||
"zod": "^3.19.0"
|
"zod": "^3.19.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.58",
|
"@types/node": "^16.11.58",
|
||||||
|
|||||||
Reference in New Issue
Block a user