bupkis 0.18.2 → 0.18.3

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.3](https://github.com/boneskull/bupkis/compare/bupkis-v0.18.2...bupkis-v0.18.3) (2026-06-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** replace debug with obug ([ed2a6e8](https://github.com/boneskull/bupkis/commit/ed2a6e84577bd85a2cd26b4eed6d613ff99816b9))
9
+ * **deps:** upgrade jest-diff ([5c76107](https://github.com/boneskull/bupkis/commit/5c76107bad6f13a91d0c0b6f7a522e2f2163349f))
10
+
3
11
  ## [0.18.2](https://github.com/boneskull/bupkis/compare/bupkis-v0.18.1...bupkis-v0.18.2) (2026-06-19)
4
12
 
5
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bupkis",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "type": "module",
5
5
  "description": "Uncommonly extensible assertions for the beautiful people",
6
6
  "repository": {
@@ -121,9 +121,9 @@
121
121
  "zod": "^4.1.5"
122
122
  },
123
123
  "dependencies": {
124
- "debug": "^4.4.1",
125
- "jest-diff": "30.2.0",
124
+ "jest-diff": "30.4.1",
126
125
  "json-stable-stringify": "1.3.0",
126
+ "obug": "2.1.3",
127
127
  "set.prototype.difference": "^1.1.7",
128
128
  "set.prototype.intersection": "^1.1.7",
129
129
  "set.prototype.isdisjointfrom": "^1.1.5",
@@ -6,7 +6,7 @@
6
6
  * @see {@link AssertionSchemaSync} for schema-based assertions
7
7
  */
8
8
 
9
- import createDebug from 'debug';
9
+ import { createDebug } from 'obug';
10
10
  import { inspect } from 'util';
11
11
  import { z } from 'zod';
12
12
 
@@ -9,7 +9,7 @@
9
9
  * @packageDocumentation
10
10
  */
11
11
 
12
- import createDebug from 'debug';
12
+ import { createDebug } from 'obug';
13
13
  import slug from 'slug';
14
14
  import { type ArrayValues } from 'type-fest';
15
15
  import { inspect } from 'util';
@@ -57,11 +57,16 @@ export abstract class BupkisAssertion<
57
57
  > implements Assertion<Parts, Impl, Slots> {
58
58
  readonly id: string;
59
59
 
60
- constructor(
61
- readonly parts: Parts,
62
- readonly slots: Slots,
63
- readonly impl: Impl,
64
- ) {
60
+ readonly impl: Impl;
61
+
62
+ readonly parts: Parts;
63
+
64
+ readonly slots: Slots;
65
+
66
+ constructor(parts: Parts, slots: Slots, impl: Impl) {
67
+ this.parts = parts;
68
+ this.slots = slots;
69
+ this.impl = impl;
65
70
  this.id = this.generateAssertionId();
66
71
  debug('ℹ Created assertion %s', this);
67
72
  }
@@ -30,7 +30,7 @@ export type AsyncIterableInput<T> =
30
30
  *
31
31
  * @internal
32
32
  */
33
- export interface AsyncIterationResult<T> {
33
+ interface AsyncIterationResult<T> {
34
34
  /** Whether iteration completed successfully (no error) */
35
35
  completed: boolean;
36
36
  /** The total count of items */
@@ -48,7 +48,7 @@ export interface AsyncIterationResult<T> {
48
48
  *
49
49
  * @internal
50
50
  */
51
- export interface SyncIterationResult<T> {
51
+ interface SyncIterationResult<T> {
52
52
  /** The total count of items */
53
53
  count: number;
54
54
  /** Whether the iterator had any values */
package/src/expect.ts CHANGED
@@ -1,4 +1,4 @@
1
- import createDebug from 'debug';
1
+ import { createDebug } from 'obug';
2
2
  import { inspect } from 'util';
3
3
 
4
4
  import {