supertape 8.4.1 → 8.6.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.
- package/ChangeLog +15 -0
- package/bin/supertape.mjs +1 -0
- package/lib/cli.js +1 -0
- package/lib/is-debug.js +1 -0
- package/lib/run-tests.js +1 -0
- package/lib/supertape.d.ts +5 -2
- package/lib/supertape.js +1 -0
- package/package.json +5 -5
package/ChangeLog
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
2023.09.18, v8.6.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- a449f09 package: eslint-plugin-putout v20.0.0
|
|
5
|
+
- 5c43495 package: putout v32.0.6
|
|
6
|
+
|
|
7
|
+
2023.08.28, v8.5.0
|
|
8
|
+
|
|
9
|
+
feature:
|
|
10
|
+
- 9e4e5e5 package: @supertape/engine-loader v2.0.0
|
|
11
|
+
- 016d5d0 package: @supertape/formatter-progress-bar v4.0.0
|
|
12
|
+
- e7d60b3 @supertape/formatter-progress-bar: drop support of node < 16
|
|
13
|
+
- 256a437 @supertape/engine-loader: drop support of node < 16
|
|
14
|
+
- c926b8e supertape: types: operator: promise
|
|
15
|
+
|
|
1
16
|
2023.08.07, v8.4.1
|
|
2
17
|
|
|
3
18
|
feature:
|
package/bin/supertape.mjs
CHANGED
package/lib/cli.js
CHANGED
package/lib/is-debug.js
CHANGED
package/lib/run-tests.js
CHANGED
package/lib/supertape.d.ts
CHANGED
|
@@ -4,15 +4,17 @@ import {
|
|
|
4
4
|
Stub,
|
|
5
5
|
} from '@cloudcmd/stub';
|
|
6
6
|
|
|
7
|
-
type
|
|
7
|
+
type OperationBaseResult = {
|
|
8
8
|
is: boolean;
|
|
9
9
|
expected: unknown;
|
|
10
10
|
result: unknown;
|
|
11
11
|
message: string;
|
|
12
12
|
output: string;
|
|
13
13
|
};
|
|
14
|
+
type OperationResult = OperationBaseResult | Promise<OperationBaseResult>;
|
|
15
|
+
type OperatorFn = (...args: any[]) => OperationResult;
|
|
14
16
|
type Operator = {
|
|
15
|
-
[index: string]:
|
|
17
|
+
[index: string]: OperatorFn;
|
|
16
18
|
};
|
|
17
19
|
type Test = Operator & OperatorStub & {
|
|
18
20
|
equal: (result: unknown, expected: unknown, message?: string) => OperationResult;
|
|
@@ -58,4 +60,5 @@ export {
|
|
|
58
60
|
stub,
|
|
59
61
|
Stub,
|
|
60
62
|
extend,
|
|
63
|
+
OperationResult,
|
|
61
64
|
};
|
package/lib/supertape.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.0",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "📼 Supertape simplest high speed test runner with superpowers",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@cloudcmd/stub": "^4.0.0",
|
|
43
43
|
"@putout/cli-keypress": "^1.0.0",
|
|
44
44
|
"@putout/cli-validate-args": "^1.0.1",
|
|
45
|
-
"@supertape/engine-loader": "^
|
|
45
|
+
"@supertape/engine-loader": "^2.0.0",
|
|
46
46
|
"@supertape/formatter-fail": "^3.0.0",
|
|
47
47
|
"@supertape/formatter-json-lines": "^2.0.0",
|
|
48
|
-
"@supertape/formatter-progress-bar": "^
|
|
48
|
+
"@supertape/formatter-progress-bar": "^4.0.0",
|
|
49
49
|
"@supertape/formatter-short": "^2.0.0",
|
|
50
50
|
"@supertape/formatter-tap": "^3.0.0",
|
|
51
51
|
"@supertape/operator-stub": "^3.0.0",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"check-dts": "^0.7.0",
|
|
80
80
|
"eslint": "^8.0.0",
|
|
81
81
|
"eslint-plugin-n": "^16.0.1",
|
|
82
|
-
"eslint-plugin-putout": "^
|
|
82
|
+
"eslint-plugin-putout": "^20.0.0",
|
|
83
83
|
"find-up": "^6.3.0",
|
|
84
84
|
"madrun": "^9.0.0",
|
|
85
85
|
"mock-require": "^3.0.2",
|
|
86
86
|
"montag": "^1.0.0",
|
|
87
87
|
"nodemon": "^3.0.1",
|
|
88
88
|
"pullout": "^4.0.0",
|
|
89
|
-
"putout": "^
|
|
89
|
+
"putout": "^32.0.6",
|
|
90
90
|
"runsome": "^1.0.0",
|
|
91
91
|
"try-catch": "^3.0.0",
|
|
92
92
|
"typescript": "^5.1.6"
|