bupkis 0.18.0 → 0.18.2
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 +14 -0
- package/package.json +1 -4
- package/src/assertion/assertion-types.ts +4 -4
- package/src/assertion/impl/async-parametric.ts +4 -21
- package/src/assertion/impl/sync-parametric.ts +5 -17
- package/src/expect.ts +0 -4
- package/src/guards.ts +24 -24
- package/src/internal-schema.ts +16 -32
- package/src/value-to-schema.ts +1 -1
- package/dist/assertion/assertion-async.cjs +0 -268
- package/dist/assertion/assertion-async.cjs.map +0 -1
- package/dist/assertion/assertion-async.d.cts +0 -40
- package/dist/assertion/assertion-async.d.cts.map +0 -1
- package/dist/assertion/assertion-async.d.ts +0 -40
- package/dist/assertion/assertion-async.d.ts.map +0 -1
- package/dist/assertion/assertion-async.js +0 -259
- package/dist/assertion/assertion-async.js.map +0 -1
- package/dist/assertion/assertion-standard-schema-async.cjs +0 -132
- package/dist/assertion/assertion-standard-schema-async.cjs.map +0 -1
- package/dist/assertion/assertion-standard-schema-async.d.cts +0 -52
- package/dist/assertion/assertion-standard-schema-async.d.cts.map +0 -1
- package/dist/assertion/assertion-standard-schema-async.d.ts +0 -52
- package/dist/assertion/assertion-standard-schema-async.d.ts.map +0 -1
- package/dist/assertion/assertion-standard-schema-async.js +0 -128
- package/dist/assertion/assertion-standard-schema-async.js.map +0 -1
- package/dist/assertion/assertion-standard-schema-sync.cjs +0 -141
- package/dist/assertion/assertion-standard-schema-sync.cjs.map +0 -1
- package/dist/assertion/assertion-standard-schema-sync.d.cts +0 -52
- package/dist/assertion/assertion-standard-schema-sync.d.cts.map +0 -1
- package/dist/assertion/assertion-standard-schema-sync.d.ts +0 -52
- package/dist/assertion/assertion-standard-schema-sync.d.ts.map +0 -1
- package/dist/assertion/assertion-standard-schema-sync.js +0 -137
- package/dist/assertion/assertion-standard-schema-sync.js.map +0 -1
- package/dist/assertion/assertion-sync.cjs +0 -284
- package/dist/assertion/assertion-sync.cjs.map +0 -1
- package/dist/assertion/assertion-sync.d.cts +0 -60
- package/dist/assertion/assertion-sync.d.cts.map +0 -1
- package/dist/assertion/assertion-sync.d.ts +0 -60
- package/dist/assertion/assertion-sync.d.ts.map +0 -1
- package/dist/assertion/assertion-sync.js +0 -275
- package/dist/assertion/assertion-sync.js.map +0 -1
- package/dist/assertion/assertion-types.cjs +0 -20
- package/dist/assertion/assertion-types.cjs.map +0 -1
- package/dist/assertion/assertion-types.d.cts +0 -1086
- package/dist/assertion/assertion-types.d.cts.map +0 -1
- package/dist/assertion/assertion-types.d.ts +0 -1086
- package/dist/assertion/assertion-types.d.ts.map +0 -1
- package/dist/assertion/assertion-types.js +0 -19
- package/dist/assertion/assertion-types.js.map +0 -1
- package/dist/assertion/assertion.cjs +0 -382
- package/dist/assertion/assertion.cjs.map +0 -1
- package/dist/assertion/assertion.d.cts +0 -109
- package/dist/assertion/assertion.d.cts.map +0 -1
- package/dist/assertion/assertion.d.ts +0 -109
- package/dist/assertion/assertion.d.ts.map +0 -1
- package/dist/assertion/assertion.js +0 -375
- package/dist/assertion/assertion.js.map +0 -1
- package/dist/assertion/create.cjs +0 -148
- package/dist/assertion/create.cjs.map +0 -1
- package/dist/assertion/create.d.cts +0 -85
- package/dist/assertion/create.d.cts.map +0 -1
- package/dist/assertion/create.d.ts +0 -85
- package/dist/assertion/create.d.ts.map +0 -1
- package/dist/assertion/create.js +0 -143
- package/dist/assertion/create.js.map +0 -1
- package/dist/assertion/format-assertion-failure.cjs +0 -63
- package/dist/assertion/format-assertion-failure.cjs.map +0 -1
- package/dist/assertion/format-assertion-failure.d.cts +0 -21
- package/dist/assertion/format-assertion-failure.d.cts.map +0 -1
- package/dist/assertion/format-assertion-failure.d.ts +0 -21
- package/dist/assertion/format-assertion-failure.d.ts.map +0 -1
- package/dist/assertion/format-assertion-failure.js +0 -59
- package/dist/assertion/format-assertion-failure.js.map +0 -1
- package/dist/assertion/impl/assertion-util.cjs +0 -68
- package/dist/assertion/impl/assertion-util.cjs.map +0 -1
- package/dist/assertion/impl/assertion-util.d.cts +0 -36
- package/dist/assertion/impl/assertion-util.d.cts.map +0 -1
- package/dist/assertion/impl/assertion-util.d.ts +0 -36
- package/dist/assertion/impl/assertion-util.d.ts.map +0 -1
- package/dist/assertion/impl/assertion-util.js +0 -62
- package/dist/assertion/impl/assertion-util.js.map +0 -1
- package/dist/assertion/impl/async-iterable.cjs +0 -627
- package/dist/assertion/impl/async-iterable.cjs.map +0 -1
- package/dist/assertion/impl/async-iterable.d.cts +0 -406
- package/dist/assertion/impl/async-iterable.d.cts.map +0 -1
- package/dist/assertion/impl/async-iterable.d.ts +0 -406
- package/dist/assertion/impl/async-iterable.d.ts.map +0 -1
- package/dist/assertion/impl/async-iterable.js +0 -624
- package/dist/assertion/impl/async-iterable.js.map +0 -1
- package/dist/assertion/impl/async-parametric.cjs +0 -423
- package/dist/assertion/impl/async-parametric.cjs.map +0 -1
- package/dist/assertion/impl/async-parametric.d.cts +0 -278
- package/dist/assertion/impl/async-parametric.d.cts.map +0 -1
- package/dist/assertion/impl/async-parametric.d.ts +0 -278
- package/dist/assertion/impl/async-parametric.d.ts.map +0 -1
- package/dist/assertion/impl/async-parametric.js +0 -420
- package/dist/assertion/impl/async-parametric.js.map +0 -1
- package/dist/assertion/impl/async.cjs +0 -56
- package/dist/assertion/impl/async.cjs.map +0 -1
- package/dist/assertion/impl/async.d.cts +0 -179
- package/dist/assertion/impl/async.d.cts.map +0 -1
- package/dist/assertion/impl/async.d.ts +0 -179
- package/dist/assertion/impl/async.d.ts.map +0 -1
- package/dist/assertion/impl/async.js +0 -39
- package/dist/assertion/impl/async.js.map +0 -1
- package/dist/assertion/impl/index.cjs +0 -37
- package/dist/assertion/impl/index.cjs.map +0 -1
- package/dist/assertion/impl/index.d.cts +0 -21
- package/dist/assertion/impl/index.d.cts.map +0 -1
- package/dist/assertion/impl/index.d.ts +0 -21
- package/dist/assertion/impl/index.d.ts.map +0 -1
- package/dist/assertion/impl/index.js +0 -21
- package/dist/assertion/impl/index.js.map +0 -1
- package/dist/assertion/impl/iteration-util.cjs +0 -297
- package/dist/assertion/impl/iteration-util.cjs.map +0 -1
- package/dist/assertion/impl/iteration-util.d.cts +0 -12
- package/dist/assertion/impl/iteration-util.d.cts.map +0 -1
- package/dist/assertion/impl/iteration-util.d.ts +0 -12
- package/dist/assertion/impl/iteration-util.d.ts.map +0 -1
- package/dist/assertion/impl/iteration-util.js +0 -282
- package/dist/assertion/impl/iteration-util.js.map +0 -1
- package/dist/assertion/impl/snapshot.cjs +0 -276
- package/dist/assertion/impl/snapshot.cjs.map +0 -1
- package/dist/assertion/impl/snapshot.d.cts +0 -278
- package/dist/assertion/impl/snapshot.d.cts.map +0 -1
- package/dist/assertion/impl/snapshot.d.ts +0 -278
- package/dist/assertion/impl/snapshot.d.ts.map +0 -1
- package/dist/assertion/impl/snapshot.js +0 -273
- package/dist/assertion/impl/snapshot.js.map +0 -1
- package/dist/assertion/impl/sync-basic.cjs +0 -553
- package/dist/assertion/impl/sync-basic.cjs.map +0 -1
- package/dist/assertion/impl/sync-basic.d.cts +0 -528
- package/dist/assertion/impl/sync-basic.d.cts.map +0 -1
- package/dist/assertion/impl/sync-basic.d.ts +0 -528
- package/dist/assertion/impl/sync-basic.d.ts.map +0 -1
- package/dist/assertion/impl/sync-basic.js +0 -550
- package/dist/assertion/impl/sync-basic.js.map +0 -1
- package/dist/assertion/impl/sync-collection.cjs +0 -856
- package/dist/assertion/impl/sync-collection.cjs.map +0 -1
- package/dist/assertion/impl/sync-collection.d.cts +0 -607
- package/dist/assertion/impl/sync-collection.d.cts.map +0 -1
- package/dist/assertion/impl/sync-collection.d.ts +0 -607
- package/dist/assertion/impl/sync-collection.d.ts.map +0 -1
- package/dist/assertion/impl/sync-collection.js +0 -850
- package/dist/assertion/impl/sync-collection.js.map +0 -1
- package/dist/assertion/impl/sync-date.cjs +0 -341
- package/dist/assertion/impl/sync-date.cjs.map +0 -1
- package/dist/assertion/impl/sync-date.d.cts +0 -209
- package/dist/assertion/impl/sync-date.d.cts.map +0 -1
- package/dist/assertion/impl/sync-date.d.ts +0 -209
- package/dist/assertion/impl/sync-date.d.ts.map +0 -1
- package/dist/assertion/impl/sync-date.js +0 -338
- package/dist/assertion/impl/sync-date.js.map +0 -1
- package/dist/assertion/impl/sync-esoteric.cjs +0 -214
- package/dist/assertion/impl/sync-esoteric.cjs.map +0 -1
- package/dist/assertion/impl/sync-esoteric.d.cts +0 -191
- package/dist/assertion/impl/sync-esoteric.d.cts.map +0 -1
- package/dist/assertion/impl/sync-esoteric.d.ts +0 -191
- package/dist/assertion/impl/sync-esoteric.d.ts.map +0 -1
- package/dist/assertion/impl/sync-esoteric.js +0 -211
- package/dist/assertion/impl/sync-esoteric.js.map +0 -1
- package/dist/assertion/impl/sync-iterable.cjs +0 -512
- package/dist/assertion/impl/sync-iterable.cjs.map +0 -1
- package/dist/assertion/impl/sync-iterable.d.cts +0 -334
- package/dist/assertion/impl/sync-iterable.d.cts.map +0 -1
- package/dist/assertion/impl/sync-iterable.d.ts +0 -334
- package/dist/assertion/impl/sync-iterable.d.ts.map +0 -1
- package/dist/assertion/impl/sync-iterable.js +0 -509
- package/dist/assertion/impl/sync-iterable.js.map +0 -1
- package/dist/assertion/impl/sync-parametric.cjs +0 -812
- package/dist/assertion/impl/sync-parametric.cjs.map +0 -1
- package/dist/assertion/impl/sync-parametric.d.cts +0 -560
- package/dist/assertion/impl/sync-parametric.d.cts.map +0 -1
- package/dist/assertion/impl/sync-parametric.d.ts +0 -560
- package/dist/assertion/impl/sync-parametric.d.ts.map +0 -1
- package/dist/assertion/impl/sync-parametric.js +0 -809
- package/dist/assertion/impl/sync-parametric.js.map +0 -1
- package/dist/assertion/impl/sync.cjs +0 -214
- package/dist/assertion/impl/sync.cjs.map +0 -1
- package/dist/assertion/impl/sync.d.cts +0 -512
- package/dist/assertion/impl/sync.d.cts.map +0 -1
- package/dist/assertion/impl/sync.d.ts +0 -512
- package/dist/assertion/impl/sync.d.ts.map +0 -1
- package/dist/assertion/impl/sync.js +0 -197
- package/dist/assertion/impl/sync.js.map +0 -1
- package/dist/assertion/index.cjs +0 -38
- package/dist/assertion/index.cjs.map +0 -1
- package/dist/assertion/index.d.cts +0 -18
- package/dist/assertion/index.d.cts.map +0 -1
- package/dist/assertion/index.d.ts +0 -18
- package/dist/assertion/index.d.ts.map +0 -1
- package/dist/assertion/index.js +0 -17
- package/dist/assertion/index.js.map +0 -1
- package/dist/assertion/slotify.cjs +0 -165
- package/dist/assertion/slotify.cjs.map +0 -1
- package/dist/assertion/slotify.d.cts +0 -11
- package/dist/assertion/slotify.d.cts.map +0 -1
- package/dist/assertion/slotify.d.ts +0 -11
- package/dist/assertion/slotify.d.ts.map +0 -1
- package/dist/assertion/slotify.js +0 -161
- package/dist/assertion/slotify.js.map +0 -1
- package/dist/bootstrap.cjs +0 -43
- package/dist/bootstrap.cjs.map +0 -1
- package/dist/bootstrap.d.cts +0 -27
- package/dist/bootstrap.d.cts.map +0 -1
- package/dist/bootstrap.d.ts +0 -27
- package/dist/bootstrap.d.ts.map +0 -1
- package/dist/bootstrap.js +0 -40
- package/dist/bootstrap.js.map +0 -1
- package/dist/constant.cjs +0 -82
- package/dist/constant.cjs.map +0 -1
- package/dist/constant.d.cts +0 -69
- package/dist/constant.d.cts.map +0 -1
- package/dist/constant.d.ts +0 -69
- package/dist/constant.d.ts.map +0 -1
- package/dist/constant.js +0 -79
- package/dist/constant.js.map +0 -1
- package/dist/diff.cjs +0 -340
- package/dist/diff.cjs.map +0 -1
- package/dist/diff.d.cts +0 -51
- package/dist/diff.d.cts.map +0 -1
- package/dist/diff.d.ts +0 -51
- package/dist/diff.d.ts.map +0 -1
- package/dist/diff.js +0 -334
- package/dist/diff.js.map +0 -1
- package/dist/error.cjs +0 -204
- package/dist/error.cjs.map +0 -1
- package/dist/error.d.cts +0 -212
- package/dist/error.d.cts.map +0 -1
- package/dist/error.d.ts +0 -212
- package/dist/error.d.ts.map +0 -1
- package/dist/error.js +0 -191
- package/dist/error.js.map +0 -1
- package/dist/expect.cjs +0 -590
- package/dist/expect.cjs.map +0 -1
- package/dist/expect.d.cts +0 -138
- package/dist/expect.d.cts.map +0 -1
- package/dist/expect.d.ts +0 -138
- package/dist/expect.d.ts.map +0 -1
- package/dist/expect.js +0 -582
- package/dist/expect.js.map +0 -1
- package/dist/guards.cjs +0 -297
- package/dist/guards.cjs.map +0 -1
- package/dist/guards.d.cts +0 -231
- package/dist/guards.d.cts.map +0 -1
- package/dist/guards.d.ts +0 -231
- package/dist/guards.d.ts.map +0 -1
- package/dist/guards.js +0 -277
- package/dist/guards.js.map +0 -1
- package/dist/index.cjs +0 -111
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -448
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.ts +0 -448
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -71
- package/dist/index.js.map +0 -1
- package/dist/internal-schema.cjs +0 -253
- package/dist/internal-schema.cjs.map +0 -1
- package/dist/internal-schema.d.cts +0 -8
- package/dist/internal-schema.d.cts.map +0 -1
- package/dist/internal-schema.d.ts +0 -8
- package/dist/internal-schema.d.ts.map +0 -1
- package/dist/internal-schema.js +0 -248
- package/dist/internal-schema.js.map +0 -1
- package/dist/metadata.cjs +0 -57
- package/dist/metadata.cjs.map +0 -1
- package/dist/metadata.d.cts +0 -27
- package/dist/metadata.d.cts.map +0 -1
- package/dist/metadata.d.ts +0 -27
- package/dist/metadata.d.ts.map +0 -1
- package/dist/metadata.js +0 -54
- package/dist/metadata.js.map +0 -1
- package/dist/schema.cjs +0 -1522
- package/dist/schema.cjs.map +0 -1
- package/dist/schema.d.cts +0 -1196
- package/dist/schema.d.cts.map +0 -1
- package/dist/schema.d.ts +0 -1196
- package/dist/schema.d.ts.map +0 -1
- package/dist/schema.js +0 -1516
- package/dist/schema.js.map +0 -1
- package/dist/snapshot/adapter.cjs +0 -31
- package/dist/snapshot/adapter.cjs.map +0 -1
- package/dist/snapshot/adapter.d.cts +0 -258
- package/dist/snapshot/adapter.d.cts.map +0 -1
- package/dist/snapshot/adapter.d.ts +0 -258
- package/dist/snapshot/adapter.d.ts.map +0 -1
- package/dist/snapshot/adapter.js +0 -27
- package/dist/snapshot/adapter.js.map +0 -1
- package/dist/snapshot/adapters/fallback.cjs +0 -453
- package/dist/snapshot/adapters/fallback.cjs.map +0 -1
- package/dist/snapshot/adapters/fallback.d.cts +0 -185
- package/dist/snapshot/adapters/fallback.d.cts.map +0 -1
- package/dist/snapshot/adapters/fallback.d.ts +0 -185
- package/dist/snapshot/adapters/fallback.d.ts.map +0 -1
- package/dist/snapshot/adapters/fallback.js +0 -446
- package/dist/snapshot/adapters/fallback.js.map +0 -1
- package/dist/snapshot/adapters/node-test.cjs +0 -301
- package/dist/snapshot/adapters/node-test.cjs.map +0 -1
- package/dist/snapshot/adapters/node-test.d.cts +0 -131
- package/dist/snapshot/adapters/node-test.d.cts.map +0 -1
- package/dist/snapshot/adapters/node-test.d.ts +0 -131
- package/dist/snapshot/adapters/node-test.d.ts.map +0 -1
- package/dist/snapshot/adapters/node-test.js +0 -297
- package/dist/snapshot/adapters/node-test.js.map +0 -1
- package/dist/snapshot/index.cjs +0 -61
- package/dist/snapshot/index.cjs.map +0 -1
- package/dist/snapshot/index.d.cts +0 -40
- package/dist/snapshot/index.d.cts.map +0 -1
- package/dist/snapshot/index.d.ts +0 -40
- package/dist/snapshot/index.d.ts.map +0 -1
- package/dist/snapshot/index.js +0 -44
- package/dist/snapshot/index.js.map +0 -1
- package/dist/snapshot/node-version.cjs +0 -49
- package/dist/snapshot/node-version.cjs.map +0 -1
- package/dist/snapshot/node-version.d.cts +0 -34
- package/dist/snapshot/node-version.d.cts.map +0 -1
- package/dist/snapshot/node-version.d.ts +0 -34
- package/dist/snapshot/node-version.d.ts.map +0 -1
- package/dist/snapshot/node-version.js +0 -44
- package/dist/snapshot/node-version.js.map +0 -1
- package/dist/snapshot/select-adapter.cjs +0 -170
- package/dist/snapshot/select-adapter.cjs.map +0 -1
- package/dist/snapshot/select-adapter.d.cts +0 -128
- package/dist/snapshot/select-adapter.d.cts.map +0 -1
- package/dist/snapshot/select-adapter.d.ts +0 -128
- package/dist/snapshot/select-adapter.d.ts.map +0 -1
- package/dist/snapshot/select-adapter.js +0 -164
- package/dist/snapshot/select-adapter.js.map +0 -1
- package/dist/snapshot/serializer.cjs +0 -246
- package/dist/snapshot/serializer.cjs.map +0 -1
- package/dist/snapshot/serializer.d.cts +0 -126
- package/dist/snapshot/serializer.d.cts.map +0 -1
- package/dist/snapshot/serializer.d.ts +0 -126
- package/dist/snapshot/serializer.d.ts.map +0 -1
- package/dist/snapshot/serializer.js +0 -238
- package/dist/snapshot/serializer.js.map +0 -1
- package/dist/standard-schema.cjs +0 -13
- package/dist/standard-schema.cjs.map +0 -1
- package/dist/standard-schema.d.cts +0 -192
- package/dist/standard-schema.d.cts.map +0 -1
- package/dist/standard-schema.d.ts +0 -192
- package/dist/standard-schema.d.ts.map +0 -1
- package/dist/standard-schema.js +0 -12
- package/dist/standard-schema.js.map +0 -1
- package/dist/types.cjs +0 -22
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.cts +0 -905
- package/dist/types.d.cts.map +0 -1
- package/dist/types.d.ts +0 -905
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -21
- package/dist/types.js.map +0 -1
- package/dist/use.cjs +0 -240
- package/dist/use.cjs.map +0 -1
- package/dist/use.d.cts +0 -8
- package/dist/use.d.cts.map +0 -1
- package/dist/use.d.ts +0 -8
- package/dist/use.d.ts.map +0 -1
- package/dist/use.js +0 -236
- package/dist/use.js.map +0 -1
- package/dist/util.cjs +0 -255
- package/dist/util.cjs.map +0 -1
- package/dist/util.d.cts +0 -141
- package/dist/util.d.cts.map +0 -1
- package/dist/util.d.ts +0 -141
- package/dist/util.d.ts.map +0 -1
- package/dist/util.js +0 -234
- package/dist/util.js.map +0 -1
- package/dist/value-to-schema.cjs +0 -537
- package/dist/value-to-schema.cjs.map +0 -1
- package/dist/value-to-schema.d.cts +0 -144
- package/dist/value-to-schema.d.cts.map +0 -1
- package/dist/value-to-schema.d.ts +0 -144
- package/dist/value-to-schema.d.ts.map +0 -1
- package/dist/value-to-schema.js +0 -533
- package/dist/value-to-schema.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AA6HH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBASrB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;unCAOzB,CAAC;AAEX;;;;GAIG;AAEH,eAAO,MAAM,mBAAmB;;;;2xLAuCtB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ivBA6B3B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gVA+B3B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;mCAGzB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sXAQjB,CAAC;AAEX,8BAA8B;AAG9B,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,mCAAmC;AACnC,qCAAqC"}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Synchronous assertion implementations.
|
|
3
|
-
*
|
|
4
|
-
* This module contains all built-in synchronous assertion implementations
|
|
5
|
-
* including type checks, comparisons, equality tests, object satisfaction,
|
|
6
|
-
* function behavior validation, and property checks. Each assertion is
|
|
7
|
-
* implemented with proper error handling and type safety.
|
|
8
|
-
*
|
|
9
|
-
* @groupDescription Assertion Collections
|
|
10
|
-
* Collections of individual assertions. For those building on top of <span class="bupkis">BUPKIS</span>.
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
* @showGroups
|
|
14
|
-
*/
|
|
15
|
-
import { snapshotAssertion, snapshotAssertionWithOptions } from "./snapshot.js";
|
|
16
|
-
import { arrayAssertion, asyncFunctionAssertion, bigintAssertion, booleanAssertion, classAssertion, dateAssertion, definedAssertion, emptyArrayAssertion, emptyObjectAssertion, emptyStringAssertion, errorAssertion, falseAssertion, falsyAssertion, functionAssertion, infiniteAssertion, integerAssertion, nanAssertion, negativeAssertion, negativeInfinityAssertion, negativeIntegerAssertion, nonEmptyStringAssertion, nullAssertion, numberAssertion, objectAssertion, positiveAssertion, positiveInfinityAssertion, positiveIntegerAssertion, primitiveAssertion, recordAssertion, regexpAssertion, setAssertion, stringAssertion, symbolAssertion, trueAssertion, truthyAssertion, undefinedAssertion, weakMapAssertion, weakSetAssertion, } from "./sync-basic.js";
|
|
17
|
-
import { arrayContainsAssertion, arrayItemSatisfiesAssertion, arraySizeAssertion, collectionSizeBetweenAssertion, collectionSizeGreaterThanAssertion, collectionSizeLessThanAssertion, emptyMapAssertion, emptySetAssertion, mapContainsAssertion, mapEntryAssertion, mapEqualityAssertion, mapKeyAssertion, mapSizeAssertion, mapValueAssertion, nonEmptyArrayAssertion, objectExactKeyAssertion, objectKeyAssertion, objectKeysAssertion, objectSizeAssertion, setContainsAssertion, setDifferenceEqualityAssertion, setDisjointAssertion, setEqualityAssertion, setIntersectionAssertion, setIntersectionEqualityAssertion, setSizeAssertion, setSubsetAssertion, setSupersetAssertion, setSymmetricDifferenceEqualityAssertion, setUnionEqualityAssertion, } from "./sync-collection.js";
|
|
18
|
-
import { afterAssertion, beforeAssertion, betweenAssertion, equalWithinAssertion, sameDateAssertion, validDateAssertion, weekdayAssertion, weekendAssertion, } from "./sync-date.js";
|
|
19
|
-
import { enumerablePropertyAssertion, enumerablePropertyAssertion2, extensibleAssertion, frozenAssertion, nullPrototypeAssertion, sealedAssertion, } from "./sync-esoteric.js";
|
|
20
|
-
import { SyncIterableAssertions } from "./sync-iterable.js";
|
|
21
|
-
import { deepEqualAssertion, errorMessageAssertion, errorMessageMatchingAssertion, functionArityAssertion, functionThrowsAssertion, functionThrowsSatisfyingAssertion, functionThrowsTypeAssertion, functionThrowsTypeSatisfyingAssertion, instanceOfAssertion, numberCloseToAssertion, numberGreaterThanAssertion, numberGreaterThanOrEqualAssertion, numberLessThanAssertion, numberLessThanOrEqualAssertion, numberWithinRangeAssertion, oneOfAssertion, satisfiesAssertion, strictEqualityAssertion, stringBeginsWithAssertion, stringEndsWithAssertion, stringGreaterThanAssertion, stringGreaterThanOrEqualAssertion, stringIncludesAssertion, stringLengthAssertion, stringLessThanAssertion, stringLessThanOrEqualAssertion, stringMatchesAssertion, typeOfAssertion, } from "./sync-parametric.js";
|
|
22
|
-
/**
|
|
23
|
-
* Tuple of all built-in date-related synchronous assertions.
|
|
24
|
-
*
|
|
25
|
-
* @group Assertion Collections
|
|
26
|
-
*/
|
|
27
|
-
export const SyncDateAssertions = [
|
|
28
|
-
afterAssertion,
|
|
29
|
-
beforeAssertion,
|
|
30
|
-
betweenAssertion,
|
|
31
|
-
equalWithinAssertion,
|
|
32
|
-
sameDateAssertion,
|
|
33
|
-
validDateAssertion,
|
|
34
|
-
weekdayAssertion,
|
|
35
|
-
weekendAssertion,
|
|
36
|
-
];
|
|
37
|
-
/**
|
|
38
|
-
* Tuple of all built-in esoteric synchronous assertions.
|
|
39
|
-
*
|
|
40
|
-
* @group Assertion Collections
|
|
41
|
-
*/
|
|
42
|
-
export const SyncEsotericAssertions = [
|
|
43
|
-
nullPrototypeAssertion,
|
|
44
|
-
frozenAssertion,
|
|
45
|
-
enumerablePropertyAssertion,
|
|
46
|
-
enumerablePropertyAssertion2,
|
|
47
|
-
sealedAssertion,
|
|
48
|
-
extensibleAssertion,
|
|
49
|
-
];
|
|
50
|
-
/**
|
|
51
|
-
* Tuple of all built-in basic synchronous assertions.
|
|
52
|
-
*
|
|
53
|
-
* @group Assertion Collections
|
|
54
|
-
*/
|
|
55
|
-
export const SyncBasicAssertions = [
|
|
56
|
-
arrayAssertion,
|
|
57
|
-
asyncFunctionAssertion,
|
|
58
|
-
bigintAssertion,
|
|
59
|
-
booleanAssertion,
|
|
60
|
-
classAssertion,
|
|
61
|
-
dateAssertion,
|
|
62
|
-
definedAssertion,
|
|
63
|
-
emptyArrayAssertion,
|
|
64
|
-
emptyObjectAssertion,
|
|
65
|
-
emptyStringAssertion,
|
|
66
|
-
errorAssertion,
|
|
67
|
-
falseAssertion,
|
|
68
|
-
falsyAssertion,
|
|
69
|
-
functionAssertion,
|
|
70
|
-
infiniteAssertion,
|
|
71
|
-
integerAssertion,
|
|
72
|
-
nanAssertion,
|
|
73
|
-
negativeAssertion,
|
|
74
|
-
negativeInfinityAssertion,
|
|
75
|
-
negativeIntegerAssertion,
|
|
76
|
-
nonEmptyStringAssertion,
|
|
77
|
-
nullAssertion,
|
|
78
|
-
numberAssertion,
|
|
79
|
-
objectAssertion,
|
|
80
|
-
positiveAssertion,
|
|
81
|
-
positiveInfinityAssertion,
|
|
82
|
-
positiveIntegerAssertion,
|
|
83
|
-
primitiveAssertion,
|
|
84
|
-
recordAssertion,
|
|
85
|
-
regexpAssertion,
|
|
86
|
-
setAssertion,
|
|
87
|
-
stringAssertion,
|
|
88
|
-
symbolAssertion,
|
|
89
|
-
trueAssertion,
|
|
90
|
-
truthyAssertion,
|
|
91
|
-
undefinedAssertion,
|
|
92
|
-
weakMapAssertion,
|
|
93
|
-
weakSetAssertion,
|
|
94
|
-
];
|
|
95
|
-
/**
|
|
96
|
-
* Tuple of all built-in parametric synchronous assertions.
|
|
97
|
-
*
|
|
98
|
-
* @group Assertion Collections
|
|
99
|
-
*/
|
|
100
|
-
export const SyncParametricAssertions = [
|
|
101
|
-
instanceOfAssertion,
|
|
102
|
-
typeOfAssertion,
|
|
103
|
-
numberGreaterThanAssertion,
|
|
104
|
-
numberLessThanAssertion,
|
|
105
|
-
numberGreaterThanOrEqualAssertion,
|
|
106
|
-
numberLessThanOrEqualAssertion,
|
|
107
|
-
numberWithinRangeAssertion,
|
|
108
|
-
numberCloseToAssertion,
|
|
109
|
-
stringGreaterThanAssertion,
|
|
110
|
-
stringLessThanAssertion,
|
|
111
|
-
stringGreaterThanOrEqualAssertion,
|
|
112
|
-
stringLessThanOrEqualAssertion,
|
|
113
|
-
stringBeginsWithAssertion,
|
|
114
|
-
stringEndsWithAssertion,
|
|
115
|
-
oneOfAssertion,
|
|
116
|
-
functionArityAssertion,
|
|
117
|
-
errorMessageAssertion,
|
|
118
|
-
errorMessageMatchingAssertion,
|
|
119
|
-
strictEqualityAssertion,
|
|
120
|
-
deepEqualAssertion,
|
|
121
|
-
functionThrowsAssertion,
|
|
122
|
-
functionThrowsTypeAssertion,
|
|
123
|
-
functionThrowsSatisfyingAssertion,
|
|
124
|
-
functionThrowsTypeSatisfyingAssertion,
|
|
125
|
-
stringIncludesAssertion,
|
|
126
|
-
stringLengthAssertion,
|
|
127
|
-
stringMatchesAssertion,
|
|
128
|
-
satisfiesAssertion,
|
|
129
|
-
];
|
|
130
|
-
/**
|
|
131
|
-
* @group Assertion Collections
|
|
132
|
-
*/
|
|
133
|
-
export const SyncCollectionAssertions = [
|
|
134
|
-
mapContainsAssertion,
|
|
135
|
-
mapSizeAssertion,
|
|
136
|
-
emptyMapAssertion,
|
|
137
|
-
setContainsAssertion,
|
|
138
|
-
setSizeAssertion,
|
|
139
|
-
emptySetAssertion,
|
|
140
|
-
arrayContainsAssertion,
|
|
141
|
-
arrayItemSatisfiesAssertion,
|
|
142
|
-
arraySizeAssertion,
|
|
143
|
-
nonEmptyArrayAssertion,
|
|
144
|
-
objectKeysAssertion,
|
|
145
|
-
objectSizeAssertion,
|
|
146
|
-
objectExactKeyAssertion,
|
|
147
|
-
objectKeyAssertion,
|
|
148
|
-
setEqualityAssertion,
|
|
149
|
-
setSubsetAssertion,
|
|
150
|
-
setSupersetAssertion,
|
|
151
|
-
setIntersectionAssertion,
|
|
152
|
-
setDisjointAssertion,
|
|
153
|
-
setUnionEqualityAssertion,
|
|
154
|
-
setIntersectionEqualityAssertion,
|
|
155
|
-
setDifferenceEqualityAssertion,
|
|
156
|
-
setSymmetricDifferenceEqualityAssertion,
|
|
157
|
-
mapKeyAssertion,
|
|
158
|
-
mapValueAssertion,
|
|
159
|
-
mapEntryAssertion,
|
|
160
|
-
mapEqualityAssertion,
|
|
161
|
-
collectionSizeGreaterThanAssertion,
|
|
162
|
-
collectionSizeLessThanAssertion,
|
|
163
|
-
collectionSizeBetweenAssertion,
|
|
164
|
-
];
|
|
165
|
-
/**
|
|
166
|
-
* Tuple of snapshot-related synchronous assertions.
|
|
167
|
-
*
|
|
168
|
-
* @group Assertion Collections
|
|
169
|
-
*/
|
|
170
|
-
export const SyncSnapshotAssertions = [
|
|
171
|
-
snapshotAssertion,
|
|
172
|
-
snapshotAssertionWithOptions,
|
|
173
|
-
];
|
|
174
|
-
/**
|
|
175
|
-
* Tuple of all built-in synchronous assertions.
|
|
176
|
-
*
|
|
177
|
-
* @group Assertion Collections
|
|
178
|
-
*/
|
|
179
|
-
export const SyncAssertions = [
|
|
180
|
-
...SyncCollectionAssertions,
|
|
181
|
-
...SyncBasicAssertions,
|
|
182
|
-
...SyncParametricAssertions,
|
|
183
|
-
...SyncEsotericAssertions,
|
|
184
|
-
...SyncDateAssertions,
|
|
185
|
-
...SyncSnapshotAssertions,
|
|
186
|
-
...SyncIterableAssertions,
|
|
187
|
-
];
|
|
188
|
-
export * from "./snapshot.js";
|
|
189
|
-
// Re-export collection tuples for compatibility
|
|
190
|
-
// Re-export all individual assertions for convenience
|
|
191
|
-
export * from "./sync-basic.js";
|
|
192
|
-
export * from "./sync-collection.js";
|
|
193
|
-
export * from "./sync-date.js";
|
|
194
|
-
export * from "./sync-esoteric.js";
|
|
195
|
-
export * from "./sync-iterable.js";
|
|
196
|
-
export * from "./sync-parametric.js";
|
|
197
|
-
//# sourceMappingURL=sync.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../src/assertion/impl/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,sBAAsB;AAChF,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,wBAAwB;AACzB,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,8BAA8B,EAC9B,kCAAkC,EAClC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wBAAwB,GAAG;IACtC,oBAAoB;IACpB,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,iBAAiB;IACjB,sBAAsB;IACtB,2BAA2B;IAC3B,kBAAkB;IAClB,sBAAsB;IACtB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,kBAAkB;IAClB,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;IACpB,wBAAwB;IACxB,oBAAoB;IACpB,yBAAyB;IACzB,gCAAgC;IAChC,8BAA8B;IAC9B,uCAAuC;IACvC,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,oBAAoB;IACpB,kCAAkC;IAClC,+BAA+B;IAC/B,8BAA8B;CACtB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB;IACjB,4BAA4B;CACpB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,wBAAwB;IAC3B,GAAG,mBAAmB;IACtB,GAAG,wBAAwB;IAC3B,GAAG,sBAAsB;IACzB,GAAG,kBAAkB;IACrB,GAAG,sBAAsB;IACzB,GAAG,sBAAsB;CACjB,CAAC;AAEX,8BAA8B;AAC9B,gDAAgD;AAChD,sDAAsD;AACtD,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,mCAAmC;AACnC,qCAAqC"}
|
package/dist/assertion/index.cjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Assertion creation and management utilities.
|
|
4
|
-
*
|
|
5
|
-
* This module provides the main `Assertion` class and factory functions for
|
|
6
|
-
* creating custom assertions. It serves as the primary interface for assertion
|
|
7
|
-
* construction and configuration.
|
|
8
|
-
*
|
|
9
|
-
* @showGroups
|
|
10
|
-
*
|
|
11
|
-
* @packageDocumentation
|
|
12
|
-
*/
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.createAsyncAssertion = exports.createAssertion = exports.BupkisAssertion = exports.BupkisRegistry = void 0;
|
|
29
|
-
var metadata_js_1 = require("../metadata.cjs");
|
|
30
|
-
Object.defineProperty(exports, "BupkisRegistry", { enumerable: true, get: function () { return metadata_js_1.BupkisRegistry; } });
|
|
31
|
-
var assertion_js_1 = require("./assertion.cjs");
|
|
32
|
-
Object.defineProperty(exports, "BupkisAssertion", { enumerable: true, get: function () { return assertion_js_1.BupkisAssertion; } });
|
|
33
|
-
var create_js_1 = require("./create.cjs");
|
|
34
|
-
Object.defineProperty(exports, "createAssertion", { enumerable: true, get: function () { return create_js_1.createAssertion; } });
|
|
35
|
-
Object.defineProperty(exports, "createAsyncAssertion", { enumerable: true, get: function () { return create_js_1.createAsyncAssertion; } });
|
|
36
|
-
__exportStar(require("./impl/async.cjs"), exports);
|
|
37
|
-
__exportStar(require("./impl/sync.cjs"), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assertion/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;AAEH,+CAAgD;AAAvC,6GAAA,cAAc,OAAA;AAEvB,gDAAiD;AAAxC,+GAAA,eAAe,OAAA;AACxB,0CAAoE;AAA3D,4GAAA,eAAe,OAAA;AAAE,iHAAA,oBAAoB,OAAA;AAC9C,mDAAgC;AAChC,kDAA+B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assertion creation and management utilities.
|
|
3
|
-
*
|
|
4
|
-
* This module provides the main `Assertion` class and factory functions for
|
|
5
|
-
* creating custom assertions. It serves as the primary interface for assertion
|
|
6
|
-
* construction and configuration.
|
|
7
|
-
*
|
|
8
|
-
* @showGroups
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
export { BupkisRegistry } from "../metadata.cjs";
|
|
13
|
-
export type * from "./assertion-types.cjs";
|
|
14
|
-
export { BupkisAssertion } from "./assertion.cjs";
|
|
15
|
-
export { createAssertion, createAsyncAssertion } from "./create.cjs";
|
|
16
|
-
export * from "./impl/async.cjs";
|
|
17
|
-
export * from "./impl/sync.cjs";
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assertion/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,wBAAuB;AAChD,2CAA0C;AAC1C,OAAO,EAAE,eAAe,EAAE,wBAAuB;AACjD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,qBAAoB;AACpE,iCAAgC;AAChC,gCAA+B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assertion creation and management utilities.
|
|
3
|
-
*
|
|
4
|
-
* This module provides the main `Assertion` class and factory functions for
|
|
5
|
-
* creating custom assertions. It serves as the primary interface for assertion
|
|
6
|
-
* construction and configuration.
|
|
7
|
-
*
|
|
8
|
-
* @showGroups
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
export { BupkisRegistry } from "../metadata.js";
|
|
13
|
-
export type * from "./assertion-types.js";
|
|
14
|
-
export { BupkisAssertion } from "./assertion.js";
|
|
15
|
-
export { createAssertion, createAsyncAssertion } from "./create.js";
|
|
16
|
-
export * from "./impl/async.js";
|
|
17
|
-
export * from "./impl/sync.js";
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assertion/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,uBAAuB;AAChD,0CAA0C;AAC1C,OAAO,EAAE,eAAe,EAAE,uBAAuB;AACjD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,oBAAoB;AACpE,gCAAgC;AAChC,+BAA+B"}
|
package/dist/assertion/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assertion creation and management utilities.
|
|
3
|
-
*
|
|
4
|
-
* This module provides the main `Assertion` class and factory functions for
|
|
5
|
-
* creating custom assertions. It serves as the primary interface for assertion
|
|
6
|
-
* construction and configuration.
|
|
7
|
-
*
|
|
8
|
-
* @showGroups
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
export { BupkisRegistry } from "../metadata.js";
|
|
13
|
-
export { BupkisAssertion } from "./assertion.js";
|
|
14
|
-
export { createAssertion, createAsyncAssertion } from "./create.js";
|
|
15
|
-
export * from "./impl/async.js";
|
|
16
|
-
export * from "./impl/sync.js";
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assertion/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,uBAAuB;AAEhD,OAAO,EAAE,eAAe,EAAE,uBAAuB;AACjD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,oBAAoB;AACpE,gCAAgC;AAChC,+BAA+B"}
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Provides {@link slotify}, which converts {@link AssertionParts} (phrases, Zod
|
|
4
|
-
* schemas) into {@link AssertionSlots} (Zod schemas only).
|
|
5
|
-
*
|
|
6
|
-
* `AssertionSlots` are used to match assertions against arguments to
|
|
7
|
-
* `expect()`.
|
|
8
|
-
*
|
|
9
|
-
* @packageDocumentation
|
|
10
|
-
*/
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.slotify = void 0;
|
|
13
|
-
const util_1 = require("util");
|
|
14
|
-
const zod_1 = require("zod");
|
|
15
|
-
const constant_js_1 = require("../constant.cjs");
|
|
16
|
-
const error_js_1 = require("../error.cjs");
|
|
17
|
-
const guards_js_1 = require("../guards.cjs");
|
|
18
|
-
const metadata_js_1 = require("../metadata.cjs");
|
|
19
|
-
/**
|
|
20
|
-
* This cache saves previously-computed _slotifications_ to speed up
|
|
21
|
-
* `createAssertion`/`createAsyncAssertion`. While these are unlikely to be
|
|
22
|
-
* called repeatedly with the same values, it's still extra work that doesn't
|
|
23
|
-
* need to be done more than once.
|
|
24
|
-
*/
|
|
25
|
-
const slotifyCache = new WeakMap();
|
|
26
|
-
/**
|
|
27
|
-
* Cache for phrase literal schemas to avoid recreating identical Zod schemas.
|
|
28
|
-
* This significantly reduces the "Definition (core.js)" overhead seen in flame
|
|
29
|
-
* graphs since phrase literals like 'to be a string' are reused across many
|
|
30
|
-
* assertions.
|
|
31
|
-
*/
|
|
32
|
-
const phraseLiteralSchemaCache = new Map();
|
|
33
|
-
/**
|
|
34
|
-
* Cache for phrase literal choice schemas to avoid recreating identical Zod
|
|
35
|
-
* schemas. This optimizes cases where multiple phrase options like ['to be a',
|
|
36
|
-
* 'to be an'] are reused across different assertions.
|
|
37
|
-
*/
|
|
38
|
-
const phraseLiteralChoiceSchemaCache = new Map();
|
|
39
|
-
/**
|
|
40
|
-
* Builds slots out of assertion parts.
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* This function converts {@link AssertionParts} into {@link AssertionSlots} by
|
|
44
|
-
* processing string literals and Zod schemas, registering metadata for runtime
|
|
45
|
-
* introspection, and handling validation constraints such as preventing "not "
|
|
46
|
-
* prefixes in string literal parts.
|
|
47
|
-
* @function
|
|
48
|
-
* @param parts Assertion parts
|
|
49
|
-
* @returns Slots
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
const slotify = (parts) => {
|
|
53
|
-
if (slotifyCache.has(parts)) {
|
|
54
|
-
// Safe cast: cache key is the exact same `parts` reference
|
|
55
|
-
return slotifyCache.get(parts);
|
|
56
|
-
}
|
|
57
|
-
const slots = parts.flatMap((part, index) => {
|
|
58
|
-
const result = [];
|
|
59
|
-
if (index === 0 && (0, guards_js_1.isPhrase)(part)) {
|
|
60
|
-
result.push(zod_1.z.unknown().meta({ description: 'subject' }));
|
|
61
|
-
}
|
|
62
|
-
if ((0, guards_js_1.isPhraseLiteralChoice)(part)) {
|
|
63
|
-
if (part.some((p) => p.startsWith('not '))) {
|
|
64
|
-
throw new error_js_1.AssertionImplementationError(`PhraseLiteralChoice at parts[${index}] must not include phrases starting with "not "; refactor to be a positive assertion: ${(0, util_1.inspect)(part)}`);
|
|
65
|
-
}
|
|
66
|
-
result.push(createPhraseLiteralChoiceSchema(part));
|
|
67
|
-
}
|
|
68
|
-
else if ((0, guards_js_1.isPhraseLiteral)(part)) {
|
|
69
|
-
if (part.startsWith('not ')) {
|
|
70
|
-
throw new error_js_1.AssertionImplementationError(`PhraseLiteral at parts[${index}] must not start with "not "; refactor to be a positive assertion: ${(0, util_1.inspect)(part)}`);
|
|
71
|
-
}
|
|
72
|
-
result.push(createPhraseLiteralSchema(part));
|
|
73
|
-
}
|
|
74
|
-
else if (typeof part === 'string' && part === 'and') {
|
|
75
|
-
// Special case: "and" is allowed when followed by a schema (Zod or Standard Schema)
|
|
76
|
-
const nextPart = parts[index + 1];
|
|
77
|
-
if (index + 1 >= parts.length ||
|
|
78
|
-
!((0, guards_js_1.isZodType)(nextPart) || (0, guards_js_1.isStandardSchema)(nextPart))) {
|
|
79
|
-
throw new error_js_1.AssertionImplementationError(`"and" at parts[${index}] must be followed by a schema but was followed by ${index + 1 >= parts.length
|
|
80
|
-
? 'nothing'
|
|
81
|
-
: `${(0, util_1.inspect)(nextPart)} (${typeof nextPart})`}`);
|
|
82
|
-
}
|
|
83
|
-
result.push(createPhraseLiteralSchema(part));
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
// Schema parts: either Zod or Standard Schema
|
|
87
|
-
if ((0, guards_js_1.isZodType)(part)) {
|
|
88
|
-
result.push(part);
|
|
89
|
-
}
|
|
90
|
-
else if ((0, guards_js_1.isStandardSchema)(part)) {
|
|
91
|
-
// Convert Standard Schema to Zod schema for slotification
|
|
92
|
-
// Slots use Zod's safeParse, so we need a Zod wrapper
|
|
93
|
-
const zodWrapper = zod_1.z.custom((value) => {
|
|
94
|
-
const validationResult = part['~standard'].validate(value);
|
|
95
|
-
// Must be synchronous for slots
|
|
96
|
-
if (validationResult instanceof Promise) {
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
|
-
return !validationResult.issues;
|
|
100
|
-
}, { error: `Failed Standard Schema validation` });
|
|
101
|
-
result.push(zodWrapper);
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
throw new error_js_1.AssertionImplementationError(`Expected schema, phrase literal, or phrase literal choice at parts[${index}] but received ${(0, util_1.inspect)(part)} (${typeof part})`);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return result;
|
|
108
|
-
});
|
|
109
|
-
slotifyCache.set(parts, slots);
|
|
110
|
-
return slots;
|
|
111
|
-
};
|
|
112
|
-
exports.slotify = slotify;
|
|
113
|
-
/**
|
|
114
|
-
* Creates a schema for a choice of phrase literals
|
|
115
|
-
*
|
|
116
|
-
* This schema is a branded literal schema to differentiate regular strings from
|
|
117
|
-
* phrases.
|
|
118
|
-
*
|
|
119
|
-
* @function
|
|
120
|
-
* @param part Phrase literal choice (tuple of strings)
|
|
121
|
-
* @returns Schema
|
|
122
|
-
*/
|
|
123
|
-
const createPhraseLiteralChoiceSchema = (part) => {
|
|
124
|
-
// Check cache first to avoid recreating identical schemas
|
|
125
|
-
if (phraseLiteralChoiceSchemaCache.has(part)) {
|
|
126
|
-
return phraseLiteralChoiceSchemaCache.get(part);
|
|
127
|
-
}
|
|
128
|
-
const schema = zod_1.z
|
|
129
|
-
.literal(part)
|
|
130
|
-
.brand('string-literal')
|
|
131
|
-
.register(metadata_js_1.BupkisRegistry, {
|
|
132
|
-
[constant_js_1.kStringLiteral]: true,
|
|
133
|
-
values: part,
|
|
134
|
-
});
|
|
135
|
-
// Cache the schema for future use
|
|
136
|
-
phraseLiteralChoiceSchemaCache.set(part, schema);
|
|
137
|
-
return schema;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Creates a schema for a single phrase literal
|
|
141
|
-
*
|
|
142
|
-
* This schema is a branded literal schema to differentiate regular strings from
|
|
143
|
-
* phrases.
|
|
144
|
-
*
|
|
145
|
-
* @function
|
|
146
|
-
* @param part Phrase literal (string)
|
|
147
|
-
* @returns Schema
|
|
148
|
-
*/
|
|
149
|
-
const createPhraseLiteralSchema = (part) => {
|
|
150
|
-
// Check cache first to avoid recreating identical schemas
|
|
151
|
-
if (phraseLiteralSchemaCache.has(part)) {
|
|
152
|
-
return phraseLiteralSchemaCache.get(part);
|
|
153
|
-
}
|
|
154
|
-
const schema = zod_1.z
|
|
155
|
-
.literal(part)
|
|
156
|
-
.brand('string-literal')
|
|
157
|
-
.register(metadata_js_1.BupkisRegistry, {
|
|
158
|
-
[constant_js_1.kStringLiteral]: true,
|
|
159
|
-
value: part,
|
|
160
|
-
});
|
|
161
|
-
// Cache the schema for future use
|
|
162
|
-
phraseLiteralSchemaCache.set(part, schema);
|
|
163
|
-
return schema;
|
|
164
|
-
};
|
|
165
|
-
//# sourceMappingURL=slotify.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slotify.js","sourceRoot":"","sources":["../../src/assertion/slotify.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,+BAA+B;AAC/B,6BAAwB;AASxB,iDAAgD;AAChD,2CAA2D;AAC3D,6CAMsB;AACtB,iDAAgD;AAEhD;;;;;GAKG;AACH,MAAM,YAAY,GAAG,IAAI,OAAO,EAAkC,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,wBAAwB,GAAG,IAAI,GAAG,EAGrC,CAAC;AAEJ;;;;GAIG;AACH,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;;;;;;;;;;;GAYG;AACI,MAAM,OAAO,GAAG,CACrB,KAAY,EACW,EAAE;IACzB,IAAI,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5B,2DAA2D;QAC3D,OAAO,YAAY,CAAC,GAAG,CAAC,KAAK,CAA0B,CAAC;IAC1D,CAAC;IACD,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,MAAM,GAAgB,EAAE,CAAC;QAC/B,IAAI,KAAK,KAAK,CAAC,IAAI,IAAA,oBAAQ,EAAC,IAAI,CAAC,EAAE,CAAC;YAClC,MAAM,CAAC,IAAI,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;QAC5D,CAAC;QAED,IAAI,IAAA,iCAAq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,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC;IACnD,CAAC;IAED,MAAM,MAAM,GAAG,OAAC;SACb,OAAO,CAAC,IAAI,CAAC;SACb,KAAK,CAAmB,gBAAgB,CAAC;SACzC,QAAQ,CAAC,4BAAc,EAAE;QACxB,CAAC,4BAAc,CAAC,EAAE,IAAI;QACtB,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IAEL,kCAAkC;IAClC,8BAA8B,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACjD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,yBAAyB,GAAG,CAChC,IAAmB,EACyC,EAAE;IAC9D,0DAA0D;IAC1D,IAAI,wBAAwB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,OAAO,wBAAwB,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC;IAC7C,CAAC;IAED,MAAM,MAAM,GAAG,OAAC;SACb,OAAO,CAAC,IAAI,CAAC;SACb,KAAK,CAAmB,gBAAgB,CAAC;SACzC,QAAQ,CAAC,4BAAc,EAAE;QACxB,CAAC,4BAAc,CAAC,EAAE,IAAI;QACtB,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;IAEL,kCAAkC;IAClC,wBAAwB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC3C,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provides {@link slotify}, which converts {@link AssertionParts} (phrases, Zod
|
|
3
|
-
* schemas) into {@link AssertionSlots} (Zod schemas only).
|
|
4
|
-
*
|
|
5
|
-
* `AssertionSlots` are used to match assertions against arguments to
|
|
6
|
-
* `expect()`.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=slotify.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slotify.d.ts","sourceRoot":"","sources":["../../src/assertion/slotify.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provides {@link slotify}, which converts {@link AssertionParts} (phrases, Zod
|
|
3
|
-
* schemas) into {@link AssertionSlots} (Zod schemas only).
|
|
4
|
-
*
|
|
5
|
-
* `AssertionSlots` are used to match assertions against arguments to
|
|
6
|
-
* `expect()`.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=slotify.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slotify.d.ts","sourceRoot":"","sources":["../../src/assertion/slotify.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|