@socketsecurity/cli-with-sentry 0.15.11 → 0.15.13
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 +5739 -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 +39272 -51880
- 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/@socketregistry/yocto-spinner.js +1 -1
- package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js.map +1 -1
- 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/constants/skip-tests-by-ecosystem.js +5 -1
- package/external/@socketsecurity/registry/lib/logger.d.ts +3 -1
- package/external/@socketsecurity/registry/lib/logger.js +152 -70
- package/external/@socketsecurity/registry/package.json +3 -3
- 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 +13 -13
- package/dist/types/commands/cdxgen/run-cdxgen.d.mts.map +0 -1
|
@@ -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
|
}
|
|
@@ -1377,9 +1377,8 @@ function requireCommonjs$4() {
|
|
|
1377
1377
|
function (o) {
|
|
1378
1378
|
const ar = []
|
|
1379
1379
|
for (const k in o) {
|
|
1380
|
-
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
1380
|
+
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
1381
1381
|
ar[ar.length] = k
|
|
1382
|
-
}
|
|
1383
1382
|
}
|
|
1384
1383
|
return ar
|
|
1385
1384
|
}
|
|
@@ -1391,9 +1390,8 @@ function requireCommonjs$4() {
|
|
|
1391
1390
|
}
|
|
1392
1391
|
const result = {}
|
|
1393
1392
|
if (mod != null) {
|
|
1394
|
-
for (
|
|
1393
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
1395
1394
|
if (k[i] !== 'default') __createBinding(result, mod, k[i])
|
|
1396
|
-
}
|
|
1397
1395
|
}
|
|
1398
1396
|
__setModuleDefault(result, mod)
|
|
1399
1397
|
return result
|
|
@@ -4836,13 +4834,10 @@ function requireDbcsCodec() {
|
|
|
4836
4834
|
// Some chars can be decoded, but need not be encoded.
|
|
4837
4835
|
const skipEncodeChars = {}
|
|
4838
4836
|
if (codecOptions.encodeSkipVals) {
|
|
4839
|
-
for (
|
|
4840
|
-
|
|
4841
|
-
if (typeof val === 'number')
|
|
4842
|
-
|
|
4843
|
-
} else {
|
|
4844
|
-
for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
4845
|
-
}
|
|
4837
|
+
for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
|
|
4838
|
+
var val = codecOptions.encodeSkipVals[i]
|
|
4839
|
+
if (typeof val === 'number') skipEncodeChars[val] = true
|
|
4840
|
+
else for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
4846
4841
|
}
|
|
4847
4842
|
}
|
|
4848
4843
|
|
|
@@ -4852,14 +4847,11 @@ function requireDbcsCodec() {
|
|
|
4852
4847
|
// Add more encoding pairs when needed.
|
|
4853
4848
|
if (codecOptions.encodeAdd) {
|
|
4854
4849
|
for (const uChar in codecOptions.encodeAdd) {
|
|
4855
|
-
if (
|
|
4856
|
-
Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)
|
|
4857
|
-
) {
|
|
4850
|
+
if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
|
|
4858
4851
|
this._setEncodeChar(
|
|
4859
4852
|
uChar.charCodeAt(0),
|
|
4860
4853
|
codecOptions.encodeAdd[uChar]
|
|
4861
4854
|
)
|
|
4862
|
-
}
|
|
4863
4855
|
}
|
|
4864
4856
|
}
|
|
4865
4857
|
this.defCharSB =
|
|
@@ -11193,9 +11185,8 @@ function requireEncodings() {
|
|
|
11193
11185
|
for (let i = 0; i < modules.length; i++) {
|
|
11194
11186
|
const module = modules[i]
|
|
11195
11187
|
for (const enc in module) {
|
|
11196
|
-
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
11188
|
+
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
11197
11189
|
exports[enc] = module[enc]
|
|
11198
|
-
}
|
|
11199
11190
|
}
|
|
11200
11191
|
}
|
|
11201
11192
|
})(encodings)
|
|
@@ -26379,10 +26370,9 @@ function requireCommonjs$1() {
|
|
|
26379
26370
|
}
|
|
26380
26371
|
const result = {}
|
|
26381
26372
|
if (mod != null) {
|
|
26382
|
-
for (
|
|
26373
|
+
for (var k in mod)
|
|
26383
26374
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
26384
26375
|
__createBinding(result, mod, k)
|
|
26385
|
-
}
|
|
26386
26376
|
}
|
|
26387
26377
|
__setModuleDefault(result, mod)
|
|
26388
26378
|
return result
|
|
@@ -32458,10 +32448,9 @@ function requireHelpers$2() {
|
|
|
32458
32448
|
}
|
|
32459
32449
|
const result = {}
|
|
32460
32450
|
if (mod != null) {
|
|
32461
|
-
for (
|
|
32451
|
+
for (var k in mod)
|
|
32462
32452
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
32463
32453
|
__createBinding(result, mod, k)
|
|
32464
|
-
}
|
|
32465
32454
|
}
|
|
32466
32455
|
__setModuleDefault(result, mod)
|
|
32467
32456
|
return result
|
|
@@ -32564,10 +32553,9 @@ function requireDist$3() {
|
|
|
32564
32553
|
}
|
|
32565
32554
|
const result = {}
|
|
32566
32555
|
if (mod != null) {
|
|
32567
|
-
for (
|
|
32556
|
+
for (var k in mod)
|
|
32568
32557
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
32569
32558
|
__createBinding(result, mod, k)
|
|
32570
|
-
}
|
|
32571
32559
|
}
|
|
32572
32560
|
__setModuleDefault(result, mod)
|
|
32573
32561
|
return result
|
|
@@ -32579,9 +32567,8 @@ function requireDist$3() {
|
|
|
32579
32567
|
if (
|
|
32580
32568
|
p !== 'default' &&
|
|
32581
32569
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
32582
|
-
)
|
|
32570
|
+
)
|
|
32583
32571
|
__createBinding(exports, m, p)
|
|
32584
|
-
}
|
|
32585
32572
|
}
|
|
32586
32573
|
}
|
|
32587
32574
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -32806,10 +32793,9 @@ function requireDist$2() {
|
|
|
32806
32793
|
}
|
|
32807
32794
|
const result = {}
|
|
32808
32795
|
if (mod != null) {
|
|
32809
|
-
for (
|
|
32796
|
+
for (var k in mod)
|
|
32810
32797
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
32811
32798
|
__createBinding(result, mod, k)
|
|
32812
|
-
}
|
|
32813
32799
|
}
|
|
32814
32800
|
__setModuleDefault(result, mod)
|
|
32815
32801
|
return result
|
|
@@ -33132,10 +33118,9 @@ function requireDist$1() {
|
|
|
33132
33118
|
}
|
|
33133
33119
|
const result = {}
|
|
33134
33120
|
if (mod != null) {
|
|
33135
|
-
for (
|
|
33121
|
+
for (var k in mod)
|
|
33136
33122
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
33137
33123
|
__createBinding(result, mod, k)
|
|
33138
|
-
}
|
|
33139
33124
|
}
|
|
33140
33125
|
__setModuleDefault(result, mod)
|
|
33141
33126
|
return result
|
|
@@ -35213,13 +35198,9 @@ function requireJsbn() {
|
|
|
35213
35198
|
// (public) Constructor
|
|
35214
35199
|
function BigInteger(a, b, c) {
|
|
35215
35200
|
if (a != null) {
|
|
35216
|
-
if ('number' == typeof a)
|
|
35217
|
-
|
|
35218
|
-
|
|
35219
|
-
this.fromString(a, 256)
|
|
35220
|
-
} else {
|
|
35221
|
-
this.fromString(a, b)
|
|
35222
|
-
}
|
|
35201
|
+
if ('number' == typeof a) this.fromNumber(a, b, c)
|
|
35202
|
+
else if (b == null && 'string' != typeof a) this.fromString(a, 256)
|
|
35203
|
+
else this.fromString(a, b)
|
|
35223
35204
|
}
|
|
35224
35205
|
}
|
|
35225
35206
|
|
|
@@ -35495,9 +35476,7 @@ function requireJsbn() {
|
|
|
35495
35476
|
return this.s < 0 ? -r : r
|
|
35496
35477
|
}
|
|
35497
35478
|
while (--i >= 0) {
|
|
35498
|
-
if ((r = this[i] - a[i]) != 0)
|
|
35499
|
-
return r
|
|
35500
|
-
}
|
|
35479
|
+
if ((r = this[i] - a[i]) != 0) return r
|
|
35501
35480
|
}
|
|
35502
35481
|
return 0
|
|
35503
35482
|
}
|
|
@@ -36317,9 +36296,7 @@ function requireJsbn() {
|
|
|
36317
36296
|
// (public) returns index of lowest 1-bit (or -1 if none)
|
|
36318
36297
|
function bnGetLowestSetBit() {
|
|
36319
36298
|
for (let i = 0; i < this.t; ++i) {
|
|
36320
|
-
if (this[i] != 0)
|
|
36321
|
-
return i * this.DB + lbit(this[i])
|
|
36322
|
-
}
|
|
36299
|
+
if (this[i] != 0) return i * this.DB + lbit(this[i])
|
|
36323
36300
|
}
|
|
36324
36301
|
if (this.s < 0) {
|
|
36325
36302
|
return this.t * this.DB
|
|
@@ -36755,11 +36732,8 @@ function requireJsbn() {
|
|
|
36755
36732
|
let d = this.DV % n,
|
|
36756
36733
|
r = this.s < 0 ? n - 1 : 0
|
|
36757
36734
|
if (this.t > 0) {
|
|
36758
|
-
if (d == 0)
|
|
36759
|
-
|
|
36760
|
-
} else {
|
|
36761
|
-
for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
36762
|
-
}
|
|
36735
|
+
if (d == 0) r = this[0] % n
|
|
36736
|
+
else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
36763
36737
|
}
|
|
36764
36738
|
return r
|
|
36765
36739
|
}
|
|
@@ -36856,9 +36830,7 @@ function requireJsbn() {
|
|
|
36856
36830
|
x = this.abs()
|
|
36857
36831
|
if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
|
|
36858
36832
|
for (i = 0; i < lowprimes.length; ++i) {
|
|
36859
|
-
if (x[0] == lowprimes[i])
|
|
36860
|
-
return true
|
|
36861
|
-
}
|
|
36833
|
+
if (x[0] == lowprimes[i]) return true
|
|
36862
36834
|
}
|
|
36863
36835
|
return false
|
|
36864
36836
|
}
|
|
@@ -36874,9 +36846,7 @@ function requireJsbn() {
|
|
|
36874
36846
|
}
|
|
36875
36847
|
m = x.modInt(m)
|
|
36876
36848
|
while (i < j) {
|
|
36877
|
-
if (m % lowprimes[i++] == 0)
|
|
36878
|
-
return false
|
|
36879
|
-
}
|
|
36849
|
+
if (m % lowprimes[i++] == 0) return false
|
|
36880
36850
|
}
|
|
36881
36851
|
}
|
|
36882
36852
|
return x.millerRabin(t)
|
|
@@ -37454,10 +37424,9 @@ function requireIpv4() {
|
|
|
37454
37424
|
}
|
|
37455
37425
|
const result = {}
|
|
37456
37426
|
if (mod != null) {
|
|
37457
|
-
for (
|
|
37427
|
+
for (var k in mod)
|
|
37458
37428
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
37459
37429
|
__createBinding(result, mod, k)
|
|
37460
|
-
}
|
|
37461
37430
|
}
|
|
37462
37431
|
__setModuleDefault(result, mod)
|
|
37463
37432
|
return result
|
|
@@ -38020,10 +37989,9 @@ function requireRegularExpressions() {
|
|
|
38020
37989
|
}
|
|
38021
37990
|
const result = {}
|
|
38022
37991
|
if (mod != null) {
|
|
38023
|
-
for (
|
|
37992
|
+
for (var k in mod)
|
|
38024
37993
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
38025
37994
|
__createBinding(result, mod, k)
|
|
38026
|
-
}
|
|
38027
37995
|
}
|
|
38028
37996
|
__setModuleDefault(result, mod)
|
|
38029
37997
|
return result
|
|
@@ -38178,10 +38146,9 @@ function requireIpv6() {
|
|
|
38178
38146
|
}
|
|
38179
38147
|
const result = {}
|
|
38180
38148
|
if (mod != null) {
|
|
38181
|
-
for (
|
|
38149
|
+
for (var k in mod)
|
|
38182
38150
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
38183
38151
|
__createBinding(result, mod, k)
|
|
38184
|
-
}
|
|
38185
38152
|
}
|
|
38186
38153
|
__setModuleDefault(result, mod)
|
|
38187
38154
|
return result
|
|
@@ -39311,10 +39278,9 @@ function requireIpAddress() {
|
|
|
39311
39278
|
}
|
|
39312
39279
|
const result = {}
|
|
39313
39280
|
if (mod != null) {
|
|
39314
|
-
for (
|
|
39281
|
+
for (var k in mod)
|
|
39315
39282
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
39316
39283
|
__createBinding(result, mod, k)
|
|
39317
|
-
}
|
|
39318
39284
|
}
|
|
39319
39285
|
__setModuleDefault(result, mod)
|
|
39320
39286
|
return result
|
|
@@ -40637,9 +40603,8 @@ function requireBuild() {
|
|
|
40637
40603
|
if (
|
|
40638
40604
|
p !== 'default' &&
|
|
40639
40605
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
40640
|
-
)
|
|
40606
|
+
)
|
|
40641
40607
|
__createBinding(exports, m, p)
|
|
40642
|
-
}
|
|
40643
40608
|
}
|
|
40644
40609
|
}
|
|
40645
40610
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -40703,10 +40668,9 @@ function requireDist() {
|
|
|
40703
40668
|
}
|
|
40704
40669
|
const result = {}
|
|
40705
40670
|
if (mod != null) {
|
|
40706
|
-
for (
|
|
40671
|
+
for (var k in mod)
|
|
40707
40672
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
40708
40673
|
__createBinding(result, mod, k)
|
|
40709
|
-
}
|
|
40710
40674
|
}
|
|
40711
40675
|
__setModuleDefault(result, mod)
|
|
40712
40676
|
return result
|
|
@@ -41375,7 +41339,7 @@ function requireRemote() {
|
|
|
41375
41339
|
// EINVALIDPROXY // invalid protocol from @npmcli/agent
|
|
41376
41340
|
// EINVALIDRESPONSE // invalid status code from @npmcli/agent
|
|
41377
41341
|
])
|
|
41378
|
-
const RETRY_TYPES =
|
|
41342
|
+
const RETRY_TYPES = ['request-timeout']
|
|
41379
41343
|
|
|
41380
41344
|
// make a request directly to the remote source,
|
|
41381
41345
|
// retrying certain classes of errors as well as
|
|
@@ -41458,7 +41422,7 @@ function requireRemote() {
|
|
|
41458
41422
|
// can re-throw to allow the retry
|
|
41459
41423
|
const isRetryError =
|
|
41460
41424
|
err.retried instanceof fetch.Response ||
|
|
41461
|
-
(RETRY_ERRORS.has(code) && RETRY_TYPES.
|
|
41425
|
+
(RETRY_ERRORS.has(code) && RETRY_TYPES.includes(err.type))
|
|
41462
41426
|
if (req.method === 'POST' || isRetryError) {
|
|
41463
41427
|
throw err
|
|
41464
41428
|
}
|