zedbee 0.1.0-beta.11 → 0.1.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/THIRD_PARTY_NOTICES.md +132 -16
- package/dist/attribution/entities.d.ts.map +1 -1
- package/dist/attribution/entities.js +32 -9
- package/dist/attribution/entities.js.map +1 -1
- package/dist/cache/key.d.ts.map +1 -1
- package/dist/cache/key.js +3 -0
- package/dist/cache/key.js.map +1 -1
- package/dist/checks/applicability.d.ts.map +1 -1
- package/dist/checks/applicability.js +18 -28
- package/dist/checks/applicability.js.map +1 -1
- package/dist/checks/compiler-inputs.d.ts +9 -0
- package/dist/checks/compiler-inputs.d.ts.map +1 -0
- package/dist/checks/compiler-inputs.js +12 -0
- package/dist/checks/compiler-inputs.js.map +1 -0
- package/dist/checks/complexity/adapter.d.ts.map +1 -1
- package/dist/checks/complexity/adapter.js +11 -6
- package/dist/checks/complexity/adapter.js.map +1 -1
- package/dist/checks/complexity/pair-class-metrics.d.ts +12 -0
- package/dist/checks/complexity/pair-class-metrics.d.ts.map +1 -0
- package/dist/checks/complexity/pair-class-metrics.js +187 -0
- package/dist/checks/complexity/pair-class-metrics.js.map +1 -0
- package/dist/checks/dead-code/adapter.d.ts.map +1 -1
- package/dist/checks/dead-code/adapter.js +8 -97
- package/dist/checks/dead-code/adapter.js.map +1 -1
- package/dist/checks/dead-code/import-boundary.d.ts +1 -1
- package/dist/checks/dead-code/import-boundary.d.ts.map +1 -1
- package/dist/checks/dead-code/import-boundary.js +3 -1
- package/dist/checks/dead-code/import-boundary.js.map +1 -1
- package/dist/checks/dead-code/knip-worker.js +19 -8
- package/dist/checks/dead-code/knip-worker.js.map +1 -1
- package/dist/checks/dead-code/managed-config.d.ts +3 -2
- package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
- package/dist/checks/dead-code/managed-config.js +23 -1
- package/dist/checks/dead-code/managed-config.js.map +1 -1
- package/dist/checks/dependency-architecture/adapter.d.ts.map +1 -1
- package/dist/checks/dependency-architecture/adapter.js +57 -46
- package/dist/checks/dependency-architecture/adapter.js.map +1 -1
- package/dist/checks/dependency-architecture/normalize-graph.d.ts +2 -0
- package/dist/checks/dependency-architecture/normalize-graph.d.ts.map +1 -1
- package/dist/checks/dependency-architecture/normalize-graph.js +12 -3
- package/dist/checks/dependency-architecture/normalize-graph.js.map +1 -1
- package/dist/checks/dispatcher.d.ts.map +1 -1
- package/dist/checks/dispatcher.js +13 -0
- package/dist/checks/dispatcher.js.map +1 -1
- package/dist/checks/engine-identity.js +6 -6
- package/dist/checks/engine-identity.js.map +1 -1
- package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
- package/dist/checks/eslint/lint-adapter.js +48 -26
- package/dist/checks/eslint/lint-adapter.js.map +1 -1
- package/dist/checks/events.d.ts +7 -1
- package/dist/checks/events.d.ts.map +1 -1
- package/dist/checks/observation-result.d.ts.map +1 -1
- package/dist/checks/observation-result.js +11 -5
- package/dist/checks/observation-result.js.map +1 -1
- package/dist/checks/policy-scheduling.d.ts.map +1 -1
- package/dist/checks/policy-scheduling.js +6 -1
- package/dist/checks/policy-scheduling.js.map +1 -1
- package/dist/checks/project-inputs.d.ts +6 -0
- package/dist/checks/project-inputs.d.ts.map +1 -0
- package/dist/checks/project-inputs.js +32 -0
- package/dist/checks/project-inputs.js.map +1 -0
- package/dist/checks/renamed-baselines.d.ts +5 -0
- package/dist/checks/renamed-baselines.d.ts.map +1 -0
- package/dist/checks/renamed-baselines.js +27 -0
- package/dist/checks/renamed-baselines.js.map +1 -0
- package/dist/checks/secrets/content.d.ts.map +1 -1
- package/dist/checks/secrets/content.js +16 -7
- package/dist/checks/secrets/content.js.map +1 -1
- package/dist/checks/typescript/adapter.d.ts.map +1 -1
- package/dist/checks/typescript/adapter.js +38 -12
- package/dist/checks/typescript/adapter.js.map +1 -1
- package/dist/checks/typescript/aliases.d.ts +28 -0
- package/dist/checks/typescript/aliases.d.ts.map +1 -0
- package/dist/checks/typescript/aliases.js +259 -0
- package/dist/checks/typescript/aliases.js.map +1 -0
- package/dist/checks/typescript/compiler-host.js +117 -110
- package/dist/checks/typescript/compiler-host.js.map +1 -1
- package/dist/checks/typescript/config.d.ts +6 -0
- package/dist/checks/typescript/config.d.ts.map +1 -1
- package/dist/checks/typescript/config.js +194 -61
- package/dist/checks/typescript/config.js.map +1 -1
- package/dist/checks/typescript/configuration-paths.d.ts +7 -0
- package/dist/checks/typescript/configuration-paths.d.ts.map +1 -0
- package/dist/checks/typescript/configuration-paths.js +69 -0
- package/dist/checks/typescript/configuration-paths.js.map +1 -0
- package/dist/checks/typescript/project-coverage.d.ts +16 -0
- package/dist/checks/typescript/project-coverage.d.ts.map +1 -0
- package/dist/checks/typescript/project-coverage.js +49 -0
- package/dist/checks/typescript/project-coverage.js.map +1 -0
- package/dist/checks/typescript/projects.d.ts +17 -0
- package/dist/checks/typescript/projects.d.ts.map +1 -0
- package/dist/checks/typescript/projects.js +42 -0
- package/dist/checks/typescript/projects.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +25 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/agent.d.ts +11 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +92 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/fix.d.ts.map +1 -1
- package/dist/commands/fix.js +71 -12
- package/dist/commands/fix.js.map +1 -1
- package/dist/commands/init.d.ts +3 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +35 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/scan.d.ts +2 -1
- package/dist/commands/scan.d.ts.map +1 -1
- package/dist/commands/scan.js +5 -0
- package/dist/commands/scan.js.map +1 -1
- package/dist/commands/telemetry.d.ts.map +1 -1
- package/dist/commands/telemetry.js +3 -0
- package/dist/commands/telemetry.js.map +1 -1
- package/dist/doctor/diagnostics.d.ts +1 -1
- package/dist/doctor/diagnostics.d.ts.map +1 -1
- package/dist/doctor/diagnostics.js +8 -11
- package/dist/doctor/diagnostics.js.map +1 -1
- package/dist/fixes/apply-plan.d.ts +6 -0
- package/dist/fixes/apply-plan.d.ts.map +1 -1
- package/dist/fixes/apply-plan.js +165 -60
- package/dist/fixes/apply-plan.js.map +1 -1
- package/dist/fixes/build-plan.d.ts +1 -0
- package/dist/fixes/build-plan.d.ts.map +1 -1
- package/dist/fixes/build-plan.js +5 -1
- package/dist/fixes/build-plan.js.map +1 -1
- package/dist/git/change-set.d.ts.map +1 -1
- package/dist/git/change-set.js +9 -0
- package/dist/git/change-set.js.map +1 -1
- package/dist/git/client.d.ts +16 -0
- package/dist/git/client.d.ts.map +1 -1
- package/dist/git/client.js +44 -3
- package/dist/git/client.js.map +1 -1
- package/dist/git/merge-comparison.d.ts.map +1 -1
- package/dist/git/merge-comparison.js +16 -4
- package/dist/git/merge-comparison.js.map +1 -1
- package/dist/git/selected-comparison.d.ts +13 -0
- package/dist/git/selected-comparison.d.ts.map +1 -0
- package/dist/git/selected-comparison.js +143 -0
- package/dist/git/selected-comparison.js.map +1 -0
- package/dist/git/snapshot-work.d.ts +18 -0
- package/dist/git/snapshot-work.d.ts.map +1 -0
- package/dist/git/snapshot-work.js +59 -0
- package/dist/git/snapshot-work.js.map +1 -0
- package/dist/git/snapshot.d.ts +6 -1
- package/dist/git/snapshot.d.ts.map +1 -1
- package/dist/git/snapshot.js +102 -5
- package/dist/git/snapshot.js.map +1 -1
- package/dist/init/github-workflow.d.ts +13 -0
- package/dist/init/github-workflow.d.ts.map +1 -0
- package/dist/init/github-workflow.js +244 -0
- package/dist/init/github-workflow.js.map +1 -0
- package/dist/init/recommend.d.ts.map +1 -1
- package/dist/init/recommend.js +10 -0
- package/dist/init/recommend.js.map +1 -1
- package/dist/init/types.d.ts +8 -0
- package/dist/init/types.d.ts.map +1 -1
- package/dist/init/types.js.map +1 -1
- package/dist/init/write-config.d.ts.map +1 -1
- package/dist/init/write-config.js +1 -0
- package/dist/init/write-config.js.map +1 -1
- package/dist/inspection/inspect-repository.d.ts.map +1 -1
- package/dist/inspection/inspect-repository.js +13 -0
- package/dist/inspection/inspect-repository.js.map +1 -1
- package/dist/inspection/snapshot-registry.d.ts +2 -0
- package/dist/inspection/snapshot-registry.d.ts.map +1 -1
- package/dist/inspection/snapshot-registry.js +34 -5
- package/dist/inspection/snapshot-registry.js.map +1 -1
- package/dist/inspection/types.d.ts +6 -1
- package/dist/inspection/types.d.ts.map +1 -1
- package/dist/inspection/types.js +7 -1
- package/dist/inspection/types.js.map +1 -1
- package/dist/inspection/workspaces.d.ts +2 -0
- package/dist/inspection/workspaces.d.ts.map +1 -1
- package/dist/inspection/workspaces.js +20 -2
- package/dist/inspection/workspaces.js.map +1 -1
- package/dist/renderers/sarif.d.ts.map +1 -1
- package/dist/renderers/sarif.js +9 -8
- package/dist/renderers/sarif.js.map +1 -1
- package/dist/scan/analysis-failure.d.ts.map +1 -1
- package/dist/scan/analysis-failure.js +23 -0
- package/dist/scan/analysis-failure.js.map +1 -1
- package/dist/scan/analysis-session.d.ts +4 -0
- package/dist/scan/analysis-session.d.ts.map +1 -1
- package/dist/scan/analysis-session.js +60 -13
- package/dist/scan/analysis-session.js.map +1 -1
- package/dist/scan/incomplete-report.js +2 -2
- package/dist/scan/incomplete-report.js.map +1 -1
- package/dist/scan/merge-scan.d.ts +2 -1
- package/dist/scan/merge-scan.d.ts.map +1 -1
- package/dist/scan/merge-scan.js +82 -37
- package/dist/scan/merge-scan.js.map +1 -1
- package/dist/scan/progress.d.ts +4 -0
- package/dist/scan/progress.d.ts.map +1 -0
- package/dist/scan/progress.js +18 -0
- package/dist/scan/progress.js.map +1 -0
- package/dist/scan/run-scan.d.ts.map +1 -1
- package/dist/scan/run-scan.js +7 -3
- package/dist/scan/run-scan.js.map +1 -1
- package/dist/service/identity-parallel.js +3 -3
- package/dist/service/identity-parallel.js.map +1 -1
- package/dist/service/identity.js +4 -4
- package/dist/service/identity.js.map +1 -1
- package/dist/service/state.d.ts.map +1 -1
- package/dist/service/state.js +12 -1
- package/dist/service/state.js.map +1 -1
- package/dist/telemetry/ai-context.d.ts +14 -0
- package/dist/telemetry/ai-context.d.ts.map +1 -0
- package/dist/telemetry/ai-context.js +129 -0
- package/dist/telemetry/ai-context.js.map +1 -0
- package/dist/telemetry/batch.d.ts +4 -0
- package/dist/telemetry/batch.d.ts.map +1 -0
- package/dist/telemetry/batch.js +21 -0
- package/dist/telemetry/batch.js.map +1 -0
- package/dist/telemetry/client.d.ts +3 -0
- package/dist/telemetry/client.d.ts.map +1 -1
- package/dist/telemetry/client.js +63 -2
- package/dist/telemetry/client.js.map +1 -1
- package/dist/telemetry/details-store.d.ts +15 -0
- package/dist/telemetry/details-store.d.ts.map +1 -0
- package/dist/telemetry/details-store.js +198 -0
- package/dist/telemetry/details-store.js.map +1 -0
- package/dist/telemetry/finding-catalog.d.ts +2 -0
- package/dist/telemetry/finding-catalog.d.ts.map +1 -0
- package/dist/telemetry/finding-catalog.js +2817 -0
- package/dist/telemetry/finding-catalog.js.map +1 -0
- package/dist/telemetry/finding-rules.d.ts +3 -0
- package/dist/telemetry/finding-rules.d.ts.map +1 -0
- package/dist/telemetry/finding-rules.js +16 -0
- package/dist/telemetry/finding-rules.js.map +1 -0
- package/dist/telemetry/finding-summary.d.ts +8 -0
- package/dist/telemetry/finding-summary.d.ts.map +1 -0
- package/dist/telemetry/finding-summary.js +63 -0
- package/dist/telemetry/finding-summary.js.map +1 -0
- package/dist/telemetry/schema.d.ts +602 -3
- package/dist/telemetry/schema.d.ts.map +1 -1
- package/dist/telemetry/schema.js +117 -1
- package/dist/telemetry/schema.js.map +1 -1
- package/dist/telemetry/state.d.ts +2 -2
- package/dist/telemetry/state.d.ts.map +1 -1
- package/dist/telemetry/state.js +3 -3
- package/dist/telemetry/state.js.map +1 -1
- package/dist/telemetry/transport.d.ts.map +1 -1
- package/dist/telemetry/transport.js +5 -1
- package/dist/telemetry/transport.js.map +1 -1
- package/dist/telemetry/worker.d.ts.map +1 -1
- package/dist/telemetry/worker.js +9 -1
- package/dist/telemetry/worker.js.map +1 -1
- package/dist/ui/init-app.d.ts +3 -3
- package/dist/ui/init-app.d.ts.map +1 -1
- package/dist/ui/init-app.js +20 -5
- package/dist/ui/init-app.js.map +1 -1
- package/dist/ui/live-dashboard.d.ts +5 -1
- package/dist/ui/live-dashboard.d.ts.map +1 -1
- package/dist/ui/live-dashboard.js +46 -4
- package/dist/ui/live-dashboard.js.map +1 -1
- package/dist/vendor/knip/node_modules/get-tsconfig/LICENSE +21 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/README.md +268 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.cjs +7 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.mjs +7 -0
- package/dist/vendor/knip/node_modules/get-tsconfig/package.json +46 -0
- package/docs/checks.md +48 -3
- package/docs/cli-reference.md +51 -1
- package/docs/commercial-licensing.md +3 -3
- package/docs/dependency-license-obligations.md +1 -1
- package/docs/managed-fixes.md +11 -2
- package/docs/privacy.md +34 -2
- package/docs/reporting.md +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +9 -447
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +9 -447
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.d.ts +6 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +41 -6
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +69 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -447
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +141 -273
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +59 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +30 -10
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +57 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +10 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +12 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +65 -55
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.js +97 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +49 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.d.ts +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +76 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +6 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +35 -23
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +85 -12
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +14 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +4 -14
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +2 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +52 -49
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +46 -18
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +3 -91
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.js +518 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +4 -113
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +6 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +29 -7
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +4 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +47 -10
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +50 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +12 -9
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +100 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +6 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +39 -12
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +75 -37
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +11 -7
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.js +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.js +30 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.js +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.js +23 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.js +18 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +19 -18
- package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
- package/node_modules/@typescript-eslint/parser/package.json +9 -8
- package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +10 -9
- package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
- package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.d.ts +7 -0
- package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.js +37 -0
- package/node_modules/@typescript-eslint/project-service/package.json +7 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +13 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/package.json +4 -3
- package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +4 -14
- package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +7 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +3 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +10 -5
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +5 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +11 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +2 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.js +19 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.d.ts +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +87 -9
- package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +3 -3
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
- package/node_modules/@typescript-eslint/types/package.json +8 -7
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +7 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +12 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +3 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +14 -6
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +23 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +86 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +48 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +45 -4
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +9 -8
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.d.ts +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
- package/node_modules/@typescript-eslint/utils/package.json +7 -6
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +6 -5
- package/node_modules/dependency-cruiser/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/dependency-cruiser/node_modules/ignore/README.md +452 -0
- package/node_modules/dependency-cruiser/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/dependency-cruiser/node_modules/ignore/index.js +793 -0
- package/node_modules/dependency-cruiser/node_modules/ignore/legacy.js +690 -0
- package/node_modules/dependency-cruiser/node_modules/ignore/package.json +87 -0
- package/node_modules/get-tsconfig/dist/index.cjs +4 -4
- package/node_modules/get-tsconfig/dist/index.mjs +4 -4
- package/node_modules/get-tsconfig/package.json +1 -1
- package/node_modules/ignore/README.md +49 -0
- package/node_modules/ignore/index.js +906 -162
- package/node_modules/ignore/legacy.js +760 -127
- package/node_modules/ignore/package.json +10 -4
- package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
- package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
- package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
- package/node_modules/typescript-eslint/dist/globs.js +1 -0
- package/node_modules/typescript-eslint/dist/index.js +2 -0
- package/node_modules/typescript-eslint/package.json +13 -20
- package/node_modules/zod/README.md +2 -2
- package/node_modules/zod/compile.cjs +19 -0
- package/node_modules/zod/index.cjs +19 -0
- package/node_modules/zod/locales/index.cjs +19 -0
- package/node_modules/zod/mini/index.cjs +19 -0
- package/node_modules/zod/package.json +8 -7
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
- package/node_modules/zod/src/v4/classic/external.ts +2 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +248 -25
- package/node_modules/zod/src/v4/classic/schemas.ts +243 -168
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +60 -9
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +6 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +265 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +112 -6
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +9 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +130 -1
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +157 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +40 -2
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +27 -7
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +88 -56
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +56 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +3 -2
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +46 -1
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +95 -1
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +33 -1
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +234 -38
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +569 -0
- package/node_modules/zod/src/v4/core/api.ts +44 -28
- package/node_modules/zod/src/v4/core/checks.ts +62 -102
- package/node_modules/zod/src/v4/core/compile.ts +227 -93
- package/node_modules/zod/src/v4/core/core.ts +1 -3
- package/node_modules/zod/src/v4/core/doc.ts +6 -2
- package/node_modules/zod/src/v4/core/errors.ts +3 -6
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +2 -2
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +185 -81
- package/node_modules/zod/src/v4/core/memoizer.ts +75 -28
- package/node_modules/zod/src/v4/core/parse.ts +37 -16
- package/node_modules/zod/src/v4/core/regexes.ts +14 -4
- package/node_modules/zod/src/v4/core/schemas.ts +331 -133
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +35 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +399 -2
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +118 -16
- package/node_modules/zod/src/v4/core/to-json-schema.ts +9 -7
- package/node_modules/zod/src/v4/core/util.ts +231 -147
- package/node_modules/zod/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/locales/ar.ts +2 -0
- package/node_modules/zod/src/v4/locales/az.ts +2 -0
- package/node_modules/zod/src/v4/locales/be.ts +2 -0
- package/node_modules/zod/src/v4/locales/bg.ts +2 -0
- package/node_modules/zod/src/v4/locales/bn.ts +2 -0
- package/node_modules/zod/src/v4/locales/ca.ts +2 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +2 -0
- package/node_modules/zod/src/v4/locales/cs.ts +2 -0
- package/node_modules/zod/src/v4/locales/da.ts +2 -0
- package/node_modules/zod/src/v4/locales/de.ts +2 -0
- package/node_modules/zod/src/v4/locales/el.ts +2 -0
- package/node_modules/zod/src/v4/locales/en.ts +2 -0
- package/node_modules/zod/src/v4/locales/eo.ts +2 -0
- package/node_modules/zod/src/v4/locales/es.ts +2 -0
- package/node_modules/zod/src/v4/locales/fa.ts +2 -0
- package/node_modules/zod/src/v4/locales/fi.ts +2 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +2 -0
- package/node_modules/zod/src/v4/locales/fr.ts +2 -0
- package/node_modules/zod/src/v4/locales/gu.ts +2 -0
- package/node_modules/zod/src/v4/locales/he.ts +2 -0
- package/node_modules/zod/src/v4/locales/hi.ts +2 -0
- package/node_modules/zod/src/v4/locales/hr.ts +2 -0
- package/node_modules/zod/src/v4/locales/hu.ts +2 -0
- package/node_modules/zod/src/v4/locales/hy.ts +2 -0
- package/node_modules/zod/src/v4/locales/id.ts +2 -0
- package/node_modules/zod/src/v4/locales/index.ts +1 -0
- package/node_modules/zod/src/v4/locales/is.ts +2 -0
- package/node_modules/zod/src/v4/locales/it.ts +2 -0
- package/node_modules/zod/src/v4/locales/ja.ts +2 -0
- package/node_modules/zod/src/v4/locales/ka.ts +2 -0
- package/node_modules/zod/src/v4/locales/km.ts +2 -0
- package/node_modules/zod/src/v4/locales/kn.ts +2 -0
- package/node_modules/zod/src/v4/locales/ko.ts +2 -0
- package/node_modules/zod/src/v4/locales/lt.ts +2 -0
- package/node_modules/zod/src/v4/locales/mk.ts +2 -0
- package/node_modules/zod/src/v4/locales/ms.ts +2 -0
- package/node_modules/zod/src/v4/locales/ne.ts +2 -0
- package/node_modules/zod/src/v4/locales/nl.ts +2 -0
- package/node_modules/zod/src/v4/locales/nn.ts +2 -0
- package/node_modules/zod/src/v4/locales/no.ts +2 -0
- package/node_modules/zod/src/v4/locales/ota.ts +2 -0
- package/node_modules/zod/src/v4/locales/pl.ts +2 -0
- package/node_modules/zod/src/v4/locales/ps.ts +2 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +2 -0
- package/node_modules/zod/src/v4/locales/pt.ts +2 -0
- package/node_modules/zod/src/v4/locales/ro.ts +2 -0
- package/node_modules/zod/src/v4/locales/ru.ts +2 -0
- package/node_modules/zod/src/v4/locales/sk.ts +2 -0
- package/node_modules/zod/src/v4/locales/sl.ts +2 -0
- package/node_modules/zod/src/v4/locales/sv.ts +2 -0
- package/node_modules/zod/src/v4/locales/ta.ts +2 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +2 -0
- package/node_modules/zod/src/v4/locales/tk.ts +2 -0
- package/node_modules/zod/src/v4/locales/tr.ts +2 -0
- package/node_modules/zod/src/v4/locales/uk.ts +2 -0
- package/node_modules/zod/src/v4/locales/ur.ts +2 -0
- package/node_modules/zod/src/v4/locales/uz.ts +2 -0
- package/node_modules/zod/src/v4/locales/vi.ts +2 -0
- package/node_modules/zod/src/v4/locales/yo.ts +2 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +2 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +2 -0
- package/node_modules/zod/src/v4/mini/external.ts +2 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +32 -7
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +86 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +23 -0
- package/node_modules/zod/v3/ZodError.cjs +19 -0
- package/node_modules/zod/v3/errors.cjs +19 -0
- package/node_modules/zod/v3/external.cjs +19 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
- package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
- package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
- package/node_modules/zod/v3/helpers/util.cjs +19 -0
- package/node_modules/zod/v3/index.cjs +19 -0
- package/node_modules/zod/v3/standard-schema.cjs +19 -0
- package/node_modules/zod/v3/types.cjs +19 -0
- package/node_modules/zod/v4/classic/checks.cjs +19 -0
- package/node_modules/zod/v4/classic/coerce.cjs +19 -0
- package/node_modules/zod/v4/classic/compat.cjs +19 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +19 -0
- package/node_modules/zod/v4/classic/errors.cjs +19 -0
- package/node_modules/zod/v4/classic/external.cjs +22 -1
- package/node_modules/zod/v4/classic/external.d.cts +1 -1
- package/node_modules/zod/v4/classic/external.d.ts +1 -1
- package/node_modules/zod/v4/classic/external.js +1 -1
- package/node_modules/zod/v4/classic/from-json-schema.cjs +264 -24
- package/node_modules/zod/v4/classic/from-json-schema.js +245 -24
- package/node_modules/zod/v4/classic/in-out.cjs +19 -0
- package/node_modules/zod/v4/classic/index.cjs +19 -0
- package/node_modules/zod/v4/classic/iso.cjs +19 -0
- package/node_modules/zod/v4/classic/parse.cjs +19 -0
- package/node_modules/zod/v4/classic/schemas.cjs +100 -35
- package/node_modules/zod/v4/classic/schemas.d.cts +15 -1
- package/node_modules/zod/v4/classic/schemas.d.ts +15 -1
- package/node_modules/zod/v4/classic/schemas.js +77 -33
- package/node_modules/zod/v4/core/api.cjs +45 -22
- package/node_modules/zod/v4/core/api.d.cts +12 -6
- package/node_modules/zod/v4/core/api.d.ts +12 -6
- package/node_modules/zod/v4/core/api.js +25 -22
- package/node_modules/zod/v4/core/checks.cjs +51 -97
- package/node_modules/zod/v4/core/checks.d.cts +17 -1
- package/node_modules/zod/v4/core/checks.d.ts +17 -1
- package/node_modules/zod/v4/core/checks.js +31 -96
- package/node_modules/zod/v4/core/compile.cjs +181 -78
- package/node_modules/zod/v4/core/compile.d.cts +18 -4
- package/node_modules/zod/v4/core/compile.d.ts +18 -4
- package/node_modules/zod/v4/core/compile.js +162 -79
- package/node_modules/zod/v4/core/core.cjs +20 -1
- package/node_modules/zod/v4/core/core.js +1 -1
- package/node_modules/zod/v4/core/doc.cjs +26 -2
- package/node_modules/zod/v4/core/doc.js +7 -2
- package/node_modules/zod/v4/core/errors.cjs +21 -5
- package/node_modules/zod/v4/core/errors.js +2 -5
- package/node_modules/zod/v4/core/index.cjs +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +20 -1
- package/node_modules/zod/v4/core/json-schema-generator.js +2 -2
- package/node_modules/zod/v4/core/json-schema-processors.cjs +188 -72
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +170 -74
- package/node_modules/zod/v4/core/json-schema.cjs +19 -0
- package/node_modules/zod/v4/core/memoizer.cjs +111 -23
- package/node_modules/zod/v4/core/memoizer.js +69 -23
- package/node_modules/zod/v4/core/parse.cjs +56 -16
- package/node_modules/zod/v4/core/parse.js +37 -16
- package/node_modules/zod/v4/core/regexes.cjs +31 -6
- package/node_modules/zod/v4/core/regexes.d.cts +3 -0
- package/node_modules/zod/v4/core/regexes.d.ts +3 -0
- package/node_modules/zod/v4/core/regexes.js +10 -4
- package/node_modules/zod/v4/core/registries.cjs +19 -0
- package/node_modules/zod/v4/core/schemas.cjs +332 -114
- package/node_modules/zod/v4/core/schemas.d.cts +31 -9
- package/node_modules/zod/v4/core/schemas.d.ts +31 -9
- package/node_modules/zod/v4/core/schemas.js +309 -113
- package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +28 -7
- package/node_modules/zod/v4/core/to-json-schema.d.cts +4 -3
- package/node_modules/zod/v4/core/to-json-schema.d.ts +4 -3
- package/node_modules/zod/v4/core/to-json-schema.js +7 -6
- package/node_modules/zod/v4/core/util.cjs +192 -143
- package/node_modules/zod/v4/core/util.d.cts +27 -4
- package/node_modules/zod/v4/core/util.d.ts +27 -4
- package/node_modules/zod/v4/core/util.js +170 -143
- package/node_modules/zod/v4/core/versions.cjs +21 -2
- package/node_modules/zod/v4/core/versions.d.cts +1 -1
- package/node_modules/zod/v4/core/versions.d.ts +1 -1
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +19 -0
- package/node_modules/zod/v4/index.cjs +19 -0
- package/node_modules/zod/v4/locales/ar.cjs +2 -0
- package/node_modules/zod/v4/locales/ar.js +2 -0
- package/node_modules/zod/v4/locales/az.cjs +2 -0
- package/node_modules/zod/v4/locales/az.js +2 -0
- package/node_modules/zod/v4/locales/be.cjs +2 -0
- package/node_modules/zod/v4/locales/be.js +2 -0
- package/node_modules/zod/v4/locales/bg.cjs +2 -0
- package/node_modules/zod/v4/locales/bg.js +2 -0
- package/node_modules/zod/v4/locales/bn.cjs +2 -0
- package/node_modules/zod/v4/locales/bn.js +2 -0
- package/node_modules/zod/v4/locales/ca.cjs +2 -0
- package/node_modules/zod/v4/locales/ca.js +2 -0
- package/node_modules/zod/v4/locales/ckb.cjs +2 -0
- package/node_modules/zod/v4/locales/ckb.js +2 -0
- package/node_modules/zod/v4/locales/cs.cjs +2 -0
- package/node_modules/zod/v4/locales/cs.js +2 -0
- package/node_modules/zod/v4/locales/da.cjs +2 -0
- package/node_modules/zod/v4/locales/da.js +2 -0
- package/node_modules/zod/v4/locales/de.cjs +2 -0
- package/node_modules/zod/v4/locales/de.js +2 -0
- package/node_modules/zod/v4/locales/el.cjs +2 -0
- package/node_modules/zod/v4/locales/el.js +2 -0
- package/node_modules/zod/v4/locales/en.cjs +2 -0
- package/node_modules/zod/v4/locales/en.js +2 -0
- package/node_modules/zod/v4/locales/eo.cjs +2 -0
- package/node_modules/zod/v4/locales/eo.js +2 -0
- package/node_modules/zod/v4/locales/es.cjs +2 -0
- package/node_modules/zod/v4/locales/es.js +2 -0
- package/node_modules/zod/v4/locales/fa.cjs +2 -0
- package/node_modules/zod/v4/locales/fa.js +2 -0
- package/node_modules/zod/v4/locales/fi.cjs +2 -0
- package/node_modules/zod/v4/locales/fi.js +2 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +2 -0
- package/node_modules/zod/v4/locales/fr-CA.js +2 -0
- package/node_modules/zod/v4/locales/fr.cjs +2 -0
- package/node_modules/zod/v4/locales/fr.js +2 -0
- package/node_modules/zod/v4/locales/gu.cjs +2 -0
- package/node_modules/zod/v4/locales/gu.js +2 -0
- package/node_modules/zod/v4/locales/he.cjs +2 -0
- package/node_modules/zod/v4/locales/he.js +2 -0
- package/node_modules/zod/v4/locales/hi.cjs +2 -0
- package/node_modules/zod/v4/locales/hi.js +2 -0
- package/node_modules/zod/v4/locales/hr.cjs +2 -0
- package/node_modules/zod/v4/locales/hr.js +2 -0
- package/node_modules/zod/v4/locales/hu.cjs +2 -0
- package/node_modules/zod/v4/locales/hu.js +2 -0
- package/node_modules/zod/v4/locales/hy.cjs +2 -0
- package/node_modules/zod/v4/locales/hy.js +2 -0
- package/node_modules/zod/v4/locales/id.cjs +2 -0
- package/node_modules/zod/v4/locales/id.js +2 -0
- package/node_modules/zod/v4/locales/index.cjs +22 -1
- package/node_modules/zod/v4/locales/index.d.cts +1 -0
- package/node_modules/zod/v4/locales/index.d.ts +1 -0
- package/node_modules/zod/v4/locales/index.js +1 -0
- package/node_modules/zod/v4/locales/is.cjs +2 -0
- package/node_modules/zod/v4/locales/is.js +2 -0
- package/node_modules/zod/v4/locales/it.cjs +2 -0
- package/node_modules/zod/v4/locales/it.js +2 -0
- package/node_modules/zod/v4/locales/ja.cjs +2 -0
- package/node_modules/zod/v4/locales/ja.js +2 -0
- package/node_modules/zod/v4/locales/ka.cjs +2 -0
- package/node_modules/zod/v4/locales/ka.js +2 -0
- package/node_modules/zod/v4/locales/km.cjs +2 -0
- package/node_modules/zod/v4/locales/km.js +2 -0
- package/node_modules/zod/v4/locales/kn.cjs +2 -0
- package/node_modules/zod/v4/locales/kn.js +2 -0
- package/node_modules/zod/v4/locales/ko.cjs +2 -0
- package/node_modules/zod/v4/locales/ko.js +2 -0
- package/node_modules/zod/v4/locales/lt.cjs +2 -0
- package/node_modules/zod/v4/locales/lt.js +2 -0
- package/node_modules/zod/v4/locales/mk.cjs +2 -0
- package/node_modules/zod/v4/locales/mk.js +2 -0
- package/node_modules/zod/v4/locales/ms.cjs +2 -0
- package/node_modules/zod/v4/locales/ms.js +2 -0
- package/node_modules/zod/v4/locales/ne.cjs +2 -0
- package/node_modules/zod/v4/locales/ne.js +2 -0
- package/node_modules/zod/v4/locales/nl.cjs +2 -0
- package/node_modules/zod/v4/locales/nl.js +2 -0
- package/node_modules/zod/v4/locales/nn.cjs +2 -0
- package/node_modules/zod/v4/locales/nn.js +2 -0
- package/node_modules/zod/v4/locales/no.cjs +2 -0
- package/node_modules/zod/v4/locales/no.js +2 -0
- package/node_modules/zod/v4/locales/ota.cjs +2 -0
- package/node_modules/zod/v4/locales/ota.js +2 -0
- package/node_modules/zod/v4/locales/pl.cjs +2 -0
- package/node_modules/zod/v4/locales/pl.js +2 -0
- package/node_modules/zod/v4/locales/ps.cjs +2 -0
- package/node_modules/zod/v4/locales/ps.js +2 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +2 -0
- package/node_modules/zod/v4/locales/pt-BR.js +2 -0
- package/node_modules/zod/v4/locales/pt.cjs +2 -0
- package/node_modules/zod/v4/locales/pt.js +2 -0
- package/node_modules/zod/v4/locales/ro.cjs +2 -0
- package/node_modules/zod/v4/locales/ro.js +2 -0
- package/node_modules/zod/v4/locales/ru.cjs +2 -0
- package/node_modules/zod/v4/locales/ru.js +2 -0
- package/node_modules/zod/v4/locales/sk.cjs +2 -0
- package/node_modules/zod/v4/locales/sk.js +2 -0
- package/node_modules/zod/v4/locales/sl.cjs +2 -0
- package/node_modules/zod/v4/locales/sl.js +2 -0
- package/node_modules/zod/v4/locales/sv.cjs +2 -0
- package/node_modules/zod/v4/locales/sv.js +2 -0
- package/node_modules/zod/v4/locales/ta.cjs +2 -0
- package/node_modules/zod/v4/locales/ta.js +2 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +2 -0
- package/node_modules/zod/v4/locales/th.js +2 -0
- package/node_modules/zod/v4/locales/tk.cjs +2 -0
- package/node_modules/zod/v4/locales/tk.js +2 -0
- package/node_modules/zod/v4/locales/tr.cjs +2 -0
- package/node_modules/zod/v4/locales/tr.js +2 -0
- package/node_modules/zod/v4/locales/uk.cjs +2 -0
- package/node_modules/zod/v4/locales/uk.js +2 -0
- package/node_modules/zod/v4/locales/ur.cjs +2 -0
- package/node_modules/zod/v4/locales/ur.js +2 -0
- package/node_modules/zod/v4/locales/uz.cjs +2 -0
- package/node_modules/zod/v4/locales/uz.js +2 -0
- package/node_modules/zod/v4/locales/vi.cjs +2 -0
- package/node_modules/zod/v4/locales/vi.js +2 -0
- package/node_modules/zod/v4/locales/yo.cjs +2 -0
- package/node_modules/zod/v4/locales/yo.js +2 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +2 -0
- package/node_modules/zod/v4/locales/zh-CN.js +2 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +2 -0
- package/node_modules/zod/v4/locales/zh-TW.js +2 -0
- package/node_modules/zod/v4/mini/checks.cjs +19 -0
- package/node_modules/zod/v4/mini/coerce.cjs +19 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +19 -0
- package/node_modules/zod/v4/mini/external.cjs +22 -1
- package/node_modules/zod/v4/mini/external.d.cts +1 -1
- package/node_modules/zod/v4/mini/external.d.ts +1 -1
- package/node_modules/zod/v4/mini/external.js +1 -1
- package/node_modules/zod/v4/mini/in-out.cjs +19 -0
- package/node_modules/zod/v4/mini/index.cjs +19 -0
- package/node_modules/zod/v4/mini/iso.cjs +19 -0
- package/node_modules/zod/v4/mini/parse.cjs +19 -0
- package/node_modules/zod/v4/mini/schemas.cjs +44 -8
- package/node_modules/zod/v4/mini/schemas.d.cts +6 -1
- package/node_modules/zod/v4/mini/schemas.d.ts +6 -1
- package/node_modules/zod/v4/mini/schemas.js +21 -6
- package/node_modules/zod/v4-mini/index.cjs +19 -0
- package/package.json +20 -13
- package/plugins/swarm/LICENSE +121 -0
- package/plugins/swarm/README.md +88 -0
- package/plugins/swarm/references/scan.md +119 -0
- package/schema/zedbee.schema.json +12 -0
- package/licenses/production-inventory.json +0 -8567
- package/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/es-toolkit/CHANGELOG.md +0 -936
- package/node_modules/es-toolkit/src/compat/_internal/Equals.d.ts +0 -1
- package/node_modules/es-toolkit/src/compat/_internal/IsWritable.d.ts +0 -3
- package/node_modules/es-toolkit/src/compat/_internal/MutableList.d.ts +0 -4
- package/node_modules/es-toolkit/src/compat/_internal/RejectReadonly.d.ts +0 -4
- package/node_modules/rechoir/CHANGELOG.md +0 -12
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import ts from "typescript";
|
|
2
|
+
import { dirname, isAbsolute, posix, relative, resolve, sep } from "node:path";
|
|
3
|
+
import { readContainedFile } from "../../inspection/read-json.js";
|
|
4
|
+
import { captureSnapshotRegistry, IGNORED_DIRECTORY_NAMES, } from "../../inspection/snapshot-registry.js";
|
|
5
|
+
import { loadSnapshotProgramInput } from "./config.js";
|
|
6
|
+
function staticModuleSpecifier(node, hasNodeModuleImport) {
|
|
7
|
+
if ((ts.isImportDeclaration(node) || ts.isExportDeclaration(node)) &&
|
|
8
|
+
node.moduleSpecifier !== undefined &&
|
|
9
|
+
ts.isStringLiteralLike(node.moduleSpecifier)) {
|
|
10
|
+
return node.moduleSpecifier.text;
|
|
11
|
+
}
|
|
12
|
+
if (ts.isImportEqualsDeclaration(node) &&
|
|
13
|
+
ts.isExternalModuleReference(node.moduleReference) &&
|
|
14
|
+
node.moduleReference.expression !== undefined &&
|
|
15
|
+
ts.isStringLiteralLike(node.moduleReference.expression)) {
|
|
16
|
+
return node.moduleReference.expression.text;
|
|
17
|
+
}
|
|
18
|
+
if (ts.isImportTypeNode(node) &&
|
|
19
|
+
ts.isLiteralTypeNode(node.argument) &&
|
|
20
|
+
ts.isStringLiteralLike(node.argument.literal)) {
|
|
21
|
+
return node.argument.literal.text;
|
|
22
|
+
}
|
|
23
|
+
if (ts.isCallExpression(node) &&
|
|
24
|
+
node.arguments.length >= 1 &&
|
|
25
|
+
ts.isStringLiteralLike(node.arguments[0]) &&
|
|
26
|
+
(node.expression.kind === ts.SyntaxKind.ImportKeyword ||
|
|
27
|
+
(ts.isIdentifier(node.expression) &&
|
|
28
|
+
node.expression.text === "require" &&
|
|
29
|
+
node.arguments.length === 1) ||
|
|
30
|
+
(ts.isPropertyAccessExpression(node.expression) &&
|
|
31
|
+
((ts.isIdentifier(node.expression.expression) &&
|
|
32
|
+
node.expression.expression.text === "require") ||
|
|
33
|
+
(ts.isMetaProperty(node.expression.expression) &&
|
|
34
|
+
node.expression.expression.keywordToken ===
|
|
35
|
+
ts.SyntaxKind.ImportKeyword)) &&
|
|
36
|
+
node.expression.name.text === "resolve"))) {
|
|
37
|
+
return node.arguments[0].text;
|
|
38
|
+
}
|
|
39
|
+
if (hasNodeModuleImport &&
|
|
40
|
+
ts.isCallExpression(node) &&
|
|
41
|
+
node.arguments[0] &&
|
|
42
|
+
ts.isStringLiteralLike(node.arguments[0]) &&
|
|
43
|
+
((ts.isIdentifier(node.expression) &&
|
|
44
|
+
node.expression.text === "register") ||
|
|
45
|
+
(ts.isPropertyAccessExpression(node.expression) &&
|
|
46
|
+
ts.isIdentifier(node.expression.expression) &&
|
|
47
|
+
node.expression.expression.text === "module" &&
|
|
48
|
+
node.expression.name.text === "register"))) {
|
|
49
|
+
const base = node.arguments[1];
|
|
50
|
+
if (!node.arguments[0].text.startsWith(".") ||
|
|
51
|
+
(base &&
|
|
52
|
+
ts.isPropertyAccessExpression(base) &&
|
|
53
|
+
ts.isMetaProperty(base.expression) &&
|
|
54
|
+
base.name.text === "url"))
|
|
55
|
+
return node.arguments[0].text;
|
|
56
|
+
}
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
/** Static spellings shared by prevalidation and managed resolver configuration. */
|
|
60
|
+
export function sourceModuleSpecifiers(sourcePath, source, collectCommentImports) {
|
|
61
|
+
const file = ts.createSourceFile(sourcePath, source, ts.ScriptTarget.Latest, false, sourcePath.endsWith("x") ? ts.ScriptKind.TSX : ts.ScriptKind.TS);
|
|
62
|
+
const hasNodeModuleImport = file.statements.some((statement) => ts.isImportDeclaration(statement) &&
|
|
63
|
+
ts.isStringLiteralLike(statement.moduleSpecifier) &&
|
|
64
|
+
["node:module", "module"].includes(statement.moduleSpecifier.text));
|
|
65
|
+
const specifiers = new Set();
|
|
66
|
+
const comments = new Map();
|
|
67
|
+
const visit = (node) => {
|
|
68
|
+
if (collectCommentImports !== undefined) {
|
|
69
|
+
for (const comment of [
|
|
70
|
+
...(ts.getLeadingCommentRanges(source, node.pos) ?? []),
|
|
71
|
+
...(ts.getTrailingCommentRanges(source, node.end) ?? []),
|
|
72
|
+
]) {
|
|
73
|
+
const block = comment.kind === ts.SyntaxKind.MultiLineCommentTrivia;
|
|
74
|
+
comments.set(comment.pos, {
|
|
75
|
+
type: block ? "Block" : "Line",
|
|
76
|
+
start: comment.pos,
|
|
77
|
+
end: comment.end,
|
|
78
|
+
value: source.slice(comment.pos + 2, comment.end - (block ? 2 : 0)),
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const specifier = staticModuleSpecifier(node, hasNodeModuleImport);
|
|
83
|
+
if (specifier !== undefined)
|
|
84
|
+
specifiers.add(specifier);
|
|
85
|
+
ts.forEachChild(node, visit);
|
|
86
|
+
};
|
|
87
|
+
visit(file);
|
|
88
|
+
collectCommentImports?.([...comments.values()], file.statements[0]?.getStart(file) ?? source.length, (specifier) => specifiers.add(specifier));
|
|
89
|
+
return [...specifiers];
|
|
90
|
+
}
|
|
91
|
+
/** Engines strip asset queries/fragments before local resolution. */
|
|
92
|
+
export function normalizedAliasSpecifier(specifier) {
|
|
93
|
+
const start = specifier.replace(/^[!-]+/u, "");
|
|
94
|
+
const delimiter = start.search(/[?!]|(?<!^)#/u);
|
|
95
|
+
return delimiter < 0 ? start : start.slice(0, delimiter);
|
|
96
|
+
}
|
|
97
|
+
/** Select only one TS paths key: exact first, then longest wildcard prefix. */
|
|
98
|
+
function selectedMapping(paths, specifier) {
|
|
99
|
+
if (Object.hasOwn(paths, specifier))
|
|
100
|
+
return { targets: paths[specifier] };
|
|
101
|
+
let selected;
|
|
102
|
+
let longestPrefix = -1;
|
|
103
|
+
for (const [pattern, targets] of Object.entries(paths)) {
|
|
104
|
+
const star = pattern.indexOf("*");
|
|
105
|
+
if (star < 0 || star < longestPrefix)
|
|
106
|
+
continue;
|
|
107
|
+
const prefix = pattern.slice(0, star), suffix = pattern.slice(star + 1);
|
|
108
|
+
if (specifier.length < prefix.length + suffix.length ||
|
|
109
|
+
!specifier.startsWith(prefix) ||
|
|
110
|
+
!specifier.endsWith(suffix))
|
|
111
|
+
continue;
|
|
112
|
+
// TS keeps declaration order for equal-length prefixes.
|
|
113
|
+
if (star === longestPrefix)
|
|
114
|
+
continue;
|
|
115
|
+
longestPrefix = star;
|
|
116
|
+
selected = {
|
|
117
|
+
targets,
|
|
118
|
+
capture: specifier.slice(prefix.length, suffix.length === 0 ? undefined : -suffix.length),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
return selected;
|
|
122
|
+
}
|
|
123
|
+
/** Resolve using captured TS options and inventory; no engine reads host paths. */
|
|
124
|
+
export async function loadSnapshotAliases(snapshotRoot, workspace) {
|
|
125
|
+
if (workspace.tsconfigPaths.length === 0)
|
|
126
|
+
return { patterns: [], resolve: () => undefined };
|
|
127
|
+
const input = await loadSnapshotProgramInput(snapshotRoot, snapshotRoot, workspace);
|
|
128
|
+
const registry = await captureSnapshotRegistry(snapshotRoot);
|
|
129
|
+
const paths = input.options.paths ?? {};
|
|
130
|
+
const configFilePath = input.options.configFilePath;
|
|
131
|
+
const pathsBasePath = input.options.pathsBasePath;
|
|
132
|
+
const base = input.options.baseUrl ??
|
|
133
|
+
(typeof pathsBasePath === "string"
|
|
134
|
+
? pathsBasePath
|
|
135
|
+
: typeof configFilePath === "string"
|
|
136
|
+
? dirname(configFilePath)
|
|
137
|
+
: snapshotRoot);
|
|
138
|
+
const repositoryPath = (path) => {
|
|
139
|
+
const candidate = relative(snapshotRoot, resolve(path));
|
|
140
|
+
if (isAbsolute(candidate) ||
|
|
141
|
+
candidate === ".." ||
|
|
142
|
+
candidate.startsWith(`..${sep}`))
|
|
143
|
+
throw new TypeError("TypeScript alias escaped the snapshot");
|
|
144
|
+
return candidate.split(sep).join("/");
|
|
145
|
+
};
|
|
146
|
+
const entryFor = (path) => {
|
|
147
|
+
try {
|
|
148
|
+
return registry.resolve(repositoryPath(path));
|
|
149
|
+
}
|
|
150
|
+
catch {
|
|
151
|
+
return undefined;
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
const host = {
|
|
155
|
+
fileExists: (path) => entryFor(path)?.targetKind === "file",
|
|
156
|
+
directoryExists: (path) => entryFor(path)?.targetKind === "directory",
|
|
157
|
+
readFile: (path) => {
|
|
158
|
+
const entry = entryFor(path);
|
|
159
|
+
return entry?.targetKind === "file"
|
|
160
|
+
? input.files[repositoryPath(entry.canonicalPath)]
|
|
161
|
+
: undefined;
|
|
162
|
+
},
|
|
163
|
+
realpath: (path) => entryFor(path)?.canonicalPath ?? path,
|
|
164
|
+
getCurrentDirectory: () => snapshotRoot,
|
|
165
|
+
useCaseSensitiveFileNames: true,
|
|
166
|
+
};
|
|
167
|
+
const cache = ts.createModuleResolutionCache(snapshotRoot, (path) => path, input.options);
|
|
168
|
+
return {
|
|
169
|
+
patterns: Object.keys(paths),
|
|
170
|
+
...(typeof configFilePath === "string"
|
|
171
|
+
? { configPath: repositoryPath(configFilePath) }
|
|
172
|
+
: {}),
|
|
173
|
+
resolve(sourcePath, rawSpecifier) {
|
|
174
|
+
const specifier = normalizedAliasSpecifier(rawSpecifier);
|
|
175
|
+
// `paths` applies only to bare module names. In particular, never feed a
|
|
176
|
+
// captured absolute redirection back into a catch-all mapping.
|
|
177
|
+
if (ts.isExternalModuleNameRelative(specifier) ||
|
|
178
|
+
/^[A-Za-z][A-Za-z0-9+.-]*:/u.test(specifier))
|
|
179
|
+
return undefined;
|
|
180
|
+
const mapping = selectedMapping(paths, specifier);
|
|
181
|
+
if (mapping === undefined)
|
|
182
|
+
return undefined;
|
|
183
|
+
const candidates = mapping.targets.map((target) => {
|
|
184
|
+
const expanded = mapping.capture === undefined
|
|
185
|
+
? target
|
|
186
|
+
: target.replaceAll("*", () => mapping.capture);
|
|
187
|
+
if (expanded.includes("\\") || /%(?:2e|2f|5c)/iu.test(expanded))
|
|
188
|
+
throw new TypeError("Unsafe TypeScript alias target");
|
|
189
|
+
const path = repositoryPath(resolve(base, expanded));
|
|
190
|
+
if (path
|
|
191
|
+
.split("/")
|
|
192
|
+
.some((part) => IGNORED_DIRECTORY_NAMES.includes(part)))
|
|
193
|
+
throw new TypeError("TypeScript alias targets an excluded path");
|
|
194
|
+
return path;
|
|
195
|
+
});
|
|
196
|
+
const resolution = ts.resolveModuleName(specifier, resolve(snapshotRoot, sourcePath), input.options, host, cache).resolvedModule;
|
|
197
|
+
if (resolution !== undefined) {
|
|
198
|
+
const entry = entryFor(resolution.resolvedFileName);
|
|
199
|
+
if (entry?.targetKind === "file")
|
|
200
|
+
return repositoryPath(entry.canonicalPath);
|
|
201
|
+
}
|
|
202
|
+
// Stylesheets and other explicit asset imports have no TS module result.
|
|
203
|
+
// Follow the selected mapping's ordered targets through the same inventory.
|
|
204
|
+
return candidates.find((path) => /\.[^/]+$/u.test(path) &&
|
|
205
|
+
registry.resolve(path)?.targetKind === "file");
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
/** Prepare the selected workspace and only statically reachable sibling scopes. */
|
|
210
|
+
export async function prepareSnapshotAliases(snapshotRoot, inspection, selected, collectCommentImports) {
|
|
211
|
+
const registry = await captureSnapshotRegistry(snapshotRoot);
|
|
212
|
+
const workspaces = new Map();
|
|
213
|
+
const paths = new Map();
|
|
214
|
+
const sourceFiles = new Set();
|
|
215
|
+
const pending = [selected];
|
|
216
|
+
const queued = new Set([selected.relativeRoot]);
|
|
217
|
+
const scopes = [...inspection.workspaces].sort((a, b) => Number(a.relativeRoot === ".") - Number(b.relativeRoot === ".") ||
|
|
218
|
+
b.relativeRoot.length - a.relativeRoot.length);
|
|
219
|
+
const scopeFor = (path) => scopes.find((scope) => scope.relativeRoot === "." || path.startsWith(`${scope.relativeRoot}/`));
|
|
220
|
+
const enqueue = (scope) => {
|
|
221
|
+
if (scope === undefined || queued.has(scope.relativeRoot))
|
|
222
|
+
return;
|
|
223
|
+
queued.add(scope.relativeRoot);
|
|
224
|
+
pending.push(scope);
|
|
225
|
+
};
|
|
226
|
+
for (const workspace of pending) {
|
|
227
|
+
const aliases = await loadSnapshotAliases(snapshotRoot, workspace);
|
|
228
|
+
workspaces.set(workspace.relativeRoot, aliases);
|
|
229
|
+
const mappings = Object.create(null);
|
|
230
|
+
for (const sourcePath of workspace.sourceFiles) {
|
|
231
|
+
sourceFiles.add(sourcePath);
|
|
232
|
+
const source = await readContainedFile(registry, sourcePath);
|
|
233
|
+
for (const specifier of sourceModuleSpecifiers(sourcePath, source, collectCommentImports)) {
|
|
234
|
+
const target = aliases.resolve(sourcePath, specifier);
|
|
235
|
+
if (target !== undefined) {
|
|
236
|
+
mappings[normalizedAliasSpecifier(specifier)] = [target];
|
|
237
|
+
enqueue(scopeFor(target));
|
|
238
|
+
}
|
|
239
|
+
else if (specifier.startsWith(".")) {
|
|
240
|
+
const candidate = posix.normalize(posix.join(posix.dirname(sourcePath), specifier));
|
|
241
|
+
const scope = scopeFor(candidate);
|
|
242
|
+
const withoutExtension = candidate.replace(/\.[cm]?[jt]sx?$/iu, "");
|
|
243
|
+
if (scope?.sourceFiles.some((path) => path === candidate ||
|
|
244
|
+
path.replace(/\.[cm]?[jt]sx?$/iu, "") === withoutExtension ||
|
|
245
|
+
path.startsWith(`${candidate}/`)))
|
|
246
|
+
enqueue(scope);
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
enqueue(scopes.find((scope) => scope.name !== undefined &&
|
|
250
|
+
(specifier === scope.name ||
|
|
251
|
+
specifier.startsWith(`${scope.name}/`))));
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
paths.set(workspace.relativeRoot, mappings);
|
|
256
|
+
}
|
|
257
|
+
return { workspaces, paths, sourceFiles: [...sourceFiles] };
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=aliases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aliases.js","sourceRoot":"","sources":["../../../src/checks/typescript/aliases.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAevD,SAAS,qBAAqB,CAC5B,IAAa,EACb,mBAA4B;IAE5B,IACE,CAAC,EAAE,CAAC,mBAAmB,CAAC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AAI,GAAG,CAAC,CAAC,CAC5C,CACF,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,EAAE,CAAC;AAC9D,CAAC"}
|
|
@@ -116,41 +116,51 @@ function createFreshSnapshotProgram(input) {
|
|
|
116
116
|
incremental: false,
|
|
117
117
|
composite: false,
|
|
118
118
|
};
|
|
119
|
-
delete options.tsBuildInfoFile;
|
|
120
119
|
const typescriptLibraryRoot = dirname(ts.getDefaultLibFilePath(options));
|
|
121
120
|
const dependencyFileAllowed = (candidate) => dependencies.fileExists(candidate);
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
while (contained(repositoryRoot, directory)) {
|
|
140
|
-
options.typeRoots.push(resolve(directory, "node_modules/@types"));
|
|
141
|
-
if (directory === repositoryRoot)
|
|
142
|
-
break;
|
|
143
|
-
directory = dirname(directory);
|
|
121
|
+
const prepareProjectOptions = (projectOptions, projectRootNames, discoverTypes = false) => {
|
|
122
|
+
const prepared = {
|
|
123
|
+
...projectOptions,
|
|
124
|
+
noEmit: true,
|
|
125
|
+
incremental: false,
|
|
126
|
+
composite: false,
|
|
127
|
+
};
|
|
128
|
+
delete prepared.tsBuildInfoFile;
|
|
129
|
+
if (prepared.typeRoots !== undefined) {
|
|
130
|
+
prepared.typeRoots = prepared.typeRoots.map((typeRoot) => {
|
|
131
|
+
const path = repositoryPath(snapshotRoot, typeRoot);
|
|
132
|
+
// Custom declarations remain in the snapshot; only installed type roots
|
|
133
|
+
// use the project's dependency directory.
|
|
134
|
+
return path?.split("/").includes("node_modules")
|
|
135
|
+
? resolve(repositoryRoot, path)
|
|
136
|
+
: typeRoot;
|
|
137
|
+
});
|
|
144
138
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
]
|
|
152
|
-
|
|
153
|
-
|
|
139
|
+
else {
|
|
140
|
+
const projectDirectory = dirname(typeof prepared.configFilePath === "string"
|
|
141
|
+
? prepared.configFilePath
|
|
142
|
+
: resolve(snapshotRoot, projectRootNames[0] ?? "index.ts"));
|
|
143
|
+
const projectPath = repositoryPath(snapshotRoot, projectDirectory) ?? ".";
|
|
144
|
+
let directory = resolve(repositoryRoot, projectPath);
|
|
145
|
+
prepared.typeRoots = [];
|
|
146
|
+
while (contained(repositoryRoot, directory)) {
|
|
147
|
+
prepared.typeRoots.push(resolve(directory, "node_modules/@types"));
|
|
148
|
+
if (directory === repositoryRoot)
|
|
149
|
+
break;
|
|
150
|
+
directory = dirname(directory);
|
|
151
|
+
}
|
|
152
|
+
// Preserve the entry project's implicit type discovery. Referenced
|
|
153
|
+
// projects retain their compiler's default when types is omitted.
|
|
154
|
+
if (discoverTypes && prepared.types === undefined)
|
|
155
|
+
prepared.types = [
|
|
156
|
+
...new Set(prepared.typeRoots.flatMap((typeRoot) => dependencies
|
|
157
|
+
.directoryEntries(typeRoot)
|
|
158
|
+
.filter((entry) => entry.type === "directory" && !entry.name.startsWith("."))
|
|
159
|
+
.map((entry) => entry.name))),
|
|
160
|
+
].sort();
|
|
161
|
+
}
|
|
162
|
+
return prepared;
|
|
163
|
+
};
|
|
154
164
|
const moduleHost = {
|
|
155
165
|
fileExists: (path) => {
|
|
156
166
|
const absolute = resolve(path);
|
|
@@ -190,76 +200,78 @@ function createFreshSnapshotProgram(input) {
|
|
|
190
200
|
directoryExists: (path) => snapshotDirectories.has(directoryKey(resolve(path))),
|
|
191
201
|
realpath: (path) => resolve(path),
|
|
192
202
|
};
|
|
193
|
-
const
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
const
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
packageReads.add(absolute);
|
|
208
|
-
return dependencies.readFile(absolute);
|
|
209
|
-
}
|
|
210
|
-
return undefined;
|
|
211
|
-
},
|
|
212
|
-
getSourceFile(path, languageVersion, onError, shouldCreateNewSourceFile) {
|
|
213
|
-
const source = host.readFile(path);
|
|
214
|
-
if (source === undefined)
|
|
215
|
-
return undefined;
|
|
216
|
-
return ts.createSourceFile(path, source, languageVersion, true, /\.tsx$/iu.test(path)
|
|
217
|
-
? ts.ScriptKind.TSX
|
|
218
|
-
: /\.[cm]?js$/iu.test(path)
|
|
219
|
-
? ts.ScriptKind.JS
|
|
220
|
-
: /\.json$/iu.test(path)
|
|
221
|
-
? ts.ScriptKind.JSON
|
|
222
|
-
: ts.ScriptKind.TS);
|
|
223
|
-
},
|
|
224
|
-
directoryExists: (path) => moduleHost.directoryExists?.(path) ?? false,
|
|
225
|
-
getDirectories: (path) => moduleHost.getDirectories?.(path) ?? [],
|
|
226
|
-
realpath: (path) => moduleHost.realpath?.(path) ?? path,
|
|
227
|
-
readDirectory(rootDir, extensions, excludes, includes, depth) {
|
|
228
|
-
const root = resolve(rootDir);
|
|
229
|
-
const includeMatchers = (includes.length > 0 ? includes : ["**/*"]).map((pattern) => picomatch(pattern, { dot: true }));
|
|
230
|
-
const excludeMatchers = (excludes ?? []).map((pattern) => picomatch(pattern, { dot: true }));
|
|
231
|
-
return [...files.keys()].filter((path) => {
|
|
232
|
-
const fromRoot = normalized(relative(root, path));
|
|
233
|
-
if (fromRoot === ".." ||
|
|
234
|
-
fromRoot.startsWith("../") ||
|
|
235
|
-
(depth !== undefined && fromRoot.split("/").length - 1 > depth) ||
|
|
236
|
-
!extensions.some((extension) => path.endsWith(extension))) {
|
|
237
|
-
return false;
|
|
203
|
+
const createHost = (projectOptions) => {
|
|
204
|
+
const defaultHost = ts.createCompilerHost(projectOptions, true);
|
|
205
|
+
const host = {
|
|
206
|
+
...defaultHost,
|
|
207
|
+
getCurrentDirectory: () => snapshotRoot,
|
|
208
|
+
fileExists: moduleHost.fileExists,
|
|
209
|
+
readFile(path) {
|
|
210
|
+
const absolute = resolve(path);
|
|
211
|
+
const local = files.get(absolute);
|
|
212
|
+
if (local !== undefined) {
|
|
213
|
+
const relativePath = repositoryPath(snapshotRoot, absolute);
|
|
214
|
+
if (relativePath !== undefined)
|
|
215
|
+
localReads.add(relativePath);
|
|
216
|
+
return local;
|
|
238
217
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
},
|
|
243
|
-
writeFile(path) {
|
|
244
|
-
writes.push(path);
|
|
245
|
-
},
|
|
246
|
-
resolveModuleNames(moduleNames, containingFile) {
|
|
247
|
-
return moduleNames.map((specifier) => {
|
|
248
|
-
const localResolution = ts.resolveModuleName(specifier, containingFile, options, files.has(resolve(containingFile)) ? snapshotModuleHost : moduleHost).resolvedModule;
|
|
249
|
-
if (localResolution !== undefined)
|
|
250
|
-
return localResolution;
|
|
251
|
-
if (!isBareSpecifier(specifier))
|
|
252
|
-
return undefined;
|
|
253
|
-
const relativeContaining = repositoryPath(snapshotRoot, containingFile) ?? "src/index.ts";
|
|
254
|
-
const syntheticContaining = resolve(repositoryRoot, ...relativeContaining.split("/"));
|
|
255
|
-
const resolved = ts.resolveModuleName(specifier, syntheticContaining, options, moduleHost).resolvedModule;
|
|
256
|
-
if (resolved === undefined ||
|
|
257
|
-
!dependencies.packageFileExists(resolve(resolved.resolvedFileName))) {
|
|
258
|
-
return undefined;
|
|
218
|
+
if (dependencyFileAllowed(absolute)) {
|
|
219
|
+
packageReads.add(absolute);
|
|
220
|
+
return dependencies.readFile(absolute);
|
|
259
221
|
}
|
|
260
|
-
return
|
|
261
|
-
}
|
|
262
|
-
|
|
222
|
+
return undefined;
|
|
223
|
+
},
|
|
224
|
+
getSourceFile(path, languageVersion, onError, shouldCreateNewSourceFile) {
|
|
225
|
+
const source = host.readFile(path);
|
|
226
|
+
if (source === undefined)
|
|
227
|
+
return undefined;
|
|
228
|
+
return ts.createSourceFile(path, source, languageVersion, true);
|
|
229
|
+
},
|
|
230
|
+
directoryExists: (path) => moduleHost.directoryExists?.(path) ?? false,
|
|
231
|
+
getDirectories: (path) => moduleHost.getDirectories?.(path) ?? [],
|
|
232
|
+
realpath: (path) => moduleHost.realpath?.(path) ?? path,
|
|
233
|
+
readDirectory(rootDir, extensions, excludes, includes, depth) {
|
|
234
|
+
const root = resolve(rootDir);
|
|
235
|
+
const includeMatchers = (includes.length > 0 ? includes : ["**/*"]).map((pattern) => picomatch(pattern, { dot: true }));
|
|
236
|
+
const excludeMatchers = (excludes ?? []).map((pattern) => picomatch(pattern, { dot: true }));
|
|
237
|
+
return [...files.keys()].filter((path) => {
|
|
238
|
+
const fromRoot = normalized(relative(root, path));
|
|
239
|
+
if (fromRoot === ".." ||
|
|
240
|
+
fromRoot.startsWith("../") ||
|
|
241
|
+
(depth !== undefined && fromRoot.split("/").length - 1 > depth) ||
|
|
242
|
+
!extensions.some((extension) => path.endsWith(extension))) {
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
return (includeMatchers.some((match) => match(fromRoot)) &&
|
|
246
|
+
!excludeMatchers.some((match) => match(fromRoot)));
|
|
247
|
+
});
|
|
248
|
+
},
|
|
249
|
+
writeFile(path) {
|
|
250
|
+
writes.push(path);
|
|
251
|
+
},
|
|
252
|
+
resolveModuleNameLiterals(moduleLiterals, containingFile, redirectedReference, resolutionOptions, containingSourceFile) {
|
|
253
|
+
return moduleLiterals.map((literal) => {
|
|
254
|
+
const specifier = literal.text;
|
|
255
|
+
const mode = ts.getModeForUsageLocation(containingSourceFile, literal, resolutionOptions);
|
|
256
|
+
const localResolution = ts.resolveModuleName(specifier, containingFile, resolutionOptions, files.has(resolve(containingFile))
|
|
257
|
+
? snapshotModuleHost
|
|
258
|
+
: moduleHost, undefined, redirectedReference, mode);
|
|
259
|
+
if (localResolution.resolvedModule !== undefined)
|
|
260
|
+
return localResolution;
|
|
261
|
+
if (!isBareSpecifier(specifier))
|
|
262
|
+
return localResolution;
|
|
263
|
+
const relativeContaining = repositoryPath(snapshotRoot, containingFile) ?? "src/index.ts";
|
|
264
|
+
const syntheticContaining = resolve(repositoryRoot, ...relativeContaining.split("/"));
|
|
265
|
+
const resolved = ts.resolveModuleName(specifier, syntheticContaining, resolutionOptions, moduleHost, undefined, redirectedReference, mode);
|
|
266
|
+
if (resolved.resolvedModule === undefined ||
|
|
267
|
+
!dependencies.packageFileExists(resolve(resolved.resolvedModule.resolvedFileName))) {
|
|
268
|
+
return { resolvedModule: undefined };
|
|
269
|
+
}
|
|
270
|
+
return resolved;
|
|
271
|
+
});
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
return host;
|
|
263
275
|
};
|
|
264
276
|
const rootNames = input.rootNames.map((path) => {
|
|
265
277
|
const normalizedPath = normalized(path);
|
|
@@ -276,10 +288,11 @@ function createFreshSnapshotProgram(input) {
|
|
|
276
288
|
}
|
|
277
289
|
return absolute;
|
|
278
290
|
});
|
|
291
|
+
const preparedOptions = prepareProjectOptions(options, rootNames, true);
|
|
279
292
|
const program = ts.createProgram({
|
|
280
293
|
rootNames,
|
|
281
|
-
options,
|
|
282
|
-
host,
|
|
294
|
+
options: preparedOptions,
|
|
295
|
+
host: createHost(preparedOptions),
|
|
283
296
|
...(input.projectReferences === undefined
|
|
284
297
|
? {}
|
|
285
298
|
: { projectReferences: [...input.projectReferences] }),
|
|
@@ -294,17 +307,11 @@ function createFreshSnapshotProgram(input) {
|
|
|
294
307
|
if (visitedReferences.has(configPath))
|
|
295
308
|
continue;
|
|
296
309
|
visitedReferences.add(configPath);
|
|
297
|
-
const referencedOptions =
|
|
298
|
-
...reference.commandLine.options,
|
|
299
|
-
noEmit: true,
|
|
300
|
-
incremental: false,
|
|
301
|
-
composite: false,
|
|
302
|
-
};
|
|
303
|
-
delete referencedOptions.tsBuildInfoFile;
|
|
310
|
+
const referencedOptions = prepareProjectOptions(reference.commandLine.options, reference.commandLine.fileNames);
|
|
304
311
|
const referencedProgram = ts.createProgram({
|
|
305
312
|
rootNames: reference.commandLine.fileNames,
|
|
306
313
|
options: referencedOptions,
|
|
307
|
-
host,
|
|
314
|
+
host: createHost(referencedOptions),
|
|
308
315
|
...(reference.commandLine.projectReferences === undefined
|
|
309
316
|
? {}
|
|
310
317
|
: { projectReferences: reference.commandLine.projectReferences }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-host.js","sourceRoot":"","sources":["../../../src/checks/typescript/compiler-host.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAoB3B,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAE9C,SAAS,UAAU,CAAC,IAAY;IAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,SAAS,CAAC,IAAY,EAAE,SAAiB;IAChD,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC3C,OAAO,CACL,QAAQ,KAAK,EAAE;QACf,CAAC,C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AAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;QACjD,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QACrD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;KAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { WorkspaceInspection } from "../../inspection/types.js";
|
|
2
2
|
import type { SnapshotProgramInput } from "./compiler-host.js";
|
|
3
|
+
/** Internal config failures retain only repository paths and numeric TS codes. */
|
|
4
|
+
export declare class SnapshotConfigurationError extends Error {
|
|
5
|
+
readonly configPath: string;
|
|
6
|
+
readonly codes: readonly number[];
|
|
7
|
+
constructor(configPath: string, codes?: readonly number[]);
|
|
8
|
+
}
|
|
3
9
|
export declare function loadSnapshotProgramInput(snapshotRoot: string, repositoryRoot: string, workspace: WorkspaceInspection): Promise<SnapshotProgramInput>;
|
|
4
10
|
export interface SnapshotProgramProject {
|
|
5
11
|
readonly configPath: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/checks/typescript/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/checks/typescript/config.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG/D,kFAAkF;AAClF,qBAAa,0BAA2B,SAAQ,KAAK;IAGjD,QAAQ,CAAC,UAAU,EAAE,MAAM;IAF7B,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;gBAEvB,UAAU,EAAE,MAAM,EAC3B,KAAK,GAAE,SAAS,MAAM,EAAO;CAMhC;AA2OD,wBAAsB,wBAAwB,CAC5C,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAQ/B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACtC;AAqQD,gFAAgF;AAChF,wBAAsB,2BAA2B,CAC/C,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,mBAAmB,GAC7B,OAAO,CAAC,SAAS,sBAAsB,EAAE,CAAC,CAiD5C"}
|