@socketsecurity/cli-with-sentry 1.16.1 → 1.17.1
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/LICENSE +87 -0
- package/README.md +13 -13
- package/bin/cli.js +9 -9
- package/dist/.config/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/cli.js +2114 -4292
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +71 -87
- package/dist/constants.js.map +1 -1
- package/dist/env-helpers.js +63 -0
- package/dist/env-helpers.js.map +1 -0
- package/dist/instrument-with-sentry.js +7 -7
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/manifest-scripts/dotnet-tool/Microsoft.Build.Locator.dll +0 -0
- package/dist/manifest-scripts/dotnet-tool/socket-facts-dotnet.deps.json +2 -2
- package/dist/manifest-scripts/dotnet-tool/socket-facts-dotnet.dll +0 -0
- package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
- package/dist/runtime-constants.js +345 -0
- package/dist/runtime-constants.js.map +1 -0
- package/dist/shadow-npm-bin2.js +9 -13
- package/dist/shadow-npm-bin2.js.map +1 -1
- package/dist/shadow-npm-inject.js +10 -15
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/shadow-npx-bin.js.map +1 -1
- package/dist/shadow-pnpm-bin2.js +21 -25
- package/dist/shadow-pnpm-bin2.js.map +1 -1
- package/dist/shadow-yarn-bin.js +4 -6
- package/dist/shadow-yarn-bin.js.map +1 -1
- package/dist/socket-completion.bash +0 -0
- package/dist/spawn-sync.js +47 -0
- package/dist/spawn-sync.js.map +1 -0
- package/dist/spinner.js +182 -0
- package/dist/spinner.js.map +1 -0
- package/dist/types/commands/fix/generated-socket-facts.d.mts +5 -2
- package/dist/types/commands/fix/handle-fix.d.mts +1 -1
- package/dist/types/commands/fix/types.d.mts +1 -1
- package/dist/types/commands/manifest/bazel/process.d.mts +2 -2
- package/dist/types/commands/manifest/convert-dotnet-to-facts.d.mts +3 -6
- package/dist/types/commands/manifest/discover-manifest-roots.d.mts +10 -11
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts +16 -30
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +6 -11
- package/dist/types/commands/manifest/load-build.d.mts +3 -11
- package/dist/types/commands/manifest/run-manifest-facts.d.mts +88 -29
- package/dist/types/commands/manifest/scripts/build-tool.d.mts +2 -0
- package/dist/types/commands/optimize/add-overrides.d.mts +2 -2
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +1 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +16 -7
- package/dist/types/commands/optimize/update-lockfile.d.mts +2 -2
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +4 -2
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +2 -2
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +1 -1
- package/dist/types/commands/scan/generate-report.d.mts +1 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +5 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts +1 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts +4 -2
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts +4 -5
- package/dist/types/commands/scan/run-dynamic-sbom-inference.d.mts +7 -15
- package/dist/types/constants/runtime.d.mts +417 -0
- package/dist/types/constants.d.mts +9 -10
- package/dist/types/paths/coana.d.mts +5 -0
- package/dist/types/paths/uv.d.mts +2 -0
- package/dist/types/sea/adapters/cdxgen-worker.d.mts +1 -0
- package/dist/types/sea/adapters/synp-worker.d.mts +1 -0
- package/dist/types/sea/build/cdxgen-fixture.d.mts +4 -0
- package/dist/types/sea/build/smoke-test.d.mts +2 -0
- package/dist/types/sea/build-sea.d.mts +4 -2
- package/dist/types/sea/download-bytes.d.mts +0 -1
- package/dist/types/sea/paths/archive.d.mts +3 -0
- package/dist/types/sea/paths/coana-cache.d.mts +1 -0
- package/dist/types/sea/paths/native-tools.d.mts +13 -0
- package/dist/types/sea/pnpm-lock.d.mts +22 -0
- package/dist/types/sea/rollup-workers.d.mts +1 -0
- package/dist/types/sea/runtime.d.mts +4 -3
- package/dist/types/sea/vfs-digest.d.mts +2 -0
- package/dist/types/shadow/common.d.mts +1 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts +1 -1
- package/dist/types/shadow/npm/bin.d.mts +1 -1
- package/dist/types/shadow/npm/install.d.mts +3 -3
- package/dist/types/shadow/npm-base.d.mts +1 -1
- package/dist/types/shadow/npx/bin.d.mts +1 -1
- package/dist/types/shadow/pnpm/bin.d.mts +1 -1
- package/dist/types/shadow/yarn/bin.d.mts +1 -1
- package/dist/types/test/mocks/socket-auth.d.mts +40 -39
- package/dist/types/utils/agent.d.mts +6 -1
- package/dist/types/utils/alert/artifact.d.mts +1 -1
- package/dist/types/utils/alerts-map.d.mts +1 -1
- package/dist/types/utils/api.d.mts +1 -1
- package/dist/types/utils/arrays.d.mts +6 -0
- package/dist/types/utils/bin.d.mts +26 -0
- package/dist/types/utils/{coana-release.d.mts → coana/release.d.mts} +5 -3
- package/dist/types/utils/debug.d.mts +23 -49
- package/dist/types/utils/dlx.d.mts +1 -1
- package/dist/types/utils/ecosystem.d.mts +1 -9
- package/dist/types/utils/env.d.mts +24 -0
- package/dist/types/utils/errors.d.mts +2 -2
- package/dist/types/utils/escape-regexp.d.mts +6 -0
- package/dist/types/utils/fs.d.mts +33 -0
- package/dist/types/utils/github.d.mts +1 -1
- package/dist/types/utils/globs.d.mts +1 -0
- package/dist/types/utils/logger.d.mts +51 -0
- package/dist/types/utils/objects.d.mts +11 -0
- package/dist/types/utils/package-environment.d.mts +3 -3
- package/dist/types/utils/packages.d.mts +65 -0
- package/dist/types/utils/path.d.mts +3 -0
- package/dist/types/utils/promises.d.mts +23 -0
- package/dist/types/utils/prompts.d.mts +25 -0
- package/dist/types/utils/purl.d.mts +4 -1
- package/dist/types/utils/socket-package-alert.d.mts +1 -1
- package/dist/types/utils/socket-url.d.mts +1 -1
- package/dist/types/utils/sorts.d.mts +1 -0
- package/dist/types/utils/spawn-sync.d.mts +3 -0
- package/dist/types/utils/spawn.d.mts +67 -0
- package/dist/types/utils/spec.d.mts +1 -1
- package/dist/types/utils/spinner.d.mts +46 -0
- package/dist/types/utils/streams.d.mts +3 -0
- package/dist/types/utils/strings.d.mts +6 -0
- package/dist/types/utils/url.d.mts +2 -0
- package/dist/types/utils/words.d.mts +1 -0
- package/dist/utils.js +4475 -803
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +39737 -41318
- package/external/blessed-contrib/lib/widget/charts/line.js +172 -149
- package/package.json +41 -37
- 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/dist/types/commands/manifest/convert-gradle-to-facts.d.mts +0 -19
- package/dist/types/commands/manifest/convert-maven-to-facts.d.mts +0 -19
- package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts +0 -22
- package/dist/types/commands/manifest/enumerate-workspaces.d.mts +0 -22
- package/dist/types/commands/manifest/expand-env-var-refs.d.mts +0 -9
- package/dist/types/sea/archive-paths.d.mts +0 -6
- package/external/@socketsecurity/registry/LICENSE +0 -21
- package/external/@socketsecurity/registry/README.md +0 -9
- package/external/@socketsecurity/registry/extensions.json +0 -28
- package/external/@socketsecurity/registry/external/@inquirer/confirm.js +0 -3165
- package/external/@socketsecurity/registry/external/@inquirer/input.js +0 -3202
- package/external/@socketsecurity/registry/external/@inquirer/password.js +0 -3307
- package/external/@socketsecurity/registry/external/@inquirer/search.js +0 -3519
- package/external/@socketsecurity/registry/external/@inquirer/select.js +0 -3655
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +0 -21406
- package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/read-package.js +0 -183
- package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/sort.js +0 -274
- package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +0 -704
- package/external/@socketsecurity/registry/external/@socketregistry/is-unicode-supported.js +0 -54
- package/external/@socketsecurity/registry/external/@socketregistry/packageurl-js.js +0 -4516
- package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js +0 -453
- package/external/@socketsecurity/registry/external/@yarnpkg/extensions.js +0 -1406
- package/external/@socketsecurity/registry/external/browserslist.js +0 -20496
- package/external/@socketsecurity/registry/external/cacache.js +0 -16208
- package/external/@socketsecurity/registry/external/debug.js +0 -1163
- package/external/@socketsecurity/registry/external/fast-glob.js +0 -7994
- package/external/@socketsecurity/registry/external/fast-sort.js +0 -181
- package/external/@socketsecurity/registry/external/libnpmpack.js +0 -106271
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +0 -38997
- package/external/@socketsecurity/registry/external/normalize-package-data.js +0 -5343
- package/external/@socketsecurity/registry/external/npm-package-arg.js +0 -5773
- package/external/@socketsecurity/registry/external/pacote.js +0 -74109
- package/external/@socketsecurity/registry/external/picomatch.js +0 -2307
- package/external/@socketsecurity/registry/external/semver.js +0 -2618
- package/external/@socketsecurity/registry/external/signal-exit.js +0 -336
- package/external/@socketsecurity/registry/external/spdx-correct.js +0 -1457
- package/external/@socketsecurity/registry/external/spdx-expression-parse.js +0 -1043
- package/external/@socketsecurity/registry/external/streaming-iterables.js +0 -326
- package/external/@socketsecurity/registry/external/validate-npm-package-name.js +0 -108
- package/external/@socketsecurity/registry/external/which.js +0 -405
- package/external/@socketsecurity/registry/external/yoctocolors-cjs.js +0 -101
- package/external/@socketsecurity/registry/index.js +0 -31
- package/external/@socketsecurity/registry/lib/agent.js +0 -390
- package/external/@socketsecurity/registry/lib/arrays.js +0 -89
- package/external/@socketsecurity/registry/lib/bin.js +0 -650
- package/external/@socketsecurity/registry/lib/constants/abort-controller.js +0 -15
- package/external/@socketsecurity/registry/lib/constants/abort-signal.js +0 -27
- package/external/@socketsecurity/registry/lib/constants/at-latest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/biome-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun-lockb.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ci.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/column-limit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/copy-left-licenses.js +0 -27
- package/external/@socketsecurity/registry/lib/constants/darwin.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-git-dir.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-package-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-socket-dir.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/empty-file.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/empty-value.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/env.js +0 -59
- package/external/@socketsecurity/registry/lib/constants/eslint-config-js.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/esnext.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/exec-path.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cjs.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cmd.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-dts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-js.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-lockb.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-md.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-mjs.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-mts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-ps1.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-yaml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-yml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/extensions-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/extensions.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/get-ipc.js +0 -10
- package/external/@socketsecurity/registry/lib/constants/gitignore.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/index.js +0 -139
- package/external/@socketsecurity/registry/lib/constants/ipc-handler.js +0 -19
- package/external/@socketsecurity/registry/lib/constants/ipc-object.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/ipc-promise.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/ipc-target.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/k-internals-symbol.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/latest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/lifecycle-script-names.js +0 -18
- package/external/@socketsecurity/registry/lib/constants/loop-sentinel.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/maintained-node-versions.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/manifest-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/mit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-auth-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-debug-flags.js +0 -9
- package/external/@socketsecurity/registry/lib/constants/node-env.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-harden-flags.js +0 -29
- package/external/@socketsecurity/registry/lib/constants/node-modules-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-modules.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-no-warnings-flags.js +0 -16
- package/external/@socketsecurity/registry/lib/constants/node-version.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npm-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/npm-real-exec-path.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/npm-shrinkwrap-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npm.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npx.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/overrides.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-default-node-range.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/package-default-socket-categories.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-default-version.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-extensions.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/package-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/packument-cache.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pacote-cache-path.js +0 -9
- package/external/@socketsecurity/registry/lib/constants/pnpm-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/pnpm-lock-yaml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pnpm.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pre-commit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-md.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/registry-scope-delimiter.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/registry.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/resolutions.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-github-org.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-ipc-handshake.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-override-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-public-api-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-npm-org.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-package-name.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-repo-name.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-security-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/spinner.js +0 -4
- package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-api.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-env-var.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-disable-warning-flag.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-permission-flag.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-require-module.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/supports-node-run.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-process-send.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/ts-libs-available.js +0 -22
- package/external/@socketsecurity/registry/lib/constants/ts-types-available.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/tsconfig-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/undefined-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unknown-error.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unknown-value.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unlicenced.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unlicensed.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/utf8.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vitest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vlt-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vlt.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/win32.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-berry.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-classic.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/yarn-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn.js +0 -3
- package/external/@socketsecurity/registry/lib/debug.js +0 -264
- package/external/@socketsecurity/registry/lib/env.js +0 -62
- package/external/@socketsecurity/registry/lib/fs.js +0 -556
- package/external/@socketsecurity/registry/lib/functions.js +0 -20
- package/external/@socketsecurity/registry/lib/globs.js +0 -145
- package/external/@socketsecurity/registry/lib/json.js +0 -69
- package/external/@socketsecurity/registry/lib/logger.js +0 -534
- package/external/@socketsecurity/registry/lib/objects.js +0 -422
- package/external/@socketsecurity/registry/lib/packages.js +0 -1379
- package/external/@socketsecurity/registry/lib/path.js +0 -231
- package/external/@socketsecurity/registry/lib/promises.js +0 -286
- package/external/@socketsecurity/registry/lib/prompts.js +0 -63
- package/external/@socketsecurity/registry/lib/regexps.js +0 -23
- package/external/@socketsecurity/registry/lib/sorts.js +0 -70
- package/external/@socketsecurity/registry/lib/spawn.js +0 -252
- package/external/@socketsecurity/registry/lib/spinner.js +0 -205
- package/external/@socketsecurity/registry/lib/streams.js +0 -84
- package/external/@socketsecurity/registry/lib/strings.js +0 -235
- package/external/@socketsecurity/registry/lib/url.js +0 -68
- package/external/@socketsecurity/registry/lib/words.js +0 -45
- package/external/@socketsecurity/registry/manifest.json +0 -1875
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "rc-2.1.0"
|
|
6
6
|
},
|
|
@@ -39,10 +39,15 @@
|
|
|
39
39
|
"./translations.json": "./translations.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
42
|
+
"@inquirer/confirm": "5.1.16",
|
|
43
|
+
"@inquirer/input": "4.2.2",
|
|
44
|
+
"@inquirer/password": "4.0.18",
|
|
45
|
+
"@inquirer/select": "4.3.2",
|
|
46
|
+
"@socketregistry/packageurl-js": "1.7.0",
|
|
47
|
+
"@socketsecurity/socket-patch": "5.1.0",
|
|
44
48
|
"cross-spawn": "7.0.6",
|
|
45
|
-
"form-data": "4.0.6"
|
|
49
|
+
"form-data": "4.0.6",
|
|
50
|
+
"@sentry/node": "11.12.0"
|
|
46
51
|
},
|
|
47
52
|
"devDependencies": {
|
|
48
53
|
"@actions/cache": "6.3.0",
|
|
@@ -53,7 +58,7 @@
|
|
|
53
58
|
"@babel/preset-typescript": "7.27.1",
|
|
54
59
|
"@babel/runtime": "7.28.4",
|
|
55
60
|
"@biomejs/biome": "2.2.4",
|
|
56
|
-
"@cyclonedx/cdxgen": "12.
|
|
61
|
+
"@cyclonedx/cdxgen": "12.9.2",
|
|
57
62
|
"@dotenvx/dotenvx": "1.49.0",
|
|
58
63
|
"@eslint/compat": "1.3.2",
|
|
59
64
|
"@eslint/js": "9.35.0",
|
|
@@ -74,14 +79,11 @@
|
|
|
74
79
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
75
80
|
"@rollup/plugin-replace": "6.0.2",
|
|
76
81
|
"@rollup/pluginutils": "5.3.0",
|
|
77
|
-
"@socketregistry/hyrious__bun.lockb": "1.0.
|
|
78
|
-
"@socketregistry/indent-string": "1.0.
|
|
82
|
+
"@socketregistry/hyrious__bun.lockb": "1.0.19",
|
|
83
|
+
"@socketregistry/indent-string": "1.0.14",
|
|
79
84
|
"@socketregistry/is-interactive": "1.0.6",
|
|
80
|
-
"@socketregistry/packageurl-js": "1.0.9",
|
|
81
85
|
"@socketsecurity/config": "3.0.1",
|
|
82
|
-
"@socketsecurity/
|
|
83
|
-
"@socketsecurity/sdk": "4.0.3",
|
|
84
|
-
"@termless/vterm": "0.11.0",
|
|
86
|
+
"@socketsecurity/sdk": "4.3.0",
|
|
85
87
|
"@termless/core": "0.11.0",
|
|
86
88
|
"@termless/xtermjs": "0.11.0",
|
|
87
89
|
"@types/blessed": "0.1.25",
|
|
@@ -101,10 +103,10 @@
|
|
|
101
103
|
"@types/yargs-parser": "21.0.3",
|
|
102
104
|
"@typescript-eslint/parser": "8.43.0",
|
|
103
105
|
"@typescript/native-preview": "7.0.0-dev.20250912.1",
|
|
104
|
-
"@vitest/coverage-v8": "
|
|
106
|
+
"@vitest/coverage-v8": "5.1.1",
|
|
105
107
|
"blessed": "0.1.81",
|
|
106
108
|
"blessed-contrib": "4.11.0",
|
|
107
|
-
"browserslist": "4.
|
|
109
|
+
"browserslist": "4.29.6",
|
|
108
110
|
"chalk-table": "1.0.2",
|
|
109
111
|
"cmd-shim": "7.0.0",
|
|
110
112
|
"del-cli": "6.0.0",
|
|
@@ -139,28 +141,41 @@
|
|
|
139
141
|
"parse5": "8.0.1",
|
|
140
142
|
"pony-cause": "2.1.11",
|
|
141
143
|
"postject": "1.0.0-alpha.6",
|
|
142
|
-
"rollup": "4.
|
|
144
|
+
"rollup": "4.68.6",
|
|
143
145
|
"semver": "7.7.2",
|
|
144
146
|
"svgo": "4.1.0",
|
|
145
147
|
"synp": "1.9.14",
|
|
146
|
-
"tar": "7.5.
|
|
147
|
-
"taze": "
|
|
148
|
+
"tar": "7.5.23",
|
|
149
|
+
"taze": "21.3.0",
|
|
148
150
|
"terminal-link": "2.1.1",
|
|
149
151
|
"tiny-updater": "3.5.3",
|
|
150
152
|
"trash": "10.0.0",
|
|
151
153
|
"type-coverage": "2.29.7",
|
|
152
154
|
"typescript-eslint": "8.43.0",
|
|
153
155
|
"unplugin-purge-polyfills": "0.1.0",
|
|
154
|
-
"vitest": "
|
|
156
|
+
"vitest": "5.1.1",
|
|
155
157
|
"which": "=5.0.0",
|
|
156
158
|
"yaml": "2.8.1",
|
|
157
159
|
"yargs-parser": "21.1.1",
|
|
158
160
|
"yoctocolors-cjs": "2.1.3",
|
|
159
|
-
"zod": "4.1.8"
|
|
161
|
+
"zod": "4.1.8",
|
|
162
|
+
"@sentry/node": "11.12.0",
|
|
163
|
+
"supports-color": "7.2.0"
|
|
164
|
+
},
|
|
165
|
+
"typeCoverage": {
|
|
166
|
+
"cache": true,
|
|
167
|
+
"atLeast": 95,
|
|
168
|
+
"ignoreAsAssertion": true,
|
|
169
|
+
"ignoreCatch": true,
|
|
170
|
+
"ignoreEmptyType": true,
|
|
171
|
+
"ignore-non-null-assertion": true,
|
|
172
|
+
"ignore-type-assertion": true,
|
|
173
|
+
"ignore-files": "test/*",
|
|
174
|
+
"strict": true
|
|
160
175
|
},
|
|
161
176
|
"engines": {
|
|
162
177
|
"node": ">=18.20.8",
|
|
163
|
-
"pnpm": ">=
|
|
178
|
+
"pnpm": ">=12.23.0"
|
|
164
179
|
},
|
|
165
180
|
"files": [
|
|
166
181
|
"bin/**",
|
|
@@ -178,17 +193,6 @@
|
|
|
178
193
|
"pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
|
|
179
194
|
]
|
|
180
195
|
},
|
|
181
|
-
"typeCoverage": {
|
|
182
|
-
"cache": true,
|
|
183
|
-
"atLeast": 95,
|
|
184
|
-
"ignoreAsAssertion": true,
|
|
185
|
-
"ignoreCatch": true,
|
|
186
|
-
"ignoreEmptyType": true,
|
|
187
|
-
"ignore-non-null-assertion": true,
|
|
188
|
-
"ignore-type-assertion": true,
|
|
189
|
-
"ignore-files": "test/*",
|
|
190
|
-
"strict": true
|
|
191
|
-
},
|
|
192
196
|
"scripts": {
|
|
193
197
|
"build": "pnpm build:dist",
|
|
194
198
|
"build:dist": "pnpm build:dist:src && pnpm build:dist:types",
|
|
@@ -198,13 +202,7 @@
|
|
|
198
202
|
"build:maven-extension": "bash src/commands/manifest/scripts/maven-extension/build-jar.sh",
|
|
199
203
|
"build:sea": "node src/sea/build-sea.mts",
|
|
200
204
|
"build:package-matrix": "node scripts/build-package-matrix.mts",
|
|
201
|
-
"test:native": "node scripts/test/native.mts",
|
|
202
|
-
"test:native:build": "node scripts/test/native.mts --build",
|
|
203
205
|
"snapshots": "node scripts/refresh/snapshots.mts",
|
|
204
|
-
"snapshots:termless:refresh": "node scripts/refresh/snapshots.mts --update",
|
|
205
|
-
"snapshots:vite:refresh": "pnpm run test:unit:update",
|
|
206
|
-
"snapshots:refresh": "run-s snapshots:termless:refresh snapshots:vite:refresh",
|
|
207
|
-
"snapshots:refresh:dep": "node scripts/refresh/snapshots.mts --update --dep",
|
|
208
206
|
"build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
|
|
209
207
|
"check": "node scripts/check.mts",
|
|
210
208
|
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
@@ -258,6 +256,12 @@
|
|
|
258
256
|
"update": "node scripts/update.mts",
|
|
259
257
|
"release:preflight": "node scripts/release/preflight.mts",
|
|
260
258
|
"approve:npm": "node scripts/release/approve-npm.mts",
|
|
261
|
-
"check:actions": "node scripts/ci/check-actions.mts"
|
|
259
|
+
"check:actions": "node scripts/ci/check-actions.mts",
|
|
260
|
+
"snapshots:termless:refresh": "node scripts/refresh/snapshots.mts --update",
|
|
261
|
+
"snapshots:vite:refresh": "pnpm run test:unit:update",
|
|
262
|
+
"snapshots:refresh": "pnpm run snapshots:termless:refresh && pnpm run snapshots:vite:refresh",
|
|
263
|
+
"snapshots:refresh:dep": "node scripts/refresh/snapshots.mts --update --dep",
|
|
264
|
+
"test:sea": "node scripts/test/native.mts",
|
|
265
|
+
"pack:native": "node scripts/release/native-packages.mts"
|
|
262
266
|
}
|
|
263
267
|
}
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { RunManifestFactsOutcome } from './run-manifest-facts.mts';
|
|
2
|
-
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
3
|
-
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
4
|
-
// Generates `gradle.socket.facts.json` for a Gradle project via the bundled
|
|
5
|
-
// init script.
|
|
6
|
-
export declare function convertGradleToFacts({ bin, cwd, excludeConfigs, excludePaths, gradleOpts, hints, ignoreUnresolved, includeConfigs, javaHome, sidecarAcc, verbose, withFiles }: {
|
|
7
|
-
bin: string;
|
|
8
|
-
cwd: string;
|
|
9
|
-
excludeConfigs: string;
|
|
10
|
-
excludePaths?: string[] | undefined;
|
|
11
|
-
gradleOpts: string[];
|
|
12
|
-
hints?: BuildOptionHints | undefined;
|
|
13
|
-
ignoreUnresolved: boolean;
|
|
14
|
-
includeConfigs: string;
|
|
15
|
-
javaHome?: string | undefined;
|
|
16
|
-
sidecarAcc?: SidecarAccumulator | undefined;
|
|
17
|
-
verbose: boolean;
|
|
18
|
-
withFiles?: boolean | undefined;
|
|
19
|
-
}): Promise<RunManifestFactsOutcome>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { RunManifestFactsOutcome } from './run-manifest-facts.mts';
|
|
2
|
-
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
3
|
-
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
4
|
-
// Generates `pom.xml.socket.facts.json` (named after the POM Maven runs on)
|
|
5
|
-
// for a Maven project via the bundled extension.
|
|
6
|
-
export declare function convertMavenToFacts({ bin, cwd, excludeConfigs, excludePaths, hints, ignoreUnresolved, includeConfigs, javaHome, mavenOpts, sidecarAcc, verbose, withFiles }: {
|
|
7
|
-
bin: string;
|
|
8
|
-
cwd: string;
|
|
9
|
-
excludeConfigs: string;
|
|
10
|
-
excludePaths?: string[] | undefined;
|
|
11
|
-
hints?: BuildOptionHints | undefined;
|
|
12
|
-
ignoreUnresolved: boolean;
|
|
13
|
-
includeConfigs: string;
|
|
14
|
-
javaHome?: string | undefined;
|
|
15
|
-
mavenOpts: string[];
|
|
16
|
-
sidecarAcc?: SidecarAccumulator | undefined;
|
|
17
|
-
verbose: boolean;
|
|
18
|
-
withFiles?: boolean | undefined;
|
|
19
|
-
}): Promise<RunManifestFactsOutcome>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { RunManifestFactsOutcome } from './run-manifest-facts.mts';
|
|
2
|
-
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
3
|
-
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
4
|
-
// Generates `sbt.socket.facts.json` for an sbt project via the bundled sbt plugin.
|
|
5
|
-
// sbt 0.13/early 1.x can't run on modern JDKs — pass a compatible JDK via
|
|
6
|
-
// `--sbt-opts "--java-home <path>"` or `JAVA_HOME`.
|
|
7
|
-
export declare function convertSbtToFacts({ bin, cwd, excludeConfigs, excludePaths, hints, ignoreUnresolved, includeConfigs, javaHome, sbtOpts, sidecarAcc, tmpDir, verbose, withFiles }: {
|
|
8
|
-
bin: string;
|
|
9
|
-
cwd: string;
|
|
10
|
-
excludeConfigs: string;
|
|
11
|
-
excludePaths?: string[] | undefined;
|
|
12
|
-
hints?: BuildOptionHints | undefined;
|
|
13
|
-
ignoreUnresolved: boolean;
|
|
14
|
-
includeConfigs: string;
|
|
15
|
-
javaHome?: string | undefined;
|
|
16
|
-
sbtOpts: string[];
|
|
17
|
-
sidecarAcc?: SidecarAccumulator | undefined;
|
|
18
|
-
// Caller-owned; see ManifestScriptOptions.tmpDir.
|
|
19
|
-
tmpDir: string;
|
|
20
|
-
verbose: boolean;
|
|
21
|
-
withFiles?: boolean | undefined;
|
|
22
|
-
}): Promise<RunManifestFactsOutcome>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { BuildTool } from './scripts/build-tool.mts';
|
|
2
|
-
import type { SocketFactsSbomProject } from './scripts/facts.mts';
|
|
3
|
-
export type EnumerateWorkspacesResult = {
|
|
4
|
-
buildRoot: string;
|
|
5
|
-
projects: SocketFactsSbomProject[];
|
|
6
|
-
};
|
|
7
|
-
// Cheap subproject discovery (no dependency resolution), for builds that are
|
|
8
|
-
// not resolved: the setup wizard's, and skipped ones. Callers decide whether
|
|
9
|
-
// a failure fails the command.
|
|
10
|
-
export declare function enumerateWorkspaces({ bin, buildOpts, cwd, ecosystem, entryFile, excludeBase, excludePaths, javaHome, verbose }: {
|
|
11
|
-
bin: string;
|
|
12
|
-
buildOpts: string[];
|
|
13
|
-
cwd: string;
|
|
14
|
-
ecosystem: BuildTool;
|
|
15
|
-
// See ManifestScriptOptions.entryFile.
|
|
16
|
-
entryFile?: string | undefined;
|
|
17
|
-
// See ManifestScriptOptions.excludeBase.
|
|
18
|
-
excludeBase?: string | undefined;
|
|
19
|
-
excludePaths?: string[] | undefined;
|
|
20
|
-
javaHome?: string | undefined;
|
|
21
|
-
verbose: boolean;
|
|
22
|
-
}): Promise<EnumerateWorkspacesResult | undefined>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Expands `$VAR`/`${VAR}` references (e.g. a team-shared `javaHome:
|
|
2
|
-
// "$JAVA11_HOME"`) against the CLI process's own environment, so a socket.json
|
|
3
|
-
// value works across machines instead of hardcoding one developer's path.
|
|
4
|
-
// `$$` is a literal `$`, for a value that must contain a literal `$WORD`.
|
|
5
|
-
export declare function expandEnvVarRefs(value: string): {
|
|
6
|
-
missing?: string[];
|
|
7
|
-
value: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function formatMissingEnvVarRefs(missing: readonly string[]): string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Socket Inc
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# @socketsecurity/registry
|
|
2
|
-
|
|
3
|
-
[](https://socket.dev/npm/package/@socketsecurity/registry)
|
|
4
|
-
[](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
|
|
5
|
-
[](https://twitter.com/SocketSecurity)
|
|
6
|
-
|
|
7
|
-
> A support package for
|
|
8
|
-
> [`@socketregistry`](https://github.com/SocketDev/socket-registry) providing
|
|
9
|
-
> helper methods and metadata.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"npm": [
|
|
3
|
-
[
|
|
4
|
-
"pkg:npm/%40socketregistry/packageurl-js@latest",
|
|
5
|
-
{
|
|
6
|
-
"categories": ["levelup"],
|
|
7
|
-
"engines": { "node": ">=18" },
|
|
8
|
-
"interop": ["cjs"],
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"name": "@socketregistry/packageurl-js",
|
|
11
|
-
"package": "packageurl-js",
|
|
12
|
-
"version": "latest"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
[
|
|
16
|
-
"pkg:npm/shell-quote@latest",
|
|
17
|
-
{
|
|
18
|
-
"categories": ["tuneup"],
|
|
19
|
-
"engines": { "node": ">=18" },
|
|
20
|
-
"interop": ["cjs"],
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"name": "shell-quote",
|
|
23
|
-
"package": "shell-quote",
|
|
24
|
-
"version": "latest"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
]
|
|
28
|
-
}
|