Merge pull request #158 from actions/dependabot/npm_and_yarn/zod-3.17.4
Bump zod from 3.17.3 to 3.17.4
This commit is contained in:
+7
-9
@@ -11818,25 +11818,23 @@ class ZodString extends ZodType {
|
|||||||
return !!this._def.checks.find((ch) => ch.kind === "cuid");
|
return !!this._def.checks.find((ch) => ch.kind === "cuid");
|
||||||
}
|
}
|
||||||
get minLength() {
|
get minLength() {
|
||||||
let min = -Infinity;
|
let min = null;
|
||||||
this._def.checks.map((ch) => {
|
for (const ch of this._def.checks) {
|
||||||
if (ch.kind === "min") {
|
if (ch.kind === "min") {
|
||||||
if (min === null || ch.value > min) {
|
if (min === null || ch.value > min)
|
||||||
min = ch.value;
|
min = ch.value;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
return min;
|
return min;
|
||||||
}
|
}
|
||||||
get maxLength() {
|
get maxLength() {
|
||||||
let max = null;
|
let max = null;
|
||||||
this._def.checks.map((ch) => {
|
for (const ch of this._def.checks) {
|
||||||
if (ch.kind === "max") {
|
if (ch.kind === "max") {
|
||||||
if (max === null || ch.value < max) {
|
if (max === null || ch.value < max)
|
||||||
max = ch.value;
|
max = ch.value;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
return max;
|
return max;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Generated
+7
-7
@@ -17,7 +17,7 @@
|
|||||||
"got": "^12.1.0",
|
"got": "^12.1.0",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
"yaml": "^2.1.1",
|
"yaml": "^2.1.1",
|
||||||
"zod": "^3.17.3"
|
"zod": "^3.17.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.44",
|
"@types/node": "^16.11.44",
|
||||||
@@ -6910,9 +6910,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/zod": {
|
"node_modules/zod": {
|
||||||
"version": "3.17.3",
|
"version": "3.17.4",
|
||||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.17.3.tgz",
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.17.4.tgz",
|
||||||
"integrity": "sha512-4oKP5zvG6GGbMlqBkI5FESOAweldEhSOZ6LI6cG+JzUT7ofj1ZOC0PJudpQOpT1iqOFpYYtX5Pw0+o403y4bcg==",
|
"integrity": "sha512-ISRPS3fn4tekp+fYV+nLSgI9Fr5TDOm6ct0UaJoftSP8EbVeOjX5EvQP/JQn7/a9riCJa3LJzCxceErgGYeweA==",
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/colinhacks"
|
"url": "https://github.com/sponsors/colinhacks"
|
||||||
}
|
}
|
||||||
@@ -12102,9 +12102,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"zod": {
|
"zod": {
|
||||||
"version": "3.17.3",
|
"version": "3.17.4",
|
||||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.17.3.tgz",
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.17.4.tgz",
|
||||||
"integrity": "sha512-4oKP5zvG6GGbMlqBkI5FESOAweldEhSOZ6LI6cG+JzUT7ofj1ZOC0PJudpQOpT1iqOFpYYtX5Pw0+o403y4bcg=="
|
"integrity": "sha512-ISRPS3fn4tekp+fYV+nLSgI9Fr5TDOm6ct0UaJoftSP8EbVeOjX5EvQP/JQn7/a9riCJa3LJzCxceErgGYeweA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@
|
|||||||
"got": "^12.1.0",
|
"got": "^12.1.0",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
"yaml": "^2.1.1",
|
"yaml": "^2.1.1",
|
||||||
"zod": "^3.17.3"
|
"zod": "^3.17.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.44",
|
"@types/node": "^16.11.44",
|
||||||
|
|||||||
Reference in New Issue
Block a user