@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
|
@@ -1,792 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* unicode.js - east asian width and surrogate pairs
|
|
5
|
-
* Copyright (c) 2013-2015, Christopher Jeffrey and contributors (MIT License).
|
|
6
|
-
* https://github.com/chjj/blessed
|
|
7
|
-
* Borrowed from vangie/east-asian-width, komagata/eastasianwidth,
|
|
8
|
-
* and mathiasbynens/String.prototype.codePointAt. Licenses below.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
// east-asian-width
|
|
12
|
-
//
|
|
13
|
-
// Copyright (c) 2015 Vangie Du
|
|
14
|
-
// https://github.com/vangie/east-asian-width
|
|
15
|
-
//
|
|
16
|
-
// Permission is hereby granted, free of charge, to any person
|
|
17
|
-
// obtaining a copy of this software and associated documentation
|
|
18
|
-
// files (the "Software"), to deal in the Software without
|
|
19
|
-
// restriction, including without limitation the rights to use,
|
|
20
|
-
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
21
|
-
// copies of the Software, and to permit persons to whom the
|
|
22
|
-
// Software is furnished to do so, subject to the following
|
|
23
|
-
// conditions:
|
|
24
|
-
//
|
|
25
|
-
// The above copyright notice and this permission notice shall be
|
|
26
|
-
// included in all copies or substantial portions of the Software.
|
|
27
|
-
//
|
|
28
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
29
|
-
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
30
|
-
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
31
|
-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
32
|
-
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
33
|
-
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
34
|
-
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
35
|
-
// OTHER DEALINGS IN THE SOFTWARE.
|
|
36
|
-
|
|
37
|
-
// eastasianwidth
|
|
38
|
-
//
|
|
39
|
-
// Copyright (c) 2013, Masaki Komagata
|
|
40
|
-
// https://github.com/komagata/eastasianwidth
|
|
41
|
-
//
|
|
42
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
43
|
-
// of this software and associated documentation files (the "Software"), to deal
|
|
44
|
-
// in the Software without restriction, including without limitation the rights
|
|
45
|
-
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
46
|
-
// copies of the Software, and to permit persons to whom the Software is
|
|
47
|
-
// furnished to do so, subject to the following conditions:
|
|
48
|
-
//
|
|
49
|
-
// The above copyright notice and this permission notice shall be included in
|
|
50
|
-
// all copies or substantial portions of the Software.
|
|
51
|
-
//
|
|
52
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
53
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
54
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
55
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
56
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
57
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
58
|
-
// THE SOFTWARE.
|
|
59
|
-
|
|
60
|
-
// String.prototype.codePointAt
|
|
61
|
-
//
|
|
62
|
-
// Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
63
|
-
// https://github.com/mathiasbynens/String.prototype.codePointAt
|
|
64
|
-
//
|
|
65
|
-
// Permission is hereby granted, free of charge, to any person obtaining
|
|
66
|
-
// a copy of this software and associated documentation files (the
|
|
67
|
-
// "Software"), to deal in the Software without restriction, including
|
|
68
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
69
|
-
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
70
|
-
// permit persons to whom the Software is furnished to do so, subject to
|
|
71
|
-
// the following conditions:
|
|
72
|
-
//
|
|
73
|
-
// The above copyright notice and this permission notice shall be
|
|
74
|
-
// included in all copies or substantial portions of the Software.
|
|
75
|
-
//
|
|
76
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
77
|
-
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
78
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
79
|
-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
80
|
-
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
81
|
-
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
82
|
-
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
83
|
-
|
|
84
|
-
// String.fromCodePoint
|
|
85
|
-
//
|
|
86
|
-
// Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
87
|
-
// https://github.com/mathiasbynens/String.fromCodePoint
|
|
88
|
-
//
|
|
89
|
-
// Permission is hereby granted, free of charge, to any person obtaining
|
|
90
|
-
// a copy of this software and associated documentation files (the
|
|
91
|
-
// "Software"), to deal in the Software without restriction, including
|
|
92
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
93
|
-
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
94
|
-
// permit persons to whom the Software is furnished to do so, subject to
|
|
95
|
-
// the following conditions:
|
|
96
|
-
//
|
|
97
|
-
// The above copyright notice and this permission notice shall be
|
|
98
|
-
// included in all copies or substantial portions of the Software.
|
|
99
|
-
//
|
|
100
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
101
|
-
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
102
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
103
|
-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
104
|
-
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
105
|
-
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
106
|
-
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
107
|
-
|
|
108
|
-
var stringFromCharCode = String.fromCharCode;
|
|
109
|
-
var floor = Math.floor;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Wide, Surrogates, and Combining
|
|
113
|
-
*/
|
|
114
|
-
|
|
115
|
-
exports.charWidth = function(str, i) {
|
|
116
|
-
var point = typeof str !== 'number'
|
|
117
|
-
? exports.codePointAt(str, i || 0)
|
|
118
|
-
: str;
|
|
119
|
-
|
|
120
|
-
// nul
|
|
121
|
-
if (point === 0) return 0;
|
|
122
|
-
|
|
123
|
-
// tab
|
|
124
|
-
if (point === 0x09) {
|
|
125
|
-
if (!exports.blessed) {
|
|
126
|
-
exports.blessed = require('../');
|
|
127
|
-
}
|
|
128
|
-
return exports.blessed.screen.global
|
|
129
|
-
? exports.blessed.screen.global.tabc.length
|
|
130
|
-
: 8;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// 8-bit control characters (2-width according to unicode??)
|
|
134
|
-
if (point < 32 || (point >= 0x7f && point < 0xa0)) {
|
|
135
|
-
return 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// search table of non-spacing characters
|
|
139
|
-
// is ucs combining or C0/C1 control character
|
|
140
|
-
if (exports.combining[point]) {
|
|
141
|
-
return 0;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// check for double-wide
|
|
145
|
-
// if (point >= 0x1100
|
|
146
|
-
// && (point <= 0x115f // Hangul Jamo init. consonants
|
|
147
|
-
// || point === 0x2329 || point === 0x232a
|
|
148
|
-
// || (point >= 0x2e80 && point <= 0xa4cf
|
|
149
|
-
// && point !== 0x303f) // CJK ... Yi
|
|
150
|
-
// || (point >= 0xac00 && point <= 0xd7a3) // Hangul Syllables
|
|
151
|
-
// || (point >= 0xf900 && point <= 0xfaff) // CJK Compatibility Ideographs
|
|
152
|
-
// || (point >= 0xfe10 && point <= 0xfe19) // Vertical forms
|
|
153
|
-
// || (point >= 0xfe30 && point <= 0xfe6f) // CJK Compatibility Forms
|
|
154
|
-
// || (point >= 0xff00 && point <= 0xff60) // Fullwidth Forms
|
|
155
|
-
// || (point >= 0xffe0 && point <= 0xffe6)
|
|
156
|
-
// || (point >= 0x20000 && point <= 0x2fffd)
|
|
157
|
-
// || (point >= 0x30000 && point <= 0x3fffd))) {
|
|
158
|
-
// return 2;
|
|
159
|
-
// }
|
|
160
|
-
|
|
161
|
-
// check for double-wide
|
|
162
|
-
if ((0x3000 === point)
|
|
163
|
-
|| (0xFF01 <= point && point <= 0xFF60)
|
|
164
|
-
|| (0xFFE0 <= point && point <= 0xFFE6)) {
|
|
165
|
-
return 2;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if ((0x1100 <= point && point <= 0x115F)
|
|
169
|
-
|| (0x11A3 <= point && point <= 0x11A7)
|
|
170
|
-
|| (0x11FA <= point && point <= 0x11FF)
|
|
171
|
-
|| (0x2329 <= point && point <= 0x232A)
|
|
172
|
-
|| (0x2E80 <= point && point <= 0x2E99)
|
|
173
|
-
|| (0x2E9B <= point && point <= 0x2EF3)
|
|
174
|
-
|| (0x2F00 <= point && point <= 0x2FD5)
|
|
175
|
-
|| (0x2FF0 <= point && point <= 0x2FFB)
|
|
176
|
-
|| (0x3001 <= point && point <= 0x303E)
|
|
177
|
-
|| (0x3041 <= point && point <= 0x3096)
|
|
178
|
-
|| (0x3099 <= point && point <= 0x30FF)
|
|
179
|
-
|| (0x3105 <= point && point <= 0x312D)
|
|
180
|
-
|| (0x3131 <= point && point <= 0x318E)
|
|
181
|
-
|| (0x3190 <= point && point <= 0x31BA)
|
|
182
|
-
|| (0x31C0 <= point && point <= 0x31E3)
|
|
183
|
-
|| (0x31F0 <= point && point <= 0x321E)
|
|
184
|
-
|| (0x3220 <= point && point <= 0x3247)
|
|
185
|
-
|| (0x3250 <= point && point <= 0x32FE)
|
|
186
|
-
|| (0x3300 <= point && point <= 0x4DBF)
|
|
187
|
-
|| (0x4E00 <= point && point <= 0xA48C)
|
|
188
|
-
|| (0xA490 <= point && point <= 0xA4C6)
|
|
189
|
-
|| (0xA960 <= point && point <= 0xA97C)
|
|
190
|
-
|| (0xAC00 <= point && point <= 0xD7A3)
|
|
191
|
-
|| (0xD7B0 <= point && point <= 0xD7C6)
|
|
192
|
-
|| (0xD7CB <= point && point <= 0xD7FB)
|
|
193
|
-
|| (0xF900 <= point && point <= 0xFAFF)
|
|
194
|
-
|| (0xFE10 <= point && point <= 0xFE19)
|
|
195
|
-
|| (0xFE30 <= point && point <= 0xFE52)
|
|
196
|
-
|| (0xFE54 <= point && point <= 0xFE66)
|
|
197
|
-
|| (0xFE68 <= point && point <= 0xFE6B)
|
|
198
|
-
|| (0x1B000 <= point && point <= 0x1B001)
|
|
199
|
-
|| (0x1F200 <= point && point <= 0x1F202)
|
|
200
|
-
|| (0x1F210 <= point && point <= 0x1F23A)
|
|
201
|
-
|| (0x1F240 <= point && point <= 0x1F248)
|
|
202
|
-
|| (0x1F250 <= point && point <= 0x1F251)
|
|
203
|
-
|| (0x20000 <= point && point <= 0x2F73F)
|
|
204
|
-
|| (0x2B740 <= point && point <= 0x2FFFD)
|
|
205
|
-
|| (0x30000 <= point && point <= 0x3FFFD)) {
|
|
206
|
-
return 2;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// CJK Ambiguous
|
|
210
|
-
// http://www.unicode.org/reports/tr11/
|
|
211
|
-
// http://www.unicode.org/reports/tr11/#Ambiguous
|
|
212
|
-
if (process.env.NCURSES_CJK_WIDTH) {
|
|
213
|
-
if ((0x00A1 === point)
|
|
214
|
-
|| (0x00A4 === point)
|
|
215
|
-
|| (0x00A7 <= point && point <= 0x00A8)
|
|
216
|
-
|| (0x00AA === point)
|
|
217
|
-
|| (0x00AD <= point && point <= 0x00AE)
|
|
218
|
-
|| (0x00B0 <= point && point <= 0x00B4)
|
|
219
|
-
|| (0x00B6 <= point && point <= 0x00BA)
|
|
220
|
-
|| (0x00BC <= point && point <= 0x00BF)
|
|
221
|
-
|| (0x00C6 === point)
|
|
222
|
-
|| (0x00D0 === point)
|
|
223
|
-
|| (0x00D7 <= point && point <= 0x00D8)
|
|
224
|
-
|| (0x00DE <= point && point <= 0x00E1)
|
|
225
|
-
|| (0x00E6 === point)
|
|
226
|
-
|| (0x00E8 <= point && point <= 0x00EA)
|
|
227
|
-
|| (0x00EC <= point && point <= 0x00ED)
|
|
228
|
-
|| (0x00F0 === point)
|
|
229
|
-
|| (0x00F2 <= point && point <= 0x00F3)
|
|
230
|
-
|| (0x00F7 <= point && point <= 0x00FA)
|
|
231
|
-
|| (0x00FC === point)
|
|
232
|
-
|| (0x00FE === point)
|
|
233
|
-
|| (0x0101 === point)
|
|
234
|
-
|| (0x0111 === point)
|
|
235
|
-
|| (0x0113 === point)
|
|
236
|
-
|| (0x011B === point)
|
|
237
|
-
|| (0x0126 <= point && point <= 0x0127)
|
|
238
|
-
|| (0x012B === point)
|
|
239
|
-
|| (0x0131 <= point && point <= 0x0133)
|
|
240
|
-
|| (0x0138 === point)
|
|
241
|
-
|| (0x013F <= point && point <= 0x0142)
|
|
242
|
-
|| (0x0144 === point)
|
|
243
|
-
|| (0x0148 <= point && point <= 0x014B)
|
|
244
|
-
|| (0x014D === point)
|
|
245
|
-
|| (0x0152 <= point && point <= 0x0153)
|
|
246
|
-
|| (0x0166 <= point && point <= 0x0167)
|
|
247
|
-
|| (0x016B === point)
|
|
248
|
-
|| (0x01CE === point)
|
|
249
|
-
|| (0x01D0 === point)
|
|
250
|
-
|| (0x01D2 === point)
|
|
251
|
-
|| (0x01D4 === point)
|
|
252
|
-
|| (0x01D6 === point)
|
|
253
|
-
|| (0x01D8 === point)
|
|
254
|
-
|| (0x01DA === point)
|
|
255
|
-
|| (0x01DC === point)
|
|
256
|
-
|| (0x0251 === point)
|
|
257
|
-
|| (0x0261 === point)
|
|
258
|
-
|| (0x02C4 === point)
|
|
259
|
-
|| (0x02C7 === point)
|
|
260
|
-
|| (0x02C9 <= point && point <= 0x02CB)
|
|
261
|
-
|| (0x02CD === point)
|
|
262
|
-
|| (0x02D0 === point)
|
|
263
|
-
|| (0x02D8 <= point && point <= 0x02DB)
|
|
264
|
-
|| (0x02DD === point)
|
|
265
|
-
|| (0x02DF === point)
|
|
266
|
-
|| (0x0300 <= point && point <= 0x036F)
|
|
267
|
-
|| (0x0391 <= point && point <= 0x03A1)
|
|
268
|
-
|| (0x03A3 <= point && point <= 0x03A9)
|
|
269
|
-
|| (0x03B1 <= point && point <= 0x03C1)
|
|
270
|
-
|| (0x03C3 <= point && point <= 0x03C9)
|
|
271
|
-
|| (0x0401 === point)
|
|
272
|
-
|| (0x0410 <= point && point <= 0x044F)
|
|
273
|
-
|| (0x0451 === point)
|
|
274
|
-
|| (0x2010 === point)
|
|
275
|
-
|| (0x2013 <= point && point <= 0x2016)
|
|
276
|
-
|| (0x2018 <= point && point <= 0x2019)
|
|
277
|
-
|| (0x201C <= point && point <= 0x201D)
|
|
278
|
-
|| (0x2020 <= point && point <= 0x2022)
|
|
279
|
-
|| (0x2024 <= point && point <= 0x2027)
|
|
280
|
-
|| (0x2030 === point)
|
|
281
|
-
|| (0x2032 <= point && point <= 0x2033)
|
|
282
|
-
|| (0x2035 === point)
|
|
283
|
-
|| (0x203B === point)
|
|
284
|
-
|| (0x203E === point)
|
|
285
|
-
|| (0x2074 === point)
|
|
286
|
-
|| (0x207F === point)
|
|
287
|
-
|| (0x2081 <= point && point <= 0x2084)
|
|
288
|
-
|| (0x20AC === point)
|
|
289
|
-
|| (0x2103 === point)
|
|
290
|
-
|| (0x2105 === point)
|
|
291
|
-
|| (0x2109 === point)
|
|
292
|
-
|| (0x2113 === point)
|
|
293
|
-
|| (0x2116 === point)
|
|
294
|
-
|| (0x2121 <= point && point <= 0x2122)
|
|
295
|
-
|| (0x2126 === point)
|
|
296
|
-
|| (0x212B === point)
|
|
297
|
-
|| (0x2153 <= point && point <= 0x2154)
|
|
298
|
-
|| (0x215B <= point && point <= 0x215E)
|
|
299
|
-
|| (0x2160 <= point && point <= 0x216B)
|
|
300
|
-
|| (0x2170 <= point && point <= 0x2179)
|
|
301
|
-
|| (0x2189 === point)
|
|
302
|
-
|| (0x2190 <= point && point <= 0x2199)
|
|
303
|
-
|| (0x21B8 <= point && point <= 0x21B9)
|
|
304
|
-
|| (0x21D2 === point)
|
|
305
|
-
|| (0x21D4 === point)
|
|
306
|
-
|| (0x21E7 === point)
|
|
307
|
-
|| (0x2200 === point)
|
|
308
|
-
|| (0x2202 <= point && point <= 0x2203)
|
|
309
|
-
|| (0x2207 <= point && point <= 0x2208)
|
|
310
|
-
|| (0x220B === point)
|
|
311
|
-
|| (0x220F === point)
|
|
312
|
-
|| (0x2211 === point)
|
|
313
|
-
|| (0x2215 === point)
|
|
314
|
-
|| (0x221A === point)
|
|
315
|
-
|| (0x221D <= point && point <= 0x2220)
|
|
316
|
-
|| (0x2223 === point)
|
|
317
|
-
|| (0x2225 === point)
|
|
318
|
-
|| (0x2227 <= point && point <= 0x222C)
|
|
319
|
-
|| (0x222E === point)
|
|
320
|
-
|| (0x2234 <= point && point <= 0x2237)
|
|
321
|
-
|| (0x223C <= point && point <= 0x223D)
|
|
322
|
-
|| (0x2248 === point)
|
|
323
|
-
|| (0x224C === point)
|
|
324
|
-
|| (0x2252 === point)
|
|
325
|
-
|| (0x2260 <= point && point <= 0x2261)
|
|
326
|
-
|| (0x2264 <= point && point <= 0x2267)
|
|
327
|
-
|| (0x226A <= point && point <= 0x226B)
|
|
328
|
-
|| (0x226E <= point && point <= 0x226F)
|
|
329
|
-
|| (0x2282 <= point && point <= 0x2283)
|
|
330
|
-
|| (0x2286 <= point && point <= 0x2287)
|
|
331
|
-
|| (0x2295 === point)
|
|
332
|
-
|| (0x2299 === point)
|
|
333
|
-
|| (0x22A5 === point)
|
|
334
|
-
|| (0x22BF === point)
|
|
335
|
-
|| (0x2312 === point)
|
|
336
|
-
|| (0x2460 <= point && point <= 0x24E9)
|
|
337
|
-
|| (0x24EB <= point && point <= 0x254B)
|
|
338
|
-
|| (0x2550 <= point && point <= 0x2573)
|
|
339
|
-
|| (0x2580 <= point && point <= 0x258F)
|
|
340
|
-
|| (0x2592 <= point && point <= 0x2595)
|
|
341
|
-
|| (0x25A0 <= point && point <= 0x25A1)
|
|
342
|
-
|| (0x25A3 <= point && point <= 0x25A9)
|
|
343
|
-
|| (0x25B2 <= point && point <= 0x25B3)
|
|
344
|
-
|| (0x25B6 <= point && point <= 0x25B7)
|
|
345
|
-
|| (0x25BC <= point && point <= 0x25BD)
|
|
346
|
-
|| (0x25C0 <= point && point <= 0x25C1)
|
|
347
|
-
|| (0x25C6 <= point && point <= 0x25C8)
|
|
348
|
-
|| (0x25CB === point)
|
|
349
|
-
|| (0x25CE <= point && point <= 0x25D1)
|
|
350
|
-
|| (0x25E2 <= point && point <= 0x25E5)
|
|
351
|
-
|| (0x25EF === point)
|
|
352
|
-
|| (0x2605 <= point && point <= 0x2606)
|
|
353
|
-
|| (0x2609 === point)
|
|
354
|
-
|| (0x260E <= point && point <= 0x260F)
|
|
355
|
-
|| (0x2614 <= point && point <= 0x2615)
|
|
356
|
-
|| (0x261C === point)
|
|
357
|
-
|| (0x261E === point)
|
|
358
|
-
|| (0x2640 === point)
|
|
359
|
-
|| (0x2642 === point)
|
|
360
|
-
|| (0x2660 <= point && point <= 0x2661)
|
|
361
|
-
|| (0x2663 <= point && point <= 0x2665)
|
|
362
|
-
|| (0x2667 <= point && point <= 0x266A)
|
|
363
|
-
|| (0x266C <= point && point <= 0x266D)
|
|
364
|
-
|| (0x266F === point)
|
|
365
|
-
|| (0x269E <= point && point <= 0x269F)
|
|
366
|
-
|| (0x26BE <= point && point <= 0x26BF)
|
|
367
|
-
|| (0x26C4 <= point && point <= 0x26CD)
|
|
368
|
-
|| (0x26CF <= point && point <= 0x26E1)
|
|
369
|
-
|| (0x26E3 === point)
|
|
370
|
-
|| (0x26E8 <= point && point <= 0x26FF)
|
|
371
|
-
|| (0x273D === point)
|
|
372
|
-
|| (0x2757 === point)
|
|
373
|
-
|| (0x2776 <= point && point <= 0x277F)
|
|
374
|
-
|| (0x2B55 <= point && point <= 0x2B59)
|
|
375
|
-
|| (0x3248 <= point && point <= 0x324F)
|
|
376
|
-
|| (0xE000 <= point && point <= 0xF8FF)
|
|
377
|
-
|| (0xFE00 <= point && point <= 0xFE0F)
|
|
378
|
-
|| (0xFFFD === point)
|
|
379
|
-
|| (0x1F100 <= point && point <= 0x1F10A)
|
|
380
|
-
|| (0x1F110 <= point && point <= 0x1F12D)
|
|
381
|
-
|| (0x1F130 <= point && point <= 0x1F169)
|
|
382
|
-
|| (0x1F170 <= point && point <= 0x1F19A)
|
|
383
|
-
|| (0xE0100 <= point && point <= 0xE01EF)
|
|
384
|
-
|| (0xF0000 <= point && point <= 0xFFFFD)
|
|
385
|
-
|| (0x100000 <= point && point <= 0x10FFFD)) {
|
|
386
|
-
return +process.env.NCURSES_CJK_WIDTH || 1;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
return 1;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
exports.strWidth = function(str) {
|
|
394
|
-
var width = 0;
|
|
395
|
-
for (var i = 0; i < str.length; i++) {
|
|
396
|
-
width += exports.charWidth(str, i);
|
|
397
|
-
if (exports.isSurrogate(str, i)) i++;
|
|
398
|
-
}
|
|
399
|
-
return width;
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
exports.isSurrogate = function(str, i) {
|
|
403
|
-
var point = typeof str !== 'number'
|
|
404
|
-
? exports.codePointAt(str, i || 0)
|
|
405
|
-
: str;
|
|
406
|
-
return point > 0x00ffff;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
exports.combiningTable = [
|
|
410
|
-
[0x0300, 0x036F], [0x0483, 0x0486], [0x0488, 0x0489],
|
|
411
|
-
[0x0591, 0x05BD], [0x05BF, 0x05BF], [0x05C1, 0x05C2],
|
|
412
|
-
[0x05C4, 0x05C5], [0x05C7, 0x05C7], [0x0600, 0x0603],
|
|
413
|
-
[0x0610, 0x0615], [0x064B, 0x065E], [0x0670, 0x0670],
|
|
414
|
-
[0x06D6, 0x06E4], [0x06E7, 0x06E8], [0x06EA, 0x06ED],
|
|
415
|
-
[0x070F, 0x070F], [0x0711, 0x0711], [0x0730, 0x074A],
|
|
416
|
-
[0x07A6, 0x07B0], [0x07EB, 0x07F3], [0x0901, 0x0902],
|
|
417
|
-
[0x093C, 0x093C], [0x0941, 0x0948], [0x094D, 0x094D],
|
|
418
|
-
[0x0951, 0x0954], [0x0962, 0x0963], [0x0981, 0x0981],
|
|
419
|
-
[0x09BC, 0x09BC], [0x09C1, 0x09C4], [0x09CD, 0x09CD],
|
|
420
|
-
[0x09E2, 0x09E3], [0x0A01, 0x0A02], [0x0A3C, 0x0A3C],
|
|
421
|
-
[0x0A41, 0x0A42], [0x0A47, 0x0A48], [0x0A4B, 0x0A4D],
|
|
422
|
-
[0x0A70, 0x0A71], [0x0A81, 0x0A82], [0x0ABC, 0x0ABC],
|
|
423
|
-
[0x0AC1, 0x0AC5], [0x0AC7, 0x0AC8], [0x0ACD, 0x0ACD],
|
|
424
|
-
[0x0AE2, 0x0AE3], [0x0B01, 0x0B01], [0x0B3C, 0x0B3C],
|
|
425
|
-
[0x0B3F, 0x0B3F], [0x0B41, 0x0B43], [0x0B4D, 0x0B4D],
|
|
426
|
-
[0x0B56, 0x0B56], [0x0B82, 0x0B82], [0x0BC0, 0x0BC0],
|
|
427
|
-
[0x0BCD, 0x0BCD], [0x0C3E, 0x0C40], [0x0C46, 0x0C48],
|
|
428
|
-
[0x0C4A, 0x0C4D], [0x0C55, 0x0C56], [0x0CBC, 0x0CBC],
|
|
429
|
-
[0x0CBF, 0x0CBF], [0x0CC6, 0x0CC6], [0x0CCC, 0x0CCD],
|
|
430
|
-
[0x0CE2, 0x0CE3], [0x0D41, 0x0D43], [0x0D4D, 0x0D4D],
|
|
431
|
-
[0x0DCA, 0x0DCA], [0x0DD2, 0x0DD4], [0x0DD6, 0x0DD6],
|
|
432
|
-
[0x0E31, 0x0E31], [0x0E34, 0x0E3A], [0x0E47, 0x0E4E],
|
|
433
|
-
[0x0EB1, 0x0EB1], [0x0EB4, 0x0EB9], [0x0EBB, 0x0EBC],
|
|
434
|
-
[0x0EC8, 0x0ECD], [0x0F18, 0x0F19], [0x0F35, 0x0F35],
|
|
435
|
-
[0x0F37, 0x0F37], [0x0F39, 0x0F39], [0x0F71, 0x0F7E],
|
|
436
|
-
[0x0F80, 0x0F84], [0x0F86, 0x0F87], [0x0F90, 0x0F97],
|
|
437
|
-
[0x0F99, 0x0FBC], [0x0FC6, 0x0FC6], [0x102D, 0x1030],
|
|
438
|
-
[0x1032, 0x1032], [0x1036, 0x1037], [0x1039, 0x1039],
|
|
439
|
-
[0x1058, 0x1059], [0x1160, 0x11FF], [0x135F, 0x135F],
|
|
440
|
-
[0x1712, 0x1714], [0x1732, 0x1734], [0x1752, 0x1753],
|
|
441
|
-
[0x1772, 0x1773], [0x17B4, 0x17B5], [0x17B7, 0x17BD],
|
|
442
|
-
[0x17C6, 0x17C6], [0x17C9, 0x17D3], [0x17DD, 0x17DD],
|
|
443
|
-
[0x180B, 0x180D], [0x18A9, 0x18A9], [0x1920, 0x1922],
|
|
444
|
-
[0x1927, 0x1928], [0x1932, 0x1932], [0x1939, 0x193B],
|
|
445
|
-
[0x1A17, 0x1A18], [0x1B00, 0x1B03], [0x1B34, 0x1B34],
|
|
446
|
-
[0x1B36, 0x1B3A], [0x1B3C, 0x1B3C], [0x1B42, 0x1B42],
|
|
447
|
-
[0x1B6B, 0x1B73], [0x1DC0, 0x1DCA], [0x1DFE, 0x1DFF],
|
|
448
|
-
[0x200B, 0x200F], [0x202A, 0x202E], [0x2060, 0x2063],
|
|
449
|
-
[0x206A, 0x206F], [0x20D0, 0x20EF], [0x302A, 0x302F],
|
|
450
|
-
[0x3099, 0x309A], [0xA806, 0xA806], [0xA80B, 0xA80B],
|
|
451
|
-
[0xA825, 0xA826], [0xFB1E, 0xFB1E], [0xFE00, 0xFE0F],
|
|
452
|
-
[0xFE20, 0xFE23], [0xFEFF, 0xFEFF], [0xFFF9, 0xFFFB],
|
|
453
|
-
[0x10A01, 0x10A03], [0x10A05, 0x10A06], [0x10A0C, 0x10A0F],
|
|
454
|
-
[0x10A38, 0x10A3A], [0x10A3F, 0x10A3F], [0x1D167, 0x1D169],
|
|
455
|
-
[0x1D173, 0x1D182], [0x1D185, 0x1D18B], [0x1D1AA, 0x1D1AD],
|
|
456
|
-
[0x1D242, 0x1D244], [0xE0001, 0xE0001], [0xE0020, 0xE007F],
|
|
457
|
-
[0xE0100, 0xE01EF]
|
|
458
|
-
];
|
|
459
|
-
|
|
460
|
-
exports.combining = exports.combiningTable.reduce(function(out, row) {
|
|
461
|
-
for (var i = row[0]; i <= row[1]; i++) {
|
|
462
|
-
out[i] = true;
|
|
463
|
-
}
|
|
464
|
-
return out;
|
|
465
|
-
}, {});
|
|
466
|
-
|
|
467
|
-
exports.isCombining = function(str, i) {
|
|
468
|
-
var point = typeof str !== 'number'
|
|
469
|
-
? exports.codePointAt(str, i || 0)
|
|
470
|
-
: str;
|
|
471
|
-
return exports.combining[point] === true;
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Code Point Helpers
|
|
476
|
-
*/
|
|
477
|
-
|
|
478
|
-
exports.codePointAt = function(str, position) {
|
|
479
|
-
if (str == null) {
|
|
480
|
-
throw TypeError();
|
|
481
|
-
}
|
|
482
|
-
var string = String(str);
|
|
483
|
-
if (string.codePointAt) {
|
|
484
|
-
return string.codePointAt(position);
|
|
485
|
-
}
|
|
486
|
-
var size = string.length;
|
|
487
|
-
// `ToInteger`
|
|
488
|
-
var index = position ? Number(position) : 0;
|
|
489
|
-
if (index !== index) { // better `isNaN`
|
|
490
|
-
index = 0;
|
|
491
|
-
}
|
|
492
|
-
// Account for out-of-bounds indices:
|
|
493
|
-
if (index < 0 || index >= size) {
|
|
494
|
-
return undefined;
|
|
495
|
-
}
|
|
496
|
-
// Get the first code unit
|
|
497
|
-
var first = string.charCodeAt(index);
|
|
498
|
-
var second;
|
|
499
|
-
if ( // check if it’s the start of a surrogate pair
|
|
500
|
-
first >= 0xD800 && first <= 0xDBFF && // high surrogate
|
|
501
|
-
size > index + 1 // there is a next code unit
|
|
502
|
-
) {
|
|
503
|
-
second = string.charCodeAt(index + 1);
|
|
504
|
-
if (second >= 0xDC00 && second <= 0xDFFF) { // low surrogate
|
|
505
|
-
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
506
|
-
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
return first;
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
// exports.codePointAt = function(str, position) {
|
|
513
|
-
// position = +position || 0;
|
|
514
|
-
// var x = str.charCodeAt(position);
|
|
515
|
-
// var y = str.length > 1 ? str.charCodeAt(position + 1) : 0;
|
|
516
|
-
// var point = x;
|
|
517
|
-
// if ((0xD800 <= x && x <= 0xDBFF) && (0xDC00 <= y && y <= 0xDFFF)) {
|
|
518
|
-
// x &= 0x3FF;
|
|
519
|
-
// y &= 0x3FF;
|
|
520
|
-
// point = (x << 10) | y;
|
|
521
|
-
// point += 0x10000;
|
|
522
|
-
// }
|
|
523
|
-
// return point;
|
|
524
|
-
// };
|
|
525
|
-
|
|
526
|
-
exports.fromCodePoint = function() {
|
|
527
|
-
if (String.fromCodePoint) {
|
|
528
|
-
return String.fromCodePoint.apply(String, arguments);
|
|
529
|
-
}
|
|
530
|
-
var MAX_SIZE = 0x4000;
|
|
531
|
-
var codeUnits = [];
|
|
532
|
-
var highSurrogate;
|
|
533
|
-
var lowSurrogate;
|
|
534
|
-
var index = -1;
|
|
535
|
-
var length = arguments.length;
|
|
536
|
-
if (!length) {
|
|
537
|
-
return '';
|
|
538
|
-
}
|
|
539
|
-
var result = '';
|
|
540
|
-
while (++index < length) {
|
|
541
|
-
var codePoint = Number(arguments[index]);
|
|
542
|
-
if (
|
|
543
|
-
!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
544
|
-
codePoint < 0 || // not a valid Unicode code point
|
|
545
|
-
codePoint > 0x10FFFF || // not a valid Unicode code point
|
|
546
|
-
floor(codePoint) !== codePoint // not an integer
|
|
547
|
-
) {
|
|
548
|
-
throw RangeError('Invalid code point: ' + codePoint);
|
|
549
|
-
}
|
|
550
|
-
if (codePoint <= 0xFFFF) { // BMP code point
|
|
551
|
-
codeUnits.push(codePoint);
|
|
552
|
-
} else { // Astral code point; split in surrogate halves
|
|
553
|
-
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
554
|
-
codePoint -= 0x10000;
|
|
555
|
-
highSurrogate = (codePoint >> 10) + 0xD800;
|
|
556
|
-
lowSurrogate = (codePoint % 0x400) + 0xDC00;
|
|
557
|
-
codeUnits.push(highSurrogate, lowSurrogate);
|
|
558
|
-
}
|
|
559
|
-
if (index + 1 === length || codeUnits.length > MAX_SIZE) {
|
|
560
|
-
result += stringFromCharCode.apply(null, codeUnits);
|
|
561
|
-
codeUnits.length = 0;
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
return result;
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Regexes
|
|
569
|
-
*/
|
|
570
|
-
|
|
571
|
-
exports.chars = {};
|
|
572
|
-
|
|
573
|
-
// Double width characters that are _not_ surrogate pairs.
|
|
574
|
-
// NOTE: 0x20000 - 0x2fffd and 0x30000 - 0x3fffd are not necessary for this
|
|
575
|
-
// regex anyway. This regex is used to put a blank char after wide chars to
|
|
576
|
-
// be eaten, however, if this is a surrogate pair, parseContent already adds
|
|
577
|
-
// the extra one char because its length equals 2 instead of 1.
|
|
578
|
-
exports.chars.wide = new RegExp('(['
|
|
579
|
-
+ '\\u1100-\\u115f' // Hangul Jamo init. consonants
|
|
580
|
-
+ '\\u2329\\u232a'
|
|
581
|
-
+ '\\u2e80-\\u303e\\u3040-\\ua4cf' // CJK ... Yi
|
|
582
|
-
+ '\\uac00-\\ud7a3' // Hangul Syllables
|
|
583
|
-
+ '\\uf900-\\ufaff' // CJK Compatibility Ideographs
|
|
584
|
-
+ '\\ufe10-\\ufe19' // Vertical forms
|
|
585
|
-
+ '\\ufe30-\\ufe6f' // CJK Compatibility Forms
|
|
586
|
-
+ '\\uff00-\\uff60' // Fullwidth Forms
|
|
587
|
-
+ '\\uffe0-\\uffe6'
|
|
588
|
-
+ '])', 'g');
|
|
589
|
-
|
|
590
|
-
// All surrogate pair wide chars.
|
|
591
|
-
exports.chars.swide = new RegExp('('
|
|
592
|
-
// 0x20000 - 0x2fffd:
|
|
593
|
-
+ '[\\ud840-\\ud87f][\\udc00-\\udffd]'
|
|
594
|
-
+ '|'
|
|
595
|
-
// 0x30000 - 0x3fffd:
|
|
596
|
-
+ '[\\ud880-\\ud8bf][\\udc00-\\udffd]'
|
|
597
|
-
+ ')', 'g');
|
|
598
|
-
|
|
599
|
-
// All wide chars including surrogate pairs.
|
|
600
|
-
exports.chars.all = new RegExp('('
|
|
601
|
-
+ exports.chars.swide.source.slice(1, -1)
|
|
602
|
-
+ '|'
|
|
603
|
-
+ exports.chars.wide.source.slice(1, -1)
|
|
604
|
-
+ ')', 'g');
|
|
605
|
-
|
|
606
|
-
// Regex to detect a surrogate pair.
|
|
607
|
-
exports.chars.surrogate = /[\ud800-\udbff][\udc00-\udfff]/g;
|
|
608
|
-
|
|
609
|
-
// Regex to find combining characters.
|
|
610
|
-
exports.chars.combining = exports.combiningTable.reduce(function(out, row) {
|
|
611
|
-
var low, high, range;
|
|
612
|
-
if (row[0] > 0x00ffff) {
|
|
613
|
-
low = exports.fromCodePoint(row[0]);
|
|
614
|
-
low = [
|
|
615
|
-
hexify(low.charCodeAt(0)),
|
|
616
|
-
hexify(low.charCodeAt(1))
|
|
617
|
-
];
|
|
618
|
-
high = exports.fromCodePoint(row[1]);
|
|
619
|
-
high = [
|
|
620
|
-
hexify(high.charCodeAt(0)),
|
|
621
|
-
hexify(high.charCodeAt(1))
|
|
622
|
-
];
|
|
623
|
-
range = '[\\u' + low[0] + '-' + '\\u' + high[0] + ']'
|
|
624
|
-
+ '[\\u' + low[1] + '-' + '\\u' + high[1] + ']';
|
|
625
|
-
if (!~out.indexOf('|')) out += ']';
|
|
626
|
-
out += '|' + range;
|
|
627
|
-
} else {
|
|
628
|
-
low = hexify(row[0]);
|
|
629
|
-
high = hexify(row[1]);
|
|
630
|
-
low = '\\u' + low;
|
|
631
|
-
high = '\\u' + high;
|
|
632
|
-
out += low + '-' + high;
|
|
633
|
-
}
|
|
634
|
-
return out;
|
|
635
|
-
}, '[');
|
|
636
|
-
|
|
637
|
-
exports.chars.combining = new RegExp(exports.chars.combining, 'g');
|
|
638
|
-
|
|
639
|
-
function hexify(n) {
|
|
640
|
-
n = n.toString(16);
|
|
641
|
-
while (n.length < 4) n = '0' + n;
|
|
642
|
-
return n;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
/*
|
|
646
|
-
exports.chars.combining = new RegExp(
|
|
647
|
-
'['
|
|
648
|
-
+ '\\u0300-\\u036f'
|
|
649
|
-
+ '\\u0483-\\u0486'
|
|
650
|
-
+ '\\u0488-\\u0489'
|
|
651
|
-
+ '\\u0591-\\u05bd'
|
|
652
|
-
+ '\\u05bf-\\u05bf'
|
|
653
|
-
+ '\\u05c1-\\u05c2'
|
|
654
|
-
+ '\\u05c4-\\u05c5'
|
|
655
|
-
+ '\\u05c7-\\u05c7'
|
|
656
|
-
+ '\\u0600-\\u0603'
|
|
657
|
-
+ '\\u0610-\\u0615'
|
|
658
|
-
+ '\\u064b-\\u065e'
|
|
659
|
-
+ '\\u0670-\\u0670'
|
|
660
|
-
+ '\\u06d6-\\u06e4'
|
|
661
|
-
+ '\\u06e7-\\u06e8'
|
|
662
|
-
+ '\\u06ea-\\u06ed'
|
|
663
|
-
+ '\\u070f-\\u070f'
|
|
664
|
-
+ '\\u0711-\\u0711'
|
|
665
|
-
+ '\\u0730-\\u074a'
|
|
666
|
-
+ '\\u07a6-\\u07b0'
|
|
667
|
-
+ '\\u07eb-\\u07f3'
|
|
668
|
-
+ '\\u0901-\\u0902'
|
|
669
|
-
+ '\\u093c-\\u093c'
|
|
670
|
-
+ '\\u0941-\\u0948'
|
|
671
|
-
+ '\\u094d-\\u094d'
|
|
672
|
-
+ '\\u0951-\\u0954'
|
|
673
|
-
+ '\\u0962-\\u0963'
|
|
674
|
-
+ '\\u0981-\\u0981'
|
|
675
|
-
+ '\\u09bc-\\u09bc'
|
|
676
|
-
+ '\\u09c1-\\u09c4'
|
|
677
|
-
+ '\\u09cd-\\u09cd'
|
|
678
|
-
+ '\\u09e2-\\u09e3'
|
|
679
|
-
+ '\\u0a01-\\u0a02'
|
|
680
|
-
+ '\\u0a3c-\\u0a3c'
|
|
681
|
-
+ '\\u0a41-\\u0a42'
|
|
682
|
-
+ '\\u0a47-\\u0a48'
|
|
683
|
-
+ '\\u0a4b-\\u0a4d'
|
|
684
|
-
+ '\\u0a70-\\u0a71'
|
|
685
|
-
+ '\\u0a81-\\u0a82'
|
|
686
|
-
+ '\\u0abc-\\u0abc'
|
|
687
|
-
+ '\\u0ac1-\\u0ac5'
|
|
688
|
-
+ '\\u0ac7-\\u0ac8'
|
|
689
|
-
+ '\\u0acd-\\u0acd'
|
|
690
|
-
+ '\\u0ae2-\\u0ae3'
|
|
691
|
-
+ '\\u0b01-\\u0b01'
|
|
692
|
-
+ '\\u0b3c-\\u0b3c'
|
|
693
|
-
+ '\\u0b3f-\\u0b3f'
|
|
694
|
-
+ '\\u0b41-\\u0b43'
|
|
695
|
-
+ '\\u0b4d-\\u0b4d'
|
|
696
|
-
+ '\\u0b56-\\u0b56'
|
|
697
|
-
+ '\\u0b82-\\u0b82'
|
|
698
|
-
+ '\\u0bc0-\\u0bc0'
|
|
699
|
-
+ '\\u0bcd-\\u0bcd'
|
|
700
|
-
+ '\\u0c3e-\\u0c40'
|
|
701
|
-
+ '\\u0c46-\\u0c48'
|
|
702
|
-
+ '\\u0c4a-\\u0c4d'
|
|
703
|
-
+ '\\u0c55-\\u0c56'
|
|
704
|
-
+ '\\u0cbc-\\u0cbc'
|
|
705
|
-
+ '\\u0cbf-\\u0cbf'
|
|
706
|
-
+ '\\u0cc6-\\u0cc6'
|
|
707
|
-
+ '\\u0ccc-\\u0ccd'
|
|
708
|
-
+ '\\u0ce2-\\u0ce3'
|
|
709
|
-
+ '\\u0d41-\\u0d43'
|
|
710
|
-
+ '\\u0d4d-\\u0d4d'
|
|
711
|
-
+ '\\u0dca-\\u0dca'
|
|
712
|
-
+ '\\u0dd2-\\u0dd4'
|
|
713
|
-
+ '\\u0dd6-\\u0dd6'
|
|
714
|
-
+ '\\u0e31-\\u0e31'
|
|
715
|
-
+ '\\u0e34-\\u0e3a'
|
|
716
|
-
+ '\\u0e47-\\u0e4e'
|
|
717
|
-
+ '\\u0eb1-\\u0eb1'
|
|
718
|
-
+ '\\u0eb4-\\u0eb9'
|
|
719
|
-
+ '\\u0ebb-\\u0ebc'
|
|
720
|
-
+ '\\u0ec8-\\u0ecd'
|
|
721
|
-
+ '\\u0f18-\\u0f19'
|
|
722
|
-
+ '\\u0f35-\\u0f35'
|
|
723
|
-
+ '\\u0f37-\\u0f37'
|
|
724
|
-
+ '\\u0f39-\\u0f39'
|
|
725
|
-
+ '\\u0f71-\\u0f7e'
|
|
726
|
-
+ '\\u0f80-\\u0f84'
|
|
727
|
-
+ '\\u0f86-\\u0f87'
|
|
728
|
-
+ '\\u0f90-\\u0f97'
|
|
729
|
-
+ '\\u0f99-\\u0fbc'
|
|
730
|
-
+ '\\u0fc6-\\u0fc6'
|
|
731
|
-
+ '\\u102d-\\u1030'
|
|
732
|
-
+ '\\u1032-\\u1032'
|
|
733
|
-
+ '\\u1036-\\u1037'
|
|
734
|
-
+ '\\u1039-\\u1039'
|
|
735
|
-
+ '\\u1058-\\u1059'
|
|
736
|
-
+ '\\u1160-\\u11ff'
|
|
737
|
-
+ '\\u135f-\\u135f'
|
|
738
|
-
+ '\\u1712-\\u1714'
|
|
739
|
-
+ '\\u1732-\\u1734'
|
|
740
|
-
+ '\\u1752-\\u1753'
|
|
741
|
-
+ '\\u1772-\\u1773'
|
|
742
|
-
+ '\\u17b4-\\u17b5'
|
|
743
|
-
+ '\\u17b7-\\u17bd'
|
|
744
|
-
+ '\\u17c6-\\u17c6'
|
|
745
|
-
+ '\\u17c9-\\u17d3'
|
|
746
|
-
+ '\\u17dd-\\u17dd'
|
|
747
|
-
+ '\\u180b-\\u180d'
|
|
748
|
-
+ '\\u18a9-\\u18a9'
|
|
749
|
-
+ '\\u1920-\\u1922'
|
|
750
|
-
+ '\\u1927-\\u1928'
|
|
751
|
-
+ '\\u1932-\\u1932'
|
|
752
|
-
+ '\\u1939-\\u193b'
|
|
753
|
-
+ '\\u1a17-\\u1a18'
|
|
754
|
-
+ '\\u1b00-\\u1b03'
|
|
755
|
-
+ '\\u1b34-\\u1b34'
|
|
756
|
-
+ '\\u1b36-\\u1b3a'
|
|
757
|
-
+ '\\u1b3c-\\u1b3c'
|
|
758
|
-
+ '\\u1b42-\\u1b42'
|
|
759
|
-
+ '\\u1b6b-\\u1b73'
|
|
760
|
-
+ '\\u1dc0-\\u1dca'
|
|
761
|
-
+ '\\u1dfe-\\u1dff'
|
|
762
|
-
+ '\\u200b-\\u200f'
|
|
763
|
-
+ '\\u202a-\\u202e'
|
|
764
|
-
+ '\\u2060-\\u2063'
|
|
765
|
-
+ '\\u206a-\\u206f'
|
|
766
|
-
+ '\\u20d0-\\u20ef'
|
|
767
|
-
+ '\\u302a-\\u302f'
|
|
768
|
-
+ '\\u3099-\\u309a'
|
|
769
|
-
+ '\\ua806-\\ua806'
|
|
770
|
-
+ '\\ua80b-\\ua80b'
|
|
771
|
-
+ '\\ua825-\\ua826'
|
|
772
|
-
+ '\\ufb1e-\\ufb1e'
|
|
773
|
-
+ '\\ufe00-\\ufe0f'
|
|
774
|
-
+ '\\ufe20-\\ufe23'
|
|
775
|
-
+ '\\ufeff-\\ufeff'
|
|
776
|
-
+ '\\ufff9-\\ufffb'
|
|
777
|
-
+ ']'
|
|
778
|
-
+ '|[\\ud802-\\ud802][\\ude01-\\ude03]'
|
|
779
|
-
+ '|[\\ud802-\\ud802][\\ude05-\\ude06]'
|
|
780
|
-
+ '|[\\ud802-\\ud802][\\ude0c-\\ude0f]'
|
|
781
|
-
+ '|[\\ud802-\\ud802][\\ude38-\\ude3a]'
|
|
782
|
-
+ '|[\\ud802-\\ud802][\\ude3f-\\ude3f]'
|
|
783
|
-
+ '|[\\ud834-\\ud834][\\udd67-\\udd69]'
|
|
784
|
-
+ '|[\\ud834-\\ud834][\\udd73-\\udd82]'
|
|
785
|
-
+ '|[\\ud834-\\ud834][\\udd85-\\udd8b]'
|
|
786
|
-
+ '|[\\ud834-\\ud834][\\uddaa-\\uddad]'
|
|
787
|
-
+ '|[\\ud834-\\ud834][\\ude42-\\ude44]'
|
|
788
|
-
+ '|[\\udb40-\\udb40][\\udc01-\\udc01]'
|
|
789
|
-
+ '|[\\udb40-\\udb40][\\udc20-\\udc7f]'
|
|
790
|
-
+ '|[\\udb40-\\udb40][\\udd00-\\uddef]'
|
|
791
|
-
, 'g');
|
|
792
|
-
*/
|