zod 4.0.2 → 4.0.3

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
@@ -10,7 +10,7 @@
10
10
  <br/>
11
11
 
12
12
  <p align="center">
13
- <a href="https://github.com/colinhacks/zod/actions?query=branch%3Amaster"><img src="https://github.com/colinhacks/zod/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Zod CI status" /></a>
13
+ <a href="https://github.com/colinhacks/zod/actions?query=branch%3Amain"><img src="https://github.com/colinhacks/zod/actions/workflows/test.yml/badge.svg?event=push&branch=main" alt="Zod CI status" /></a>
14
14
  <a href="https://opensource.org/licenses/MIT" rel="nofollow"><img src="https://img.shields.io/github/license/colinhacks/zod" alt="License"></a>
15
15
  <a href="https://www.npmjs.com/package/zod" rel="nofollow"><img src="https://img.shields.io/npm/dw/zod.svg" alt="npm"></a>
16
16
  <a href="https://discord.gg/KaSRdyX2vc" rel="nofollow"><img src="https://img.shields.io/discord/893487829802418277?label=Discord&logo=discord&logoColor=white" alt="discord server"></a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
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",
@@ -63,4 +63,5 @@ export type {
63
63
  ZodType as Schema,
64
64
  };
65
65
 
66
+ /** Included for Zod 3 compatibility */
66
67
  export type ZodRawShape = core.$ZodShape;
@@ -1,5 +1,5 @@
1
1
  export const version = {
2
2
  major: 4,
3
3
  minor: 0,
4
- patch: 2 as number,
4
+ patch: 3 as number,
5
5
  } as const;
@@ -43,4 +43,5 @@ ZodType as ZodTypeAny,
43
43
  ZodType as ZodSchema,
44
44
  /** @deprecated Use `z.ZodType` */
45
45
  ZodType as Schema, };
46
+ /** Included for Zod 3 compatibility */
46
47
  export type ZodRawShape = core.$ZodShape;
@@ -43,4 +43,5 @@ ZodType as ZodTypeAny,
43
43
  ZodType as ZodSchema,
44
44
  /** @deprecated Use `z.ZodType` */
45
45
  ZodType as Schema, };
46
+ /** Included for Zod 3 compatibility */
46
47
  export type ZodRawShape = core.$ZodShape;
@@ -4,5 +4,5 @@ exports.version = void 0;
4
4
  exports.version = {
5
5
  major: 4,
6
6
  minor: 0,
7
- patch: 2,
7
+ patch: 3,
8
8
  };
@@ -1,5 +1,5 @@
1
1
  export const version = {
2
2
  major: 4,
3
3
  minor: 0,
4
- patch: 2,
4
+ patch: 3,
5
5
  };