zod-package-json
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -98,3 +98,3 @@ import { z } from 'zod'; | ||
*/ | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>; | ||
/** Executable files. */ | ||
@@ -126,3 +126,3 @@ bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
/** Configuration values for scripts. */ | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
/** Production dependencies. */ | ||
@@ -289,3 +289,3 @@ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
*/ | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>; | ||
/** Executable files. */ | ||
@@ -317,3 +317,3 @@ bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
/** Configuration values for scripts. */ | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
/** Production dependencies. */ | ||
@@ -480,3 +480,3 @@ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
*/ | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
browser: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>; | ||
/** Executable files. */ | ||
@@ -508,3 +508,3 @@ bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>; | ||
/** Configuration values for scripts. */ | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
/** Production dependencies. */ | ||
@@ -511,0 +511,0 @@ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; |
@@ -77,3 +77,3 @@ // src/package-json.ts | ||
*/ | ||
browser: z.union([z.string(), z.record(z.string())]).optional(), | ||
browser: z.union([z.string(), z.record(z.union([z.string(), z.boolean()]))]).optional(), | ||
/** Executable files. */ | ||
@@ -90,3 +90,3 @@ bin: z.union([z.string(), z.record(z.string())]).optional(), | ||
/** Configuration values for scripts. */ | ||
config: z.record(z.string()).optional(), | ||
config: z.record(z.unknown()).optional(), | ||
/** Production dependencies. */ | ||
@@ -93,0 +93,0 @@ dependencies: z.record(z.string()).optional(), |
{ | ||
"name": "zod-package-json", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Zod schema for the package.json file format", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35613