@socketsecurity/cli-with-sentry 1.1.23 → 1.1.26
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/CHANGELOG.md +5 -0
- package/dist/cli.js +117 -28
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +6 -4
- package/dist/constants.js.map +1 -1
- package/dist/socket-completion.bash +0 -0
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/handle-fix.d.mts +2 -1
- package/dist/types/commands/fix/handle-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/types.d.mts +3 -0
- package/dist/types/commands/fix/types.d.mts.map +1 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts +1 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +1 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
- package/dist/types/constants.d.mts +1 -0
- package/dist/types/constants.d.mts.map +1 -1
- package/dist/types/utils/api.d.mts +0 -1
- package/dist/types/utils/api.d.mts.map +1 -1
- package/dist/types/utils/debug.d.mts +7 -2
- package/dist/types/utils/debug.d.mts.map +1 -1
- package/dist/types/utils/dlx.d.mts +3 -0
- package/dist/types/utils/dlx.d.mts.map +1 -1
- package/dist/types/utils/organization.d.mts.map +1 -1
- package/dist/types/utils/sdk.d.mts.map +1 -1
- package/dist/utils.js +97 -34
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +8550 -7310
- package/package.json +127 -58
- package/shadow-bin/npm +0 -0
- package/shadow-bin/npx +0 -0
- package/shadow-bin/pnpm +0 -0
- package/shadow-bin/yarn +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.26",
|
|
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",
|
|
@@ -32,6 +32,60 @@
|
|
|
32
32
|
"./requirements.json": "./requirements.json",
|
|
33
33
|
"./translations.json": "./translations.json"
|
|
34
34
|
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "pnpm build:dist",
|
|
37
|
+
"build:dist": "pnpm build:dist:src && pnpm build:dist:types",
|
|
38
|
+
"build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
|
|
39
|
+
"build:dist:types": "pnpm clean:dist:types && tsgo --project tsconfig.dts.json",
|
|
40
|
+
"build:sea": "node src/sea/build-sea.mts",
|
|
41
|
+
"build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
|
|
42
|
+
"check": "pnpm check:lint && pnpm check:tsc",
|
|
43
|
+
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
44
|
+
"check:tsc": "tsgo",
|
|
45
|
+
"check-ci": "pnpm check:lint",
|
|
46
|
+
"coverage": "run-s coverage:*",
|
|
47
|
+
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
48
|
+
"coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
|
|
49
|
+
"clean": "run-p -c --aggregate-output clean:*",
|
|
50
|
+
"clean:cache": "del-cli '**/.cache'",
|
|
51
|
+
"clean:dist": "del-cli 'dist'",
|
|
52
|
+
"clean:dist:types": "del-cli 'dist/types'",
|
|
53
|
+
"clean:external": "del-cli 'external'",
|
|
54
|
+
"clean:node_modules": "del-cli '**/node_modules'",
|
|
55
|
+
"fix": "pnpm lint:fix",
|
|
56
|
+
"knip:dependencies": "knip --dependencies",
|
|
57
|
+
"knip:exports": "knip --include exports,duplicates",
|
|
58
|
+
"lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
|
|
59
|
+
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
60
|
+
"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",
|
|
61
|
+
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
62
|
+
"//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
|
|
63
|
+
"lint:external:fix": "run-s -c lint:external:fix:*",
|
|
64
|
+
"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",
|
|
65
|
+
"lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
|
|
66
|
+
"//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
|
|
67
|
+
"lint:fix": "run-s -c lint:fix:*",
|
|
68
|
+
"lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
|
|
69
|
+
"lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
|
|
70
|
+
"lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
|
|
71
|
+
"lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
|
|
72
|
+
"precommit": "dotenvx -q run -f .env.local -- lint-staged",
|
|
73
|
+
"prepare": "dotenvx -q run -f .env.local -- husky",
|
|
74
|
+
"bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
|
|
75
|
+
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
|
|
76
|
+
"test": "run-s check test:*",
|
|
77
|
+
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
|
|
78
|
+
"test:unit": "dotenvx -q run -f .env.test -- vitest run",
|
|
79
|
+
"test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
|
|
80
|
+
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
|
|
81
|
+
"test-ci": "run-s test:*",
|
|
82
|
+
"test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
|
|
83
|
+
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
|
|
84
|
+
"testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
|
|
85
|
+
"update": "run-p --aggregate-output update:**",
|
|
86
|
+
"update:deps": "taze",
|
|
87
|
+
"update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
|
|
88
|
+
},
|
|
35
89
|
"devDependencies": {
|
|
36
90
|
"@babel/core": "7.28.4",
|
|
37
91
|
"@babel/plugin-proposal-export-default-from": "7.27.1",
|
|
@@ -40,7 +94,7 @@
|
|
|
40
94
|
"@babel/preset-typescript": "7.27.1",
|
|
41
95
|
"@babel/runtime": "7.28.4",
|
|
42
96
|
"@biomejs/biome": "2.2.4",
|
|
43
|
-
"@coana-tech/cli": "14.12.
|
|
97
|
+
"@coana-tech/cli": "14.12.51",
|
|
44
98
|
"@cyclonedx/cdxgen": "11.7.0",
|
|
45
99
|
"@dotenvx/dotenvx": "1.49.0",
|
|
46
100
|
"@eslint/compat": "1.3.2",
|
|
@@ -68,7 +122,7 @@
|
|
|
68
122
|
"@socketregistry/packageurl-js": "1.0.9",
|
|
69
123
|
"@socketsecurity/config": "3.0.1",
|
|
70
124
|
"@socketsecurity/registry": "1.1.17",
|
|
71
|
-
"@socketsecurity/sdk": "1.4.
|
|
125
|
+
"@socketsecurity/sdk": "1.4.94",
|
|
72
126
|
"@types/blessed": "0.1.25",
|
|
73
127
|
"@types/cmd-shim": "5.0.2",
|
|
74
128
|
"@types/js-yaml": "4.0.9",
|
|
@@ -156,6 +210,74 @@
|
|
|
156
210
|
"pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
|
|
157
211
|
]
|
|
158
212
|
},
|
|
213
|
+
"pnpm": {
|
|
214
|
+
"overrides": {
|
|
215
|
+
"@octokit/graphql": "$@octokit/graphql",
|
|
216
|
+
"@octokit/request-error": "$@octokit/request-error",
|
|
217
|
+
"@rollup/plugin-commonjs": "28.0.6",
|
|
218
|
+
"@socketsecurity/registry": "$@socketsecurity/registry",
|
|
219
|
+
"aggregate-error": "npm:@socketregistry/aggregate-error@^1.0.14",
|
|
220
|
+
"ansi-regex": "6.1.0",
|
|
221
|
+
"ansi-term": "0.0.2",
|
|
222
|
+
"blessed": "0.1.81",
|
|
223
|
+
"blessed-contrib": "4.11.0",
|
|
224
|
+
"brace-expansion": "2.0.2",
|
|
225
|
+
"bresenham": "0.0.3",
|
|
226
|
+
"drawille-blessed-contrib": "1.0.0",
|
|
227
|
+
"drawille-canvas-blessed-contrib": "0.1.3",
|
|
228
|
+
"es-define-property": "npm:@socketregistry/es-define-property@^1.0.7",
|
|
229
|
+
"es-set-tostringtag": "npm:@socketregistry/es-set-tostringtag@^1.0.9",
|
|
230
|
+
"function-bind": "npm:@socketregistry/function-bind@^1.0.7",
|
|
231
|
+
"globalthis": "npm:@socketregistry/globalthis@^1.0.7",
|
|
232
|
+
"gopd": "npm:@socketregistry/gopd@^1.0.7",
|
|
233
|
+
"graceful-fs": "4.2.11",
|
|
234
|
+
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1.0.7",
|
|
235
|
+
"has-proto": "npm:@socketregistry/has-proto@^1.0.7",
|
|
236
|
+
"has-symbols": "npm:@socketregistry/has-symbols@^1.0.7",
|
|
237
|
+
"has-tostringtag": "npm:@socketregistry/has-tostringtag@^1.0.7",
|
|
238
|
+
"hasown": "npm:@socketregistry/hasown@^1.0.7",
|
|
239
|
+
"indent-string": "npm:@socketregistry/indent-string@^1.0.13",
|
|
240
|
+
"is-core-module": "npm:@socketregistry/is-core-module@^1.0.10",
|
|
241
|
+
"isarray": "npm:@socketregistry/isarray@^1.0.7",
|
|
242
|
+
"lodash": "4.17.21",
|
|
243
|
+
"meow": "13.2.0",
|
|
244
|
+
"npm-package-arg": "$npm-package-arg",
|
|
245
|
+
"packageurl-js": "npm:@socketregistry/packageurl-js@^1.0.9",
|
|
246
|
+
"path-parse": "npm:@socketregistry/path-parse@^1.0.7",
|
|
247
|
+
"rollup": "4.50.1",
|
|
248
|
+
"safe-buffer": "npm:@socketregistry/safe-buffer@^1.0.8",
|
|
249
|
+
"safer-buffer": "npm:@socketregistry/safer-buffer@^1.0.9",
|
|
250
|
+
"semver": "$semver",
|
|
251
|
+
"set-function-length": "npm:@socketregistry/set-function-length@^1.0.9",
|
|
252
|
+
"shell-quote": "npm:shell-quote@^1.8.3",
|
|
253
|
+
"side-channel": "npm:@socketregistry/side-channel@^1.0.9",
|
|
254
|
+
"string_decoder": "0.10.31",
|
|
255
|
+
"tiny-colors": "$yoctocolors-cjs",
|
|
256
|
+
"tiny-updater": "3.5.3",
|
|
257
|
+
"typedarray": "npm:@socketregistry/typedarray@^1.0.7",
|
|
258
|
+
"undici": "6.21.3",
|
|
259
|
+
"vite": "7.1.5",
|
|
260
|
+
"xml2js": "0.6.2",
|
|
261
|
+
"yaml": "2.8.1",
|
|
262
|
+
"yargs-parser": "$yargs-parser"
|
|
263
|
+
},
|
|
264
|
+
"patchedDependencies": {
|
|
265
|
+
"graceful-fs@4.2.11": "patches/graceful-fs@4.2.11.patch",
|
|
266
|
+
"string_decoder@0.10.31": "patches/string_decoder@0.10.31.patch",
|
|
267
|
+
"meow@13.2.0": "patches/meow@13.2.0.patch",
|
|
268
|
+
"@rollup/plugin-commonjs@28.0.6": "patches/@rollup__plugin-commonjs@28.0.6.patch",
|
|
269
|
+
"ansi-term@0.0.2": "patches/ansi-term@0.0.2.patch",
|
|
270
|
+
"drawille-blessed-contrib@1.0.0": "patches/drawille-blessed-contrib@1.0.0.patch",
|
|
271
|
+
"drawille-canvas-blessed-contrib@0.1.3": "patches/drawille-canvas-blessed-contrib@0.1.3.patch",
|
|
272
|
+
"blessed@0.1.81": "patches/blessed@0.1.81.patch",
|
|
273
|
+
"blessed-contrib@4.11.0": "patches/blessed-contrib@4.11.0.patch",
|
|
274
|
+
"brace-expansion@2.0.2": "patches/brace-expansion@2.0.2.patch",
|
|
275
|
+
"bresenham@0.0.3": "patches/bresenham@0.0.3.patch",
|
|
276
|
+
"lodash@4.17.21": "patches/lodash@4.17.21.patch",
|
|
277
|
+
"rollup@4.50.1": "patches/rollup@4.50.1.patch",
|
|
278
|
+
"tiny-updater@3.5.3": "patches/tiny-updater@3.5.3.patch"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
159
281
|
"typeCoverage": {
|
|
160
282
|
"cache": true,
|
|
161
283
|
"atLeast": 95,
|
|
@@ -168,59 +290,6 @@
|
|
|
168
290
|
"strict": true
|
|
169
291
|
},
|
|
170
292
|
"dependencies": {
|
|
171
|
-
"@sentry/node": "10.
|
|
172
|
-
},
|
|
173
|
-
"scripts": {
|
|
174
|
-
"build": "pnpm build:dist",
|
|
175
|
-
"build:dist": "pnpm build:dist:src && pnpm build:dist:types",
|
|
176
|
-
"build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
|
|
177
|
-
"build:dist:types": "pnpm clean:dist:types && tsgo --project tsconfig.dts.json",
|
|
178
|
-
"build:sea": "node src/sea/build-sea.mts",
|
|
179
|
-
"build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
|
|
180
|
-
"check": "pnpm check:lint && pnpm check:tsc",
|
|
181
|
-
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
182
|
-
"check:tsc": "tsgo",
|
|
183
|
-
"check-ci": "pnpm check:lint",
|
|
184
|
-
"coverage": "run-s coverage:*",
|
|
185
|
-
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
186
|
-
"coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
|
|
187
|
-
"clean": "run-p -c --aggregate-output clean:*",
|
|
188
|
-
"clean:cache": "del-cli '**/.cache'",
|
|
189
|
-
"clean:dist": "del-cli 'dist'",
|
|
190
|
-
"clean:dist:types": "del-cli 'dist/types'",
|
|
191
|
-
"clean:external": "del-cli 'external'",
|
|
192
|
-
"clean:node_modules": "del-cli '**/node_modules'",
|
|
193
|
-
"fix": "pnpm lint:fix",
|
|
194
|
-
"knip:dependencies": "knip --dependencies",
|
|
195
|
-
"knip:exports": "knip --include exports,duplicates",
|
|
196
|
-
"lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
|
|
197
|
-
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
198
|
-
"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",
|
|
199
|
-
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
200
|
-
"//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
|
|
201
|
-
"lint:external:fix": "run-s -c lint:external:fix:*",
|
|
202
|
-
"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",
|
|
203
|
-
"lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
|
|
204
|
-
"//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
|
|
205
|
-
"lint:fix": "run-s -c lint:fix:*",
|
|
206
|
-
"lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
|
|
207
|
-
"lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
|
|
208
|
-
"lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
|
|
209
|
-
"lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
|
|
210
|
-
"precommit": "dotenvx -q run -f .env.local -- lint-staged",
|
|
211
|
-
"bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
|
|
212
|
-
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
|
|
213
|
-
"test": "run-s check test:*",
|
|
214
|
-
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
|
|
215
|
-
"test:unit": "dotenvx -q run -f .env.test -- vitest run",
|
|
216
|
-
"test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
|
|
217
|
-
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
|
|
218
|
-
"test-ci": "run-s test:*",
|
|
219
|
-
"test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
|
|
220
|
-
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
|
|
221
|
-
"testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
|
|
222
|
-
"update": "run-p --aggregate-output update:**",
|
|
223
|
-
"update:deps": "taze",
|
|
224
|
-
"update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
|
|
293
|
+
"@sentry/node": "10.23.0"
|
|
225
294
|
}
|
|
226
|
-
}
|
|
295
|
+
}
|
package/shadow-bin/npm
CHANGED
|
File without changes
|
package/shadow-bin/npx
CHANGED
|
File without changes
|
package/shadow-bin/pnpm
CHANGED
|
File without changes
|
package/shadow-bin/yarn
CHANGED
|
File without changes
|