@socketsecurity/cli-with-sentry 0.15.11 → 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 +3 -1
- package/external/@socketsecurity/registry/lib/logger.js +149 -69
- 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 +8 -8
- package/dist/types/commands/cdxgen/run-cdxgen.d.mts.map +0 -1
|
@@ -7004,10 +7004,9 @@ function requireCommonjs$1() {
|
|
|
7004
7004
|
}
|
|
7005
7005
|
const result = {}
|
|
7006
7006
|
if (mod != null) {
|
|
7007
|
-
for (
|
|
7007
|
+
for (var k in mod)
|
|
7008
7008
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
7009
7009
|
__createBinding(result, mod, k)
|
|
7010
|
-
}
|
|
7011
7010
|
}
|
|
7012
7011
|
__setModuleDefault(result, mod)
|
|
7013
7012
|
return result
|
|
@@ -10941,10 +10940,9 @@ function requireCjs() {
|
|
|
10941
10940
|
}
|
|
10942
10941
|
const result = {}
|
|
10943
10942
|
if (mod != null) {
|
|
10944
|
-
for (
|
|
10943
|
+
for (var k in mod)
|
|
10945
10944
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
10946
10945
|
__createBinding(result, mod, k)
|
|
10947
|
-
}
|
|
10948
10946
|
}
|
|
10949
10947
|
__setModuleDefault(result, mod)
|
|
10950
10948
|
return result
|
|
@@ -10956,9 +10954,8 @@ function requireCjs() {
|
|
|
10956
10954
|
if (
|
|
10957
10955
|
p !== 'default' &&
|
|
10958
10956
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
10959
|
-
)
|
|
10957
|
+
)
|
|
10960
10958
|
__createBinding(exports, m, p)
|
|
10961
|
-
}
|
|
10962
10959
|
}
|
|
10963
10960
|
}
|
|
10964
10961
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -15037,7 +15034,7 @@ function requireDevEngines() {
|
|
|
15037
15034
|
const satisfies = requireSatisfies()
|
|
15038
15035
|
const validRange = requireValid()
|
|
15039
15036
|
const recognizedOnFail = new Set(['ignore', 'warn', 'error', 'download'])
|
|
15040
|
-
const recognizedProperties =
|
|
15037
|
+
const recognizedProperties = ['name', 'version', 'onFail']
|
|
15041
15038
|
const recognizedEngines = ['packageManager', 'runtime', 'cpu', 'libc', 'os']
|
|
15042
15039
|
|
|
15043
15040
|
/** checks a devEngine dependency */
|
|
@@ -15052,7 +15049,7 @@ function requireDevEngines() {
|
|
|
15052
15049
|
}
|
|
15053
15050
|
const properties = Object.keys(wanted)
|
|
15054
15051
|
for (const prop of properties) {
|
|
15055
|
-
if (!recognizedProperties.
|
|
15052
|
+
if (!recognizedProperties.includes(prop)) {
|
|
15056
15053
|
throw new Error(`Invalid property "${prop}" for "${engine}"`)
|
|
15057
15054
|
}
|
|
15058
15055
|
}
|
|
@@ -232,10 +232,9 @@ function requireCjs() {
|
|
|
232
232
|
}
|
|
233
233
|
const result = {}
|
|
234
234
|
if (mod != null) {
|
|
235
|
-
for (
|
|
235
|
+
for (var k in mod)
|
|
236
236
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
237
237
|
__createBinding(result, mod, k)
|
|
238
|
-
}
|
|
239
238
|
}
|
|
240
239
|
__setModuleDefault(result, mod)
|
|
241
240
|
return result
|
|
@@ -247,9 +246,8 @@ function requireCjs() {
|
|
|
247
246
|
if (
|
|
248
247
|
p !== 'default' &&
|
|
249
248
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
250
|
-
)
|
|
249
|
+
)
|
|
251
250
|
__createBinding(exports, m, p)
|
|
252
|
-
}
|
|
253
251
|
}
|
|
254
252
|
}
|
|
255
253
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -12543,10 +12543,9 @@ function requireCommonjs$1() {
|
|
|
12543
12543
|
}
|
|
12544
12544
|
const result = {}
|
|
12545
12545
|
if (mod != null) {
|
|
12546
|
-
for (
|
|
12546
|
+
for (var k in mod)
|
|
12547
12547
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
12548
12548
|
__createBinding(result, mod, k)
|
|
12549
|
-
}
|
|
12550
12549
|
}
|
|
12551
12550
|
__setModuleDefault(result, mod)
|
|
12552
12551
|
return result
|
|
@@ -7025,10 +7025,9 @@ function requireCommonjs$4() {
|
|
|
7025
7025
|
}
|
|
7026
7026
|
const result = {}
|
|
7027
7027
|
if (mod != null) {
|
|
7028
|
-
for (
|
|
7028
|
+
for (var k in mod)
|
|
7029
7029
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
7030
7030
|
__createBinding(result, mod, k)
|
|
7031
|
-
}
|
|
7032
7031
|
}
|
|
7033
7032
|
__setModuleDefault(result, mod)
|
|
7034
7033
|
return result
|
|
@@ -10962,10 +10961,9 @@ function requireCjs$1() {
|
|
|
10962
10961
|
}
|
|
10963
10962
|
const result = {}
|
|
10964
10963
|
if (mod != null) {
|
|
10965
|
-
for (
|
|
10964
|
+
for (var k in mod)
|
|
10966
10965
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
10967
10966
|
__createBinding(result, mod, k)
|
|
10968
|
-
}
|
|
10969
10967
|
}
|
|
10970
10968
|
__setModuleDefault(result, mod)
|
|
10971
10969
|
return result
|
|
@@ -10977,9 +10975,8 @@ function requireCjs$1() {
|
|
|
10977
10975
|
if (
|
|
10978
10976
|
p !== 'default' &&
|
|
10979
10977
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
10980
|
-
)
|
|
10978
|
+
)
|
|
10981
10979
|
__createBinding(exports, m, p)
|
|
10982
|
-
}
|
|
10983
10980
|
}
|
|
10984
10981
|
}
|
|
10985
10982
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -15058,7 +15055,7 @@ function requireDevEngines() {
|
|
|
15058
15055
|
const satisfies = requireSatisfies()
|
|
15059
15056
|
const validRange = requireValid()
|
|
15060
15057
|
const recognizedOnFail = new Set(['ignore', 'warn', 'error', 'download'])
|
|
15061
|
-
const recognizedProperties =
|
|
15058
|
+
const recognizedProperties = ['name', 'version', 'onFail']
|
|
15062
15059
|
const recognizedEngines = ['packageManager', 'runtime', 'cpu', 'libc', 'os']
|
|
15063
15060
|
|
|
15064
15061
|
/** checks a devEngine dependency */
|
|
@@ -15073,7 +15070,7 @@ function requireDevEngines() {
|
|
|
15073
15070
|
}
|
|
15074
15071
|
const properties = Object.keys(wanted)
|
|
15075
15072
|
for (const prop of properties) {
|
|
15076
|
-
if (!recognizedProperties.
|
|
15073
|
+
if (!recognizedProperties.includes(prop)) {
|
|
15077
15074
|
throw new Error(`Invalid property "${prop}" for "${engine}"`)
|
|
15078
15075
|
}
|
|
15079
15076
|
}
|
|
@@ -31686,9 +31683,7 @@ function requireChownr() {
|
|
|
31686
31683
|
if (typeof child === 'string') {
|
|
31687
31684
|
return fs.lstat(path.resolve(p, child), (er, stats) => {
|
|
31688
31685
|
// Skip ENOENT error
|
|
31689
|
-
if (er)
|
|
31690
|
-
return cb(er.code !== 'ENOENT' ? er : null)
|
|
31691
|
-
}
|
|
31686
|
+
if (er) return cb(er.code !== 'ENOENT' ? er : null)
|
|
31692
31687
|
stats.name = child
|
|
31693
31688
|
chownrKid(p, stats, uid, gid, cb)
|
|
31694
31689
|
})
|
|
@@ -35126,9 +35121,8 @@ function requireCommonjs$2() {
|
|
|
35126
35121
|
function (o) {
|
|
35127
35122
|
const ar = []
|
|
35128
35123
|
for (const k in o) {
|
|
35129
|
-
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
35124
|
+
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
35130
35125
|
ar[ar.length] = k
|
|
35131
|
-
}
|
|
35132
35126
|
}
|
|
35133
35127
|
return ar
|
|
35134
35128
|
}
|
|
@@ -35140,9 +35134,8 @@ function requireCommonjs$2() {
|
|
|
35140
35134
|
}
|
|
35141
35135
|
const result = {}
|
|
35142
35136
|
if (mod != null) {
|
|
35143
|
-
for (
|
|
35137
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
35144
35138
|
if (k[i] !== 'default') __createBinding(result, mod, k[i])
|
|
35145
|
-
}
|
|
35146
35139
|
}
|
|
35147
35140
|
__setModuleDefault(result, mod)
|
|
35148
35141
|
return result
|
|
@@ -38585,13 +38578,10 @@ function requireDbcsCodec() {
|
|
|
38585
38578
|
// Some chars can be decoded, but need not be encoded.
|
|
38586
38579
|
const skipEncodeChars = {}
|
|
38587
38580
|
if (codecOptions.encodeSkipVals) {
|
|
38588
|
-
for (
|
|
38589
|
-
|
|
38590
|
-
if (typeof val === 'number')
|
|
38591
|
-
|
|
38592
|
-
} else {
|
|
38593
|
-
for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
38594
|
-
}
|
|
38581
|
+
for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
|
|
38582
|
+
var val = codecOptions.encodeSkipVals[i]
|
|
38583
|
+
if (typeof val === 'number') skipEncodeChars[val] = true
|
|
38584
|
+
else for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
38595
38585
|
}
|
|
38596
38586
|
}
|
|
38597
38587
|
|
|
@@ -38601,14 +38591,11 @@ function requireDbcsCodec() {
|
|
|
38601
38591
|
// Add more encoding pairs when needed.
|
|
38602
38592
|
if (codecOptions.encodeAdd) {
|
|
38603
38593
|
for (const uChar in codecOptions.encodeAdd) {
|
|
38604
|
-
if (
|
|
38605
|
-
Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)
|
|
38606
|
-
) {
|
|
38594
|
+
if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
|
|
38607
38595
|
this._setEncodeChar(
|
|
38608
38596
|
uChar.charCodeAt(0),
|
|
38609
38597
|
codecOptions.encodeAdd[uChar]
|
|
38610
38598
|
)
|
|
38611
|
-
}
|
|
38612
38599
|
}
|
|
38613
38600
|
}
|
|
38614
38601
|
this.defCharSB =
|
|
@@ -44942,9 +44929,8 @@ function requireEncodings() {
|
|
|
44942
44929
|
for (let i = 0; i < modules.length; i++) {
|
|
44943
44930
|
const module = modules[i]
|
|
44944
44931
|
for (const enc in module) {
|
|
44945
|
-
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
44932
|
+
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
44946
44933
|
exports[enc] = module[enc]
|
|
44947
|
-
}
|
|
44948
44934
|
}
|
|
44949
44935
|
}
|
|
44950
44936
|
})(encodings)
|
|
@@ -50888,10 +50874,9 @@ function requireHelpers$2() {
|
|
|
50888
50874
|
}
|
|
50889
50875
|
const result = {}
|
|
50890
50876
|
if (mod != null) {
|
|
50891
|
-
for (
|
|
50877
|
+
for (var k in mod)
|
|
50892
50878
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
50893
50879
|
__createBinding(result, mod, k)
|
|
50894
|
-
}
|
|
50895
50880
|
}
|
|
50896
50881
|
__setModuleDefault(result, mod)
|
|
50897
50882
|
return result
|
|
@@ -50994,10 +50979,9 @@ function requireDist$v() {
|
|
|
50994
50979
|
}
|
|
50995
50980
|
const result = {}
|
|
50996
50981
|
if (mod != null) {
|
|
50997
|
-
for (
|
|
50982
|
+
for (var k in mod)
|
|
50998
50983
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
50999
50984
|
__createBinding(result, mod, k)
|
|
51000
|
-
}
|
|
51001
50985
|
}
|
|
51002
50986
|
__setModuleDefault(result, mod)
|
|
51003
50987
|
return result
|
|
@@ -51009,9 +50993,8 @@ function requireDist$v() {
|
|
|
51009
50993
|
if (
|
|
51010
50994
|
p !== 'default' &&
|
|
51011
50995
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
51012
|
-
)
|
|
50996
|
+
)
|
|
51013
50997
|
__createBinding(exports, m, p)
|
|
51014
|
-
}
|
|
51015
50998
|
}
|
|
51016
50999
|
}
|
|
51017
51000
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -51236,10 +51219,9 @@ function requireDist$u() {
|
|
|
51236
51219
|
}
|
|
51237
51220
|
const result = {}
|
|
51238
51221
|
if (mod != null) {
|
|
51239
|
-
for (
|
|
51222
|
+
for (var k in mod)
|
|
51240
51223
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
51241
51224
|
__createBinding(result, mod, k)
|
|
51242
|
-
}
|
|
51243
51225
|
}
|
|
51244
51226
|
__setModuleDefault(result, mod)
|
|
51245
51227
|
return result
|
|
@@ -51562,10 +51544,9 @@ function requireDist$t() {
|
|
|
51562
51544
|
}
|
|
51563
51545
|
const result = {}
|
|
51564
51546
|
if (mod != null) {
|
|
51565
|
-
for (
|
|
51547
|
+
for (var k in mod)
|
|
51566
51548
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
51567
51549
|
__createBinding(result, mod, k)
|
|
51568
|
-
}
|
|
51569
51550
|
}
|
|
51570
51551
|
__setModuleDefault(result, mod)
|
|
51571
51552
|
return result
|
|
@@ -53643,13 +53624,9 @@ function requireJsbn() {
|
|
|
53643
53624
|
// (public) Constructor
|
|
53644
53625
|
function BigInteger(a, b, c) {
|
|
53645
53626
|
if (a != null) {
|
|
53646
|
-
if ('number' == typeof a)
|
|
53647
|
-
|
|
53648
|
-
|
|
53649
|
-
this.fromString(a, 256)
|
|
53650
|
-
} else {
|
|
53651
|
-
this.fromString(a, b)
|
|
53652
|
-
}
|
|
53627
|
+
if ('number' == typeof a) this.fromNumber(a, b, c)
|
|
53628
|
+
else if (b == null && 'string' != typeof a) this.fromString(a, 256)
|
|
53629
|
+
else this.fromString(a, b)
|
|
53653
53630
|
}
|
|
53654
53631
|
}
|
|
53655
53632
|
|
|
@@ -53925,9 +53902,7 @@ function requireJsbn() {
|
|
|
53925
53902
|
return this.s < 0 ? -r : r
|
|
53926
53903
|
}
|
|
53927
53904
|
while (--i >= 0) {
|
|
53928
|
-
if ((r = this[i] - a[i]) != 0)
|
|
53929
|
-
return r
|
|
53930
|
-
}
|
|
53905
|
+
if ((r = this[i] - a[i]) != 0) return r
|
|
53931
53906
|
}
|
|
53932
53907
|
return 0
|
|
53933
53908
|
}
|
|
@@ -54747,9 +54722,7 @@ function requireJsbn() {
|
|
|
54747
54722
|
// (public) returns index of lowest 1-bit (or -1 if none)
|
|
54748
54723
|
function bnGetLowestSetBit() {
|
|
54749
54724
|
for (let i = 0; i < this.t; ++i) {
|
|
54750
|
-
if (this[i] != 0)
|
|
54751
|
-
return i * this.DB + lbit(this[i])
|
|
54752
|
-
}
|
|
54725
|
+
if (this[i] != 0) return i * this.DB + lbit(this[i])
|
|
54753
54726
|
}
|
|
54754
54727
|
if (this.s < 0) {
|
|
54755
54728
|
return this.t * this.DB
|
|
@@ -55185,11 +55158,8 @@ function requireJsbn() {
|
|
|
55185
55158
|
let d = this.DV % n,
|
|
55186
55159
|
r = this.s < 0 ? n - 1 : 0
|
|
55187
55160
|
if (this.t > 0) {
|
|
55188
|
-
if (d == 0)
|
|
55189
|
-
|
|
55190
|
-
} else {
|
|
55191
|
-
for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
55192
|
-
}
|
|
55161
|
+
if (d == 0) r = this[0] % n
|
|
55162
|
+
else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
55193
55163
|
}
|
|
55194
55164
|
return r
|
|
55195
55165
|
}
|
|
@@ -55286,9 +55256,7 @@ function requireJsbn() {
|
|
|
55286
55256
|
x = this.abs()
|
|
55287
55257
|
if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
|
|
55288
55258
|
for (i = 0; i < lowprimes.length; ++i) {
|
|
55289
|
-
if (x[0] == lowprimes[i])
|
|
55290
|
-
return true
|
|
55291
|
-
}
|
|
55259
|
+
if (x[0] == lowprimes[i]) return true
|
|
55292
55260
|
}
|
|
55293
55261
|
return false
|
|
55294
55262
|
}
|
|
@@ -55304,9 +55272,7 @@ function requireJsbn() {
|
|
|
55304
55272
|
}
|
|
55305
55273
|
m = x.modInt(m)
|
|
55306
55274
|
while (i < j) {
|
|
55307
|
-
if (m % lowprimes[i++] == 0)
|
|
55308
|
-
return false
|
|
55309
|
-
}
|
|
55275
|
+
if (m % lowprimes[i++] == 0) return false
|
|
55310
55276
|
}
|
|
55311
55277
|
}
|
|
55312
55278
|
return x.millerRabin(t)
|
|
@@ -55884,10 +55850,9 @@ function requireIpv4() {
|
|
|
55884
55850
|
}
|
|
55885
55851
|
const result = {}
|
|
55886
55852
|
if (mod != null) {
|
|
55887
|
-
for (
|
|
55853
|
+
for (var k in mod)
|
|
55888
55854
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
55889
55855
|
__createBinding(result, mod, k)
|
|
55890
|
-
}
|
|
55891
55856
|
}
|
|
55892
55857
|
__setModuleDefault(result, mod)
|
|
55893
55858
|
return result
|
|
@@ -56450,10 +56415,9 @@ function requireRegularExpressions() {
|
|
|
56450
56415
|
}
|
|
56451
56416
|
const result = {}
|
|
56452
56417
|
if (mod != null) {
|
|
56453
|
-
for (
|
|
56418
|
+
for (var k in mod)
|
|
56454
56419
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
56455
56420
|
__createBinding(result, mod, k)
|
|
56456
|
-
}
|
|
56457
56421
|
}
|
|
56458
56422
|
__setModuleDefault(result, mod)
|
|
56459
56423
|
return result
|
|
@@ -56608,10 +56572,9 @@ function requireIpv6() {
|
|
|
56608
56572
|
}
|
|
56609
56573
|
const result = {}
|
|
56610
56574
|
if (mod != null) {
|
|
56611
|
-
for (
|
|
56575
|
+
for (var k in mod)
|
|
56612
56576
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
56613
56577
|
__createBinding(result, mod, k)
|
|
56614
|
-
}
|
|
56615
56578
|
}
|
|
56616
56579
|
__setModuleDefault(result, mod)
|
|
56617
56580
|
return result
|
|
@@ -57741,10 +57704,9 @@ function requireIpAddress() {
|
|
|
57741
57704
|
}
|
|
57742
57705
|
const result = {}
|
|
57743
57706
|
if (mod != null) {
|
|
57744
|
-
for (
|
|
57707
|
+
for (var k in mod)
|
|
57745
57708
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
57746
57709
|
__createBinding(result, mod, k)
|
|
57747
|
-
}
|
|
57748
57710
|
}
|
|
57749
57711
|
__setModuleDefault(result, mod)
|
|
57750
57712
|
return result
|
|
@@ -59067,9 +59029,8 @@ function requireBuild$3() {
|
|
|
59067
59029
|
if (
|
|
59068
59030
|
p !== 'default' &&
|
|
59069
59031
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
59070
|
-
)
|
|
59032
|
+
)
|
|
59071
59033
|
__createBinding(exports, m, p)
|
|
59072
|
-
}
|
|
59073
59034
|
}
|
|
59074
59035
|
}
|
|
59075
59036
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -59133,10 +59094,9 @@ function requireDist$s() {
|
|
|
59133
59094
|
}
|
|
59134
59095
|
const result = {}
|
|
59135
59096
|
if (mod != null) {
|
|
59136
|
-
for (
|
|
59097
|
+
for (var k in mod)
|
|
59137
59098
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
59138
59099
|
__createBinding(result, mod, k)
|
|
59139
|
-
}
|
|
59140
59100
|
}
|
|
59141
59101
|
__setModuleDefault(result, mod)
|
|
59142
59102
|
return result
|
|
@@ -59805,7 +59765,7 @@ function requireRemote$3() {
|
|
|
59805
59765
|
// EINVALIDPROXY // invalid protocol from @npmcli/agent
|
|
59806
59766
|
// EINVALIDRESPONSE // invalid status code from @npmcli/agent
|
|
59807
59767
|
])
|
|
59808
|
-
const RETRY_TYPES =
|
|
59768
|
+
const RETRY_TYPES = ['request-timeout']
|
|
59809
59769
|
|
|
59810
59770
|
// make a request directly to the remote source,
|
|
59811
59771
|
// retrying certain classes of errors as well as
|
|
@@ -59888,7 +59848,7 @@ function requireRemote$3() {
|
|
|
59888
59848
|
// can re-throw to allow the retry
|
|
59889
59849
|
const isRetryError =
|
|
59890
59850
|
err.retried instanceof fetch.Response ||
|
|
59891
|
-
(RETRY_ERRORS.has(code) && RETRY_TYPES.
|
|
59851
|
+
(RETRY_ERRORS.has(code) && RETRY_TYPES.includes(err.type))
|
|
59892
59852
|
if (req.method === 'POST' || isRetryError) {
|
|
59893
59853
|
throw err
|
|
59894
59854
|
}
|