secure-push-check 2.0.0 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secure-push-check",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Production-ready CLI that scans local Git repositories for security risks before push.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -8,7 +8,8 @@
8
8
  ".": "./src/index.js"
9
9
  },
10
10
  "bin": {
11
- "secure-push-check": "bin/secure-push-check.js"
11
+ "secure-push-check": "bin/secure-push-check.js",
12
+ "spc": "bin/secure-push-check.js"
12
13
  },
13
14
  "files": [
14
15
  "bin",
@@ -75,7 +75,8 @@ export async function scanDependencies(options = {}) {
75
75
  try {
76
76
  const result = await execFileAsync("npm", ["audit", "--json"], {
77
77
  cwd: repoRoot,
78
- maxBuffer: 20 * 1024 * 1024
78
+ maxBuffer: 20 * 1024 * 1024,
79
+ shell: true
79
80
  });
80
81
  stdout = result.stdout;
81
82
  stderr = result.stderr;