@supertape/formatter-time 2.0.0 → 2.0.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/lib/time.js +2 -2
- package/package.json +3 -3
package/lib/time.js
CHANGED
|
@@ -7,7 +7,7 @@ import {isCI} from 'ci-info';
|
|
|
7
7
|
import {Timer} from 'timer-node';
|
|
8
8
|
import once from 'once';
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
globalThis._isCI = isCI;
|
|
11
11
|
|
|
12
12
|
const OK = '👌';
|
|
13
13
|
const YELLOW = '#218bff';
|
|
@@ -185,7 +185,7 @@ const defaultStreamOptions = {
|
|
|
185
185
|
const getStream = ({total} = defaultStreamOptions) => {
|
|
186
186
|
const is = total >= SUPERTAPE_TIME_MIN;
|
|
187
187
|
|
|
188
|
-
if (is && !
|
|
188
|
+
if (is && !globalThis._isCI || SUPERTAPE_TIME === '1')
|
|
189
189
|
return stderr;
|
|
190
190
|
|
|
191
191
|
return new Writable();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supertape/formatter-time",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "📼 Supertape formatter progress bar",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"c8": "^10.1.2",
|
|
40
40
|
"eslint": "^9.1.1",
|
|
41
|
-
"eslint-plugin-putout": "^
|
|
41
|
+
"eslint-plugin-putout": "^29.0.2",
|
|
42
42
|
"madrun": "^11.0.0",
|
|
43
43
|
"montag": "^1.0.0",
|
|
44
44
|
"nodemon": "^3.0.1",
|
|
45
45
|
"pullout": "^5.0.1",
|
|
46
|
-
"putout": "^
|
|
46
|
+
"putout": "^41.0.2",
|
|
47
47
|
"supertape": "^11.0.0"
|
|
48
48
|
},
|
|
49
49
|
"license": "MIT",
|