@socketsecurity/cli-with-sentry 1.0.84 → 1.0.86
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/README.md +41 -52
- package/dist/cli.js +380 -396
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +20 -48
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +5 -4
- package/dist/flags.js.map +1 -1
- package/dist/socket-completion.bash +0 -2
- package/dist/utils.js +73 -93
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +381 -381
- package/external/@coana-tech/cli/cli.mjs +25295 -30074
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +39 -1
- package/external/@socketsecurity/registry/external/browserslist.js +7 -1
- package/external/@socketsecurity/registry/external/libnpmpack.js +93488 -97365
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +4689 -7729
- package/external/@socketsecurity/registry/external/pacote.js +51922 -72554
- package/external/@socketsecurity/registry/lib/constants/env.js +4 -4
- package/external/@socketsecurity/registry/lib/npm.js +2 -4
- package/external/@socketsecurity/registry/lib/path.js +17 -0
- package/package.json +12 -12
- package/dist/tsconfig.dts.tsbuildinfo +0 -1
- package/dist/types/cli.d.mts +0 -3
- package/dist/types/cli.d.mts.map +0 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/handle-analytics.d.mts +0 -9
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +0 -28
- package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -15
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
- package/dist/types/commands/ci/cmd-ci.d.mts +0 -10
- package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -4
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
- package/dist/types/commands/ci/handle-ci.d.mts +0 -2
- package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-get.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config.d.mts +0 -3
- package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
- package/dist/types/commands/config/discover-config-value.d.mts +0 -3
- package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
- package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-get.d.mts +0 -7
- package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-set.d.mts +0 -8
- package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
- package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-auto.d.mts +0 -4
- package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-get.d.mts +0 -4
- package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-list.d.mts +0 -6
- package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-set.d.mts +0 -3
- package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-unset.d.mts +0 -3
- package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
- package/dist/types/commands/fix/agent-fix.d.mts +0 -42
- package/dist/types/commands/fix/agent-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
- package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/coana-fix.d.mts +0 -6
- package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-branch-helpers.d.mts +0 -4
- package/dist/types/commands/fix/fix-branch-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-env-helpers.d.mts +0 -13
- package/dist/types/commands/fix/fix-env-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/get-actual-tree.d.mts +0 -3
- package/dist/types/commands/fix/get-actual-tree.d.mts.map +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts +0 -11
- package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/npm-fix.d.mts +0 -7
- package/dist/types/commands/fix/npm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/output-fix-result.d.mts +0 -3
- package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
- package/dist/types/commands/fix/pnpm-fix.d.mts +0 -7
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/pull-request.d.mts +0 -47
- package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
- package/dist/types/commands/fix/shared.d.mts +0 -8
- package/dist/types/commands/fix/shared.d.mts.map +0 -1
- package/dist/types/commands/fix/socket-git.d.mts +0 -32
- package/dist/types/commands/fix/socket-git.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +0 -10
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install.d.mts +0 -3
- package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
- package/dist/types/commands/install/handle-install-completion.d.mts +0 -2
- package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/output-install-completion.d.mts +0 -12
- package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/setup-tab-completion.d.mts +0 -13
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/json/cmd-json.d.mts +0 -10
- package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/handle-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/output-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/login/apply-login.d.mts +0 -2
- package/dist/types/commands/login/apply-login.d.mts.map +0 -1
- package/dist/types/commands/login/attempt-login.d.mts +0 -6
- package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
- package/dist/types/commands/login/cmd-login.d.mts +0 -10
- package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
- package/dist/types/commands/logout/apply-logout.d.mts +0 -2
- package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
- package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/cmd-logout.d.mts +0 -10
- package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -8
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -7
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -8
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -13
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -9
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -9
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -2
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -3
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
- package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -2
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -3
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
- package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
- package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
- package/dist/types/commands/npx/cmd-npx.d.mts +0 -10
- package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +0 -10
- package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
- package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
- package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
- package/dist/types/commands/optimize/apply-optimization.d.mts +0 -14
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -5
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -42
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/handle-optimize.d.mts +0 -8
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -13
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -9
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
- package/dist/types/commands/optimize/shared.d.mts +0 -2
- package/dist/types/commands/optimize/shared.d.mts.map +0 -1
- package/dist/types/commands/optimize/types.d.mts +0 -9
- package/dist/types/commands/optimize/types.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-lockfile.d.mts +0 -11
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-dependencies.d.mts +0 -12
- package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -8
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-quota.d.mts +0 -8
- package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-dependencies.d.mts +0 -7
- package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-quota.d.mts +0 -3
- package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-dependencies.d.mts +0 -8
- package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
- package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/output-quota.d.mts +0 -4
- package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
- package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package.d.mts +0 -3
- package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -8
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -5
- package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -29
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -9
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -10
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -10
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository.d.mts +0 -3
- package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -10
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -15
- package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-create-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts +0 -11
- package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-update-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-view-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-create-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-delete-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-list-repos.d.mts +0 -4
- package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/output-update-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-view-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -12
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -20
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -18
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts +0 -17
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -8
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
- package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -8
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-report.d.mts +0 -43
- package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -12
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -21
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-config.d.mts +0 -2
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -8
- package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts +0 -12
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
- package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-github.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-reach.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts +0 -20
- package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/setup-scan-config.d.mts +0 -3
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/stream-scan.d.mts +0 -7
- package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +0 -9
- package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_target.d.mts +0 -2
- package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/types.d.mts +0 -15
- package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -9
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -10
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
- package/dist/types/constants.d.mts +0 -149
- package/dist/types/constants.d.mts.map +0 -1
- package/dist/types/flags.d.mts +0 -17
- package/dist/types/flags.d.mts.map +0 -1
- package/dist/types/instrument-with-sentry.d.mts +0 -2
- package/dist/types/instrument-with-sentry.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/index.d.mts +0 -8
- package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -35
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/types.d.mts +0 -123
- package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -39
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
- package/dist/types/shadow/npm/bin.d.mts +0 -2
- package/dist/types/shadow/npm/bin.d.mts.map +0 -1
- package/dist/types/shadow/npm/inject.d.mts +0 -2
- package/dist/types/shadow/npm/inject.d.mts.map +0 -1
- package/dist/types/shadow/npm/install.d.mts +0 -13
- package/dist/types/shadow/npm/install.d.mts.map +0 -1
- package/dist/types/shadow/npm/link.d.mts +0 -2
- package/dist/types/shadow/npm/link.d.mts.map +0 -1
- package/dist/types/shadow/npm/paths.d.mts +0 -7
- package/dist/types/shadow/npm/paths.d.mts.map +0 -1
- package/dist/types/types.d.mts +0 -29
- package/dist/types/types.d.mts.map +0 -1
- package/dist/types/utils/agent.d.mts +0 -12
- package/dist/types/utils/agent.d.mts.map +0 -1
- package/dist/types/utils/alert/artifact.d.mts +0 -35
- package/dist/types/utils/alert/artifact.d.mts.map +0 -1
- package/dist/types/utils/alert/fix.d.mts +0 -6
- package/dist/types/utils/alert/fix.d.mts.map +0 -1
- package/dist/types/utils/alert/severity.d.mts +0 -14
- package/dist/types/utils/alert/severity.d.mts.map +0 -1
- package/dist/types/utils/alerts-map.d.mts +0 -24
- package/dist/types/utils/alerts-map.d.mts.map +0 -1
- package/dist/types/utils/api.d.mts +0 -18
- package/dist/types/utils/api.d.mts.map +0 -1
- package/dist/types/utils/check-input.d.mts +0 -9
- package/dist/types/utils/check-input.d.mts.map +0 -1
- package/dist/types/utils/cmd.d.mts +0 -5
- package/dist/types/utils/cmd.d.mts.map +0 -1
- package/dist/types/utils/coana.d.mts +0 -4
- package/dist/types/utils/coana.d.mts.map +0 -1
- package/dist/types/utils/color-or-markdown.d.mts +0 -16
- package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
- package/dist/types/utils/completion.d.mts +0 -11
- package/dist/types/utils/completion.d.mts.map +0 -1
- package/dist/types/utils/config.d.mts +0 -32
- package/dist/types/utils/config.d.mts.map +0 -1
- package/dist/types/utils/determine-org-slug.d.mts +0 -2
- package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
- package/dist/types/utils/errors.d.mts +0 -14
- package/dist/types/utils/errors.d.mts.map +0 -1
- package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
- package/dist/types/utils/fs.d.mts +0 -9
- package/dist/types/utils/fs.d.mts.map +0 -1
- package/dist/types/utils/get-output-kind.d.mts +0 -3
- package/dist/types/utils/get-output-kind.d.mts.map +0 -1
- package/dist/types/utils/git.d.mts +0 -29
- package/dist/types/utils/git.d.mts.map +0 -1
- package/dist/types/utils/glob.d.mts +0 -16
- package/dist/types/utils/glob.d.mts.map +0 -1
- package/dist/types/utils/lockfile.d.mts +0 -2
- package/dist/types/utils/lockfile.d.mts.map +0 -1
- package/dist/types/utils/map-to-object.d.mts +0 -10
- package/dist/types/utils/map-to-object.d.mts.map +0 -1
- package/dist/types/utils/markdown.d.mts +0 -10
- package/dist/types/utils/markdown.d.mts.map +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +0 -47
- package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
- package/dist/types/utils/ms-at-home.d.mts +0 -2
- package/dist/types/utils/ms-at-home.d.mts.map +0 -1
- package/dist/types/utils/npm-config.d.mts +0 -14
- package/dist/types/utils/npm-config.d.mts.map +0 -1
- package/dist/types/utils/npm-package-arg.d.mts +0 -4
- package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
- package/dist/types/utils/npm-paths.d.mts +0 -7
- package/dist/types/utils/npm-paths.d.mts.map +0 -1
- package/dist/types/utils/objects.d.mts +0 -3
- package/dist/types/utils/objects.d.mts.map +0 -1
- package/dist/types/utils/output-formatting.d.mts +0 -16
- package/dist/types/utils/output-formatting.d.mts.map +0 -1
- package/dist/types/utils/package-environment.d.mts +0 -57
- package/dist/types/utils/package-environment.d.mts.map +0 -1
- package/dist/types/utils/path-resolve.d.mts +0 -14
- package/dist/types/utils/path-resolve.d.mts.map +0 -1
- package/dist/types/utils/pnpm.d.mts +0 -11
- package/dist/types/utils/pnpm.d.mts.map +0 -1
- package/dist/types/utils/purl.d.mts +0 -15
- package/dist/types/utils/purl.d.mts.map +0 -1
- package/dist/types/utils/sdk.d.mts +0 -13
- package/dist/types/utils/sdk.d.mts.map +0 -1
- package/dist/types/utils/semver.d.mts +0 -8
- package/dist/types/utils/semver.d.mts.map +0 -1
- package/dist/types/utils/serialize-result-json.d.mts +0 -5
- package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
- package/dist/types/utils/socket-package-alert.d.mts +0 -77
- package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
- package/dist/types/utils/socket-url.d.mts +0 -7
- package/dist/types/utils/socket-url.d.mts.map +0 -1
- package/dist/types/utils/socketjson.d.mts +0 -56
- package/dist/types/utils/socketjson.d.mts.map +0 -1
- package/dist/types/utils/spec.d.mts +0 -5
- package/dist/types/utils/spec.d.mts.map +0 -1
- package/dist/types/utils/strings.d.mts +0 -2
- package/dist/types/utils/strings.d.mts.map +0 -1
- package/dist/types/utils/tildify.d.mts +0 -4
- package/dist/types/utils/tildify.d.mts.map +0 -1
- package/dist/types/utils/translations.d.mts +0 -593
- package/dist/types/utils/translations.d.mts.map +0 -1
- package/dist/types/utils/walk-nested-map.d.mts +0 -7
- package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
package/dist/vendor.js
CHANGED
|
@@ -31,10 +31,10 @@ var require$$7$5 = require('../external/@socketsecurity/registry/lib/objects');
|
|
|
31
31
|
var require$$8$1 = require('../external/@socketsecurity/registry/lib/promises');
|
|
32
32
|
var require$$10 = require$$2$3;
|
|
33
33
|
var require$$11 = require$$1$8;
|
|
34
|
+
var require$$1$9 = require$$0$i;
|
|
34
35
|
var node_buffer = require$$0$h;
|
|
35
36
|
var childProcess = require('node:child_process');
|
|
36
37
|
var require$$0$k = fs$6;
|
|
37
|
-
var require$$1$9 = require$$0$i;
|
|
38
38
|
var require$$1$a = require('node:path/win32');
|
|
39
39
|
var require$$0$l = require('node:module');
|
|
40
40
|
var require$$5$3 = require$$0$l;
|
|
@@ -20417,7 +20417,7 @@ function requireStringifyString() {
|
|
|
20417
20417
|
} = ctx.options;
|
|
20418
20418
|
// 1. Block can't end in whitespace unless the last line is non-empty.
|
|
20419
20419
|
// 2. Strings consisting of only whitespace are best rendered explicitly.
|
|
20420
|
-
if (!blockQuote || /\n[\t ]+$/.test(value)
|
|
20420
|
+
if (!blockQuote || /\n[\t ]+$/.test(value)) {
|
|
20421
20421
|
return quotedString(value, ctx);
|
|
20422
20422
|
}
|
|
20423
20423
|
const indent = ctx.indent || (ctx.forceBlockIndent || containsDocumentMarker(value) ? ' ' : '');
|
|
@@ -27531,7 +27531,7 @@ var isInteractiveExports = /*@__PURE__*/ requireIsInteractive();
|
|
|
27531
27531
|
var dist$e = {};
|
|
27532
27532
|
|
|
27533
27533
|
var name$2 = "@socketsecurity/sdk";
|
|
27534
|
-
var version$5 = "1.4.
|
|
27534
|
+
var version$5 = "1.4.70";
|
|
27535
27535
|
var license = "MIT";
|
|
27536
27536
|
var description = "SDK for the Socket API client";
|
|
27537
27537
|
var author = {
|
|
@@ -27616,22 +27616,22 @@ var scripts = {
|
|
|
27616
27616
|
"update:deps": "npx --yes npm-check-updates"
|
|
27617
27617
|
};
|
|
27618
27618
|
var dependencies = {
|
|
27619
|
-
"@socketsecurity/registry": "1.0.
|
|
27619
|
+
"@socketsecurity/registry": "1.0.262"
|
|
27620
27620
|
};
|
|
27621
27621
|
var devDependencies = {
|
|
27622
27622
|
"@biomejs/biome": "2.1.3",
|
|
27623
27623
|
"@dotenvx/dotenvx": "1.48.4",
|
|
27624
27624
|
"@eslint/compat": "1.3.1",
|
|
27625
27625
|
"@eslint/js": "9.32.0",
|
|
27626
|
-
"@types/node": "24.
|
|
27627
|
-
"@typescript-eslint/parser": "8.
|
|
27626
|
+
"@types/node": "24.2.0",
|
|
27627
|
+
"@typescript-eslint/parser": "8.39.0",
|
|
27628
27628
|
"@vitest/coverage-v8": "3.2.4",
|
|
27629
27629
|
"del-cli": "6.0.0",
|
|
27630
27630
|
"dev-null-cli": "2.0.0",
|
|
27631
27631
|
eslint: "9.32.0",
|
|
27632
27632
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
27633
27633
|
"eslint-plugin-import-x": "4.16.1",
|
|
27634
|
-
"eslint-plugin-jsdoc": "52.0.
|
|
27634
|
+
"eslint-plugin-jsdoc": "52.0.4",
|
|
27635
27635
|
"eslint-plugin-n": "17.21.3",
|
|
27636
27636
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
27637
27637
|
"eslint-plugin-unicorn": "56.0.1",
|
|
@@ -27639,14 +27639,14 @@ var devDependencies = {
|
|
|
27639
27639
|
"http2-wrapper": "2.2.1",
|
|
27640
27640
|
husky: "9.1.7",
|
|
27641
27641
|
knip: "5.62.0",
|
|
27642
|
-
"lint-staged": "16.1.
|
|
27642
|
+
"lint-staged": "16.1.4",
|
|
27643
27643
|
nock: "14.0.8",
|
|
27644
27644
|
"npm-run-all2": "8.0.4",
|
|
27645
27645
|
"openapi-typescript": "6.7.6",
|
|
27646
|
-
oxlint: "1.
|
|
27646
|
+
oxlint: "1.10.0",
|
|
27647
27647
|
"type-coverage": "2.29.7",
|
|
27648
|
-
typescript: "
|
|
27649
|
-
"typescript-eslint": "8.
|
|
27648
|
+
typescript: "5.9.2",
|
|
27649
|
+
"typescript-eslint": "8.39.0",
|
|
27650
27650
|
vitest: "3.2.4"
|
|
27651
27651
|
};
|
|
27652
27652
|
var overrides = {
|
|
@@ -28535,6 +28535,375 @@ function requireDist$e () {
|
|
|
28535
28535
|
|
|
28536
28536
|
var distExports$1 = requireDist$e();
|
|
28537
28537
|
|
|
28538
|
+
var terminalLink = {exports: {}};
|
|
28539
|
+
|
|
28540
|
+
var ansiEscapes = {exports: {}};
|
|
28541
|
+
|
|
28542
|
+
var hasRequiredAnsiEscapes;
|
|
28543
|
+
function requireAnsiEscapes() {
|
|
28544
|
+
if (hasRequiredAnsiEscapes) return ansiEscapes.exports;
|
|
28545
|
+
hasRequiredAnsiEscapes = 1;
|
|
28546
|
+
(function (module) {
|
|
28547
|
+
|
|
28548
|
+
const ansiEscapes = module.exports;
|
|
28549
|
+
// TODO: remove this in the next major version
|
|
28550
|
+
module.exports.default = ansiEscapes;
|
|
28551
|
+
const ESC = '\u001B[';
|
|
28552
|
+
const OSC = '\u001B]';
|
|
28553
|
+
const BEL = '\u0007';
|
|
28554
|
+
const SEP = ';';
|
|
28555
|
+
const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
|
|
28556
|
+
ansiEscapes.cursorTo = (x, y) => {
|
|
28557
|
+
if (typeof x !== 'number') {
|
|
28558
|
+
throw new TypeError('The `x` argument is required');
|
|
28559
|
+
}
|
|
28560
|
+
if (typeof y !== 'number') {
|
|
28561
|
+
return ESC + (x + 1) + 'G';
|
|
28562
|
+
}
|
|
28563
|
+
return ESC + (y + 1) + ';' + (x + 1) + 'H';
|
|
28564
|
+
};
|
|
28565
|
+
ansiEscapes.cursorMove = (x, y) => {
|
|
28566
|
+
if (typeof x !== 'number') {
|
|
28567
|
+
throw new TypeError('The `x` argument is required');
|
|
28568
|
+
}
|
|
28569
|
+
let ret = '';
|
|
28570
|
+
if (x < 0) {
|
|
28571
|
+
ret += ESC + -x + 'D';
|
|
28572
|
+
} else if (x > 0) {
|
|
28573
|
+
ret += ESC + x + 'C';
|
|
28574
|
+
}
|
|
28575
|
+
if (y < 0) {
|
|
28576
|
+
ret += ESC + -y + 'A';
|
|
28577
|
+
} else if (y > 0) {
|
|
28578
|
+
ret += ESC + y + 'B';
|
|
28579
|
+
}
|
|
28580
|
+
return ret;
|
|
28581
|
+
};
|
|
28582
|
+
ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A';
|
|
28583
|
+
ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B';
|
|
28584
|
+
ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C';
|
|
28585
|
+
ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D';
|
|
28586
|
+
ansiEscapes.cursorLeft = ESC + 'G';
|
|
28587
|
+
ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's';
|
|
28588
|
+
ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u';
|
|
28589
|
+
ansiEscapes.cursorGetPosition = ESC + '6n';
|
|
28590
|
+
ansiEscapes.cursorNextLine = ESC + 'E';
|
|
28591
|
+
ansiEscapes.cursorPrevLine = ESC + 'F';
|
|
28592
|
+
ansiEscapes.cursorHide = ESC + '?25l';
|
|
28593
|
+
ansiEscapes.cursorShow = ESC + '?25h';
|
|
28594
|
+
ansiEscapes.eraseLines = count => {
|
|
28595
|
+
let clear = '';
|
|
28596
|
+
for (let i = 0; i < count; i++) {
|
|
28597
|
+
clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : '');
|
|
28598
|
+
}
|
|
28599
|
+
if (count) {
|
|
28600
|
+
clear += ansiEscapes.cursorLeft;
|
|
28601
|
+
}
|
|
28602
|
+
return clear;
|
|
28603
|
+
};
|
|
28604
|
+
ansiEscapes.eraseEndLine = ESC + 'K';
|
|
28605
|
+
ansiEscapes.eraseStartLine = ESC + '1K';
|
|
28606
|
+
ansiEscapes.eraseLine = ESC + '2K';
|
|
28607
|
+
ansiEscapes.eraseDown = ESC + 'J';
|
|
28608
|
+
ansiEscapes.eraseUp = ESC + '1J';
|
|
28609
|
+
ansiEscapes.eraseScreen = ESC + '2J';
|
|
28610
|
+
ansiEscapes.scrollUp = ESC + 'S';
|
|
28611
|
+
ansiEscapes.scrollDown = ESC + 'T';
|
|
28612
|
+
ansiEscapes.clearScreen = '\u001Bc';
|
|
28613
|
+
ansiEscapes.clearTerminal = process.platform === 'win32' ? `${ansiEscapes.eraseScreen}${ESC}0f` :
|
|
28614
|
+
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
28615
|
+
// 2. Erases the whole screen including scrollback buffer
|
|
28616
|
+
// 3. Moves cursor to the top-left position
|
|
28617
|
+
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
28618
|
+
`${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;
|
|
28619
|
+
ansiEscapes.beep = BEL;
|
|
28620
|
+
ansiEscapes.link = (text, url) => {
|
|
28621
|
+
return [OSC, '8', SEP, SEP, url, BEL, text, OSC, '8', SEP, SEP, BEL].join('');
|
|
28622
|
+
};
|
|
28623
|
+
ansiEscapes.image = (buffer, options = {}) => {
|
|
28624
|
+
let ret = `${OSC}1337;File=inline=1`;
|
|
28625
|
+
if (options.width) {
|
|
28626
|
+
ret += `;width=${options.width}`;
|
|
28627
|
+
}
|
|
28628
|
+
if (options.height) {
|
|
28629
|
+
ret += `;height=${options.height}`;
|
|
28630
|
+
}
|
|
28631
|
+
if (options.preserveAspectRatio === false) {
|
|
28632
|
+
ret += ';preserveAspectRatio=0';
|
|
28633
|
+
}
|
|
28634
|
+
return ret + ':' + buffer.toString('base64') + BEL;
|
|
28635
|
+
};
|
|
28636
|
+
ansiEscapes.iTerm = {
|
|
28637
|
+
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
28638
|
+
annotation: (message, options = {}) => {
|
|
28639
|
+
let ret = `${OSC}1337;`;
|
|
28640
|
+
const hasX = typeof options.x !== 'undefined';
|
|
28641
|
+
const hasY = typeof options.y !== 'undefined';
|
|
28642
|
+
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) {
|
|
28643
|
+
throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined');
|
|
28644
|
+
}
|
|
28645
|
+
message = message.replace(/\|/g, '');
|
|
28646
|
+
ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation=';
|
|
28647
|
+
if (options.length > 0) {
|
|
28648
|
+
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join('|');
|
|
28649
|
+
} else {
|
|
28650
|
+
ret += message;
|
|
28651
|
+
}
|
|
28652
|
+
return ret + BEL;
|
|
28653
|
+
}
|
|
28654
|
+
};
|
|
28655
|
+
})(ansiEscapes);
|
|
28656
|
+
return ansiEscapes.exports;
|
|
28657
|
+
}
|
|
28658
|
+
|
|
28659
|
+
var hasFlag$1;
|
|
28660
|
+
var hasRequiredHasFlag$1;
|
|
28661
|
+
function requireHasFlag$1() {
|
|
28662
|
+
if (hasRequiredHasFlag$1) return hasFlag$1;
|
|
28663
|
+
hasRequiredHasFlag$1 = 1;
|
|
28664
|
+
hasFlag$1 = (flag, argv = process.argv) => {
|
|
28665
|
+
const prefix = flag.startsWith('-') ? '' : flag.length === 1 ? '-' : '--';
|
|
28666
|
+
const position = argv.indexOf(prefix + flag);
|
|
28667
|
+
const terminatorPosition = argv.indexOf('--');
|
|
28668
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
28669
|
+
};
|
|
28670
|
+
return hasFlag$1;
|
|
28671
|
+
}
|
|
28672
|
+
|
|
28673
|
+
var supportsColor_1$1;
|
|
28674
|
+
var hasRequiredSupportsColor$2;
|
|
28675
|
+
function requireSupportsColor$2() {
|
|
28676
|
+
if (hasRequiredSupportsColor$2) return supportsColor_1$1;
|
|
28677
|
+
hasRequiredSupportsColor$2 = 1;
|
|
28678
|
+
const os = require$$0$f;
|
|
28679
|
+
const tty = require$$1$9;
|
|
28680
|
+
const hasFlag = requireHasFlag$1();
|
|
28681
|
+
const {
|
|
28682
|
+
env
|
|
28683
|
+
} = process;
|
|
28684
|
+
let forceColor;
|
|
28685
|
+
if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) {
|
|
28686
|
+
forceColor = 0;
|
|
28687
|
+
} else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) {
|
|
28688
|
+
forceColor = 1;
|
|
28689
|
+
}
|
|
28690
|
+
if ('FORCE_COLOR' in env) {
|
|
28691
|
+
if (env.FORCE_COLOR === 'true') {
|
|
28692
|
+
forceColor = 1;
|
|
28693
|
+
} else if (env.FORCE_COLOR === 'false') {
|
|
28694
|
+
forceColor = 0;
|
|
28695
|
+
} else {
|
|
28696
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
28697
|
+
}
|
|
28698
|
+
}
|
|
28699
|
+
function translateLevel(level) {
|
|
28700
|
+
if (level === 0) {
|
|
28701
|
+
return false;
|
|
28702
|
+
}
|
|
28703
|
+
return {
|
|
28704
|
+
level,
|
|
28705
|
+
hasBasic: true,
|
|
28706
|
+
has256: level >= 2,
|
|
28707
|
+
has16m: level >= 3
|
|
28708
|
+
};
|
|
28709
|
+
}
|
|
28710
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
28711
|
+
if (forceColor === 0) {
|
|
28712
|
+
return 0;
|
|
28713
|
+
}
|
|
28714
|
+
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) {
|
|
28715
|
+
return 3;
|
|
28716
|
+
}
|
|
28717
|
+
if (hasFlag('color=256')) {
|
|
28718
|
+
return 2;
|
|
28719
|
+
}
|
|
28720
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
28721
|
+
return 0;
|
|
28722
|
+
}
|
|
28723
|
+
const min = forceColor || 0;
|
|
28724
|
+
if (env.TERM === 'dumb') {
|
|
28725
|
+
return min;
|
|
28726
|
+
}
|
|
28727
|
+
if (process.platform === 'win32') {
|
|
28728
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
28729
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
28730
|
+
const osRelease = os.release().split('.');
|
|
28731
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
28732
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
28733
|
+
}
|
|
28734
|
+
return 1;
|
|
28735
|
+
}
|
|
28736
|
+
if ('CI' in env) {
|
|
28737
|
+
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
28738
|
+
return 1;
|
|
28739
|
+
}
|
|
28740
|
+
return min;
|
|
28741
|
+
}
|
|
28742
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
28743
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
28744
|
+
}
|
|
28745
|
+
if (env.COLORTERM === 'truecolor') {
|
|
28746
|
+
return 3;
|
|
28747
|
+
}
|
|
28748
|
+
if ('TERM_PROGRAM' in env) {
|
|
28749
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
28750
|
+
switch (env.TERM_PROGRAM) {
|
|
28751
|
+
case 'iTerm.app':
|
|
28752
|
+
return version >= 3 ? 3 : 2;
|
|
28753
|
+
case 'Apple_Terminal':
|
|
28754
|
+
return 2;
|
|
28755
|
+
// No default
|
|
28756
|
+
}
|
|
28757
|
+
}
|
|
28758
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
28759
|
+
return 2;
|
|
28760
|
+
}
|
|
28761
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
28762
|
+
return 1;
|
|
28763
|
+
}
|
|
28764
|
+
if ('COLORTERM' in env) {
|
|
28765
|
+
return 1;
|
|
28766
|
+
}
|
|
28767
|
+
return min;
|
|
28768
|
+
}
|
|
28769
|
+
function getSupportLevel(stream) {
|
|
28770
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
28771
|
+
return translateLevel(level);
|
|
28772
|
+
}
|
|
28773
|
+
supportsColor_1$1 = {
|
|
28774
|
+
supportsColor: getSupportLevel,
|
|
28775
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
28776
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
28777
|
+
};
|
|
28778
|
+
return supportsColor_1$1;
|
|
28779
|
+
}
|
|
28780
|
+
|
|
28781
|
+
var supportsHyperlinks;
|
|
28782
|
+
var hasRequiredSupportsHyperlinks;
|
|
28783
|
+
function requireSupportsHyperlinks() {
|
|
28784
|
+
if (hasRequiredSupportsHyperlinks) return supportsHyperlinks;
|
|
28785
|
+
hasRequiredSupportsHyperlinks = 1;
|
|
28786
|
+
const supportsColor = requireSupportsColor$2();
|
|
28787
|
+
const hasFlag = requireHasFlag$1();
|
|
28788
|
+
function parseVersion(versionString) {
|
|
28789
|
+
if (/^\d{3,4}$/.test(versionString)) {
|
|
28790
|
+
// Env var doesn't always use dots. example: 4601 => 46.1.0
|
|
28791
|
+
const m = /(\d{1,2})(\d{2})/.exec(versionString);
|
|
28792
|
+
return {
|
|
28793
|
+
major: 0,
|
|
28794
|
+
minor: parseInt(m[1], 10),
|
|
28795
|
+
patch: parseInt(m[2], 10)
|
|
28796
|
+
};
|
|
28797
|
+
}
|
|
28798
|
+
const versions = (versionString || '').split('.').map(n => parseInt(n, 10));
|
|
28799
|
+
return {
|
|
28800
|
+
major: versions[0],
|
|
28801
|
+
minor: versions[1],
|
|
28802
|
+
patch: versions[2]
|
|
28803
|
+
};
|
|
28804
|
+
}
|
|
28805
|
+
function supportsHyperlink(stream) {
|
|
28806
|
+
const {
|
|
28807
|
+
env
|
|
28808
|
+
} = process;
|
|
28809
|
+
if ('FORCE_HYPERLINK' in env) {
|
|
28810
|
+
return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);
|
|
28811
|
+
}
|
|
28812
|
+
if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) {
|
|
28813
|
+
return false;
|
|
28814
|
+
}
|
|
28815
|
+
if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) {
|
|
28816
|
+
return true;
|
|
28817
|
+
}
|
|
28818
|
+
|
|
28819
|
+
// Netlify does not run a TTY, it does not need `supportsColor` check
|
|
28820
|
+
if ('NETLIFY' in env) {
|
|
28821
|
+
return true;
|
|
28822
|
+
}
|
|
28823
|
+
|
|
28824
|
+
// If they specify no colors, they probably don't want hyperlinks.
|
|
28825
|
+
if (!supportsColor.supportsColor(stream)) {
|
|
28826
|
+
return false;
|
|
28827
|
+
}
|
|
28828
|
+
if (stream && !stream.isTTY) {
|
|
28829
|
+
return false;
|
|
28830
|
+
}
|
|
28831
|
+
if (process.platform === 'win32') {
|
|
28832
|
+
return false;
|
|
28833
|
+
}
|
|
28834
|
+
if ('CI' in env) {
|
|
28835
|
+
return false;
|
|
28836
|
+
}
|
|
28837
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
28838
|
+
return false;
|
|
28839
|
+
}
|
|
28840
|
+
if ('TERM_PROGRAM' in env) {
|
|
28841
|
+
const version = parseVersion(env.TERM_PROGRAM_VERSION);
|
|
28842
|
+
switch (env.TERM_PROGRAM) {
|
|
28843
|
+
case 'iTerm.app':
|
|
28844
|
+
if (version.major === 3) {
|
|
28845
|
+
return version.minor >= 1;
|
|
28846
|
+
}
|
|
28847
|
+
return version.major > 3;
|
|
28848
|
+
case 'WezTerm':
|
|
28849
|
+
return version.major >= 20200620;
|
|
28850
|
+
case 'vscode':
|
|
28851
|
+
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
28852
|
+
// No default
|
|
28853
|
+
}
|
|
28854
|
+
}
|
|
28855
|
+
if ('VTE_VERSION' in env) {
|
|
28856
|
+
// 0.50.0 was supposed to support hyperlinks, but throws a segfault
|
|
28857
|
+
if (env.VTE_VERSION === '0.50.0') {
|
|
28858
|
+
return false;
|
|
28859
|
+
}
|
|
28860
|
+
const version = parseVersion(env.VTE_VERSION);
|
|
28861
|
+
return version.major > 0 || version.minor >= 50;
|
|
28862
|
+
}
|
|
28863
|
+
return false;
|
|
28864
|
+
}
|
|
28865
|
+
supportsHyperlinks = {
|
|
28866
|
+
supportsHyperlink,
|
|
28867
|
+
stdout: supportsHyperlink(process.stdout),
|
|
28868
|
+
stderr: supportsHyperlink(process.stderr)
|
|
28869
|
+
};
|
|
28870
|
+
return supportsHyperlinks;
|
|
28871
|
+
}
|
|
28872
|
+
|
|
28873
|
+
var hasRequiredTerminalLink;
|
|
28874
|
+
function requireTerminalLink() {
|
|
28875
|
+
if (hasRequiredTerminalLink) return terminalLink.exports;
|
|
28876
|
+
hasRequiredTerminalLink = 1;
|
|
28877
|
+
(function (module) {
|
|
28878
|
+
|
|
28879
|
+
const ansiEscapes = requireAnsiEscapes();
|
|
28880
|
+
const supportsHyperlinks = requireSupportsHyperlinks();
|
|
28881
|
+
const terminalLink = (text, url, {
|
|
28882
|
+
target = 'stdout',
|
|
28883
|
+
...options
|
|
28884
|
+
} = {}) => {
|
|
28885
|
+
if (!supportsHyperlinks[target]) {
|
|
28886
|
+
// If the fallback has been explicitly disabled, don't modify the text itself.
|
|
28887
|
+
if (options.fallback === false) {
|
|
28888
|
+
return text;
|
|
28889
|
+
}
|
|
28890
|
+
return typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
|
|
28891
|
+
}
|
|
28892
|
+
return ansiEscapes.link(text, url);
|
|
28893
|
+
};
|
|
28894
|
+
module.exports = (text, url, options = {}) => terminalLink(text, url, options);
|
|
28895
|
+
module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
|
|
28896
|
+
target: 'stderr',
|
|
28897
|
+
...options
|
|
28898
|
+
});
|
|
28899
|
+
module.exports.isSupported = supportsHyperlinks.stdout;
|
|
28900
|
+
module.exports.stderr.isSupported = supportsHyperlinks.stderr;
|
|
28901
|
+
})(terminalLink);
|
|
28902
|
+
return terminalLink.exports;
|
|
28903
|
+
}
|
|
28904
|
+
|
|
28905
|
+
var terminalLinkExports = requireTerminalLink();
|
|
28906
|
+
|
|
28538
28907
|
var error$c;
|
|
28539
28908
|
var hasRequiredError$c;
|
|
28540
28909
|
function requireError$c() {
|
|
@@ -45977,375 +46346,6 @@ function requirePackageurlJs() {
|
|
|
45977
46346
|
|
|
45978
46347
|
var packageurlJsExports = /*@__PURE__*/ requirePackageurlJs();
|
|
45979
46348
|
|
|
45980
|
-
var terminalLink = {exports: {}};
|
|
45981
|
-
|
|
45982
|
-
var ansiEscapes = {exports: {}};
|
|
45983
|
-
|
|
45984
|
-
var hasRequiredAnsiEscapes;
|
|
45985
|
-
function requireAnsiEscapes() {
|
|
45986
|
-
if (hasRequiredAnsiEscapes) return ansiEscapes.exports;
|
|
45987
|
-
hasRequiredAnsiEscapes = 1;
|
|
45988
|
-
(function (module) {
|
|
45989
|
-
|
|
45990
|
-
const ansiEscapes = module.exports;
|
|
45991
|
-
// TODO: remove this in the next major version
|
|
45992
|
-
module.exports.default = ansiEscapes;
|
|
45993
|
-
const ESC = '\u001B[';
|
|
45994
|
-
const OSC = '\u001B]';
|
|
45995
|
-
const BEL = '\u0007';
|
|
45996
|
-
const SEP = ';';
|
|
45997
|
-
const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
|
|
45998
|
-
ansiEscapes.cursorTo = (x, y) => {
|
|
45999
|
-
if (typeof x !== 'number') {
|
|
46000
|
-
throw new TypeError('The `x` argument is required');
|
|
46001
|
-
}
|
|
46002
|
-
if (typeof y !== 'number') {
|
|
46003
|
-
return ESC + (x + 1) + 'G';
|
|
46004
|
-
}
|
|
46005
|
-
return ESC + (y + 1) + ';' + (x + 1) + 'H';
|
|
46006
|
-
};
|
|
46007
|
-
ansiEscapes.cursorMove = (x, y) => {
|
|
46008
|
-
if (typeof x !== 'number') {
|
|
46009
|
-
throw new TypeError('The `x` argument is required');
|
|
46010
|
-
}
|
|
46011
|
-
let ret = '';
|
|
46012
|
-
if (x < 0) {
|
|
46013
|
-
ret += ESC + -x + 'D';
|
|
46014
|
-
} else if (x > 0) {
|
|
46015
|
-
ret += ESC + x + 'C';
|
|
46016
|
-
}
|
|
46017
|
-
if (y < 0) {
|
|
46018
|
-
ret += ESC + -y + 'A';
|
|
46019
|
-
} else if (y > 0) {
|
|
46020
|
-
ret += ESC + y + 'B';
|
|
46021
|
-
}
|
|
46022
|
-
return ret;
|
|
46023
|
-
};
|
|
46024
|
-
ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A';
|
|
46025
|
-
ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B';
|
|
46026
|
-
ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C';
|
|
46027
|
-
ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D';
|
|
46028
|
-
ansiEscapes.cursorLeft = ESC + 'G';
|
|
46029
|
-
ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's';
|
|
46030
|
-
ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u';
|
|
46031
|
-
ansiEscapes.cursorGetPosition = ESC + '6n';
|
|
46032
|
-
ansiEscapes.cursorNextLine = ESC + 'E';
|
|
46033
|
-
ansiEscapes.cursorPrevLine = ESC + 'F';
|
|
46034
|
-
ansiEscapes.cursorHide = ESC + '?25l';
|
|
46035
|
-
ansiEscapes.cursorShow = ESC + '?25h';
|
|
46036
|
-
ansiEscapes.eraseLines = count => {
|
|
46037
|
-
let clear = '';
|
|
46038
|
-
for (let i = 0; i < count; i++) {
|
|
46039
|
-
clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : '');
|
|
46040
|
-
}
|
|
46041
|
-
if (count) {
|
|
46042
|
-
clear += ansiEscapes.cursorLeft;
|
|
46043
|
-
}
|
|
46044
|
-
return clear;
|
|
46045
|
-
};
|
|
46046
|
-
ansiEscapes.eraseEndLine = ESC + 'K';
|
|
46047
|
-
ansiEscapes.eraseStartLine = ESC + '1K';
|
|
46048
|
-
ansiEscapes.eraseLine = ESC + '2K';
|
|
46049
|
-
ansiEscapes.eraseDown = ESC + 'J';
|
|
46050
|
-
ansiEscapes.eraseUp = ESC + '1J';
|
|
46051
|
-
ansiEscapes.eraseScreen = ESC + '2J';
|
|
46052
|
-
ansiEscapes.scrollUp = ESC + 'S';
|
|
46053
|
-
ansiEscapes.scrollDown = ESC + 'T';
|
|
46054
|
-
ansiEscapes.clearScreen = '\u001Bc';
|
|
46055
|
-
ansiEscapes.clearTerminal = process.platform === 'win32' ? `${ansiEscapes.eraseScreen}${ESC}0f` :
|
|
46056
|
-
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
46057
|
-
// 2. Erases the whole screen including scrollback buffer
|
|
46058
|
-
// 3. Moves cursor to the top-left position
|
|
46059
|
-
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
46060
|
-
`${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;
|
|
46061
|
-
ansiEscapes.beep = BEL;
|
|
46062
|
-
ansiEscapes.link = (text, url) => {
|
|
46063
|
-
return [OSC, '8', SEP, SEP, url, BEL, text, OSC, '8', SEP, SEP, BEL].join('');
|
|
46064
|
-
};
|
|
46065
|
-
ansiEscapes.image = (buffer, options = {}) => {
|
|
46066
|
-
let ret = `${OSC}1337;File=inline=1`;
|
|
46067
|
-
if (options.width) {
|
|
46068
|
-
ret += `;width=${options.width}`;
|
|
46069
|
-
}
|
|
46070
|
-
if (options.height) {
|
|
46071
|
-
ret += `;height=${options.height}`;
|
|
46072
|
-
}
|
|
46073
|
-
if (options.preserveAspectRatio === false) {
|
|
46074
|
-
ret += ';preserveAspectRatio=0';
|
|
46075
|
-
}
|
|
46076
|
-
return ret + ':' + buffer.toString('base64') + BEL;
|
|
46077
|
-
};
|
|
46078
|
-
ansiEscapes.iTerm = {
|
|
46079
|
-
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
46080
|
-
annotation: (message, options = {}) => {
|
|
46081
|
-
let ret = `${OSC}1337;`;
|
|
46082
|
-
const hasX = typeof options.x !== 'undefined';
|
|
46083
|
-
const hasY = typeof options.y !== 'undefined';
|
|
46084
|
-
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) {
|
|
46085
|
-
throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined');
|
|
46086
|
-
}
|
|
46087
|
-
message = message.replace(/\|/g, '');
|
|
46088
|
-
ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation=';
|
|
46089
|
-
if (options.length > 0) {
|
|
46090
|
-
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join('|');
|
|
46091
|
-
} else {
|
|
46092
|
-
ret += message;
|
|
46093
|
-
}
|
|
46094
|
-
return ret + BEL;
|
|
46095
|
-
}
|
|
46096
|
-
};
|
|
46097
|
-
})(ansiEscapes);
|
|
46098
|
-
return ansiEscapes.exports;
|
|
46099
|
-
}
|
|
46100
|
-
|
|
46101
|
-
var hasFlag$1;
|
|
46102
|
-
var hasRequiredHasFlag$1;
|
|
46103
|
-
function requireHasFlag$1() {
|
|
46104
|
-
if (hasRequiredHasFlag$1) return hasFlag$1;
|
|
46105
|
-
hasRequiredHasFlag$1 = 1;
|
|
46106
|
-
hasFlag$1 = (flag, argv = process.argv) => {
|
|
46107
|
-
const prefix = flag.startsWith('-') ? '' : flag.length === 1 ? '-' : '--';
|
|
46108
|
-
const position = argv.indexOf(prefix + flag);
|
|
46109
|
-
const terminatorPosition = argv.indexOf('--');
|
|
46110
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
46111
|
-
};
|
|
46112
|
-
return hasFlag$1;
|
|
46113
|
-
}
|
|
46114
|
-
|
|
46115
|
-
var supportsColor_1$1;
|
|
46116
|
-
var hasRequiredSupportsColor$2;
|
|
46117
|
-
function requireSupportsColor$2() {
|
|
46118
|
-
if (hasRequiredSupportsColor$2) return supportsColor_1$1;
|
|
46119
|
-
hasRequiredSupportsColor$2 = 1;
|
|
46120
|
-
const os = require$$0$f;
|
|
46121
|
-
const tty = require$$1$9;
|
|
46122
|
-
const hasFlag = requireHasFlag$1();
|
|
46123
|
-
const {
|
|
46124
|
-
env
|
|
46125
|
-
} = process;
|
|
46126
|
-
let forceColor;
|
|
46127
|
-
if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) {
|
|
46128
|
-
forceColor = 0;
|
|
46129
|
-
} else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) {
|
|
46130
|
-
forceColor = 1;
|
|
46131
|
-
}
|
|
46132
|
-
if ('FORCE_COLOR' in env) {
|
|
46133
|
-
if (env.FORCE_COLOR === 'true') {
|
|
46134
|
-
forceColor = 1;
|
|
46135
|
-
} else if (env.FORCE_COLOR === 'false') {
|
|
46136
|
-
forceColor = 0;
|
|
46137
|
-
} else {
|
|
46138
|
-
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
46139
|
-
}
|
|
46140
|
-
}
|
|
46141
|
-
function translateLevel(level) {
|
|
46142
|
-
if (level === 0) {
|
|
46143
|
-
return false;
|
|
46144
|
-
}
|
|
46145
|
-
return {
|
|
46146
|
-
level,
|
|
46147
|
-
hasBasic: true,
|
|
46148
|
-
has256: level >= 2,
|
|
46149
|
-
has16m: level >= 3
|
|
46150
|
-
};
|
|
46151
|
-
}
|
|
46152
|
-
function supportsColor(haveStream, streamIsTTY) {
|
|
46153
|
-
if (forceColor === 0) {
|
|
46154
|
-
return 0;
|
|
46155
|
-
}
|
|
46156
|
-
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) {
|
|
46157
|
-
return 3;
|
|
46158
|
-
}
|
|
46159
|
-
if (hasFlag('color=256')) {
|
|
46160
|
-
return 2;
|
|
46161
|
-
}
|
|
46162
|
-
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
46163
|
-
return 0;
|
|
46164
|
-
}
|
|
46165
|
-
const min = forceColor || 0;
|
|
46166
|
-
if (env.TERM === 'dumb') {
|
|
46167
|
-
return min;
|
|
46168
|
-
}
|
|
46169
|
-
if (process.platform === 'win32') {
|
|
46170
|
-
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
46171
|
-
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
46172
|
-
const osRelease = os.release().split('.');
|
|
46173
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
46174
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
46175
|
-
}
|
|
46176
|
-
return 1;
|
|
46177
|
-
}
|
|
46178
|
-
if ('CI' in env) {
|
|
46179
|
-
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
46180
|
-
return 1;
|
|
46181
|
-
}
|
|
46182
|
-
return min;
|
|
46183
|
-
}
|
|
46184
|
-
if ('TEAMCITY_VERSION' in env) {
|
|
46185
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
46186
|
-
}
|
|
46187
|
-
if (env.COLORTERM === 'truecolor') {
|
|
46188
|
-
return 3;
|
|
46189
|
-
}
|
|
46190
|
-
if ('TERM_PROGRAM' in env) {
|
|
46191
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
46192
|
-
switch (env.TERM_PROGRAM) {
|
|
46193
|
-
case 'iTerm.app':
|
|
46194
|
-
return version >= 3 ? 3 : 2;
|
|
46195
|
-
case 'Apple_Terminal':
|
|
46196
|
-
return 2;
|
|
46197
|
-
// No default
|
|
46198
|
-
}
|
|
46199
|
-
}
|
|
46200
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
46201
|
-
return 2;
|
|
46202
|
-
}
|
|
46203
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
46204
|
-
return 1;
|
|
46205
|
-
}
|
|
46206
|
-
if ('COLORTERM' in env) {
|
|
46207
|
-
return 1;
|
|
46208
|
-
}
|
|
46209
|
-
return min;
|
|
46210
|
-
}
|
|
46211
|
-
function getSupportLevel(stream) {
|
|
46212
|
-
const level = supportsColor(stream, stream && stream.isTTY);
|
|
46213
|
-
return translateLevel(level);
|
|
46214
|
-
}
|
|
46215
|
-
supportsColor_1$1 = {
|
|
46216
|
-
supportsColor: getSupportLevel,
|
|
46217
|
-
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
46218
|
-
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
46219
|
-
};
|
|
46220
|
-
return supportsColor_1$1;
|
|
46221
|
-
}
|
|
46222
|
-
|
|
46223
|
-
var supportsHyperlinks;
|
|
46224
|
-
var hasRequiredSupportsHyperlinks;
|
|
46225
|
-
function requireSupportsHyperlinks() {
|
|
46226
|
-
if (hasRequiredSupportsHyperlinks) return supportsHyperlinks;
|
|
46227
|
-
hasRequiredSupportsHyperlinks = 1;
|
|
46228
|
-
const supportsColor = requireSupportsColor$2();
|
|
46229
|
-
const hasFlag = requireHasFlag$1();
|
|
46230
|
-
function parseVersion(versionString) {
|
|
46231
|
-
if (/^\d{3,4}$/.test(versionString)) {
|
|
46232
|
-
// Env var doesn't always use dots. example: 4601 => 46.1.0
|
|
46233
|
-
const m = /(\d{1,2})(\d{2})/.exec(versionString);
|
|
46234
|
-
return {
|
|
46235
|
-
major: 0,
|
|
46236
|
-
minor: parseInt(m[1], 10),
|
|
46237
|
-
patch: parseInt(m[2], 10)
|
|
46238
|
-
};
|
|
46239
|
-
}
|
|
46240
|
-
const versions = (versionString || '').split('.').map(n => parseInt(n, 10));
|
|
46241
|
-
return {
|
|
46242
|
-
major: versions[0],
|
|
46243
|
-
minor: versions[1],
|
|
46244
|
-
patch: versions[2]
|
|
46245
|
-
};
|
|
46246
|
-
}
|
|
46247
|
-
function supportsHyperlink(stream) {
|
|
46248
|
-
const {
|
|
46249
|
-
env
|
|
46250
|
-
} = process;
|
|
46251
|
-
if ('FORCE_HYPERLINK' in env) {
|
|
46252
|
-
return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);
|
|
46253
|
-
}
|
|
46254
|
-
if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) {
|
|
46255
|
-
return false;
|
|
46256
|
-
}
|
|
46257
|
-
if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) {
|
|
46258
|
-
return true;
|
|
46259
|
-
}
|
|
46260
|
-
|
|
46261
|
-
// Netlify does not run a TTY, it does not need `supportsColor` check
|
|
46262
|
-
if ('NETLIFY' in env) {
|
|
46263
|
-
return true;
|
|
46264
|
-
}
|
|
46265
|
-
|
|
46266
|
-
// If they specify no colors, they probably don't want hyperlinks.
|
|
46267
|
-
if (!supportsColor.supportsColor(stream)) {
|
|
46268
|
-
return false;
|
|
46269
|
-
}
|
|
46270
|
-
if (stream && !stream.isTTY) {
|
|
46271
|
-
return false;
|
|
46272
|
-
}
|
|
46273
|
-
if (process.platform === 'win32') {
|
|
46274
|
-
return false;
|
|
46275
|
-
}
|
|
46276
|
-
if ('CI' in env) {
|
|
46277
|
-
return false;
|
|
46278
|
-
}
|
|
46279
|
-
if ('TEAMCITY_VERSION' in env) {
|
|
46280
|
-
return false;
|
|
46281
|
-
}
|
|
46282
|
-
if ('TERM_PROGRAM' in env) {
|
|
46283
|
-
const version = parseVersion(env.TERM_PROGRAM_VERSION);
|
|
46284
|
-
switch (env.TERM_PROGRAM) {
|
|
46285
|
-
case 'iTerm.app':
|
|
46286
|
-
if (version.major === 3) {
|
|
46287
|
-
return version.minor >= 1;
|
|
46288
|
-
}
|
|
46289
|
-
return version.major > 3;
|
|
46290
|
-
case 'WezTerm':
|
|
46291
|
-
return version.major >= 20200620;
|
|
46292
|
-
case 'vscode':
|
|
46293
|
-
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
46294
|
-
// No default
|
|
46295
|
-
}
|
|
46296
|
-
}
|
|
46297
|
-
if ('VTE_VERSION' in env) {
|
|
46298
|
-
// 0.50.0 was supposed to support hyperlinks, but throws a segfault
|
|
46299
|
-
if (env.VTE_VERSION === '0.50.0') {
|
|
46300
|
-
return false;
|
|
46301
|
-
}
|
|
46302
|
-
const version = parseVersion(env.VTE_VERSION);
|
|
46303
|
-
return version.major > 0 || version.minor >= 50;
|
|
46304
|
-
}
|
|
46305
|
-
return false;
|
|
46306
|
-
}
|
|
46307
|
-
supportsHyperlinks = {
|
|
46308
|
-
supportsHyperlink,
|
|
46309
|
-
stdout: supportsHyperlink(process.stdout),
|
|
46310
|
-
stderr: supportsHyperlink(process.stderr)
|
|
46311
|
-
};
|
|
46312
|
-
return supportsHyperlinks;
|
|
46313
|
-
}
|
|
46314
|
-
|
|
46315
|
-
var hasRequiredTerminalLink;
|
|
46316
|
-
function requireTerminalLink() {
|
|
46317
|
-
if (hasRequiredTerminalLink) return terminalLink.exports;
|
|
46318
|
-
hasRequiredTerminalLink = 1;
|
|
46319
|
-
(function (module) {
|
|
46320
|
-
|
|
46321
|
-
const ansiEscapes = requireAnsiEscapes();
|
|
46322
|
-
const supportsHyperlinks = requireSupportsHyperlinks();
|
|
46323
|
-
const terminalLink = (text, url, {
|
|
46324
|
-
target = 'stdout',
|
|
46325
|
-
...options
|
|
46326
|
-
} = {}) => {
|
|
46327
|
-
if (!supportsHyperlinks[target]) {
|
|
46328
|
-
// If the fallback has been explicitly disabled, don't modify the text itself.
|
|
46329
|
-
if (options.fallback === false) {
|
|
46330
|
-
return text;
|
|
46331
|
-
}
|
|
46332
|
-
return typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
|
|
46333
|
-
}
|
|
46334
|
-
return ansiEscapes.link(text, url);
|
|
46335
|
-
};
|
|
46336
|
-
module.exports = (text, url, options = {}) => terminalLink(text, url, options);
|
|
46337
|
-
module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
|
|
46338
|
-
target: 'stderr',
|
|
46339
|
-
...options
|
|
46340
|
-
});
|
|
46341
|
-
module.exports.isSupported = supportsHyperlinks.stdout;
|
|
46342
|
-
module.exports.stderr.isSupported = supportsHyperlinks.stderr;
|
|
46343
|
-
})(terminalLink);
|
|
46344
|
-
return terminalLink.exports;
|
|
46345
|
-
}
|
|
46346
|
-
|
|
46347
|
-
var terminalLinkExports = requireTerminalLink();
|
|
46348
|
-
|
|
46349
46349
|
var re = {exports: {}};
|
|
46350
46350
|
|
|
46351
46351
|
var constants$5;
|
|
@@ -175205,5 +175205,5 @@ exports.terminalLinkExports = terminalLinkExports;
|
|
|
175205
175205
|
exports.updater = updater$1;
|
|
175206
175206
|
exports.yargsParser = yargsParser;
|
|
175207
175207
|
exports.yoctocolorsCjsExports = yoctocolorsCjsExports;
|
|
175208
|
-
//# debugId=
|
|
175208
|
+
//# debugId=c5a977ce-edf5-49aa-805c-5f9b26a799be
|
|
175209
175209
|
//# sourceMappingURL=vendor.js.map
|