@xylabs/vitest-matchers 4.12.43 → 4.13.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.
@@ -1,41 +1,43 @@
1
- export interface ExpectationResult {
2
- actual?: unknown;
3
- expected?: unknown;
4
- message: () => string;
5
- pass: boolean;
6
- }
7
- export declare const matchers: {
8
- toBeArrayOfSize(received: unknown, expectedSize: number): ExpectationResult;
9
- toBeArray(received: unknown): ExpectationResult;
10
- toBeOneOf(received: unknown, expected: unknown[]): ExpectationResult;
11
- toBeNegative(received: number): ExpectationResult;
12
- toBePositive(received: number): ExpectationResult;
13
- toBeNumber: (received: unknown) => ExpectationResult;
14
- toBeFunction: (received: unknown) => ExpectationResult;
15
- toBeString: (received: unknown) => ExpectationResult;
16
- toBeObject(received: unknown): ExpectationResult;
17
- toBeInteger(received: number): ExpectationResult;
18
- toBeFalse(received: unknown): ExpectationResult;
19
- toBeTrue(received: unknown): ExpectationResult;
20
- toContainAllValues(received: unknown, expectedValues: unknown[]): {
21
- pass: boolean;
22
- message: () => string;
23
- };
24
- toContainKey(received: object, key: string): {
25
- pass: boolean;
26
- message: () => string;
27
- };
28
- toInclude(received: unknown, value: any): {
29
- pass: boolean;
30
- message: () => string;
31
- };
32
- toIncludeAllMembers(received: unknown[], expected: unknown[]): ExpectationResult;
33
- toContainAllKeys(received: object, expectedKeys: string[]): ExpectationResult;
34
- toContainValues(received: object, expectedValues: unknown[]): ExpectationResult;
35
- toBeEmpty(received: unknown): ExpectationResult;
36
- toBeValidDate(received: unknown): {
37
- pass: boolean;
38
- message: () => string;
39
- };
40
- };
41
- //# sourceMappingURL=customMatchers.d.ts.map
1
+ export declare interface ExpectationResult {
2
+ actual?: unknown;
3
+ expected?: unknown;
4
+ message: () => string;
5
+ pass: boolean;
6
+ }
7
+
8
+ export declare const matchers: {
9
+ toBeArrayOfSize(received: unknown, expectedSize: number): ExpectationResult;
10
+ toBeArray(received: unknown): ExpectationResult;
11
+ toBeOneOf(received: unknown, expected: unknown[]): ExpectationResult;
12
+ toBeNegative(received: number): ExpectationResult;
13
+ toBePositive(received: number): ExpectationResult;
14
+ toBeNumber: (received: unknown) => ExpectationResult;
15
+ toBeFunction: (received: unknown) => ExpectationResult;
16
+ toBeString: (received: unknown) => ExpectationResult;
17
+ toBeObject(received: unknown): ExpectationResult;
18
+ toBeInteger(received: number): ExpectationResult;
19
+ toBeFalse(received: unknown): ExpectationResult;
20
+ toBeTrue(received: unknown): ExpectationResult;
21
+ toContainAllValues(received: unknown, expectedValues: unknown[]): {
22
+ pass: boolean;
23
+ message: () => string;
24
+ };
25
+ toContainKey(received: object, key: string): {
26
+ pass: boolean;
27
+ message: () => string;
28
+ };
29
+ toInclude(received: unknown, value: any): {
30
+ pass: boolean;
31
+ message: () => string;
32
+ };
33
+ toIncludeAllMembers(received: unknown[], expected: unknown[]): ExpectationResult;
34
+ toContainAllKeys(received: object, expectedKeys: string[]): ExpectationResult;
35
+ toContainValues(received: object, expectedValues: unknown[]): ExpectationResult;
36
+ toBeEmpty(received: unknown): ExpectationResult;
37
+ toBeValidDate(received: unknown): {
38
+ pass: boolean;
39
+ message: () => string;
40
+ };
41
+ };
42
+
43
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/vitest-matchers",
3
- "version": "4.12.43",
3
+ "version": "4.13.0",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "log",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "exports": {
32
32
  ".": {
33
- "types": "./dist/types/index.d.ts",
33
+ "types": "./dist/neutral/index.d.ts",
34
34
  "default": "./dist/neutral/index.mjs"
35
35
  },
36
36
  "./package.json": "./package.json"
37
37
  },
38
38
  "module": "./dist/neutral/index.mjs",
39
- "types": "./dist/types/index.d.ts",
39
+ "types": "./dist/neutral/index.d.ts",
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^6.5.12",
42
- "@xylabs/tsconfig": "^6.5.12",
41
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.7",
42
+ "@xylabs/tsconfig": "^7.0.0-rc.7",
43
43
  "typescript": "^5.8.3"
44
44
  },
45
45
  "engines": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"customMatchers.d.ts","sourceRoot":"","sources":["../../src/customMatchers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,MAAM,CAAA;IACrB,IAAI,EAAE,OAAO,CAAA;CACd;AAeD,eAAO,MAAM,QAAQ;8BACO,OAAO,gBAAgB,MAAM,GAAG,iBAAiB;wBAcvD,OAAO,GAAG,iBAAiB;wBAY3B,OAAO,YAAY,OAAO,EAAE,GAAG,iBAAiB;2BAc7C,MAAM,GAAG,iBAAiB;2BAkB1B,MAAM,GAAG,iBAAiB;2BAkB1B,OAAO;6BACL,OAAO;2BACT,OAAO;yBACT,OAAO,GAAG,iBAAiB;0BAY1B,MAAM,GAAG,iBAAiB;wBAkB5B,OAAO,GAAG,iBAAiB;uBAY5B,OAAO,GAAG,iBAAiB;iCAYjB,OAAO,kBAAkB,OAAO,EAAE;;;;2BA0BxC,MAAM,OAAO,MAAM;;;;wBAatB,OAAO,SAAS,GAAG;;;;kCAqBT,OAAO,EAAE,YAAY,OAAO,EAAE,GAAG,iBAAiB;+BAwBrD,MAAM,gBAAgB,MAAM,EAAE,GAAG,iBAAiB;8BA+BnD,MAAM,kBAAkB,OAAO,EAAE,GAAG,iBAAiB;wBAgD3D,OAAO,GAAG,iBAAiB;4BA8BnC,OAAO;;;;CAapB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './customMatchers.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}