backlog.md 1.9.4 → 1.9.5

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/cli.js +15 -2
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -309,11 +309,11 @@ Perfect for sharing project status, creating reports, or storing snapshots in ve
309
309
 
310
310
  <!-- BOARD_START -->
311
311
 
312
- ## 📊 Backlog.md Project Status (v1.9.3)
312
+ ## 📊 Backlog.md Project Status (v1.9.4)
313
313
 
314
314
  This board was automatically generated by [Backlog.md](https://backlog.md)
315
315
 
316
- Generated on: 2025-09-06 13:00:35
316
+ Generated on: 2025-09-06 13:13:51
317
317
 
318
318
  | To Do | In Progress | Done |
319
319
  | --- | --- | --- |
package/cli.js CHANGED
@@ -11,8 +11,21 @@ try {
11
11
  process.exit(1);
12
12
  }
13
13
 
14
- // Spawn the binary with all arguments
15
- const child = spawn(binaryPath, process.argv.slice(2), {
14
+ // Clean up unexpected args some global shims pass (e.g. bun) like the binary path itself
15
+ const rawArgs = process.argv.slice(2);
16
+ const cleanedArgs = rawArgs.filter((arg) => {
17
+ if (arg === binaryPath) return false;
18
+ // Filter any accidental deep path to our platform package binary
19
+ try {
20
+ const pattern = /node_modules[\/\\]backlog\.md-(darwin|linux|windows)-[^\/\\]+[\/\\]backlog(\.exe)?$/i;
21
+ return !pattern.test(arg);
22
+ } catch {
23
+ return true;
24
+ }
25
+ });
26
+
27
+ // Spawn the binary with cleaned arguments
28
+ const child = spawn(binaryPath, cleanedArgs, {
16
29
  stdio: "inherit",
17
30
  windowsHide: true,
18
31
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backlog.md",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "files": [
5
5
  "cli.js",
6
6
  "resolveBinary.cjs",
@@ -13,11 +13,11 @@
13
13
  "backlog": "cli.js"
14
14
  },
15
15
  "optionalDependencies": {
16
- "backlog.md-linux-x64": "1.9.4",
17
- "backlog.md-linux-arm64": "1.9.4",
18
- "backlog.md-darwin-x64": "1.9.4",
19
- "backlog.md-darwin-arm64": "1.9.4",
20
- "backlog.md-windows-x64": "1.9.4"
16
+ "backlog.md-linux-x64": "1.9.5",
17
+ "backlog.md-linux-arm64": "1.9.5",
18
+ "backlog.md-darwin-x64": "1.9.5",
19
+ "backlog.md-darwin-arm64": "1.9.5",
20
+ "backlog.md-windows-x64": "1.9.5"
21
21
  },
22
22
  "scripts": {
23
23
  "postuninstall": "node postuninstall.cjs"