@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
|
@@ -7023,10 +7023,9 @@ function requireCommonjs$2() {
|
|
|
7023
7023
|
}
|
|
7024
7024
|
const result = {}
|
|
7025
7025
|
if (mod != null) {
|
|
7026
|
-
for (
|
|
7026
|
+
for (var k in mod)
|
|
7027
7027
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
7028
7028
|
__createBinding(result, mod, k)
|
|
7029
|
-
}
|
|
7030
7029
|
}
|
|
7031
7030
|
__setModuleDefault(result, mod)
|
|
7032
7031
|
return result
|
|
@@ -10960,10 +10959,9 @@ function requireCjs() {
|
|
|
10960
10959
|
}
|
|
10961
10960
|
const result = {}
|
|
10962
10961
|
if (mod != null) {
|
|
10963
|
-
for (
|
|
10962
|
+
for (var k in mod)
|
|
10964
10963
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
10965
10964
|
__createBinding(result, mod, k)
|
|
10966
|
-
}
|
|
10967
10965
|
}
|
|
10968
10966
|
__setModuleDefault(result, mod)
|
|
10969
10967
|
return result
|
|
@@ -10975,9 +10973,8 @@ function requireCjs() {
|
|
|
10975
10973
|
if (
|
|
10976
10974
|
p !== 'default' &&
|
|
10977
10975
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
10978
|
-
)
|
|
10976
|
+
)
|
|
10979
10977
|
__createBinding(exports, m, p)
|
|
10980
|
-
}
|
|
10981
10978
|
}
|
|
10982
10979
|
}
|
|
10983
10980
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -15056,7 +15053,7 @@ function requireDevEngines() {
|
|
|
15056
15053
|
const satisfies = requireSatisfies()
|
|
15057
15054
|
const validRange = requireValid()
|
|
15058
15055
|
const recognizedOnFail = new Set(['ignore', 'warn', 'error', 'download'])
|
|
15059
|
-
const recognizedProperties =
|
|
15056
|
+
const recognizedProperties = ['name', 'version', 'onFail']
|
|
15060
15057
|
const recognizedEngines = ['packageManager', 'runtime', 'cpu', 'libc', 'os']
|
|
15061
15058
|
|
|
15062
15059
|
/** checks a devEngine dependency */
|
|
@@ -15071,7 +15068,7 @@ function requireDevEngines() {
|
|
|
15071
15068
|
}
|
|
15072
15069
|
const properties = Object.keys(wanted)
|
|
15073
15070
|
for (const prop of properties) {
|
|
15074
|
-
if (!recognizedProperties.
|
|
15071
|
+
if (!recognizedProperties.includes(prop)) {
|
|
15075
15072
|
throw new Error(`Invalid property "${prop}" for "${engine}"`)
|
|
15076
15073
|
}
|
|
15077
15074
|
}
|
|
@@ -31684,9 +31681,7 @@ function requireChownr() {
|
|
|
31684
31681
|
if (typeof child === 'string') {
|
|
31685
31682
|
return fs.lstat(path.resolve(p, child), (er, stats) => {
|
|
31686
31683
|
// Skip ENOENT error
|
|
31687
|
-
if (er)
|
|
31688
|
-
return cb(er.code !== 'ENOENT' ? er : null)
|
|
31689
|
-
}
|
|
31684
|
+
if (er) return cb(er.code !== 'ENOENT' ? er : null)
|
|
31690
31685
|
stats.name = child
|
|
31691
31686
|
chownrKid(p, stats, uid, gid, cb)
|
|
31692
31687
|
})
|
|
@@ -35124,9 +35119,8 @@ function requireCommonjs() {
|
|
|
35124
35119
|
function (o) {
|
|
35125
35120
|
const ar = []
|
|
35126
35121
|
for (const k in o) {
|
|
35127
|
-
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
35122
|
+
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
35128
35123
|
ar[ar.length] = k
|
|
35129
|
-
}
|
|
35130
35124
|
}
|
|
35131
35125
|
return ar
|
|
35132
35126
|
}
|
|
@@ -35138,9 +35132,8 @@ function requireCommonjs() {
|
|
|
35138
35132
|
}
|
|
35139
35133
|
const result = {}
|
|
35140
35134
|
if (mod != null) {
|
|
35141
|
-
for (
|
|
35135
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
35142
35136
|
if (k[i] !== 'default') __createBinding(result, mod, k[i])
|
|
35143
|
-
}
|
|
35144
35137
|
}
|
|
35145
35138
|
__setModuleDefault(result, mod)
|
|
35146
35139
|
return result
|
|
@@ -38583,13 +38576,10 @@ function requireDbcsCodec() {
|
|
|
38583
38576
|
// Some chars can be decoded, but need not be encoded.
|
|
38584
38577
|
const skipEncodeChars = {}
|
|
38585
38578
|
if (codecOptions.encodeSkipVals) {
|
|
38586
|
-
for (
|
|
38587
|
-
|
|
38588
|
-
if (typeof val === 'number')
|
|
38589
|
-
|
|
38590
|
-
} else {
|
|
38591
|
-
for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
38592
|
-
}
|
|
38579
|
+
for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
|
|
38580
|
+
var val = codecOptions.encodeSkipVals[i]
|
|
38581
|
+
if (typeof val === 'number') skipEncodeChars[val] = true
|
|
38582
|
+
else for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
|
|
38593
38583
|
}
|
|
38594
38584
|
}
|
|
38595
38585
|
|
|
@@ -38599,14 +38589,11 @@ function requireDbcsCodec() {
|
|
|
38599
38589
|
// Add more encoding pairs when needed.
|
|
38600
38590
|
if (codecOptions.encodeAdd) {
|
|
38601
38591
|
for (const uChar in codecOptions.encodeAdd) {
|
|
38602
|
-
if (
|
|
38603
|
-
Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)
|
|
38604
|
-
) {
|
|
38592
|
+
if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
|
|
38605
38593
|
this._setEncodeChar(
|
|
38606
38594
|
uChar.charCodeAt(0),
|
|
38607
38595
|
codecOptions.encodeAdd[uChar]
|
|
38608
38596
|
)
|
|
38609
|
-
}
|
|
38610
38597
|
}
|
|
38611
38598
|
}
|
|
38612
38599
|
this.defCharSB =
|
|
@@ -44940,9 +44927,8 @@ function requireEncodings() {
|
|
|
44940
44927
|
for (let i = 0; i < modules.length; i++) {
|
|
44941
44928
|
const module = modules[i]
|
|
44942
44929
|
for (const enc in module) {
|
|
44943
|
-
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
44930
|
+
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
44944
44931
|
exports[enc] = module[enc]
|
|
44945
|
-
}
|
|
44946
44932
|
}
|
|
44947
44933
|
}
|
|
44948
44934
|
})(encodings)
|
|
@@ -50886,10 +50872,9 @@ function requireHelpers$2() {
|
|
|
50886
50872
|
}
|
|
50887
50873
|
const result = {}
|
|
50888
50874
|
if (mod != null) {
|
|
50889
|
-
for (
|
|
50875
|
+
for (var k in mod)
|
|
50890
50876
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
50891
50877
|
__createBinding(result, mod, k)
|
|
50892
|
-
}
|
|
50893
50878
|
}
|
|
50894
50879
|
__setModuleDefault(result, mod)
|
|
50895
50880
|
return result
|
|
@@ -50992,10 +50977,9 @@ function requireDist$c() {
|
|
|
50992
50977
|
}
|
|
50993
50978
|
const result = {}
|
|
50994
50979
|
if (mod != null) {
|
|
50995
|
-
for (
|
|
50980
|
+
for (var k in mod)
|
|
50996
50981
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
50997
50982
|
__createBinding(result, mod, k)
|
|
50998
|
-
}
|
|
50999
50983
|
}
|
|
51000
50984
|
__setModuleDefault(result, mod)
|
|
51001
50985
|
return result
|
|
@@ -51007,9 +50991,8 @@ function requireDist$c() {
|
|
|
51007
50991
|
if (
|
|
51008
50992
|
p !== 'default' &&
|
|
51009
50993
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
51010
|
-
)
|
|
50994
|
+
)
|
|
51011
50995
|
__createBinding(exports, m, p)
|
|
51012
|
-
}
|
|
51013
50996
|
}
|
|
51014
50997
|
}
|
|
51015
50998
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -51234,10 +51217,9 @@ function requireDist$b() {
|
|
|
51234
51217
|
}
|
|
51235
51218
|
const result = {}
|
|
51236
51219
|
if (mod != null) {
|
|
51237
|
-
for (
|
|
51220
|
+
for (var k in mod)
|
|
51238
51221
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
51239
51222
|
__createBinding(result, mod, k)
|
|
51240
|
-
}
|
|
51241
51223
|
}
|
|
51242
51224
|
__setModuleDefault(result, mod)
|
|
51243
51225
|
return result
|
|
@@ -51560,10 +51542,9 @@ function requireDist$a() {
|
|
|
51560
51542
|
}
|
|
51561
51543
|
const result = {}
|
|
51562
51544
|
if (mod != null) {
|
|
51563
|
-
for (
|
|
51545
|
+
for (var k in mod)
|
|
51564
51546
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
51565
51547
|
__createBinding(result, mod, k)
|
|
51566
|
-
}
|
|
51567
51548
|
}
|
|
51568
51549
|
__setModuleDefault(result, mod)
|
|
51569
51550
|
return result
|
|
@@ -53641,13 +53622,9 @@ function requireJsbn() {
|
|
|
53641
53622
|
// (public) Constructor
|
|
53642
53623
|
function BigInteger(a, b, c) {
|
|
53643
53624
|
if (a != null) {
|
|
53644
|
-
if ('number' == typeof a)
|
|
53645
|
-
|
|
53646
|
-
|
|
53647
|
-
this.fromString(a, 256)
|
|
53648
|
-
} else {
|
|
53649
|
-
this.fromString(a, b)
|
|
53650
|
-
}
|
|
53625
|
+
if ('number' == typeof a) this.fromNumber(a, b, c)
|
|
53626
|
+
else if (b == null && 'string' != typeof a) this.fromString(a, 256)
|
|
53627
|
+
else this.fromString(a, b)
|
|
53651
53628
|
}
|
|
53652
53629
|
}
|
|
53653
53630
|
|
|
@@ -53923,9 +53900,7 @@ function requireJsbn() {
|
|
|
53923
53900
|
return this.s < 0 ? -r : r
|
|
53924
53901
|
}
|
|
53925
53902
|
while (--i >= 0) {
|
|
53926
|
-
if ((r = this[i] - a[i]) != 0)
|
|
53927
|
-
return r
|
|
53928
|
-
}
|
|
53903
|
+
if ((r = this[i] - a[i]) != 0) return r
|
|
53929
53904
|
}
|
|
53930
53905
|
return 0
|
|
53931
53906
|
}
|
|
@@ -54745,9 +54720,7 @@ function requireJsbn() {
|
|
|
54745
54720
|
// (public) returns index of lowest 1-bit (or -1 if none)
|
|
54746
54721
|
function bnGetLowestSetBit() {
|
|
54747
54722
|
for (let i = 0; i < this.t; ++i) {
|
|
54748
|
-
if (this[i] != 0)
|
|
54749
|
-
return i * this.DB + lbit(this[i])
|
|
54750
|
-
}
|
|
54723
|
+
if (this[i] != 0) return i * this.DB + lbit(this[i])
|
|
54751
54724
|
}
|
|
54752
54725
|
if (this.s < 0) {
|
|
54753
54726
|
return this.t * this.DB
|
|
@@ -55183,11 +55156,8 @@ function requireJsbn() {
|
|
|
55183
55156
|
let d = this.DV % n,
|
|
55184
55157
|
r = this.s < 0 ? n - 1 : 0
|
|
55185
55158
|
if (this.t > 0) {
|
|
55186
|
-
if (d == 0)
|
|
55187
|
-
|
|
55188
|
-
} else {
|
|
55189
|
-
for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
55190
|
-
}
|
|
55159
|
+
if (d == 0) r = this[0] % n
|
|
55160
|
+
else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
|
|
55191
55161
|
}
|
|
55192
55162
|
return r
|
|
55193
55163
|
}
|
|
@@ -55284,9 +55254,7 @@ function requireJsbn() {
|
|
|
55284
55254
|
x = this.abs()
|
|
55285
55255
|
if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
|
|
55286
55256
|
for (i = 0; i < lowprimes.length; ++i) {
|
|
55287
|
-
if (x[0] == lowprimes[i])
|
|
55288
|
-
return true
|
|
55289
|
-
}
|
|
55257
|
+
if (x[0] == lowprimes[i]) return true
|
|
55290
55258
|
}
|
|
55291
55259
|
return false
|
|
55292
55260
|
}
|
|
@@ -55302,9 +55270,7 @@ function requireJsbn() {
|
|
|
55302
55270
|
}
|
|
55303
55271
|
m = x.modInt(m)
|
|
55304
55272
|
while (i < j) {
|
|
55305
|
-
if (m % lowprimes[i++] == 0)
|
|
55306
|
-
return false
|
|
55307
|
-
}
|
|
55273
|
+
if (m % lowprimes[i++] == 0) return false
|
|
55308
55274
|
}
|
|
55309
55275
|
}
|
|
55310
55276
|
return x.millerRabin(t)
|
|
@@ -55882,10 +55848,9 @@ function requireIpv4() {
|
|
|
55882
55848
|
}
|
|
55883
55849
|
const result = {}
|
|
55884
55850
|
if (mod != null) {
|
|
55885
|
-
for (
|
|
55851
|
+
for (var k in mod)
|
|
55886
55852
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
55887
55853
|
__createBinding(result, mod, k)
|
|
55888
|
-
}
|
|
55889
55854
|
}
|
|
55890
55855
|
__setModuleDefault(result, mod)
|
|
55891
55856
|
return result
|
|
@@ -56448,10 +56413,9 @@ function requireRegularExpressions() {
|
|
|
56448
56413
|
}
|
|
56449
56414
|
const result = {}
|
|
56450
56415
|
if (mod != null) {
|
|
56451
|
-
for (
|
|
56416
|
+
for (var k in mod)
|
|
56452
56417
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
56453
56418
|
__createBinding(result, mod, k)
|
|
56454
|
-
}
|
|
56455
56419
|
}
|
|
56456
56420
|
__setModuleDefault(result, mod)
|
|
56457
56421
|
return result
|
|
@@ -56606,10 +56570,9 @@ function requireIpv6() {
|
|
|
56606
56570
|
}
|
|
56607
56571
|
const result = {}
|
|
56608
56572
|
if (mod != null) {
|
|
56609
|
-
for (
|
|
56573
|
+
for (var k in mod)
|
|
56610
56574
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
56611
56575
|
__createBinding(result, mod, k)
|
|
56612
|
-
}
|
|
56613
56576
|
}
|
|
56614
56577
|
__setModuleDefault(result, mod)
|
|
56615
56578
|
return result
|
|
@@ -57739,10 +57702,9 @@ function requireIpAddress() {
|
|
|
57739
57702
|
}
|
|
57740
57703
|
const result = {}
|
|
57741
57704
|
if (mod != null) {
|
|
57742
|
-
for (
|
|
57705
|
+
for (var k in mod)
|
|
57743
57706
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
57744
57707
|
__createBinding(result, mod, k)
|
|
57745
|
-
}
|
|
57746
57708
|
}
|
|
57747
57709
|
__setModuleDefault(result, mod)
|
|
57748
57710
|
return result
|
|
@@ -59065,9 +59027,8 @@ function requireBuild$1() {
|
|
|
59065
59027
|
if (
|
|
59066
59028
|
p !== 'default' &&
|
|
59067
59029
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
59068
|
-
)
|
|
59030
|
+
)
|
|
59069
59031
|
__createBinding(exports, m, p)
|
|
59070
|
-
}
|
|
59071
59032
|
}
|
|
59072
59033
|
}
|
|
59073
59034
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -59131,10 +59092,9 @@ function requireDist$9() {
|
|
|
59131
59092
|
}
|
|
59132
59093
|
const result = {}
|
|
59133
59094
|
if (mod != null) {
|
|
59134
|
-
for (
|
|
59095
|
+
for (var k in mod)
|
|
59135
59096
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
59136
59097
|
__createBinding(result, mod, k)
|
|
59137
|
-
}
|
|
59138
59098
|
}
|
|
59139
59099
|
__setModuleDefault(result, mod)
|
|
59140
59100
|
return result
|
|
@@ -59803,7 +59763,7 @@ function requireRemote$1() {
|
|
|
59803
59763
|
// EINVALIDPROXY // invalid protocol from @npmcli/agent
|
|
59804
59764
|
// EINVALIDRESPONSE // invalid status code from @npmcli/agent
|
|
59805
59765
|
])
|
|
59806
|
-
const RETRY_TYPES =
|
|
59766
|
+
const RETRY_TYPES = ['request-timeout']
|
|
59807
59767
|
|
|
59808
59768
|
// make a request directly to the remote source,
|
|
59809
59769
|
// retrying certain classes of errors as well as
|
|
@@ -59886,7 +59846,7 @@ function requireRemote$1() {
|
|
|
59886
59846
|
// can re-throw to allow the retry
|
|
59887
59847
|
const isRetryError =
|
|
59888
59848
|
err.retried instanceof fetch.Response ||
|
|
59889
|
-
(RETRY_ERRORS.has(code) && RETRY_TYPES.
|
|
59849
|
+
(RETRY_ERRORS.has(code) && RETRY_TYPES.includes(err.type))
|
|
59890
59850
|
if (req.method === 'POST' || isRetryError) {
|
|
59891
59851
|
throw err
|
|
59892
59852
|
}
|
|
@@ -655,10 +655,9 @@ function requireWalker() {
|
|
|
655
655
|
}
|
|
656
656
|
const result = {}
|
|
657
657
|
if (mod != null) {
|
|
658
|
-
for (
|
|
658
|
+
for (var k in mod)
|
|
659
659
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
660
660
|
__createBinding(result, mod, k)
|
|
661
|
-
}
|
|
662
661
|
}
|
|
663
662
|
__setModuleDefault(result, mod)
|
|
664
663
|
return result
|
|
@@ -3409,9 +3408,8 @@ function requireDist$1() {
|
|
|
3409
3408
|
if (
|
|
3410
3409
|
p !== 'default' &&
|
|
3411
3410
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
3412
|
-
)
|
|
3411
|
+
)
|
|
3413
3412
|
__createBinding(exports, m, p)
|
|
3414
|
-
}
|
|
3415
3413
|
}
|
|
3416
3414
|
}
|
|
3417
3415
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -3454,12 +3452,11 @@ function requireDist() {
|
|
|
3454
3452
|
const __copyProps = (to, from, except, desc) => {
|
|
3455
3453
|
if ((from && typeof from === 'object') || typeof from === 'function') {
|
|
3456
3454
|
for (let key of __getOwnPropNames(from)) {
|
|
3457
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
3455
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
3458
3456
|
__defProp(to, key, {
|
|
3459
3457
|
get: () => from[key],
|
|
3460
3458
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
3461
3459
|
})
|
|
3462
|
-
}
|
|
3463
3460
|
}
|
|
3464
3461
|
}
|
|
3465
3462
|
return to
|
|
@@ -230,10 +230,9 @@ function requireCjs() {
|
|
|
230
230
|
}
|
|
231
231
|
const result = {}
|
|
232
232
|
if (mod != null) {
|
|
233
|
-
for (
|
|
233
|
+
for (var k in mod)
|
|
234
234
|
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
235
235
|
__createBinding(result, mod, k)
|
|
236
|
-
}
|
|
237
236
|
}
|
|
238
237
|
__setModuleDefault(result, mod)
|
|
239
238
|
return result
|
|
@@ -245,9 +244,8 @@ function requireCjs() {
|
|
|
245
244
|
if (
|
|
246
245
|
p !== 'default' &&
|
|
247
246
|
!Object.prototype.hasOwnProperty.call(exports, p)
|
|
248
|
-
)
|
|
247
|
+
)
|
|
249
248
|
__createBinding(exports, m, p)
|
|
250
|
-
}
|
|
251
249
|
}
|
|
252
250
|
}
|
|
253
251
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -38,7 +38,11 @@ module.exports = new Map([
|
|
|
38
38
|
// which is no longer the case.
|
|
39
39
|
// https://github.com/ChALkeR/safer-buffer/issues/16
|
|
40
40
|
// https://github.com/ChALkeR/safer-buffer/blob/v2.1.2/tests.js
|
|
41
|
-
'safer-buffer'
|
|
41
|
+
'safer-buffer',
|
|
42
|
+
// yocto-spinner has an open issue with its '✖' string containing an invisible
|
|
43
|
+
// U+FE0F character. Skipping tests until issues/8 is resolved.
|
|
44
|
+
// https://github.com/sindresorhus/yocto-spinner/issues/8
|
|
45
|
+
'yocto-spinner'
|
|
42
46
|
])
|
|
43
47
|
]
|
|
44
48
|
])
|
|
@@ -17,7 +17,7 @@ declare namespace LoggerModule {
|
|
|
17
17
|
export interface Task {
|
|
18
18
|
run<T>(f: () => T): T
|
|
19
19
|
}
|
|
20
|
-
export const incLogCallCountSymbol: symbol
|
|
20
|
+
export const incLogCallCountSymbol: unique symbol
|
|
21
21
|
export const LOG_SYMBOLS: LogSymbols
|
|
22
22
|
export class Logger extends Console {
|
|
23
23
|
static get LOG_SYMBOLS(): LogSymbols
|
|
@@ -27,6 +27,8 @@ declare namespace LoggerModule {
|
|
|
27
27
|
ignoreErrors?: boolean | undefined
|
|
28
28
|
)
|
|
29
29
|
constructor(options: ConsoleConstructorOptions)
|
|
30
|
+
[incLogCallCountSymbol](): Logger
|
|
31
|
+
'Symbol(logger.logCallCount++)': Logger
|
|
30
32
|
assert: LoggerMethods['assert']
|
|
31
33
|
clear: LoggerMethods['clear']
|
|
32
34
|
count: LoggerMethods['count']
|