rev-dep 2.0.0-alpha-4 → 2.0.0-alpha-6

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 (2) hide show
  1. package/bin.js +3 -1
  2. package/package.json +3 -3
package/bin.js CHANGED
@@ -52,7 +52,9 @@ if (!fs.existsSync(binary)) {
52
52
  }
53
53
 
54
54
  try {
55
- const result = cp.execSync(`${binary} ${binaryArgs.join(' ')}`, { stdio: 'pipe' })
55
+ const binaryArgsWrapped = binaryArgs.map((arg) => `"${arg}"`)
56
+
57
+ const result = cp.execSync(`${binary} ${binaryArgsWrapped.join(' ')}`, { stdio: 'pipe' })
56
58
 
57
59
  if (Buffer.isBuffer(result)) {
58
60
  process.stdout.write(result.toString())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rev-dep",
3
- "version": "2.0.0-alpha-4",
3
+ "version": "2.0.0-alpha-6",
4
4
  "description": "Dependency debugging tool for JavaScript and TypeScript projects",
5
5
  "bin": "bin.js",
6
6
  "files": [
@@ -17,8 +17,8 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@rev-dep/darwin-arm64": "2.0.0-alpha-4",
21
- "@rev-dep/linux-x64": "2.0.0-alpha-4"
20
+ "@rev-dep/darwin-arm64": "2.0.0-alpha-6",
21
+ "@rev-dep/linux-x64": "2.0.0-alpha-6"
22
22
  },
23
23
  "keywords": [
24
24
  "dependencies",