zod 3.23.2 → 3.23.4

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/README.md CHANGED
@@ -37,6 +37,8 @@
37
37
  <br/>
38
38
  <br/>
39
39
 
40
+ > Zod 3.23 is out! View the [release notes](https://github.com/colinhacks/zod/releases/tag/v3.23.0).
41
+
40
42
  > These docs have been translated into [Chinese](./README_ZH.md).
41
43
 
42
44
  ## Table of contents
package/lib/types.d.ts CHANGED
@@ -44,7 +44,7 @@ export declare type SafeParseError<Input> = {
44
44
  data?: never;
45
45
  };
46
46
  export declare type SafeParseReturnType<Input, Output> = SafeParseSuccess<Output> | SafeParseError<Input>;
47
- export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = any> {
47
+ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {
48
48
  readonly _type: Output;
49
49
  readonly _output: Output;
50
50
  readonly _input: Input;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "3.23.2",
3
+ "version": "3.23.4",
4
4
  "author": "Colin McDonnell <colin@colinhacks.com>",
5
5
  "repository": {
6
6
  "type": "git",