zod 4.1.0-canary.20250723T215716 → 4.1.0-canary.20250723T221600

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "4.1.0-canary.20250723T215716",
3
+ "version": "4.1.0-canary.20250723T221600",
4
4
  "type": "module",
5
5
  "author": "Colin McDonnell <zod@colinhacks.com>",
6
6
  "description": "TypeScript-first schema declaration and validation library with static type inference",
@@ -61,8 +61,6 @@ export interface ZodType<
61
61
 
62
62
  // refinements
63
63
  refine(check: (arg: core.output<this>) => unknown | Promise<unknown>, params?: string | core.$ZodCustomParams): this;
64
- /** @deprecated Use [`.check()`](https://zod.dev/api?id=check) instead.
65
- */
66
64
  superRefine(
67
65
  refinement: (arg: core.output<this>, ctx: RefinementCtx<core.output<this>>) => void | Promise<void>
68
66
  ): this;
@@ -25,8 +25,6 @@ export interface ZodType<out Output = unknown, out Input = unknown, out Internal
25
25
  safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;
26
26
  spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
27
27
  refine(check: (arg: core.output<this>) => unknown | Promise<unknown>, params?: string | core.$ZodCustomParams): this;
28
- /** @deprecated Use [`.check()`](https://zod.dev/api?id=check) instead.
29
- */
30
28
  superRefine(refinement: (arg: core.output<this>, ctx: RefinementCtx<core.output<this>>) => void | Promise<void>): this;
31
29
  overwrite(fn: (x: core.output<this>) => core.output<this>): this;
32
30
  optional(): ZodOptional<this>;
@@ -25,8 +25,6 @@ export interface ZodType<out Output = unknown, out Input = unknown, out Internal
25
25
  safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;
26
26
  spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
27
27
  refine(check: (arg: core.output<this>) => unknown | Promise<unknown>, params?: string | core.$ZodCustomParams): this;
28
- /** @deprecated Use [`.check()`](https://zod.dev/api?id=check) instead.
29
- */
30
28
  superRefine(refinement: (arg: core.output<this>, ctx: RefinementCtx<core.output<this>>) => void | Promise<void>): this;
31
29
  overwrite(fn: (x: core.output<this>) => core.output<this>): this;
32
30
  optional(): ZodOptional<this>;