@tiny-fish/cli 0.1.3-next.30 → 0.1.3-next.31
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/dist/lib/batch-store.js +2 -1
- package/package.json +8 -4
package/dist/lib/batch-store.js
CHANGED
|
@@ -17,7 +17,8 @@ export function loadBatches() {
|
|
|
17
17
|
return [];
|
|
18
18
|
// Any other error (corrupt JSON, permission denied) — rethrow rather than
|
|
19
19
|
// silently returning [] and risking saveBatch() overwriting the store.
|
|
20
|
-
|
|
20
|
+
const message = e instanceof Error ? e.message : String(e);
|
|
21
|
+
throw new Error(`Failed to read batch store at ${file}: ${message}`, { cause: e });
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
/** Appends `batch` to the persistent store. Reads existing entries first. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiny-fish/cli",
|
|
3
|
-
"version": "0.1.3-next.
|
|
3
|
+
"version": "0.1.3-next.31",
|
|
4
4
|
"description": "TinyFish CLI — run web automations from your terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,14 +27,18 @@
|
|
|
27
27
|
"globals": "^17.4.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
+
"@eslint/js": "^10.0.1",
|
|
30
31
|
"@types/node": "^20.0.0",
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
32
|
-
"@typescript-eslint/parser": "^8.
|
|
33
|
-
"eslint": "^
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
|
33
|
+
"@typescript-eslint/parser": "^8.57.2",
|
|
34
|
+
"eslint": "^10.1.0",
|
|
34
35
|
"prettier": "^3.0.0",
|
|
35
36
|
"typescript": "^5.0.0",
|
|
36
37
|
"vitest": "^3.0.0"
|
|
37
38
|
},
|
|
39
|
+
"overrides": {
|
|
40
|
+
"brace-expansion": "5.0.5"
|
|
41
|
+
},
|
|
38
42
|
"engines": {
|
|
39
43
|
"node": ">=24.0.0"
|
|
40
44
|
},
|