@socketsecurity/cli 1.15.0 → 1.16.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 +24 -0
- package/README.md +16 -9
- package/dist/.config/tsconfig.dts.tsbuildinfo +1 -0
- package/dist/cli.js +2467 -961
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +50 -19
- package/dist/constants.js.map +1 -1
- package/dist/manifest-scripts/dotnet-tool/socket-facts-dotnet.deps.json +2 -1
- 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/types/cli.d.mts +0 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -1
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -1
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -1
- package/dist/types/commands/analytics/handle-analytics.d.mts +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +0 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -1
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -1
- package/dist/types/commands/ci/cmd-ci.d.mts +0 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -1
- package/dist/types/commands/ci/handle-ci.d.mts +0 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts +0 -1
- package/dist/types/commands/config/cmd-config-get.d.mts +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +0 -1
- package/dist/types/commands/config/cmd-config-set.d.mts +0 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts +0 -1
- package/dist/types/commands/config/cmd-config.d.mts +0 -1
- package/dist/types/commands/config/discover-config-value.d.mts +0 -1
- package/dist/types/commands/config/handle-config-auto.d.mts +0 -1
- package/dist/types/commands/config/handle-config-get.d.mts +0 -1
- package/dist/types/commands/config/handle-config-set.d.mts +0 -1
- package/dist/types/commands/config/handle-config-unset.d.mts +0 -1
- package/dist/types/commands/config/output-config-auto.d.mts +0 -1
- package/dist/types/commands/config/output-config-get.d.mts +0 -1
- package/dist/types/commands/config/output-config-list.d.mts +0 -1
- package/dist/types/commands/config/output-config-set.d.mts +0 -1
- package/dist/types/commands/config/output-config-unset.d.mts +0 -1
- package/dist/types/commands/fix/branch-cleanup.d.mts +0 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +0 -1
- package/dist/types/commands/fix/coana-fix.d.mts +0 -1
- package/dist/types/commands/fix/env-helpers.d.mts +0 -1
- package/dist/types/commands/fix/generated-socket-facts.d.mts +2 -1
- package/dist/types/commands/fix/git.d.mts +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts +0 -1
- package/dist/types/commands/fix/output-fix-result.d.mts +0 -1
- package/dist/types/commands/fix/pull-request.d.mts +0 -1
- package/dist/types/commands/fix/types.d.mts +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +0 -1
- package/dist/types/commands/install/cmd-install.d.mts +0 -1
- package/dist/types/commands/install/handle-install-completion.d.mts +0 -1
- package/dist/types/commands/install/output-install-completion.d.mts +0 -1
- package/dist/types/commands/install/setup-tab-completion.d.mts +0 -1
- package/dist/types/commands/json/cmd-json.d.mts +0 -1
- package/dist/types/commands/json/handle-cmd-json.d.mts +0 -1
- package/dist/types/commands/json/output-cmd-json.d.mts +0 -1
- package/dist/types/commands/login/apply-login.d.mts +0 -1
- package/dist/types/commands/login/attempt-login.d.mts +0 -1
- package/dist/types/commands/login/cmd-login.d.mts +0 -1
- package/dist/types/commands/logout/apply-logout.d.mts +0 -1
- package/dist/types/commands/logout/attempt-logout.d.mts +0 -1
- package/dist/types/commands/logout/cmd-logout.d.mts +0 -1
- package/dist/types/commands/manifest/bazel/bazel-socket-json-trust.d.mts +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-bin-detect.d.mts → bin-detect.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-cleanup.d.mts → cleanup.d.mts} +1 -2
- package/dist/types/commands/manifest/bazel/cmd-manifest-bazel.d.mts +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-cquery.d.mts → cquery.d.mts} +1 -2
- package/dist/types/commands/manifest/bazel/extract_bazel_to_maven.d.mts +1 -2
- package/dist/types/commands/manifest/bazel/extract_bazel_to_pypi.d.mts +1 -1
- package/dist/types/commands/manifest/bazel/{bazel-java-shim.d.mts → java-shim.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-output-base-check.d.mts → output-base-check.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/paths/manifest.d.mts +7 -0
- package/dist/types/commands/manifest/bazel/{bazel-process.d.mts → process.d.mts} +1 -1
- package/dist/types/commands/manifest/bazel/{bazel-pypi-discovery.d.mts → pypi-discovery.d.mts} +1 -2
- package/dist/types/commands/manifest/bazel/{bazel-pypi-parser.d.mts → pypi-parser.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-python-shim.d.mts → python-shim.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-query-runner.d.mts → query-runner.d.mts} +5 -6
- package/dist/types/commands/manifest/bazel/{bazel-repo-discovery.d.mts → repo-discovery.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-workspace-detect.d.mts → workspace-detect.d.mts} +0 -1
- package/dist/types/commands/manifest/bazel/{bazel-workspace-walk.d.mts → workspace-walk.d.mts} +0 -1
- package/dist/types/commands/manifest/build-root-config.d.mts +27 -0
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-dotnet.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-maven.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -1
- package/dist/types/commands/manifest/convert-dotnet-to-facts.d.mts +0 -1
- package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts +0 -1
- package/dist/types/commands/manifest/convert-maven-to-facts.d.mts +0 -1
- package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts +0 -1
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -1
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -1
- package/dist/types/commands/manifest/discover-manifest-roots.d.mts +23 -8
- package/dist/types/commands/manifest/enumerate-workspaces.d.mts +3 -5
- package/dist/types/commands/manifest/expand-env-var-refs.d.mts +0 -1
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts +15 -7
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -1
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -1
- package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts +0 -1
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -1
- package/dist/types/commands/manifest/load-build.d.mts +19 -0
- package/dist/types/commands/manifest/manifest-flags.d.mts +0 -1
- package/dist/types/commands/manifest/output-manifest-dynamic-sbom-inference.d.mts +0 -1
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -1
- package/dist/types/commands/manifest/output-requirements.d.mts +0 -1
- package/dist/types/commands/manifest/parse-build-tool-opts.d.mts +0 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts +3 -1
- package/dist/types/commands/manifest/scripts/assemble.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/build-tool.d.mts +9 -5
- package/dist/types/commands/manifest/scripts/exclude-paths-glob.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/facts.d.mts +4 -3
- package/dist/types/commands/manifest/scripts/records.d.mts +2 -1
- package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-nuget.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/run.d.mts +0 -1
- package/dist/types/commands/manifest/scripts/sidecar.d.mts +1 -3
- package/dist/types/commands/manifest/scripts/test/assemble-records.d.mts +1 -0
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -1
- package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts +10 -65
- package/dist/types/commands/npm/cmd-npm.d.mts +0 -1
- package/dist/types/commands/npx/cmd-npx.d.mts +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +0 -1
- package/dist/types/commands/optimize/add-overrides.d.mts +0 -1
- package/dist/types/commands/optimize/apply-optimization.d.mts +0 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -1
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -1
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -1
- package/dist/types/commands/optimize/handle-optimize.d.mts +0 -1
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -1
- package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -1
- package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -1
- package/dist/types/commands/optimize/shared.d.mts +0 -1
- package/dist/types/commands/optimize/types.d.mts +0 -1
- package/dist/types/commands/optimize/update-lockfile.d.mts +0 -1
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -1
- package/dist/types/commands/organization/cmd-organization.d.mts +0 -1
- package/dist/types/commands/organization/dependencies-filters.d.mts +10 -0
- package/dist/types/commands/organization/fetch-dependencies.d.mts +1 -1
- package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -1
- package/dist/types/commands/organization/fetch-quota.d.mts +0 -1
- package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -1
- package/dist/types/commands/organization/handle-dependencies.d.mts +2 -2
- package/dist/types/commands/organization/handle-license-policy.d.mts +0 -1
- package/dist/types/commands/organization/handle-organization-list.d.mts +0 -1
- package/dist/types/commands/organization/handle-quota.d.mts +0 -1
- package/dist/types/commands/organization/handle-security-policy.d.mts +0 -1
- package/dist/types/commands/organization/output-dependencies.d.mts +0 -1
- package/dist/types/commands/organization/output-license-policy.d.mts +0 -1
- package/dist/types/commands/organization/output-organization-list.d.mts +0 -1
- package/dist/types/commands/organization/output-quota.d.mts +0 -1
- package/dist/types/commands/organization/output-security-policy.d.mts +0 -1
- package/dist/types/commands/package/cmd-package-score.d.mts +0 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -1
- package/dist/types/commands/package/cmd-package.d.mts +0 -1
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -1
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -1
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -1
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -1
- package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -1
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -1
- package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -1
- package/dist/types/commands/patch/cmd-patch.d.mts +0 -1
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -1
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -1
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -1
- package/dist/types/commands/repository/cmd-repository.d.mts +0 -1
- package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -1
- package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -1
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -1
- package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -1
- package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -1
- package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -1
- package/dist/types/commands/repository/handle-create-repo.d.mts +0 -1
- package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts +0 -1
- package/dist/types/commands/repository/handle-update-repo.d.mts +0 -1
- package/dist/types/commands/repository/handle-view-repo.d.mts +0 -1
- package/dist/types/commands/repository/output-create-repo.d.mts +0 -1
- package/dist/types/commands/repository/output-delete-repo.d.mts +0 -1
- package/dist/types/commands/repository/output-list-repos.d.mts +0 -1
- package/dist/types/commands/repository/output-update-repo.d.mts +0 -1
- package/dist/types/commands/repository/output-view-repo.d.mts +0 -1
- package/dist/types/commands/repository/types.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -1
- package/dist/types/commands/scan/cmd-scan.d.mts +0 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -1
- package/dist/types/commands/scan/exclude-paths.d.mts +0 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -1
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts +0 -1
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -1
- package/dist/types/commands/scan/fetch-scan.d.mts +0 -1
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -1
- package/dist/types/commands/scan/finalize-tier1-scan.d.mts +0 -1
- package/dist/types/commands/scan/generate-report.d.mts +0 -1
- package/dist/types/commands/scan/generate-uv-member-sboms.d.mts +0 -1
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -1
- package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts +0 -1
- package/dist/types/commands/scan/handle-scan-config.d.mts +0 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -1
- package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts +0 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts +0 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -1
- package/dist/types/commands/scan/output-delete-scan.d.mts +0 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts +0 -1
- package/dist/types/commands/scan/output-list-scans.d.mts +0 -1
- package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -1
- package/dist/types/commands/scan/output-scan-github.d.mts +0 -1
- package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -1
- package/dist/types/commands/scan/output-scan-reach.d.mts +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts +12 -1
- package/dist/types/commands/scan/output-scan-view.d.mts +0 -1
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts +0 -3
- package/dist/types/commands/scan/reach-advisories.d.mts +0 -1
- package/dist/types/commands/scan/reachability-flags.d.mts +0 -1
- package/dist/types/commands/scan/reachability-units.d.mts +0 -1
- package/dist/types/commands/scan/run-dynamic-sbom-inference.d.mts +5 -1
- package/dist/types/commands/scan/setup-scan-config.d.mts +0 -1
- package/dist/types/commands/scan/stream-scan.d.mts +0 -1
- package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -1
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -1
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -1
- package/dist/types/commands/scan/suggest_target.d.mts +0 -1
- package/dist/types/commands/scan/types.d.mts +0 -1
- package/dist/types/commands/scan/validate-reachability-target.d.mts +0 -1
- package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts +0 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -1
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -1
- package/dist/types/commands/threat-feed/types.d.mts +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -1
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -1
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -1
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -1
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -1
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -1
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -1
- package/dist/types/commands/yarn/cmd-yarn.d.mts +0 -1
- package/dist/types/commands.d.mts +0 -1
- package/dist/types/constants.d.mts +7 -6
- package/dist/types/flags.d.mts +0 -1
- package/dist/types/instrument-with-sentry.d.mts +0 -1
- package/dist/types/npm-cli.d.mts +0 -1
- package/dist/types/npx-cli.d.mts +0 -1
- package/dist/types/pnpm-cli.d.mts +0 -1
- package/dist/types/sea/adapters/cdxgen.d.mts +8 -0
- package/dist/types/sea/adapters/synp.d.mts +9 -0
- package/dist/types/sea/archive-paths.d.mts +6 -0
- package/dist/types/sea/bootstrap.d.mts +0 -1
- package/dist/types/sea/build/lock.d.mts +2 -0
- package/dist/types/sea/build/publish.d.mts +13 -0
- package/dist/types/sea/build-sea.d.mts +14 -24
- package/dist/types/sea/capabilities.d.mts +21 -0
- package/dist/types/sea/download-bytes.d.mts +14 -0
- package/dist/types/sea/download-cache.d.mts +15 -0
- package/dist/types/sea/node-version.d.mts +1 -0
- package/dist/types/sea/readme-version.d.mts +4 -0
- package/dist/types/sea/runtime.d.mts +34 -0
- package/dist/types/sea/stage/synp.d.mts +15 -0
- package/dist/types/sea/stage/uv.d.mts +34 -0
- package/dist/types/sea/version.d.mts +34 -0
- package/dist/types/shadow/common.d.mts +0 -1
- package/dist/types/shadow/npm/arborist/index.d.mts +0 -1
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -1
- package/dist/types/shadow/npm/arborist/types.d.mts +0 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -1
- package/dist/types/shadow/npm/bin.d.mts +0 -1
- package/dist/types/shadow/npm/inject.d.mts +0 -1
- package/dist/types/shadow/npm/install.d.mts +0 -1
- package/dist/types/shadow/npm/paths.d.mts +0 -1
- package/dist/types/shadow/npm-base.d.mts +0 -1
- package/dist/types/shadow/npx/bin.d.mts +0 -1
- package/dist/types/shadow/pnpm/bin.d.mts +0 -1
- package/dist/types/shadow/stdio-ipc.d.mts +0 -1
- package/dist/types/shadow/yarn/bin.d.mts +0 -1
- package/dist/types/test/json-output-validation.d.mts +0 -1
- package/dist/types/test/mocks/socket-auth.d.mts +0 -1
- package/dist/types/types.d.mts +0 -1
- package/dist/types/utils/advisory-ids.d.mts +0 -1
- package/dist/types/utils/agent.d.mts +5 -11
- package/dist/types/utils/alert/artifact.d.mts +0 -1
- package/dist/types/utils/alert/fix.d.mts +0 -1
- package/dist/types/utils/alert/severity.d.mts +0 -1
- package/dist/types/utils/alerts-map.d.mts +0 -1
- package/dist/types/utils/api-transport.d.mts +0 -1
- package/dist/types/utils/api.d.mts +2 -1
- package/dist/types/utils/check-input.d.mts +0 -1
- package/dist/types/utils/cmd.d.mts +0 -1
- package/dist/types/utils/coana-release.d.mts +5 -1
- package/dist/types/utils/coana.d.mts +0 -1
- package/dist/types/utils/color-or-markdown.d.mts +0 -1
- package/dist/types/utils/completion.d.mts +0 -1
- package/dist/types/utils/config.d.mts +0 -1
- package/dist/types/utils/cve-to-ghsa.d.mts +0 -1
- package/dist/types/utils/debug.d.mts +0 -1
- package/dist/types/utils/determine-org-slug.d.mts +0 -1
- package/dist/types/utils/dlx-detection.d.mts +0 -1
- package/dist/types/utils/dlx.d.mts +0 -1
- package/dist/types/utils/ecosystem.d.mts +0 -1
- package/dist/types/utils/editable-json.d.mts +0 -1
- package/dist/types/utils/errors.d.mts +0 -1
- package/dist/types/utils/extract-names.d.mts +0 -1
- package/dist/types/utils/fail-msg-with-badge.d.mts +0 -1
- package/dist/types/utils/filter-config.d.mts +0 -1
- package/dist/types/utils/fs.d.mts +0 -1
- package/dist/types/utils/get-or-insert.d.mts +0 -1
- package/dist/types/utils/get-output-kind.d.mts +0 -1
- package/dist/types/utils/git.d.mts +0 -1
- package/dist/types/utils/github-errors.d.mts +0 -1
- package/dist/types/utils/github.d.mts +0 -1
- package/dist/types/utils/glob.d.mts +0 -1
- package/dist/types/utils/lockfile.d.mts +0 -1
- package/dist/types/utils/map-to-object.d.mts +0 -1
- package/dist/types/utils/markdown.d.mts +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +0 -1
- package/dist/types/utils/ms-at-home.d.mts +0 -1
- package/dist/types/utils/npm-config.d.mts +0 -1
- package/dist/types/utils/npm-package-arg.d.mts +0 -1
- package/dist/types/utils/npm-paths.d.mts +0 -1
- package/dist/types/utils/npm-spec.d.mts +0 -1
- package/dist/types/utils/oauth.d.mts +0 -1
- package/dist/types/utils/objects.d.mts +0 -1
- package/dist/types/utils/organization.d.mts +0 -1
- package/dist/types/utils/output-formatting.d.mts +0 -1
- package/dist/types/utils/package-environment.d.mts +0 -1
- package/dist/types/utils/package-manager.d.mts +0 -1
- package/dist/types/utils/path-resolve.d.mts +0 -1
- package/dist/types/utils/pnpm-paths.d.mts +0 -1
- package/dist/types/utils/pnpm.d.mts +0 -1
- package/dist/types/utils/purl-to-ghsa.d.mts +0 -1
- package/dist/types/utils/purl.d.mts +0 -1
- package/dist/types/utils/quote-powershell.d.mts +2 -0
- package/dist/types/utils/requirements.d.mts +0 -1
- package/dist/types/utils/sdk.d.mts +0 -1
- package/dist/types/utils/self-update.d.mts +2 -1
- package/dist/types/utils/semver.d.mts +0 -1
- package/dist/types/utils/serialize-result-json.d.mts +0 -1
- package/dist/types/utils/shadow-links.d.mts +0 -1
- package/dist/types/utils/socket-json.d.mts +15 -5
- package/dist/types/utils/socket-package-alert.d.mts +0 -1
- package/dist/types/utils/socket-url.d.mts +0 -1
- package/dist/types/utils/spec.d.mts +0 -1
- package/dist/types/utils/strings.d.mts +0 -1
- package/dist/types/utils/telemetry/integration.d.mts +0 -1
- package/dist/types/utils/telemetry/service.d.mts +0 -1
- package/dist/types/utils/telemetry/types.d.mts +0 -1
- package/dist/types/utils/terminal-link.d.mts +0 -1
- package/dist/types/utils/tildify.d.mts +0 -1
- package/dist/types/utils/translations.d.mts +0 -1
- package/dist/types/utils/walk-nested-map.d.mts +0 -1
- package/dist/types/utils/yarn-paths.d.mts +0 -1
- package/dist/types/utils/yarn-version.d.mts +0 -1
- package/dist/types/yarn-cli.d.mts +0 -1
- package/dist/utils.js +519 -123
- package/dist/utils.js.map +1 -1
- package/external/@socketsecurity/registry/lib/packages.js +12 -9
- package/package.json +33 -10
- package/dist/tsconfig.dts.tsbuildinfo +0 -1
- package/dist/types/cli.d.mts.map +0 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
- package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
- package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
- package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
- package/dist/types/commands/fix/branch-cleanup.d.mts.map +0 -1
- package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/env-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/generated-socket-facts.d.mts.map +0 -1
- package/dist/types/commands/fix/git.d.mts.map +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
- package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
- package/dist/types/commands/fix/types.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
- package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/login/apply-login.d.mts.map +0 -1
- package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
- package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
- package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-bin-detect.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-cleanup.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-cquery.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-java-shim.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-output-base-check.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-process.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-pypi-discovery.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-pypi-parser.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-python-shim.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-query-runner.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-repo-discovery.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-socket-json-trust.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-workspace-detect.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/bazel-workspace-walk.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/cmd-manifest-bazel.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/extract_bazel_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/bazel/extract_bazel_to_pypi.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-dotnet.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-dotnet-to-facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-maven-to-facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
- package/dist/types/commands/manifest/discover-manifest-roots.d.mts.map +0 -1
- package/dist/types/commands/manifest/enumerate-workspaces.d.mts.map +0 -1
- package/dist/types/commands/manifest/expand-env-var-refs.d.mts.map +0 -1
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts.map +0 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/manifest-flags.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-manifest-dynamic-sbom-inference.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/parse-build-tool-opts.d.mts.map +0 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/assemble.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/build-tool.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/exclude-paths-glob.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/facts.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/records.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-nuget.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/run.d.mts.map +0 -1
- package/dist/types/commands/manifest/scripts/sidecar.d.mts.map +0 -1
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
- package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts.map +0 -1
- package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
- package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
- package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
- package/dist/types/commands/optimize/shared.d.mts.map +0 -1
- package/dist/types/commands/optimize/types.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
- package/dist/types/commands/patch/cmd-patch.d.mts.map +0 -1
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/types.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
- package/dist/types/commands/scan/exclude-paths.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
- package/dist/types/commands/scan/finalize-tier1-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-uv-member-sboms.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +0 -1
- package/dist/types/commands/scan/reach-advisories.d.mts.map +0 -1
- package/dist/types/commands/scan/reachability-flags.d.mts.map +0 -1
- package/dist/types/commands/scan/reachability-units.d.mts.map +0 -1
- package/dist/types/commands/scan/run-dynamic-sbom-inference.d.mts.map +0 -1
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
- package/dist/types/commands/scan/types.d.mts.map +0 -1
- package/dist/types/commands/scan/validate-reachability-target.d.mts.map +0 -1
- package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
- package/dist/types/commands/yarn/cmd-yarn.d.mts.map +0 -1
- package/dist/types/commands.d.mts.map +0 -1
- package/dist/types/constants.d.mts.map +0 -1
- package/dist/types/flags.d.mts.map +0 -1
- package/dist/types/instrument-with-sentry.d.mts.map +0 -1
- package/dist/types/npm-cli.d.mts.map +0 -1
- package/dist/types/npx-cli.d.mts.map +0 -1
- package/dist/types/pnpm-cli.d.mts.map +0 -1
- package/dist/types/sea/bootstrap.d.mts.map +0 -1
- package/dist/types/sea/build-sea.d.mts.map +0 -1
- package/dist/types/shadow/common.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
- package/dist/types/shadow/npm/bin.d.mts.map +0 -1
- package/dist/types/shadow/npm/inject.d.mts.map +0 -1
- package/dist/types/shadow/npm/install.d.mts.map +0 -1
- package/dist/types/shadow/npm/paths.d.mts.map +0 -1
- package/dist/types/shadow/npm-base.d.mts.map +0 -1
- package/dist/types/shadow/npx/bin.d.mts.map +0 -1
- package/dist/types/shadow/pnpm/bin.d.mts.map +0 -1
- package/dist/types/shadow/stdio-ipc.d.mts.map +0 -1
- package/dist/types/shadow/yarn/bin.d.mts.map +0 -1
- package/dist/types/test/json-output-validation.d.mts.map +0 -1
- package/dist/types/test/mocks/socket-auth.d.mts.map +0 -1
- package/dist/types/types.d.mts.map +0 -1
- package/dist/types/utils/advisory-ids.d.mts.map +0 -1
- package/dist/types/utils/agent.d.mts.map +0 -1
- package/dist/types/utils/alert/artifact.d.mts.map +0 -1
- package/dist/types/utils/alert/fix.d.mts.map +0 -1
- package/dist/types/utils/alert/severity.d.mts.map +0 -1
- package/dist/types/utils/alerts-map.d.mts.map +0 -1
- package/dist/types/utils/api-transport.d.mts.map +0 -1
- package/dist/types/utils/api.d.mts.map +0 -1
- package/dist/types/utils/check-input.d.mts.map +0 -1
- package/dist/types/utils/cmd.d.mts.map +0 -1
- package/dist/types/utils/coana-release.d.mts.map +0 -1
- package/dist/types/utils/coana.d.mts.map +0 -1
- package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
- package/dist/types/utils/completion.d.mts.map +0 -1
- package/dist/types/utils/config.d.mts.map +0 -1
- package/dist/types/utils/cve-to-ghsa.d.mts.map +0 -1
- package/dist/types/utils/debug.d.mts.map +0 -1
- package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
- package/dist/types/utils/dlx-binary.d.mts +0 -58
- package/dist/types/utils/dlx-binary.d.mts.map +0 -1
- package/dist/types/utils/dlx-detection.d.mts.map +0 -1
- package/dist/types/utils/dlx.d.mts.map +0 -1
- package/dist/types/utils/ecosystem.d.mts.map +0 -1
- package/dist/types/utils/editable-json.d.mts.map +0 -1
- package/dist/types/utils/errors.d.mts.map +0 -1
- package/dist/types/utils/extract-names.d.mts.map +0 -1
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
- package/dist/types/utils/filter-config.d.mts.map +0 -1
- package/dist/types/utils/fs.d.mts.map +0 -1
- package/dist/types/utils/get-or-insert.d.mts.map +0 -1
- package/dist/types/utils/get-output-kind.d.mts.map +0 -1
- package/dist/types/utils/git.d.mts.map +0 -1
- package/dist/types/utils/github-errors.d.mts.map +0 -1
- package/dist/types/utils/github.d.mts.map +0 -1
- package/dist/types/utils/glob.d.mts.map +0 -1
- package/dist/types/utils/lockfile.d.mts.map +0 -1
- package/dist/types/utils/map-to-object.d.mts.map +0 -1
- package/dist/types/utils/markdown.d.mts.map +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
- package/dist/types/utils/ms-at-home.d.mts.map +0 -1
- package/dist/types/utils/npm-config.d.mts.map +0 -1
- package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
- package/dist/types/utils/npm-paths.d.mts.map +0 -1
- package/dist/types/utils/npm-spec.d.mts.map +0 -1
- package/dist/types/utils/oauth.d.mts.map +0 -1
- package/dist/types/utils/objects.d.mts.map +0 -1
- package/dist/types/utils/organization.d.mts.map +0 -1
- package/dist/types/utils/output-formatting.d.mts.map +0 -1
- package/dist/types/utils/package-environment.d.mts.map +0 -1
- package/dist/types/utils/package-manager.d.mts.map +0 -1
- package/dist/types/utils/path-resolve.d.mts.map +0 -1
- package/dist/types/utils/pnpm-paths.d.mts.map +0 -1
- package/dist/types/utils/pnpm.d.mts.map +0 -1
- package/dist/types/utils/purl-to-ghsa.d.mts.map +0 -1
- package/dist/types/utils/purl.d.mts.map +0 -1
- package/dist/types/utils/requirements.d.mts.map +0 -1
- package/dist/types/utils/sdk.d.mts.map +0 -1
- package/dist/types/utils/self-update.d.mts.map +0 -1
- package/dist/types/utils/semver.d.mts.map +0 -1
- package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
- package/dist/types/utils/shadow-links.d.mts.map +0 -1
- package/dist/types/utils/socket-json.d.mts.map +0 -1
- package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
- package/dist/types/utils/socket-url.d.mts.map +0 -1
- package/dist/types/utils/spec.d.mts.map +0 -1
- package/dist/types/utils/strings.d.mts.map +0 -1
- package/dist/types/utils/telemetry/integration.d.mts.map +0 -1
- package/dist/types/utils/telemetry/service.d.mts.map +0 -1
- package/dist/types/utils/telemetry/types.d.mts.map +0 -1
- package/dist/types/utils/terminal-link.d.mts.map +0 -1
- package/dist/types/utils/tildify.d.mts.map +0 -1
- package/dist/types/utils/translations.d.mts.map +0 -1
- package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
- package/dist/types/utils/yarn-paths.d.mts.map +0 -1
- package/dist/types/utils/yarn-version.d.mts.map +0 -1
- package/dist/types/yarn-cli.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuildRoot } from './discover-manifest-roots.mts';
|
|
1
|
+
import type { BuildRoot, Membership } from './discover-manifest-roots.mts';
|
|
2
2
|
import type { RunManifestFactsOutcome } from './run-manifest-facts.mts';
|
|
3
3
|
import type { BuildTool } from './scripts/build-tool.mts';
|
|
4
4
|
import type { BuildOption, BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
@@ -7,6 +7,9 @@ import type { PURL_Type } from '../../utils/ecosystem.mts';
|
|
|
7
7
|
import type { SocketJson } from '../../utils/socket-json.mts';
|
|
8
8
|
export type RecursiveManifestOutcomeStatus = 'aborted' | 'empty' | 'failed' | 'generated' | 'skippedCovered' | 'skippedDisabled';
|
|
9
9
|
export type RecursiveManifestOutcome = BuildRoot & {
|
|
10
|
+
// The facts file of a run that was dropped, which no kept run wrote: it holds
|
|
11
|
+
// no kept build's facts, so it must not be collected.
|
|
12
|
+
discardedFactsPath?: string | undefined;
|
|
10
13
|
ecosystem: BuildTool;
|
|
11
14
|
factsPath?: string | undefined;
|
|
12
15
|
status: RecursiveManifestOutcomeStatus;
|
|
@@ -22,11 +25,18 @@ export type EcosystemBuildConfig = {
|
|
|
22
25
|
skipReason: string | undefined;
|
|
23
26
|
verbose: boolean;
|
|
24
27
|
};
|
|
25
|
-
//
|
|
26
|
-
|
|
28
|
+
// The options the build-tool scripts take besides the build itself.
|
|
29
|
+
export declare function buildToolScriptOptions(config: Pick<EcosystemBuildConfig, 'bin' | 'buildOpts'>, excludeBase: string | undefined, excludePaths: string[] | undefined): {
|
|
30
|
+
bin: string;
|
|
31
|
+
excludeBase: string | undefined;
|
|
32
|
+
excludePaths: string[] | undefined;
|
|
33
|
+
toolOpts: string[];
|
|
34
|
+
};
|
|
35
|
+
// Builds `root` unless earlier builds cover it, then adds what it loaded to
|
|
36
|
+
// `covered`.
|
|
27
37
|
export declare function buildUncoveredRoot({ config, covered, cwd, ecosystem, excludeBase, excludePaths, hints, root, sidecarAcc, tmpDir, withFiles }: {
|
|
28
38
|
config: EcosystemBuildConfig;
|
|
29
|
-
covered:
|
|
39
|
+
covered: Membership;
|
|
30
40
|
// Where the build runs, as the user named it; `root.dir` by default.
|
|
31
41
|
cwd?: string | undefined;
|
|
32
42
|
ecosystem: BuildTool;
|
|
@@ -38,8 +48,7 @@ export declare function buildUncoveredRoot({ config, covered, cwd, ecosystem, ex
|
|
|
38
48
|
tmpDir?: string | undefined;
|
|
39
49
|
withFiles?: boolean | undefined;
|
|
40
50
|
}): Promise<RunManifestFactsOutcome | 'covered'>;
|
|
41
|
-
// A
|
|
42
|
-
// files it would have covered are all its own tool's.
|
|
51
|
+
// A failure fails the walk only when no kept or skipped build loads it.
|
|
43
52
|
export declare function generateRecursiveManifests({ cwd, excludePaths, ignoreUnresolved, optionFlags, purlTypes, sbtTmpDir, sidecarAcc, verbose, withFiles }: {
|
|
44
53
|
cwd: string;
|
|
45
54
|
excludePaths?: string[] | undefined;
|
|
@@ -69,4 +78,3 @@ export declare function generateRecursiveManifests({ cwd, excludePaths, ignoreUn
|
|
|
69
78
|
// since a wrapper script only exists at the actual build root. Exported for
|
|
70
79
|
// reuse by the recursive setup wizard's reactor-coverage pruning.
|
|
71
80
|
export declare function resolveEcosystemConfig(ecosystem: BuildTool, dir: string, sockJson: SocketJson): EcosystemBuildConfig;
|
|
72
|
-
//# sourceMappingURL=generate-recursive-manifests.d.mts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BuildRoot, Membership } from './discover-manifest-roots.mts';
|
|
2
|
+
import type { EcosystemBuildConfig } from './generate-recursive-manifests.mts';
|
|
3
|
+
import type { BuildTool } from './scripts/build-tool.mts';
|
|
4
|
+
export type LoadedBuild = {
|
|
5
|
+
membership: Membership;
|
|
6
|
+
// The projects it loads besides its own.
|
|
7
|
+
modules: number;
|
|
8
|
+
};
|
|
9
|
+
// Lets the build tool load a build, resolving nothing, for what it includes.
|
|
10
|
+
export declare function loadBuild({ config, ecosystem, excludePaths, root, scanRoot, verbose }: {
|
|
11
|
+
config: EcosystemBuildConfig;
|
|
12
|
+
ecosystem: BuildTool;
|
|
13
|
+
excludePaths: string[] | undefined;
|
|
14
|
+
root: BuildRoot;
|
|
15
|
+
scanRoot: string;
|
|
16
|
+
verbose: boolean;
|
|
17
|
+
}): Promise<LoadedBuild | undefined>;
|
|
18
|
+
// `label`, followed by how many modules it has, when any.
|
|
19
|
+
export declare function withModules(label: string, modules: number): string;
|
|
@@ -3,4 +3,3 @@ import type { MeowFlags } from '../../flags.mts';
|
|
|
3
3
|
// `excludePathsFlag`: description avoids "scan"/reachability wording since
|
|
4
4
|
// these commands only ever generate a manifest/facts file.
|
|
5
5
|
export declare const excludePathsFlag: MeowFlags;
|
|
6
|
-
//# sourceMappingURL=manifest-flags.d.mts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { RecursiveManifestOutcome } from './generate-recursive-manifests.mts';
|
|
2
2
|
import type { CResult, OutputKind } from '../../types.mts';
|
|
3
3
|
export declare function outputManifestDynamicSbomInference(result: CResult<RecursiveManifestOutcome[]>, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-manifest-dynamic-sbom-inference.d.mts.map
|
|
@@ -6,4 +6,3 @@
|
|
|
6
6
|
// quoting is intra-token aware (`-Dkey="a b"` -> `-Dkey=a b`). For unquoted
|
|
7
7
|
// input this is equivalent to the previous whitespace split.
|
|
8
8
|
export declare function parseBuildToolOpts(opts: string | undefined): string[];
|
|
9
|
-
//# sourceMappingURL=parse-build-tool-opts.d.mts.map
|
|
@@ -6,6 +6,9 @@ export type RunManifestFactsResult = {
|
|
|
6
6
|
factsPath: string;
|
|
7
7
|
projects: SocketFactsSbomProject[];
|
|
8
8
|
};
|
|
9
|
+
// Last N non-empty lines of the captured build output, for diagnosing a crash
|
|
10
|
+
// without forcing a --verbose rebuild.
|
|
11
|
+
export declare function tailBuildOutput(stdout: string, stderr: string): string;
|
|
9
12
|
// `null` = a real failure (crash, missing config, blocking unresolved
|
|
10
13
|
// dependency); `undefined` = genuinely nothing to resolve, not a failure.
|
|
11
14
|
// Distinguishing the two here means callers never have to infer it from
|
|
@@ -40,4 +43,3 @@ export declare function runManifestFacts({ bin, buildOpts, cwd, ecosystem, entry
|
|
|
40
43
|
verbose: boolean;
|
|
41
44
|
withFiles?: boolean | undefined;
|
|
42
45
|
}): Promise<RunManifestFactsOutcome>;
|
|
43
|
-
//# sourceMappingURL=run-manifest-facts.d.mts.map
|
|
@@ -17,13 +17,18 @@ export declare const NAMESPACELESS_PURL_TYPES: ReadonlySet<string>;
|
|
|
17
17
|
export type BuildFiles = {
|
|
18
18
|
byFile: false;
|
|
19
19
|
names: readonly string[];
|
|
20
|
+
// Entries that make a directory a build of its own: a build that
|
|
21
|
+
// includes the directory as a project does not load what it defines.
|
|
22
|
+
rootMarkers: readonly string[];
|
|
23
|
+
// The tool run in a directory without a root marker loads the build of
|
|
24
|
+
// the nearest ancestor that has one, except in these directories.
|
|
25
|
+
loadsAncestorBuild?: {
|
|
26
|
+
except: readonly string[];
|
|
27
|
+
};
|
|
20
28
|
} | {
|
|
21
29
|
byFile: true;
|
|
22
30
|
nocaseGlob: string;
|
|
23
31
|
walkGlob: string;
|
|
24
|
-
// Each project restores on its own whichever build reaches it, so a build
|
|
25
|
-
// covers its projects wherever they live; solution properties aside.
|
|
26
|
-
projectsResolveAlone?: true;
|
|
27
32
|
// Within one directory, lower runs first; by name otherwise.
|
|
28
33
|
entryRank?: (file: string) => number;
|
|
29
34
|
};
|
|
@@ -34,8 +39,7 @@ export declare const BUILD_FILES: Record<BuildTool, BuildFiles>;
|
|
|
34
39
|
// name, so an sbt run outside a build yields a plausible but bogus SBOM. Maven
|
|
35
40
|
// and Gradle refuse such a directory themselves.
|
|
36
41
|
export declare function looksLikeSbtBuild(projectDir: string): boolean;
|
|
37
|
-
export declare function resolveBuildToolBin(tool: BuildTool, projectDir: string, bin?: string | undefined): string;
|
|
42
|
+
export declare function resolveBuildToolBin(tool: BuildTool, projectDir: string, bin?: string | undefined, standalone?: boolean): string;
|
|
38
43
|
export declare function isDotnetSolution(file: string): boolean;
|
|
39
44
|
// Distinct for every build sharing a directory.
|
|
40
45
|
export declare function socketFactsFileName(tool: BuildTool, entryFile: string | undefined): string | undefined;
|
|
41
|
-
//# sourceMappingURL=build-tool.d.mts.map
|
|
@@ -6,4 +6,3 @@ export declare function compileExcludePathPatterns(paths: readonly string[] | un
|
|
|
6
6
|
export declare function serializeExcludePathPatterns(paths: readonly string[] | undefined): string;
|
|
7
7
|
export type ExcludePathFilter = (relPath: string) => boolean;
|
|
8
8
|
export declare function createExcludePathFilter(paths: readonly string[] | undefined): ExcludePathFilter;
|
|
9
|
-
//# sourceMappingURL=exclude-paths-glob.d.mts.map
|
|
@@ -99,12 +99,13 @@ export type ResolvedArtifactPaths = {
|
|
|
99
99
|
targets?: string[] | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
// Component ids on each project's resolved classpath (union over its
|
|
102
|
-
// configurations), keyed by project id.
|
|
102
|
+
// configurations), keyed by project id. A component on no classpath, such as
|
|
103
|
+
// a Maven 4 `none` dependency, is in the SBOM but not here.
|
|
103
104
|
classpathByProject: Map<string, string[]>;
|
|
104
|
-
// Component ids of each project's direct dependencies
|
|
105
|
+
// Component ids of each project's direct dependencies on its classpath, keyed
|
|
106
|
+
// by project id.
|
|
105
107
|
directDependenciesByProject: Map<string, string[]>;
|
|
106
108
|
// dotnet only: the same per target framework.
|
|
107
109
|
frameworksByProject?: Map<string, ProjectFramework[]> | undefined;
|
|
108
110
|
frameworksById?: Map<string, ComponentFramework[]> | undefined;
|
|
109
111
|
};
|
|
110
|
-
//# sourceMappingURL=facts.d.mts.map
|
|
@@ -17,6 +17,7 @@ import type { ResolutionFailure, Unscannable } from './resolution-report.mts';
|
|
|
17
17
|
// projectBuild projectKey path (build-root-relative; may be absent on disk)
|
|
18
18
|
// excludedProject projectKey (--with-files only; paths without a project)
|
|
19
19
|
// root rootId projectKey config prod(0|1) [framework runtime alias] (dotnet: NuGet short folder name, RID, TargetFrameworks entry)
|
|
20
|
+
// noClasspath rootId (its nodes are on no classpath: in the SBOM, not on a reachability classpath)
|
|
20
21
|
// node rootId coordId group name version ext classifier direct(0|1) project
|
|
21
22
|
// edge rootId parentCoordId childCoordId
|
|
22
23
|
// file rootId coordId path (--with-files only)
|
|
@@ -64,6 +65,7 @@ export type RawRoot = {
|
|
|
64
65
|
rootId: string;
|
|
65
66
|
projectKey: string;
|
|
66
67
|
prod: boolean;
|
|
68
|
+
onClasspath: boolean;
|
|
67
69
|
target?: RawTarget | undefined;
|
|
68
70
|
nodes: Map<string, RawNode>;
|
|
69
71
|
edges: Array<[string, string]>;
|
|
@@ -120,4 +122,3 @@ export type ParsedRecords = {
|
|
|
120
122
|
};
|
|
121
123
|
export declare function unescapeField(s: string): string;
|
|
122
124
|
export declare function parseRecords(text: string): ParsedRecords;
|
|
123
|
-
//# sourceMappingURL=records.d.mts.map
|
|
@@ -8,4 +8,3 @@ export declare function classifyGradleFailure(detail: string): FailureCategory;
|
|
|
8
8
|
// module resolved in no configuration of its project. Nor does checksum-missing:
|
|
9
9
|
// teams often record checksums only for what their own tasks resolve.
|
|
10
10
|
export declare const GRADLE_DIALECT: ResolutionDialect;
|
|
11
|
-
//# sourceMappingURL=resolution-report-gradle.d.mts.map
|
|
@@ -4,4 +4,3 @@ import type { FailureCategory, ResolutionDialect } from './resolution-report-ren
|
|
|
4
4
|
export declare function classifyIvyFailure(detail: string): FailureCategory;
|
|
5
5
|
// Every kind blocks; no non-blocking kind because Ivy has no variant ambiguity.
|
|
6
6
|
export declare const SBT_DIALECT: ResolutionDialect;
|
|
7
|
-
//# sourceMappingURL=resolution-report-ivy.d.mts.map
|
|
@@ -5,4 +5,3 @@ import type { FailureCategory, ResolutionDialect } from './resolution-report-ren
|
|
|
5
5
|
export declare function classifyMavenFailure(detail: string): FailureCategory;
|
|
6
6
|
// Every kind blocks; no non-blocking kind because Maven has no variant ambiguity.
|
|
7
7
|
export declare const MAVEN_DIALECT: ResolutionDialect;
|
|
8
|
-
//# sourceMappingURL=resolution-report-maven.d.mts.map
|
|
@@ -4,4 +4,3 @@ import type { FailureCategory, ResolutionDialect } from './resolution-report-ren
|
|
|
4
4
|
// without a code count as other failures.
|
|
5
5
|
export declare function classifyNugetFailure(detail: string): FailureCategory;
|
|
6
6
|
export declare const NUGET_DIALECT: ResolutionDialect;
|
|
7
|
-
//# sourceMappingURL=resolution-report-nuget.d.mts.map
|
|
@@ -61,4 +61,3 @@ export declare function renderResolutionErrorReport(failures: ResolutionFailure[
|
|
|
61
61
|
unscannable?: Unscannable[] | undefined;
|
|
62
62
|
}): RenderedResolutionReport;
|
|
63
63
|
export declare function verboseHint(hints: BuildOptionHints, tool: BuildTool): string;
|
|
64
|
-
//# sourceMappingURL=resolution-report-render.d.mts.map
|
|
@@ -65,4 +65,3 @@ export declare function enumerateWorkspaces(tool: BuildTool, opts: ManifestScrip
|
|
|
65
65
|
// Undefined when the SDK cannot read the entry (a .slnx before SDK 9.0.200);
|
|
66
66
|
// empty when the listing fails, which the build itself then reports.
|
|
67
67
|
export declare function listDotnetEntryProjects(opts: ManifestScriptOptions): Promise<string[] | undefined>;
|
|
68
|
-
//# sourceMappingURL=run.d.mts.map
|
|
@@ -46,8 +46,7 @@ export type SidecarAccumulator = Map<string, {
|
|
|
46
46
|
// Emit an entry for every SBOM component AND every first-party project: a
|
|
47
47
|
// top-level module is a project, not a dependency component, yet its source
|
|
48
48
|
// roots are where reachability starts, so the sidecar must carry them.
|
|
49
|
-
//
|
|
50
|
-
// repeated call for the same factsFile (the same build run again) overwrites.
|
|
49
|
+
// A run writing a facts file another run wrote replaces its entry.
|
|
51
50
|
export declare function accumulateSidecar(acc: SidecarAccumulator, facts: SocketFactsSbom, artifactPaths: ResolvedArtifactPaths, factsFile: string,
|
|
52
51
|
// Off when artifact paths were not resolved; entries then omit `targets` and `sources`.
|
|
53
52
|
withPaths?: boolean): void;
|
|
@@ -59,4 +58,3 @@ export declare function hasSidecarEntries(acc: SidecarAccumulator): boolean;
|
|
|
59
58
|
// so this is a plain merge; the later input wins on a genuine key collision.
|
|
60
59
|
export declare function mergeResolvedPathsSidecars(a: ResolvedPathsSidecar, b: ResolvedPathsSidecar): ResolvedPathsSidecar;
|
|
61
60
|
export declare function serializeSidecar(acc: SidecarAccumulator): ResolvedPathsSidecar;
|
|
62
|
-
//# sourceMappingURL=sidecar.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,8 +2,7 @@ import type { BuildRoot } from './discover-manifest-roots.mts';
|
|
|
2
2
|
import type { BuildTool } from './scripts/build-tool.mts';
|
|
3
3
|
import type { CResult } from '../../types.mts';
|
|
4
4
|
import type { SocketJson } from '../../utils/socket-json.mts';
|
|
5
|
-
//
|
|
6
|
-
// several POMs, so several roots, there.
|
|
5
|
+
// The builds of one tool in one directory.
|
|
7
6
|
type Candidate = {
|
|
8
7
|
dir: string;
|
|
9
8
|
ecosystem: BuildTool;
|
|
@@ -15,7 +14,7 @@ type ExclusionRoot = {
|
|
|
15
14
|
dir: string;
|
|
16
15
|
ecosystems: BuildTool[];
|
|
17
16
|
};
|
|
18
|
-
|
|
17
|
+
type ScannedBuildRoots = {
|
|
19
18
|
fullByTool: Map<BuildTool, BuildRoot[]>;
|
|
20
19
|
includedByTool: Map<BuildTool, BuildRoot[]>;
|
|
21
20
|
};
|
|
@@ -27,8 +26,14 @@ export declare function scanBuildRoots({ cwd, excludePaths, sockJson }: {
|
|
|
27
26
|
excludePaths?: string[] | undefined;
|
|
28
27
|
sockJson: SocketJson;
|
|
29
28
|
}): Promise<ScannedBuildRoots>;
|
|
30
|
-
|
|
29
|
+
type DiscoveredBuildRoots = {
|
|
31
30
|
excluded: ExclusionRoot[];
|
|
31
|
+
// Build files --exclude-paths matches in a directory whose other build files
|
|
32
|
+
// it does not match.
|
|
33
|
+
excludedBuilds: Array<{
|
|
34
|
+
ecosystem: BuildTool;
|
|
35
|
+
root: BuildRoot;
|
|
36
|
+
}>;
|
|
32
37
|
// Every candidate --exclude-paths didn't rule out - these get the
|
|
33
38
|
// interactive configure-or-inherit walk instead of a bulk write.
|
|
34
39
|
included: Candidate[];
|
|
@@ -44,68 +49,8 @@ export declare function discoverBuildRoots({ cwd, excludePaths, fullByTool, incl
|
|
|
44
49
|
fullByTool: Map<BuildTool, BuildRoot[]>;
|
|
45
50
|
includedByTool: Map<BuildTool, BuildRoot[]>;
|
|
46
51
|
}): Promise<DiscoveredBuildRoots>;
|
|
47
|
-
//
|
|
48
|
-
// candidates can't be told apart. In order, as a root's enumeration can cover
|
|
49
|
-
// the roots after it.
|
|
50
|
-
export declare function markWorkspaceCoverage({ covered, cwd, dir, ecosystem, excludePaths, rootSockJson, roots }: {
|
|
51
|
-
covered: Set<string>;
|
|
52
|
-
cwd: string;
|
|
53
|
-
dir: string;
|
|
54
|
-
ecosystem: BuildTool;
|
|
55
|
-
excludePaths?: string[] | undefined;
|
|
56
|
-
rootSockJson: SocketJson;
|
|
57
|
-
roots: readonly BuildRoot[];
|
|
58
|
-
}): Promise<CResult<undefined>>;
|
|
59
|
-
// Marks one exclusion root's own socket.json `disabled: true` for whichever
|
|
60
|
-
// of its ecosystems aren't already disabled via cascade (an already-disabled
|
|
61
|
-
// ancestor from a prior run) - a no-op write is skipped entirely so re-running
|
|
62
|
-
// the wizard doesn't keep rewriting already-disabled roots.
|
|
63
|
-
export declare function disableExclusionRoot({ cwd, dir, ecosystems, rootSockJson }: {
|
|
64
|
-
cwd: string;
|
|
65
|
-
dir: string;
|
|
66
|
-
ecosystems: readonly BuildTool[];
|
|
67
|
-
rootSockJson: SocketJson;
|
|
68
|
-
}): Promise<CResult<{
|
|
69
|
-
canceled: boolean;
|
|
70
|
-
}>>;
|
|
71
|
-
// Seeds the wizard with this candidate's effective (cascaded) value for any
|
|
72
|
-
// field its own file doesn't already set, so accepting every prompt
|
|
73
|
-
// unchanged preserves what it currently inherits, while an actual change
|
|
74
|
-
// writes an explicit override.
|
|
75
|
-
export declare function configureCandidate({ cwd, dir, ecosystem, rootSockJson }: {
|
|
76
|
-
cwd: string;
|
|
77
|
-
dir: string;
|
|
78
|
-
ecosystem: BuildTool;
|
|
79
|
-
rootSockJson: SocketJson;
|
|
80
|
-
}): Promise<CResult<{
|
|
81
|
-
canceled: boolean;
|
|
82
|
-
}>>;
|
|
83
|
-
type CandidateOutcome = 'configured' | 'inherited' | 'skipped';
|
|
84
|
-
// Prompts for configure/inherit, unless the cascade shows the candidate
|
|
85
|
-
// disabled: offer to re-enable if that's its own file, then continue into
|
|
86
|
-
// the normal prompt; stay silent if it's only inherited from an ancestor's
|
|
87
|
-
// bulk write (that's noise for a large excluded subtree).
|
|
88
|
-
export declare function processCandidate({ cwd, dir, ecosystem, rootSockJson }: {
|
|
89
|
-
cwd: string;
|
|
90
|
-
dir: string;
|
|
91
|
-
ecosystem: BuildTool;
|
|
92
|
-
rootSockJson: SocketJson;
|
|
93
|
-
}): Promise<CResult<{
|
|
94
|
-
canceled: boolean;
|
|
95
|
-
outcome: CandidateOutcome;
|
|
96
|
-
reenabled: boolean;
|
|
97
|
-
}>>;
|
|
98
|
-
// `socket manifest setup --dynamic-sbom-inference`: the up-front scan (see
|
|
99
|
-
// scanBuildRoots) only ever answers "which build tools exist", never "which
|
|
100
|
-
// projects to configure". `--exclude-paths` matches are bulk-disabled
|
|
101
|
-
// unconditionally, independent of the interactive walk below, so re-running
|
|
102
|
-
// later with one more entry (or none) never re-answers settled decisions.
|
|
103
|
-
// Everything else gets a configure-or-inherit prompt (see processCandidate),
|
|
104
|
-
// except a workspace member a parent build already declares - learned via
|
|
105
|
-
// markWorkspaceCoverage right after the parent's own prompt, not a separate
|
|
106
|
-
// bulk pass, so a reactor member is silently skipped instead of prompted.
|
|
52
|
+
// Nothing is written until the user confirms the draft.
|
|
107
53
|
export declare function setupRecursiveManifestConfig(cwd: string, defaultOnReadError: boolean, excludePaths?: string[] | undefined): Promise<CResult<{
|
|
108
54
|
canceled: boolean;
|
|
109
55
|
}>>;
|
|
110
56
|
export {};
|
|
111
|
-
//# sourceMappingURL=setup-recursive-manifest-config.d.mts.map
|
|
@@ -2,4 +2,3 @@ import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
|
2
2
|
export declare function matchLsCmdViewHumanStdout(stdout: string, name: string): boolean;
|
|
3
3
|
export declare function matchQueryCmdStdout(stdout: string, name: string): boolean;
|
|
4
4
|
export declare function lsStdoutIncludes(pkgEnvDetails: EnvDetails, stdout: string, name: string): boolean;
|
|
5
|
-
//# sourceMappingURL=deps-includes-by-agent.d.mts.map
|
|
@@ -5,4 +5,3 @@ export declare function pnpmLockSrcIncludes(lockSrc: string, name: string): bool
|
|
|
5
5
|
export declare function vltLockSrcIncludes(lockSrc: string, name: string): boolean;
|
|
6
6
|
export declare function yarnLockSrcIncludes(lockSrc: string, name: string): boolean;
|
|
7
7
|
export declare function lockSrcIncludes(pkgEnvDetails: EnvDetails, lockSrc: string, name: string, lockName?: string | undefined): boolean;
|
|
8
|
-
//# sourceMappingURL=lockfile-includes-by-agent.d.mts.map
|
|
@@ -5,4 +5,3 @@ export declare function updateOverridesField(editablePkgJson: EditablePackageJso
|
|
|
5
5
|
export declare function updateResolutionsField(editablePkgJson: EditablePackageJson, overrides: Overrides): void;
|
|
6
6
|
export declare function updatePnpmField(editablePkgJson: EditablePackageJson, overrides: Overrides): void;
|
|
7
7
|
export declare function updateManifest(agent: Agent, editablePkgJson: EditablePackageJson, overrides: Overrides): void;
|
|
8
|
-
//# sourceMappingURL=update-manifest-by-agent.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type DependenciesPurlsResult = {
|
|
2
|
+
ok: true;
|
|
3
|
+
purls: string[] | undefined;
|
|
4
|
+
} | {
|
|
5
|
+
ok: false;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function parsePurlsOption(argv: readonly string[], suppliedPurls: unknown): DependenciesPurlsResult;
|
|
9
|
+
export declare function parseDependenciesPurls(values: readonly string[] | undefined): DependenciesPurlsResult;
|
|
10
|
+
export declare function matchesConfirmedPurls(requested: readonly string[], filters: unknown): boolean;
|
|
@@ -4,9 +4,9 @@ import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
|
4
4
|
export type FetchDependenciesConfig = {
|
|
5
5
|
limit: number;
|
|
6
6
|
offset: number;
|
|
7
|
+
purls?: string[] | undefined;
|
|
7
8
|
};
|
|
8
9
|
export type FetchDependenciesOptions = {
|
|
9
10
|
sdkOpts?: SetupSdkOptions | undefined;
|
|
10
11
|
};
|
|
11
12
|
export declare function fetchDependencies(config: FetchDependenciesConfig, options?: FetchDependenciesOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'searchDependencies'>['data']>>;
|
|
12
|
-
//# sourceMappingURL=fetch-dependencies.d.mts.map
|
|
@@ -5,4 +5,3 @@ export type FetchLicensePolicyOptions = {
|
|
|
5
5
|
sdkOpts?: SetupSdkOptions | undefined;
|
|
6
6
|
};
|
|
7
7
|
export declare function fetchLicensePolicy(orgSlug: string, options?: FetchLicensePolicyOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getOrgLicensePolicy'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-license-policy.d.mts.map
|
|
@@ -18,4 +18,3 @@ export type OrganizationsData = {
|
|
|
18
18
|
};
|
|
19
19
|
export type OrganizationsCResult = CResult<OrganizationsData>;
|
|
20
20
|
export declare function fetchOrganization(options?: FetchOrganizationOptions | undefined): Promise<OrganizationsCResult>;
|
|
21
|
-
//# sourceMappingURL=fetch-organization-list.d.mts.map
|
|
@@ -5,4 +5,3 @@ export type FetchSecurityPolicyOptions = {
|
|
|
5
5
|
sdkOpts?: SetupSdkOptions | undefined;
|
|
6
6
|
};
|
|
7
7
|
export declare function fetchSecurityPolicy(orgSlug: string, options?: FetchSecurityPolicyOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getOrgSecurityPolicy'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-security-policy.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleDependencies({ limit, offset, outputKind }: {
|
|
2
|
+
export declare function handleDependencies({ limit, offset, outputKind, purls }: {
|
|
3
3
|
limit: number;
|
|
4
4
|
offset: number;
|
|
5
5
|
outputKind: OutputKind;
|
|
6
|
+
purls: string[] | undefined;
|
|
6
7
|
}): Promise<void>;
|
|
7
|
-
//# sourceMappingURL=handle-dependencies.d.mts.map
|