@flowscripter/dynamic-cli-framework 5.4.6 → 5.4.8

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.
@@ -173,7 +173,7 @@ export default class Progress {
173
173
  bar.units.length +
174
174
  15 +
175
175
  1 +
176
- taken.length;
176
+ Bun.stripANSI(taken).length;
177
177
  }
178
178
  else {
179
179
  const remaining = bar.rate === undefined || bar.rate === 0
@@ -193,7 +193,7 @@ export default class Progress {
193
193
  bar.units.length +
194
194
  19 +
195
195
  1 +
196
- remaining.length;
196
+ Bun.stripANSI(remaining).length;
197
197
  }
198
198
  let available = consoleWidth - visibleWidth;
199
199
  if (available < 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/dynamic-cli-framework",
3
- "version": "5.4.6",
3
+ "version": "5.4.8",
4
4
  "description": "A framework for developing CLI applications which supports dynamic discovery and installation of new commands",
5
5
  "keywords": [
6
6
  "bun",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@flowscripter/dynamic-cli-framework-api": "^2.3.4",
52
- "@flowscripter/dynamic-plugin-framework": "^2.2.5",
52
+ "@flowscripter/dynamic-plugin-framework": "^2.2.6",
53
53
  "emphasize": "^7.0.0",
54
54
  "fastest-levenshtein": "^1.0.16",
55
55
  "figlet": "^1.11.4",
@@ -60,11 +60,11 @@
60
60
  "supports-terminal-graphics": "^0.1.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@types/bun": "^1.4.1",
63
+ "@types/bun": "^1.4.2",
64
64
  "@types/node": "^26.4.1",
65
65
  "@types/semver": "^7.8.0",
66
- "oxfmt": "0.66.0",
67
- "oxlint": "1.81.0"
66
+ "oxfmt": "0.67.0",
67
+ "oxlint": "1.82.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "typescript": "^7.0.2"
@@ -241,7 +241,7 @@ export default class Progress {
241
241
  bar.units.length +
242
242
  15 +
243
243
  1 +
244
- taken.length;
244
+ Bun.stripANSI(taken).length;
245
245
  } else {
246
246
  const remaining =
247
247
  bar.rate === undefined || bar.rate === 0
@@ -270,7 +270,7 @@ export default class Progress {
270
270
  bar.units.length +
271
271
  19 +
272
272
  1 +
273
- remaining.length;
273
+ Bun.stripANSI(remaining).length;
274
274
  }
275
275
  let available = consoleWidth - visibleWidth;
276
276
  if (available < 0) {