bupkis 0.11.1 → 0.12.0
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/CHANGELOG.md +68 -91
- package/dist/commonjs/assertion/assertion-async.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion-async.js +32 -9
- package/dist/commonjs/assertion/assertion-async.js.map +1 -1
- package/dist/commonjs/assertion/assertion-standard-schema-async.d.ts +64 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.d.ts.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.js +155 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.js.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.d.ts +64 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.d.ts.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.js +164 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.js.map +1 -0
- package/dist/commonjs/assertion/assertion-sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion-sync.js +38 -5
- package/dist/commonjs/assertion/assertion-sync.js.map +1 -1
- package/dist/commonjs/assertion/assertion-types.d.ts +82 -14
- package/dist/commonjs/assertion/assertion-types.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion.d.ts +11 -0
- package/dist/commonjs/assertion/assertion.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion.js +30 -0
- package/dist/commonjs/assertion/assertion.js.map +1 -1
- package/dist/commonjs/assertion/create.d.ts.map +1 -1
- package/dist/commonjs/assertion/create.js +10 -2
- package/dist/commonjs/assertion/create.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-basic.d.ts +37 -37
- package/dist/commonjs/assertion/impl/sync-basic.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.d.ts +3 -3
- package/dist/commonjs/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.d.ts +1 -1
- package/dist/commonjs/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-esoteric.d.ts +3 -3
- package/dist/commonjs/assertion/impl/sync-esoteric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts +1 -1
- package/dist/commonjs/assertion/impl/sync.d.ts +18 -18
- package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/slotify.js +25 -7
- package/dist/commonjs/assertion/slotify.js.map +1 -1
- package/dist/commonjs/bootstrap.d.ts +9 -9
- package/dist/commonjs/diff.d.ts.map +1 -1
- package/dist/commonjs/diff.js +14 -21
- package/dist/commonjs/diff.js.map +1 -1
- package/dist/commonjs/guards.d.ts +16 -0
- package/dist/commonjs/guards.d.ts.map +1 -1
- package/dist/commonjs/guards.js +27 -1
- package/dist/commonjs/guards.js.map +1 -1
- package/dist/commonjs/index.d.ts +22 -15
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/internal-schema.d.ts.map +1 -1
- package/dist/commonjs/internal-schema.js +30 -12
- package/dist/commonjs/internal-schema.js.map +1 -1
- package/dist/commonjs/standard-schema.d.ts +192 -0
- package/dist/commonjs/standard-schema.d.ts.map +1 -0
- package/dist/commonjs/standard-schema.js +13 -0
- package/dist/commonjs/standard-schema.js.map +1 -0
- package/dist/commonjs/types.d.ts +165 -13
- package/dist/commonjs/types.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-async.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-async.js +33 -10
- package/dist/esm/assertion/assertion-async.js.map +1 -1
- package/dist/esm/assertion/assertion-standard-schema-async.d.ts +64 -0
- package/dist/esm/assertion/assertion-standard-schema-async.d.ts.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-async.js +151 -0
- package/dist/esm/assertion/assertion-standard-schema-async.js.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.d.ts +64 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.d.ts.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.js +160 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.js.map +1 -0
- package/dist/esm/assertion/assertion-sync.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-sync.js +39 -6
- package/dist/esm/assertion/assertion-sync.js.map +1 -1
- package/dist/esm/assertion/assertion-types.d.ts +82 -14
- package/dist/esm/assertion/assertion-types.d.ts.map +1 -1
- package/dist/esm/assertion/assertion.d.ts +11 -0
- package/dist/esm/assertion/assertion.d.ts.map +1 -1
- package/dist/esm/assertion/assertion.js +30 -0
- package/dist/esm/assertion/assertion.js.map +1 -1
- package/dist/esm/assertion/create.d.ts.map +1 -1
- package/dist/esm/assertion/create.js +11 -3
- package/dist/esm/assertion/create.js.map +1 -1
- package/dist/esm/assertion/impl/sync-basic.d.ts +37 -37
- package/dist/esm/assertion/impl/sync-basic.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.d.ts +3 -3
- package/dist/esm/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-date.d.ts +1 -1
- package/dist/esm/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-esoteric.d.ts +3 -3
- package/dist/esm/assertion/impl/sync-esoteric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.d.ts +1 -1
- package/dist/esm/assertion/impl/sync.d.ts +18 -18
- package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
- package/dist/esm/assertion/slotify.js +26 -8
- package/dist/esm/assertion/slotify.js.map +1 -1
- package/dist/esm/bootstrap.d.ts +9 -9
- package/dist/esm/diff.d.ts.map +1 -1
- package/dist/esm/diff.js +14 -21
- package/dist/esm/diff.js.map +1 -1
- package/dist/esm/guards.d.ts +16 -0
- package/dist/esm/guards.d.ts.map +1 -1
- package/dist/esm/guards.js +25 -0
- package/dist/esm/guards.js.map +1 -1
- package/dist/esm/index.d.ts +22 -15
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal-schema.d.ts.map +1 -1
- package/dist/esm/internal-schema.js +31 -13
- package/dist/esm/internal-schema.js.map +1 -1
- package/dist/esm/standard-schema.d.ts +192 -0
- package/dist/esm/standard-schema.d.ts.map +1 -0
- package/dist/esm/standard-schema.js +12 -0
- package/dist/esm/standard-schema.js.map +1 -0
- package/dist/esm/types.d.ts +165 -13
- package/dist/esm/types.d.ts.map +1 -1
- package/package.json +26 -18
- package/src/assertion/assertion-async.ts +54 -14
- package/src/assertion/assertion-standard-schema-async.ts +202 -0
- package/src/assertion/assertion-standard-schema-sync.ts +214 -0
- package/src/assertion/assertion-sync.ts +65 -10
- package/src/assertion/assertion-types.ts +113 -13
- package/src/assertion/assertion.ts +40 -0
- package/src/assertion/create.ts +11 -5
- package/src/assertion/slotify.ts +29 -7
- package/src/diff.ts +14 -29
- package/src/guards.ts +29 -0
- package/src/index.ts +16 -6
- package/src/internal-schema.ts +36 -16
- package/src/standard-schema.ts +214 -0
- package/src/types.ts +176 -14
|
@@ -26,7 +26,7 @@ import { z } from 'zod/v4';
|
|
|
26
26
|
* @bupkisAnchor unknown-to-be-a-string
|
|
27
27
|
* @bupkisAssertionCategory primitives
|
|
28
28
|
*/
|
|
29
|
-
export declare const stringAssertion: import("../assertion-types.js").
|
|
29
|
+
export declare const stringAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a string"], z.ZodString, never>;
|
|
30
30
|
/**
|
|
31
31
|
* Asserts that the subject is a finite number value.
|
|
32
32
|
*
|
|
@@ -40,7 +40,7 @@ export declare const stringAssertion: import("../assertion-types.js").AssertionS
|
|
|
40
40
|
*
|
|
41
41
|
* @group Basic Assertions
|
|
42
42
|
*/
|
|
43
|
-
export declare const numberAssertion: import("../assertion-types.js").
|
|
43
|
+
export declare const numberAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a number", "to be finite"]], z.ZodNumber, never>;
|
|
44
44
|
/**
|
|
45
45
|
* Asserts that the subject is either positive or negative infinity.
|
|
46
46
|
*
|
|
@@ -54,7 +54,7 @@ export declare const numberAssertion: import("../assertion-types.js").AssertionS
|
|
|
54
54
|
*
|
|
55
55
|
* @group Basic Assertions
|
|
56
56
|
*/
|
|
57
|
-
export declare const infiniteAssertion: import("../assertion-types.js").
|
|
57
|
+
export declare const infiniteAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be infinite"], z.ZodUnion<[z.ZodLiteral<number>, z.ZodLiteral<number>]>, never>;
|
|
58
58
|
/**
|
|
59
59
|
* Asserts that the subject is positive infinity.
|
|
60
60
|
*
|
|
@@ -67,7 +67,7 @@ export declare const infiniteAssertion: import("../assertion-types.js").Assertio
|
|
|
67
67
|
*
|
|
68
68
|
* @group Basic Assertions
|
|
69
69
|
*/
|
|
70
|
-
export declare const positiveInfinityAssertion: import("../assertion-types.js").
|
|
70
|
+
export declare const positiveInfinityAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be Infinity"], z.ZodLiteral<number>, never>;
|
|
71
71
|
/**
|
|
72
72
|
* Asserts that the subject is negative infinity.
|
|
73
73
|
*
|
|
@@ -80,7 +80,7 @@ export declare const positiveInfinityAssertion: import("../assertion-types.js").
|
|
|
80
80
|
*
|
|
81
81
|
* @group Basic Assertions
|
|
82
82
|
*/
|
|
83
|
-
export declare const negativeInfinityAssertion: import("../assertion-types.js").
|
|
83
|
+
export declare const negativeInfinityAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be -Infinity"], z.ZodLiteral<number>, never>;
|
|
84
84
|
/**
|
|
85
85
|
* Asserts that the subject is a boolean value.
|
|
86
86
|
*
|
|
@@ -93,7 +93,7 @@ export declare const negativeInfinityAssertion: import("../assertion-types.js").
|
|
|
93
93
|
*
|
|
94
94
|
* @group Basic Assertions
|
|
95
95
|
*/
|
|
96
|
-
export declare const booleanAssertion: import("../assertion-types.js").
|
|
96
|
+
export declare const booleanAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]], z.ZodBoolean, never>;
|
|
97
97
|
/**
|
|
98
98
|
* Asserts that the subject is a positive number.
|
|
99
99
|
*
|
|
@@ -107,7 +107,7 @@ export declare const booleanAssertion: import("../assertion-types.js").Assertion
|
|
|
107
107
|
*
|
|
108
108
|
* @group Basic Assertions
|
|
109
109
|
*/
|
|
110
|
-
export declare const positiveAssertion: import("../assertion-types.js").
|
|
110
|
+
export declare const positiveAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]], z.ZodNumber, never>;
|
|
111
111
|
/**
|
|
112
112
|
* Asserts that the subject is a positive integer.
|
|
113
113
|
*
|
|
@@ -121,7 +121,7 @@ export declare const positiveAssertion: import("../assertion-types.js").Assertio
|
|
|
121
121
|
*
|
|
122
122
|
* @group Basic Assertions
|
|
123
123
|
*/
|
|
124
|
-
export declare const positiveIntegerAssertion: import("../assertion-types.js").
|
|
124
|
+
export declare const positiveIntegerAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]], z.ZodNumber, never>;
|
|
125
125
|
/**
|
|
126
126
|
* Asserts that the subject is a negative number.
|
|
127
127
|
*
|
|
@@ -135,7 +135,7 @@ export declare const positiveIntegerAssertion: import("../assertion-types.js").A
|
|
|
135
135
|
*
|
|
136
136
|
* @group Basic Assertions
|
|
137
137
|
*/
|
|
138
|
-
export declare const negativeAssertion: import("../assertion-types.js").
|
|
138
|
+
export declare const negativeAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]], z.ZodNumber, never>;
|
|
139
139
|
/**
|
|
140
140
|
* Asserts that the subject is a negative integer.
|
|
141
141
|
*
|
|
@@ -149,7 +149,7 @@ export declare const negativeAssertion: import("../assertion-types.js").Assertio
|
|
|
149
149
|
*
|
|
150
150
|
* @group Basic Assertions
|
|
151
151
|
*/
|
|
152
|
-
export declare const negativeIntegerAssertion: import("../assertion-types.js").
|
|
152
|
+
export declare const negativeIntegerAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]], z.ZodNumber, never>;
|
|
153
153
|
/**
|
|
154
154
|
* Asserts that the subject is exactly the boolean value true.
|
|
155
155
|
*
|
|
@@ -163,7 +163,7 @@ export declare const negativeIntegerAssertion: import("../assertion-types.js").A
|
|
|
163
163
|
*
|
|
164
164
|
* @group Basic Assertions
|
|
165
165
|
*/
|
|
166
|
-
export declare const trueAssertion: import("../assertion-types.js").
|
|
166
|
+
export declare const trueAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be true"], z.ZodLiteral<true>, never>;
|
|
167
167
|
/**
|
|
168
168
|
* Asserts that the subject is exactly the boolean value false.
|
|
169
169
|
*
|
|
@@ -177,7 +177,7 @@ export declare const trueAssertion: import("../assertion-types.js").AssertionSch
|
|
|
177
177
|
*
|
|
178
178
|
* @group Basic Assertions
|
|
179
179
|
*/
|
|
180
|
-
export declare const falseAssertion: import("../assertion-types.js").
|
|
180
|
+
export declare const falseAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be false"], z.ZodLiteral<false>, never>;
|
|
181
181
|
/**
|
|
182
182
|
* Asserts that the subject is a BigInt value.
|
|
183
183
|
*
|
|
@@ -190,7 +190,7 @@ export declare const falseAssertion: import("../assertion-types.js").AssertionSc
|
|
|
190
190
|
*
|
|
191
191
|
* @group Basic Assertions
|
|
192
192
|
*/
|
|
193
|
-
export declare const bigintAssertion: import("../assertion-types.js").
|
|
193
|
+
export declare const bigintAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]], z.ZodBigInt, never>;
|
|
194
194
|
/**
|
|
195
195
|
* Asserts that the subject is a Symbol.
|
|
196
196
|
*
|
|
@@ -203,7 +203,7 @@ export declare const bigintAssertion: import("../assertion-types.js").AssertionS
|
|
|
203
203
|
*
|
|
204
204
|
* @group Basic Assertions
|
|
205
205
|
*/
|
|
206
|
-
export declare const symbolAssertion: import("../assertion-types.js").
|
|
206
|
+
export declare const symbolAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]], z.ZodSymbol, never>;
|
|
207
207
|
/**
|
|
208
208
|
* Asserts that the subject is a function.
|
|
209
209
|
*
|
|
@@ -216,7 +216,7 @@ export declare const symbolAssertion: import("../assertion-types.js").AssertionS
|
|
|
216
216
|
*
|
|
217
217
|
* @group Basic Assertions
|
|
218
218
|
*/
|
|
219
|
-
export declare const functionAssertion: import("../assertion-types.js").
|
|
219
|
+
export declare const functionAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a function"], z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, never>;
|
|
220
220
|
/**
|
|
221
221
|
* Asserts that the subject is an async function.
|
|
222
222
|
*
|
|
@@ -229,7 +229,7 @@ export declare const functionAssertion: import("../assertion-types.js").Assertio
|
|
|
229
229
|
*
|
|
230
230
|
* @group Basic Assertions
|
|
231
231
|
*/
|
|
232
|
-
export declare const asyncFunctionAssertion: import("../assertion-types.js").
|
|
232
|
+
export declare const asyncFunctionAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be an async function"], z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, never>;
|
|
233
233
|
/**
|
|
234
234
|
* Asserts that the subject is NaN (Not a Number).
|
|
235
235
|
*
|
|
@@ -243,7 +243,7 @@ export declare const asyncFunctionAssertion: import("../assertion-types.js").Ass
|
|
|
243
243
|
*
|
|
244
244
|
* @group Basic Assertions
|
|
245
245
|
*/
|
|
246
|
-
export declare const nanAssertion: import("../assertion-types.js").
|
|
246
|
+
export declare const nanAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be NaN"], z.ZodNaN, never>;
|
|
247
247
|
/**
|
|
248
248
|
* Asserts that the subject is an integer (safe integer).
|
|
249
249
|
*
|
|
@@ -256,7 +256,7 @@ export declare const nanAssertion: import("../assertion-types.js").AssertionSche
|
|
|
256
256
|
*
|
|
257
257
|
* @group Basic Assertions
|
|
258
258
|
*/
|
|
259
|
-
export declare const integerAssertion: import("../assertion-types.js").
|
|
259
|
+
export declare const integerAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]], z.ZodNumber, never>;
|
|
260
260
|
/**
|
|
261
261
|
* Asserts that the subject is null.
|
|
262
262
|
*
|
|
@@ -269,7 +269,7 @@ export declare const integerAssertion: import("../assertion-types.js").Assertion
|
|
|
269
269
|
*
|
|
270
270
|
* @group Basic Assertions
|
|
271
271
|
*/
|
|
272
|
-
export declare const nullAssertion: import("../assertion-types.js").
|
|
272
|
+
export declare const nullAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be null"], z.ZodNull, never>;
|
|
273
273
|
/**
|
|
274
274
|
* Asserts that the subject is undefined.
|
|
275
275
|
*
|
|
@@ -282,7 +282,7 @@ export declare const nullAssertion: import("../assertion-types.js").AssertionSch
|
|
|
282
282
|
*
|
|
283
283
|
* @group Basic Assertions
|
|
284
284
|
*/
|
|
285
|
-
export declare const undefinedAssertion: import("../assertion-types.js").
|
|
285
|
+
export declare const undefinedAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be undefined"], z.ZodUndefined, never>;
|
|
286
286
|
/**
|
|
287
287
|
* Asserts that the subject is an array.
|
|
288
288
|
*
|
|
@@ -295,7 +295,7 @@ export declare const undefinedAssertion: import("../assertion-types.js").Asserti
|
|
|
295
295
|
*
|
|
296
296
|
* @group Basic Assertions
|
|
297
297
|
*/
|
|
298
|
-
export declare const arrayAssertion: import("../assertion-types.js").
|
|
298
|
+
export declare const arrayAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be an array", "to be array"]], z.ZodArray<z.ZodUnknown>, never>;
|
|
299
299
|
/**
|
|
300
300
|
* Asserts that the subject is a Date object.
|
|
301
301
|
*
|
|
@@ -308,7 +308,7 @@ export declare const arrayAssertion: import("../assertion-types.js").AssertionSc
|
|
|
308
308
|
*
|
|
309
309
|
* @group Basic Assertions
|
|
310
310
|
*/
|
|
311
|
-
export declare const dateAssertion: import("../assertion-types.js").
|
|
311
|
+
export declare const dateAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a date", "to be a Date"]], z.ZodDate, never>;
|
|
312
312
|
/**
|
|
313
313
|
* Asserts that the subject is a class constructor (constructible function).
|
|
314
314
|
*
|
|
@@ -321,7 +321,7 @@ export declare const dateAssertion: import("../assertion-types.js").AssertionSch
|
|
|
321
321
|
*
|
|
322
322
|
* @group Basic Assertions
|
|
323
323
|
*/
|
|
324
|
-
export declare const classAssertion: import("../assertion-types.js").
|
|
324
|
+
export declare const classAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a class", "to be a constructor", "to be constructible"]], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>, never>;
|
|
325
325
|
/**
|
|
326
326
|
* Asserts that the subject is a primitive value (string, number, boolean, null,
|
|
327
327
|
* undefined, symbol, or bigint).
|
|
@@ -335,7 +335,7 @@ export declare const classAssertion: import("../assertion-types.js").AssertionSc
|
|
|
335
335
|
*
|
|
336
336
|
* @group Basic Assertions
|
|
337
337
|
*/
|
|
338
|
-
export declare const primitiveAssertion: import("../assertion-types.js").
|
|
338
|
+
export declare const primitiveAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a primitive"], z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodBigInt, z.ZodSymbol, z.ZodNull, z.ZodUndefined]>, never>;
|
|
339
339
|
/**
|
|
340
340
|
* Asserts that the subject is a regular expression.
|
|
341
341
|
*
|
|
@@ -348,7 +348,7 @@ export declare const primitiveAssertion: import("../assertion-types.js").Asserti
|
|
|
348
348
|
*
|
|
349
349
|
* @group Basic Assertions
|
|
350
350
|
*/
|
|
351
|
-
export declare const regexpAssertion: import("../assertion-types.js").
|
|
351
|
+
export declare const regexpAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]], z.ZodCustom<RegExp, RegExp>, never>;
|
|
352
352
|
/**
|
|
353
353
|
* Asserts that the subject is truthy (not false, 0, '', null, undefined, or
|
|
354
354
|
* NaN).
|
|
@@ -362,7 +362,7 @@ export declare const regexpAssertion: import("../assertion-types.js").AssertionS
|
|
|
362
362
|
*
|
|
363
363
|
* @group Basic Assertions
|
|
364
364
|
*/
|
|
365
|
-
export declare const truthyAssertion: import("../assertion-types.js").
|
|
365
|
+
export declare const truthyAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]], z.ZodNonOptional<z.ZodAny>, never>;
|
|
366
366
|
/**
|
|
367
367
|
* Asserts that the subject is falsy (false, 0, '', null, undefined, or NaN).
|
|
368
368
|
*
|
|
@@ -375,7 +375,7 @@ export declare const truthyAssertion: import("../assertion-types.js").AssertionS
|
|
|
375
375
|
*
|
|
376
376
|
* @group Basic Assertions
|
|
377
377
|
*/
|
|
378
|
-
export declare const falsyAssertion: import("../assertion-types.js").
|
|
378
|
+
export declare const falsyAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be falsy"], z.ZodNullable<z.ZodAny>, never>;
|
|
379
379
|
/**
|
|
380
380
|
* Asserts that the subject is an object (non-null object type).
|
|
381
381
|
*
|
|
@@ -389,7 +389,7 @@ export declare const falsyAssertion: import("../assertion-types.js").AssertionSc
|
|
|
389
389
|
*
|
|
390
390
|
* @group Basic Assertions
|
|
391
391
|
*/
|
|
392
|
-
export declare const objectAssertion: import("../assertion-types.js").
|
|
392
|
+
export declare const objectAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be an object"], z.ZodNonOptional<z.ZodUnknown>, never>;
|
|
393
393
|
/**
|
|
394
394
|
* Asserts that the subject is a record (plain object with string/symbol/number
|
|
395
395
|
* keys).
|
|
@@ -403,7 +403,7 @@ export declare const objectAssertion: import("../assertion-types.js").AssertionS
|
|
|
403
403
|
*
|
|
404
404
|
* @group Basic Assertions
|
|
405
405
|
*/
|
|
406
|
-
export declare const recordAssertion: import("../assertion-types.js").
|
|
406
|
+
export declare const recordAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]], z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>, z.ZodUnknown>, never>;
|
|
407
407
|
/**
|
|
408
408
|
* Asserts that an array is empty.
|
|
409
409
|
*
|
|
@@ -440,7 +440,7 @@ export declare const emptyArrayAssertion: import("../assertion-types.js").Assert
|
|
|
440
440
|
*
|
|
441
441
|
* @group Basic Assertions
|
|
442
442
|
*/
|
|
443
|
-
export declare const emptyObjectAssertion: import("../assertion-types.js").
|
|
443
|
+
export declare const emptyObjectAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>, z.ZodUnknown>, "to be empty"], z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>, z.ZodUnknown>, readonly [z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
|
|
444
444
|
/**
|
|
445
445
|
* Asserts that the subject is an Error instance.
|
|
446
446
|
*
|
|
@@ -453,7 +453,7 @@ export declare const emptyObjectAssertion: import("../assertion-types.js").Asser
|
|
|
453
453
|
*
|
|
454
454
|
* @group Basic Assertions
|
|
455
455
|
*/
|
|
456
|
-
export declare const errorAssertion: import("../assertion-types.js").
|
|
456
|
+
export declare const errorAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be an Error", "to be a Error"]], z.ZodCustom<Error, Error>, never>;
|
|
457
457
|
/**
|
|
458
458
|
* Asserts that a string is empty.
|
|
459
459
|
*
|
|
@@ -466,7 +466,7 @@ export declare const errorAssertion: import("../assertion-types.js").AssertionSc
|
|
|
466
466
|
*
|
|
467
467
|
* @group Basic Assertions
|
|
468
468
|
*/
|
|
469
|
-
export declare const emptyStringAssertion: import("../assertion-types.js").
|
|
469
|
+
export declare const emptyStringAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodString, "to be empty"], z.ZodString, readonly [z.ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
|
|
470
470
|
/**
|
|
471
471
|
* Asserts that a string is non-empty.
|
|
472
472
|
*
|
|
@@ -479,7 +479,7 @@ export declare const emptyStringAssertion: import("../assertion-types.js").Asser
|
|
|
479
479
|
*
|
|
480
480
|
* @group Basic Assertions
|
|
481
481
|
*/
|
|
482
|
-
export declare const nonEmptyStringAssertion: import("../assertion-types.js").
|
|
482
|
+
export declare const nonEmptyStringAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodString, "to be non-empty"], z.ZodString, readonly [z.ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>;
|
|
483
483
|
/**
|
|
484
484
|
* Asserts that the subject is defined (not undefined).
|
|
485
485
|
*
|
|
@@ -492,7 +492,7 @@ export declare const nonEmptyStringAssertion: import("../assertion-types.js").As
|
|
|
492
492
|
*
|
|
493
493
|
* @group Basic Assertions
|
|
494
494
|
*/
|
|
495
|
-
export declare const definedAssertion: import("../assertion-types.js").
|
|
495
|
+
export declare const definedAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be defined"], z.ZodNonOptional<z.ZodUnknown>, never>;
|
|
496
496
|
/**
|
|
497
497
|
* Asserts that the subject is a Set instance.
|
|
498
498
|
*
|
|
@@ -505,7 +505,7 @@ export declare const definedAssertion: import("../assertion-types.js").Assertion
|
|
|
505
505
|
*
|
|
506
506
|
* @group Basic Assertions
|
|
507
507
|
*/
|
|
508
|
-
export declare const setAssertion: import("../assertion-types.js").
|
|
508
|
+
export declare const setAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a Set"], z.ZodCustom<Set<unknown>, Set<unknown>>, never>;
|
|
509
509
|
/**
|
|
510
510
|
* Asserts that the subject is a WeakMap instance.
|
|
511
511
|
*
|
|
@@ -518,7 +518,7 @@ export declare const setAssertion: import("../assertion-types.js").AssertionSche
|
|
|
518
518
|
*
|
|
519
519
|
* @group Basic Assertions
|
|
520
520
|
*/
|
|
521
|
-
export declare const weakMapAssertion: import("../assertion-types.js").
|
|
521
|
+
export declare const weakMapAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a WeakMap"], z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>, never>;
|
|
522
522
|
/**
|
|
523
523
|
* Asserts that the subject is a WeakSet instance.
|
|
524
524
|
*
|
|
@@ -531,5 +531,5 @@ export declare const weakMapAssertion: import("../assertion-types.js").Assertion
|
|
|
531
531
|
*
|
|
532
532
|
* @group Basic Assertions
|
|
533
533
|
*/
|
|
534
|
-
export declare const weakSetAssertion: import("../assertion-types.js").
|
|
534
|
+
export declare const weakSetAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be a WeakSet"], z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>, never>;
|
|
535
535
|
//# sourceMappingURL=sync-basic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-basic.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-basic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ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;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,uIAA8C,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,qKAG5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,mJAG5B,CAAC"}
|
|
@@ -61,7 +61,7 @@ export declare const mapSizeAssertion: import("../assertion-types.js").Assertion
|
|
|
61
61
|
* @bupkisAnchor map-to-be-empty
|
|
62
62
|
* @bupkisAssertionCategory collections
|
|
63
63
|
*/
|
|
64
|
-
export declare const emptyMapAssertion: import("../assertion-types.js").
|
|
64
|
+
export declare const emptyMapAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
|
|
65
65
|
/**
|
|
66
66
|
* Asserts that a Set or WeakSet contains a specific value. For WeakSet, the
|
|
67
67
|
* value must be an object.
|
|
@@ -121,7 +121,7 @@ export declare const setSizeAssertion: import("../assertion-types.js").Assertion
|
|
|
121
121
|
* @bupkisAnchor set-to-be-empty
|
|
122
122
|
* @bupkisAssertionCategory collections
|
|
123
123
|
*/
|
|
124
|
-
export declare const emptySetAssertion: import("../assertion-types.js").
|
|
124
|
+
export declare const emptySetAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], z.ZodCustom<Set<unknown>, Set<unknown>>, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
|
|
125
125
|
/**
|
|
126
126
|
* Asserts that an array contains a specific value.
|
|
127
127
|
*
|
|
@@ -168,7 +168,7 @@ export declare const arraySizeAssertion: import("../assertion-types.js").Asserti
|
|
|
168
168
|
* @bupkisAnchor array-not-to-be-empty
|
|
169
169
|
* @bupkisAssertionCategory collections
|
|
170
170
|
*/
|
|
171
|
-
export declare const nonEmptyArrayAssertion: import("../assertion-types.js").
|
|
171
|
+
export declare const nonEmptyArrayAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [z.ZodArray<z.ZodUnknown>, "to be non-empty"], z.ZodArray<z.ZodUnknown>, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>;
|
|
172
172
|
/**
|
|
173
173
|
* Asserts that an object has specific keys/properties.
|
|
174
174
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-collection.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-collection.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAqB3B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;mRAuBhC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,2YAM5B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"sync-collection.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-collection.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAqB3B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;mRAuBhC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,2YAM5B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,qVAK7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;+OAsBhC,CAAC;AAEF;;;;;;;;;;;;;;GAc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MAAM,uCAAuC,8kBAUnD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe;;;;oKAW3B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB;;;;+NAkB7B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;saAsC7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;8MAyBhC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kCAAkC;;;;8OAe9C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,+BAA+B;;;;2OAe3C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,8BAA8B;;uQAc1C,CAAC"}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* @bupkisAnchor unknown-to-be-a-valid-date
|
|
29
29
|
* @bupkisAssertionCategory date
|
|
30
30
|
*/
|
|
31
|
-
export declare const validDateAssertion: import("../assertion-types.js").
|
|
31
|
+
export declare const validDateAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodDate, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodISODateTime, import("zod/v4").ZodISODate]>, import("zod/v4").ZodNumber]>, never>;
|
|
32
32
|
/**
|
|
33
33
|
* Asserts that the subject is before another date.
|
|
34
34
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-date.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-date.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmCH;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"sync-date.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-date.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmCH;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,mUAG9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe;;;;;;;;gdAsB3B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc;;;;;;;;+cAsB1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;2sBAkC5B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;seA6B7B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;ykBAwChC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;qBAmB5B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;qBAmB5B,CAAC"}
|
|
@@ -32,7 +32,7 @@ import { z } from 'zod/v4';
|
|
|
32
32
|
* @bupkisAnchor object-to-have-a-null-prototype
|
|
33
33
|
* @bupkisAssertionCategory object
|
|
34
34
|
*/
|
|
35
|
-
export declare const nullPrototypeAssertion: import("../assertion-types.js").
|
|
35
|
+
export declare const nullPrototypeAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly [readonly ["to have a null prototype", "to be a dictionary"]], z.ZodCustom<Record<PropertyKey, unknown>, Record<PropertyKey, unknown>>, never>;
|
|
36
36
|
/**
|
|
37
37
|
* Asserts that a given property key is an enumerable property of the target
|
|
38
38
|
* object.
|
|
@@ -121,7 +121,7 @@ export declare const enumerablePropertyAssertion2: import("../assertion-types.js
|
|
|
121
121
|
* @bupkisAnchor unknown-to-be-sealed
|
|
122
122
|
* @bupkisAssertionCategory object
|
|
123
123
|
*/
|
|
124
|
-
export declare const sealedAssertion: import("../assertion-types.js").
|
|
124
|
+
export declare const sealedAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be sealed"], z.ZodUnknown, never>;
|
|
125
125
|
/**
|
|
126
126
|
* Asserts that an object is frozen using `Object.isFrozen()`.
|
|
127
127
|
*
|
|
@@ -187,5 +187,5 @@ export declare const frozenAssertion: import("../assertion-types.js").AssertionF
|
|
|
187
187
|
* @bupkisAnchor unknown-to-be-extensible
|
|
188
188
|
* @bupkisAssertionCategory object
|
|
189
189
|
*/
|
|
190
|
-
export declare const extensibleAssertion: import("../assertion-types.js").
|
|
190
|
+
export declare const extensibleAssertion: import("../assertion-types.js").AssertionStandardSchemaSync<readonly ["to be extensible"], z.ZodUnknown, never>;
|
|
191
191
|
//# sourceMappingURL=sync-esoteric.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-esoteric.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-esoteric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"sync-esoteric.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-esoteric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,sBAAsB,qNAGlC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,2BAA2B;;;;6MAevC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,4BAA4B,+cAYxC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,eAAe,6GAG3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,eAAe;;;;qBAQ1B,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,mBAAmB,iHAG/B,CAAC"}
|
|
@@ -42,7 +42,7 @@ export declare const instanceOfAssertion: import("../assertion-types.js").Assert
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const typeOfAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnknown, readonly ["to be a", "to be an", "to have type"], z.ZodEnum<{
|
|
44
44
|
[x: string]: string;
|
|
45
|
-
}>], (_: unknown, type: string) => z.ZodString | z.ZodCustom<
|
|
45
|
+
}>], (_: unknown, type: string) => z.ZodString | z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown> | z.ZodNumber | z.ZodSymbol | z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | z.ZodBoolean | z.ZodBigInt | z.ZodNull | z.ZodUndefined | z.ZodArray<z.ZodUnknown> | z.ZodCustom<RegExp, RegExp> | z.ZodDate | z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | z.ZodCustom<Error, Error> | z.ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>> | z.ZodObject<{}, z.core.$loose>, readonly [z.ZodUnknown, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an", "to have type"]>, z.ZodEnum<{
|
|
46
46
|
[x: string]: string;
|
|
47
47
|
}>]>;
|
|
48
48
|
/**
|