@socketsecurity/cli-with-sentry 1.1.25 → 2.0.0
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/CHANGELOG.md +51 -218
- package/README.md +41 -74
- package/dist/cli.js.bz +0 -0
- package/dist/cli.js.bz.sha256 +1 -0
- package/dist/index.js +2 -0
- package/package.json +31 -274
- package/bin/cli.js +0 -52
- package/bin/npm-cli.js +0 -29
- package/bin/npx-cli.js +0 -29
- package/bin/pnpm-cli.js +0 -29
- package/bin/yarn-cli.js +0 -29
- package/dist/cli.js +0 -14999
- package/dist/cli.js.map +0 -1
- package/dist/constants.js +0 -845
- package/dist/constants.js.map +0 -1
- package/dist/flags.js +0 -212
- package/dist/flags.js.map +0 -1
- package/dist/init.gradle +0 -250
- package/dist/instrument-with-sentry.js +0 -44
- package/dist/instrument-with-sentry.js.map +0 -1
- package/dist/npm-cli.js +0 -30
- package/dist/npm-cli.js.map +0 -1
- package/dist/npx-cli.js +0 -26
- package/dist/npx-cli.js.map +0 -1
- package/dist/pnpm-cli.js +0 -30
- package/dist/pnpm-cli.js.map +0 -1
- package/dist/shadow-npm-bin.js +0 -8
- package/dist/shadow-npm-bin.js.map +0 -1
- package/dist/shadow-npm-bin2.js +0 -102
- package/dist/shadow-npm-bin2.js.map +0 -1
- package/dist/shadow-npm-inject.js +0 -307
- package/dist/shadow-npm-inject.js.map +0 -1
- package/dist/shadow-npx-bin.js +0 -12
- package/dist/shadow-npx-bin.js.map +0 -1
- package/dist/shadow-pnpm-bin.js +0 -8
- package/dist/shadow-pnpm-bin.js.map +0 -1
- package/dist/shadow-pnpm-bin2.js +0 -300
- package/dist/shadow-pnpm-bin2.js.map +0 -1
- package/dist/shadow-yarn-bin.js +0 -96
- package/dist/shadow-yarn-bin.js.map +0 -1
- 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 -10
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +0 -29
- 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 -9
- 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 -9
- package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +0 -9
- 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/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/env-helpers.d.mts +0 -26
- package/dist/types/commands/fix/env-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/git.d.mts +0 -13
- package/dist/types/commands/fix/git.d.mts.map +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts +0 -20
- package/dist/types/commands/fix/handle-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/pull-request.d.mts +0 -31
- package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
- package/dist/types/commands/fix/types.d.mts +0 -21
- package/dist/types/commands/fix/types.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +0 -9
- 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 -9
- 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 -9
- package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -9
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -9
- 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 -6
- 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 -9
- package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +0 -9
- 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 -9
- 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 -20
- 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/patch/cmd-patch.d.mts +0 -10
- package/dist/types/commands/patch/cmd-patch.d.mts.map +0 -1
- package/dist/types/commands/patch/handle-patch.d.mts +0 -12
- package/dist/types/commands/patch/handle-patch.d.mts.map +0 -1
- package/dist/types/commands/patch/manifest-schema.d.mts +0 -34
- package/dist/types/commands/patch/manifest-schema.d.mts.map +0 -1
- package/dist/types/commands/patch/output-patch-result.d.mts +0 -5
- package/dist/types/commands/patch/output-patch-result.d.mts.map +0 -1
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts +0 -10
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -9
- 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 -9
- 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 -12
- 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 -5
- 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/repository/types.d.mts +0 -2
- package/dist/types/commands/repository/types.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 -4
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -4
- 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 -4
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -9
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -4
- 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 -10
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
- package/dist/types/commands/scan/finalize-tier1-scan.d.mts +0 -12
- package/dist/types/commands/scan/finalize-tier1-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-report.d.mts +0 -44
- 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 -29
- 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 -12
- package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts +0 -14
- 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 -10
- 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 -7
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts +0 -22
- 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/perform-reachability-analysis.d.mts +0 -27
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +0 -1
- package/dist/types/commands/scan/reachability-flags.d.mts +0 -3
- package/dist/types/commands/scan/reachability-flags.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-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/scan/types.d.mts +0 -3
- package/dist/types/commands/scan/types.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 -8
- 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 -9
- 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/commands/yarn/cmd-yarn.d.mts +0 -10
- package/dist/types/commands/yarn/cmd-yarn.d.mts.map +0 -1
- package/dist/types/commands.d.mts +0 -203
- package/dist/types/commands.d.mts.map +0 -1
- package/dist/types/constants.d.mts +0 -299
- package/dist/types/constants.d.mts.map +0 -1
- package/dist/types/flags.d.mts +0 -18
- 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/npm-cli.d.mts +0 -3
- package/dist/types/npm-cli.d.mts.map +0 -1
- package/dist/types/npx-cli.d.mts +0 -3
- package/dist/types/npx-cli.d.mts.map +0 -1
- package/dist/types/pnpm-cli.d.mts +0 -3
- package/dist/types/pnpm-cli.d.mts.map +0 -1
- package/dist/types/sea/bootstrap.d.mts +0 -2
- package/dist/types/sea/bootstrap.d.mts.map +0 -1
- package/dist/types/sea/build-sea.d.mts +0 -27
- package/dist/types/sea/build-sea.d.mts.map +0 -1
- package/dist/types/shadow/common.d.mts +0 -23
- package/dist/types/shadow/common.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 -24
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
- package/dist/types/shadow/npm/bin.d.mts +0 -5
- 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/paths.d.mts +0 -6
- package/dist/types/shadow/npm/paths.d.mts.map +0 -1
- package/dist/types/shadow/npm-base.d.mts +0 -11
- package/dist/types/shadow/npm-base.d.mts.map +0 -1
- package/dist/types/shadow/npx/bin.d.mts +0 -5
- package/dist/types/shadow/npx/bin.d.mts.map +0 -1
- package/dist/types/shadow/pnpm/bin.d.mts +0 -10
- package/dist/types/shadow/pnpm/bin.d.mts.map +0 -1
- package/dist/types/shadow/stdio-ipc.d.mts +0 -7
- package/dist/types/shadow/stdio-ipc.d.mts.map +0 -1
- package/dist/types/shadow/yarn/bin.d.mts +0 -10
- package/dist/types/shadow/yarn/bin.d.mts.map +0 -1
- package/dist/types/test/json-output-validation.d.mts +0 -37
- package/dist/types/test/json-output-validation.d.mts.map +0 -1
- package/dist/types/test/mocks/socket-auth.d.mts +0 -88
- package/dist/types/test/mocks/socket-auth.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 -21
- 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 -27
- package/dist/types/utils/alerts-map.d.mts.map +0 -1
- package/dist/types/utils/api.d.mts +0 -44
- 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 -50
- package/dist/types/utils/cmd.d.mts.map +0 -1
- package/dist/types/utils/coana.d.mts +0 -2
- 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 -34
- package/dist/types/utils/config.d.mts.map +0 -1
- package/dist/types/utils/cve-to-ghsa.d.mts +0 -6
- package/dist/types/utils/cve-to-ghsa.d.mts.map +0 -1
- package/dist/types/utils/debug.d.mts +0 -45
- package/dist/types/utils/debug.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/dlx-binary.d.mts +0 -58
- package/dist/types/utils/dlx-binary.d.mts.map +0 -1
- package/dist/types/utils/dlx-detection.d.mts +0 -29
- package/dist/types/utils/dlx-detection.d.mts.map +0 -1
- package/dist/types/utils/dlx.d.mts +0 -36
- package/dist/types/utils/dlx.d.mts.map +0 -1
- package/dist/types/utils/ecosystem.d.mts +0 -20
- package/dist/types/utils/ecosystem.d.mts.map +0 -1
- package/dist/types/utils/errors.d.mts +0 -62
- package/dist/types/utils/errors.d.mts.map +0 -1
- package/dist/types/utils/extract-names.d.mts +0 -15
- package/dist/types/utils/extract-names.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/filter-config.d.mts +0 -5
- package/dist/types/utils/filter-config.d.mts.map +0 -1
- package/dist/types/utils/fs.d.mts +0 -8
- 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 -35
- package/dist/types/utils/git.d.mts.map +0 -1
- package/dist/types/utils/github.d.mts +0 -38
- package/dist/types/utils/github.d.mts.map +0 -1
- package/dist/types/utils/glob.d.mts +0 -15
- 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 -27
- package/dist/types/utils/markdown.d.mts.map +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +0 -83
- 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 -8
- 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/npm-spec.d.mts +0 -57
- package/dist/types/utils/npm-spec.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/organization.d.mts +0 -5
- package/dist/types/utils/organization.d.mts.map +0 -1
- package/dist/types/utils/output-formatting.d.mts +0 -20
- 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-paths.d.mts +0 -5
- package/dist/types/utils/pnpm-paths.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-to-ghsa.d.mts +0 -6
- package/dist/types/utils/purl-to-ghsa.d.mts.map +0 -1
- package/dist/types/utils/purl.d.mts +0 -71
- package/dist/types/utils/purl.d.mts.map +0 -1
- package/dist/types/utils/requirements.d.mts +0 -125
- package/dist/types/utils/requirements.d.mts.map +0 -1
- package/dist/types/utils/sdk.d.mts +0 -17
- package/dist/types/utils/sdk.d.mts.map +0 -1
- package/dist/types/utils/semver.d.mts +0 -7
- 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/shadow-links.d.mts +0 -5
- package/dist/types/utils/shadow-links.d.mts.map +0 -1
- package/dist/types/utils/socket-json.d.mts +0 -59
- package/dist/types/utils/socket-json.d.mts.map +0 -1
- package/dist/types/utils/socket-package-alert.d.mts +0 -80
- package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
- package/dist/types/utils/socket-url.d.mts +0 -8
- package/dist/types/utils/socket-url.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 -14
- package/dist/types/utils/strings.d.mts.map +0 -1
- package/dist/types/utils/terminal-link.d.mts +0 -52
- package/dist/types/utils/terminal-link.d.mts.map +0 -1
- package/dist/types/utils/tildify.d.mts +0 -2
- package/dist/types/utils/tildify.d.mts.map +0 -1
- package/dist/types/utils/translations.d.mts +0 -617
- 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/types/utils/yarn-paths.d.mts +0 -5
- package/dist/types/utils/yarn-paths.d.mts.map +0 -1
- package/dist/types/utils/yarn-version.d.mts +0 -2
- package/dist/types/utils/yarn-version.d.mts.map +0 -1
- package/dist/types/yarn-cli.d.mts +0 -3
- package/dist/types/yarn-cli.d.mts.map +0 -1
- package/dist/utils.js +0 -6146
- package/dist/utils.js.map +0 -1
- package/dist/vendor.js +0 -162074
- package/dist/yarn-cli.js +0 -30
- package/dist/yarn-cli.js.map +0 -1
- package/external/@socketsecurity/registry/LICENSE +0 -21
- package/external/@socketsecurity/registry/README.md +0 -9
- package/external/@socketsecurity/registry/extensions.json +0 -28
- package/external/@socketsecurity/registry/external/@inquirer/confirm.js +0 -3165
- package/external/@socketsecurity/registry/external/@inquirer/input.js +0 -3202
- package/external/@socketsecurity/registry/external/@inquirer/password.js +0 -3307
- package/external/@socketsecurity/registry/external/@inquirer/search.js +0 -3519
- package/external/@socketsecurity/registry/external/@inquirer/select.js +0 -3655
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +0 -21406
- package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/read-package.js +0 -183
- package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/sort.js +0 -274
- package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +0 -704
- package/external/@socketsecurity/registry/external/@socketregistry/is-unicode-supported.js +0 -54
- package/external/@socketsecurity/registry/external/@socketregistry/packageurl-js.js +0 -4516
- package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js +0 -453
- package/external/@socketsecurity/registry/external/@yarnpkg/extensions.js +0 -1406
- package/external/@socketsecurity/registry/external/browserslist.js +0 -20496
- package/external/@socketsecurity/registry/external/cacache.js +0 -16208
- package/external/@socketsecurity/registry/external/debug.js +0 -1163
- package/external/@socketsecurity/registry/external/fast-glob.js +0 -7994
- package/external/@socketsecurity/registry/external/fast-sort.js +0 -181
- package/external/@socketsecurity/registry/external/libnpmpack.js +0 -106271
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +0 -38997
- package/external/@socketsecurity/registry/external/normalize-package-data.js +0 -5343
- package/external/@socketsecurity/registry/external/npm-package-arg.js +0 -5773
- package/external/@socketsecurity/registry/external/pacote.js +0 -74109
- package/external/@socketsecurity/registry/external/picomatch.js +0 -2307
- package/external/@socketsecurity/registry/external/semver.js +0 -2618
- package/external/@socketsecurity/registry/external/signal-exit.js +0 -336
- package/external/@socketsecurity/registry/external/spdx-correct.js +0 -1457
- package/external/@socketsecurity/registry/external/spdx-expression-parse.js +0 -1043
- package/external/@socketsecurity/registry/external/streaming-iterables.js +0 -326
- package/external/@socketsecurity/registry/external/validate-npm-package-name.js +0 -108
- package/external/@socketsecurity/registry/external/which.js +0 -405
- package/external/@socketsecurity/registry/external/yoctocolors-cjs.js +0 -101
- package/external/@socketsecurity/registry/index.js +0 -31
- package/external/@socketsecurity/registry/lib/agent.js +0 -390
- package/external/@socketsecurity/registry/lib/arrays.js +0 -89
- package/external/@socketsecurity/registry/lib/bin.js +0 -650
- package/external/@socketsecurity/registry/lib/constants/abort-controller.js +0 -15
- package/external/@socketsecurity/registry/lib/constants/abort-signal.js +0 -27
- package/external/@socketsecurity/registry/lib/constants/at-latest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/biome-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun-lockb.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/bun.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ci.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/column-limit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/copy-left-licenses.js +0 -27
- package/external/@socketsecurity/registry/lib/constants/darwin.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-git-dir.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-package-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/dot-socket-dir.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/empty-file.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/empty-value.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/env.js +0 -59
- package/external/@socketsecurity/registry/lib/constants/eslint-config-js.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/esnext.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/exec-path.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cjs.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cmd.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-cts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-dts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-js.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-lockb.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-md.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-mjs.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-mts.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-ps1.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-yaml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/ext-yml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/extensions-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/extensions.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/get-ipc.js +0 -10
- package/external/@socketsecurity/registry/lib/constants/gitignore.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/index.js +0 -139
- package/external/@socketsecurity/registry/lib/constants/ipc-handler.js +0 -19
- package/external/@socketsecurity/registry/lib/constants/ipc-object.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/ipc-promise.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/ipc-target.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/k-internals-symbol.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/latest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license-original.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/license.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/lifecycle-script-names.js +0 -18
- package/external/@socketsecurity/registry/lib/constants/loop-sentinel.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/maintained-node-versions.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/manifest-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/mit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-auth-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-debug-flags.js +0 -9
- package/external/@socketsecurity/registry/lib/constants/node-env.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-harden-flags.js +0 -29
- package/external/@socketsecurity/registry/lib/constants/node-modules-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-modules.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/node-no-warnings-flags.js +0 -16
- package/external/@socketsecurity/registry/lib/constants/node-version.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npm-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/npm-real-exec-path.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/npm-shrinkwrap-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npm.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/npx.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/overrides.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-default-node-range.js +0 -6
- package/external/@socketsecurity/registry/lib/constants/package-default-socket-categories.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-default-version.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-extensions.js +0 -47
- package/external/@socketsecurity/registry/lib/constants/package-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/package-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/packument-cache.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pacote-cache-path.js +0 -9
- package/external/@socketsecurity/registry/lib/constants/pnpm-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/pnpm-lock-yaml.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pnpm.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/pre-commit.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-glob-recursive.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-glob.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/readme-md.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/registry-scope-delimiter.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/registry.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/resolutions.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-github-org.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-ipc-handshake.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-override-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-public-api-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-npm-org.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-package-name.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-repo-name.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-registry-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/socket-security-scope.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/spinner.js +0 -4
- package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-api.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-env-var.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-disable-warning-flag.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-permission-flag.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-node-require-module.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/supports-node-run.js +0 -8
- package/external/@socketsecurity/registry/lib/constants/supports-process-send.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/ts-libs-available.js +0 -22
- package/external/@socketsecurity/registry/lib/constants/ts-types-available.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/tsconfig-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/undefined-token.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unknown-error.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unknown-value.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unlicenced.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/unlicensed.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/utf8.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vitest.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vlt-lock-json.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/vlt.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/win32.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-berry.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-classic.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn-exec-path.js +0 -5
- package/external/@socketsecurity/registry/lib/constants/yarn-lock.js +0 -3
- package/external/@socketsecurity/registry/lib/constants/yarn.js +0 -3
- package/external/@socketsecurity/registry/lib/debug.js +0 -264
- package/external/@socketsecurity/registry/lib/env.js +0 -62
- package/external/@socketsecurity/registry/lib/fs.js +0 -556
- package/external/@socketsecurity/registry/lib/functions.js +0 -20
- package/external/@socketsecurity/registry/lib/globs.js +0 -145
- package/external/@socketsecurity/registry/lib/json.js +0 -69
- package/external/@socketsecurity/registry/lib/logger.js +0 -534
- package/external/@socketsecurity/registry/lib/objects.js +0 -422
- package/external/@socketsecurity/registry/lib/packages.js +0 -1376
- package/external/@socketsecurity/registry/lib/path.js +0 -231
- package/external/@socketsecurity/registry/lib/promises.js +0 -286
- package/external/@socketsecurity/registry/lib/prompts.js +0 -63
- package/external/@socketsecurity/registry/lib/regexps.js +0 -23
- package/external/@socketsecurity/registry/lib/sorts.js +0 -70
- package/external/@socketsecurity/registry/lib/spawn.js +0 -252
- package/external/@socketsecurity/registry/lib/spinner.js +0 -205
- package/external/@socketsecurity/registry/lib/streams.js +0 -84
- package/external/@socketsecurity/registry/lib/strings.js +0 -235
- package/external/@socketsecurity/registry/lib/url.js +0 -68
- package/external/@socketsecurity/registry/lib/words.js +0 -45
- package/external/@socketsecurity/registry/manifest.json +0 -1875
- package/external/blessed/LICENSE +0 -20
- package/external/blessed/README.md +0 -2421
- package/external/blessed/lib/alias.js +0 -528
- package/external/blessed/lib/blessed.js +0 -34
- package/external/blessed/lib/colors.js +0 -532
- package/external/blessed/lib/events.js +0 -191
- package/external/blessed/lib/gpmclient.js +0 -223
- package/external/blessed/lib/helpers.js +0 -167
- package/external/blessed/lib/keys.js +0 -341
- package/external/blessed/lib/program.js +0 -4297
- package/external/blessed/lib/tput.js +0 -3020
- package/external/blessed/lib/unicode.js +0 -792
- package/external/blessed/lib/widget.js +0 -62
- package/external/blessed/lib/widgets/ansiimage.js +0 -169
- package/external/blessed/lib/widgets/bigtext.js +0 -161
- package/external/blessed/lib/widgets/box.js +0 -36
- package/external/blessed/lib/widgets/button.js +0 -64
- package/external/blessed/lib/widgets/checkbox.js +0 -93
- package/external/blessed/lib/widgets/element.js +0 -2572
- package/external/blessed/lib/widgets/filemanager.js +0 -214
- package/external/blessed/lib/widgets/form.js +0 -269
- package/external/blessed/lib/widgets/image.js +0 -63
- package/external/blessed/lib/widgets/input.js +0 -36
- package/external/blessed/lib/widgets/layout.js +0 -235
- package/external/blessed/lib/widgets/line.js +0 -58
- package/external/blessed/lib/widgets/list.js +0 -601
- package/external/blessed/lib/widgets/listbar.js +0 -413
- package/external/blessed/lib/widgets/listtable.js +0 -254
- package/external/blessed/lib/widgets/loading.js +0 -90
- package/external/blessed/lib/widgets/log.js +0 -85
- package/external/blessed/lib/widgets/message.js +0 -125
- package/external/blessed/lib/widgets/node.js +0 -284
- package/external/blessed/lib/widgets/overlayimage.js +0 -719
- package/external/blessed/lib/widgets/progressbar.js +0 -159
- package/external/blessed/lib/widgets/prompt.js +0 -122
- package/external/blessed/lib/widgets/question.js +0 -118
- package/external/blessed/lib/widgets/radiobutton.js +0 -63
- package/external/blessed/lib/widgets/radioset.js +0 -38
- package/external/blessed/lib/widgets/screen.js +0 -2300
- package/external/blessed/lib/widgets/scrollablebox.js +0 -391
- package/external/blessed/lib/widgets/scrollabletext.js +0 -37
- package/external/blessed/lib/widgets/table.js +0 -356
- package/external/blessed/lib/widgets/terminal.js +0 -414
- package/external/blessed/lib/widgets/text.js +0 -37
- package/external/blessed/lib/widgets/textarea.js +0 -344
- package/external/blessed/lib/widgets/textbox.js +0 -79
- package/external/blessed/lib/widgets/video.js +0 -128
- package/external/blessed/usr/fonts/AUTHORS +0 -1
- package/external/blessed/usr/fonts/LICENSE +0 -94
- package/external/blessed/usr/fonts/README +0 -340
- package/external/blessed/usr/fonts/ter-u14b.json +0 -17826
- package/external/blessed/usr/fonts/ter-u14n.json +0 -17826
- package/external/blessed/usr/linux +0 -0
- package/external/blessed/usr/windows-ansi +0 -0
- package/external/blessed/usr/xterm +0 -0
- package/external/blessed/usr/xterm-256color +0 -0
- package/external/blessed/usr/xterm.termcap +0 -243
- package/external/blessed/usr/xterm.terminfo +0 -1977
- package/external/blessed/vendor/tng.js +0 -1757
- package/external/blessed-contrib/LICENSE.md +0 -21
- package/external/blessed-contrib/lib/layout/grid.js +0 -409
- package/external/blessed-contrib/lib/widget/charts/bar.js +0 -8370
- package/external/blessed-contrib/lib/widget/charts/line.js +0 -17924
- package/external/blessed-contrib/lib/widget/table.js +0 -187
- package/shadow-bin/npm +0 -27
- package/shadow-bin/npx +0 -27
- package/shadow-bin/pnpm +0 -27
- package/shadow-bin/yarn +0 -27
- /package/{translations.json → data/alert-translations.json} +0 -0
- /package/{requirements.json → data/command-api-requirements.json} +0 -0
- /package/{dist → data}/socket-completion.bash +0 -0
package/dist/constants.js
DELETED
|
@@ -1,845 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var fs = require('node:fs');
|
|
6
|
-
var require$$5 = require('node:module');
|
|
7
|
-
var os = require('node:os');
|
|
8
|
-
var path = require('node:path');
|
|
9
|
-
var require$$0 = require('node:url');
|
|
10
|
-
var registryConstants = require('../external/@socketsecurity/registry/lib/constants');
|
|
11
|
-
|
|
12
|
-
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
13
|
-
const require$1 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('constants.js', document.baseURI).href)));
|
|
14
|
-
const __filename$1 = require$$0.fileURLToPath((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('constants.js', document.baseURI).href)));
|
|
15
|
-
// Using `path.dirname(__filename)` to resolve `__dirname` works for both 'dist'
|
|
16
|
-
// AND 'src' directories because constants.js and constants.mts respectively are
|
|
17
|
-
// in the root of each.
|
|
18
|
-
const __dirname$1 = path.dirname(__filename$1);
|
|
19
|
-
const {
|
|
20
|
-
AT_LATEST,
|
|
21
|
-
BIOME_JSON,
|
|
22
|
-
BUN,
|
|
23
|
-
CI,
|
|
24
|
-
COLUMN_LIMIT,
|
|
25
|
-
DOT_GIT_DIR,
|
|
26
|
-
DOT_SOCKET_DIR,
|
|
27
|
-
EMPTY_FILE,
|
|
28
|
-
EMPTY_VALUE,
|
|
29
|
-
ESLINT_CONFIG_JS,
|
|
30
|
-
ESNEXT,
|
|
31
|
-
EXT_CJS,
|
|
32
|
-
EXT_CMD,
|
|
33
|
-
EXT_CTS,
|
|
34
|
-
EXT_DTS,
|
|
35
|
-
EXT_JS,
|
|
36
|
-
EXT_JSON,
|
|
37
|
-
EXT_LOCK,
|
|
38
|
-
EXT_LOCKB,
|
|
39
|
-
EXT_MD,
|
|
40
|
-
EXT_MJS,
|
|
41
|
-
EXT_MTS,
|
|
42
|
-
EXT_PS1,
|
|
43
|
-
EXT_YAML,
|
|
44
|
-
EXT_YML,
|
|
45
|
-
EXTENSIONS,
|
|
46
|
-
EXTENSIONS_JSON,
|
|
47
|
-
GITIGNORE,
|
|
48
|
-
DOT_PACKAGE_LOCK_JSON,
|
|
49
|
-
LATEST,
|
|
50
|
-
LICENSE,
|
|
51
|
-
LICENSE_GLOB,
|
|
52
|
-
LICENSE_GLOB_RECURSIVE,
|
|
53
|
-
LICENSE_ORIGINAL,
|
|
54
|
-
LICENSE_ORIGINAL_GLOB,
|
|
55
|
-
LICENSE_ORIGINAL_GLOB_RECURSIVE,
|
|
56
|
-
LOOP_SENTINEL,
|
|
57
|
-
MANIFEST_JSON,
|
|
58
|
-
MIT,
|
|
59
|
-
NODE_AUTH_TOKEN,
|
|
60
|
-
NODE_ENV,
|
|
61
|
-
NODE_MODULES,
|
|
62
|
-
NODE_MODULES_GLOB_RECURSIVE,
|
|
63
|
-
NPM,
|
|
64
|
-
NPX,
|
|
65
|
-
OVERRIDES,
|
|
66
|
-
PACKAGE_DEFAULT_VERSION,
|
|
67
|
-
PACKAGE_JSON,
|
|
68
|
-
PACKAGE_LOCK_JSON,
|
|
69
|
-
PNPM,
|
|
70
|
-
PNPM_LOCK_YAML,
|
|
71
|
-
PRE_COMMIT,
|
|
72
|
-
README_GLOB,
|
|
73
|
-
README_GLOB_RECURSIVE,
|
|
74
|
-
REGISTRY_SCOPE_DELIMITER,
|
|
75
|
-
README_MD,
|
|
76
|
-
REGISTRY,
|
|
77
|
-
RESOLUTIONS,
|
|
78
|
-
SOCKET_GITHUB_ORG,
|
|
79
|
-
SOCKET_IPC_HANDSHAKE,
|
|
80
|
-
SOCKET_OVERRIDE_SCOPE,
|
|
81
|
-
SOCKET_PUBLIC_API_TOKEN,
|
|
82
|
-
SOCKET_REGISTRY_NPM_ORG,
|
|
83
|
-
SOCKET_REGISTRY_PACKAGE_NAME,
|
|
84
|
-
SOCKET_REGISTRY_REPO_NAME,
|
|
85
|
-
SOCKET_REGISTRY_SCOPE,
|
|
86
|
-
SOCKET_SECURITY_SCOPE,
|
|
87
|
-
TSCONFIG_JSON,
|
|
88
|
-
UNKNOWN_ERROR,
|
|
89
|
-
UNKNOWN_VALUE,
|
|
90
|
-
UNLICENCED,
|
|
91
|
-
UNLICENSED,
|
|
92
|
-
UTF8,
|
|
93
|
-
VITEST,
|
|
94
|
-
VLT,
|
|
95
|
-
YARN,
|
|
96
|
-
YARN_BERRY,
|
|
97
|
-
YARN_CLASSIC,
|
|
98
|
-
YARN_LOCK,
|
|
99
|
-
kInternalsSymbol,
|
|
100
|
-
[kInternalsSymbol]: {
|
|
101
|
-
attributes: registryConstantsAttribs,
|
|
102
|
-
createConstantsObject,
|
|
103
|
-
getIpc
|
|
104
|
-
}
|
|
105
|
-
} = registryConstants;
|
|
106
|
-
// Socket CLI specific constants that are not in socket-registry.
|
|
107
|
-
const ALERT_TYPE_CRITICAL_CVE = 'criticalCVE';
|
|
108
|
-
const ALERT_TYPE_CVE = 'cve';
|
|
109
|
-
const ALERT_TYPE_MEDIUM_CVE = 'mediumCVE';
|
|
110
|
-
const ALERT_TYPE_MILD_CVE = 'mildCVE';
|
|
111
|
-
const API_V0_URL = 'https://api.socket.dev/v0/';
|
|
112
|
-
const CONFIG_KEY_API_BASE_URL = 'apiBaseUrl';
|
|
113
|
-
const CONFIG_KEY_API_PROXY = 'apiProxy';
|
|
114
|
-
const CONFIG_KEY_API_TOKEN = 'apiToken';
|
|
115
|
-
const CONFIG_KEY_DEFAULT_ORG = 'defaultOrg';
|
|
116
|
-
const CONFIG_KEY_ENFORCED_ORGS = 'enforcedOrgs';
|
|
117
|
-
const CONFIG_KEY_ORG = 'org';
|
|
118
|
-
const DOT_SOCKET_DOT_FACTS_JSON = `${DOT_SOCKET_DIR}.facts.json`;
|
|
119
|
-
const DLX_BINARY_CACHE_TTL = 7 * 24 * 60 * 60 * 1_000; // 7 days in milliseconds.
|
|
120
|
-
const DRY_RUN_LABEL = '[DryRun]';
|
|
121
|
-
const DRY_RUN_BAILING_NOW = `${DRY_RUN_LABEL}: Bailing now`;
|
|
122
|
-
const DRY_RUN_NOT_SAVING = `${DRY_RUN_LABEL}: Not saving`;
|
|
123
|
-
const ENVIRONMENT_YAML = 'environment.yaml';
|
|
124
|
-
const ENVIRONMENT_YML = 'environment.yml';
|
|
125
|
-
const ERROR_NO_MANIFEST_FILES = 'No manifest files found';
|
|
126
|
-
const ERROR_NO_PACKAGE_JSON = 'No package.json found';
|
|
127
|
-
const ERROR_NO_REPO_FOUND = 'No repo found';
|
|
128
|
-
const ERROR_NO_SOCKET_DIR = 'No .socket directory found';
|
|
129
|
-
const ERROR_UNABLE_RESOLVE_ORG = 'Unable to resolve a Socket account organization';
|
|
130
|
-
const FLAG_CONFIG = '--config';
|
|
131
|
-
const FLAG_DRY_RUN = '--dry-run';
|
|
132
|
-
const FLAG_HELP = '--help';
|
|
133
|
-
const FLAG_HELP_FULL = '--help-full';
|
|
134
|
-
const FLAG_ID = '--id';
|
|
135
|
-
const FLAG_JSON = '--json';
|
|
136
|
-
const FLAG_LOGLEVEL = '--loglevel';
|
|
137
|
-
const FLAG_MARKDOWN = '--markdown';
|
|
138
|
-
const FLAG_ORG = '--org';
|
|
139
|
-
const FLAG_PIN = '--pin';
|
|
140
|
-
const FLAG_PROD = '--prod';
|
|
141
|
-
const FLAG_QUIET = '--quiet';
|
|
142
|
-
const FLAG_SILENT = '--silent';
|
|
143
|
-
const FLAG_TEXT = '--text';
|
|
144
|
-
const FLAG_VERBOSE = '--verbose';
|
|
145
|
-
const FLAG_VERSION = '--version';
|
|
146
|
-
const FOLD_SETTING_FILE = 'file';
|
|
147
|
-
const FOLD_SETTING_NONE = 'none';
|
|
148
|
-
const FOLD_SETTING_PKG = 'pkg';
|
|
149
|
-
const FOLD_SETTING_VERSION = 'version';
|
|
150
|
-
const GQL_PAGE_SENTINEL = 100;
|
|
151
|
-
const GQL_PR_STATE_CLOSED = 'CLOSED';
|
|
152
|
-
const GQL_PR_STATE_MERGED = 'MERGED';
|
|
153
|
-
const GQL_PR_STATE_OPEN = 'OPEN';
|
|
154
|
-
const HTTP_STATUS_BAD_REQUEST = 400;
|
|
155
|
-
const HTTP_STATUS_FORBIDDEN = 403;
|
|
156
|
-
const HTTP_STATUS_INTERNAL_SERVER_ERROR = 500;
|
|
157
|
-
const HTTP_STATUS_NOT_FOUND = 404;
|
|
158
|
-
const HTTP_STATUS_UNAUTHORIZED = 401;
|
|
159
|
-
const NPM_BUGGY_OVERRIDES_PATCHED_VERSION = '11.2.0';
|
|
160
|
-
const NPM_REGISTRY_URL = 'https://registry.npmjs.org';
|
|
161
|
-
const OUTPUT_JSON = 'json';
|
|
162
|
-
const OUTPUT_MARKDOWN = 'markdown';
|
|
163
|
-
const OUTPUT_TEXT = 'text';
|
|
164
|
-
const PNPM_WORKSPACE_YAML = 'pnpm-workspace.yaml';
|
|
165
|
-
const REDACTED = '<redacted>';
|
|
166
|
-
const REPORT_LEVEL_DEFER = 'defer';
|
|
167
|
-
const REPORT_LEVEL_ERROR = 'error';
|
|
168
|
-
const REPORT_LEVEL_IGNORE = 'ignore';
|
|
169
|
-
const REPORT_LEVEL_MONITOR = 'monitor';
|
|
170
|
-
const REPORT_LEVEL_WARN = 'warn';
|
|
171
|
-
const REQUIREMENTS_TXT = 'requirements.txt';
|
|
172
|
-
const SOCKET_CLI_ACCEPT_RISKS = 'SOCKET_CLI_ACCEPT_RISKS';
|
|
173
|
-
const SOCKET_CLI_BIN_NAME = 'socket';
|
|
174
|
-
const SOCKET_CLI_ISSUES_URL = 'https://github.com/SocketDev/socket-cli/issues';
|
|
175
|
-
const SOCKET_CLI_SHADOW_ACCEPT_RISKS = 'SOCKET_CLI_SHADOW_ACCEPT_RISKS';
|
|
176
|
-
const SOCKET_CLI_SHADOW_API_TOKEN = 'SOCKET_CLI_SHADOW_API_TOKEN';
|
|
177
|
-
const SOCKET_CLI_SHADOW_BIN = 'SOCKET_CLI_SHADOW_BIN';
|
|
178
|
-
const SOCKET_CLI_SHADOW_PROGRESS = 'SOCKET_CLI_SHADOW_PROGRESS';
|
|
179
|
-
const SOCKET_CLI_SHADOW_SILENT = 'SOCKET_CLI_SHADOW_SILENT';
|
|
180
|
-
const SOCKET_CLI_VIEW_ALL_RISKS = 'SOCKET_CLI_VIEW_ALL_RISKS';
|
|
181
|
-
const SOCKET_DEFAULT_BRANCH = 'socket-default-branch';
|
|
182
|
-
const SOCKET_DEFAULT_REPOSITORY = 'socket-default-repository';
|
|
183
|
-
const SOCKET_JSON = 'socket.json';
|
|
184
|
-
const SOCKET_WEBSITE_URL = 'https://socket.dev';
|
|
185
|
-
const SOCKET_YAML = 'socket.yaml';
|
|
186
|
-
const SOCKET_YML = 'socket.yml';
|
|
187
|
-
const V1_MIGRATION_GUIDE_URL = 'https://docs.socket.dev/docs/v1-migration-guide';
|
|
188
|
-
let _Sentry;
|
|
189
|
-
let _npmStdioPipeOptions;
|
|
190
|
-
function getNpmStdioPipeOptions() {
|
|
191
|
-
if (_npmStdioPipeOptions === undefined) {
|
|
192
|
-
_npmStdioPipeOptions = {
|
|
193
|
-
cwd: process.cwd(),
|
|
194
|
-
// On Windows, npm is often a .cmd file that requires shell execution.
|
|
195
|
-
// The spawn function from @socketsecurity/registry will handle this properly
|
|
196
|
-
// when shell is true.
|
|
197
|
-
shell: constants.WIN32
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
return _npmStdioPipeOptions;
|
|
201
|
-
}
|
|
202
|
-
const LAZY_ENV = () => {
|
|
203
|
-
const {
|
|
204
|
-
env
|
|
205
|
-
} = process;
|
|
206
|
-
const envHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/env');
|
|
207
|
-
const utils = /*@__PURE__*/require$1(path.join(constants.rootPath, 'dist/utils.js'));
|
|
208
|
-
const envAsBoolean = envHelpers.envAsBoolean;
|
|
209
|
-
const envAsNumber = envHelpers.envAsNumber;
|
|
210
|
-
const envAsString = envHelpers.envAsString;
|
|
211
|
-
const getConfigValueOrUndef = utils.getConfigValueOrUndef;
|
|
212
|
-
const readOrDefaultSocketJson = utils.readOrDefaultSocketJson;
|
|
213
|
-
const GITHUB_TOKEN = envAsString(env['GITHUB_TOKEN']);
|
|
214
|
-
const INLINED_SOCKET_CLI_PUBLISHED_BUILD = envAsBoolean(true);
|
|
215
|
-
// We inline some environment values so that they CANNOT be influenced by user
|
|
216
|
-
// provided environment variables.
|
|
217
|
-
return Object.freeze({
|
|
218
|
-
__proto__: null,
|
|
219
|
-
// Lazily access registryConstants.ENV.
|
|
220
|
-
...registryConstants.ENV,
|
|
221
|
-
// Disable using GitHub's workflow actions/cache.
|
|
222
|
-
// https://github.com/actions/cache
|
|
223
|
-
DISABLE_GITHUB_CACHE: envAsBoolean(env['DISABLE_GITHUB_CACHE']),
|
|
224
|
-
// The API URL. For example, https://api.github.com.
|
|
225
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
226
|
-
GITHUB_API_URL: envAsString(env['GITHUB_API_URL']) || 'https://api.github.com',
|
|
227
|
-
// The name of the base ref or target branch of the pull request in a workflow
|
|
228
|
-
// run. This is only set when the event that triggers a workflow run is either
|
|
229
|
-
// pull_request or pull_request_target. For example, main.
|
|
230
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
231
|
-
GITHUB_BASE_REF: envAsString(env['GITHUB_BASE_REF']),
|
|
232
|
-
// The short ref name of the branch or tag that triggered the GitHub workflow
|
|
233
|
-
// run. This value matches the branch or tag name shown on GitHub. For example,
|
|
234
|
-
// feature-branch-1. For pull requests, the format is <pr_number>/merge.
|
|
235
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
236
|
-
GITHUB_REF_NAME: envAsString(env['GITHUB_REF_NAME']),
|
|
237
|
-
// The type of ref that triggered the workflow run. Valid values are branch or tag.
|
|
238
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
239
|
-
GITHUB_REF_TYPE: envAsString(env['GITHUB_REF_TYPE']),
|
|
240
|
-
// The owner and repository name. For example, octocat/Hello-World.
|
|
241
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
242
|
-
GITHUB_REPOSITORY: envAsString(env['GITHUB_REPOSITORY']),
|
|
243
|
-
// The URL of the GitHub server. For example, https://github.com.
|
|
244
|
-
// https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
|
|
245
|
-
GITHUB_SERVER_URL: envAsString(env['GITHUB_SERVER_URL']) || 'https://github.com',
|
|
246
|
-
// The GITHUB_TOKEN secret is a GitHub App installation access token.
|
|
247
|
-
// The token's permissions are limited to the repository that contains the
|
|
248
|
-
// workflow.
|
|
249
|
-
// https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#about-the-github_token-secret
|
|
250
|
-
GITHUB_TOKEN,
|
|
251
|
-
// Comp-time inlined @coana-tech/cli package version.
|
|
252
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION']".
|
|
253
|
-
INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION: envAsString("14.12.51"),
|
|
254
|
-
// Comp-time inlined @cyclonedx/cdxgen package version.
|
|
255
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION']".
|
|
256
|
-
INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION: envAsString("11.7.0"),
|
|
257
|
-
// Comp-time inlined Socket package homepage.
|
|
258
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_HOMEPAGE']".
|
|
259
|
-
INLINED_SOCKET_CLI_HOMEPAGE: envAsString("https://github.com/SocketDev/socket-cli"),
|
|
260
|
-
// Comp-time inlined flag to determine if this is the Legacy build.
|
|
261
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_LEGACY_BUILD']".
|
|
262
|
-
INLINED_SOCKET_CLI_LEGACY_BUILD: envAsBoolean(false),
|
|
263
|
-
// Comp-time inlined Socket package name.
|
|
264
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_NAME']".
|
|
265
|
-
INLINED_SOCKET_CLI_NAME: envAsString("@socketsecurity/cli"),
|
|
266
|
-
// Comp-time inlined flag to determine if this is a published build.
|
|
267
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']".
|
|
268
|
-
INLINED_SOCKET_CLI_PUBLISHED_BUILD,
|
|
269
|
-
// Comp-time inlined flag to determine if this is the Sentry build.
|
|
270
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']".
|
|
271
|
-
INLINED_SOCKET_CLI_SENTRY_BUILD: envAsBoolean(true),
|
|
272
|
-
// Comp-time inlined synp package version.
|
|
273
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_SYNP_VERSION']".
|
|
274
|
-
INLINED_SOCKET_CLI_SYNP_VERSION: envAsString("1.9.14"),
|
|
275
|
-
// Comp-time inlined Socket package version.
|
|
276
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
277
|
-
INLINED_SOCKET_CLI_VERSION: envAsString("1.1.25"),
|
|
278
|
-
// Comp-time inlined Socket package version hash.
|
|
279
|
-
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
280
|
-
INLINED_SOCKET_CLI_VERSION_HASH: envAsString("1.1.25:6380947:8cc7a3d9"),
|
|
281
|
-
// Enable the module compile cache for the Node.js instance.
|
|
282
|
-
// https://nodejs.org/api/cli.html#node_compile_cachedir
|
|
283
|
-
NODE_COMPILE_CACHE: constants.SUPPORTS_NODE_COMPILE_CACHE_ENV_VAR ? constants.socketCachePath : '',
|
|
284
|
-
// Redefine registryConstants.ENV.NODE_ENV to account for the
|
|
285
|
-
// INLINED_SOCKET_CLI_PUBLISHED_BUILD environment variable.
|
|
286
|
-
NODE_ENV: envAsString(env['NODE_ENV']).toLowerCase() === 'production' ? 'production' : INLINED_SOCKET_CLI_PUBLISHED_BUILD ? '' : 'development',
|
|
287
|
-
// Well known "root" CAs (like VeriSign) will be extended with the extra
|
|
288
|
-
// certificates in file. The file should consist of one or more trusted
|
|
289
|
-
// certificates in PEM format.
|
|
290
|
-
// https://nodejs.org/api/cli.html#node_extra_ca_certsfile
|
|
291
|
-
NODE_EXTRA_CA_CERTS: envAsString(env['NODE_EXTRA_CA_CERTS']) ||
|
|
292
|
-
// Commonly used environment variable to specify the path to a single
|
|
293
|
-
// PEM-encoded certificate file.
|
|
294
|
-
envAsString(env['SSL_CERT_FILE']),
|
|
295
|
-
// npm cache directory path. Used to detect if running from npm's npx cache
|
|
296
|
-
// for temporary execution contexts.
|
|
297
|
-
npm_config_cache: envAsString(env['npm_config_cache']),
|
|
298
|
-
// Package manager user agent string that identifies which package manager
|
|
299
|
-
// is executing commands. Used to detect temporary execution contexts like
|
|
300
|
-
// npx, pnpm dlx, or yarn dlx.
|
|
301
|
-
// Expected values:
|
|
302
|
-
// - npm: 'npm/version node/version os arch' (e.g., 'npm/10.0.0 node/v20.0.0 darwin x64')
|
|
303
|
-
// - npx: Similar to npm but may include 'npx' or 'exec' in the string
|
|
304
|
-
// - yarn: 'yarn/version npm/? node/version os arch' (e.g., 'yarn/1.22.0 npm/? node/v20.0.0 darwin x64')
|
|
305
|
-
// - pnpm: 'pnpm/version node/version os arch' (Note: Not set for pnpm dlx/create/init)
|
|
306
|
-
// - When running via exec/npx/dlx, the string may contain 'exec', 'npx', or 'dlx'
|
|
307
|
-
npm_config_user_agent: envAsString(env['npm_config_user_agent']),
|
|
308
|
-
// PATH is an environment variable that lists directories where executable
|
|
309
|
-
// programs are located. When a command is run, the system searches these
|
|
310
|
-
// directories to find the executable.
|
|
311
|
-
PATH: envAsString(env['PATH']),
|
|
312
|
-
// Accept risks of a Socket wrapped npm/npx run.
|
|
313
|
-
SOCKET_CLI_ACCEPT_RISKS: envAsBoolean(env[SOCKET_CLI_ACCEPT_RISKS]),
|
|
314
|
-
// Change the base URL for Socket API calls.
|
|
315
|
-
// https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables-for-development
|
|
316
|
-
SOCKET_CLI_API_BASE_URL: envAsString(env['SOCKET_CLI_API_BASE_URL']) ||
|
|
317
|
-
// TODO: Remove legacy environment variable name.
|
|
318
|
-
envAsString(env['SOCKET_SECURITY_API_BASE_URL']) || getConfigValueOrUndef('apiBaseUrl') || API_V0_URL,
|
|
319
|
-
// Set the proxy that all requests are routed through.
|
|
320
|
-
// https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables-for-development
|
|
321
|
-
SOCKET_CLI_API_PROXY: envAsString(env['SOCKET_CLI_API_PROXY']) ||
|
|
322
|
-
// TODO: Remove legacy environment variable name.
|
|
323
|
-
envAsString(env['SOCKET_SECURITY_API_PROXY']) ||
|
|
324
|
-
// Commonly used environment variables to specify routing requests through
|
|
325
|
-
// a proxy server.
|
|
326
|
-
envAsString(env['HTTPS_PROXY']) || envAsString(env['https_proxy']) || envAsString(env['HTTP_PROXY']) || envAsString(env['http_proxy']),
|
|
327
|
-
// Set the timeout in milliseconds for Socket API requests.
|
|
328
|
-
// https://nodejs.org/api/http.html#httprequesturl-options-callback
|
|
329
|
-
SOCKET_CLI_API_TIMEOUT: envAsNumber(env['SOCKET_CLI_API_TIMEOUT']),
|
|
330
|
-
// Set the Socket API token.
|
|
331
|
-
// https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables
|
|
332
|
-
SOCKET_CLI_API_TOKEN: envAsString(env['SOCKET_CLI_API_TOKEN']) ||
|
|
333
|
-
// TODO: Remove legacy environment variable names.
|
|
334
|
-
envAsString(env['SOCKET_CLI_API_KEY']) || envAsString(env['SOCKET_SECURITY_API_TOKEN']) || envAsString(env['SOCKET_SECURITY_API_KEY']),
|
|
335
|
-
// A JSON stringified Socket configuration object.
|
|
336
|
-
SOCKET_CLI_CONFIG: envAsString(env['SOCKET_CLI_CONFIG']),
|
|
337
|
-
// The git config user.email used by Socket CLI.
|
|
338
|
-
SOCKET_CLI_GIT_USER_EMAIL: envAsString(env['SOCKET_CLI_GIT_USER_EMAIL']) || 'github-actions[bot]@users.noreply.github.com',
|
|
339
|
-
// The git config user.name used by Socket CLI.
|
|
340
|
-
SOCKET_CLI_GIT_USER_NAME: envAsString(env['SOCKET_CLI_GIT_USER_NAME']) || envAsString(env['SOCKET_CLI_GIT_USERNAME']) || 'github-actions[bot]',
|
|
341
|
-
// Change the base URL for GitHub REST API calls.
|
|
342
|
-
// https://docs.github.com/en/rest
|
|
343
|
-
SOCKET_CLI_GITHUB_API_URL: envAsString(env['SOCKET_CLI_GITHUB_API_URL']) || readOrDefaultSocketJson(process.cwd())?.defaults?.scan?.github?.githubApiUrl || 'https://api.github.com',
|
|
344
|
-
// A classic GitHub personal access token with the "repo" scope or a
|
|
345
|
-
// fine-grained access token with at least read/write permissions set for
|
|
346
|
-
// "Contents" and "Pull Request".
|
|
347
|
-
// https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
|
|
348
|
-
SOCKET_CLI_GITHUB_TOKEN: envAsString(env['SOCKET_CLI_GITHUB_TOKEN']) ||
|
|
349
|
-
// TODO: Remove undocumented legacy environment variable name.
|
|
350
|
-
envAsString(env['SOCKET_SECURITY_GITHUB_PAT']) || GITHUB_TOKEN,
|
|
351
|
-
// Make the default API token `undefined`.
|
|
352
|
-
SOCKET_CLI_NO_API_TOKEN: envAsBoolean(env['SOCKET_CLI_NO_API_TOKEN']),
|
|
353
|
-
// The absolute location of the npm directory.
|
|
354
|
-
SOCKET_CLI_NPM_PATH: envAsString(env['SOCKET_CLI_NPM_PATH']),
|
|
355
|
-
// Specify the Socket organization slug.
|
|
356
|
-
SOCKET_CLI_ORG_SLUG: envAsString(env['SOCKET_CLI_ORG_SLUG']) ||
|
|
357
|
-
// Coana CLI accepts the SOCKET_ORG_SLUG environment variable.
|
|
358
|
-
envAsString(env['SOCKET_ORG_SLUG']),
|
|
359
|
-
// View all risks of a Socket wrapped npm/npx run.
|
|
360
|
-
SOCKET_CLI_VIEW_ALL_RISKS: envAsBoolean(env[SOCKET_CLI_VIEW_ALL_RISKS]),
|
|
361
|
-
// Specifies the type of terminal or terminal emulator being used by the process.
|
|
362
|
-
TERM: envAsString(env['TERM']),
|
|
363
|
-
// Redefine registryConstants.ENV.VITEST to account for the
|
|
364
|
-
// INLINED_SOCKET_CLI_PUBLISHED_BUILD environment variable.
|
|
365
|
-
VITEST: INLINED_SOCKET_CLI_PUBLISHED_BUILD ? false : envAsBoolean(false)
|
|
366
|
-
});
|
|
367
|
-
};
|
|
368
|
-
const lazyBashRcPath = () => path.join(constants.homePath, '.bashrc');
|
|
369
|
-
const lazyBinPath = () => path.join(constants.rootPath, 'bin');
|
|
370
|
-
const lazyBinCliPath = () => path.join(constants.binPath, 'cli.js');
|
|
371
|
-
const lazyBlessedContribPath = () => path.join(constants.externalPath, 'blessed-contrib');
|
|
372
|
-
const lazyBlessedOptions = () => Object.freeze({
|
|
373
|
-
smartCSR: true,
|
|
374
|
-
term: constants.WIN32 ? 'windows-ansi' : 'xterm',
|
|
375
|
-
useBCE: true
|
|
376
|
-
});
|
|
377
|
-
const lazyBlessedPath = () => path.join(constants.externalPath, 'blessed');
|
|
378
|
-
const lazyDistCliPath = () => path.join(constants.distPath, 'cli.js');
|
|
379
|
-
const lazyDistPath = () => path.join(constants.rootPath, 'dist');
|
|
380
|
-
const lazyExternalPath = () => path.join(constants.rootPath, 'external');
|
|
381
|
-
const lazyGithubCachePath = () => path.join(constants.socketCachePath, 'github');
|
|
382
|
-
const lazyHomePath = () => os.homedir();
|
|
383
|
-
const lazyInstrumentWithSentryPath = () => path.join(constants.distPath, 'instrument-with-sentry.js');
|
|
384
|
-
const lazyMinimumVersionByAgent = () => new Map([
|
|
385
|
-
// Bun >=1.1.39 supports the text-based lockfile.
|
|
386
|
-
// https://bun.sh/blog/bun-lock-text-lockfile
|
|
387
|
-
[BUN, '1.1.39'],
|
|
388
|
-
// The npm version bundled with Node 18.
|
|
389
|
-
// https://nodejs.org/en/about/previous-releases#looking-for-the-latest-release-of-a-version-branch
|
|
390
|
-
[NPM, '10.8.2'],
|
|
391
|
-
// 8.x is the earliest version to support Node 18.
|
|
392
|
-
// https://pnpm.io/installation#compatibility
|
|
393
|
-
// https://www.npmjs.com/package/pnpm?activeTab=versions
|
|
394
|
-
[PNPM, '8.15.7'],
|
|
395
|
-
// 4.x supports >= Node 18.12.0
|
|
396
|
-
// https://github.com/yarnpkg/berry/blob/%40yarnpkg/core/4.1.0/CHANGELOG.md#400
|
|
397
|
-
[YARN_BERRY, '4.0.0'],
|
|
398
|
-
// Latest 1.x.
|
|
399
|
-
// https://www.npmjs.com/package/yarn?activeTab=versions
|
|
400
|
-
[YARN_CLASSIC, '1.22.22'],
|
|
401
|
-
// vlt does not support overrides so we don't gate on it.
|
|
402
|
-
[VLT, '*']]);
|
|
403
|
-
const lazyNmBinPath = () => path.join(constants.rootPath, 'node_modules/.bin');
|
|
404
|
-
const lazyNodeDebugFlags = () => constants.ENV.SOCKET_CLI_DEBUG ? ['--trace-uncaught', '--trace-warnings'] : [];
|
|
405
|
-
|
|
406
|
-
// Redefine registryConstants.nodeHardenFlags to account for the
|
|
407
|
-
// INLINED_SOCKET_CLI_SENTRY_BUILD environment variable.
|
|
408
|
-
const lazyNodeHardenFlags = () => Object.freeze(
|
|
409
|
-
// Harden Node security.
|
|
410
|
-
// https://nodejs.org/en/learn/getting-started/security-best-practices
|
|
411
|
-
constants.ENV.INLINED_SOCKET_CLI_SENTRY_BUILD || constants.WIN32 ? [
|
|
412
|
-
// https://nodejs.org/api/cli.html#--disallow-code-generation-from-strings
|
|
413
|
-
// '--disallow-code-generation-from-strings'
|
|
414
|
-
] : [
|
|
415
|
-
// '--disallow-code-generation-from-strings',
|
|
416
|
-
// https://nodejs.org/api/cli.html#--disable-protomode
|
|
417
|
-
// '--disable-proto',
|
|
418
|
-
// 'throw',
|
|
419
|
-
// https://nodejs.org/api/cli.html#--frozen-intrinsics
|
|
420
|
-
// We have contributed the following patches to our dependencies to make
|
|
421
|
-
// Node's --frozen-intrinsics workable.
|
|
422
|
-
// √ https://github.com/SBoudrias/Inquirer.js/pull/1683
|
|
423
|
-
// √ https://github.com/pnpm/components/pull/23
|
|
424
|
-
// '--frozen-intrinsics',
|
|
425
|
-
// https://nodejs.org/api/cli.html#--no-deprecation
|
|
426
|
-
// '--no-deprecation',
|
|
427
|
-
]);
|
|
428
|
-
const lazyNodeMemoryFlags = () => {
|
|
429
|
-
const flags = /*@__PURE__*/require$1(path.join(constants.rootPath, 'dist/flags.js'));
|
|
430
|
-
const getMaxOldSpaceSizeFlag = flags.getMaxOldSpaceSizeFlag;
|
|
431
|
-
const getMaxSemiSpaceSizeFlag = flags.getMaxSemiSpaceSizeFlag;
|
|
432
|
-
return Object.freeze([`--max-old-space-size=${getMaxOldSpaceSizeFlag()}`, `--max-semi-space-size=${getMaxSemiSpaceSizeFlag()}`]);
|
|
433
|
-
};
|
|
434
|
-
const lazyNpmCachePath = () => {
|
|
435
|
-
const spawnHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/spawn');
|
|
436
|
-
const spawnSync = spawnHelpers.spawnSync;
|
|
437
|
-
return spawnSync(constants.npmExecPath, ['config', 'get', 'cache'], getNpmStdioPipeOptions()).stdout;
|
|
438
|
-
};
|
|
439
|
-
const lazyNpmGlobalPrefix = () => {
|
|
440
|
-
const spawnHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/spawn');
|
|
441
|
-
const spawnSync = spawnHelpers.spawnSync;
|
|
442
|
-
return spawnSync(constants.npmExecPath, ['prefix', '-g'], getNpmStdioPipeOptions()).stdout;
|
|
443
|
-
};
|
|
444
|
-
const lazyNpmNmNodeGypPath = () => path.join(constants.npmRealExecPath, '../../node_modules/node-gyp/bin/node-gyp.js');
|
|
445
|
-
const lazyProcessEnv = () => Object.setPrototypeOf(Object.fromEntries(Object.entries(constants.ENV).reduce((entries, entry) => {
|
|
446
|
-
const {
|
|
447
|
-
0: key,
|
|
448
|
-
1: value
|
|
449
|
-
} = entry;
|
|
450
|
-
if (key.startsWith('INLINED_SOCKET_CLI_')) {
|
|
451
|
-
return entries;
|
|
452
|
-
}
|
|
453
|
-
if (typeof value === 'string') {
|
|
454
|
-
if (value) {
|
|
455
|
-
entries.push(entry);
|
|
456
|
-
}
|
|
457
|
-
} else if (typeof value === 'boolean' && value) {
|
|
458
|
-
entries.push([key, '1']);
|
|
459
|
-
}
|
|
460
|
-
return entries;
|
|
461
|
-
}, [])), null);
|
|
462
|
-
const lazyRootPath = () => path.join(fs.realpathSync.native(__dirname$1), '..');
|
|
463
|
-
const lazyShadowBinPath = () => path.join(constants.rootPath, 'shadow-npm-bin');
|
|
464
|
-
const lazyShadowNpmBinPath = () => path.join(constants.distPath, 'shadow-npm-bin.js');
|
|
465
|
-
const lazyShadowNpmInjectPath = () => path.join(constants.distPath, 'shadow-npm-inject.js');
|
|
466
|
-
const lazyShadowNpxBinPath = () => path.join(constants.distPath, 'shadow-npx-bin.js');
|
|
467
|
-
const lazyShadowPnpmBinPath = () => path.join(constants.distPath, 'shadow-pnpm-bin.js');
|
|
468
|
-
const lazyShadowYarnBinPath = () => path.join(constants.distPath, 'shadow-yarn-bin.js');
|
|
469
|
-
const lazySocketAppDataPath = () => {
|
|
470
|
-
// Get the OS app data directory:
|
|
471
|
-
// - Win: %LOCALAPPDATA% or fail?
|
|
472
|
-
// - Mac: %XDG_DATA_HOME% or fallback to "~/Library/Application Support/"
|
|
473
|
-
// - Linux: %XDG_DATA_HOME% or fallback to "~/.local/share/"
|
|
474
|
-
// Note: LOCALAPPDATA is typically: C:\Users\USERNAME\AppData
|
|
475
|
-
// Note: XDG stands for "X Desktop Group", nowadays "freedesktop.org"
|
|
476
|
-
// On most systems that path is: $HOME/.local/share
|
|
477
|
-
// Then append `socket/settings`, so:
|
|
478
|
-
// - Win: %LOCALAPPDATA%\socket\settings or return undefined
|
|
479
|
-
// - Mac: %XDG_DATA_HOME%/socket/settings or "~/Library/Application Support/socket/settings"
|
|
480
|
-
// - Linux: %XDG_DATA_HOME%/socket/settings or "~/.local/share/socket/settings"
|
|
481
|
-
const {
|
|
482
|
-
WIN32
|
|
483
|
-
} = constants;
|
|
484
|
-
let dataHome = WIN32 ? constants.ENV.LOCALAPPDATA : constants.ENV.XDG_DATA_HOME;
|
|
485
|
-
if (!dataHome) {
|
|
486
|
-
if (WIN32) {
|
|
487
|
-
const logger = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/logger');
|
|
488
|
-
logger.warn(`Missing %LOCALAPPDATA%.`);
|
|
489
|
-
} else {
|
|
490
|
-
dataHome = path.join(constants.homePath, constants.DARWIN ? 'Library/Application Support' : '.local/share');
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
return dataHome ? path.join(dataHome, 'socket/settings') : undefined;
|
|
494
|
-
};
|
|
495
|
-
const lazySocketCachePath = () => path.join(constants.rootPath, '.cache');
|
|
496
|
-
const lazySocketRegistryPath = () => path.join(constants.externalPath, '@socketsecurity/registry');
|
|
497
|
-
const lazyZshRcPath = () => path.join(constants.homePath, '.zshrc');
|
|
498
|
-
const constants = createConstantsObject({
|
|
499
|
-
...registryConstantsAttribs.props,
|
|
500
|
-
ALERT_TYPE_CRITICAL_CVE,
|
|
501
|
-
ALERT_TYPE_CVE,
|
|
502
|
-
ALERT_TYPE_MEDIUM_CVE,
|
|
503
|
-
ALERT_TYPE_MILD_CVE,
|
|
504
|
-
API_V0_URL,
|
|
505
|
-
BUN,
|
|
506
|
-
CONFIG_KEY_API_BASE_URL,
|
|
507
|
-
CONFIG_KEY_API_PROXY,
|
|
508
|
-
CONFIG_KEY_API_TOKEN,
|
|
509
|
-
CONFIG_KEY_DEFAULT_ORG,
|
|
510
|
-
CONFIG_KEY_ENFORCED_ORGS,
|
|
511
|
-
CONFIG_KEY_ORG,
|
|
512
|
-
DOT_GIT_DIR,
|
|
513
|
-
DOT_SOCKET_DIR,
|
|
514
|
-
DOT_SOCKET_DOT_FACTS_JSON,
|
|
515
|
-
DRY_RUN_BAILING_NOW,
|
|
516
|
-
DRY_RUN_LABEL,
|
|
517
|
-
DRY_RUN_NOT_SAVING,
|
|
518
|
-
ENV: undefined,
|
|
519
|
-
ENVIRONMENT_YAML,
|
|
520
|
-
ENVIRONMENT_YML,
|
|
521
|
-
ERROR_NO_MANIFEST_FILES,
|
|
522
|
-
ERROR_NO_PACKAGE_JSON,
|
|
523
|
-
ERROR_NO_REPO_FOUND,
|
|
524
|
-
ERROR_NO_SOCKET_DIR,
|
|
525
|
-
ERROR_UNABLE_RESOLVE_ORG,
|
|
526
|
-
EXT_YAML,
|
|
527
|
-
EXT_YML,
|
|
528
|
-
FLAG_CONFIG,
|
|
529
|
-
FLAG_DRY_RUN,
|
|
530
|
-
FLAG_HELP,
|
|
531
|
-
FLAG_HELP_FULL,
|
|
532
|
-
FLAG_ID,
|
|
533
|
-
FLAG_JSON,
|
|
534
|
-
FLAG_LOGLEVEL,
|
|
535
|
-
FLAG_MARKDOWN,
|
|
536
|
-
FLAG_ORG,
|
|
537
|
-
FLAG_PIN,
|
|
538
|
-
FLAG_PROD,
|
|
539
|
-
FLAG_QUIET,
|
|
540
|
-
FLAG_SILENT,
|
|
541
|
-
FLAG_TEXT,
|
|
542
|
-
FLAG_VERBOSE,
|
|
543
|
-
FLAG_VERSION,
|
|
544
|
-
FOLD_SETTING_FILE,
|
|
545
|
-
FOLD_SETTING_NONE,
|
|
546
|
-
FOLD_SETTING_PKG,
|
|
547
|
-
FOLD_SETTING_VERSION,
|
|
548
|
-
GQL_PAGE_SENTINEL,
|
|
549
|
-
GQL_PR_STATE_CLOSED,
|
|
550
|
-
GQL_PR_STATE_MERGED,
|
|
551
|
-
GQL_PR_STATE_OPEN,
|
|
552
|
-
HTTP_STATUS_BAD_REQUEST,
|
|
553
|
-
HTTP_STATUS_FORBIDDEN,
|
|
554
|
-
HTTP_STATUS_INTERNAL_SERVER_ERROR,
|
|
555
|
-
HTTP_STATUS_NOT_FOUND,
|
|
556
|
-
HTTP_STATUS_UNAUTHORIZED,
|
|
557
|
-
NODE_MODULES,
|
|
558
|
-
NPM_BUGGY_OVERRIDES_PATCHED_VERSION,
|
|
559
|
-
NPM_REGISTRY_URL,
|
|
560
|
-
NPX,
|
|
561
|
-
OUTPUT_JSON,
|
|
562
|
-
OUTPUT_MARKDOWN,
|
|
563
|
-
OUTPUT_TEXT,
|
|
564
|
-
PACKAGE_JSON,
|
|
565
|
-
PACKAGE_LOCK_JSON,
|
|
566
|
-
PNPM,
|
|
567
|
-
PNPM_LOCK_YAML,
|
|
568
|
-
PNPM_WORKSPACE_YAML,
|
|
569
|
-
REDACTED,
|
|
570
|
-
REPORT_LEVEL_DEFER,
|
|
571
|
-
REPORT_LEVEL_ERROR,
|
|
572
|
-
REPORT_LEVEL_IGNORE,
|
|
573
|
-
REPORT_LEVEL_MONITOR,
|
|
574
|
-
REPORT_LEVEL_WARN,
|
|
575
|
-
REQUIREMENTS_TXT,
|
|
576
|
-
SOCKET_CLI_ACCEPT_RISKS,
|
|
577
|
-
SOCKET_CLI_BIN_NAME,
|
|
578
|
-
SOCKET_CLI_ISSUES_URL,
|
|
579
|
-
SOCKET_CLI_SHADOW_ACCEPT_RISKS,
|
|
580
|
-
SOCKET_CLI_SHADOW_API_TOKEN,
|
|
581
|
-
SOCKET_CLI_SHADOW_BIN,
|
|
582
|
-
SOCKET_CLI_SHADOW_PROGRESS,
|
|
583
|
-
SOCKET_CLI_SHADOW_SILENT,
|
|
584
|
-
SOCKET_CLI_VIEW_ALL_RISKS,
|
|
585
|
-
SOCKET_DEFAULT_BRANCH,
|
|
586
|
-
SOCKET_DEFAULT_REPOSITORY,
|
|
587
|
-
SOCKET_JSON,
|
|
588
|
-
SOCKET_WEBSITE_URL,
|
|
589
|
-
SOCKET_YAML,
|
|
590
|
-
SOCKET_YML,
|
|
591
|
-
TSCONFIG_JSON,
|
|
592
|
-
UNKNOWN_ERROR,
|
|
593
|
-
UNKNOWN_VALUE,
|
|
594
|
-
V1_MIGRATION_GUIDE_URL,
|
|
595
|
-
VLT,
|
|
596
|
-
YARN,
|
|
597
|
-
YARN_BERRY,
|
|
598
|
-
YARN_CLASSIC,
|
|
599
|
-
bashRcPath: undefined,
|
|
600
|
-
binPath: undefined,
|
|
601
|
-
binCliPath: undefined,
|
|
602
|
-
blessedContribPath: undefined,
|
|
603
|
-
blessedOptions: undefined,
|
|
604
|
-
blessedPath: undefined,
|
|
605
|
-
distCliPath: undefined,
|
|
606
|
-
distPath: undefined,
|
|
607
|
-
externalPath: undefined,
|
|
608
|
-
githubCachePath: undefined,
|
|
609
|
-
homePath: undefined,
|
|
610
|
-
instrumentWithSentryPath: undefined,
|
|
611
|
-
minimumVersionByAgent: undefined,
|
|
612
|
-
nmBinPath: undefined,
|
|
613
|
-
nodeHardenFlags: undefined,
|
|
614
|
-
nodeDebugFlags: undefined,
|
|
615
|
-
nodeMemoryFlags: undefined,
|
|
616
|
-
npmCachePath: undefined,
|
|
617
|
-
npmGlobalPrefix: undefined,
|
|
618
|
-
npmNmNodeGypPath: undefined,
|
|
619
|
-
processEnv: undefined,
|
|
620
|
-
rootPath: undefined,
|
|
621
|
-
shadowBinPath: undefined,
|
|
622
|
-
shadowNpmInjectPath: undefined,
|
|
623
|
-
shadowNpmBinPath: undefined,
|
|
624
|
-
shadowPnpmBinPath: undefined,
|
|
625
|
-
shadowYarnBinPath: undefined,
|
|
626
|
-
socketAppDataPath: undefined,
|
|
627
|
-
socketCachePath: undefined,
|
|
628
|
-
socketRegistryPath: undefined,
|
|
629
|
-
zshRcPath: undefined
|
|
630
|
-
}, {
|
|
631
|
-
getters: {
|
|
632
|
-
...registryConstantsAttribs.getters,
|
|
633
|
-
ENV: LAZY_ENV,
|
|
634
|
-
bashRcPath: lazyBashRcPath,
|
|
635
|
-
binCliPath: lazyBinCliPath,
|
|
636
|
-
binPath: lazyBinPath,
|
|
637
|
-
blessedContribPath: lazyBlessedContribPath,
|
|
638
|
-
blessedOptions: lazyBlessedOptions,
|
|
639
|
-
blessedPath: lazyBlessedPath,
|
|
640
|
-
distCliPath: lazyDistCliPath,
|
|
641
|
-
distPath: lazyDistPath,
|
|
642
|
-
externalPath: lazyExternalPath,
|
|
643
|
-
githubCachePath: lazyGithubCachePath,
|
|
644
|
-
homePath: lazyHomePath,
|
|
645
|
-
instrumentWithSentryPath: lazyInstrumentWithSentryPath,
|
|
646
|
-
minimumVersionByAgent: lazyMinimumVersionByAgent,
|
|
647
|
-
nmBinPath: lazyNmBinPath,
|
|
648
|
-
nodeDebugFlags: lazyNodeDebugFlags,
|
|
649
|
-
nodeHardenFlags: lazyNodeHardenFlags,
|
|
650
|
-
nodeMemoryFlags: lazyNodeMemoryFlags,
|
|
651
|
-
npmCachePath: lazyNpmCachePath,
|
|
652
|
-
npmGlobalPrefix: lazyNpmGlobalPrefix,
|
|
653
|
-
npmNmNodeGypPath: lazyNpmNmNodeGypPath,
|
|
654
|
-
processEnv: lazyProcessEnv,
|
|
655
|
-
rootPath: lazyRootPath,
|
|
656
|
-
shadowBinPath: lazyShadowBinPath,
|
|
657
|
-
shadowNpmBinPath: lazyShadowNpmBinPath,
|
|
658
|
-
shadowNpmInjectPath: lazyShadowNpmInjectPath,
|
|
659
|
-
shadowNpxBinPath: lazyShadowNpxBinPath,
|
|
660
|
-
shadowPnpmBinPath: lazyShadowPnpmBinPath,
|
|
661
|
-
shadowYarnBinPath: lazyShadowYarnBinPath,
|
|
662
|
-
socketAppDataPath: lazySocketAppDataPath,
|
|
663
|
-
socketCachePath: lazySocketCachePath,
|
|
664
|
-
socketRegistryPath: lazySocketRegistryPath,
|
|
665
|
-
zshRcPath: lazyZshRcPath
|
|
666
|
-
},
|
|
667
|
-
internals: {
|
|
668
|
-
...registryConstantsAttribs.internals,
|
|
669
|
-
getIpc,
|
|
670
|
-
getSentry() {
|
|
671
|
-
return _Sentry;
|
|
672
|
-
},
|
|
673
|
-
setSentry(Sentry) {
|
|
674
|
-
if (_Sentry === undefined) {
|
|
675
|
-
_Sentry = Sentry;
|
|
676
|
-
return true;
|
|
677
|
-
}
|
|
678
|
-
return false;
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
|
|
683
|
-
exports.ALERT_TYPE_CRITICAL_CVE = ALERT_TYPE_CRITICAL_CVE;
|
|
684
|
-
exports.ALERT_TYPE_CVE = ALERT_TYPE_CVE;
|
|
685
|
-
exports.ALERT_TYPE_MEDIUM_CVE = ALERT_TYPE_MEDIUM_CVE;
|
|
686
|
-
exports.ALERT_TYPE_MILD_CVE = ALERT_TYPE_MILD_CVE;
|
|
687
|
-
exports.API_V0_URL = API_V0_URL;
|
|
688
|
-
exports.AT_LATEST = AT_LATEST;
|
|
689
|
-
exports.BIOME_JSON = BIOME_JSON;
|
|
690
|
-
exports.BUN = BUN;
|
|
691
|
-
exports.CI = CI;
|
|
692
|
-
exports.COLUMN_LIMIT = COLUMN_LIMIT;
|
|
693
|
-
exports.CONFIG_KEY_API_BASE_URL = CONFIG_KEY_API_BASE_URL;
|
|
694
|
-
exports.CONFIG_KEY_API_PROXY = CONFIG_KEY_API_PROXY;
|
|
695
|
-
exports.CONFIG_KEY_API_TOKEN = CONFIG_KEY_API_TOKEN;
|
|
696
|
-
exports.CONFIG_KEY_DEFAULT_ORG = CONFIG_KEY_DEFAULT_ORG;
|
|
697
|
-
exports.CONFIG_KEY_ENFORCED_ORGS = CONFIG_KEY_ENFORCED_ORGS;
|
|
698
|
-
exports.CONFIG_KEY_ORG = CONFIG_KEY_ORG;
|
|
699
|
-
exports.DLX_BINARY_CACHE_TTL = DLX_BINARY_CACHE_TTL;
|
|
700
|
-
exports.DOT_GIT_DIR = DOT_GIT_DIR;
|
|
701
|
-
exports.DOT_PACKAGE_LOCK_JSON = DOT_PACKAGE_LOCK_JSON;
|
|
702
|
-
exports.DOT_SOCKET_DIR = DOT_SOCKET_DIR;
|
|
703
|
-
exports.DOT_SOCKET_DOT_FACTS_JSON = DOT_SOCKET_DOT_FACTS_JSON;
|
|
704
|
-
exports.DRY_RUN_BAILING_NOW = DRY_RUN_BAILING_NOW;
|
|
705
|
-
exports.DRY_RUN_LABEL = DRY_RUN_LABEL;
|
|
706
|
-
exports.DRY_RUN_NOT_SAVING = DRY_RUN_NOT_SAVING;
|
|
707
|
-
exports.EMPTY_FILE = EMPTY_FILE;
|
|
708
|
-
exports.EMPTY_VALUE = EMPTY_VALUE;
|
|
709
|
-
exports.ENVIRONMENT_YAML = ENVIRONMENT_YAML;
|
|
710
|
-
exports.ENVIRONMENT_YML = ENVIRONMENT_YML;
|
|
711
|
-
exports.ERROR_NO_MANIFEST_FILES = ERROR_NO_MANIFEST_FILES;
|
|
712
|
-
exports.ERROR_NO_PACKAGE_JSON = ERROR_NO_PACKAGE_JSON;
|
|
713
|
-
exports.ERROR_NO_REPO_FOUND = ERROR_NO_REPO_FOUND;
|
|
714
|
-
exports.ERROR_NO_SOCKET_DIR = ERROR_NO_SOCKET_DIR;
|
|
715
|
-
exports.ERROR_UNABLE_RESOLVE_ORG = ERROR_UNABLE_RESOLVE_ORG;
|
|
716
|
-
exports.ESLINT_CONFIG_JS = ESLINT_CONFIG_JS;
|
|
717
|
-
exports.ESNEXT = ESNEXT;
|
|
718
|
-
exports.EXTENSIONS = EXTENSIONS;
|
|
719
|
-
exports.EXTENSIONS_JSON = EXTENSIONS_JSON;
|
|
720
|
-
exports.EXT_CJS = EXT_CJS;
|
|
721
|
-
exports.EXT_CMD = EXT_CMD;
|
|
722
|
-
exports.EXT_CTS = EXT_CTS;
|
|
723
|
-
exports.EXT_DTS = EXT_DTS;
|
|
724
|
-
exports.EXT_JS = EXT_JS;
|
|
725
|
-
exports.EXT_JSON = EXT_JSON;
|
|
726
|
-
exports.EXT_LOCK = EXT_LOCK;
|
|
727
|
-
exports.EXT_LOCKB = EXT_LOCKB;
|
|
728
|
-
exports.EXT_MD = EXT_MD;
|
|
729
|
-
exports.EXT_MJS = EXT_MJS;
|
|
730
|
-
exports.EXT_MTS = EXT_MTS;
|
|
731
|
-
exports.EXT_PS1 = EXT_PS1;
|
|
732
|
-
exports.EXT_YAML = EXT_YAML;
|
|
733
|
-
exports.EXT_YML = EXT_YML;
|
|
734
|
-
exports.FLAG_CONFIG = FLAG_CONFIG;
|
|
735
|
-
exports.FLAG_DRY_RUN = FLAG_DRY_RUN;
|
|
736
|
-
exports.FLAG_HELP = FLAG_HELP;
|
|
737
|
-
exports.FLAG_HELP_FULL = FLAG_HELP_FULL;
|
|
738
|
-
exports.FLAG_ID = FLAG_ID;
|
|
739
|
-
exports.FLAG_JSON = FLAG_JSON;
|
|
740
|
-
exports.FLAG_LOGLEVEL = FLAG_LOGLEVEL;
|
|
741
|
-
exports.FLAG_MARKDOWN = FLAG_MARKDOWN;
|
|
742
|
-
exports.FLAG_ORG = FLAG_ORG;
|
|
743
|
-
exports.FLAG_PIN = FLAG_PIN;
|
|
744
|
-
exports.FLAG_PROD = FLAG_PROD;
|
|
745
|
-
exports.FLAG_QUIET = FLAG_QUIET;
|
|
746
|
-
exports.FLAG_SILENT = FLAG_SILENT;
|
|
747
|
-
exports.FLAG_TEXT = FLAG_TEXT;
|
|
748
|
-
exports.FLAG_VERBOSE = FLAG_VERBOSE;
|
|
749
|
-
exports.FLAG_VERSION = FLAG_VERSION;
|
|
750
|
-
exports.FOLD_SETTING_FILE = FOLD_SETTING_FILE;
|
|
751
|
-
exports.FOLD_SETTING_NONE = FOLD_SETTING_NONE;
|
|
752
|
-
exports.FOLD_SETTING_PKG = FOLD_SETTING_PKG;
|
|
753
|
-
exports.FOLD_SETTING_VERSION = FOLD_SETTING_VERSION;
|
|
754
|
-
exports.GITIGNORE = GITIGNORE;
|
|
755
|
-
exports.GQL_PAGE_SENTINEL = GQL_PAGE_SENTINEL;
|
|
756
|
-
exports.GQL_PR_STATE_CLOSED = GQL_PR_STATE_CLOSED;
|
|
757
|
-
exports.GQL_PR_STATE_MERGED = GQL_PR_STATE_MERGED;
|
|
758
|
-
exports.GQL_PR_STATE_OPEN = GQL_PR_STATE_OPEN;
|
|
759
|
-
exports.HTTP_STATUS_BAD_REQUEST = HTTP_STATUS_BAD_REQUEST;
|
|
760
|
-
exports.HTTP_STATUS_FORBIDDEN = HTTP_STATUS_FORBIDDEN;
|
|
761
|
-
exports.HTTP_STATUS_INTERNAL_SERVER_ERROR = HTTP_STATUS_INTERNAL_SERVER_ERROR;
|
|
762
|
-
exports.HTTP_STATUS_NOT_FOUND = HTTP_STATUS_NOT_FOUND;
|
|
763
|
-
exports.HTTP_STATUS_UNAUTHORIZED = HTTP_STATUS_UNAUTHORIZED;
|
|
764
|
-
exports.LATEST = LATEST;
|
|
765
|
-
exports.LICENSE = LICENSE;
|
|
766
|
-
exports.LICENSE_GLOB = LICENSE_GLOB;
|
|
767
|
-
exports.LICENSE_GLOB_RECURSIVE = LICENSE_GLOB_RECURSIVE;
|
|
768
|
-
exports.LICENSE_ORIGINAL = LICENSE_ORIGINAL;
|
|
769
|
-
exports.LICENSE_ORIGINAL_GLOB = LICENSE_ORIGINAL_GLOB;
|
|
770
|
-
exports.LICENSE_ORIGINAL_GLOB_RECURSIVE = LICENSE_ORIGINAL_GLOB_RECURSIVE;
|
|
771
|
-
exports.LOOP_SENTINEL = LOOP_SENTINEL;
|
|
772
|
-
exports.MANIFEST_JSON = MANIFEST_JSON;
|
|
773
|
-
exports.MIT = MIT;
|
|
774
|
-
exports.NODE_AUTH_TOKEN = NODE_AUTH_TOKEN;
|
|
775
|
-
exports.NODE_ENV = NODE_ENV;
|
|
776
|
-
exports.NODE_MODULES = NODE_MODULES;
|
|
777
|
-
exports.NODE_MODULES_GLOB_RECURSIVE = NODE_MODULES_GLOB_RECURSIVE;
|
|
778
|
-
exports.NPM = NPM;
|
|
779
|
-
exports.NPM_BUGGY_OVERRIDES_PATCHED_VERSION = NPM_BUGGY_OVERRIDES_PATCHED_VERSION;
|
|
780
|
-
exports.NPM_REGISTRY_URL = NPM_REGISTRY_URL;
|
|
781
|
-
exports.NPX = NPX;
|
|
782
|
-
exports.OUTPUT_JSON = OUTPUT_JSON;
|
|
783
|
-
exports.OUTPUT_MARKDOWN = OUTPUT_MARKDOWN;
|
|
784
|
-
exports.OUTPUT_TEXT = OUTPUT_TEXT;
|
|
785
|
-
exports.OVERRIDES = OVERRIDES;
|
|
786
|
-
exports.PACKAGE_DEFAULT_VERSION = PACKAGE_DEFAULT_VERSION;
|
|
787
|
-
exports.PACKAGE_JSON = PACKAGE_JSON;
|
|
788
|
-
exports.PACKAGE_LOCK_JSON = PACKAGE_LOCK_JSON;
|
|
789
|
-
exports.PNPM = PNPM;
|
|
790
|
-
exports.PNPM_LOCK_YAML = PNPM_LOCK_YAML;
|
|
791
|
-
exports.PNPM_WORKSPACE_YAML = PNPM_WORKSPACE_YAML;
|
|
792
|
-
exports.PRE_COMMIT = PRE_COMMIT;
|
|
793
|
-
exports.README_GLOB = README_GLOB;
|
|
794
|
-
exports.README_GLOB_RECURSIVE = README_GLOB_RECURSIVE;
|
|
795
|
-
exports.README_MD = README_MD;
|
|
796
|
-
exports.REDACTED = REDACTED;
|
|
797
|
-
exports.REGISTRY = REGISTRY;
|
|
798
|
-
exports.REGISTRY_SCOPE_DELIMITER = REGISTRY_SCOPE_DELIMITER;
|
|
799
|
-
exports.REPORT_LEVEL_DEFER = REPORT_LEVEL_DEFER;
|
|
800
|
-
exports.REPORT_LEVEL_ERROR = REPORT_LEVEL_ERROR;
|
|
801
|
-
exports.REPORT_LEVEL_IGNORE = REPORT_LEVEL_IGNORE;
|
|
802
|
-
exports.REPORT_LEVEL_MONITOR = REPORT_LEVEL_MONITOR;
|
|
803
|
-
exports.REPORT_LEVEL_WARN = REPORT_LEVEL_WARN;
|
|
804
|
-
exports.REQUIREMENTS_TXT = REQUIREMENTS_TXT;
|
|
805
|
-
exports.RESOLUTIONS = RESOLUTIONS;
|
|
806
|
-
exports.SOCKET_CLI_ACCEPT_RISKS = SOCKET_CLI_ACCEPT_RISKS;
|
|
807
|
-
exports.SOCKET_CLI_BIN_NAME = SOCKET_CLI_BIN_NAME;
|
|
808
|
-
exports.SOCKET_CLI_ISSUES_URL = SOCKET_CLI_ISSUES_URL;
|
|
809
|
-
exports.SOCKET_CLI_SHADOW_ACCEPT_RISKS = SOCKET_CLI_SHADOW_ACCEPT_RISKS;
|
|
810
|
-
exports.SOCKET_CLI_SHADOW_API_TOKEN = SOCKET_CLI_SHADOW_API_TOKEN;
|
|
811
|
-
exports.SOCKET_CLI_SHADOW_BIN = SOCKET_CLI_SHADOW_BIN;
|
|
812
|
-
exports.SOCKET_CLI_SHADOW_PROGRESS = SOCKET_CLI_SHADOW_PROGRESS;
|
|
813
|
-
exports.SOCKET_CLI_SHADOW_SILENT = SOCKET_CLI_SHADOW_SILENT;
|
|
814
|
-
exports.SOCKET_CLI_VIEW_ALL_RISKS = SOCKET_CLI_VIEW_ALL_RISKS;
|
|
815
|
-
exports.SOCKET_DEFAULT_BRANCH = SOCKET_DEFAULT_BRANCH;
|
|
816
|
-
exports.SOCKET_DEFAULT_REPOSITORY = SOCKET_DEFAULT_REPOSITORY;
|
|
817
|
-
exports.SOCKET_GITHUB_ORG = SOCKET_GITHUB_ORG;
|
|
818
|
-
exports.SOCKET_IPC_HANDSHAKE = SOCKET_IPC_HANDSHAKE;
|
|
819
|
-
exports.SOCKET_JSON = SOCKET_JSON;
|
|
820
|
-
exports.SOCKET_OVERRIDE_SCOPE = SOCKET_OVERRIDE_SCOPE;
|
|
821
|
-
exports.SOCKET_PUBLIC_API_TOKEN = SOCKET_PUBLIC_API_TOKEN;
|
|
822
|
-
exports.SOCKET_REGISTRY_NPM_ORG = SOCKET_REGISTRY_NPM_ORG;
|
|
823
|
-
exports.SOCKET_REGISTRY_PACKAGE_NAME = SOCKET_REGISTRY_PACKAGE_NAME;
|
|
824
|
-
exports.SOCKET_REGISTRY_REPO_NAME = SOCKET_REGISTRY_REPO_NAME;
|
|
825
|
-
exports.SOCKET_REGISTRY_SCOPE = SOCKET_REGISTRY_SCOPE;
|
|
826
|
-
exports.SOCKET_SECURITY_SCOPE = SOCKET_SECURITY_SCOPE;
|
|
827
|
-
exports.SOCKET_WEBSITE_URL = SOCKET_WEBSITE_URL;
|
|
828
|
-
exports.SOCKET_YAML = SOCKET_YAML;
|
|
829
|
-
exports.SOCKET_YML = SOCKET_YML;
|
|
830
|
-
exports.TSCONFIG_JSON = TSCONFIG_JSON;
|
|
831
|
-
exports.UNKNOWN_ERROR = UNKNOWN_ERROR;
|
|
832
|
-
exports.UNKNOWN_VALUE = UNKNOWN_VALUE;
|
|
833
|
-
exports.UNLICENCED = UNLICENCED;
|
|
834
|
-
exports.UNLICENSED = UNLICENSED;
|
|
835
|
-
exports.UTF8 = UTF8;
|
|
836
|
-
exports.V1_MIGRATION_GUIDE_URL = V1_MIGRATION_GUIDE_URL;
|
|
837
|
-
exports.VITEST = VITEST;
|
|
838
|
-
exports.VLT = VLT;
|
|
839
|
-
exports.YARN = YARN;
|
|
840
|
-
exports.YARN_BERRY = YARN_BERRY;
|
|
841
|
-
exports.YARN_CLASSIC = YARN_CLASSIC;
|
|
842
|
-
exports.YARN_LOCK = YARN_LOCK;
|
|
843
|
-
exports.default = constants;
|
|
844
|
-
//# debugId=a8acc867-e550-4668-911a-14ab74f59b47
|
|
845
|
-
//# sourceMappingURL=constants.js.map
|