@temporary-name/zod 1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf → 1.9.3-alpha.cd9bac3545348e08cfaddb66f59c70d314145115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.mjs +0 -1
- package/package.json +4 -7
package/dist/index.d.mts
CHANGED
|
@@ -379,8 +379,6 @@ interface _KrustyNumber<Internals extends core.$ZodNumberInternals = core.$ZodNu
|
|
|
379
379
|
max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
|
|
380
380
|
/** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
|
|
381
381
|
int(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
382
|
-
/** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
|
|
383
|
-
safe(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
384
382
|
positive(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
385
383
|
nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
386
384
|
negative(params?: string | core.$ZodCheckLessThanParams): this;
|
package/dist/index.d.ts
CHANGED
|
@@ -379,8 +379,6 @@ interface _KrustyNumber<Internals extends core.$ZodNumberInternals = core.$ZodNu
|
|
|
379
379
|
max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
|
|
380
380
|
/** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
|
|
381
381
|
int(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
382
|
-
/** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
|
|
383
|
-
safe(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
384
382
|
positive(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
385
383
|
nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
386
384
|
negative(params?: string | core.$ZodCheckLessThanParams): this;
|
package/dist/index.mjs
CHANGED
|
@@ -700,7 +700,6 @@ const KrustyNumber = /* @__PURE__ */ core.$constructor(
|
|
|
700
700
|
inst.lte = (value, params) => inst.check(_lte(value, params));
|
|
701
701
|
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
702
702
|
inst.int = (params) => inst.check(int(params));
|
|
703
|
-
inst.safe = (params) => inst.check(int(params));
|
|
704
703
|
inst.positive = (params) => inst.check(_gt(0, params));
|
|
705
704
|
inst.nonnegative = (params) => inst.check(_gte(0, params));
|
|
706
705
|
inst.negative = (params) => inst.check(_lt(0, params));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/zod",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.cd9bac3545348e08cfaddb66f59c70d314145115",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|
|
@@ -22,18 +22,15 @@
|
|
|
22
22
|
"files": [
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"@temporary-name/contract": "1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf",
|
|
27
|
-
"@temporary-name/server": "1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf"
|
|
28
|
-
},
|
|
29
25
|
"dependencies": {
|
|
30
26
|
"zod": "^4.1.11",
|
|
31
|
-
"@temporary-name/shared": "1.9.3-alpha.
|
|
27
|
+
"@temporary-name/shared": "1.9.3-alpha.cd9bac3545348e08cfaddb66f59c70d314145115"
|
|
32
28
|
},
|
|
33
29
|
"devDependencies": {},
|
|
34
30
|
"scripts": {
|
|
35
31
|
"build": "unbuild",
|
|
36
32
|
"build:watch": "pnpm run build --watch",
|
|
37
|
-
"
|
|
33
|
+
"clean": "tsc -b --clean",
|
|
34
|
+
"lint:tsc": "tsc -b"
|
|
38
35
|
}
|
|
39
36
|
}
|