@socketsecurity/cli-with-sentry 1.1.27 → 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-with-sentry",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "CLI for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
5
5
  "homepage": "https://github.com/SocketDev/socket-cli",
6
6
  "license": "MIT AND OFL-1.1",
@@ -73,6 +73,7 @@
73
73
  "prepare": "dotenvx -q run -f .env.local -- husky",
74
74
  "bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
75
75
  "s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
76
+ "e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
76
77
  "test": "run-s check test:*",
77
78
  "test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
78
79
  "test:unit": "dotenvx -q run -f .env.test -- vitest run",
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) => {