@jakubmazanec/zod-utils 2.0.3-next.6ab1b44 → 2.0.3-next.6e56182

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.
@@ -16,11 +16,11 @@ export declare const packageJsonSchema: z.ZodObject<{
16
16
  email: z.ZodOptional<z.ZodString>;
17
17
  url: z.ZodOptional<z.ZodString>;
18
18
  }, "strict", z.ZodTypeAny, {
19
- url?: string | undefined;
20
19
  email?: string | undefined;
21
- }, {
22
20
  url?: string | undefined;
21
+ }, {
23
22
  email?: string | undefined;
23
+ url?: string | undefined;
24
24
  }>, z.ZodString]>>;
25
25
  license: z.ZodOptional<z.ZodString>;
26
26
  author: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -29,12 +29,12 @@ export declare const packageJsonSchema: z.ZodObject<{
29
29
  url: z.ZodOptional<z.ZodString>;
30
30
  }, "strict", z.ZodTypeAny, {
31
31
  name: string;
32
- url?: string | undefined;
33
32
  email?: string | undefined;
33
+ url?: string | undefined;
34
34
  }, {
35
35
  name: string;
36
- url?: string | undefined;
37
36
  email?: string | undefined;
37
+ url?: string | undefined;
38
38
  }>, z.ZodString]>>;
39
39
  contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
40
40
  name: z.ZodString;
@@ -42,12 +42,12 @@ export declare const packageJsonSchema: z.ZodObject<{
42
42
  url: z.ZodOptional<z.ZodString>;
43
43
  }, "strict", z.ZodTypeAny, {
44
44
  name: string;
45
- url?: string | undefined;
46
45
  email?: string | undefined;
46
+ url?: string | undefined;
47
47
  }, {
48
48
  name: string;
49
- url?: string | undefined;
50
49
  email?: string | undefined;
50
+ url?: string | undefined;
51
51
  }>, z.ZodString]>, "many">>;
52
52
  maintainers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
53
53
  name: z.ZodString;
@@ -55,12 +55,12 @@ export declare const packageJsonSchema: z.ZodObject<{
55
55
  url: z.ZodOptional<z.ZodString>;
56
56
  }, "strict", z.ZodTypeAny, {
57
57
  name: string;
58
- url?: string | undefined;
59
58
  email?: string | undefined;
59
+ url?: string | undefined;
60
60
  }, {
61
61
  name: string;
62
- url?: string | undefined;
63
62
  email?: string | undefined;
63
+ url?: string | undefined;
64
64
  }>, z.ZodString]>, "many">>;
65
65
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
66
66
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"commonjs">, z.ZodLiteral<"module">]>>;
@@ -273,40 +273,37 @@ export declare const packageJsonSchema: z.ZodObject<{
273
273
  packageManager: z.ZodOptional<z.ZodString>;
274
274
  source: z.ZodOptional<z.ZodString>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- flat?: boolean | undefined;
277
- type?: "commonjs" | "module" | undefined;
278
276
  name?: string | undefined;
279
- bin?: string | Record<string, string> | undefined;
280
- man?: string | string[] | undefined;
281
277
  version?: string | undefined;
282
- browser?: string | Record<string, string | false> | undefined;
283
278
  description?: string | undefined;
284
279
  keywords?: string[] | undefined;
285
280
  homepage?: string | undefined;
286
281
  bugs?: string | {
287
- url?: string | undefined;
288
282
  email?: string | undefined;
283
+ url?: string | undefined;
289
284
  } | undefined;
290
285
  license?: string | undefined;
291
286
  author?: string | {
292
287
  name: string;
293
- url?: string | undefined;
294
288
  email?: string | undefined;
289
+ url?: string | undefined;
295
290
  } | undefined;
296
291
  contributors?: (string | {
297
292
  name: string;
298
- url?: string | undefined;
299
293
  email?: string | undefined;
294
+ url?: string | undefined;
300
295
  })[] | undefined;
301
296
  maintainers?: (string | {
302
297
  name: string;
303
- url?: string | undefined;
304
298
  email?: string | undefined;
299
+ url?: string | undefined;
305
300
  })[] | undefined;
306
301
  files?: string[] | undefined;
307
- module?: string | undefined;
302
+ type?: "commonjs" | "module" | undefined;
308
303
  main?: string | undefined;
309
304
  exports?: PackageJsonExports | undefined;
305
+ bin?: string | Record<string, string> | undefined;
306
+ man?: string | string[] | undefined;
310
307
  directories?: {
311
308
  bin?: string | undefined;
312
309
  doc?: string | undefined;
@@ -368,7 +365,9 @@ export declare const packageJsonSchema: z.ZodObject<{
368
365
  url: string;
369
366
  type?: string | undefined;
370
367
  })[] | undefined;
368
+ module?: string | undefined;
371
369
  esnext?: string | Record<string, string> | undefined;
370
+ browser?: string | Record<string, string | false> | undefined;
372
371
  sideEffects?: boolean | string[] | undefined;
373
372
  engines?: ({
374
373
  node?: string | undefined;
@@ -387,46 +386,44 @@ export declare const packageJsonSchema: z.ZodObject<{
387
386
  packages?: string[] | undefined;
388
387
  nohoist?: string[] | undefined;
389
388
  } | undefined;
389
+ flat?: boolean | undefined;
390
390
  resolutions?: Record<string, string> | undefined;
391
391
  types?: string | undefined;
392
392
  typings?: string | undefined;
393
393
  packageManager?: string | undefined;
394
394
  source?: string | undefined;
395
395
  }, {
396
- flat?: boolean | undefined;
397
- type?: "commonjs" | "module" | undefined;
398
396
  name?: string | undefined;
399
- bin?: string | Record<string, string> | undefined;
400
- man?: string | string[] | undefined;
401
397
  version?: string | undefined;
402
- browser?: string | Record<string, string | false> | undefined;
403
398
  description?: string | undefined;
404
399
  keywords?: string[] | undefined;
405
400
  homepage?: string | undefined;
406
401
  bugs?: string | {
407
- url?: string | undefined;
408
402
  email?: string | undefined;
403
+ url?: string | undefined;
409
404
  } | undefined;
410
405
  license?: string | undefined;
411
406
  author?: string | {
412
407
  name: string;
413
- url?: string | undefined;
414
408
  email?: string | undefined;
409
+ url?: string | undefined;
415
410
  } | undefined;
416
411
  contributors?: (string | {
417
412
  name: string;
418
- url?: string | undefined;
419
413
  email?: string | undefined;
414
+ url?: string | undefined;
420
415
  })[] | undefined;
421
416
  maintainers?: (string | {
422
417
  name: string;
423
- url?: string | undefined;
424
418
  email?: string | undefined;
419
+ url?: string | undefined;
425
420
  })[] | undefined;
426
421
  files?: string[] | undefined;
427
- module?: string | undefined;
422
+ type?: "commonjs" | "module" | undefined;
428
423
  main?: string | undefined;
429
424
  exports?: PackageJsonExports | undefined;
425
+ bin?: string | Record<string, string> | undefined;
426
+ man?: string | string[] | undefined;
430
427
  directories?: {
431
428
  bin?: string | undefined;
432
429
  doc?: string | undefined;
@@ -488,7 +485,9 @@ export declare const packageJsonSchema: z.ZodObject<{
488
485
  url: string;
489
486
  type?: string | undefined;
490
487
  })[] | undefined;
488
+ module?: string | undefined;
491
489
  esnext?: string | Record<string, string> | undefined;
490
+ browser?: string | Record<string, string | false> | undefined;
492
491
  sideEffects?: boolean | string[] | undefined;
493
492
  engines?: ({
494
493
  node?: string | undefined;
@@ -507,6 +506,7 @@ export declare const packageJsonSchema: z.ZodObject<{
507
506
  packages?: string[] | undefined;
508
507
  nohoist?: string[] | undefined;
509
508
  } | undefined;
509
+ flat?: boolean | undefined;
510
510
  resolutions?: Record<string, string> | undefined;
511
511
  types?: string | undefined;
512
512
  typings?: string | undefined;
@@ -112,10 +112,6 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
112
112
  watchDirectory: z.ZodOptional<z.ZodEnum<["useFsEvents", "fixedPollingInterval", "dynamicPriorityPolling", "fixedChunkSizePolling"]>>;
113
113
  watchFile: z.ZodOptional<z.ZodEnum<["fixedPollingInterval", "priorityPollingInterval", "dynamicPriorityPolling", "useFsEvents", "useFsEventsOnParentDirectory", "fixedChunkSizePolling"]>>;
114
114
  }, "strict", z.ZodTypeAny, {
115
- strict?: boolean | undefined;
116
- lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
117
- module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
118
- types?: string[] | undefined;
119
115
  allowJs?: boolean | undefined;
120
116
  allowSyntheticDefaultImports?: boolean | undefined;
121
117
  allowUmdGlobalAccess?: boolean | undefined;
@@ -148,7 +144,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
148
144
  forceConsistentCasingInFileNames?: boolean | undefined;
149
145
  generateCpuProfile?: string | undefined;
150
146
  importHelpers?: boolean | undefined;
151
- importsNotUsedAsValues?: "preserve" | "remove" | "error" | undefined;
147
+ importsNotUsedAsValues?: "error" | "preserve" | "remove" | undefined;
152
148
  incremental?: boolean | undefined;
153
149
  inlineSourceMap?: boolean | undefined;
154
150
  inlineSources?: boolean | undefined;
@@ -158,11 +154,13 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
158
154
  jsxFragmentFactory?: string | undefined;
159
155
  jsxImportSource?: string | undefined;
160
156
  keyofStringsOnly?: boolean | undefined;
157
+ lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
161
158
  listEmittedFiles?: boolean | undefined;
162
159
  listFiles?: boolean | undefined;
163
160
  listFilesOnly?: boolean | undefined;
164
161
  mapRoot?: string | undefined;
165
162
  maxNodeModuleJsDepth?: number | undefined;
163
+ module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
166
164
  moduleResolution?: "node" | "classic" | undefined;
167
165
  newLine?: "CRLF" | "LF" | "crlf" | "lf" | undefined;
168
166
  noEmit?: boolean | undefined;
@@ -201,6 +199,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
201
199
  skipLibCheck?: boolean | undefined;
202
200
  sourceMap?: boolean | undefined;
203
201
  sourceRoot?: string | undefined;
202
+ strict?: boolean | undefined;
204
203
  strictBindCallApply?: boolean | undefined;
205
204
  strictFunctionTypes?: boolean | undefined;
206
205
  strictNullChecks?: boolean | undefined;
@@ -212,16 +211,13 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
212
211
  traceResolution?: boolean | undefined;
213
212
  tsBuildInfoFile?: string | undefined;
214
213
  typeRoots?: string[] | undefined;
214
+ types?: string[] | undefined;
215
215
  useDefineForClassFields?: boolean | undefined;
216
216
  useUnknownInCatchVariables?: boolean | undefined;
217
217
  watch?: boolean | undefined;
218
218
  watchDirectory?: "fixedPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | undefined;
219
219
  watchFile?: "fixedPollingInterval" | "priorityPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | "useFsEventsOnParentDirectory" | undefined;
220
220
  }, {
221
- strict?: boolean | undefined;
222
- lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
223
- module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
224
- types?: string[] | undefined;
225
221
  allowJs?: boolean | undefined;
226
222
  allowSyntheticDefaultImports?: boolean | undefined;
227
223
  allowUmdGlobalAccess?: boolean | undefined;
@@ -254,7 +250,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
254
250
  forceConsistentCasingInFileNames?: boolean | undefined;
255
251
  generateCpuProfile?: string | undefined;
256
252
  importHelpers?: boolean | undefined;
257
- importsNotUsedAsValues?: "preserve" | "remove" | "error" | undefined;
253
+ importsNotUsedAsValues?: "error" | "preserve" | "remove" | undefined;
258
254
  incremental?: boolean | undefined;
259
255
  inlineSourceMap?: boolean | undefined;
260
256
  inlineSources?: boolean | undefined;
@@ -264,11 +260,13 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
264
260
  jsxFragmentFactory?: string | undefined;
265
261
  jsxImportSource?: string | undefined;
266
262
  keyofStringsOnly?: boolean | undefined;
263
+ lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
267
264
  listEmittedFiles?: boolean | undefined;
268
265
  listFiles?: boolean | undefined;
269
266
  listFilesOnly?: boolean | undefined;
270
267
  mapRoot?: string | undefined;
271
268
  maxNodeModuleJsDepth?: number | undefined;
269
+ module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
272
270
  moduleResolution?: "node" | "classic" | undefined;
273
271
  newLine?: "CRLF" | "LF" | "crlf" | "lf" | undefined;
274
272
  noEmit?: boolean | undefined;
@@ -307,6 +305,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
307
305
  skipLibCheck?: boolean | undefined;
308
306
  sourceMap?: boolean | undefined;
309
307
  sourceRoot?: string | undefined;
308
+ strict?: boolean | undefined;
310
309
  strictBindCallApply?: boolean | undefined;
311
310
  strictFunctionTypes?: boolean | undefined;
312
311
  strictNullChecks?: boolean | undefined;
@@ -318,6 +317,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
318
317
  traceResolution?: boolean | undefined;
319
318
  tsBuildInfoFile?: string | undefined;
320
319
  typeRoots?: string[] | undefined;
320
+ types?: string[] | undefined;
321
321
  useDefineForClassFields?: boolean | undefined;
322
322
  useUnknownInCatchVariables?: boolean | undefined;
323
323
  watch?: boolean | undefined;
@@ -358,15 +358,8 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
358
358
  exclude?: string[] | undefined;
359
359
  }>>;
360
360
  }, "strict", z.ZodTypeAny, {
361
- files?: string[] | undefined;
362
- include?: string[] | undefined;
363
- exclude?: string[] | undefined;
364
361
  compileOnSave?: boolean | undefined;
365
362
  compilerOptions?: {
366
- strict?: boolean | undefined;
367
- lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
368
- module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
369
- types?: string[] | undefined;
370
363
  allowJs?: boolean | undefined;
371
364
  allowSyntheticDefaultImports?: boolean | undefined;
372
365
  allowUmdGlobalAccess?: boolean | undefined;
@@ -399,7 +392,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
399
392
  forceConsistentCasingInFileNames?: boolean | undefined;
400
393
  generateCpuProfile?: string | undefined;
401
394
  importHelpers?: boolean | undefined;
402
- importsNotUsedAsValues?: "preserve" | "remove" | "error" | undefined;
395
+ importsNotUsedAsValues?: "error" | "preserve" | "remove" | undefined;
403
396
  incremental?: boolean | undefined;
404
397
  inlineSourceMap?: boolean | undefined;
405
398
  inlineSources?: boolean | undefined;
@@ -409,11 +402,13 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
409
402
  jsxFragmentFactory?: string | undefined;
410
403
  jsxImportSource?: string | undefined;
411
404
  keyofStringsOnly?: boolean | undefined;
405
+ lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
412
406
  listEmittedFiles?: boolean | undefined;
413
407
  listFiles?: boolean | undefined;
414
408
  listFilesOnly?: boolean | undefined;
415
409
  mapRoot?: string | undefined;
416
410
  maxNodeModuleJsDepth?: number | undefined;
411
+ module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
417
412
  moduleResolution?: "node" | "classic" | undefined;
418
413
  newLine?: "CRLF" | "LF" | "crlf" | "lf" | undefined;
419
414
  noEmit?: boolean | undefined;
@@ -452,6 +447,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
452
447
  skipLibCheck?: boolean | undefined;
453
448
  sourceMap?: boolean | undefined;
454
449
  sourceRoot?: string | undefined;
450
+ strict?: boolean | undefined;
455
451
  strictBindCallApply?: boolean | undefined;
456
452
  strictFunctionTypes?: boolean | undefined;
457
453
  strictNullChecks?: boolean | undefined;
@@ -463,13 +459,17 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
463
459
  traceResolution?: boolean | undefined;
464
460
  tsBuildInfoFile?: string | undefined;
465
461
  typeRoots?: string[] | undefined;
462
+ types?: string[] | undefined;
466
463
  useDefineForClassFields?: boolean | undefined;
467
464
  useUnknownInCatchVariables?: boolean | undefined;
468
465
  watch?: boolean | undefined;
469
466
  watchDirectory?: "fixedPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | undefined;
470
467
  watchFile?: "fixedPollingInterval" | "priorityPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | "useFsEventsOnParentDirectory" | undefined;
471
468
  } | undefined;
469
+ exclude?: string[] | undefined;
472
470
  extends?: string | undefined;
471
+ files?: string[] | undefined;
472
+ include?: string[] | undefined;
473
473
  references?: {
474
474
  path: string;
475
475
  originalPath?: string | undefined;
@@ -482,15 +482,8 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
482
482
  exclude?: string[] | undefined;
483
483
  } | undefined;
484
484
  }, {
485
- files?: string[] | undefined;
486
- include?: string[] | undefined;
487
- exclude?: string[] | undefined;
488
485
  compileOnSave?: boolean | undefined;
489
486
  compilerOptions?: {
490
- strict?: boolean | undefined;
491
- lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
492
- module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
493
- types?: string[] | undefined;
494
487
  allowJs?: boolean | undefined;
495
488
  allowSyntheticDefaultImports?: boolean | undefined;
496
489
  allowUmdGlobalAccess?: boolean | undefined;
@@ -523,7 +516,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
523
516
  forceConsistentCasingInFileNames?: boolean | undefined;
524
517
  generateCpuProfile?: string | undefined;
525
518
  importHelpers?: boolean | undefined;
526
- importsNotUsedAsValues?: "preserve" | "remove" | "error" | undefined;
519
+ importsNotUsedAsValues?: "error" | "preserve" | "remove" | undefined;
527
520
  incremental?: boolean | undefined;
528
521
  inlineSourceMap?: boolean | undefined;
529
522
  inlineSources?: boolean | undefined;
@@ -533,11 +526,13 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
533
526
  jsxFragmentFactory?: string | undefined;
534
527
  jsxImportSource?: string | undefined;
535
528
  keyofStringsOnly?: boolean | undefined;
529
+ lib?: ("esnext" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "es6" | "es2015" | "es2020" | "ES5" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2021" | "es5" | "es2016" | "es2017" | "es2018" | "es2019" | "es2021" | "ES7" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016.Array.Include" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es7" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016.array.include" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable")[] | undefined;
536
530
  listEmittedFiles?: boolean | undefined;
537
531
  listFiles?: boolean | undefined;
538
532
  listFilesOnly?: boolean | undefined;
539
533
  mapRoot?: string | undefined;
540
534
  maxNodeModuleJsDepth?: number | undefined;
535
+ module?: "commonjs" | "esnext" | "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ESNext" | "None" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "none" | undefined;
541
536
  moduleResolution?: "node" | "classic" | undefined;
542
537
  newLine?: "CRLF" | "LF" | "crlf" | "lf" | undefined;
543
538
  noEmit?: boolean | undefined;
@@ -576,6 +571,7 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
576
571
  skipLibCheck?: boolean | undefined;
577
572
  sourceMap?: boolean | undefined;
578
573
  sourceRoot?: string | undefined;
574
+ strict?: boolean | undefined;
579
575
  strictBindCallApply?: boolean | undefined;
580
576
  strictFunctionTypes?: boolean | undefined;
581
577
  strictNullChecks?: boolean | undefined;
@@ -587,13 +583,17 @@ export declare const tsconfigJsonSchema: z.ZodObject<{
587
583
  traceResolution?: boolean | undefined;
588
584
  tsBuildInfoFile?: string | undefined;
589
585
  typeRoots?: string[] | undefined;
586
+ types?: string[] | undefined;
590
587
  useDefineForClassFields?: boolean | undefined;
591
588
  useUnknownInCatchVariables?: boolean | undefined;
592
589
  watch?: boolean | undefined;
593
590
  watchDirectory?: "fixedPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | undefined;
594
591
  watchFile?: "fixedPollingInterval" | "priorityPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "fixedChunkSizePolling" | "useFsEventsOnParentDirectory" | undefined;
595
592
  } | undefined;
593
+ exclude?: string[] | undefined;
596
594
  extends?: string | undefined;
595
+ files?: string[] | undefined;
596
+ include?: string[] | undefined;
597
597
  references?: {
598
598
  path: string;
599
599
  originalPath?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakubmazanec/zod-utils",
3
- "version": "2.0.3-next.6ab1b44",
3
+ "version": "2.0.3-next.6e56182",
4
4
  "description": "Collection of Zod schemas and utilities.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,10 +27,10 @@
27
27
  "typecheck": "tsc --project tsconfig.typecheck.json"
28
28
  },
29
29
  "dependencies": {
30
- "@jakubmazanec/ts-utils": "3.0.3-next.6ab1b44"
30
+ "@jakubmazanec/ts-utils": "3.0.3-next.6e56182"
31
31
  },
32
32
  "devDependencies": {
33
- "@jakubmazanec/eslint-config": "3.3.1-next.6ab1b44",
33
+ "@jakubmazanec/eslint-config": "3.3.1-next.6e56182",
34
34
  "@types/lodash": "^4.14.202",
35
35
  "@types/node": "^20.8.5",
36
36
  "@vitest/coverage-v8": "^1.3.1",
@@ -43,9 +43,9 @@
43
43
  "prettier-plugin-packagejson": "^2.4.12",
44
44
  "typedoc": "^0.25.13",
45
45
  "typedoc-plugin-markdown": "^3.17.1",
46
- "typescript": "^5.4.5",
46
+ "typescript": "^5.3.3",
47
47
  "vitest": "^1.3.1",
48
- "zod": "^3.23.8"
48
+ "zod": "^3.22.4"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "zod": "^3.19.1"