visual-exec 1.1.1 → 1.1.3

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.
@@ -246,7 +246,7 @@ export class VisualExec {
246
246
  if (msgs.length === 0) {
247
247
  item.buf = lines[lines.length - 1] || "";
248
248
  if (item.buf.length > 120) {
249
- item.buf = stripLines[stripLines.length - 1].substr(0, 100);
249
+ item.buf = stripLines[stripLines.length - 1].substring(0, 100);
250
250
  }
251
251
  msgs = [item.buf];
252
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-exec",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "homepage": "https://github.com/jchip/fynjs/tree/main/packages/visual-exec",
5
5
  "description": "Visual shell exec with spinners and progress display",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "engines": {
17
- "node": ">=22.18.0"
17
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
18
18
  },
19
19
  "scripts": {
20
20
  "build": "rm -rf dist && tsc -p tsconfig.json",
@@ -49,8 +49,16 @@
49
49
  "ci-info": "^4.4.0",
50
50
  "has-ansi": "^6.0.2",
51
51
  "strip-ansi": "^7.2.0",
52
- "visual-logger": "^2.1.1",
53
- "xsh": "^1.1.0"
52
+ "visual-logger": "^2.1.2",
53
+ "xsh": "^1.1.2"
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^26.4.1",
57
+ "@vitest/coverage-v8": "^5.0.0",
58
+ "publish-util": "^3.1.1",
59
+ "typescript": "^7.0.2",
60
+ "vite": "^8.2.2",
61
+ "vitest": "^5.0.0"
54
62
  },
55
63
  "sideEffects": false
56
64
  }