Merge branch 'main' into dependabot/npm_and_yarn/ansi-styles-6.1.1

This commit is contained in:
Federico Builes
2022-09-12 06:56:12 +02:00
4 changed files with 23 additions and 20 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

28
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",
@@ -27,7 +27,7 @@
"esbuild-register": "^3.3.3",
"eslint": "^8.23.0",
"eslint-plugin-github": "^4.3.7",
"eslint-plugin-jest": "^27.0.2",
"eslint-plugin-jest": "^27.0.4",
"jest": "^27.5.1",
"js-yaml": "^4.1.0",
"nodemon": "^2.0.19",
@@ -3095,9 +3095,9 @@
"dev": true
},
"node_modules/eslint-plugin-jest": {
"version": "27.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.0.2.tgz",
"integrity": "sha512-VEZaj19IMxqg/URcHNT4PhfoJJ1EsFurgq0SjMEYprDCq+et9fKkE4jIHnAsFh3mHLPBgAq04YQqkeW3slXs+Q==",
"version": "27.0.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.0.4.tgz",
"integrity": "sha512-BuvY78pHMpMJ6Cio7sKg6jrqEcnRYPUc4Nlihku4vKx3FjlmMINSX4vcYokZIe+8TKcyr1aI5Kq7vYwgJNdQSA==",
"dev": true,
"dependencies": {
"@typescript-eslint/utils": "^5.10.0"
@@ -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"
}
@@ -9775,9 +9775,9 @@
}
},
"eslint-plugin-jest": {
"version": "27.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.0.2.tgz",
"integrity": "sha512-VEZaj19IMxqg/URcHNT4PhfoJJ1EsFurgq0SjMEYprDCq+et9fKkE4jIHnAsFh3mHLPBgAq04YQqkeW3slXs+Q==",
"version": "27.0.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.0.4.tgz",
"integrity": "sha512-BuvY78pHMpMJ6Cio7sKg6jrqEcnRYPUc4Nlihku4vKx3FjlmMINSX4vcYokZIe+8TKcyr1aI5Kq7vYwgJNdQSA==",
"dev": true,
"requires": {
"@typescript-eslint/utils": "^5.10.0"
@@ -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",
@@ -43,7 +43,7 @@
"esbuild-register": "^3.3.3",
"eslint": "^8.23.0",
"eslint-plugin-github": "^4.3.7",
"eslint-plugin-jest": "^27.0.2",
"eslint-plugin-jest": "^27.0.4",
"jest": "^27.5.1",
"js-yaml": "^4.1.0",
"nodemon": "^2.0.19",