@sprucelabs/test-utils 3.4.33 → 3.4.35
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.
|
@@ -7,8 +7,8 @@ declare const assertUtil: {
|
|
|
7
7
|
fail(message?: string, stack?: string): never;
|
|
8
8
|
stringify(object: any): string;
|
|
9
9
|
replacePlaceholders(str: string): string;
|
|
10
|
-
dropInPlaceholders(obj: Record<string, any>): Record<string, any>;
|
|
11
|
-
dropInPlaceholder(obj: Record<string, any>, checker: (obj: any, depth: number) => boolean, placeholder: string, depth?: number): Record<string, any>;
|
|
10
|
+
dropInPlaceholders(obj: Record<string, any>): any[] | Record<string, any>;
|
|
11
|
+
dropInPlaceholder(obj: Record<string, any>, checker: (obj: any, depth: number) => boolean, placeholder: string, depth?: number): any[] | Record<string, any>;
|
|
12
12
|
doHaystacksPassCheck(haystacks: any[], needle: any, check: ISpruceAssert['doesInclude']): boolean;
|
|
13
13
|
assertTypeof(actual: any, type: string, message: string | undefined): void;
|
|
14
14
|
checkDoesThrowError(matcher: string | RegExp | undefined, err: Error, msg?: string | undefined): void;
|
|
@@ -7,8 +7,8 @@ declare const assertUtil: {
|
|
|
7
7
|
fail(message?: string, stack?: string): never;
|
|
8
8
|
stringify(object: any): string;
|
|
9
9
|
replacePlaceholders(str: string): string;
|
|
10
|
-
dropInPlaceholders(obj: Record<string, any>): Record<string, any>;
|
|
11
|
-
dropInPlaceholder(obj: Record<string, any>, checker: (obj: any, depth: number) => boolean, placeholder: string, depth?: number): Record<string, any>;
|
|
10
|
+
dropInPlaceholders(obj: Record<string, any>): any[] | Record<string, any>;
|
|
11
|
+
dropInPlaceholder(obj: Record<string, any>, checker: (obj: any, depth: number) => boolean, placeholder: string, depth?: number): any[] | Record<string, any>;
|
|
12
12
|
doHaystacksPassCheck(haystacks: any[], needle: any, check: ISpruceAssert['doesInclude']): boolean;
|
|
13
13
|
assertTypeof(actual: any, type: string, message: string | undefined): void;
|
|
14
14
|
checkDoesThrowError(matcher: string | RegExp | undefined, err: Error, msg?: string | undefined): void;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.4.
|
|
6
|
+
"version": "3.4.35",
|
|
7
7
|
"files": [
|
|
8
8
|
"build"
|
|
9
9
|
],
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"watch.tsc": "tsc -w"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@sprucelabs/error": "^5.0.
|
|
68
|
+
"@sprucelabs/error": "^5.0.599",
|
|
69
69
|
"deep-equal": "^2.2.0",
|
|
70
70
|
"just-clone": "^6.2.0",
|
|
71
71
|
"lodash": "^4.17.21",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"@sprucelabs/esm-postbuild": "^2.0.22",
|
|
77
77
|
"@sprucelabs/jest-sheets-reporter": "^2.0.20",
|
|
78
78
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
79
|
-
"@sprucelabs/test": "^7.7.
|
|
79
|
+
"@sprucelabs/test": "^7.7.438",
|
|
80
80
|
"@types/deep-equal": "^1.0.1",
|
|
81
81
|
"@types/jest": "^29.5.0",
|
|
82
82
|
"@types/lodash": "^4.14.192",
|
|
83
83
|
"@types/node": "^18.15.11",
|
|
84
84
|
"chokidar-cli": "^3.0.0",
|
|
85
|
-
"eslint": "^8.
|
|
85
|
+
"eslint": "^8.38.0",
|
|
86
86
|
"eslint-config-spruce": "^10.12.0",
|
|
87
87
|
"jest": "^29.5.0",
|
|
88
88
|
"jest-circus": "^29.5.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"ts-node": "^10.9.1",
|
|
91
91
|
"tsc-watch": "^6.0.0",
|
|
92
92
|
"tsconfig-paths": "^4.2.0",
|
|
93
|
-
"typescript": "^5.0.
|
|
93
|
+
"typescript": "^5.0.4"
|
|
94
94
|
},
|
|
95
95
|
"jest": {
|
|
96
96
|
"testEnvironment": "node",
|