@socketsecurity/cli 1.1.28 → 1.1.29

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": "@socketsecurity/cli",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "CLI for Socket.dev",
5
5
  "homepage": "https://github.com/SocketDev/socket-cli",
6
6
  "license": "MIT AND OFL-1.1",
package/shadow-bin/npm CHANGED
@@ -11,7 +11,7 @@ void (async () => {
11
11
 
12
12
  process.exitCode = 1
13
13
 
14
- const { spawnPromise } = await shadowNpmBin('npm', process.argv.slice(2), { stdio: 'inherit' })
14
+ const { spawnPromise } = await shadowNpmBin(process.argv.slice(2), { stdio: 'inherit' })
15
15
 
16
16
  // See https://nodejs.org/api/child_process.html#event-exit.
17
17
  spawnPromise.process.on('exit', (code, signalName) => {
package/shadow-bin/npx CHANGED
@@ -7,11 +7,11 @@ void (async () => {
7
7
  const rootPath = path.join(__dirname, '..')
8
8
  Module.enableCompileCache?.(path.join(rootPath, '.cache'))
9
9
 
10
- const shadowNpmBin = require(path.join(rootPath, 'dist/shadow-npm-bin.js'))
10
+ const shadowNpxBin = require(path.join(rootPath, 'dist/shadow-npx-bin.js'))
11
11
 
12
12
  process.exitCode = 1
13
13
 
14
- const { spawnPromise } = await shadowNpmBin('npx', process.argv.slice(2), { stdio: 'inherit' })
14
+ const { spawnPromise } = await shadowNpxBin(process.argv.slice(2), { stdio: 'inherit' })
15
15
 
16
16
  // See https://nodejs.org/api/child_process.html#event-exit.
17
17
  spawnPromise.process.on('exit', (code, signalName) => {