@socketsecurity/cli 1.14.1 → 1.16.0
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 +31 -0
- package/README.md +42 -10
- package/dist/.config/tsconfig.dts.tsbuildinfo +1 -0
- package/dist/cli.js +2811 -1149
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +53 -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/shadow-npm-bin2.js +5 -2
- package/dist/shadow-npm-bin2.js.map +1 -1
- package/dist/shadow-pnpm-bin2.js +3 -2
- package/dist/shadow-pnpm-bin2.js.map +1 -1
- package/dist/shadow-yarn-bin.js +4 -2
- package/dist/shadow-yarn-bin.js.map +1 -1
- 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 +5 -2
- 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 +1 -2
- package/dist/types/commands/logout/cmd-logout.d.mts +0 -1
- package/dist/types/commands/manifest/bazel/bazel-socket-json-trust.d.mts +34 -0
- 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 +1 -9
- 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 +1 -3
- 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 -3
- package/dist/types/commands/scan/output-scan-view.d.mts +0 -1
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts +0 -2
- 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 +9 -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 +3 -0
- package/dist/types/utils/api.d.mts +4 -2
- 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 +1 -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 +32 -0
- 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 +2 -3
- 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 +14 -7
- 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 +1318 -244
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +567 -567
- package/external/@socketsecurity/registry/lib/packages.js +12 -9
- package/package.json +30 -10
- package/requirements.json +2 -2
- 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-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.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/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
|
@@ -4,6 +4,7 @@ export declare function getBazelEnvironmentValue(env: NodeJS.ProcessEnv, name: s
|
|
|
4
4
|
export declare function prependBazelPath(env: NodeJS.ProcessEnv, dir: string): NodeJS.ProcessEnv;
|
|
5
5
|
export declare function findBazelExecutable(name: string, env: NodeJS.ProcessEnv, cwd: string): Promise<string | undefined>;
|
|
6
6
|
export declare function resolveBazelExecutable(file: string): string;
|
|
7
|
+
export declare function isNodeScript(bin: string): boolean;
|
|
7
8
|
export declare class BazelTimeoutError extends Error {
|
|
8
9
|
readonly stdout: string;
|
|
9
10
|
readonly stderr: string;
|
|
@@ -22,4 +23,3 @@ export declare function buildBazelStartupFlags(opts: {
|
|
|
22
23
|
bazelOutputBase?: string;
|
|
23
24
|
outputUserRoot?: string;
|
|
24
25
|
}): string[];
|
|
25
|
-
//# sourceMappingURL=bazel-process.d.mts.map
|
package/dist/types/commands/manifest/bazel/{bazel-pypi-discovery.d.mts → pypi-discovery.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RepoProbe } from './
|
|
1
|
+
import type { RepoProbe } from './repo-discovery.mts';
|
|
2
2
|
// Result shape returned by `validatePypiHub`. Kept local to the PyPI module
|
|
3
3
|
// since validation here is hub-alias-marker based (different from the
|
|
4
4
|
// Maven-side tri-state classifier).
|
|
@@ -41,4 +41,3 @@ export declare function validatePypiHub(hubName: string, probe: RepoProbe, verbo
|
|
|
41
41
|
// as a Map keyed by hub name with the validated PypiHubInfo.
|
|
42
42
|
// Always seeds with the default 'pypi' hub name first.
|
|
43
43
|
export declare function discoverPypiHubs(cwd: string, probe: RepoProbe, nativeCandidates?: string[], verbose?: boolean, bazelCommandCandidates?: PypiHubCandidate[]): Promise<Map<string, PypiHubInfo>>;
|
|
44
|
-
//# sourceMappingURL=bazel-pypi-discovery.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildBazelStartupFlags as buildStartupFlags } from './
|
|
2
|
-
import type { RepoProbe } from './
|
|
1
|
+
import { buildBazelStartupFlags as buildStartupFlags } from './process.mts';
|
|
2
|
+
import type { RepoProbe } from './repo-discovery.mts';
|
|
3
3
|
export type BazelQueryOptions = {
|
|
4
4
|
bin: string;
|
|
5
5
|
cwd: string;
|
|
@@ -31,7 +31,7 @@ declare function buildBazelArgv(queryStr: string, opts: BazelQueryOptions, outpu
|
|
|
31
31
|
// `--keep_going --output=label` keeps it fast even on partial-analysis
|
|
32
32
|
// repos and avoids paying for `--output=jsonproto` plus
|
|
33
33
|
// `--proto:output_rule_attrs` (which the heavier metadata extraction in
|
|
34
|
-
// `
|
|
34
|
+
// `cquery.mts` needs but the probe does not).
|
|
35
35
|
declare function buildBazelProbeCqueryArgv(repoName: string, opts: BazelQueryOptions): string[];
|
|
36
36
|
/**
|
|
37
37
|
* Run `bazel query` with the standardized argv shape and capture
|
|
@@ -50,7 +50,7 @@ export declare function runBazelModShowVisibleRepos(opts: BazelQueryOptions): Pr
|
|
|
50
50
|
/**
|
|
51
51
|
* Bzlmod-native Maven hub enumeration via the rules_jvm_external maven
|
|
52
52
|
* extension. The text-format report lists every repo the extension
|
|
53
|
-
* generated; `parseShowExtensionOutput` (
|
|
53
|
+
* generated; `parseShowExtensionOutput` (repo-discovery.mts)
|
|
54
54
|
* extracts the hubs from the `Fetched repositories:` section.
|
|
55
55
|
*/
|
|
56
56
|
export declare function runBazelModShowMavenExtension(opts: BazelQueryOptions): Promise<BazelQueryResult>;
|
|
@@ -61,7 +61,7 @@ export declare function runBazelModShowMavenExtension(opts: BazelQueryOptions):
|
|
|
61
61
|
*/
|
|
62
62
|
export declare function runBazelModShowPipExtension(opts: BazelQueryOptions): Promise<BazelQueryResult>;
|
|
63
63
|
/**
|
|
64
|
-
* Build a `RepoProbe` (compatible with
|
|
64
|
+
* Build a `RepoProbe` (compatible with repo-discovery's tri-state
|
|
65
65
|
* classifier) bound to opts. Runs the lightweight presence-check cquery
|
|
66
66
|
* `@<name>//... --output=label --keep_going` — cheap enough to attempt
|
|
67
67
|
* every conventional Maven hub name without triggering `repository_rule`
|
|
@@ -88,4 +88,3 @@ export declare const _internalArgvBuilders: {
|
|
|
88
88
|
buildStartupFlags: typeof buildStartupFlags;
|
|
89
89
|
};
|
|
90
90
|
export {};
|
|
91
|
-
//# sourceMappingURL=bazel-query-runner.d.mts.map
|
package/dist/types/commands/manifest/bazel/{bazel-repo-discovery.d.mts → repo-discovery.d.mts}
RENAMED
|
@@ -71,4 +71,3 @@ export declare function classifyProbeResult(result: ProbeResult): ProbeStatus;
|
|
|
71
71
|
// `classifyProbeResult`; isolated so the test suite can exercise the
|
|
72
72
|
// logging contract independently of the runner implementation.
|
|
73
73
|
export declare function probeCandidate(repoName: string, probe: RepoProbe, verbose?: boolean): Promise<ProbeStatus>;
|
|
74
|
-
//# sourceMappingURL=bazel-repo-discovery.d.mts.map
|
package/dist/types/commands/manifest/bazel/{bazel-workspace-detect.d.mts → workspace-detect.d.mts}
RENAMED
|
@@ -10,4 +10,3 @@ export declare function detectWorkspaceMode(cwd: string): WorkspaceMode;
|
|
|
10
10
|
// Bzlmod-only or migration-window: rely on Bazel 7+ default (Bzlmod on).
|
|
11
11
|
// Legacy-only: explicitly disable Bzlmod and enable WORKSPACE.
|
|
12
12
|
export declare function getBazelInvocationFlags(mode: WorkspaceMode): string[];
|
|
13
|
-
//# sourceMappingURL=bazel-workspace-detect.d.mts.map
|
package/dist/types/commands/manifest/bazel/{bazel-workspace-walk.d.mts → workspace-walk.d.mts}
RENAMED
|
@@ -15,4 +15,3 @@ export type FindWorkspaceRootsOptions = {
|
|
|
15
15
|
// directory that contains at least one workspace marker file. Output is
|
|
16
16
|
// sorted for determinism and capped at MAX_WORKSPACE_ROOTS.
|
|
17
17
|
export declare function findWorkspaceRoots(opts: FindWorkspaceRootsOptions): string[];
|
|
18
|
-
//# sourceMappingURL=bazel-workspace-walk.d.mts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BuildRoot } from './discover-manifest-roots.mts';
|
|
2
|
+
import type { BuildTool } from './scripts/build-tool.mts';
|
|
3
|
+
import type { SocketJson, SocketJsonInDir } from '../../utils/socket-json.mts';
|
|
4
|
+
// The setting that makes the effective `disabled` true.
|
|
5
|
+
export type DisabledBy = {
|
|
6
|
+
// The directory of the socket.json that sets it.
|
|
7
|
+
dir: string;
|
|
8
|
+
// The `defaults.manifest.builds` key, when it is the build's own setting.
|
|
9
|
+
key?: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
export type ResolvedBuildRootSettings = {
|
|
12
|
+
disabledBy: DisabledBy | undefined;
|
|
13
|
+
// The key of the build's own `defaults.manifest.builds` entry.
|
|
14
|
+
entryKey: string | undefined;
|
|
15
|
+
// The cascaded settings, the build's own entries applied last.
|
|
16
|
+
sockJson: SocketJson;
|
|
17
|
+
};
|
|
18
|
+
export declare function buildsSetting(key: string): string;
|
|
19
|
+
// Resolves the socket.json settings of build roots once, reading and
|
|
20
|
+
// validating each socket.json once. `readChain` lists a directory's socket.json files,
|
|
21
|
+
// farthest first; resolvers sharing `warned` warn about a file once.
|
|
22
|
+
export declare function createBuildRootSettingsResolver(readChain?: (dir: string) => SocketJsonInDir[], warned?: Set<string>): (tool: BuildTool, root: BuildRoot) => ResolvedBuildRootSettings;
|
|
23
|
+
// The setting that skips builds, as `<socket.json> sets <setting>`.
|
|
24
|
+
export declare function describeDisabledBy(tool: BuildTool, { dir, key }: DisabledBy): string;
|
|
25
|
+
// Relative to the user's shell when inside it, else absolute.
|
|
26
|
+
export declare function displayPath(file: string): string;
|
|
27
|
+
export declare function socketJsonPath(dir: string): string;
|
|
@@ -6,4 +6,3 @@ export declare const cmdManifestDynamicSbomInference: {
|
|
|
6
6
|
};
|
|
7
7
|
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: CliCommandContext): Promise<void>;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=cmd-manifest-dynamic-sbom-inference.d.mts.map
|
|
@@ -5,4 +5,3 @@ export declare function convertCondaToRequirements(filename: string, cwd: string
|
|
|
5
5
|
}>>;
|
|
6
6
|
// Just extract the first pip block, if one exists at all.
|
|
7
7
|
export declare function convertCondaToRequirementsFromInput(input: string): string;
|
|
8
|
-
//# sourceMappingURL=convert-conda-to-requirements.d.mts.map
|
|
@@ -20,4 +20,3 @@ export declare function detectManifestActions(
|
|
|
20
20
|
// Passing in null means we attempt detection for every supported language
|
|
21
21
|
// regardless of local socket.json status. Sometimes we want that.
|
|
22
22
|
sockJson: SocketJson | null, cwd?: string): Promise<GeneratableManifests>;
|
|
23
|
-
//# sourceMappingURL=detect-manifest-actions.d.mts.map
|
|
@@ -22,15 +22,31 @@ export declare function compareEntryFiles(tool: BuildTool, a: string, b: string)
|
|
|
22
22
|
// check apply it instead.
|
|
23
23
|
export declare function withoutDisabledFlags(sockJson: SocketJson): SocketJson;
|
|
24
24
|
export { realpathOrResolved };
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
//
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
// What a build loaded: its projects' directories and build files,
|
|
26
|
+
// realpath-resolved. Gradle reports a project's build file even when absent,
|
|
27
|
+
// which names nothing.
|
|
28
|
+
export type Membership = {
|
|
29
|
+
dirs: Set<string>;
|
|
30
|
+
files: Set<string>;
|
|
31
|
+
};
|
|
32
|
+
export declare function emptyMembership(): Membership;
|
|
33
|
+
export declare function addMembership(into: Membership, from: Membership): void;
|
|
34
|
+
export declare function unionMemberships(memberships: Iterable<Membership>): Membership;
|
|
35
|
+
export declare function isPathInside(dir: string, file: string): boolean;
|
|
36
|
+
// Paths are relative to `buildRoot`. Only what lies inside `scanRoot` (when
|
|
37
|
+
// given) counts, as only that can be a candidate.
|
|
38
|
+
export declare function membershipOf(buildRoot: string, projects: readonly SocketFactsSbomProject[], scanRoot?: string | undefined): Promise<Membership>;
|
|
39
|
+
export declare function hasRootMarker(tool: BuildTool, root: BuildRoot): boolean;
|
|
40
|
+
// Whether a build loaded `root`'s project; a build of its own (see
|
|
41
|
+
// hasRootMarker) is more than that project. `root.dir` must be
|
|
42
|
+
// realpath-resolved, as findBuildToolCandidates returns it.
|
|
43
|
+
export declare function isBuildRootCovered(covered: Membership, tool: BuildTool, root: BuildRoot): boolean;
|
|
31
44
|
// Whether earlier builds cover `root`: its own build files, or every project
|
|
32
45
|
// a solution builds. isBuildRootCovered alone is the cheap first half.
|
|
33
|
-
export declare function isRootCovered(covered:
|
|
46
|
+
export declare function isRootCovered(covered: Membership, tool: BuildTool, root: BuildRoot, opts: Pick<ManifestScriptOptions, 'bin' | 'excludeBase' | 'excludePaths' | 'toolOpts'>, listMembers?: typeof listDotnetEntryProjects): Promise<boolean>;
|
|
47
|
+
// A build of its own (see hasRootMarker) is covered only by builds that load
|
|
48
|
+
// all of `own`, what it loads itself.
|
|
49
|
+
export declare function isBuildCovered(covered: Membership, tool: BuildTool, root: BuildRoot, opts: Parameters<typeof isRootCovered>[3], own?: Membership | undefined): Promise<boolean>;
|
|
34
50
|
// `tool` orders the entry files of one tool's builds in the same directory.
|
|
35
51
|
export declare function sortByDepthThenPath<T extends BuildRoot>(roots: readonly T[], cwd: string, tool?: BuildTool | undefined): T[];
|
|
36
52
|
// Depth-sorted (root-most first) so the caller visits a reactor root before
|
|
@@ -44,4 +60,3 @@ export declare function findBuildToolCandidates({ cwd, excludePaths, purlTypes,
|
|
|
44
60
|
socketConfig: SocketYml | undefined;
|
|
45
61
|
sockJson: SocketJson;
|
|
46
62
|
}): Promise<Map<BuildTool, BuildRoot[]>>;
|
|
47
|
-
//# sourceMappingURL=discover-manifest-roots.d.mts.map
|
|
@@ -4,10 +4,9 @@ export type EnumerateWorkspacesResult = {
|
|
|
4
4
|
buildRoot: string;
|
|
5
5
|
projects: SocketFactsSbomProject[];
|
|
6
6
|
};
|
|
7
|
-
// Cheap subproject discovery (no dependency resolution) for
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// facts run.
|
|
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.
|
|
11
10
|
export declare function enumerateWorkspaces({ bin, buildOpts, cwd, ecosystem, entryFile, excludeBase, excludePaths, javaHome, verbose }: {
|
|
12
11
|
bin: string;
|
|
13
12
|
buildOpts: string[];
|
|
@@ -21,4 +20,3 @@ export declare function enumerateWorkspaces({ bin, buildOpts, cwd, ecosystem, en
|
|
|
21
20
|
javaHome?: string | undefined;
|
|
22
21
|
verbose: boolean;
|
|
23
22
|
}): Promise<EnumerateWorkspacesResult | undefined>;
|
|
24
|
-
//# sourceMappingURL=enumerate-workspaces.d.mts.map
|
|
@@ -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
|