@plugjs/expect5 0.6.0 → 0.6.1
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/dist/cli.mjs +1 -1
- package/package.json +2 -2
- package/src/expectation/diff.ts +1 -1
- package/src/expectation/print.ts +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -8,7 +8,7 @@ var { $blu, $und, $gry, $wht } = logging;
|
|
|
8
8
|
var $gnd = (s) => $gry($und(s));
|
|
9
9
|
var $bnd = (s) => $blu($und(s));
|
|
10
10
|
var $wnd = (s) => $wht($und(s));
|
|
11
|
-
var version = true ? "0.6.
|
|
11
|
+
var version = true ? "0.6.1" : "0.0.0-dev";
|
|
12
12
|
function help() {
|
|
13
13
|
console.log(`${$blu($und("Usage:"))}
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plugjs/expect5",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"chai": "<5"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@plugjs/plug": "0.6.
|
|
53
|
+
"@plugjs/plug": "0.6.1"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"*.md",
|
package/src/expectation/diff.ts
CHANGED
|
@@ -51,7 +51,7 @@ export type Diff =
|
|
|
51
51
|
* ========================================================================== */
|
|
52
52
|
|
|
53
53
|
type Binary = Buffer | Uint8Array | ArrayBuffer | SharedArrayBuffer
|
|
54
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
54
|
+
// eslint-disable-next-line @typescript-eslint/no-wrapper-object-types
|
|
55
55
|
type BoxedPrimitive = Boolean | String | Number
|
|
56
56
|
type Remarks = { actualMemos: any[], expectedMemos: any[], strict: boolean }
|
|
57
57
|
|
package/src/expectation/print.ts
CHANGED
|
@@ -219,7 +219,7 @@ function printObjectDiff(
|
|
|
219
219
|
* ========================================================================== */
|
|
220
220
|
|
|
221
221
|
function stringify(
|
|
222
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
222
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
223
223
|
value: null | undefined | string | number | boolean | bigint | symbol | Function,
|
|
224
224
|
): string {
|
|
225
225
|
if (typeof value === 'string') return JSON.stringify(value)
|