@supertape/formatter-progress-bar 7.0.0 → 8.0.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.
@@ -2,10 +2,10 @@ import {Writable} from 'node:stream';
2
2
  import process from 'node:process';
3
3
  import cliProgress from 'cli-progress';
4
4
  import chalk from 'chalk';
5
- import fullstore from 'fullstore';
5
+ import {fullstore} from 'fullstore';
6
6
  import {isCI} from 'ci-info';
7
7
 
8
- global._isCI = isCI;
8
+ globalThis._isCI = isCI;
9
9
 
10
10
  const OK = '👌';
11
11
  const WARNING = '⚠️';
@@ -175,7 +175,7 @@ const defaultStreamOptions = {
175
175
  const getStream = ({total} = defaultStreamOptions) => {
176
176
  const is = total >= SUPERTAPE_PROGRESS_BAR_MIN;
177
177
 
178
- if (is && !global._isCI || SUPERTAPE_PROGRESS_BAR === '1')
178
+ if (is && !globalThis._isCI || SUPERTAPE_PROGRESS_BAR === '1')
179
179
  return stderr;
180
180
 
181
181
  return new Writable();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supertape/formatter-progress-bar",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
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",
@@ -26,7 +26,7 @@
26
26
  "chalk": "^5.3.0",
27
27
  "ci-info": "^4.0.0",
28
28
  "cli-progress": "^3.8.2",
29
- "fullstore": "^3.0.0",
29
+ "fullstore": "^4.0.0",
30
30
  "once": "^1.4.0"
31
31
  },
32
32
  "keywords": [
@@ -37,17 +37,17 @@
37
37
  "devDependencies": {
38
38
  "c8": "^10.1.2",
39
39
  "eslint": "^9.1.1",
40
- "eslint-plugin-putout": "^26.1.0",
41
- "madrun": "^11.0.0",
40
+ "eslint-plugin-putout": "^29.0.2",
41
+ "madrun": "^12.1.0",
42
42
  "montag": "^1.0.0",
43
43
  "nodemon": "^3.0.1",
44
44
  "pullout": "^5.0.1",
45
- "putout": "^39.0.11",
46
- "supertape": "^11.0.0"
45
+ "putout": "^41.0.2",
46
+ "supertape": "^12.0.0"
47
47
  },
48
48
  "license": "MIT",
49
49
  "engines": {
50
- "node": ">=20"
50
+ "node": ">=22"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"