@socketsecurity/cli 1.1.153 → 1.1.155
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 +18 -0
- package/README.md +28 -23
- package/dist/cli.js +4135 -3974
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
- package/dist/shadow-npm-bin2.js +27 -2
- package/dist/shadow-npm-bin2.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/ci/handle-ci.d.mts +7 -0
- package/dist/types/commands/ci/handle-ci.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -1
- package/dist/types/commands/manifest/discover-manifest-roots.d.mts +2 -1
- package/dist/types/commands/manifest/discover-manifest-roots.d.mts.map +1 -1
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts +24 -6
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts.map +1 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -1
- package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts.map +1 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/sidecar.d.mts +47 -21
- package/dist/types/commands/manifest/scripts/sidecar.d.mts.map +1 -1
- package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts +8 -6
- package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +1 -1
- package/dist/types/commands/scan/reachability-flags.d.mts.map +1 -1
- package/dist/types/shadow/npm-base.d.mts +18 -0
- package/dist/types/shadow/npm-base.d.mts.map +1 -1
- package/dist/types/utils/fs.d.mts +4 -0
- package/dist/types/utils/fs.d.mts.map +1 -1
- package/dist/types/utils/git.d.mts +6 -0
- package/dist/types/utils/git.d.mts.map +1 -1
- package/dist/types/utils/github-errors.d.mts +2 -1
- package/dist/types/utils/github-errors.d.mts.map +1 -1
- package/dist/types/utils/glob.d.mts.map +1 -1
- package/dist/types/utils/npm-paths.d.mts +17 -0
- package/dist/types/utils/npm-paths.d.mts.map +1 -1
- package/dist/utils.js +348 -120
- package/dist/utils.js.map +1 -1
- package/package.json +18 -13
- package/logo-dark.png +0 -0
- package/logo-light.png +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.155",
|
|
4
4
|
"description": "CLI for Socket.dev",
|
|
5
5
|
"contentPolicy": {
|
|
6
6
|
"class": "dual-use"
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"./translations.json": "./translations.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@socketsecurity/socket-patch": "2.0.0"
|
|
39
|
+
"@socketsecurity/socket-patch": "2.0.0",
|
|
40
|
+
"form-data": "4.0.6"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@babel/core": "7.29.6",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"@babel/preset-typescript": "7.27.1",
|
|
47
48
|
"@babel/runtime": "7.28.4",
|
|
48
49
|
"@biomejs/biome": "2.2.4",
|
|
49
|
-
"@coana-tech/cli": "15.10.
|
|
50
|
+
"@coana-tech/cli": "15.10.8",
|
|
50
51
|
"@cyclonedx/cdxgen": "12.1.2",
|
|
51
52
|
"@dotenvx/dotenvx": "1.49.0",
|
|
52
53
|
"@eslint/compat": "1.3.2",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"@types/blessed": "0.1.25",
|
|
79
80
|
"@types/cmd-shim": "5.0.2",
|
|
80
81
|
"@types/js-yaml": "4.0.9",
|
|
82
|
+
"@types/mdast": "4.0.4",
|
|
81
83
|
"@types/micromatch": "4.0.9",
|
|
82
84
|
"@types/mock-fs": "4.13.4",
|
|
83
85
|
"@types/node": "24.3.1",
|
|
@@ -113,7 +115,10 @@
|
|
|
113
115
|
"knip": "5.63.1",
|
|
114
116
|
"lint-staged": "16.1.6",
|
|
115
117
|
"magic-string": "0.30.19",
|
|
118
|
+
"mdast-util-from-markdown": "2.0.3",
|
|
119
|
+
"mdast-util-gfm": "3.1.0",
|
|
116
120
|
"meow": "13.2.0",
|
|
121
|
+
"micromark-extension-gfm": "3.0.0",
|
|
117
122
|
"micromatch": "4.0.8",
|
|
118
123
|
"mock-fs": "5.5.0",
|
|
119
124
|
"nock": "14.0.10",
|
|
@@ -121,6 +126,7 @@
|
|
|
121
126
|
"npm-run-all2": "8.0.4",
|
|
122
127
|
"open": "10.2.0",
|
|
123
128
|
"oxlint": "1.15.0",
|
|
129
|
+
"parse5": "8.0.1",
|
|
124
130
|
"pony-cause": "2.1.11",
|
|
125
131
|
"postject": "1.0.0-alpha.6",
|
|
126
132
|
"rollup": "4.50.1",
|
|
@@ -150,8 +156,6 @@
|
|
|
150
156
|
"shadow-bin/**",
|
|
151
157
|
"CHANGELOG.md",
|
|
152
158
|
"DISCLOSURE",
|
|
153
|
-
"logo-dark.png",
|
|
154
|
-
"logo-light.png",
|
|
155
159
|
"requirements.json",
|
|
156
160
|
"translations.json"
|
|
157
161
|
],
|
|
@@ -180,9 +184,11 @@
|
|
|
180
184
|
"build:maven-extension": "bash src/commands/manifest/scripts/maven-extension/build-jar.sh",
|
|
181
185
|
"build:sea": "node src/sea/build-sea.mts",
|
|
182
186
|
"build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
|
|
183
|
-
"check": "
|
|
187
|
+
"check": "node scripts/check.mts",
|
|
184
188
|
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
185
|
-
"check:tsc": "
|
|
189
|
+
"check:tsc": "run-s check:tsc:*",
|
|
190
|
+
"check:tsc:src": "tsgo",
|
|
191
|
+
"check:tsc:scripts": "tsgo --project tsconfig.scripts.json",
|
|
186
192
|
"check-ci": "pnpm check:lint",
|
|
187
193
|
"coverage": "run-s coverage:*",
|
|
188
194
|
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
@@ -193,10 +199,11 @@
|
|
|
193
199
|
"clean:dist:types": "del-cli 'dist/types'",
|
|
194
200
|
"clean:external": "del-cli 'external'",
|
|
195
201
|
"clean:node_modules": "del-cli '**/node_modules'",
|
|
196
|
-
"fix": "
|
|
202
|
+
"fix": "node scripts/lint.mts --fix",
|
|
197
203
|
"knip:dependencies": "knip --dependencies",
|
|
198
204
|
"knip:exports": "knip --include exports,duplicates",
|
|
199
|
-
"lint": "
|
|
205
|
+
"lint": "node scripts/lint.mts",
|
|
206
|
+
"lint:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
|
|
200
207
|
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
201
208
|
"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",
|
|
202
209
|
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
@@ -214,7 +221,7 @@
|
|
|
214
221
|
"bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
|
|
215
222
|
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
|
|
216
223
|
"e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
|
|
217
|
-
"test": "run-s
|
|
224
|
+
"test": "pnpm run check --all && run-s test:*",
|
|
218
225
|
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
|
|
219
226
|
"test:unit": "dotenvx -q run -f .env.test -- vitest run",
|
|
220
227
|
"test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
|
|
@@ -222,8 +229,6 @@
|
|
|
222
229
|
"test-ci": "run-s test:*",
|
|
223
230
|
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
|
|
224
231
|
"testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
|
|
225
|
-
"update": "
|
|
226
|
-
"update:deps": "taze",
|
|
227
|
-
"update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
|
|
232
|
+
"update": "node scripts/update.mts"
|
|
228
233
|
}
|
|
229
234
|
}
|
package/logo-dark.png
DELETED
|
Binary file
|
package/logo-light.png
DELETED
|
Binary file
|