@socketsecurity/cli-with-sentry 1.0.85 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -52
- package/dist/cli.js +323 -327
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +20 -48
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +5 -4
- package/dist/flags.js.map +1 -1
- package/dist/socket-completion.bash +0 -2
- package/dist/utils.js +122 -119
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +381 -381
- package/external/@coana-tech/cli/cli.mjs +25295 -30074
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +39 -1
- package/external/@socketsecurity/registry/external/browserslist.js +7 -1
- package/external/@socketsecurity/registry/external/libnpmpack.js +93488 -97365
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +4689 -7729
- package/external/@socketsecurity/registry/external/pacote.js +51922 -72554
- package/external/@socketsecurity/registry/lib/constants/env.js +4 -4
- package/external/@socketsecurity/registry/lib/npm.js +2 -4
- package/external/@socketsecurity/registry/lib/path.js +17 -0
- package/package.json +13 -13
- package/dist/tsconfig.dts.tsbuildinfo +0 -1
- package/dist/types/cli.d.mts +0 -3
- package/dist/types/cli.d.mts.map +0 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/handle-analytics.d.mts +0 -9
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +0 -28
- package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -15
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
- package/dist/types/commands/ci/cmd-ci.d.mts +0 -10
- package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -4
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
- package/dist/types/commands/ci/handle-ci.d.mts +0 -2
- package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-get.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config.d.mts +0 -3
- package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
- package/dist/types/commands/config/discover-config-value.d.mts +0 -3
- package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
- package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-get.d.mts +0 -7
- package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-set.d.mts +0 -8
- package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
- package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-auto.d.mts +0 -4
- package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-get.d.mts +0 -4
- package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-list.d.mts +0 -6
- package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-set.d.mts +0 -3
- package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-unset.d.mts +0 -3
- package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
- package/dist/types/commands/fix/agent-fix.d.mts +0 -42
- package/dist/types/commands/fix/agent-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
- package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/coana-fix.d.mts +0 -6
- package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-branch-helpers.d.mts +0 -4
- package/dist/types/commands/fix/fix-branch-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-env-helpers.d.mts +0 -13
- package/dist/types/commands/fix/fix-env-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/get-actual-tree.d.mts +0 -3
- package/dist/types/commands/fix/get-actual-tree.d.mts.map +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts +0 -11
- package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/npm-fix.d.mts +0 -7
- package/dist/types/commands/fix/npm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/output-fix-result.d.mts +0 -3
- package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
- package/dist/types/commands/fix/pnpm-fix.d.mts +0 -7
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/pull-request.d.mts +0 -47
- package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
- package/dist/types/commands/fix/shared.d.mts +0 -8
- package/dist/types/commands/fix/shared.d.mts.map +0 -1
- package/dist/types/commands/fix/socket-git.d.mts +0 -32
- package/dist/types/commands/fix/socket-git.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +0 -10
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install.d.mts +0 -3
- package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
- package/dist/types/commands/install/handle-install-completion.d.mts +0 -2
- package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/output-install-completion.d.mts +0 -12
- package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/setup-tab-completion.d.mts +0 -13
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/json/cmd-json.d.mts +0 -10
- package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/handle-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/output-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/login/apply-login.d.mts +0 -2
- package/dist/types/commands/login/apply-login.d.mts.map +0 -1
- package/dist/types/commands/login/attempt-login.d.mts +0 -6
- package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
- package/dist/types/commands/login/cmd-login.d.mts +0 -10
- package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
- package/dist/types/commands/logout/apply-logout.d.mts +0 -2
- package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
- package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/cmd-logout.d.mts +0 -10
- package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -8
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -7
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -8
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -13
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -9
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -9
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -2
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -3
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
- package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -2
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -3
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
- package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
- package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
- package/dist/types/commands/npx/cmd-npx.d.mts +0 -10
- package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +0 -10
- package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
- package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
- package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
- package/dist/types/commands/optimize/apply-optimization.d.mts +0 -14
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -5
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -42
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/handle-optimize.d.mts +0 -8
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -13
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -9
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
- package/dist/types/commands/optimize/shared.d.mts +0 -2
- package/dist/types/commands/optimize/shared.d.mts.map +0 -1
- package/dist/types/commands/optimize/types.d.mts +0 -9
- package/dist/types/commands/optimize/types.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-lockfile.d.mts +0 -11
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-dependencies.d.mts +0 -12
- package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -8
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-quota.d.mts +0 -8
- package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-dependencies.d.mts +0 -7
- package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-quota.d.mts +0 -3
- package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-dependencies.d.mts +0 -8
- package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
- package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/output-quota.d.mts +0 -4
- package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
- package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package.d.mts +0 -3
- package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -8
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -5
- package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -29
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -9
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -10
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -10
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository.d.mts +0 -3
- package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -10
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -15
- package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-create-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts +0 -11
- package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-update-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-view-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-create-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-delete-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-list-repos.d.mts +0 -4
- package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/output-update-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-view-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -12
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -20
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -18
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts +0 -17
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -8
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
- package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -8
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-report.d.mts +0 -43
- package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -12
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -21
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-config.d.mts +0 -2
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -8
- package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts +0 -12
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
- package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-github.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-reach.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts +0 -20
- package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/setup-scan-config.d.mts +0 -3
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/stream-scan.d.mts +0 -7
- package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +0 -9
- package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_target.d.mts +0 -2
- package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/types.d.mts +0 -15
- package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -9
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -10
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
- package/dist/types/constants.d.mts +0 -149
- package/dist/types/constants.d.mts.map +0 -1
- package/dist/types/flags.d.mts +0 -17
- package/dist/types/flags.d.mts.map +0 -1
- package/dist/types/instrument-with-sentry.d.mts +0 -2
- package/dist/types/instrument-with-sentry.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/index.d.mts +0 -8
- package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -35
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/types.d.mts +0 -123
- package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -39
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
- package/dist/types/shadow/npm/bin.d.mts +0 -2
- package/dist/types/shadow/npm/bin.d.mts.map +0 -1
- package/dist/types/shadow/npm/inject.d.mts +0 -2
- package/dist/types/shadow/npm/inject.d.mts.map +0 -1
- package/dist/types/shadow/npm/install.d.mts +0 -13
- package/dist/types/shadow/npm/install.d.mts.map +0 -1
- package/dist/types/shadow/npm/link.d.mts +0 -2
- package/dist/types/shadow/npm/link.d.mts.map +0 -1
- package/dist/types/shadow/npm/paths.d.mts +0 -7
- package/dist/types/shadow/npm/paths.d.mts.map +0 -1
- package/dist/types/types.d.mts +0 -29
- package/dist/types/types.d.mts.map +0 -1
- package/dist/types/utils/agent.d.mts +0 -12
- package/dist/types/utils/agent.d.mts.map +0 -1
- package/dist/types/utils/alert/artifact.d.mts +0 -35
- package/dist/types/utils/alert/artifact.d.mts.map +0 -1
- package/dist/types/utils/alert/fix.d.mts +0 -6
- package/dist/types/utils/alert/fix.d.mts.map +0 -1
- package/dist/types/utils/alert/severity.d.mts +0 -14
- package/dist/types/utils/alert/severity.d.mts.map +0 -1
- package/dist/types/utils/alerts-map.d.mts +0 -24
- package/dist/types/utils/alerts-map.d.mts.map +0 -1
- package/dist/types/utils/api.d.mts +0 -18
- package/dist/types/utils/api.d.mts.map +0 -1
- package/dist/types/utils/check-input.d.mts +0 -9
- package/dist/types/utils/check-input.d.mts.map +0 -1
- package/dist/types/utils/cmd.d.mts +0 -5
- package/dist/types/utils/cmd.d.mts.map +0 -1
- package/dist/types/utils/coana.d.mts +0 -4
- package/dist/types/utils/coana.d.mts.map +0 -1
- package/dist/types/utils/color-or-markdown.d.mts +0 -16
- package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
- package/dist/types/utils/completion.d.mts +0 -11
- package/dist/types/utils/completion.d.mts.map +0 -1
- package/dist/types/utils/config.d.mts +0 -32
- package/dist/types/utils/config.d.mts.map +0 -1
- package/dist/types/utils/determine-org-slug.d.mts +0 -2
- package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
- package/dist/types/utils/errors.d.mts +0 -14
- package/dist/types/utils/errors.d.mts.map +0 -1
- package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
- package/dist/types/utils/fs.d.mts +0 -9
- package/dist/types/utils/fs.d.mts.map +0 -1
- package/dist/types/utils/get-output-kind.d.mts +0 -3
- package/dist/types/utils/get-output-kind.d.mts.map +0 -1
- package/dist/types/utils/git.d.mts +0 -29
- package/dist/types/utils/git.d.mts.map +0 -1
- package/dist/types/utils/glob.d.mts +0 -16
- package/dist/types/utils/glob.d.mts.map +0 -1
- package/dist/types/utils/lockfile.d.mts +0 -2
- package/dist/types/utils/lockfile.d.mts.map +0 -1
- package/dist/types/utils/map-to-object.d.mts +0 -10
- package/dist/types/utils/map-to-object.d.mts.map +0 -1
- package/dist/types/utils/markdown.d.mts +0 -10
- package/dist/types/utils/markdown.d.mts.map +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +0 -47
- package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
- package/dist/types/utils/ms-at-home.d.mts +0 -2
- package/dist/types/utils/ms-at-home.d.mts.map +0 -1
- package/dist/types/utils/npm-config.d.mts +0 -14
- package/dist/types/utils/npm-config.d.mts.map +0 -1
- package/dist/types/utils/npm-package-arg.d.mts +0 -4
- package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
- package/dist/types/utils/npm-paths.d.mts +0 -7
- package/dist/types/utils/npm-paths.d.mts.map +0 -1
- package/dist/types/utils/objects.d.mts +0 -3
- package/dist/types/utils/objects.d.mts.map +0 -1
- package/dist/types/utils/output-formatting.d.mts +0 -16
- package/dist/types/utils/output-formatting.d.mts.map +0 -1
- package/dist/types/utils/package-environment.d.mts +0 -57
- package/dist/types/utils/package-environment.d.mts.map +0 -1
- package/dist/types/utils/path-resolve.d.mts +0 -14
- package/dist/types/utils/path-resolve.d.mts.map +0 -1
- package/dist/types/utils/pnpm.d.mts +0 -11
- package/dist/types/utils/pnpm.d.mts.map +0 -1
- package/dist/types/utils/purl.d.mts +0 -15
- package/dist/types/utils/purl.d.mts.map +0 -1
- package/dist/types/utils/sdk.d.mts +0 -13
- package/dist/types/utils/sdk.d.mts.map +0 -1
- package/dist/types/utils/semver.d.mts +0 -8
- package/dist/types/utils/semver.d.mts.map +0 -1
- package/dist/types/utils/serialize-result-json.d.mts +0 -5
- package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
- package/dist/types/utils/socket-package-alert.d.mts +0 -77
- package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
- package/dist/types/utils/socket-url.d.mts +0 -7
- package/dist/types/utils/socket-url.d.mts.map +0 -1
- package/dist/types/utils/socketjson.d.mts +0 -56
- package/dist/types/utils/socketjson.d.mts.map +0 -1
- package/dist/types/utils/spec.d.mts +0 -5
- package/dist/types/utils/spec.d.mts.map +0 -1
- package/dist/types/utils/strings.d.mts +0 -2
- package/dist/types/utils/strings.d.mts.map +0 -1
- package/dist/types/utils/tildify.d.mts +0 -4
- package/dist/types/utils/tildify.d.mts.map +0 -1
- package/dist/types/utils/translations.d.mts +0 -593
- package/dist/types/utils/translations.d.mts.map +0 -1
- package/dist/types/utils/walk-nested-map.d.mts +0 -7
- package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"suggest-repo-slug.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/suggest-repo-slug.mts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,sBAAsB,GAAG,SAAS,GAC3C,OAAO,CAAC;IACT,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;CACtB,GAAG,IAAI,CAAC,CA8FR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"suggest-to-persist-orgslug.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/suggest-to-persist-orgslug.mts"],"names":[],"mappings":"AAKA,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgD5E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"suggest_branch_slug.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/suggest_branch_slug.mts"],"names":[],"mappings":"AAIA,wBAAsB,iBAAiB,CACrC,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAoCxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"suggest_target.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/suggest_target.mts"],"names":[],"mappings":"AAEA,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAoBvD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const cmdThreatFeed: {
|
|
2
|
-
description: string;
|
|
3
|
-
hidden: boolean;
|
|
4
|
-
run: typeof run;
|
|
5
|
-
};
|
|
6
|
-
declare function run(argv: readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
-
parentName: string;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=cmd-threat-feed.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/cmd-threat-feed.mts"],"names":[],"mappings":"AAkJA,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAwHf"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ThreadFeedResponse } from './types.mts';
|
|
2
|
-
import type { CResult } from '../../types.mts';
|
|
3
|
-
export declare function fetchThreatFeed({ direction, ecosystem, filter, orgSlug, page, perPage, pkg, version }: {
|
|
4
|
-
direction: string;
|
|
5
|
-
ecosystem: string;
|
|
6
|
-
filter: string;
|
|
7
|
-
orgSlug: string;
|
|
8
|
-
page: string;
|
|
9
|
-
perPage: number;
|
|
10
|
-
pkg: string;
|
|
11
|
-
version: string;
|
|
12
|
-
}): Promise<CResult<ThreadFeedResponse>>;
|
|
13
|
-
//# sourceMappingURL=fetch-threat-feed.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/fetch-threat-feed.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,eAAe,CAAC,EACpC,SAAS,EACT,SAAS,EACT,MAAM,EACN,OAAO,EACP,IAAI,EACJ,OAAO,EACP,GAAG,EACH,OAAO,EACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAevC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleThreatFeed({ direction, ecosystem, filter, orgSlug, outputKind, page, perPage, pkg, version }: {
|
|
3
|
-
direction: string;
|
|
4
|
-
ecosystem: string;
|
|
5
|
-
filter: string;
|
|
6
|
-
outputKind: OutputKind;
|
|
7
|
-
orgSlug: string;
|
|
8
|
-
page: string;
|
|
9
|
-
perPage: number;
|
|
10
|
-
pkg: string;
|
|
11
|
-
version: string;
|
|
12
|
-
}): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=handle-threat-feed.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/handle-threat-feed.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,SAAS,EACT,SAAS,EACT,MAAM,EACN,OAAO,EACP,UAAU,EACV,IAAI,EACJ,OAAO,EACP,GAAG,EACH,OAAO,EACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ThreadFeedResponse } from './types.mts';
|
|
2
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
3
|
-
export declare function outputThreatFeed(result: CResult<ThreadFeedResponse>, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-threat-feed.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/output-threat-feed.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAgB,MAAM,aAAa,CAAA;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAK1D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,EACnC,UAAU,EAAE,UAAU,iBA2IvB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface ThreadFeedResponse {
|
|
2
|
-
results: ThreatResult[];
|
|
3
|
-
nextPage: string;
|
|
4
|
-
}
|
|
5
|
-
export type ThreatResult = {
|
|
6
|
-
createdAt: string;
|
|
7
|
-
description: string;
|
|
8
|
-
id: number;
|
|
9
|
-
locationHtmlUrl: string;
|
|
10
|
-
packageHtmlUrl: string;
|
|
11
|
-
purl: string;
|
|
12
|
-
removedAt: string | null;
|
|
13
|
-
threatType: string;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/types.mts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const cmdUninstallCompletion: {
|
|
2
|
-
description: string;
|
|
3
|
-
hidden: boolean;
|
|
4
|
-
run: typeof run;
|
|
5
|
-
};
|
|
6
|
-
export declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
-
parentName: string;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
//# sourceMappingURL=cmd-uninstall-completion.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/cmd-uninstall-completion.mts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,sBAAsB;;;;CAIlC,CAAA;AAED,wBAAsB,GAAG,CACvB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-uninstall.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/cmd-uninstall.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,YAAY,EAAE,aAgB1B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/handle-uninstall-completion.mts"],"names":[],"mappings":"AAGA,wBAAsB,yBAAyB,CAAC,UAAU,EAAE,MAAM,iBAGjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/output-uninstall-completion.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,EACnD,UAAU,EAAE,MAAM,iBAkCnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"teardown-tab-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/teardown-tab-completion.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,CAqDtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-socket-wrapper.d.mts","sourceRoot":"","sources":["../../../../src/commands/wrapper/add-socket-wrapper.mts"],"names":[],"mappings":"AAIA,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CA2BnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-socket-wrapper-setup.d.mts","sourceRoot":"","sources":["../../../../src/commands/wrapper/check-socket-wrapper-setup.mts"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAuB7D"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const cmdWrapper: {
|
|
2
|
-
description: string;
|
|
3
|
-
hidden: boolean;
|
|
4
|
-
run: typeof run;
|
|
5
|
-
};
|
|
6
|
-
declare function run(argv: readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
-
parentName: string;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=cmd-wrapper.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-wrapper.d.mts","sourceRoot":"","sources":["../../../../src/commands/wrapper/cmd-wrapper.mts"],"names":[],"mappings":"AA2CA,eAAO,MAAM,UAAU;;;;CAItB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAyEf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postinstall-wrapper.d.mts","sourceRoot":"","sources":["../../../../src/commands/wrapper/postinstall-wrapper.mts"],"names":[],"mappings":"AAYA,wBAAsB,kBAAkB,kBA+CvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove-socket-wrapper.d.mts","sourceRoot":"","sources":["../../../../src/commands/wrapper/remove-socket-wrapper.mts"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAkC1D"}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import registryConstants from '@socketsecurity/registry/lib/constants';
|
|
2
|
-
import type { Agent } from './utils/package-environment.mts';
|
|
3
|
-
import type { Remap } from '@socketsecurity/registry/lib/objects';
|
|
4
|
-
type RegistryEnv = typeof registryConstants.ENV;
|
|
5
|
-
type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)'];
|
|
6
|
-
type Sentry = any;
|
|
7
|
-
type Internals = Remap<Omit<RegistryInternals, 'getIpc'> & Readonly<{
|
|
8
|
-
getIpc: {
|
|
9
|
-
(): Promise<IPC>;
|
|
10
|
-
<K extends keyof IPC | undefined>(key?: K | undefined): Promise<K extends keyof IPC ? IPC[K] : IPC>;
|
|
11
|
-
};
|
|
12
|
-
getSentry: () => Sentry;
|
|
13
|
-
setSentry(Sentry: Sentry): boolean;
|
|
14
|
-
}>>;
|
|
15
|
-
type ENV = Remap<RegistryEnv & Readonly<{
|
|
16
|
-
DISABLE_GITHUB_CACHE: boolean;
|
|
17
|
-
GITHUB_API_URL: string;
|
|
18
|
-
GITHUB_BASE_REF: string;
|
|
19
|
-
GITHUB_REF_NAME: string;
|
|
20
|
-
GITHUB_REF_TYPE: string;
|
|
21
|
-
GITHUB_REPOSITORY: string;
|
|
22
|
-
GITHUB_SERVER_URL: string;
|
|
23
|
-
GITHUB_TOKEN: string;
|
|
24
|
-
INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION: string;
|
|
25
|
-
INLINED_SOCKET_CLI_HOMEPAGE: string;
|
|
26
|
-
INLINED_SOCKET_CLI_LEGACY_BUILD: string;
|
|
27
|
-
INLINED_SOCKET_CLI_NAME: string;
|
|
28
|
-
INLINED_SOCKET_CLI_PUBLISHED_BUILD: string;
|
|
29
|
-
INLINED_SOCKET_CLI_SENTRY_BUILD: string;
|
|
30
|
-
INLINED_SOCKET_CLI_VERSION: string;
|
|
31
|
-
INLINED_SOCKET_CLI_VERSION_HASH: string;
|
|
32
|
-
INLINED_SOCKET_CLI_SYNP_VERSION: string;
|
|
33
|
-
LOCALAPPDATA: string;
|
|
34
|
-
NODE_COMPILE_CACHE: string;
|
|
35
|
-
NODE_EXTRA_CA_CERTS: string;
|
|
36
|
-
PATH: string;
|
|
37
|
-
SOCKET_CLI_ACCEPT_RISKS: boolean;
|
|
38
|
-
SOCKET_CLI_API_BASE_URL: string;
|
|
39
|
-
SOCKET_CLI_API_PROXY: string;
|
|
40
|
-
SOCKET_CLI_API_TOKEN: string;
|
|
41
|
-
SOCKET_CLI_CONFIG: string;
|
|
42
|
-
SOCKET_CLI_DEBUG: boolean;
|
|
43
|
-
SOCKET_CLI_GIT_USER_EMAIL: string;
|
|
44
|
-
SOCKET_CLI_GIT_USER_NAME: string;
|
|
45
|
-
SOCKET_CLI_GITHUB_TOKEN: string;
|
|
46
|
-
SOCKET_CLI_NO_API_TOKEN: boolean;
|
|
47
|
-
SOCKET_CLI_NPM_PATH: string;
|
|
48
|
-
SOCKET_CLI_ORG_SLUG: string;
|
|
49
|
-
SOCKET_CLI_VIEW_ALL_RISKS: boolean;
|
|
50
|
-
TERM: string;
|
|
51
|
-
XDG_DATA_HOME: string;
|
|
52
|
-
}>>;
|
|
53
|
-
type ProcessEnv = {
|
|
54
|
-
[K in keyof ENV]?: string;
|
|
55
|
-
};
|
|
56
|
-
type IPC = Readonly<{
|
|
57
|
-
SOCKET_CLI_FIX?: string | undefined;
|
|
58
|
-
SOCKET_CLI_OPTIMIZE?: boolean | undefined;
|
|
59
|
-
SOCKET_CLI_SAFE_BIN?: string | undefined;
|
|
60
|
-
SOCKET_CLI_SAFE_PROGRESS?: boolean | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
type Constants = Remap<Omit<typeof registryConstants, 'Symbol(kInternalsSymbol)' | 'ENV' | 'IPC'> & {
|
|
63
|
-
readonly 'Symbol(kInternalsSymbol)': Internals;
|
|
64
|
-
readonly ALERT_TYPE_CRITICAL_CVE: 'criticalCVE';
|
|
65
|
-
readonly ALERT_TYPE_CVE: 'cve';
|
|
66
|
-
readonly ALERT_TYPE_MEDIUM_CVE: 'mediumCVE';
|
|
67
|
-
readonly ALERT_TYPE_MILD_CVE: 'mildCVE';
|
|
68
|
-
readonly API_V0_URL: 'https://api.socket.dev/v0/';
|
|
69
|
-
readonly BINARY_LOCK_EXT: '.lockb';
|
|
70
|
-
readonly BUN: 'bun';
|
|
71
|
-
readonly ENV: ENV;
|
|
72
|
-
readonly DOT_SOCKET_DOT_FACTS_JSON: '.socket.facts.json';
|
|
73
|
-
readonly DRY_RUN_LABEL: '[DryRun]';
|
|
74
|
-
readonly DRY_RUN_BAILING_NOW: '[DryRun] Bailing now';
|
|
75
|
-
readonly DRY_RUN_NOT_SAVING: '[DryRun] Not saving';
|
|
76
|
-
readonly IPC: IPC;
|
|
77
|
-
readonly LOCK_EXT: '.lock';
|
|
78
|
-
readonly NPM_BUGGY_OVERRIDES_PATCHED_VERSION: '11.2.0';
|
|
79
|
-
readonly NPM_REGISTRY_URL: 'https://registry.npmjs.org';
|
|
80
|
-
readonly PNPM: 'pnpm';
|
|
81
|
-
readonly REDACTED: '<redacted>';
|
|
82
|
-
readonly SHADOW_NPM_BIN: 'shadow-npm-bin';
|
|
83
|
-
readonly SHADOW_NPM_INJECT: 'shadow-npm-inject';
|
|
84
|
-
readonly SOCKET: 'socket';
|
|
85
|
-
readonly SOCKET_CLI_ACCEPT_RISKS: 'SOCKET_CLI_ACCEPT_RISKS';
|
|
86
|
-
readonly SOCKET_CLI_BIN_NAME: 'socket';
|
|
87
|
-
readonly SOCKET_CLI_BIN_NAME_ALIAS: 'cli';
|
|
88
|
-
readonly SOCKET_CLI_CONFIG: 'SOCKET_CLI_CONFIG';
|
|
89
|
-
readonly SOCKET_CLI_FIX: 'SOCKET_CLI_FIX';
|
|
90
|
-
readonly SOCKET_CLI_ISSUES_URL: 'https://github.com/SocketDev/socket-cli/issues';
|
|
91
|
-
readonly SOCKET_CLI_SENTRY_BIN_NAME_ALIAS: 'cli-with-sentry';
|
|
92
|
-
readonly SOCKET_CLI_LEGACY_PACKAGE_NAME: '@socketsecurity/cli';
|
|
93
|
-
readonly SOCKET_CLI_NPM_BIN_NAME: 'socket-npm';
|
|
94
|
-
readonly SOCKET_CLI_NPX_BIN_NAME: 'socket-npx';
|
|
95
|
-
readonly SOCKET_CLI_OPTIMIZE: 'SOCKET_CLI_OPTIMIZE';
|
|
96
|
-
readonly SOCKET_CLI_PACKAGE_NAME: 'socket';
|
|
97
|
-
readonly SOCKET_CLI_SAFE_BIN: 'SOCKET_CLI_SAFE_BIN';
|
|
98
|
-
readonly SOCKET_CLI_SAFE_PROGRESS: 'SOCKET_CLI_SAFE_PROGRESS';
|
|
99
|
-
readonly SOCKET_CLI_SENTRY_BIN_NAME: 'socket-with-sentry';
|
|
100
|
-
readonly SOCKET_CLI_SENTRY_NPM_BIN_NAME: 'socket-npm-with-sentry';
|
|
101
|
-
readonly SOCKET_CLI_SENTRY_NPX_BIN_NAME: 'socket-npx-with-sentry';
|
|
102
|
-
readonly SOCKET_CLI_SENTRY_PACKAGE_NAME: '@socketsecurity/cli-with-sentry';
|
|
103
|
-
readonly SOCKET_CLI_VIEW_ALL_RISKS: 'SOCKET_CLI_VIEW_ALL_RISKS';
|
|
104
|
-
readonly SOCKET_DEFAULT_BRANCH: 'socket-default-branch';
|
|
105
|
-
readonly SOCKET_DEFAULT_REPOSITORY: 'socket-default-repository';
|
|
106
|
-
readonly SOCKET_WEBSITE_URL: 'https://socket.dev';
|
|
107
|
-
readonly VLT: 'vlt';
|
|
108
|
-
readonly YARN: 'yarn';
|
|
109
|
-
readonly YARN_BERRY: 'yarn/berry';
|
|
110
|
-
readonly YARN_CLASSIC: 'yarn/classic';
|
|
111
|
-
readonly YARN_LOCK: 'yarn.lock';
|
|
112
|
-
readonly bashRcPath: string;
|
|
113
|
-
readonly binCliPath: string;
|
|
114
|
-
readonly binPath: string;
|
|
115
|
-
readonly blessedContribPath: string;
|
|
116
|
-
readonly blessedOptions: {
|
|
117
|
-
smartCSR: boolean;
|
|
118
|
-
term: string;
|
|
119
|
-
useBCE: boolean;
|
|
120
|
-
};
|
|
121
|
-
readonly blessedPath: string;
|
|
122
|
-
readonly coanaBinPath: string;
|
|
123
|
-
readonly coanaPath: string;
|
|
124
|
-
readonly distCliPath: string;
|
|
125
|
-
readonly distPath: string;
|
|
126
|
-
readonly externalPath: string;
|
|
127
|
-
readonly githubCachePath: string;
|
|
128
|
-
readonly homePath: string;
|
|
129
|
-
readonly instrumentWithSentryPath: string;
|
|
130
|
-
readonly minimumVersionByAgent: Map<Agent, string>;
|
|
131
|
-
readonly nmBinPath: string;
|
|
132
|
-
readonly nodeHardenFlags: string[];
|
|
133
|
-
readonly nodeMemoryFlags: string[];
|
|
134
|
-
readonly npmCachePath: string;
|
|
135
|
-
readonly npmGlobalPrefix: string;
|
|
136
|
-
readonly npmNmNodeGypPath: string;
|
|
137
|
-
readonly processEnv: ProcessEnv;
|
|
138
|
-
readonly rootPath: string;
|
|
139
|
-
readonly shadowBinPath: string;
|
|
140
|
-
readonly shadowNpmBinPath: string;
|
|
141
|
-
readonly shadowNpmInjectPath: string;
|
|
142
|
-
readonly socketAppDataPath: string;
|
|
143
|
-
readonly socketCachePath: string;
|
|
144
|
-
readonly socketRegistryPath: string;
|
|
145
|
-
readonly zshRcPath: string;
|
|
146
|
-
}>;
|
|
147
|
-
declare const constants: Constants;
|
|
148
|
-
export default constants;
|
|
149
|
-
//# sourceMappingURL=constants.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../../src/constants.mts"],"names":[],"mappings":"AAMA,OAAO,iBAAiB,MAAM,wCAAwC,CAAA;AAEtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAA;AAmBjE,KAAK,WAAW,GAAG,OAAO,iBAAiB,CAAC,GAAG,CAAA;AAE/C,KAAK,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,0BAA0B,CAAC,CAAA;AAE/E,KAAK,MAAM,GAAG,GAAG,CAAA;AAEjB,KAAK,SAAS,GAAG,KAAK,CACpB,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,GAC/B,QAAQ,CAAC;IACP,MAAM,EAAE;QACN,IAAI,OAAO,CAAC,GAAG,CAAC,CAAA;QAChB,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,SAAS,EAC9B,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,GAClB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,GAAG,CAAC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,CAAA;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,CAAA;IAClC,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,CAAA;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAA;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAA;IACpC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAA;IAClC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;IACnC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC3B,CACF,CAAA;AAweD,QAAA,MAAM,SAAS,EAAE,SAkIH,CAAA;AAEd,eAAe,SAAS,CAAA"}
|
package/dist/types/flags.d.mts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Flag } from 'meow';
|
|
2
|
-
// TODO: not sure if I'm missing something but meow doesn't seem to expose this?
|
|
3
|
-
export type StringFlag = Flag<'string', string> | Flag<'string', string[], true>;
|
|
4
|
-
export type BooleanFlag = Flag<'boolean', boolean> | Flag<'boolean', boolean[], true>;
|
|
5
|
-
export type NumberFlag = Flag<'number', number> | Flag<'number', number[], true>;
|
|
6
|
-
export type AnyFlag = StringFlag | BooleanFlag | NumberFlag;
|
|
7
|
-
export declare function getMaxOldSpaceSizeFlag(): number;
|
|
8
|
-
export declare function getMaxSemiSpaceSizeFlag(): number;
|
|
9
|
-
// Note: we use this description in getFlagListOutput, meow doesn't care
|
|
10
|
-
export type MeowFlags = Record<string, AnyFlag & {
|
|
11
|
-
description: string;
|
|
12
|
-
hidden?: boolean;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const commonFlags: MeowFlags;
|
|
15
|
-
export declare const outputFlags: MeowFlags;
|
|
16
|
-
export declare const validationFlags: MeowFlags;
|
|
17
|
-
//# sourceMappingURL=flags.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flags.d.mts","sourceRoot":"","sources":["../../src/flags.mts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAEhC,gFAAgF;AAChF,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,CAAA;AAChF,MAAM,MAAM,WAAW,GACnB,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GACxB,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,IAAI,CAAC,CAAA;AACpC,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,CAAA;AAChF,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA;AAmC3D,wBAAgB,sBAAsB,IAAI,MAAM,CAqB/C;AAMD,wBAAgB,uBAAuB,IAAI,MAAM,CAoDhD;AAKD,wEAAwE;AACxE,MAAM,MAAM,SAAS,GAAG,MAAM,CAC5B,MAAM,EACN,OAAO,GAAG;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CACpD,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,SA+CzB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,SAazB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,SAW7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instrument-with-sentry.d.mts","sourceRoot":"","sources":["../../src/instrument-with-sentry.mts"],"names":[],"mappings":""}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Arborist, SafeArborist } from './lib/arborist/index.mts';
|
|
2
|
-
import type { EdgeClass, NodeClass, OverrideSetClass } from './types.mts';
|
|
3
|
-
export { Arborist, SafeArborist };
|
|
4
|
-
export declare const Edge: EdgeClass;
|
|
5
|
-
export declare const Node: NodeClass;
|
|
6
|
-
export declare const OverrideSet: OverrideSetClass;
|
|
7
|
-
export declare function installSafeArborist(): void;
|
|
8
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../../src/shadow/npm/arborist/index.mts"],"names":[],"mappings":"AAeA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAIzE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAA;AAEjC,eAAO,MAAM,IAAI,EAAE,SAAuB,CAAA;AAE1C,eAAO,MAAM,IAAI,EAAE,SAAuB,CAAA;AAE1C,eAAO,MAAM,WAAW,EAAE,gBAAqC,CAAA;AAE/D,wBAAgB,mBAAmB,SAQlC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { ArboristClass, NodeClass } from '../../types.mts';
|
|
2
|
-
export declare const SAFE_NO_SAVE_ARBORIST_REIFY_OPTIONS_OVERRIDES: {
|
|
3
|
-
__proto__: null;
|
|
4
|
-
audit: boolean;
|
|
5
|
-
dryRun: boolean;
|
|
6
|
-
fund: boolean;
|
|
7
|
-
ignoreScripts: boolean;
|
|
8
|
-
progress: boolean;
|
|
9
|
-
save: boolean;
|
|
10
|
-
saveBundle: boolean;
|
|
11
|
-
silent: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const SAFE_WITH_SAVE_ARBORIST_REIFY_OPTIONS_OVERRIDES: {
|
|
14
|
-
__proto__: null;
|
|
15
|
-
audit: boolean;
|
|
16
|
-
fund: boolean;
|
|
17
|
-
ignoreScripts: boolean;
|
|
18
|
-
progress: boolean;
|
|
19
|
-
saveBundle: boolean;
|
|
20
|
-
silent: boolean;
|
|
21
|
-
dryRun: boolean;
|
|
22
|
-
save: boolean;
|
|
23
|
-
};
|
|
24
|
-
export declare const kCtorArgs: unique symbol;
|
|
25
|
-
export declare const kRiskyReify: unique symbol;
|
|
26
|
-
export declare const Arborist: ArboristClass;
|
|
27
|
-
// Implementation code not related to our custom behavior is based on
|
|
28
|
-
// https://github.com/npm/cli/blob/v11.0.0/workspaces/arborist/lib/arborist/index.js:
|
|
29
|
-
export declare class SafeArborist extends Arborist {
|
|
30
|
-
constructor(...ctorArgs: ConstructorParameters<ArboristClass>);
|
|
31
|
-
[kRiskyReify](...args: Parameters<InstanceType<ArboristClass>['reify']>): Promise<NodeClass>;
|
|
32
|
-
// @ts-ignore Incorrectly typed.
|
|
33
|
-
reify(this: SafeArborist, ...args: Parameters<InstanceType<ArboristClass>['reify']>): Promise<NodeClass>;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../../../../src/shadow/npm/arborist/lib/arborist/index.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,aAAa,EAEb,SAAS,EACV,MAAM,iBAAiB,CAAA;AAaxB,eAAO,MAAM,6CAA6C;;;;;;;;;;CAUzD,CAAA;AAED,eAAO,MAAM,+CAA+C;;;;;;;;;;CAM3D,CAAA;AAED,eAAO,MAAM,SAAS,eAAqB,CAAA;AAE3C,eAAO,MAAM,WAAW,eAAuB,CAAA;AAE/C,eAAO,MAAM,QAAQ,EAAE,aAA+B,CAAA;AAEtD,qEAAqE;AACrE,qFAAqF;AACrF,qBAAa,YAAa,SAAQ,QAAQ;IACxC,YAAY,GAAG,QAAQ,EAAE,qBAAqB,CAAC,aAAa,CAAC,EAW5D;IAEK,CAAC,WAAW,CAAC,CACjB,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,GACxD,OAAO,CAAC,SAAS,CAAC,CAkBpB;IAED,gCAAgC;IACjB,KAAK,CAClB,IAAI,EAAE,YAAY,EAClB,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,GACxD,OAAO,CAAC,SAAS,CAAC,CA4EpB;CACF"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import type { Advisory as BaseAdvisory, Arborist as BaseArborist, Options as BaseArboristOptions, AuditReport as BaseAuditReport, Diff as BaseDiff, Edge as BaseEdge, Node as BaseNode, BaseOverrideSet, BuildIdealTreeOptions, ReifyOptions } from '@npmcli/arborist';
|
|
2
|
-
export type ArboristOptions = BaseArboristOptions & {
|
|
3
|
-
npmCommand?: string;
|
|
4
|
-
npmVersion?: string;
|
|
5
|
-
};
|
|
6
|
-
export type ArboristClass = ArboristInstance & {
|
|
7
|
-
new (...args: any): ArboristInstance;
|
|
8
|
-
};
|
|
9
|
-
export type ArboristInstance = Omit<typeof BaseArborist, 'actualTree' | 'auditReport' | 'buildIdealTree' | 'diff' | 'idealTree' | 'loadActual' | 'loadVirtual' | 'reify'> & {
|
|
10
|
-
auditReport?: AuditReportInstance | null | undefined;
|
|
11
|
-
actualTree?: NodeClass | null | undefined;
|
|
12
|
-
diff: Diff | null;
|
|
13
|
-
idealTree?: NodeClass | null | undefined;
|
|
14
|
-
buildIdealTree(options?: BuildIdealTreeOptions): Promise<NodeClass>;
|
|
15
|
-
loadActual(options?: ArboristOptions): Promise<NodeClass>;
|
|
16
|
-
loadVirtual(options?: ArboristOptions): Promise<NodeClass>;
|
|
17
|
-
reify(options?: ArboristReifyOptions): Promise<NodeClass>;
|
|
18
|
-
};
|
|
19
|
-
export type ArboristReifyOptions = ReifyOptions & ArboristOptions;
|
|
20
|
-
export type AuditAdvisory = Omit<BaseAdvisory, 'id'> & {
|
|
21
|
-
id: number;
|
|
22
|
-
cwe: string[];
|
|
23
|
-
cvss: {
|
|
24
|
-
score: number;
|
|
25
|
-
vectorString: string;
|
|
26
|
-
};
|
|
27
|
-
vulnerable_versions: string;
|
|
28
|
-
};
|
|
29
|
-
export type AuditReportInstance = Omit<BaseAuditReport, 'report'> & {
|
|
30
|
-
report: {
|
|
31
|
-
[dependency: string]: AuditAdvisory[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare const DiffAction: Readonly<{
|
|
35
|
-
readonly add: "ADD";
|
|
36
|
-
readonly change: "CHANGE";
|
|
37
|
-
readonly remove: "REMOVE";
|
|
38
|
-
}>;
|
|
39
|
-
export type Diff = Omit<BaseDiff, 'actual' | 'children' | 'filterSet' | 'ideal' | 'leaves' | 'removed' | 'shrinkwrapInflated' | 'unchanged'> & {
|
|
40
|
-
actual: NodeClass;
|
|
41
|
-
children: Diff[];
|
|
42
|
-
filterSet: Set<NodeClass>;
|
|
43
|
-
ideal: NodeClass;
|
|
44
|
-
leaves: NodeClass[];
|
|
45
|
-
parent: Diff | null;
|
|
46
|
-
removed: NodeClass[];
|
|
47
|
-
shrinkwrapInflated: Set<NodeClass>;
|
|
48
|
-
unchanged: NodeClass[];
|
|
49
|
-
};
|
|
50
|
-
export type EdgeClass = Omit<BaseEdge, 'accept' | 'detach' | 'optional' | 'overrides' | 'peer' | 'peerConflicted' | 'rawSpec' | 'reload' | 'satisfiedBy' | 'spec' | 'to'> & {
|
|
51
|
-
optional: boolean;
|
|
52
|
-
overrides: OverrideSetClass | undefined;
|
|
53
|
-
peer: boolean;
|
|
54
|
-
peerConflicted: boolean;
|
|
55
|
-
rawSpec: string;
|
|
56
|
-
get accept(): string | undefined;
|
|
57
|
-
get spec(): string;
|
|
58
|
-
get to(): NodeClass | null;
|
|
59
|
-
new (...args: any): EdgeClass;
|
|
60
|
-
detach(): void;
|
|
61
|
-
reload(hard?: boolean): void;
|
|
62
|
-
satisfiedBy(node: NodeClass): boolean;
|
|
63
|
-
};
|
|
64
|
-
export type LinkClass = Omit<NodeClass, 'isLink'> & {
|
|
65
|
-
readonly isLink: true;
|
|
66
|
-
};
|
|
67
|
-
export type NodeClass = Omit<BaseNode, 'addEdgeIn' | 'addEdgeOut' | 'canDedupe' | 'canReplace' | 'canReplaceWith' | 'children' | 'deleteEdgeIn' | 'edgesIn' | 'edgesOut' | 'from' | 'hasShrinkwrap' | 'inDepBundle' | 'inShrinkwrap' | 'integrity' | 'isTop' | 'matches' | 'meta' | 'name' | 'overrides' | 'packageName' | 'parent' | 'recalculateOutEdgesOverrides' | 'resolve' | 'resolveParent' | 'root' | 'target' | 'updateOverridesEdgeInAdded' | 'updateOverridesEdgeInRemoved' | 'version' | 'versions'> & {
|
|
68
|
-
name: string;
|
|
69
|
-
version: string;
|
|
70
|
-
children: Map<string, NodeClass | LinkClass>;
|
|
71
|
-
edgesIn: Set<EdgeClass>;
|
|
72
|
-
edgesOut: Map<string, EdgeClass>;
|
|
73
|
-
from: NodeClass | null;
|
|
74
|
-
hasShrinkwrap: boolean;
|
|
75
|
-
inShrinkwrap: boolean | undefined;
|
|
76
|
-
integrity?: string | null;
|
|
77
|
-
isTop: boolean | undefined;
|
|
78
|
-
meta: BaseNode['meta'] & {
|
|
79
|
-
addEdge(edge: EdgeClass): void;
|
|
80
|
-
};
|
|
81
|
-
overrides: OverrideSetClass | undefined;
|
|
82
|
-
target: NodeClass;
|
|
83
|
-
versions: string[];
|
|
84
|
-
get inDepBundle(): boolean;
|
|
85
|
-
get packageName(): string | null;
|
|
86
|
-
get parent(): NodeClass | null;
|
|
87
|
-
set parent(value: NodeClass | null);
|
|
88
|
-
get resolveParent(): NodeClass | null;
|
|
89
|
-
get root(): NodeClass | null;
|
|
90
|
-
set root(value: NodeClass | null);
|
|
91
|
-
new (...args: any): NodeClass;
|
|
92
|
-
addEdgeIn(edge: EdgeClass): void;
|
|
93
|
-
addEdgeOut(edge: EdgeClass): void;
|
|
94
|
-
canDedupe(preferDedupe?: boolean): boolean;
|
|
95
|
-
canReplace(node: NodeClass, ignorePeers?: string[]): boolean;
|
|
96
|
-
canReplaceWith(node: NodeClass, ignorePeers?: string[]): boolean;
|
|
97
|
-
deleteEdgeIn(edge: EdgeClass): void;
|
|
98
|
-
matches(node: NodeClass): boolean;
|
|
99
|
-
recalculateOutEdgesOverrides(): void;
|
|
100
|
-
resolve(name: string): NodeClass;
|
|
101
|
-
updateOverridesEdgeInAdded(otherOverrideSet: OverrideSetClass | undefined): boolean;
|
|
102
|
-
updateOverridesEdgeInRemoved(otherOverrideSet: OverrideSetClass): boolean;
|
|
103
|
-
};
|
|
104
|
-
export interface OverrideSetClass extends Omit<BaseOverrideSet, 'ancestry' | 'children' | 'getEdgeRule' | 'getMatchingRule' | 'getNodeRule' | 'parent' | 'ruleset'> {
|
|
105
|
-
children: Map<string, OverrideSetClass>;
|
|
106
|
-
key: string | undefined;
|
|
107
|
-
keySpec: string | undefined;
|
|
108
|
-
name: string | undefined;
|
|
109
|
-
parent: OverrideSetClass | undefined;
|
|
110
|
-
value: string | undefined;
|
|
111
|
-
version: string | undefined;
|
|
112
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-new
|
|
113
|
-
new (...args: any[]): OverrideSetClass;
|
|
114
|
-
get isRoot(): boolean;
|
|
115
|
-
get ruleset(): Map<string, OverrideSetClass>;
|
|
116
|
-
ancestry(): Generator<OverrideSetClass>;
|
|
117
|
-
childrenAreEqual(otherOverrideSet: OverrideSetClass | undefined): boolean;
|
|
118
|
-
getEdgeRule(edge: EdgeClass): OverrideSetClass;
|
|
119
|
-
getMatchingRule(node: NodeClass): OverrideSetClass | null;
|
|
120
|
-
getNodeRule(node: NodeClass): OverrideSetClass;
|
|
121
|
-
isEqual(otherOverrideSet: OverrideSetClass | undefined): boolean;
|
|
122
|
-
}
|
|
123
|
-
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../../../src/shadow/npm/arborist/types.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,QAAQ,IAAI,YAAY,EACxB,QAAQ,IAAI,YAAY,EACxB,OAAO,IAAI,mBAAmB,EAC9B,WAAW,IAAI,eAAe,EAC9B,IAAI,IAAI,QAAQ,EAChB,IAAI,IAAI,QAAQ,EAChB,IAAI,IAAI,QAAQ,EAChB,eAAe,EACf,qBAAqB,EACrB,YAAY,EACb,MAAM,kBAAkB,CAAA;AAEzB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG;IAC7C,KAAK,GAAG,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,OAAO,YAAY,EACjB,YAAY,GACZ,aAAa,GACb,gBAAgB,GAChB,MAAM,GACN,WAAW,GACX,YAAY,GACZ,aAAa,GACb,OAAO,CACV,GAAG;IACF,WAAW,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAA;IACpD,UAAU,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAA;IACzC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAA;IACjB,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAA;IACxC,cAAc,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,SAAS,CA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