@socketsecurity/cli 1.15.0 → 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 +18 -0
- package/README.md +16 -9
- package/dist/.config/tsconfig.dts.tsbuildinfo +1 -0
- package/dist/cli.js +2461 -948
- 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 -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 +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 +513 -120
- package/dist/utils.js.map +1 -1
- package/external/@socketsecurity/registry/lib/packages.js +12 -9
- package/package.json +30 -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
|
@@ -15,4 +15,3 @@ export declare function isOmittedReachValue(value: string): boolean;
|
|
|
15
15
|
// detection, not validation, so an unrecognized value resolves to null and is
|
|
16
16
|
// simply treated as "not a non-default value".
|
|
17
17
|
export declare function reachMemoryLimitToMb(value: string): number | null;
|
|
18
|
-
//# sourceMappingURL=reachability-units.d.mts.map
|
|
@@ -5,6 +5,8 @@ import type { ResolvedPathsSidecar } from '../manifest/scripts/sidecar.mts';
|
|
|
5
5
|
// artifact paths), or only the scan upload.
|
|
6
6
|
export type FactsConsumer = 'fix' | 'reach' | 'upload';
|
|
7
7
|
export type DynamicSbomInferenceResult = {
|
|
8
|
+
// Facts files of dropped runs, which the scan must not collect.
|
|
9
|
+
discardedFactsPaths: string[];
|
|
8
10
|
// Each discovered build root's purl type, generated or not: Coana takes
|
|
9
11
|
// these types' artifacts only from facts files.
|
|
10
12
|
factsOnlyTypes: FactsOnlyTypes;
|
|
@@ -25,4 +27,6 @@ export declare function runDynamicSbomInference({ consumer, cwd, excludePaths, p
|
|
|
25
27
|
// Only meaningful for `reach`.
|
|
26
28
|
sbtTmpDir: string | undefined;
|
|
27
29
|
}): Promise<DynamicSbomInferenceResult>;
|
|
28
|
-
|
|
30
|
+
// `paths` without the facts files discovery discarded: each holds what was
|
|
31
|
+
// there before the scan, or a dropped run's facts, not a kept build's.
|
|
32
|
+
export declare function withoutDiscardedFacts(paths: string[], discarded: readonly string[] | undefined): Promise<string[]>;
|
|
@@ -6,4 +6,3 @@ export type StreamScanOptions = {
|
|
|
6
6
|
sdkOpts?: SetupSdkOptions | undefined;
|
|
7
7
|
};
|
|
8
8
|
export declare function streamScan(orgSlug: string, scanId: string, options?: StreamScanOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getOrgFullScan'>['data']>>;
|
|
9
|
-
//# sourceMappingURL=stream-scan.d.mts.map
|
|
@@ -12,4 +12,3 @@ export type ReachabilityTargetValidation = {
|
|
|
12
12
|
* @returns Validation result object with boolean flags.
|
|
13
13
|
*/
|
|
14
14
|
export declare function validateReachabilityTarget(targets: string[], cwd: string): Promise<ReachabilityTargetValidation>;
|
|
15
|
-
//# sourceMappingURL=validate-reachability-target.d.mts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ThreadFeedResponse } from './types.mts';
|
|
2
2
|
import type { CResult, OutputKind } from '../../types.mts';
|
|
3
3
|
export declare function outputThreatFeed(result: CResult<ThreadFeedResponse>, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-threat-feed.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import registryConstants from '@socketsecurity/registry/lib/constants';
|
|
2
2
|
import type { Agent } from './utils/package-environment.mts';
|
|
3
3
|
import type { Remap } from '@socketsecurity/registry/lib/objects';
|
|
4
|
-
declare const AT_LATEST: "@latest", BIOME_JSON: "biome.json", BUN: "bun", CI: "CI", COLUMN_LIMIT: 80, DOT_GIT_DIR: ".git", DOT_SOCKET_DIR: ".socket", EMPTY_FILE: "/* empty */\n", EMPTY_VALUE: "<value>", ESLINT_CONFIG_JS: "eslint.config.js", ESNEXT: "esnext", EXT_CJS: ".cjs", EXT_CMD: ".cmd", EXT_CTS: ".cts", EXT_DTS: ".d.ts", EXT_JS: ".js", EXT_JSON: ".json", EXT_LOCK: ".lock", EXT_LOCKB: ".lockb", EXT_MD: ".md", EXT_MJS: ".mjs", EXT_MTS: ".mts", EXT_PS1: ".ps1", EXT_YAML: ".yaml", EXT_YML: ".yml", EXTENSIONS: "extensions", EXTENSIONS_JSON: "extensions.json", GITIGNORE: ".gitignore",
|
|
4
|
+
declare const AT_LATEST: "@latest", BIOME_JSON: "biome.json", BUN: "bun", CI: "CI", COLUMN_LIMIT: 80, DOT_GIT_DIR: ".git", DOT_PACKAGE_LOCK_JSON: ".package-lock.json", DOT_SOCKET_DIR: ".socket", EMPTY_FILE: "/* empty */\n", EMPTY_VALUE: "<value>", ESLINT_CONFIG_JS: "eslint.config.js", ESNEXT: "esnext", EXT_CJS: ".cjs", EXT_CMD: ".cmd", EXT_CTS: ".cts", EXT_DTS: ".d.ts", EXT_JS: ".js", EXT_JSON: ".json", EXT_LOCK: ".lock", EXT_LOCKB: ".lockb", EXT_MD: ".md", EXT_MJS: ".mjs", EXT_MTS: ".mts", EXT_PS1: ".ps1", EXT_YAML: ".yaml", EXT_YML: ".yml", EXTENSIONS: "extensions", EXTENSIONS_JSON: "extensions.json", GITIGNORE: ".gitignore", LATEST: "latest", LICENSE: "LICENSE", LICENSE_GLOB: "LICEN[CS]E{[.-]*,}", LICENSE_GLOB_RECURSIVE: "**/LICEN[CS]E{[.-]*,}", LICENSE_ORIGINAL: "LICENSE.original", LICENSE_ORIGINAL_GLOB: "*.original{.*,}", LICENSE_ORIGINAL_GLOB_RECURSIVE: "**/*.original{.*,}", LOOP_SENTINEL: 1000000, MANIFEST_JSON: "manifest.json", MIT: "MIT", NODE_AUTH_TOKEN: "NODE_AUTH_TOKEN", NODE_ENV: "NODE_ENV", NODE_MODULES: "node_modules", NODE_MODULES_GLOB_RECURSIVE: "**/node_modules", NPM: "npm", NPX: "npx", OVERRIDES: "overrides", PACKAGE_DEFAULT_VERSION: "1.0.0", PACKAGE_JSON: "package.json", PACKAGE_LOCK_JSON: "package-lock.json", PNPM: "pnpm", PNPM_LOCK_YAML: "pnpm-lock.yaml", PRE_COMMIT: "PRE_COMMIT", README_GLOB: "README{.*,}", README_GLOB_RECURSIVE: "**/README{.*,}", README_MD: "README.md", REGISTRY: "registry", REGISTRY_SCOPE_DELIMITER: "__", RESOLUTIONS: "resolutions", SOCKET_GITHUB_ORG: "SocketDev", SOCKET_IPC_HANDSHAKE: "SOCKET_IPC_HANDSHAKE", SOCKET_OVERRIDE_SCOPE: "@socketoverride", SOCKET_PUBLIC_API_TOKEN: string, SOCKET_REGISTRY_NPM_ORG: "socketregistry", SOCKET_REGISTRY_PACKAGE_NAME: "@socketsecurity/registry", SOCKET_REGISTRY_REPO_NAME: "socket-registry", SOCKET_REGISTRY_SCOPE: "@socketregistry", SOCKET_SECURITY_SCOPE: "@socketsecurity", TSCONFIG_JSON: "tsconfig.json", UNKNOWN_ERROR: "Unknown error", UNKNOWN_VALUE: "<unknown>", UNLICENCED: "UNLICENCED", UNLICENSED: "UNLICENSED", UTF8: "utf8", VITEST: "VITEST", VLT: "vlt", YARN: "yarn", YARN_BERRY: "yarn/berry", YARN_CLASSIC: "yarn/classic", YARN_LOCK: "yarn.lock";
|
|
5
5
|
export type RegistryEnv = typeof registryConstants.ENV;
|
|
6
6
|
export type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)'];
|
|
7
7
|
export type Sentry = any;
|
|
@@ -50,6 +50,7 @@ export type ENV = Remap<RegistryEnv & Readonly<{
|
|
|
50
50
|
SOCKET_CLI_NO_API_TOKEN: boolean;
|
|
51
51
|
SOCKET_CLI_NPM_PATH: string;
|
|
52
52
|
SOCKET_CLI_ORG_SLUG: string;
|
|
53
|
+
SOCKET_CLI_SOCKET_PATCH_PATH: string;
|
|
53
54
|
SOCKET_CLI_VIEW_ALL_RISKS: boolean;
|
|
54
55
|
SOCKET_PATCH_PROXY_URL: string;
|
|
55
56
|
TERM: string;
|
|
@@ -75,7 +76,7 @@ declare const ALERT_TYPE_MILD_CVE = "mildCVE";
|
|
|
75
76
|
declare const API_V0_URL = "https://api.socket.dev/v0/";
|
|
76
77
|
// The Coana CLI version Socket CLI runs by default. Coana's release workflow
|
|
77
78
|
// rewrites this line in its bump PRs.
|
|
78
|
-
declare const COANA_CLI_VERSION = "15.15.
|
|
79
|
+
declare const COANA_CLI_VERSION = "15.15.2";
|
|
79
80
|
declare const CONFIG_KEY_API_BASE_URL = "apiBaseUrl";
|
|
80
81
|
declare const CONFIG_KEY_API_PROXY = "apiProxy";
|
|
81
82
|
declare const CONFIG_KEY_API_TOKEN = "apiToken";
|
|
@@ -86,7 +87,6 @@ declare const CONFIG_KEY_ORG = "org";
|
|
|
86
87
|
// The Socket facts filename. The file itself is generated by the Coana CLI's
|
|
87
88
|
// `manifest` commands; this constant must match the filename Coana emits.
|
|
88
89
|
declare const DOT_SOCKET_DOT_FACTS_JSON: string;
|
|
89
|
-
declare const DLX_BINARY_CACHE_TTL: number; // 7 days in milliseconds.
|
|
90
90
|
declare const DRY_RUN_LABEL = "[DryRun]";
|
|
91
91
|
declare const DRY_RUN_BAILING_NOW = "[DryRun]: Bailing now";
|
|
92
92
|
declare const DRY_RUN_NOT_SAVING = "[DryRun]: Not saving";
|
|
@@ -140,6 +140,8 @@ declare const REPORT_LEVEL_MONITOR = "monitor";
|
|
|
140
140
|
declare const REPORT_LEVEL_WARN = "warn";
|
|
141
141
|
declare const REQUIREMENTS_TXT = "requirements.txt";
|
|
142
142
|
declare const SOCKET_CLI_ACCEPT_RISKS = "SOCKET_CLI_ACCEPT_RISKS";
|
|
143
|
+
// The variables socket-cli reads the Socket API token from, first one first.
|
|
144
|
+
declare const SOCKET_CLI_API_TOKEN_VARIABLES: readonly ["SOCKET_CLI_API_TOKEN", "SOCKET_CLI_API_KEY", "SOCKET_SECURITY_API_TOKEN", "SOCKET_SECURITY_API_KEY"];
|
|
143
145
|
declare const SOCKET_CLI_BIN_NAME = "socket";
|
|
144
146
|
declare const SOCKET_CLI_ISSUES_URL = "https://github.com/SocketDev/socket-cli/issues";
|
|
145
147
|
declare const SOCKET_CLI_SHADOW_ACCEPT_RISKS = "SOCKET_CLI_SHADOW_ACCEPT_RISKS";
|
|
@@ -174,7 +176,6 @@ export type Constants = Remap<Omit<typeof registryConstants, 'Symbol(kInternalsS
|
|
|
174
176
|
readonly CONFIG_KEY_ORG: typeof CONFIG_KEY_ORG;
|
|
175
177
|
readonly DOT_GIT_DIR: typeof DOT_GIT_DIR;
|
|
176
178
|
readonly DOT_SOCKET_DIR: typeof DOT_SOCKET_DIR;
|
|
177
|
-
readonly DLX_BINARY_CACHE_TTL: typeof DLX_BINARY_CACHE_TTL;
|
|
178
179
|
readonly DOT_SOCKET_DOT_FACTS_JSON: typeof DOT_SOCKET_DOT_FACTS_JSON;
|
|
179
180
|
readonly DRY_RUN_BAILING_NOW: typeof DRY_RUN_BAILING_NOW;
|
|
180
181
|
readonly DRY_RUN_LABEL: typeof DRY_RUN_LABEL;
|
|
@@ -301,11 +302,11 @@ export type Constants = Remap<Omit<typeof registryConstants, 'Symbol(kInternalsS
|
|
|
301
302
|
readonly socketRegistryPath: string;
|
|
302
303
|
readonly zshRcPath: string;
|
|
303
304
|
}>;
|
|
305
|
+
export declare function resolveBlessedTerm(term: string | undefined, win32: boolean): string;
|
|
304
306
|
declare const constants: Constants;
|
|
305
307
|
export {
|
|
306
308
|
// Re-exported from socket-registry.
|
|
307
309
|
AT_LATEST, BIOME_JSON, BUN, CI, COLUMN_LIMIT, DOT_GIT_DIR, DOT_PACKAGE_LOCK_JSON, DOT_SOCKET_DIR, EMPTY_FILE, EMPTY_VALUE, ESLINT_CONFIG_JS, ESNEXT, EXTENSIONS, EXTENSIONS_JSON, EXT_CJS, EXT_CMD, EXT_CTS, EXT_DTS, EXT_JS, EXT_JSON, EXT_LOCK, EXT_LOCKB, EXT_MD, EXT_MJS, EXT_MTS, EXT_PS1, EXT_YAML, EXT_YML, GITIGNORE, LATEST, LICENSE, LICENSE_GLOB, LICENSE_GLOB_RECURSIVE, LICENSE_ORIGINAL, LICENSE_ORIGINAL_GLOB, LICENSE_ORIGINAL_GLOB_RECURSIVE, LOOP_SENTINEL, MANIFEST_JSON, MIT, NODE_AUTH_TOKEN, NODE_ENV, NODE_MODULES, NODE_MODULES_GLOB_RECURSIVE, NPM, NPX, OVERRIDES, PACKAGE_DEFAULT_VERSION, PACKAGE_JSON, PACKAGE_LOCK_JSON, PNPM, PNPM_LOCK_YAML, PRE_COMMIT, README_GLOB, README_GLOB_RECURSIVE, README_MD, REGISTRY, REGISTRY_SCOPE_DELIMITER, RESOLUTIONS, SOCKET_GITHUB_ORG, SOCKET_IPC_HANDSHAKE, SOCKET_OVERRIDE_SCOPE, SOCKET_PUBLIC_API_TOKEN, SOCKET_REGISTRY_NPM_ORG, SOCKET_REGISTRY_PACKAGE_NAME, SOCKET_REGISTRY_REPO_NAME, SOCKET_REGISTRY_SCOPE, SOCKET_SECURITY_SCOPE, TSCONFIG_JSON, UNKNOWN_ERROR, UNKNOWN_VALUE, UNLICENCED, UNLICENSED, UTF8, VITEST, VLT, YARN, YARN_BERRY, YARN_CLASSIC, YARN_LOCK,
|
|
308
310
|
// Socket CLI specific constants.
|
|
309
|
-
ALERT_TYPE_CRITICAL_CVE, ALERT_TYPE_CVE, ALERT_TYPE_MEDIUM_CVE, ALERT_TYPE_MILD_CVE, API_V0_URL, COANA_CLI_VERSION, CONFIG_KEY_API_BASE_URL, CONFIG_KEY_API_PROXY, CONFIG_KEY_API_TOKEN, CONFIG_KEY_AUTH_TYPE, CONFIG_KEY_DEFAULT_ORG, CONFIG_KEY_ENFORCED_ORGS, CONFIG_KEY_ORG,
|
|
311
|
+
ALERT_TYPE_CRITICAL_CVE, ALERT_TYPE_CVE, ALERT_TYPE_MEDIUM_CVE, ALERT_TYPE_MILD_CVE, API_V0_URL, COANA_CLI_VERSION, CONFIG_KEY_API_BASE_URL, CONFIG_KEY_API_PROXY, CONFIG_KEY_API_TOKEN, CONFIG_KEY_AUTH_TYPE, CONFIG_KEY_DEFAULT_ORG, CONFIG_KEY_ENFORCED_ORGS, CONFIG_KEY_ORG, DOT_SOCKET_DOT_FACTS_JSON, DRY_RUN_BAILING_NOW, DRY_RUN_LABEL, DRY_RUN_NOT_SAVING, ENVIRONMENT_YAML, ENVIRONMENT_YML, ERROR_NO_MANIFEST_FILES, ERROR_NO_PACKAGE_JSON, ERROR_NO_REPO_FOUND, ERROR_NO_SOCKET_DIR, ERROR_UNABLE_RESOLVE_ORG, FLAG_CONFIG, FLAG_DRY_RUN, FLAG_HELP, FLAG_HELP_FULL, FLAG_ID, FLAG_JSON, FLAG_LOGLEVEL, FLAG_MARKDOWN, FLAG_ORG, FLAG_PIN, FLAG_PROD, FLAG_QUIET, FLAG_SILENT, FLAG_TEXT, FLAG_VERBOSE, FLAG_VERSION, FOLD_SETTING_FILE, FOLD_SETTING_NONE, FOLD_SETTING_PKG, FOLD_SETTING_VERSION, GQL_PAGE_SENTINEL, GQL_PR_STATE_CLOSED, GQL_PR_STATE_MERGED, GQL_PR_STATE_OPEN, HTTP_STATUS_BAD_REQUEST, HTTP_STATUS_FORBIDDEN, HTTP_STATUS_INTERNAL_SERVER_ERROR, HTTP_STATUS_NOT_FOUND, HTTP_STATUS_UNAUTHORIZED, NPM_BUGGY_OVERRIDES_PATCHED_VERSION, NPM_REGISTRY_URL, OUTPUT_JSON, OUTPUT_MARKDOWN, OUTPUT_TEXT, PNPM_WORKSPACE_YAML, REDACTED, REPORT_LEVEL_DEFER, REPORT_LEVEL_ERROR, REPORT_LEVEL_IGNORE, REPORT_LEVEL_MONITOR, REPORT_LEVEL_WARN, REQUIREMENTS_TXT, SCAN_TYPE_SOCKET, SCAN_TYPE_SOCKET_TIER1, SOCKET_CLI_ACCEPT_RISKS, SOCKET_CLI_API_TOKEN_VARIABLES, SOCKET_CLI_BIN_NAME, SOCKET_CLI_ISSUES_URL, SOCKET_CLI_SHADOW_ACCEPT_RISKS, SOCKET_CLI_SHADOW_API_TOKEN, SOCKET_CLI_SHADOW_BIN, SOCKET_CLI_SHADOW_PROGRESS, SOCKET_CLI_SHADOW_SILENT, SOCKET_CLI_VIEW_ALL_RISKS, SOCKET_DEFAULT_BRANCH, SOCKET_DEFAULT_REPOSITORY, SOCKET_JSON, SOCKET_WEBSITE_URL, SOCKET_YAML, SOCKET_YML, V1_MIGRATION_GUIDE_URL, };
|
|
310
312
|
export default constants;
|
|
311
|
-
//# sourceMappingURL=constants.d.mts.map
|
package/dist/types/flags.d.mts
CHANGED
package/dist/types/npm-cli.d.mts
CHANGED
package/dist/types/npx-cli.d.mts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from 'node:events';
|
|
2
|
+
import type { DlxOptions } from '../../utils/dlx.mts';
|
|
3
|
+
import type { EmbeddedToolRunResult } from '../runtime.mts';
|
|
4
|
+
export declare function runCdxgen(projectPath: string, outputPath: string, options?: DlxOptions, beforeExit?: (() => Promise<void>) | undefined): Promise<{
|
|
5
|
+
spawnPromise: Promise<EmbeddedToolRunResult> & {
|
|
6
|
+
process: EventEmitter;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface OwnedPackageLock {
|
|
2
|
+
path: string;
|
|
3
|
+
dev: string;
|
|
4
|
+
ino: string;
|
|
5
|
+
size: number;
|
|
6
|
+
sha256: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function removeOwnedPackageLock(owner: OwnedPackageLock | undefined): Promise<void>;
|
|
9
|
+
export declare function convertYarnClassicToNpmLock(projectPath: string, signal?: AbortSignal): Promise<OwnedPackageLock>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { promises as fs } from 'node:fs';
|
|
2
|
+
/** Replace an executable and its manifest as one rollback-safe publication. */
|
|
3
|
+
export declare function publishArtifactPair({ operations, outputBinary, outputManifest, stagedBinary, stagedManifest, transactionDirectory }: {
|
|
4
|
+
stagedBinary: string;
|
|
5
|
+
stagedManifest: string;
|
|
6
|
+
outputBinary: string;
|
|
7
|
+
outputManifest: string;
|
|
8
|
+
transactionDirectory: string;
|
|
9
|
+
operations?: {
|
|
10
|
+
rename?: typeof fs.rename;
|
|
11
|
+
rm?: typeof fs.rm;
|
|
12
|
+
};
|
|
13
|
+
}): Promise<void>;
|
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
export declare function sha512IntegrityHex(integrity: string): string | undefined;
|
|
3
|
+
export declare function findNodeArchiveSha256(sums: string, archive: string): string | undefined;
|
|
4
|
+
export declare function findLockedPackageIntegrity(lock: string, packageName: string, version: string): string | undefined;
|
|
5
|
+
declare function pinnedNode(target: string): Promise<{
|
|
6
|
+
executable: string;
|
|
7
|
+
licenseFile: string;
|
|
8
|
+
temporaryDirectory?: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function parseArgs(argv?: string[], env?: NodeJS.ProcessEnv): {
|
|
11
|
+
platform?: string;
|
|
10
12
|
arch?: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Download Node.js binary for a specific platform.
|
|
16
|
-
*/
|
|
17
|
-
declare function downloadNodeBinary(version: string, platform: NodeJS.Platform, arch: string): Promise<string>;
|
|
18
|
-
/**
|
|
19
|
-
* Build a single target.
|
|
20
|
-
*/
|
|
21
|
-
declare function buildTarget(target: BuildTarget, options: BuildOptions): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Main build function.
|
|
24
|
-
*/
|
|
13
|
+
outputDir: string;
|
|
14
|
+
prototype: boolean;
|
|
15
|
+
};
|
|
25
16
|
declare function main(): Promise<void>;
|
|
26
|
-
export {
|
|
27
|
-
//# sourceMappingURL=build-sea.d.mts.map
|
|
17
|
+
export { main, pinnedNode };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type SeaCapability = {
|
|
2
|
+
id: string;
|
|
3
|
+
} | {
|
|
4
|
+
id: string;
|
|
5
|
+
reason: string;
|
|
6
|
+
};
|
|
7
|
+
export type SeaCapabilities = {
|
|
8
|
+
available: string[];
|
|
9
|
+
unavailable: Array<{
|
|
10
|
+
id: string;
|
|
11
|
+
reason: string;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
export declare function createSeaCapabilities({ hasCdxgen, hasSocketPatch, hasSynp, hasUv, socketPatchVersion, triple }: {
|
|
15
|
+
triple: string;
|
|
16
|
+
hasCdxgen: boolean;
|
|
17
|
+
hasSynp: boolean;
|
|
18
|
+
hasSocketPatch: boolean;
|
|
19
|
+
hasUv: boolean;
|
|
20
|
+
socketPatchVersion?: string;
|
|
21
|
+
}): SeaCapabilities;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type DownloadBytesOptions = {
|
|
2
|
+
fetchOptions?: Omit<NonNullable<Parameters<typeof fetch>[1]>, 'signal'> | undefined;
|
|
3
|
+
maxBytes?: number | undefined;
|
|
4
|
+
timeoutMs?: number | undefined;
|
|
5
|
+
acceptedStatuses?: readonly number[] | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare function errorMessage(error: unknown): string;
|
|
8
|
+
export declare function isRetryable(error: unknown): boolean;
|
|
9
|
+
export declare function cancelBody(response: Response): Promise<void>;
|
|
10
|
+
export declare function failedDownload(url: string, attempts: number, cause: unknown): Error;
|
|
11
|
+
export declare function waitBeforeRetry(attempt: number): Promise<void>;
|
|
12
|
+
/** Fetch bytes with bounded retries for transient transport failures only. */
|
|
13
|
+
export declare function downloadBytes(url: string, { acceptedStatuses, fetchOptions, maxBytes, timeoutMs }?: DownloadBytesOptions): Promise<Buffer>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type DownloadDigestAlgorithm = 'sha256' | 'sha512';
|
|
2
|
+
export interface CachedDownloadOptions {
|
|
3
|
+
readonly algorithm: DownloadDigestAlgorithm;
|
|
4
|
+
readonly digest: string;
|
|
5
|
+
readonly maxBytes?: number;
|
|
6
|
+
readonly cacheRoot?: string;
|
|
7
|
+
readonly lockTimeoutMs?: number;
|
|
8
|
+
readonly lockPollMs?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class DownloadIntegrityError extends Error {
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
}
|
|
13
|
+
export declare function validateDownloadDigest(algorithm: DownloadDigestAlgorithm, value: string): string;
|
|
14
|
+
export declare function hashDownloadBytes(bytes: Uint8Array, algorithm: DownloadDigestAlgorithm): string;
|
|
15
|
+
export declare function cachedDownload(_url: string, options: CachedDownloadOptions, fetchBytes: () => Promise<Buffer>): Promise<Buffer>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NODE_VERSION: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const NODE_VERSION_START = "<!-- socket-sea-node-version:start -->";
|
|
2
|
+
export declare const NODE_VERSION_END = "<!-- socket-sea-node-version:end -->";
|
|
3
|
+
export declare function renderSeaReadme(readme: string, nodeVersion: string): string;
|
|
4
|
+
export declare function updateSeaReadmeVersion(readmePath: string, nodeVersion: string): Promise<boolean>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type Writable } from 'node:stream';
|
|
2
|
+
import type { StdioOptions } from 'node:child_process';
|
|
3
|
+
/**
|
|
4
|
+
* SEA runtime adapters. Node 27 VFS Workers share the parent PID, so these are
|
|
5
|
+
* for allowlisted JavaScript tools that are compatible with Worker threads;
|
|
6
|
+
* native helpers use getBundledTool() and a real child process instead.
|
|
7
|
+
*/
|
|
8
|
+
export interface EmbeddedToolRunOptions {
|
|
9
|
+
cwd?: string | URL | undefined;
|
|
10
|
+
env?: NodeJS.ProcessEnv | undefined;
|
|
11
|
+
/** True (default) merges process.env with env; false uses only defined env entries. */
|
|
12
|
+
inheritEnv?: boolean | undefined;
|
|
13
|
+
/** Explicit Socket metadata for the Worker; this is workerData, not process IPC. */
|
|
14
|
+
ipc?: Readonly<Record<string, string | boolean | undefined>> | undefined;
|
|
15
|
+
stdio?: StdioOptions | undefined;
|
|
16
|
+
stdin?: string | Buffer | NodeJS.ReadableStream | AsyncIterable<string | Uint8Array> | undefined;
|
|
17
|
+
stdout?: Writable | undefined;
|
|
18
|
+
stderr?: Writable | undefined;
|
|
19
|
+
signal?: AbortSignal | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface EmbeddedToolRunResult {
|
|
22
|
+
code: number | null;
|
|
23
|
+
signal: NodeJS.Signals | null;
|
|
24
|
+
cancelled?: boolean;
|
|
25
|
+
stdout?: string;
|
|
26
|
+
stderr?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function isStandaloneSea(): boolean;
|
|
29
|
+
export declare function getEmbeddedAsset(id: string): Buffer;
|
|
30
|
+
/** Fail closed unless the build manifest explicitly advertises this tool. */
|
|
31
|
+
export declare function assertEmbeddedToolAvailable(id: 'cdxgen' | 'synp', capability?: 'manifest-cdxgen-npm-lock-v3' | 'manifest-cdxgen-yarn-classic'): void;
|
|
32
|
+
export declare function getBundledTool(id: string): Promise<string>;
|
|
33
|
+
export declare function cleanupBundledTool(filename: string): Promise<void>;
|
|
34
|
+
export declare function runEmbeddedJsTool(id: string, args: readonly string[], options?: EmbeddedToolRunOptions): Promise<EmbeddedToolRunResult>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** Stage the pinned Synp API, its bundled dependency closure, and licenses. */
|
|
2
|
+
export declare function stageSynp(stageRoot: string, expectedVersion: string): Promise<{
|
|
3
|
+
packageName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
license: string;
|
|
6
|
+
integrity: string;
|
|
7
|
+
fileCount: number;
|
|
8
|
+
noticePackageCount: number;
|
|
9
|
+
obligationCount: number;
|
|
10
|
+
noticeInventorySha256: string;
|
|
11
|
+
noticeDocuments: Array<{
|
|
12
|
+
path: string;
|
|
13
|
+
sha256: string;
|
|
14
|
+
}>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type Platform = 'darwin' | 'linux' | 'win32';
|
|
2
|
+
type Architecture = 'arm64' | 'x64';
|
|
3
|
+
type Target = `${Platform}-${Architecture}`;
|
|
4
|
+
export type StagedUv = {
|
|
5
|
+
packageName: string;
|
|
6
|
+
version: string;
|
|
7
|
+
target: Target;
|
|
8
|
+
license: string;
|
|
9
|
+
archive: string;
|
|
10
|
+
sourceUrl: string;
|
|
11
|
+
declaredArchiveSha256: string;
|
|
12
|
+
binaryPath: string;
|
|
13
|
+
binarySha256: string;
|
|
14
|
+
binarySize: number;
|
|
15
|
+
licenseFiles: Array<{
|
|
16
|
+
path: string;
|
|
17
|
+
sha256: string;
|
|
18
|
+
size: number;
|
|
19
|
+
}>;
|
|
20
|
+
noticeInventoryPath: string;
|
|
21
|
+
noticeInventorySha256: string;
|
|
22
|
+
noticeDocuments: Array<{
|
|
23
|
+
path: string;
|
|
24
|
+
sha256: string;
|
|
25
|
+
}>;
|
|
26
|
+
noticeObligations: string[];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Fetch and stage the exact upstream uv executable for one native SEA target.
|
|
30
|
+
* Downloads happen only during the build. The runtime receives the extracted,
|
|
31
|
+
* verified executable and does not acquire uv or Python.
|
|
32
|
+
*/
|
|
33
|
+
export declare function stageUv(stageRoot: string, platform?: string, arch?: string): Promise<StagedUv>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type ReleasePolicy = {
|
|
2
|
+
mode: 'stable-from-hint';
|
|
3
|
+
distTag: string;
|
|
4
|
+
} | {
|
|
5
|
+
mode: 'prerelease-only';
|
|
6
|
+
versionHint: string;
|
|
7
|
+
identifier: string;
|
|
8
|
+
distTag: string;
|
|
9
|
+
};
|
|
10
|
+
type PrereleaseReleasePolicy = Extract<ReleasePolicy, {
|
|
11
|
+
mode: 'prerelease-only';
|
|
12
|
+
}>;
|
|
13
|
+
export declare function parseReleasePolicy(value: unknown): ReleasePolicy;
|
|
14
|
+
export declare function matchesReleasePolicy(version: string, policy: ReleasePolicy): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Use the release-preparation version when building the configured SEA line.
|
|
17
|
+
* Feature builds on the older release line use rc.0 until a bump prepares a
|
|
18
|
+
* specific prerelease version in package.json.
|
|
19
|
+
*/
|
|
20
|
+
export declare function seaVersionForManifestVersion(version: string, policy: PrereleaseReleasePolicy): string;
|
|
21
|
+
export declare function releasePolicyPath(root?: string): string;
|
|
22
|
+
export declare function readReleasePolicy(root?: string): ReleasePolicy;
|
|
23
|
+
/** SEA builds require an explicit prerelease-only release policy. */
|
|
24
|
+
export declare function readSeaReleaseConfig(root?: string): PrereleaseReleasePolicy;
|
|
25
|
+
/** SEA prereleases use the final release version as their stable hint. */
|
|
26
|
+
export declare const SEA_RELEASE_POLICY: {
|
|
27
|
+
mode: "prerelease-only";
|
|
28
|
+
versionHint: string;
|
|
29
|
+
identifier: string;
|
|
30
|
+
distTag: string;
|
|
31
|
+
};
|
|
32
|
+
/** Version reported by the standalone SEA build and its npm prerelease. */
|
|
33
|
+
export declare const SEA_VERSION: string;
|
|
34
|
+
export {};
|
|
@@ -2,4 +2,3 @@ import type { ShadowBinOptions, ShadowBinResult } from '../npm-base.mts';
|
|
|
2
2
|
import type { SpawnExtra } from '@socketsecurity/registry/lib/spawn';
|
|
3
3
|
export type { ShadowBinOptions, ShadowBinResult };
|
|
4
4
|
export default function shadowNpmBin(args?: string[] | readonly string[], options?: ShadowBinOptions | undefined, extra?: SpawnExtra | undefined): Promise<ShadowBinResult>;
|
|
5
|
-
//# sourceMappingURL=bin.d.mts.map
|