@socketsecurity/cli-with-sentry 1.18.0 → 1.18.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": "@socketsecurity/cli-with-sentry",
3
- "version": "1.18.0",
3
+ "version": "1.18.2",
4
4
  "publishConfig": {
5
5
  "tag": "rc-2.1.0"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "@inquirer/select": "4.3.2",
46
46
  "@socketregistry/packageurl-js": "1.7.0",
47
47
  "@socketsecurity/socket-patch": "5.1.0",
48
- "cross-spawn": "7.0.6",
48
+ "cross-spawn": "7.1.0",
49
49
  "form-data": "4.0.6",
50
50
  "@sentry/node": "11.12.0"
51
51
  },
@@ -194,72 +194,75 @@
194
194
  ]
195
195
  },
196
196
  "scripts": {
197
- "build": "pnpm build:dist",
198
- "build:dist": "pnpm build:dist:src && pnpm build:dist:types",
197
+ "//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
198
+ "//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
199
+ "approve:npm": "node scripts/release/approve-npm.mts",
200
+ "bs": "dotenvx -q run -f .env.local -- pnpm run build:dist:src; pnpm exec socket --",
201
+ "build": "pnpm run build:dist",
202
+ "build:dist": "pnpm run build:dist:src && pnpm run build:dist:types",
199
203
  "build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
200
- "build:dist:types": "pnpm clean:dist:types && tsgo --project .config/tsconfig.dts.json",
201
- "build:sea": "node src/sea/build-sea.mts",
204
+ "build:dist:types": "pnpm run clean:dist:types && tsgo --project .config/tsconfig.dts.json",
202
205
  "build:package-matrix": "node scripts/build-package-matrix.mts",
203
- "snapshots": "node scripts/refresh/snapshots.mts",
206
+ "build:sea": "node src/sea/build-sea.mts",
204
207
  "build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
205
208
  "check": "node scripts/check.mts",
209
+ "check:actions": "node scripts/ci/check-actions.mts",
210
+ "check:ci": "run-s check:actions check:lint",
206
211
  "check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
207
- "check:tsc": "run-s check:tsc:*",
208
- "check:tsc:src": "tsgo",
212
+ "check:tsc": "run-s check:tsc:src check:tsc:scripts",
209
213
  "check:tsc:scripts": "tsgo --project .config/tsconfig.scripts.json",
210
- "check-ci": "pnpm check:lint",
214
+ "check:tsc:src": "tsgo",
211
215
  "ci:setup-node": "node scripts/setup/node.mts --version $NODE_VERSION",
212
216
  "ci:setup-uv": "node scripts/setup/uv.mts",
213
- "coverage": "run-s coverage:*",
214
- "coverage:test": "run-s test:prepare test:unit:coverage",
215
- "coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
216
217
  "clean": "run-p -c --aggregate-output clean:*",
217
218
  "clean:cache": "del-cli '**/.cache'",
218
219
  "clean:dist": "del-cli 'dist'",
219
220
  "clean:dist:types": "del-cli 'dist/types'",
220
221
  "clean:external": "del-cli 'external'",
221
222
  "clean:node_modules": "del-cli '**/node_modules'",
223
+ "coverage": "run-s coverage:*",
224
+ "coverage:test": "run-s test:prepare test:unit:coverage",
225
+ "coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
222
226
  "fix": "node scripts/lint.mts --fix",
223
227
  "knip:dependencies": "knip --dependencies",
224
228
  "knip:exports": "knip --include exports,duplicates",
225
229
  "lint": "node scripts/lint.mts",
226
- "lint:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
227
- "lint:dist:fix": "run-s -c lint:dist:fix:*",
228
- "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
230
+ "lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
231
+ "lint:dist:fix": "run-s -c lint:dist:fix:oxlint lint:dist:fix:biome",
229
232
  "lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
230
- "//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
231
- "lint:external:fix": "run-s -c lint:external:fix:*",
232
- "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
233
+ "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
234
+ "lint:external:fix": "run-s -c lint:external:fix:oxlint lint:external:fix:biome",
233
235
  "lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
234
- "//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
235
- "lint:fix": "run-s -c lint:fix:*",
236
- "lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
236
+ "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
237
+ "lint:fix": "run-s -c lint:fix:oxlint lint:fix:biome lint:fix:eslint",
237
238
  "lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
238
239
  "lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
239
- "lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
240
+ "lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
241
+ "lint:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
242
+ "pack:native": "node scripts/release/native-packages.mts",
240
243
  "precommit": "dotenvx -q run -f .env.local -- lint-staged",
241
- "bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
242
- "s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
243
- "e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.e2e.config.mts",
244
- "integration-tests": "node scripts/test/integration.mts",
245
- "test": "pnpm run check --all && run-s test:prepare test:unit integration-tests e2e-tests",
246
- "test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
247
- "test:unit": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts",
248
- "test:unit:snapshot-dependencies": "pnpm run test:unit test/unit/scripts/refresh/snapshots/dependencies.test.mts test/unit/scripts/refresh/snapshots/swap-version.test.mts",
249
- "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --update",
250
- "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --coverage",
251
- "test-ci": "run-s test:prepare test:unit integration-tests",
252
- "testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
253
- "testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
254
- "update": "node scripts/update.mts",
255
244
  "release:preflight": "node scripts/release/preflight.mts",
256
- "approve:npm": "node scripts/release/approve-npm.mts",
257
- "check:actions": "node scripts/ci/check-actions.mts",
258
- "snapshots:termless:refresh": "node scripts/refresh/snapshots.mts --update",
259
- "snapshots:vite:refresh": "pnpm run test:unit:update",
245
+ "s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
246
+ "snapshots": "node scripts/refresh/snapshots.mts",
260
247
  "snapshots:refresh": "pnpm run snapshots:termless:refresh && pnpm run snapshots:vite:refresh",
261
248
  "snapshots:refresh:dep": "node scripts/refresh/snapshots.mts --update --dep",
249
+ "snapshots:termless:refresh": "node scripts/refresh/snapshots.mts --update",
250
+ "snapshots:vite:refresh": "pnpm run test:unit:update",
251
+ "test": "pnpm run check --all && run-s test:prepare test:unit test:integration test:e2e",
252
+ "test:ci": "run-s test:prepare:build test:unit:ci test:integration:ci",
253
+ "test:e2e": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.e2e.config.mts",
254
+ "test:integration": "node scripts/test/integration.mts",
255
+ "test:integration:ci": "pnpm run test:integration --use-built-dist --bail=1",
256
+ "test:prepare": "dotenvx -q run -f .env.test -- pnpm run test:prepare:build",
257
+ "test:prepare:build": "pnpm run build:dist:src && del-cli 'test/**/node_modules'",
262
258
  "test:sea": "node scripts/test/native.mts",
263
- "pack:native": "node scripts/release/native-packages.mts"
259
+ "test:unit": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts",
260
+ "test:unit:ci": "pnpm run test:unit --bail=1",
261
+ "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --coverage",
262
+ "test:unit:snapshot-dependencies": "pnpm run test:unit test/unit/scripts/refresh/snapshots/dependencies.test.mts test/unit/scripts/refresh/snapshots/swap-version.test.mts",
263
+ "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --config .config/vitest.config.mts --update",
264
+ "testu": "dotenvx -q run -f .env.testu -- pnpm run test:prepare && pnpm run test:unit:update",
265
+ "testuf": "dotenvx -q run -f .env.testu -- pnpm run test:unit:update",
266
+ "update": "node scripts/update.mts"
264
267
  }
265
268
  }
package/requirements.json CHANGED
@@ -81,8 +81,8 @@
81
81
  "permissions": ["full-scans:delete"]
82
82
  },
83
83
  "scan:diff": {
84
- "quota": 1,
85
- "permissions": ["full-scans:list"]
84
+ "quota": 0,
85
+ "permissions": ["diff-scans:create", "diff-scans:list", "full-scans:list"]
86
86
  },
87
87
  "scan:list": {
88
88
  "quota": 1,