@socketsecurity/cli 1.1.154 → 1.1.156
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 +19 -1
- 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 +16 -12
- 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.156",
|
|
4
4
|
"description": "CLI for Socket.dev",
|
|
5
5
|
"contentPolicy": {
|
|
6
6
|
"class": "dual-use"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@babel/preset-typescript": "7.27.1",
|
|
48
48
|
"@babel/runtime": "7.28.4",
|
|
49
49
|
"@biomejs/biome": "2.2.4",
|
|
50
|
-
"@coana-tech/cli": "15.10.
|
|
50
|
+
"@coana-tech/cli": "15.10.10",
|
|
51
51
|
"@cyclonedx/cdxgen": "12.1.2",
|
|
52
52
|
"@dotenvx/dotenvx": "1.49.0",
|
|
53
53
|
"@eslint/compat": "1.3.2",
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"@types/blessed": "0.1.25",
|
|
80
80
|
"@types/cmd-shim": "5.0.2",
|
|
81
81
|
"@types/js-yaml": "4.0.9",
|
|
82
|
+
"@types/mdast": "4.0.4",
|
|
82
83
|
"@types/micromatch": "4.0.9",
|
|
83
84
|
"@types/mock-fs": "4.13.4",
|
|
84
85
|
"@types/node": "24.3.1",
|
|
@@ -114,7 +115,10 @@
|
|
|
114
115
|
"knip": "5.63.1",
|
|
115
116
|
"lint-staged": "16.1.6",
|
|
116
117
|
"magic-string": "0.30.19",
|
|
118
|
+
"mdast-util-from-markdown": "2.0.3",
|
|
119
|
+
"mdast-util-gfm": "3.1.0",
|
|
117
120
|
"meow": "13.2.0",
|
|
121
|
+
"micromark-extension-gfm": "3.0.0",
|
|
118
122
|
"micromatch": "4.0.8",
|
|
119
123
|
"mock-fs": "5.5.0",
|
|
120
124
|
"nock": "14.0.10",
|
|
@@ -122,6 +126,7 @@
|
|
|
122
126
|
"npm-run-all2": "8.0.4",
|
|
123
127
|
"open": "10.2.0",
|
|
124
128
|
"oxlint": "1.15.0",
|
|
129
|
+
"parse5": "8.0.1",
|
|
125
130
|
"pony-cause": "2.1.11",
|
|
126
131
|
"postject": "1.0.0-alpha.6",
|
|
127
132
|
"rollup": "4.50.1",
|
|
@@ -151,8 +156,6 @@
|
|
|
151
156
|
"shadow-bin/**",
|
|
152
157
|
"CHANGELOG.md",
|
|
153
158
|
"DISCLOSURE",
|
|
154
|
-
"logo-dark.png",
|
|
155
|
-
"logo-light.png",
|
|
156
159
|
"requirements.json",
|
|
157
160
|
"translations.json"
|
|
158
161
|
],
|
|
@@ -181,9 +184,11 @@
|
|
|
181
184
|
"build:maven-extension": "bash src/commands/manifest/scripts/maven-extension/build-jar.sh",
|
|
182
185
|
"build:sea": "node src/sea/build-sea.mts",
|
|
183
186
|
"build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
|
|
184
|
-
"check": "
|
|
187
|
+
"check": "node scripts/check.mts",
|
|
185
188
|
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
186
|
-
"check:tsc": "
|
|
189
|
+
"check:tsc": "run-s check:tsc:*",
|
|
190
|
+
"check:tsc:src": "tsgo",
|
|
191
|
+
"check:tsc:scripts": "tsgo --project tsconfig.scripts.json",
|
|
187
192
|
"check-ci": "pnpm check:lint",
|
|
188
193
|
"coverage": "run-s coverage:*",
|
|
189
194
|
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
@@ -194,10 +199,11 @@
|
|
|
194
199
|
"clean:dist:types": "del-cli 'dist/types'",
|
|
195
200
|
"clean:external": "del-cli 'external'",
|
|
196
201
|
"clean:node_modules": "del-cli '**/node_modules'",
|
|
197
|
-
"fix": "
|
|
202
|
+
"fix": "node scripts/lint.mts --fix",
|
|
198
203
|
"knip:dependencies": "knip --dependencies",
|
|
199
204
|
"knip:exports": "knip --include exports,duplicates",
|
|
200
|
-
"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 .",
|
|
201
207
|
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
202
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",
|
|
203
209
|
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
@@ -215,7 +221,7 @@
|
|
|
215
221
|
"bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
|
|
216
222
|
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
|
|
217
223
|
"e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
|
|
218
|
-
"test": "run-s
|
|
224
|
+
"test": "pnpm run check --all && run-s test:*",
|
|
219
225
|
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
|
|
220
226
|
"test:unit": "dotenvx -q run -f .env.test -- vitest run",
|
|
221
227
|
"test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
|
|
@@ -223,8 +229,6 @@
|
|
|
223
229
|
"test-ci": "run-s test:*",
|
|
224
230
|
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
|
|
225
231
|
"testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
|
|
226
|
-
"update": "
|
|
227
|
-
"update:deps": "taze",
|
|
228
|
-
"update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
|
|
232
|
+
"update": "node scripts/update.mts"
|
|
229
233
|
}
|
|
230
234
|
}
|
package/logo-dark.png
DELETED
|
Binary file
|
package/logo-light.png
DELETED
|
Binary file
|