@sprucelabs/test-utils 5.1.528 → 5.1.530

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  import { expectType } from 'ts-expect';
2
+ export * from './assert.utility';
2
3
  export type RecursivePartial<T> = {
3
4
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
4
5
  };
@@ -1,4 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
18
  };
@@ -10,6 +24,7 @@ const isObjectLike_1 = __importDefault(require("lodash/isObjectLike"));
10
24
  const ts_expect_1 = require("ts-expect");
11
25
  const variable_diff_1 = __importDefault(require("variable-diff"));
12
26
  const assert_utility_1 = __importDefault(require("./assert.utility"));
27
+ __exportStar(require("./assert.utility"), exports);
13
28
  const stringify = assert_utility_1.default.stringify.bind(assert_utility_1.default);
14
29
  function isExactType(_) { }
15
30
  const assert = {
@@ -1,4 +1,5 @@
1
1
  import { expectType } from 'ts-expect';
2
+ export * from './assert.utility';
2
3
  export type RecursivePartial<T> = {
3
4
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
4
5
  };
@@ -5,6 +5,7 @@ import isObjectLike from 'lodash/isObjectLike.js';
5
5
  import { expectType } from 'ts-expect';
6
6
  import diff from 'variable-diff';
7
7
  import assertUtil from './assert.utility.js';
8
+ export * from './assert.utility.js';
8
9
  const stringify = assertUtil.stringify.bind(assertUtil);
9
10
  function isExactType(_) { }
10
11
  const assert = {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "5.1.528",
6
+ "version": "5.1.530",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -76,7 +76,7 @@
76
76
  "@types/deep-equal": "^1.0.4",
77
77
  "@types/jest": "^29.5.14",
78
78
  "@types/lodash": "^4.17.13",
79
- "@types/node": "^22.10.2",
79
+ "@types/node": "^22.10.3",
80
80
  "chokidar-cli": "^3.0.0",
81
81
  "eslint": "^9.17.0",
82
82
  "eslint-config-spruce": "^11.2.26",