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