zod 4.0.0-beta.20250410T041446 → 4.0.0-beta.20250410T194338
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/commonjs/schemas.d.ts +0 -1
- package/dist/esm/schemas.d.ts +0 -1
- package/package.json +1 -1
- package/src/schemas.ts +0 -1
|
@@ -445,7 +445,6 @@ export declare function strictInterface<T extends core.$ZodLooseShape>(shape: T,
|
|
|
445
445
|
export declare function looseInterface<T extends core.$ZodLooseShape>(shape: T, params?: core.$ZodInterfaceParams): ZodInterface<util.CleanInterfaceShape<T>, util.InitInterfaceParams<T, Record<string, unknown>>>;
|
|
446
446
|
export interface ZodObject<out Shape extends core.$ZodShape = core.$ZodShape, Extra extends Record<string, unknown> = Record<string, unknown>> extends ZodType {
|
|
447
447
|
_zod: core.$ZodObjectInternals<Shape, Extra>;
|
|
448
|
-
/** @deprecated In Zod 4, you can pass `ZodObject` instances directly into `.extend()`. */
|
|
449
448
|
shape: Shape;
|
|
450
449
|
keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
|
|
451
450
|
catchall<T extends core.$ZodType>(schema: T): ZodObject<Shape, Record<string, T["_zod"]["output"]>>;
|
package/dist/esm/schemas.d.ts
CHANGED
|
@@ -445,7 +445,6 @@ export declare function strictInterface<T extends core.$ZodLooseShape>(shape: T,
|
|
|
445
445
|
export declare function looseInterface<T extends core.$ZodLooseShape>(shape: T, params?: core.$ZodInterfaceParams): ZodInterface<util.CleanInterfaceShape<T>, util.InitInterfaceParams<T, Record<string, unknown>>>;
|
|
446
446
|
export interface ZodObject<out Shape extends core.$ZodShape = core.$ZodShape, Extra extends Record<string, unknown> = Record<string, unknown>> extends ZodType {
|
|
447
447
|
_zod: core.$ZodObjectInternals<Shape, Extra>;
|
|
448
|
-
/** @deprecated In Zod 4, you can pass `ZodObject` instances directly into `.extend()`. */
|
|
449
448
|
shape: Shape;
|
|
450
449
|
keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
|
|
451
450
|
catchall<T extends core.$ZodType>(schema: T): ZodObject<Shape, Record<string, T["_zod"]["output"]>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zod",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.20250410T194338",
|
|
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",
|
package/src/schemas.ts
CHANGED
|
@@ -1234,7 +1234,6 @@ export interface ZodObject<
|
|
|
1234
1234
|
> extends ZodType {
|
|
1235
1235
|
_zod: core.$ZodObjectInternals<Shape, Extra>;
|
|
1236
1236
|
|
|
1237
|
-
/** @deprecated In Zod 4, you can pass `ZodObject` instances directly into `.extend()`. */
|
|
1238
1237
|
shape: Shape;
|
|
1239
1238
|
|
|
1240
1239
|
keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
|