@socketsecurity/cli-with-sentry 0.15.10 → 0.15.12
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/bin/cli.js +6 -6
- package/dist/.config/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/cli.js +5731 -6607
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +274 -305
- package/dist/constants.js.map +1 -1
- package/dist/instrument-with-sentry.js +28 -34
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/shadow-bin.js +96 -123
- package/dist/shadow-bin.js.map +1 -1
- package/dist/shadow-inject.js +470 -580
- package/dist/shadow-inject.js.map +1 -1
- package/dist/socket-completion.bash +221 -0
- package/dist/types/cli.d.mts +2 -2
- package/dist/types/commands/analytics/cmd-analytics.d.mts +9 -15
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -6
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -7
- package/dist/types/commands/analytics/handle-analytics.d.mts +9 -15
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +26 -46
- package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +9 -15
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -16
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -15
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -47
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -1
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +9 -15
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -1
- 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 +9 -15
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +3 -3
- package/dist/types/commands/ci/handle-ci.d.mts +2 -2
- package/dist/types/commands/config/cmd-config-auto.d.mts +9 -15
- package/dist/types/commands/config/cmd-config-get.d.mts +9 -15
- package/dist/types/commands/config/cmd-config-list.d.mts +9 -15
- package/dist/types/commands/config/cmd-config-set.d.mts +9 -15
- package/dist/types/commands/config/cmd-config-unset.d.mts +9 -15
- package/dist/types/commands/config/cmd-config.d.mts +3 -3
- package/dist/types/commands/config/discover-config-value.d.mts +3 -5
- package/dist/types/commands/config/discover-config-value.d.mts.map +1 -1
- package/dist/types/commands/config/handle-config-auto.d.mts +7 -10
- package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -1
- package/dist/types/commands/config/handle-config-get.d.mts +7 -10
- package/dist/types/commands/config/handle-config-get.d.mts.map +1 -1
- package/dist/types/commands/config/handle-config-set.d.mts +8 -12
- package/dist/types/commands/config/handle-config-set.d.mts.map +1 -1
- package/dist/types/commands/config/handle-config-unset.d.mts +7 -10
- package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -1
- package/dist/types/commands/config/output-config-auto.d.mts +4 -8
- package/dist/types/commands/config/output-config-get.d.mts +4 -8
- package/dist/types/commands/config/output-config-list.d.mts +6 -9
- package/dist/types/commands/config/output-config-list.d.mts.map +1 -1
- package/dist/types/commands/config/output-config-set.d.mts +3 -6
- package/dist/types/commands/config/output-config-unset.d.mts +3 -6
- package/dist/types/commands/dependencies/cmd-dependencies.d.mts +9 -15
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -10
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -1
- package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -11
- package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -1
- package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -15
- package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -1
- package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +9 -15
- package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -3
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -12
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -17
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -15
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +9 -15
- package/dist/types/commands/fix/git.d.mts +14 -49
- package/dist/types/commands/fix/npm-fix.d.mts +4 -16
- package/dist/types/commands/fix/npm-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/open-pr.d.mts +20 -46
- package/dist/types/commands/fix/open-pr.d.mts.map +1 -1
- package/dist/types/commands/fix/pnpm-fix.d.mts +4 -16
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/run-fix.d.mts +3 -3
- package/dist/types/commands/fix/shared.d.mts +9 -15
- package/dist/types/commands/fix/types.d.mts +16 -16
- package/dist/types/commands/info/cmd-info.d.mts +9 -15
- package/dist/types/commands/info/fetch-package-info.d.mts +3 -7
- package/dist/types/commands/info/handle-package-info.d.mts +15 -22
- package/dist/types/commands/info/handle-package-info.d.mts.map +1 -1
- package/dist/types/commands/info/output-package-info.d.mts +10 -18
- package/dist/types/commands/info/output-package-info.d.mts.map +1 -1
- 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 -7
- package/dist/types/commands/login/attempt-login.d.mts +2 -5
- package/dist/types/commands/login/attempt-login.d.mts.map +1 -1
- package/dist/types/commands/login/cmd-login.d.mts +9 -15
- package/dist/types/commands/logout/apply-logout.d.mts +2 -2
- package/dist/types/commands/logout/attempt-logout.d.mts +2 -2
- package/dist/types/commands/logout/cmd-logout.d.mts +9 -15
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +9 -15
- 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 +9 -15
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +9 -15
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +9 -15
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +9 -15
- package/dist/types/commands/manifest/cmd-manifest.d.mts +9 -15
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +7 -15
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +2 -8
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +2 -8
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +3 -9
- package/dist/types/commands/manifest/output-requirements.d.mts +6 -10
- package/dist/types/commands/{cdxgen → manifest}/run-cdxgen.d.mts +2 -2
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/npm/cmd-npm.d.mts +9 -15
- package/dist/types/commands/npx/cmd-npx.d.mts +9 -15
- package/dist/types/commands/oops/cmd-oops.d.mts +9 -15
- package/dist/types/commands/optimize/add-overrides.d.mts +18 -22
- package/dist/types/commands/optimize/apply-optimization.d.mts +2 -6
- package/dist/types/commands/optimize/cmd-optimize.d.mts +9 -15
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -7
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -5
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +8 -11
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -10
- package/dist/types/commands/optimize/ls-by-agent.d.mts +6 -13
- package/dist/types/commands/optimize/shared.d.mts +2 -2
- package/dist/types/commands/optimize/types.d.mts +7 -7
- package/dist/types/commands/optimize/update-lockfile.d.mts +9 -12
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -11
- package/dist/types/commands/organization/cmd-organization-list.d.mts +9 -15
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +9 -15
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +9 -15
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -3
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +9 -15
- package/dist/types/commands/organization/cmd-organization.d.mts +3 -3
- package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -6
- package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -6
- package/dist/types/commands/organization/fetch-quota.d.mts +4 -6
- package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -6
- package/dist/types/commands/organization/handle-license-policy.d.mts +3 -6
- package/dist/types/commands/organization/handle-organization-list.d.mts +3 -5
- package/dist/types/commands/organization/handle-quota.d.mts +3 -3
- package/dist/types/commands/organization/handle-security-policy.d.mts +3 -6
- package/dist/types/commands/organization/output-license-policy.d.mts +4 -7
- package/dist/types/commands/organization/output-organization-list.d.mts +4 -7
- package/dist/types/commands/organization/output-quota.d.mts +4 -7
- package/dist/types/commands/organization/output-security-policy.d.mts +4 -7
- package/dist/types/commands/package/cmd-package-score.d.mts +9 -15
- package/dist/types/commands/package/cmd-package-shallow.d.mts +16 -22
- package/dist/types/commands/package/cmd-package.d.mts +3 -3
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +49 -51
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -6
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -6
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -9
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -1
- package/dist/types/commands/package/output-purl-score.d.mts +4 -8
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -8
- package/dist/types/commands/package/parse-package-specifiers.d.mts +5 -8
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +9 -15
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -4
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +9 -15
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -4
- package/dist/types/commands/report/cmd-report-create.d.mts +9 -15
- package/dist/types/commands/report/cmd-report-view.d.mts +9 -15
- package/dist/types/commands/report/cmd-report.d.mts +3 -3
- package/dist/types/commands/repos/cmd-repos-create.d.mts +9 -15
- package/dist/types/commands/repos/cmd-repos-del.d.mts +9 -15
- package/dist/types/commands/repos/cmd-repos-list.d.mts +9 -15
- package/dist/types/commands/repos/cmd-repos-update.d.mts +9 -15
- package/dist/types/commands/repos/cmd-repos-view.d.mts +9 -15
- package/dist/types/commands/repos/cmd-repos.d.mts +3 -3
- package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -18
- package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -1
- package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -7
- package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -16
- package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -1
- package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -18
- package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -1
- package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -7
- package/dist/types/commands/repos/handle-create-repo.d.mts +10 -20
- package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -1
- package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -7
- package/dist/types/commands/repos/handle-list-repos.d.mts +10 -17
- package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -1
- package/dist/types/commands/repos/handle-update-repo.d.mts +10 -20
- package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -1
- package/dist/types/commands/repos/handle-view-repo.d.mts +3 -7
- package/dist/types/commands/repos/output-create-repo.d.mts +4 -8
- package/dist/types/commands/repos/output-delete-repo.d.mts +4 -8
- package/dist/types/commands/repos/output-list-repos.d.mts +4 -7
- package/dist/types/commands/repos/output-update-repo.d.mts +4 -8
- package/dist/types/commands/repos/output-view-repo.d.mts +4 -7
- package/dist/types/commands/scan/cmd-scan-create.d.mts +9 -15
- package/dist/types/commands/scan/cmd-scan-del.d.mts +9 -15
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +9 -15
- package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -3
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -3
- package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -3
- package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -3
- package/dist/types/commands/scan/cmd-scan.d.mts +3 -3
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -26
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -7
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -12
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -22
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts +8 -14
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -7
- package/dist/types/commands/scan/fetch-scan.d.mts +4 -7
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -6
- package/dist/types/commands/scan/generate-report.d.mts +36 -50
- package/dist/types/commands/scan/generate-report.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +20 -37
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -7
- package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -17
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts +13 -23
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -7
- package/dist/types/commands/scan/handle-scan-report.d.mts +12 -21
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts +3 -8
- package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -8
- package/dist/types/commands/scan/output-delete-scan.d.mts +4 -7
- package/dist/types/commands/scan/output-diff-scan.d.mts +8 -15
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/output-list-scans.d.mts +4 -7
- package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -8
- package/dist/types/commands/scan/output-scan-report.d.mts +20 -38
- package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -1
- package/dist/types/commands/scan/output-scan-view.d.mts +4 -10
- package/dist/types/commands/scan/stream-scan.d.mts +2 -6
- package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -2
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +4 -4
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -4
- package/dist/types/commands/scan/suggest_target.d.mts +2 -2
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +9 -15
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -16
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -17
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -7
- package/dist/types/commands/threat-feed/types.d.mts +12 -12
- 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 -2
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -2
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +9 -15
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -2
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -2
- package/dist/types/constants.d.mts +125 -135
- package/dist/types/constants.d.mts.map +1 -1
- package/dist/types/flags.d.mts +14 -17
- package/dist/types/flags.d.mts.map +1 -1
- package/dist/types/instrument-with-sentry.d.mts +2 -2
- package/dist/types/shadow/npm/arborist/index.d.mts +2 -2
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +19 -24
- package/dist/types/shadow/npm/arborist/lib/arborist/types.d.mts +43 -71
- package/dist/types/shadow/npm/arborist/lib/dep-valid.d.mts +3 -8
- package/dist/types/shadow/npm/arborist/lib/edge.d.mts +58 -71
- package/dist/types/shadow/npm/arborist/lib/node.d.mts +55 -91
- package/dist/types/shadow/npm/arborist/lib/override-set.d.mts +26 -32
- package/dist/types/shadow/npm/arborist-helpers.d.mts +33 -66
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -1
- package/dist/types/shadow/npm/bin.d.mts +2 -5
- package/dist/types/shadow/npm/inject.d.mts +2 -2
- package/dist/types/shadow/npm/install.d.mts +11 -16
- package/dist/types/shadow/npm/link.d.mts +2 -5
- package/dist/types/shadow/npm/paths.d.mts +7 -7
- package/dist/types/shadow/npm/proc-log/index.d.mts +3 -6
- package/dist/types/types.d.mts +15 -17
- package/dist/types/utils/agent.d.mts +11 -14
- package/dist/types/utils/alert/artifact.d.mts +32 -50
- package/dist/types/utils/alert/fix.d.mts +5 -5
- package/dist/types/utils/alert/severity.d.mts +12 -24
- package/dist/types/utils/alerts-map.d.mts +23 -36
- package/dist/types/utils/api.d.mts +11 -34
- package/dist/types/utils/check-input.d.mts +9 -12
- package/dist/types/utils/cmd.d.mts +4 -4
- package/dist/types/utils/color-or-markdown.d.mts +14 -23
- package/dist/types/utils/color-or-markdown.d.mts.map +1 -1
- 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 +22 -31
- package/dist/types/utils/config.d.mts.map +1 -1
- package/dist/types/utils/determine-org-slug.d.mts +2 -7
- package/dist/types/utils/errors.d.mts +12 -21
- package/dist/types/utils/fail-msg-with-badge.d.mts +2 -5
- package/dist/types/utils/fs.d.mts +21 -52
- package/dist/types/utils/get-output-kind.d.mts +3 -6
- package/dist/types/utils/glob.d.mts +13 -24
- package/dist/types/utils/map-to-object.d.mts +4 -6
- package/dist/types/utils/markdown.d.mts +4 -15
- package/dist/types/utils/meow-with-subcommands.d.mts +34 -46
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
- package/dist/types/utils/npm-paths.d.mts +7 -7
- package/dist/types/utils/npm-paths.d.mts.map +1 -1
- package/dist/types/utils/objects.d.mts +3 -8
- package/dist/types/utils/output-formatting.d.mts +14 -24
- package/dist/types/utils/package-environment.d.mts +51 -72
- package/dist/types/utils/package-environment.d.mts.map +1 -1
- package/dist/types/utils/path-resolve.d.mts +9 -14
- package/dist/types/utils/pnpm.d.mts +9 -7
- package/dist/types/utils/pnpm.d.mts.map +1 -1
- package/dist/types/utils/sdk.d.mts +8 -12
- package/dist/types/utils/semver.d.mts +5 -17
- package/dist/types/utils/serialize-result-json.d.mts +3 -3
- package/dist/types/utils/socket-package-alert.d.mts +62 -81
- package/dist/types/utils/socket-url.d.mts +9 -15
- package/dist/types/utils/spec.d.mts +4 -7
- package/dist/types/utils/spec.d.mts.map +1 -1
- package/dist/types/utils/strings.d.mts +2 -5
- package/dist/types/utils/translations.d.mts +592 -592
- package/dist/types/utils/walk-nested-map.d.mts +7 -10
- package/dist/utils.js +1531 -1833
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +38333 -51605
- package/dist/vendor.js.map +1 -1
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +5 -8
- package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +2 -4
- package/external/@socketsecurity/registry/external/cacache.js +1 -2
- package/external/@socketsecurity/registry/external/libnpmpack.js +36 -76
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +31 -67
- package/external/@socketsecurity/registry/external/pacote.js +36 -76
- package/external/@socketsecurity/registry/external/tinyglobby.js +3 -6
- package/external/@socketsecurity/registry/external/which.js +2 -4
- package/external/@socketsecurity/registry/lib/logger.d.ts +4 -1
- package/external/@socketsecurity/registry/lib/logger.js +160 -73
- package/external/@socketsecurity/registry/lib/spinner.js +5 -1
- package/external/@socketsecurity/registry/package.json +2 -2
- package/external/blessed/lib/alias.js +475 -468
- package/external/blessed/lib/blessed.js +12 -12
- package/external/blessed/lib/colors.js +234 -194
- package/external/blessed/lib/events.js +64 -70
- package/external/blessed/lib/gpmclient.js +117 -141
- package/external/blessed/lib/helpers.js +89 -94
- package/external/blessed/lib/keys.js +169 -342
- package/external/blessed/lib/program.js +2130 -2365
- package/external/blessed/lib/tput.js +1183 -1276
- package/external/blessed/lib/unicode.js +400 -522
- package/external/blessed/lib/widget.js +14 -14
- package/external/blessed/lib/widgets/ansiimage.js +90 -96
- package/external/blessed/lib/widgets/bigtext.js +91 -102
- package/external/blessed/lib/widgets/box.js +8 -8
- package/external/blessed/lib/widgets/button.js +23 -23
- package/external/blessed/lib/widgets/checkbox.js +50 -54
- package/external/blessed/lib/widgets/element.js +1415 -1716
- package/external/blessed/lib/widgets/filemanager.js +107 -118
- package/external/blessed/lib/widgets/form.js +144 -178
- package/external/blessed/lib/widgets/image.js +26 -36
- package/external/blessed/lib/widgets/input.js +8 -8
- package/external/blessed/lib/widgets/layout.js +103 -119
- package/external/blessed/lib/widgets/line.js +17 -20
- package/external/blessed/lib/widgets/list.js +349 -402
- package/external/blessed/lib/widgets/listbar.js +265 -306
- package/external/blessed/lib/widgets/listtable.js +133 -146
- package/external/blessed/lib/widgets/loading.js +31 -31
- package/external/blessed/lib/widgets/log.js +41 -40
- package/external/blessed/lib/widgets/message.js +64 -86
- package/external/blessed/lib/widgets/node.js +175 -207
- package/external/blessed/lib/widgets/overlayimage.js +360 -437
- package/external/blessed/lib/widgets/progressbar.js +79 -88
- package/external/blessed/lib/widgets/prompt.js +54 -61
- package/external/blessed/lib/widgets/question.js +48 -61
- package/external/blessed/lib/widgets/radiobutton.js +26 -27
- package/external/blessed/lib/widgets/radioset.js +8 -8
- package/external/blessed/lib/widgets/screen.js +1186 -1375
- package/external/blessed/lib/widgets/scrollablebox.js +202 -228
- package/external/blessed/lib/widgets/scrollabletext.js +9 -9
- package/external/blessed/lib/widgets/table.js +187 -216
- package/external/blessed/lib/widgets/terminal.js +258 -298
- package/external/blessed/lib/widgets/text.js +9 -9
- package/external/blessed/lib/widgets/textarea.js +188 -222
- package/external/blessed/lib/widgets/textbox.js +34 -36
- package/external/blessed/lib/widgets/video.js +55 -59
- package/external/blessed/usr/fonts/ter-u14b.json +1 -1
- package/external/blessed/usr/fonts/ter-u14n.json +1 -1
- package/external/blessed/vendor/tng.js +1016 -1144
- package/external/blessed-contrib/lib/layout/grid.js +345 -377
- package/external/blessed-contrib/lib/widget/charts/bar.js +6612 -7139
- package/external/blessed-contrib/lib/widget/charts/line.js +16224 -23941
- package/external/blessed-contrib/lib/widget/table.js +78 -96
- package/package.json +9 -9
- package/dist/types/commands/cdxgen/run-cdxgen.d.mts.map +0 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts'
|
|
2
|
-
import type { LocalConfig } from '../../utils/config.mts'
|
|
3
|
-
export declare function outputConfigGet(
|
|
4
|
-
|
|
5
|
-
result: CResult<LocalConfig[keyof LocalConfig]>,
|
|
6
|
-
outputKind: OutputKind
|
|
7
|
-
): Promise<void>
|
|
8
|
-
//# sourceMappingURL=output-config-get.d.mts.map
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { LocalConfig } from '../../utils/config.mts';
|
|
3
|
+
export declare function outputConfigGet(key: keyof LocalConfig, result: CResult<LocalConfig[keyof LocalConfig]>, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-config-get.d.mts.map
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts'
|
|
2
|
-
export declare function outputConfigList({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}:
|
|
6
|
-
|
|
7
|
-
outputKind: OutputKind
|
|
8
|
-
}): Promise<void>
|
|
9
|
-
//# sourceMappingURL=output-config-list.d.mts.map
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function outputConfigList({ full, outputKind, }: {
|
|
3
|
+
full: boolean;
|
|
4
|
+
outputKind: OutputKind;
|
|
5
|
+
}): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=output-config-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-config-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/config/output-config-list.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,IAAI,EACJ,UAAU,
|
|
1
|
+
{"version":3,"file":"output-config-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/config/output-config-list.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,IAAI,EACJ,UAAU,GACX,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,EAAE,UAAU,CAAA;CACvB,iBA4EA"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts'
|
|
2
|
-
export declare function outputConfigSet(
|
|
3
|
-
|
|
4
|
-
outputKind: OutputKind
|
|
5
|
-
): Promise<void>
|
|
6
|
-
//# sourceMappingURL=output-config-set.d.mts.map
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function outputConfigSet(result: CResult<undefined | string>, outputKind: OutputKind): Promise<void>;
|
|
3
|
+
//# sourceMappingURL=output-config-set.d.mts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts'
|
|
2
|
-
export declare function outputConfigUnset(
|
|
3
|
-
|
|
4
|
-
outputKind: OutputKind
|
|
5
|
-
): Promise<void>
|
|
6
|
-
//# sourceMappingURL=output-config-unset.d.mts.map
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function outputConfigUnset(updateResult: CResult<undefined | string>, outputKind: OutputKind): Promise<void>;
|
|
3
|
+
//# sourceMappingURL=output-config-unset.d.mts.map
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export declare const cmdScanCreate: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare function run(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}: {
|
|
12
|
-
parentName: string
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
export {}
|
|
16
|
-
//# sourceMappingURL=cmd-dependencies.d.mts.map
|
|
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-dependencies.d.mts.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts'
|
|
2
|
-
import type { SocketSdkReturnType } from '@socketsecurity/sdk'
|
|
3
|
-
export declare function fetchDependencies({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}:
|
|
7
|
-
|
|
8
|
-
offset: number
|
|
9
|
-
}): Promise<CResult<SocketSdkReturnType<'searchDependencies'>['data']>>
|
|
10
|
-
//# sourceMappingURL=fetch-dependencies.d.mts.map
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchDependencies({ limit, offset, }: {
|
|
4
|
+
limit: number;
|
|
5
|
+
offset: number;
|
|
6
|
+
}): Promise<CResult<SocketSdkReturnType<'searchDependencies'>['data']>>;
|
|
7
|
+
//# sourceMappingURL=fetch-dependencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/fetch-dependencies.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,CAAC,EACtC,KAAK,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"fetch-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/fetch-dependencies.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,CAAC,EACtC,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWtE"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts'
|
|
2
|
-
export declare function handleDependencies({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}:
|
|
7
|
-
|
|
8
|
-
offset: number
|
|
9
|
-
outputKind: OutputKind
|
|
10
|
-
}): Promise<void>
|
|
11
|
-
//# sourceMappingURL=handle-dependencies.d.mts.map
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function handleDependencies({ limit, offset, outputKind, }: {
|
|
3
|
+
limit: number;
|
|
4
|
+
offset: number;
|
|
5
|
+
outputKind: OutputKind;
|
|
6
|
+
}): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=handle-dependencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/handle-dependencies.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,kBAAkB,CAAC,EACvC,KAAK,EACL,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"handle-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/handle-dependencies.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,kBAAkB,CAAC,EACvC,KAAK,EACL,MAAM,EACN,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAIhB"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts'
|
|
2
|
-
import type { SocketSdkReturnType } from '@socketsecurity/sdk'
|
|
3
|
-
export declare function outputDependencies(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}: {
|
|
10
|
-
limit: number
|
|
11
|
-
offset: number
|
|
12
|
-
outputKind: OutputKind
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
//# sourceMappingURL=output-dependencies.d.mts.map
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputDependencies(result: CResult<SocketSdkReturnType<'searchDependencies'>['data']>, { limit, offset, outputKind, }: {
|
|
4
|
+
limit: number;
|
|
5
|
+
offset: number;
|
|
6
|
+
outputKind: OutputKind;
|
|
7
|
+
}): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=output-dependencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/output-dependencies.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,EAClE,EACE,KAAK,EACL,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"output-dependencies.d.mts","sourceRoot":"","sources":["../../../../src/commands/dependencies/output-dependencies.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,EAClE,EACE,KAAK,EACL,MAAM,EACN,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;CACvB,GACA,OAAO,CAAC,IAAI,CAAC,CAoCf"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export declare const cmdDiffScanGet: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare function run(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}: {
|
|
12
|
-
parentName: string
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
export {}
|
|
16
|
-
//# sourceMappingURL=cmd-diff-scan-get.d.mts.map
|
|
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-diff-scan-get.d.mts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts'
|
|
2
|
-
export declare const cmdDiffScan: CliSubcommand
|
|
3
|
-
//# sourceMappingURL=cmd-diff-scan.d.mts.map
|
|
1
|
+
import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
|
|
2
|
+
export declare const cmdDiffScan: CliSubcommand;
|
|
3
|
+
//# sourceMappingURL=cmd-diff-scan.d.mts.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts'
|
|
2
|
-
import type { SocketSdkReturnType } from '@socketsecurity/sdk'
|
|
3
|
-
export declare function fetchDiffScan({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}:
|
|
8
|
-
|
|
9
|
-
before: string
|
|
10
|
-
orgSlug: string
|
|
11
|
-
}): Promise<CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>>
|
|
12
|
-
//# sourceMappingURL=fetch-diff-scan.d.mts.map
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchDiffScan({ after, before, orgSlug, }: {
|
|
4
|
+
after: string;
|
|
5
|
+
before: string;
|
|
6
|
+
orgSlug: string;
|
|
7
|
+
}): Promise<CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>>;
|
|
8
|
+
//# sourceMappingURL=fetch-diff-scan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/fetch-diff-scan.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,aAAa,CAAC,EAClC,KAAK,EACL,MAAM,EACN,OAAO,
|
|
1
|
+
{"version":3,"file":"fetch-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/fetch-diff-scan.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,aAAa,CAAC,EAClC,KAAK,EACL,MAAM,EACN,OAAO,GACR,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAKlE"}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts'
|
|
2
|
-
export declare function handleDiffScan({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}:
|
|
10
|
-
|
|
11
|
-
before: string
|
|
12
|
-
depth: number
|
|
13
|
-
file: string
|
|
14
|
-
orgSlug: string
|
|
15
|
-
outputKind: OutputKind
|
|
16
|
-
}): Promise<void>
|
|
17
|
-
//# sourceMappingURL=handle-diff-scan.d.mts.map
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function handleDiffScan({ after, before, depth, file, orgSlug, outputKind, }: {
|
|
3
|
+
after: string;
|
|
4
|
+
before: string;
|
|
5
|
+
depth: number;
|
|
6
|
+
file: string;
|
|
7
|
+
orgSlug: string;
|
|
8
|
+
outputKind: OutputKind;
|
|
9
|
+
}): Promise<void>;
|
|
10
|
+
//# sourceMappingURL=handle-diff-scan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/handle-diff-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,OAAO,EACP,UAAU,
|
|
1
|
+
{"version":3,"file":"handle-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/handle-diff-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,OAAO,EACP,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts'
|
|
2
|
-
import type { SocketSdkReturnType } from '@socketsecurity/sdk'
|
|
3
|
-
export declare function outputDiffScan(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}: {
|
|
10
|
-
depth: number
|
|
11
|
-
file: string
|
|
12
|
-
outputKind: OutputKind
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
//# sourceMappingURL=output-diff-scan.d.mts.map
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputDiffScan(result: CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>, { depth, file, outputKind, }: {
|
|
4
|
+
depth: number;
|
|
5
|
+
file: string;
|
|
6
|
+
outputKind: OutputKind;
|
|
7
|
+
}): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=output-diff-scan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/output-diff-scan.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,EACE,KAAK,EACL,IAAI,EACJ,UAAU,
|
|
1
|
+
{"version":3,"file":"output-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/diff-scan/output-diff-scan.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,EACE,KAAK,EACL,IAAI,EACJ,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;CACvB,GACA,OAAO,CAAC,IAAI,CAAC,CA8Df"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export declare const cmdFix: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare function run(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}: {
|
|
12
|
-
parentName: string
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
export {}
|
|
16
|
-
//# sourceMappingURL=cmd-fix.d.mts.map
|
|
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-fix.d.mts.map
|
|
@@ -1,49 +1,14 @@
|
|
|
1
|
-
export declare function getBaseGitBranch(): string
|
|
2
|
-
export declare function getSocketBranchName(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
): string
|
|
7
|
-
export declare function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
):
|
|
11
|
-
export declare function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
): string
|
|
16
|
-
export declare function getSocketPullRequestBody(
|
|
17
|
-
purl: string,
|
|
18
|
-
newVersion: string,
|
|
19
|
-
workspaceName?: string | undefined
|
|
20
|
-
): string
|
|
21
|
-
export declare function getSocketCommitMessage(
|
|
22
|
-
purl: string,
|
|
23
|
-
newVersion: string,
|
|
24
|
-
workspaceName?: string | undefined
|
|
25
|
-
): string
|
|
26
|
-
export declare function gitCreateAndPushBranch(
|
|
27
|
-
branch: string,
|
|
28
|
-
commitMsg: string,
|
|
29
|
-
filepaths: string[],
|
|
30
|
-
cwd?: string
|
|
31
|
-
): Promise<boolean>
|
|
32
|
-
export declare function gitEnsureIdentity(cwd?: string): Promise<void>
|
|
33
|
-
export declare function gitResetAndClean(
|
|
34
|
-
branch?: string,
|
|
35
|
-
cwd?: string
|
|
36
|
-
): Promise<void>
|
|
37
|
-
export declare function gitResetHard(
|
|
38
|
-
branch?: string,
|
|
39
|
-
cwd?: string
|
|
40
|
-
): Promise<void>
|
|
41
|
-
export declare function gitCleanFdx(cwd?: string): Promise<void>
|
|
42
|
-
export declare function gitRemoteBranchExists(
|
|
43
|
-
branch: string,
|
|
44
|
-
cwd?: string
|
|
45
|
-
): Promise<boolean>
|
|
46
|
-
export declare function gitUnstagedModifiedFiles(
|
|
47
|
-
cwd?: string
|
|
48
|
-
): Promise<string[]>
|
|
49
|
-
//# sourceMappingURL=git.d.mts.map
|
|
1
|
+
export declare function getBaseGitBranch(): string;
|
|
2
|
+
export declare function getSocketBranchName(purl: string, newVersion: string, workspaceName?: string | undefined): string;
|
|
3
|
+
export declare function getSocketPrTitlePattern(purl: string, workspaceName?: string | undefined): RegExp;
|
|
4
|
+
export declare function getSocketPullRequestTitle(purl: string, newVersion: string, workspaceName?: string | undefined): string;
|
|
5
|
+
export declare function getSocketPullRequestBody(purl: string, newVersion: string, workspaceName?: string | undefined): string;
|
|
6
|
+
export declare function getSocketCommitMessage(purl: string, newVersion: string, workspaceName?: string | undefined): string;
|
|
7
|
+
export declare function gitCreateAndPushBranch(branch: string, commitMsg: string, filepaths: string[], cwd?: string): Promise<boolean>;
|
|
8
|
+
export declare function gitEnsureIdentity(cwd?: string): Promise<void>;
|
|
9
|
+
export declare function gitResetAndClean(branch?: string, cwd?: string): Promise<void>;
|
|
10
|
+
export declare function gitResetHard(branch?: string, cwd?: string): Promise<void>;
|
|
11
|
+
export declare function gitCleanFdx(cwd?: string): Promise<void>;
|
|
12
|
+
export declare function gitRemoteBranchExists(branch: string, cwd?: string): Promise<boolean>;
|
|
13
|
+
export declare function gitUnstagedModifiedFiles(cwd?: string): Promise<string[]>;
|
|
14
|
+
//# sourceMappingURL=git.d.mts.map
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import type { NormalizedFixOptions } from './types.mts'
|
|
2
|
-
import type { EnvDetails } from '../../utils/package-environment.mts'
|
|
3
|
-
export declare function npmFix(
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
autoMerge,
|
|
7
|
-
cwd,
|
|
8
|
-
dryRun,
|
|
9
|
-
limit,
|
|
10
|
-
purls,
|
|
11
|
-
rangeStyle,
|
|
12
|
-
test,
|
|
13
|
-
testScript
|
|
14
|
-
}: NormalizedFixOptions
|
|
15
|
-
): Promise<void>
|
|
16
|
-
//# sourceMappingURL=npm-fix.d.mts.map
|
|
1
|
+
import type { NormalizedFixOptions } from './types.mts';
|
|
2
|
+
import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
3
|
+
export declare function npmFix(pkgEnvDetails: EnvDetails, { autoMerge, cwd, dryRun, limit, purls, rangeStyle, test, testScript, }: NormalizedFixOptions): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=npm-fix.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm-fix.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/npm-fix.mts"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAwBrE,wBAAsB,MAAM,CAC1B,aAAa,EAAE,UAAU,EACzB,EACE,SAAS,EACT,GAAG,EACH,MAAM,EACN,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,
|
|
1
|
+
{"version":3,"file":"npm-fix.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/npm-fix.mts"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAwBrE,wBAAsB,MAAM,CAC1B,aAAa,EAAE,UAAU,EACzB,EACE,SAAS,EACT,GAAG,EACH,MAAM,EACN,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,GACX,EAAE,oBAAoB,iBA0UxB"}
|
|
@@ -1,49 +1,23 @@
|
|
|
1
|
-
import type { components } from '@octokit/openapi-types'
|
|
2
|
-
import type { OctokitResponse } from '@octokit/types'
|
|
3
|
-
export declare function getOctokitGraphql(): import(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function cacheFetch<T>(
|
|
7
|
-
key: string,
|
|
8
|
-
fetcher: () => Promise<T>,
|
|
9
|
-
ttlMs?: number | undefined
|
|
10
|
-
): Promise<T>
|
|
11
|
-
export type Pr = components['schemas']['pull-request']
|
|
1
|
+
import type { components } from '@octokit/openapi-types';
|
|
2
|
+
import type { OctokitResponse } from '@octokit/types';
|
|
3
|
+
export declare function getOctokitGraphql(): import("@octokit/graphql/types").graphql;
|
|
4
|
+
export declare function cacheFetch<T>(key: string, fetcher: () => Promise<T>, ttlMs?: number | undefined): Promise<T>;
|
|
5
|
+
export type Pr = components['schemas']['pull-request'];
|
|
12
6
|
export type CleanupPrsOptions = {
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export declare function cleanupOpenPrs(
|
|
16
|
-
|
|
17
|
-
repo: string,
|
|
18
|
-
purl: string,
|
|
19
|
-
newVersion: string,
|
|
20
|
-
options?: CleanupPrsOptions | undefined
|
|
21
|
-
): Promise<void>
|
|
22
|
-
export declare function enablePrAutoMerge({
|
|
23
|
-
node_id: prId,
|
|
24
|
-
number: prNumber
|
|
25
|
-
}: Pr): Promise<boolean>
|
|
7
|
+
workspaceName?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare function cleanupOpenPrs(owner: string, repo: string, purl: string, newVersion: string, options?: CleanupPrsOptions | undefined): Promise<void>;
|
|
10
|
+
export declare function enablePrAutoMerge({ node_id: prId, number: prNumber, }: Pr): Promise<boolean>;
|
|
26
11
|
export type GitHubRepoInfo = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
export declare function getGitHubEnvRepoInfo(): GitHubRepoInfo
|
|
12
|
+
owner: string;
|
|
13
|
+
repo: string;
|
|
14
|
+
};
|
|
15
|
+
export declare function getGitHubEnvRepoInfo(): GitHubRepoInfo;
|
|
31
16
|
export type OpenPrOptions = {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
export declare function openPr(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
branch: string,
|
|
40
|
-
purl: string,
|
|
41
|
-
newVersion: string,
|
|
42
|
-
options?: OpenPrOptions | undefined
|
|
43
|
-
): Promise<OctokitResponse<Pr> | null>
|
|
44
|
-
export declare function prExistForBranch(
|
|
45
|
-
owner: string,
|
|
46
|
-
repo: string,
|
|
47
|
-
branch: string
|
|
48
|
-
): Promise<boolean>
|
|
49
|
-
//# sourceMappingURL=open-pr.d.mts.map
|
|
17
|
+
baseBranch?: string | undefined;
|
|
18
|
+
cwd?: string | undefined;
|
|
19
|
+
workspaceName?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare function openPr(owner: string, repo: string, branch: string, purl: string, newVersion: string, options?: OpenPrOptions | undefined): Promise<OctokitResponse<Pr> | null>;
|
|
22
|
+
export declare function prExistForBranch(owner: string, repo: string, branch: string): Promise<boolean>;
|
|
23
|
+
//# sourceMappingURL=open-pr.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-pr.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/open-pr.mts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAgBrD,wBAAgB,iBAAiB,6CAUhC;AAED,wBAAsB,UAAU,CAAC,CAAC,EAChC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACzB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GACzB,OAAO,CAAC,CAAC,CAAC,CAWZ;AA6BD,MAAM,MAAM,EAAE,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAA;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAA;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,iBAAiB,GAAG,SAAS,iBAgLxC;AAED,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EAAE,IAAI,EACb,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"open-pr.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/open-pr.mts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAgBrD,wBAAgB,iBAAiB,6CAUhC;AAED,wBAAsB,UAAU,CAAC,CAAC,EAChC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACzB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GACzB,OAAO,CAAC,CAAC,CAAC,CAWZ;AA6BD,MAAM,MAAM,EAAE,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAA;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAA;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,iBAAiB,GAAG,SAAS,iBAgLxC;AAED,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EAAE,IAAI,EACb,MAAM,EAAE,QAAQ,GACjB,EAAE,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAoCvB;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAgB,oBAAoB,IAAI,cAAc,CAWrD;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAA;AAED,wBAAsB,MAAM,CAC1B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAClC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CA+CrC;AAED,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,CAalB"}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import type { NormalizedFixOptions } from './types.mts'
|
|
2
|
-
import type { EnvDetails } from '../../utils/package-environment.mts'
|
|
3
|
-
export declare function pnpmFix(
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
autoMerge,
|
|
7
|
-
cwd,
|
|
8
|
-
dryRun,
|
|
9
|
-
limit,
|
|
10
|
-
purls,
|
|
11
|
-
rangeStyle,
|
|
12
|
-
test,
|
|
13
|
-
testScript
|
|
14
|
-
}: NormalizedFixOptions
|
|
15
|
-
): Promise<void>
|
|
16
|
-
//# sourceMappingURL=pnpm-fix.d.mts.map
|
|
1
|
+
import type { NormalizedFixOptions } from './types.mts';
|
|
2
|
+
import type { EnvDetails } from '../../utils/package-environment.mts';
|
|
3
|
+
export declare function pnpmFix(pkgEnvDetails: EnvDetails, { autoMerge, cwd, dryRun, limit, purls, rangeStyle, test, testScript, }: NormalizedFixOptions): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=pnpm-fix.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pnpm-fix.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/pnpm-fix.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pnpm-fix.d.mts","sourceRoot":"","sources":["../../../../src/commands/fix/pnpm-fix.mts"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AA+CrE,wBAAsB,OAAO,CAC3B,aAAa,EAAE,UAAU,EACzB,EACE,SAAS,EACT,GAAG,EACH,MAAM,EACN,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,GACX,EAAE,oBAAoB,iBAyYxB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FixOptions } from './types.mts'
|
|
2
|
-
export declare function runFix(options_: FixOptions): Promise<void
|
|
3
|
-
//# sourceMappingURL=run-fix.d.mts.map
|
|
1
|
+
import type { FixOptions } from './types.mts';
|
|
2
|
+
export declare function runFix(options_: FixOptions): Promise<void>;
|
|
3
|
+
//# sourceMappingURL=run-fix.d.mts.map
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import type { FixOptions, NormalizedFixOptions } from './types.mts'
|
|
2
|
-
import type { GetAlertsMapFromPurlsOptions } from '../../utils/alerts-map.mts'
|
|
3
|
-
import type { Remap } from '@socketsecurity/registry/lib/objects'
|
|
4
|
-
export declare const CMD_NAME =
|
|
5
|
-
export declare function getAlertMapOptions(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
>
|
|
12
|
-
export declare function normalizeFixOptions(
|
|
13
|
-
options_: FixOptions
|
|
14
|
-
): NormalizedFixOptions
|
|
15
|
-
//# sourceMappingURL=shared.d.mts.map
|
|
1
|
+
import type { FixOptions, NormalizedFixOptions } from './types.mts';
|
|
2
|
+
import type { GetAlertsMapFromPurlsOptions } from '../../utils/alerts-map.mts';
|
|
3
|
+
import type { Remap } from '@socketsecurity/registry/lib/objects';
|
|
4
|
+
export declare const CMD_NAME = "socket fix";
|
|
5
|
+
export declare function getAlertMapOptions(options?: GetAlertsMapFromPurlsOptions): Remap<Omit<GetAlertsMapFromPurlsOptions, "include" | "overrides" | "spinner"> & {
|
|
6
|
+
include: Exclude<GetAlertsMapFromPurlsOptions["include"], undefined>;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function normalizeFixOptions(options_: FixOptions): NormalizedFixOptions;
|
|
9
|
+
//# sourceMappingURL=shared.d.mts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { RangeStyle } from '../../utils/semver.mts'
|
|
1
|
+
import type { RangeStyle } from '../../utils/semver.mts';
|
|
2
2
|
type StripUndefined<T> = {
|
|
3
|
-
|
|
4
|
-
}
|
|
3
|
+
[K in keyof T]-?: Exclude<T[K], undefined>;
|
|
4
|
+
};
|
|
5
5
|
export type FixOptions = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
export type NormalizedFixOptions = StripUndefined<Required<FixOptions
|
|
17
|
-
export {}
|
|
18
|
-
//# sourceMappingURL=types.d.mts.map
|
|
6
|
+
autoMerge?: boolean | undefined;
|
|
7
|
+
autopilot?: boolean | undefined;
|
|
8
|
+
cwd?: string | undefined;
|
|
9
|
+
dryRun?: boolean | undefined;
|
|
10
|
+
limit?: number | undefined;
|
|
11
|
+
purls?: string[] | readonly string[] | undefined;
|
|
12
|
+
rangeStyle?: RangeStyle | undefined;
|
|
13
|
+
test?: boolean | undefined;
|
|
14
|
+
testScript?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type NormalizedFixOptions = StripUndefined<Required<FixOptions>>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export declare const cmdInfo: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare function run(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}: {
|
|
12
|
-
parentName: string
|
|
13
|
-
}
|
|
14
|
-
): Promise<void>
|
|
15
|
-
export {}
|
|
16
|
-
//# sourceMappingURL=cmd-info.d.mts.map
|
|
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-info.d.mts.map
|