@socketsecurity/cli-with-sentry 0.15.42 → 0.15.44
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/dist/cli.js +592 -455
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/shadow-inject.js +10 -3
- package/dist/shadow-inject.js.map +1 -1
- package/dist/types/cli.d.mts +2 -0
- package/dist/types/cli.d.mts.map +1 -0
- package/dist/types/commands/analytics/cmd-analytics.d.mts +10 -0
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -0
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -0
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/handle-analytics.d.mts +9 -0
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/output-analytics.d.mts +28 -0
- package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -0
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +10 -0
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -0
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -0
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -0
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -0
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +10 -0
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +4 -0
- package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/ci/cmd-ci.d.mts +10 -0
- package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -0
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +4 -0
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +1 -0
- package/dist/types/commands/ci/handle-ci.d.mts +2 -0
- package/dist/types/commands/ci/handle-ci.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-auto.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-get.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-list.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-set.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-unset.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config.d.mts +3 -0
- package/dist/types/commands/config/cmd-config.d.mts.map +1 -0
- package/dist/types/commands/config/discover-config-value.d.mts +3 -0
- package/dist/types/commands/config/discover-config-value.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-auto.d.mts +7 -0
- package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-get.d.mts +7 -0
- package/dist/types/commands/config/handle-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-set.d.mts +8 -0
- package/dist/types/commands/config/handle-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-unset.d.mts +7 -0
- package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-auto.d.mts +4 -0
- package/dist/types/commands/config/output-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-get.d.mts +4 -0
- package/dist/types/commands/config/output-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-list.d.mts +6 -0
- package/dist/types/commands/config/output-config-list.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-set.d.mts +3 -0
- package/dist/types/commands/config/output-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-unset.d.mts +3 -0
- package/dist/types/commands/config/output-config-unset.d.mts.map +1 -0
- package/dist/types/commands/dependencies/cmd-dependencies.d.mts +10 -0
- package/dist/types/commands/dependencies/cmd-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -0
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -0
- package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -0
- package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +10 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -0
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -0
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -0
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/fix/cmd-fix.d.mts +10 -0
- package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/git.d.mts +40 -0
- package/dist/types/commands/fix/git.d.mts.map +1 -0
- package/dist/types/commands/fix/handle-fix.d.mts +13 -0
- package/dist/types/commands/fix/handle-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/npm-fix.d.mts +15 -0
- package/dist/types/commands/fix/npm-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/open-pr.d.mts +49 -0
- package/dist/types/commands/fix/open-pr.d.mts.map +1 -0
- package/dist/types/commands/fix/output-fix-result.d.mts +3 -0
- package/dist/types/commands/fix/output-fix-result.d.mts.map +1 -0
- package/dist/types/commands/fix/pnpm-fix.d.mts +15 -0
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/run-fix.d.mts +12 -0
- package/dist/types/commands/fix/run-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/shared.d.mts +9 -0
- package/dist/types/commands/fix/shared.d.mts.map +1 -0
- package/dist/types/commands/info/cmd-info.d.mts +10 -0
- package/dist/types/commands/info/cmd-info.d.mts.map +1 -0
- package/dist/types/commands/info/fetch-package-info.d.mts +3 -0
- package/dist/types/commands/info/fetch-package-info.d.mts.map +1 -0
- package/dist/types/commands/info/handle-package-info.d.mts +17 -0
- package/dist/types/commands/info/handle-package-info.d.mts.map +1 -0
- package/dist/types/commands/info/output-package-info.d.mts +10 -0
- package/dist/types/commands/info/output-package-info.d.mts.map +1 -0
- package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/cmd-install.d.mts +3 -0
- package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
- package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
- package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/output-install-completion.d.mts +12 -0
- package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
- package/dist/types/commands/login/apply-login.d.mts +2 -0
- package/dist/types/commands/login/apply-login.d.mts.map +1 -0
- package/dist/types/commands/login/attempt-login.d.mts +2 -0
- package/dist/types/commands/login/attempt-login.d.mts.map +1 -0
- package/dist/types/commands/login/cmd-login.d.mts +10 -0
- package/dist/types/commands/login/cmd-login.d.mts.map +1 -0
- package/dist/types/commands/logout/apply-logout.d.mts +2 -0
- package/dist/types/commands/logout/apply-logout.d.mts.map +1 -0
- package/dist/types/commands/logout/attempt-logout.d.mts +2 -0
- package/dist/types/commands/logout/attempt-logout.d.mts.map +1 -0
- package/dist/types/commands/logout/cmd-logout.d.mts +10 -0
- package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +8 -0
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +7 -0
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +8 -0
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +1 -0
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +13 -0
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -0
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +9 -0
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -0
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +9 -0
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +1 -0
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +2 -0
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +3 -0
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/output-requirements.d.mts +6 -0
- package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -0
- package/dist/types/commands/manifest/run-cdxgen.d.mts +2 -0
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +3 -0
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -0
- package/dist/types/commands/npm/cmd-npm.d.mts +10 -0
- package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -0
- package/dist/types/commands/npx/cmd-npx.d.mts +10 -0
- package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -0
- package/dist/types/commands/oops/cmd-oops.d.mts +10 -0
- package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -0
- package/dist/types/commands/optimize/add-overrides.d.mts +20 -0
- package/dist/types/commands/optimize/add-overrides.d.mts.map +1 -0
- package/dist/types/commands/optimize/apply-optimization.d.mts +9 -0
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +1 -0
- package/dist/types/commands/optimize/cmd-optimize.d.mts +10 -0
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -0
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -0
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -0
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +1 -0
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +9 -0
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/handle-optimize.d.mts +8 -0
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +1 -0
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -0
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/ls-by-agent.d.mts +7 -0
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/output-optimize-result.d.mts +9 -0
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +1 -0
- package/dist/types/commands/optimize/shared.d.mts +2 -0
- package/dist/types/commands/optimize/shared.d.mts.map +1 -0
- package/dist/types/commands/optimize/types.d.mts +9 -0
- package/dist/types/commands/optimize/types.d.mts.map +1 -0
- package/dist/types/commands/optimize/update-lockfile.d.mts +11 -0
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +1 -0
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -0
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-list.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -0
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization.d.mts +3 -0
- package/dist/types/commands/organization/cmd-organization.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -0
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -0
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-quota.d.mts +4 -0
- package/dist/types/commands/organization/fetch-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -0
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-license-policy.d.mts +3 -0
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-organization-list.d.mts +3 -0
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-quota.d.mts +3 -0
- package/dist/types/commands/organization/handle-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-security-policy.d.mts +3 -0
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/output-license-policy.d.mts +4 -0
- package/dist/types/commands/organization/output-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/output-organization-list.d.mts +4 -0
- package/dist/types/commands/organization/output-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/output-quota.d.mts +4 -0
- package/dist/types/commands/organization/output-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/output-security-policy.d.mts +4 -0
- package/dist/types/commands/organization/output-security-policy.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package-score.d.mts +10 -0
- package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package-shallow.d.mts +17 -0
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package.d.mts +3 -0
- package/dist/types/commands/package/cmd-package.d.mts.map +1 -0
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +51 -0
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +1 -0
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -0
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -0
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +1 -0
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -0
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/output-purl-score.d.mts +4 -0
- package/dist/types/commands/package/output-purl-score.d.mts.map +1 -0
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -0
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/parse-package-specifiers.d.mts +9 -0
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +1 -0
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +10 -0
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -0
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -0
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +1 -0
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +10 -0
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -0
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -0
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report-create.d.mts +10 -0
- package/dist/types/commands/report/cmd-report-create.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report-view.d.mts +10 -0
- package/dist/types/commands/report/cmd-report-view.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report.d.mts +3 -0
- package/dist/types/commands/report/cmd-report.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-create.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-create.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-del.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-del.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-list.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-list.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-update.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-update.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-view.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-view.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos.d.mts +3 -0
- package/dist/types/commands/repos/cmd-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -0
- package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -0
- package/dist/types/commands/repos/fetch-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-list-all-repos.d.mts +8 -0
- package/dist/types/commands/repos/fetch-list-all-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -0
- package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -0
- package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -0
- package/dist/types/commands/repos/fetch-view-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-create-repo.d.mts +10 -0
- package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -0
- package/dist/types/commands/repos/handle-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-list-repos.d.mts +11 -0
- package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-update-repo.d.mts +10 -0
- package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-view-repo.d.mts +3 -0
- package/dist/types/commands/repos/handle-view-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-create-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-delete-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-list-repos.d.mts +4 -0
- package/dist/types/commands/repos/output-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/output-update-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-view-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-view-repo.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-create.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-del.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-github.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/create-scan-from-github.d.mts +12 -0
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -0
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -0
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -0
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -0
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-report-data.d.mts +12 -0
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -0
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-scan.d.mts +4 -0
- package/dist/types/commands/scan/fetch-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -0
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +1 -0
- package/dist/types/commands/scan/generate-report.d.mts +43 -0
- package/dist/types/commands/scan/generate-report.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +12 -0
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +21 -0
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -0
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -0
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-list-scans.d.mts +13 -0
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-reach-scan.d.mts +3 -0
- package/dist/types/commands/scan/handle-reach-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-config.d.mts +2 -0
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -0
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-report.d.mts +12 -0
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-view.d.mts +3 -0
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -0
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-delete-scan.d.mts +4 -0
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-diff-scan.d.mts +8 -0
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-list-scans.d.mts +4 -0
- package/dist/types/commands/scan/output-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-config-result.d.mts +3 -0
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -0
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-reach.d.mts +3 -0
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-report.d.mts +20 -0
- package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-view.d.mts +4 -0
- package/dist/types/commands/scan/output-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/scan-reachability.d.mts +3 -0
- package/dist/types/commands/scan/scan-reachability.d.mts.map +1 -0
- package/dist/types/commands/scan/setup-scan-config.d.mts +3 -0
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +1 -0
- package/dist/types/commands/scan/stream-scan.d.mts +2 -0
- package/dist/types/commands/scan/stream-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -0
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +5 -0
- package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -0
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest_target.d.mts +2 -0
- package/dist/types/commands/scan/suggest_target.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -0
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/types.d.mts +15 -0
- package/dist/types/commands/threat-feed/types.d.mts.map +1 -0
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -0
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +1 -0
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +10 -0
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +1 -0
- package/dist/types/constants.d.mts +128 -0
- package/dist/types/constants.d.mts.map +1 -0
- package/dist/types/flags.d.mts +16 -0
- package/dist/types/flags.d.mts.map +1 -0
- package/dist/types/instrument-with-sentry.d.mts +2 -0
- package/dist/types/instrument-with-sentry.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/index.d.mts +19 -0
- package/dist/types/shadow/npm/arborist/index.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +24 -0
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/types.d.mts +119 -0
- package/dist/types/shadow/npm/arborist/types.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist-helpers.d.mts +35 -0
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -0
- package/dist/types/shadow/npm/bin.d.mts +2 -0
- package/dist/types/shadow/npm/bin.d.mts.map +1 -0
- package/dist/types/shadow/npm/inject.d.mts +2 -0
- package/dist/types/shadow/npm/inject.d.mts.map +1 -0
- package/dist/types/shadow/npm/install.d.mts +13 -0
- package/dist/types/shadow/npm/install.d.mts.map +1 -0
- package/dist/types/shadow/npm/link.d.mts +2 -0
- package/dist/types/shadow/npm/link.d.mts.map +1 -0
- package/dist/types/shadow/npm/paths.d.mts +7 -0
- package/dist/types/shadow/npm/paths.d.mts.map +1 -0
- package/dist/types/shadow/npm/proc-log/index.d.mts +3 -0
- package/dist/types/shadow/npm/proc-log/index.d.mts.map +1 -0
- package/dist/types/types.d.mts +29 -0
- package/dist/types/types.d.mts.map +1 -0
- package/dist/types/utils/agent.d.mts +12 -0
- package/dist/types/utils/agent.d.mts.map +1 -0
- package/dist/types/utils/alert/artifact.d.mts +35 -0
- package/dist/types/utils/alert/artifact.d.mts.map +1 -0
- package/dist/types/utils/alert/fix.d.mts +6 -0
- package/dist/types/utils/alert/fix.d.mts.map +1 -0
- package/dist/types/utils/alert/severity.d.mts +14 -0
- package/dist/types/utils/alert/severity.d.mts.map +1 -0
- package/dist/types/utils/alerts-map.d.mts +25 -0
- package/dist/types/utils/alerts-map.d.mts.map +1 -0
- package/dist/types/utils/api.d.mts +13 -0
- package/dist/types/utils/api.d.mts.map +1 -0
- package/dist/types/utils/check-input.d.mts +9 -0
- package/dist/types/utils/check-input.d.mts.map +1 -0
- package/dist/types/utils/cmd.d.mts +4 -0
- package/dist/types/utils/cmd.d.mts.map +1 -0
- package/dist/types/utils/color-or-markdown.d.mts +16 -0
- package/dist/types/utils/color-or-markdown.d.mts.map +1 -0
- package/dist/types/utils/completion.d.mts +11 -0
- package/dist/types/utils/completion.d.mts.map +1 -0
- package/dist/types/utils/config.d.mts +31 -0
- package/dist/types/utils/config.d.mts.map +1 -0
- package/dist/types/utils/determine-org-slug.d.mts +2 -0
- package/dist/types/utils/determine-org-slug.d.mts.map +1 -0
- package/dist/types/utils/errors.d.mts +14 -0
- package/dist/types/utils/errors.d.mts.map +1 -0
- package/dist/types/utils/fail-msg-with-badge.d.mts +2 -0
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +1 -0
- package/dist/types/utils/fs.d.mts +22 -0
- package/dist/types/utils/fs.d.mts.map +1 -0
- package/dist/types/utils/get-output-kind.d.mts +3 -0
- package/dist/types/utils/get-output-kind.d.mts.map +1 -0
- package/dist/types/utils/glob.d.mts +14 -0
- package/dist/types/utils/glob.d.mts.map +1 -0
- package/dist/types/utils/map-to-object.d.mts +10 -0
- package/dist/types/utils/map-to-object.d.mts.map +1 -0
- package/dist/types/utils/markdown.d.mts +10 -0
- package/dist/types/utils/markdown.d.mts.map +1 -0
- package/dist/types/utils/meow-with-subcommands.d.mts +50 -0
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -0
- package/dist/types/utils/npm-package-arg.d.mts +4 -0
- package/dist/types/utils/npm-package-arg.d.mts.map +1 -0
- package/dist/types/utils/npm-paths.d.mts +7 -0
- package/dist/types/utils/npm-paths.d.mts.map +1 -0
- package/dist/types/utils/objects.d.mts +3 -0
- package/dist/types/utils/objects.d.mts.map +1 -0
- package/dist/types/utils/output-formatting.d.mts +15 -0
- package/dist/types/utils/output-formatting.d.mts.map +1 -0
- package/dist/types/utils/package-environment.d.mts +57 -0
- package/dist/types/utils/package-environment.d.mts.map +1 -0
- package/dist/types/utils/path-resolve.d.mts +10 -0
- package/dist/types/utils/path-resolve.d.mts.map +1 -0
- package/dist/types/utils/pnpm.d.mts +11 -0
- package/dist/types/utils/pnpm.d.mts.map +1 -0
- package/dist/types/utils/purl.d.mts +97 -0
- package/dist/types/utils/purl.d.mts.map +1 -0
- package/dist/types/utils/sdk.d.mts +8 -0
- package/dist/types/utils/sdk.d.mts.map +1 -0
- package/dist/types/utils/semver.d.mts +8 -0
- package/dist/types/utils/semver.d.mts.map +1 -0
- package/dist/types/utils/serialize-result-json.d.mts +5 -0
- package/dist/types/utils/serialize-result-json.d.mts.map +1 -0
- package/dist/types/utils/socket-package-alert.d.mts +78 -0
- package/dist/types/utils/socket-package-alert.d.mts.map +1 -0
- package/dist/types/utils/socket-url.d.mts +7 -0
- package/dist/types/utils/socket-url.d.mts.map +1 -0
- package/dist/types/utils/socketjson.d.mts +56 -0
- package/dist/types/utils/socketjson.d.mts.map +1 -0
- package/dist/types/utils/spec.d.mts +5 -0
- package/dist/types/utils/spec.d.mts.map +1 -0
- package/dist/types/utils/strings.d.mts +2 -0
- package/dist/types/utils/strings.d.mts.map +1 -0
- package/dist/types/utils/translations.d.mts +593 -0
- package/dist/types/utils/translations.d.mts.map +1 -0
- package/dist/types/utils/walk-nested-map.d.mts +7 -0
- package/dist/types/utils/walk-nested-map.d.mts.map +1 -0
- package/dist/utils.js +278 -168
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +57456 -53054
- package/external/@socketsecurity/registry/external/browserslist.js +395 -358
- package/external/@socketsecurity/registry/lib/debug.js +15 -5
- package/external/@socketsecurity/registry/lib/logger.js +3 -10
- package/external/@socketsecurity/registry/lib/strings.js +9 -1
- package/package.json +26 -26
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lockfile-includes-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/lockfile-includes-by-agent.mts"],"names":[],"mappings":"AAMA,MAAM,MAAM,mBAAmB,GAAG,CAChC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,KACrB,OAAO,CAAA;AAqDZ,eAAO,MAAM,uBAAuB,0FAOlC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
2
|
+
export type AgentListDepsOptions = {
|
|
3
|
+
npmExecPath?: string;
|
|
4
|
+
};
|
|
5
|
+
export type AgentListDepsFn = (pkgEnvDetails: EnvDetails, cwd: string, options?: AgentListDepsOptions | undefined) => Promise<string>;
|
|
6
|
+
export declare const lsByAgent: Map<"bun" | "npm" | "pnpm" | "vlt" | "yarn/berry" | "yarn/classic", AgentListDepsFn>;
|
|
7
|
+
//# sourceMappingURL=ls-by-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ls-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/ls-by-agent.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAS,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAyK5E,MAAM,MAAM,oBAAoB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,eAAe,GAAG,CAC5B,aAAa,EAAE,UAAU,EACzB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,KACvC,OAAO,CAAC,MAAM,CAAC,CAAA;AAEpB,eAAO,MAAM,SAAS,sFAOpB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function outputOptimizeResult(result: CResult<{
|
|
3
|
+
addedCount: number;
|
|
4
|
+
updatedCount: number;
|
|
5
|
+
pkgJsonChanged: boolean;
|
|
6
|
+
updatedInWorkspaces: number;
|
|
7
|
+
addedInWorkspaces: number;
|
|
8
|
+
}>, outputKind: OutputKind): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=output-optimize-result.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-optimize-result.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/output-optimize-result.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAC,EACF,UAAU,EAAE,UAAU,iBAkCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/shared.mts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StringKeyValueObject } from '../../types.mts';
|
|
2
|
+
export type NpmOverrides = {
|
|
3
|
+
[key: string]: string | StringKeyValueObject;
|
|
4
|
+
};
|
|
5
|
+
export type PnpmOrYarnOverrides = {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
export type Overrides = NpmOverrides | PnpmOrYarnOverrides;
|
|
9
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/types.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE3D,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,oBAAoB,CAAA;CAAE,CAAA;AAE3E,MAAM,MAAM,mBAAmB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Spinner } from '@socketsecurity/registry/lib/spinner';
|
|
2
|
+
import type { CResult } from '../../types.mts';
|
|
3
|
+
import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
4
|
+
import type { Logger } from '@socketsecurity/registry/lib/logger';
|
|
5
|
+
export type UpdateLockfileOptions = {
|
|
6
|
+
cmdName?: string | undefined;
|
|
7
|
+
logger?: Logger | undefined;
|
|
8
|
+
spinner?: Spinner | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare function updateLockfile(pkgEnvDetails: EnvDetails, options: UpdateLockfileOptions): Promise<CResult<unknown>>;
|
|
11
|
+
//# sourceMappingURL=update-lockfile.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-lockfile.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/update-lockfile.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAM9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAIjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAA;AAED,wBAAsB,cAAc,CAClC,aAAa,EAAE,UAAU,EACzB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CA2C3B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Overrides } from './types.mts';
|
|
2
|
+
import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
3
|
+
export type AgentModifyManifestFn = (pkgEnvDetails: EnvDetails, overrides: Overrides) => void;
|
|
4
|
+
export declare const updateManifestByAgent: Map<"bun" | "npm" | "pnpm" | "vlt" | "yarn/berry" | "yarn/classic", AgentModifyManifestFn>;
|
|
5
|
+
//# sourceMappingURL=update-manifest-by-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-manifest-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/update-manifest-by-agent.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAS,UAAU,EAAE,MAAM,qCAAqC,CAAA;AA0J5E,MAAM,MAAM,qBAAqB,GAAG,CAClC,aAAa,EAAE,UAAU,EACzB,SAAS,EAAE,SAAS,KACjB,IAAI,CAAA;AAET,eAAO,MAAM,qBAAqB,4FAOhC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdOrganizationList: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-organization-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-list.mts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdOrganizationPolicyLicense: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-organization-policy-license.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization-policy-license.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy-license.mts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,4BAA4B;;;;CAIxC,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAyDf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdOrganizationPolicyPolicy: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-organization-policy-security.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization-policy-security.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy-security.mts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,2BAA2B;;;;CAIvC,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAuDf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,qBAAqB,EAAE,aAsBnC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdOrganizationQuota: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-organization-quota.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-quota.mts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-organization.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,eAAe,EAAE,aAuB7B,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchLicensePolicy(orgSlug: string): Promise<CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-license-policy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-license-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWtE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchOrganization(): Promise<CResult<SocketSdkReturnType<'getOrganizations'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-organization-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-organization-list.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,IAAI,OAAO,CAChD,OAAO,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CACzD,CAQA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-quota.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,UAAU,IAAI,OAAO,CACzC,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CACjD,CAQA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchSecurityPolicy(orgSlug: string): Promise<CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-security-policy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-security-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-license-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-organization-list.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,sBAAsB,CAC1C,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-quota.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,WAAW,CAC/B,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-security-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputLicensePolicy(result: CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-license-policy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-license-policy.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,EACnE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA4Bf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputOrganizationList(result: CResult<SocketSdkReturnType<'getOrganizations'>['data']>, outputKind?: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-organization-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-organization-list.mts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,EAChE,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CA+Df"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputQuota(result: CResult<SocketSdkReturnType<'getQuota'>['data']>, outputKind?: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-quota.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-quota.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,WAAW,CAC/B,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,EACxD,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAwBf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputSecurityPolicy(result: CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-security-policy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-security-policy.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,EACpE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAmCf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdPackageScore: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-package-score.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-package-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package-score.mts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAyDf"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const cmdPackageShallow: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
alias: {
|
|
5
|
+
shallowScore: {
|
|
6
|
+
description: string;
|
|
7
|
+
hidden: boolean;
|
|
8
|
+
argv: never[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
run: typeof run;
|
|
12
|
+
};
|
|
13
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
14
|
+
parentName: string;
|
|
15
|
+
}): Promise<void>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=cmd-package-shallow.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-package-shallow.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package-shallow.mts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,iBAAiB;;;;;;;;;;;CAW7B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAmDf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-package.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,UAAU,EAAE,aAwBxB,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
export interface PurlDataResponse {
|
|
3
|
+
purl: string;
|
|
4
|
+
self: {
|
|
5
|
+
purl: string;
|
|
6
|
+
score: {
|
|
7
|
+
license: number;
|
|
8
|
+
maintenance: number;
|
|
9
|
+
overall: number;
|
|
10
|
+
quality: number;
|
|
11
|
+
supplyChain: number;
|
|
12
|
+
vulnerability: number;
|
|
13
|
+
};
|
|
14
|
+
capabilities: string[];
|
|
15
|
+
alerts: Array<{
|
|
16
|
+
name: string;
|
|
17
|
+
severity: string;
|
|
18
|
+
category: string;
|
|
19
|
+
example: string;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
transitively: {
|
|
23
|
+
dependencyCount: number;
|
|
24
|
+
func: string;
|
|
25
|
+
score: {
|
|
26
|
+
license: number;
|
|
27
|
+
maintenance: number;
|
|
28
|
+
overall: number;
|
|
29
|
+
quality: number;
|
|
30
|
+
supplyChain: number;
|
|
31
|
+
vulnerability: number;
|
|
32
|
+
};
|
|
33
|
+
lowest: {
|
|
34
|
+
license: string;
|
|
35
|
+
maintenance: string;
|
|
36
|
+
overall: string;
|
|
37
|
+
quality: string;
|
|
38
|
+
supplyChain: string;
|
|
39
|
+
vulnerability: string;
|
|
40
|
+
};
|
|
41
|
+
capabilities: string[];
|
|
42
|
+
alerts: Array<{
|
|
43
|
+
name: string;
|
|
44
|
+
severity: string;
|
|
45
|
+
category: string;
|
|
46
|
+
example: string;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export declare function fetchPurlDeepScore(purl: string): Promise<CResult<PurlDataResponse>>;
|
|
51
|
+
//# sourceMappingURL=fetch-purl-deep-score.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-purl-deep-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/fetch-purl-deep-score.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE;YACL,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,YAAY,EAAE,MAAM,EAAE,CAAA;QACtB,MAAM,EAAE,KAAK,CAAC;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;SAChB,CAAC,CAAA;KACH,CAAA;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,MAAM,CAAA;QACvB,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE;YACL,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,YAAY,EAAE,MAAM,EAAE,CAAA;QACtB,MAAM,EAAE,KAAK,CAAC;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;SAChB,CAAC,CAAA;KACH,CAAA;CACF;AAED,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAOpC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchPurlsShallowScore(purls: string[]): Promise<CResult<SocketSdkReturnType<'batchPackageFetch'>>>;
|
|
4
|
+
//# sourceMappingURL=fetch-purls-shallow-score.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/fetch-purls-shallow-score.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CA8B5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-purl-deep-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/handle-purl-deep-score.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,UAAU,iBAKvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/handle-purls-shallow-score.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAG1D,wBAAsB,uBAAuB,CAAC,EAC5C,UAAU,EACV,KAAK,EACN,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,iBAQA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PurlDataResponse } from './fetch-purl-deep-score.mts';
|
|
2
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
3
|
+
export declare function outputPurlScore(purl: string, result: CResult<PurlDataResponse>, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-purl-score.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-purl-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/output-purl-score.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,EACjC,UAAU,EAAE,UAAU,iBAuMvB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
3
|
+
export declare function outputPurlsShallowScore(purls: string[], result: CResult<SocketArtifact[]>, outputKind: OutputKind): void;
|
|
4
|
+
//# sourceMappingURL=output-purls-shallow-score.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/output-purls-shallow-score.mts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAGpE,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,EAAE,EACf,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,EACjC,UAAU,EAAE,UAAU,GACrB,IAAI,CAkEN"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Either an ecosystem was given or all args must be (namespaced) purls
|
|
2
|
+
// The `pkg:` part is optional here. We'll scan for `eco/name@version`.
|
|
3
|
+
// Not hardcoding the namespace since we don't know what the server accepts.
|
|
4
|
+
// The ecosystem is considered as the first package if it is not an a-z string.
|
|
5
|
+
export declare function parsePackageSpecifiers(ecosystem: string, pkgs: string[]): {
|
|
6
|
+
purls: string[];
|
|
7
|
+
valid: boolean;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=parse-package-specifiers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse-package-specifiers.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/parse-package-specifiers.mts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,uEAAuE;AACvE,4EAA4E;AAC5E,+EAA+E;AAC/E,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EAAE,GACb;IAAE,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CA4CrC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdRawNpm: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-raw-npm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-raw-npm.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npm/cmd-raw-npm.mts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;CAIrB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-raw-npm.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npm/run-raw-npm.mts"],"names":[],"mappings":"AAKA,wBAAsB,SAAS,CAC7B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GACjC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdRawNpx: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-raw-npx.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-raw-npx.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npx/cmd-raw-npx.mts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;CAIrB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-raw-npx.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npx/run-raw-npx.mts"],"names":[],"mappings":"AAKA,wBAAsB,SAAS,CAC7B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GACjC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReportCreate: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-report-create.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-report-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report-create.mts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAaf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReportView: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-report-view.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-report-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report-view.mts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAaf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,SAAS,EAAE,aAiBvB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReposCreate: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-repos-create.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-create.mts"],"names":[],"mappings":"AAkFA,eAAO,MAAM,cAAc;;;;CAI1B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAoFf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReposDel: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-repos-del.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos-del.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-del.mts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CA6Df"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReposList: {
|
|
2
|
+
description: string;
|
|
3
|
+
hidden: boolean;
|
|
4
|
+
run: typeof run;
|
|
5
|
+
};
|
|
6
|
+
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
+
parentName: string;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=cmd-repos-list.d.mts.map
|