zod 3.25.18 → 3.25.20

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.
@@ -723,7 +723,9 @@ export interface $ZodLiteral<T extends util.Primitive = util.Primitive> extends
723
723
  _zod: $ZodLiteralInternals<T>;
724
724
  }
725
725
  export declare const $ZodLiteral: core.$constructor<$ZodLiteral>;
726
- interface File {
726
+ declare global {
727
+ interface File {
728
+ }
727
729
  }
728
730
  export interface $ZodFileDef extends $ZodTypeDef {
729
731
  type: "file";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "3.25.18",
3
+ "version": "3.25.20",
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",
@@ -2865,7 +2865,10 @@ export const $ZodLiteral: core.$constructor<$ZodLiteral> = /*@__PURE__*/ core.$c
2865
2865
  //////////////////////////////////////////
2866
2866
 
2867
2867
  // provide a fallback in case the File interface isn't provided in the environment
2868
- interface File {}
2868
+ declare global {
2869
+ interface File {}
2870
+ }
2871
+
2869
2872
  export interface $ZodFileDef extends $ZodTypeDef {
2870
2873
  type: "file";
2871
2874
  }