zedbee 0.1.0-beta.1
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/DISCLOSURE +19 -0
- package/LICENSE +121 -0
- package/README.md +91 -0
- package/SECURITY.md +47 -0
- package/THIRD_PARTY_NOTICES.md +18244 -0
- package/dist/attribution/compare.d.ts +16 -0
- package/dist/attribution/compare.d.ts.map +1 -0
- package/dist/attribution/compare.js +159 -0
- package/dist/attribution/compare.js.map +1 -0
- package/dist/attribution/entities.d.ts +11 -0
- package/dist/attribution/entities.d.ts.map +1 -0
- package/dist/attribution/entities.js +349 -0
- package/dist/attribution/entities.js.map +1 -0
- package/dist/attribution/fingerprint.d.ts +18 -0
- package/dist/attribution/fingerprint.d.ts.map +1 -0
- package/dist/attribution/fingerprint.js +340 -0
- package/dist/attribution/fingerprint.js.map +1 -0
- package/dist/attribution/metrics.d.ts +8 -0
- package/dist/attribution/metrics.d.ts.map +1 -0
- package/dist/attribution/metrics.js +196 -0
- package/dist/attribution/metrics.js.map +1 -0
- package/dist/attribution/range.d.ts +4 -0
- package/dist/attribution/range.d.ts.map +1 -0
- package/dist/attribution/range.js +32 -0
- package/dist/attribution/range.js.map +1 -0
- package/dist/cache/captured-dependencies.d.ts +50 -0
- package/dist/cache/captured-dependencies.d.ts.map +1 -0
- package/dist/cache/captured-dependencies.js +479 -0
- package/dist/cache/captured-dependencies.js.map +1 -0
- package/dist/cache/dependency-inputs.d.ts +38 -0
- package/dist/cache/dependency-inputs.d.ts.map +1 -0
- package/dist/cache/dependency-inputs.js +151 -0
- package/dist/cache/dependency-inputs.js.map +1 -0
- package/dist/cache/key.d.ts +42 -0
- package/dist/cache/key.d.ts.map +1 -0
- package/dist/cache/key.js +197 -0
- package/dist/cache/key.js.map +1 -0
- package/dist/cache/store.d.ts +35 -0
- package/dist/cache/store.d.ts.map +1 -0
- package/dist/cache/store.js +177 -0
- package/dist/cache/store.js.map +1 -0
- package/dist/checks/adapter.d.ts +96 -0
- package/dist/checks/adapter.d.ts.map +1 -0
- package/dist/checks/adapter.js +2 -0
- package/dist/checks/adapter.js.map +1 -0
- package/dist/checks/analysis-reuse.d.ts +14 -0
- package/dist/checks/analysis-reuse.d.ts.map +1 -0
- package/dist/checks/analysis-reuse.js +123 -0
- package/dist/checks/analysis-reuse.js.map +1 -0
- package/dist/checks/applicability.d.ts +7 -0
- package/dist/checks/applicability.d.ts.map +1 -0
- package/dist/checks/applicability.js +121 -0
- package/dist/checks/applicability.js.map +1 -0
- package/dist/checks/complexity/adapter.d.ts +7 -0
- package/dist/checks/complexity/adapter.d.ts.map +1 -0
- package/dist/checks/complexity/adapter.js +206 -0
- package/dist/checks/complexity/adapter.js.map +1 -0
- package/dist/checks/complexity/metric-message.d.ts +7 -0
- package/dist/checks/complexity/metric-message.d.ts.map +1 -0
- package/dist/checks/complexity/metric-message.js +16 -0
- package/dist/checks/complexity/metric-message.js.map +1 -0
- package/dist/checks/complexity/readability-rule.d.ts +5 -0
- package/dist/checks/complexity/readability-rule.d.ts.map +1 -0
- package/dist/checks/complexity/readability-rule.js +110 -0
- package/dist/checks/complexity/readability-rule.js.map +1 -0
- package/dist/checks/configuration-presentation.d.ts +8 -0
- package/dist/checks/configuration-presentation.d.ts.map +1 -0
- package/dist/checks/configuration-presentation.js +94 -0
- package/dist/checks/configuration-presentation.js.map +1 -0
- package/dist/checks/dead-code/adapter.d.ts +3 -0
- package/dist/checks/dead-code/adapter.d.ts.map +1 -0
- package/dist/checks/dead-code/adapter.js +218 -0
- package/dist/checks/dead-code/adapter.js.map +1 -0
- package/dist/checks/dead-code/captured-filesystem.d.ts +12 -0
- package/dist/checks/dead-code/captured-filesystem.d.ts.map +1 -0
- package/dist/checks/dead-code/captured-filesystem.js +138 -0
- package/dist/checks/dead-code/captured-filesystem.js.map +1 -0
- package/dist/checks/dead-code/executor.d.ts +21 -0
- package/dist/checks/dead-code/executor.d.ts.map +1 -0
- package/dist/checks/dead-code/executor.js +78 -0
- package/dist/checks/dead-code/executor.js.map +1 -0
- package/dist/checks/dead-code/import-boundary.d.ts +14 -0
- package/dist/checks/dead-code/import-boundary.d.ts.map +1 -0
- package/dist/checks/dead-code/import-boundary.js +256 -0
- package/dist/checks/dead-code/import-boundary.js.map +1 -0
- package/dist/checks/dead-code/knip-worker.d.ts +2 -0
- package/dist/checks/dead-code/knip-worker.d.ts.map +1 -0
- package/dist/checks/dead-code/knip-worker.js +169 -0
- package/dist/checks/dead-code/knip-worker.js.map +1 -0
- package/dist/checks/dead-code/managed-config.d.ts +13 -0
- package/dist/checks/dead-code/managed-config.d.ts.map +1 -0
- package/dist/checks/dead-code/managed-config.js +128 -0
- package/dist/checks/dead-code/managed-config.js.map +1 -0
- package/dist/checks/dead-code/parse-report.d.ts +3 -0
- package/dist/checks/dead-code/parse-report.d.ts.map +1 -0
- package/dist/checks/dead-code/parse-report.js +107 -0
- package/dist/checks/dead-code/parse-report.js.map +1 -0
- package/dist/checks/dead-code/resolver.LICENSE +22 -0
- package/dist/checks/dead-code/resolver.provenance.json +10 -0
- package/dist/checks/dead-code/resolver.wasm +0 -0
- package/dist/checks/dead-code/wasi.d.ts +9 -0
- package/dist/checks/dead-code/wasi.d.ts.map +1 -0
- package/dist/checks/dead-code/wasi.js +101 -0
- package/dist/checks/dead-code/wasi.js.map +1 -0
- package/dist/checks/dependency-architecture/adapter.d.ts +3 -0
- package/dist/checks/dependency-architecture/adapter.d.ts.map +1 -0
- package/dist/checks/dependency-architecture/adapter.js +305 -0
- package/dist/checks/dependency-architecture/adapter.js.map +1 -0
- package/dist/checks/dependency-architecture/normalize-graph.d.ts +11 -0
- package/dist/checks/dependency-architecture/normalize-graph.d.ts.map +1 -0
- package/dist/checks/dependency-architecture/normalize-graph.js +225 -0
- package/dist/checks/dependency-architecture/normalize-graph.js.map +1 -0
- package/dist/checks/dependency-architecture/rules.d.ts +11 -0
- package/dist/checks/dependency-architecture/rules.d.ts.map +1 -0
- package/dist/checks/dependency-architecture/rules.js +47 -0
- package/dist/checks/dependency-architecture/rules.js.map +1 -0
- package/dist/checks/description.d.ts +41 -0
- package/dist/checks/description.d.ts.map +1 -0
- package/dist/checks/description.js +2 -0
- package/dist/checks/description.js.map +1 -0
- package/dist/checks/descriptors.d.ts +7 -0
- package/dist/checks/descriptors.d.ts.map +1 -0
- package/dist/checks/descriptors.js +50 -0
- package/dist/checks/descriptors.js.map +1 -0
- package/dist/checks/diagnostics.d.ts +25 -0
- package/dist/checks/diagnostics.d.ts.map +1 -0
- package/dist/checks/diagnostics.js +106 -0
- package/dist/checks/diagnostics.js.map +1 -0
- package/dist/checks/dispatcher.d.ts +18 -0
- package/dist/checks/dispatcher.d.ts.map +1 -0
- package/dist/checks/dispatcher.js +789 -0
- package/dist/checks/dispatcher.js.map +1 -0
- package/dist/checks/duplication/adapter.d.ts +9 -0
- package/dist/checks/duplication/adapter.d.ts.map +1 -0
- package/dist/checks/duplication/adapter.js +155 -0
- package/dist/checks/duplication/adapter.js.map +1 -0
- package/dist/checks/duplication/normalize-clone.d.ts +12 -0
- package/dist/checks/duplication/normalize-clone.d.ts.map +1 -0
- package/dist/checks/duplication/normalize-clone.js +190 -0
- package/dist/checks/duplication/normalize-clone.js.map +1 -0
- package/dist/checks/duplication/settings.d.ts +16 -0
- package/dist/checks/duplication/settings.d.ts.map +1 -0
- package/dist/checks/duplication/settings.js +32 -0
- package/dist/checks/duplication/settings.js.map +1 -0
- package/dist/checks/duplication/types.d.ts +53 -0
- package/dist/checks/duplication/types.d.ts.map +1 -0
- package/dist/checks/duplication/types.js +2 -0
- package/dist/checks/duplication/types.js.map +1 -0
- package/dist/checks/engine-identity.d.ts +5 -0
- package/dist/checks/engine-identity.d.ts.map +1 -0
- package/dist/checks/engine-identity.js +130 -0
- package/dist/checks/engine-identity.js.map +1 -0
- package/dist/checks/eslint/comment-directive.d.ts +3 -0
- package/dist/checks/eslint/comment-directive.d.ts.map +1 -0
- package/dist/checks/eslint/comment-directive.js +39 -0
- package/dist/checks/eslint/comment-directive.js.map +1 -0
- package/dist/checks/eslint/convert-message.d.ts +4 -0
- package/dist/checks/eslint/convert-message.d.ts.map +1 -0
- package/dist/checks/eslint/convert-message.js +67 -0
- package/dist/checks/eslint/convert-message.js.map +1 -0
- package/dist/checks/eslint/freeze-rule-settings.d.ts +4 -0
- package/dist/checks/eslint/freeze-rule-settings.d.ts.map +1 -0
- package/dist/checks/eslint/freeze-rule-settings.js +19 -0
- package/dist/checks/eslint/freeze-rule-settings.js.map +1 -0
- package/dist/checks/eslint/lint-adapter.d.ts +8 -0
- package/dist/checks/eslint/lint-adapter.d.ts.map +1 -0
- package/dist/checks/eslint/lint-adapter.js +227 -0
- package/dist/checks/eslint/lint-adapter.js.map +1 -0
- package/dist/checks/eslint/load-engine.d.ts +7 -0
- package/dist/checks/eslint/load-engine.d.ts.map +1 -0
- package/dist/checks/eslint/load-engine.js +126 -0
- package/dist/checks/eslint/load-engine.js.map +1 -0
- package/dist/checks/eslint/managed-config.d.ts +27 -0
- package/dist/checks/eslint/managed-config.d.ts.map +1 -0
- package/dist/checks/eslint/managed-config.js +223 -0
- package/dist/checks/eslint/managed-config.js.map +1 -0
- package/dist/checks/eslint/parse-store.d.ts +13 -0
- package/dist/checks/eslint/parse-store.d.ts.map +1 -0
- package/dist/checks/eslint/parse-store.js +138 -0
- package/dist/checks/eslint/parse-store.js.map +1 -0
- package/dist/checks/eslint/rule-settings.d.ts +15 -0
- package/dist/checks/eslint/rule-settings.d.ts.map +1 -0
- package/dist/checks/eslint/rule-settings.js +317 -0
- package/dist/checks/eslint/rule-settings.js.map +1 -0
- package/dist/checks/events.d.ts +27 -0
- package/dist/checks/events.d.ts.map +1 -0
- package/dist/checks/events.js +2 -0
- package/dist/checks/events.js.map +1 -0
- package/dist/checks/incomplete-error.d.ts +26 -0
- package/dist/checks/incomplete-error.d.ts.map +1 -0
- package/dist/checks/incomplete-error.js +53 -0
- package/dist/checks/incomplete-error.js.map +1 -0
- package/dist/checks/incomplete-result.d.ts +17 -0
- package/dist/checks/incomplete-result.d.ts.map +1 -0
- package/dist/checks/incomplete-result.js +27 -0
- package/dist/checks/incomplete-result.js.map +1 -0
- package/dist/checks/input-contract.d.ts +10 -0
- package/dist/checks/input-contract.d.ts.map +1 -0
- package/dist/checks/input-contract.js +85 -0
- package/dist/checks/input-contract.js.map +1 -0
- package/dist/checks/metadata.d.ts +71 -0
- package/dist/checks/metadata.d.ts.map +1 -0
- package/dist/checks/metadata.js +34 -0
- package/dist/checks/metadata.js.map +1 -0
- package/dist/checks/observation-result.d.ts +4 -0
- package/dist/checks/observation-result.d.ts.map +1 -0
- package/dist/checks/observation-result.js +242 -0
- package/dist/checks/observation-result.js.map +1 -0
- package/dist/checks/policy-scheduling.d.ts +9 -0
- package/dist/checks/policy-scheduling.d.ts.map +1 -0
- package/dist/checks/policy-scheduling.js +116 -0
- package/dist/checks/policy-scheduling.js.map +1 -0
- package/dist/checks/prettier/adapter.d.ts +3 -0
- package/dist/checks/prettier/adapter.d.ts.map +1 -0
- package/dist/checks/prettier/adapter.js +174 -0
- package/dist/checks/prettier/adapter.js.map +1 -0
- package/dist/checks/prettier/fingerprint.d.ts +2 -0
- package/dist/checks/prettier/fingerprint.d.ts.map +1 -0
- package/dist/checks/prettier/fingerprint.js +7 -0
- package/dist/checks/prettier/fingerprint.js.map +1 -0
- package/dist/checks/prettier/format-diff.d.ts +9 -0
- package/dist/checks/prettier/format-diff.d.ts.map +1 -0
- package/dist/checks/prettier/format-diff.js +180 -0
- package/dist/checks/prettier/format-diff.js.map +1 -0
- package/dist/checks/prettier/settings.d.ts +43 -0
- package/dist/checks/prettier/settings.d.ts.map +1 -0
- package/dist/checks/prettier/settings.js +76 -0
- package/dist/checks/prettier/settings.js.map +1 -0
- package/dist/checks/prettier/supported-path.d.ts +19 -0
- package/dist/checks/prettier/supported-path.d.ts.map +1 -0
- package/dist/checks/prettier/supported-path.js +21 -0
- package/dist/checks/prettier/supported-path.js.map +1 -0
- package/dist/checks/project/config-boundary.d.ts +16 -0
- package/dist/checks/project/config-boundary.d.ts.map +1 -0
- package/dist/checks/project/config-boundary.js +249 -0
- package/dist/checks/project/config-boundary.js.map +1 -0
- package/dist/checks/react/accessibility-adapter.d.ts +2 -0
- package/dist/checks/react/accessibility-adapter.d.ts.map +1 -0
- package/dist/checks/react/accessibility-adapter.js +3 -0
- package/dist/checks/react/accessibility-adapter.js.map +1 -0
- package/dist/checks/react/adapter.d.ts +11 -0
- package/dist/checks/react/adapter.d.ts.map +1 -0
- package/dist/checks/react/adapter.js +181 -0
- package/dist/checks/react/adapter.js.map +1 -0
- package/dist/checks/react/config.d.ts +4 -0
- package/dist/checks/react/config.d.ts.map +1 -0
- package/dist/checks/react/config.js +31 -0
- package/dist/checks/react/config.js.map +1 -0
- package/dist/checks/react/correctness-adapter.d.ts +2 -0
- package/dist/checks/react/correctness-adapter.d.ts.map +1 -0
- package/dist/checks/react/correctness-adapter.js +3 -0
- package/dist/checks/react/correctness-adapter.js.map +1 -0
- package/dist/checks/react/rule-settings.d.ts +2 -0
- package/dist/checks/react/rule-settings.d.ts.map +1 -0
- package/dist/checks/react/rule-settings.js +2 -0
- package/dist/checks/react/rule-settings.js.map +1 -0
- package/dist/checks/react/version.d.ts +13 -0
- package/dist/checks/react/version.d.ts.map +1 -0
- package/dist/checks/react/version.js +152 -0
- package/dist/checks/react/version.js.map +1 -0
- package/dist/checks/runner/bootstrap.d.ts +2 -0
- package/dist/checks/runner/bootstrap.d.ts.map +1 -0
- package/dist/checks/runner/bootstrap.js +30 -0
- package/dist/checks/runner/bootstrap.js.map +1 -0
- package/dist/checks/runner/context.d.ts +16 -0
- package/dist/checks/runner/context.d.ts.map +1 -0
- package/dist/checks/runner/context.js +38 -0
- package/dist/checks/runner/context.js.map +1 -0
- package/dist/checks/runner/envelope.d.ts +23 -0
- package/dist/checks/runner/envelope.d.ts.map +1 -0
- package/dist/checks/runner/envelope.js +134 -0
- package/dist/checks/runner/envelope.js.map +1 -0
- package/dist/checks/runner/executor.d.ts +29 -0
- package/dist/checks/runner/executor.d.ts.map +1 -0
- package/dist/checks/runner/executor.js +322 -0
- package/dist/checks/runner/executor.js.map +1 -0
- package/dist/checks/runner/exit-status.d.ts +10 -0
- package/dist/checks/runner/exit-status.d.ts.map +1 -0
- package/dist/checks/runner/exit-status.js +14 -0
- package/dist/checks/runner/exit-status.js.map +1 -0
- package/dist/checks/runner/process-group.d.ts +7 -0
- package/dist/checks/runner/process-group.d.ts.map +1 -0
- package/dist/checks/runner/process-group.js +54 -0
- package/dist/checks/runner/process-group.js.map +1 -0
- package/dist/checks/runner/protocol.d.ts +33 -0
- package/dist/checks/runner/protocol.d.ts.map +1 -0
- package/dist/checks/runner/protocol.js +120 -0
- package/dist/checks/runner/protocol.js.map +1 -0
- package/dist/checks/runner/registry.d.ts +5 -0
- package/dist/checks/runner/registry.d.ts.map +1 -0
- package/dist/checks/runner/registry.js +39 -0
- package/dist/checks/runner/registry.js.map +1 -0
- package/dist/checks/runner/run-job.d.ts +8 -0
- package/dist/checks/runner/run-job.d.ts.map +1 -0
- package/dist/checks/runner/run-job.js +16 -0
- package/dist/checks/runner/run-job.js.map +1 -0
- package/dist/checks/runner/send-worker-reply.d.ts +4 -0
- package/dist/checks/runner/send-worker-reply.d.ts.map +1 -0
- package/dist/checks/runner/send-worker-reply.js +11 -0
- package/dist/checks/runner/send-worker-reply.js.map +1 -0
- package/dist/checks/runner/session.d.ts +8 -0
- package/dist/checks/runner/session.d.ts.map +1 -0
- package/dist/checks/runner/session.js +18 -0
- package/dist/checks/runner/session.js.map +1 -0
- package/dist/checks/runner/supervisor.d.ts +2 -0
- package/dist/checks/runner/supervisor.d.ts.map +1 -0
- package/dist/checks/runner/supervisor.js +273 -0
- package/dist/checks/runner/supervisor.js.map +1 -0
- package/dist/checks/runner/windows-job.d.ts +10 -0
- package/dist/checks/runner/windows-job.d.ts.map +1 -0
- package/dist/checks/runner/windows-job.js +104 -0
- package/dist/checks/runner/windows-job.js.map +1 -0
- package/dist/checks/runner/worker-slot.d.ts +75 -0
- package/dist/checks/runner/worker-slot.d.ts.map +1 -0
- package/dist/checks/runner/worker-slot.js +375 -0
- package/dist/checks/runner/worker-slot.js.map +1 -0
- package/dist/checks/runner/worker.d.ts +2 -0
- package/dist/checks/runner/worker.d.ts.map +1 -0
- package/dist/checks/runner/worker.js +212 -0
- package/dist/checks/runner/worker.js.map +1 -0
- package/dist/checks/sanitize-result.d.ts +73 -0
- package/dist/checks/sanitize-result.d.ts.map +1 -0
- package/dist/checks/sanitize-result.js +281 -0
- package/dist/checks/sanitize-result.js.map +1 -0
- package/dist/checks/sanitize-target.d.ts +8 -0
- package/dist/checks/sanitize-target.d.ts.map +1 -0
- package/dist/checks/sanitize-target.js +26 -0
- package/dist/checks/sanitize-target.js.map +1 -0
- package/dist/checks/secrets/adapter.d.ts +9 -0
- package/dist/checks/secrets/adapter.d.ts.map +1 -0
- package/dist/checks/secrets/adapter.js +86 -0
- package/dist/checks/secrets/adapter.js.map +1 -0
- package/dist/checks/secrets/config.d.ts +3 -0
- package/dist/checks/secrets/config.d.ts.map +1 -0
- package/dist/checks/secrets/config.js +13 -0
- package/dist/checks/secrets/config.js.map +1 -0
- package/dist/checks/secrets/content.d.ts +25 -0
- package/dist/checks/secrets/content.d.ts.map +1 -0
- package/dist/checks/secrets/content.js +126 -0
- package/dist/checks/secrets/content.js.map +1 -0
- package/dist/checks/secrets/normalize.d.ts +11 -0
- package/dist/checks/secrets/normalize.d.ts.map +1 -0
- package/dist/checks/secrets/normalize.js +61 -0
- package/dist/checks/secrets/normalize.js.map +1 -0
- package/dist/checks/settle-snapshot-sides.d.ts +2 -0
- package/dist/checks/settle-snapshot-sides.d.ts.map +1 -0
- package/dist/checks/settle-snapshot-sides.js +30 -0
- package/dist/checks/settle-snapshot-sides.js.map +1 -0
- package/dist/checks/structural-security/adapter.d.ts +3 -0
- package/dist/checks/structural-security/adapter.d.ts.map +1 -0
- package/dist/checks/structural-security/adapter.js +112 -0
- package/dist/checks/structural-security/adapter.js.map +1 -0
- package/dist/checks/structural-security/fingerprint.d.ts +3 -0
- package/dist/checks/structural-security/fingerprint.d.ts.map +1 -0
- package/dist/checks/structural-security/fingerprint.js +13 -0
- package/dist/checks/structural-security/fingerprint.js.map +1 -0
- package/dist/checks/structural-security/rules.d.ts +11 -0
- package/dist/checks/structural-security/rules.d.ts.map +1 -0
- package/dist/checks/structural-security/rules.js +377 -0
- package/dist/checks/structural-security/rules.js.map +1 -0
- package/dist/checks/typescript/adapter.d.ts +11 -0
- package/dist/checks/typescript/adapter.d.ts.map +1 -0
- package/dist/checks/typescript/adapter.js +71 -0
- package/dist/checks/typescript/adapter.js.map +1 -0
- package/dist/checks/typescript/compiler-host.d.ts +20 -0
- package/dist/checks/typescript/compiler-host.d.ts.map +1 -0
- package/dist/checks/typescript/compiler-host.js +295 -0
- package/dist/checks/typescript/compiler-host.js.map +1 -0
- package/dist/checks/typescript/config.d.ts +10 -0
- package/dist/checks/typescript/config.d.ts.map +1 -0
- package/dist/checks/typescript/config.js +297 -0
- package/dist/checks/typescript/config.js.map +1 -0
- package/dist/checks/typescript/convert-diagnostic.d.ts +4 -0
- package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -0
- package/dist/checks/typescript/convert-diagnostic.js +79 -0
- package/dist/checks/typescript/convert-diagnostic.js.map +1 -0
- package/dist/checks/typescript/reuse-inputs.d.ts +7 -0
- package/dist/checks/typescript/reuse-inputs.d.ts.map +1 -0
- package/dist/checks/typescript/reuse-inputs.js +31 -0
- package/dist/checks/typescript/reuse-inputs.js.map +1 -0
- package/dist/checks/vulnerabilities/adapter.d.ts +10 -0
- package/dist/checks/vulnerabilities/adapter.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/adapter.js +97 -0
- package/dist/checks/vulnerabilities/adapter.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/errors.d.ts +8 -0
- package/dist/checks/vulnerabilities/inventory/errors.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/errors.js +18 -0
- package/dist/checks/vulnerabilities/inventory/errors.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/limits.d.ts +9 -0
- package/dist/checks/vulnerabilities/inventory/limits.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/limits.js +9 -0
- package/dist/checks/vulnerabilities/inventory/limits.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/normalize.d.ts +7 -0
- package/dist/checks/vulnerabilities/inventory/normalize.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/normalize.js +89 -0
- package/dist/checks/vulnerabilities/inventory/normalize.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-bun.d.ts +3 -0
- package/dist/checks/vulnerabilities/inventory/parse-bun.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-bun.js +70 -0
- package/dist/checks/vulnerabilities/inventory/parse-bun.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-lockfile.d.ts +4 -0
- package/dist/checks/vulnerabilities/inventory/parse-lockfile.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-lockfile.js +55 -0
- package/dist/checks/vulnerabilities/inventory/parse-lockfile.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-npm.d.ts +3 -0
- package/dist/checks/vulnerabilities/inventory/parse-npm.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-npm.js +216 -0
- package/dist/checks/vulnerabilities/inventory/parse-npm.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-pnpm.d.ts +3 -0
- package/dist/checks/vulnerabilities/inventory/parse-pnpm.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-pnpm.js +133 -0
- package/dist/checks/vulnerabilities/inventory/parse-pnpm.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-yarn.d.ts +3 -0
- package/dist/checks/vulnerabilities/inventory/parse-yarn.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/parse-yarn.js +125 -0
- package/dist/checks/vulnerabilities/inventory/parse-yarn.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/source-position.d.ts +5 -0
- package/dist/checks/vulnerabilities/inventory/source-position.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/source-position.js +22 -0
- package/dist/checks/vulnerabilities/inventory/source-position.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/types.d.ts +11 -0
- package/dist/checks/vulnerabilities/inventory/types.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/types.js +2 -0
- package/dist/checks/vulnerabilities/inventory/types.js.map +1 -0
- package/dist/checks/vulnerabilities/inventory/validate-structure.d.ts +2 -0
- package/dist/checks/vulnerabilities/inventory/validate-structure.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/inventory/validate-structure.js +34 -0
- package/dist/checks/vulnerabilities/inventory/validate-structure.js.map +1 -0
- package/dist/checks/vulnerabilities/normalize.d.ts +5 -0
- package/dist/checks/vulnerabilities/normalize.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/normalize.js +59 -0
- package/dist/checks/vulnerabilities/normalize.js.map +1 -0
- package/dist/checks/vulnerabilities/osv/client.d.ts +15 -0
- package/dist/checks/vulnerabilities/osv/client.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/osv/client.js +229 -0
- package/dist/checks/vulnerabilities/osv/client.js.map +1 -0
- package/dist/checks/vulnerabilities/osv/errors.d.ts +11 -0
- package/dist/checks/vulnerabilities/osv/errors.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/osv/errors.js +19 -0
- package/dist/checks/vulnerabilities/osv/errors.js.map +1 -0
- package/dist/checks/vulnerabilities/osv/read-response.d.ts +3 -0
- package/dist/checks/vulnerabilities/osv/read-response.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/osv/read-response.js +50 -0
- package/dist/checks/vulnerabilities/osv/read-response.js.map +1 -0
- package/dist/checks/vulnerabilities/osv/schemas.d.ts +41 -0
- package/dist/checks/vulnerabilities/osv/schemas.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/osv/schemas.js +50 -0
- package/dist/checks/vulnerabilities/osv/schemas.js.map +1 -0
- package/dist/checks/vulnerabilities/osv/types.d.ts +40 -0
- package/dist/checks/vulnerabilities/osv/types.d.ts.map +1 -0
- package/dist/checks/vulnerabilities/osv/types.js +2 -0
- package/dist/checks/vulnerabilities/osv/types.js.map +1 -0
- package/dist/cli.d.ts +14 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +289 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/checks.d.ts +32 -0
- package/dist/commands/checks.d.ts.map +1 -0
- package/dist/commands/checks.js +351 -0
- package/dist/commands/checks.js.map +1 -0
- package/dist/commands/diagnostics.d.ts +25 -0
- package/dist/commands/diagnostics.d.ts.map +1 -0
- package/dist/commands/diagnostics.js +82 -0
- package/dist/commands/diagnostics.js.map +1 -0
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +84 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/executor.d.ts +4 -0
- package/dist/commands/executor.d.ts.map +1 -0
- package/dist/commands/executor.js +42 -0
- package/dist/commands/executor.js.map +1 -0
- package/dist/commands/fix.d.ts +51 -0
- package/dist/commands/fix.d.ts.map +1 -0
- package/dist/commands/fix.js +462 -0
- package/dist/commands/fix.js.map +1 -0
- package/dist/commands/init.d.ts +40 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +184 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/scan.d.ts +55 -0
- package/dist/commands/scan.d.ts.map +1 -0
- package/dist/commands/scan.js +270 -0
- package/dist/commands/scan.js.map +1 -0
- package/dist/commands/service.d.ts +6 -0
- package/dist/commands/service.d.ts.map +1 -0
- package/dist/commands/service.js +20 -0
- package/dist/commands/service.js.map +1 -0
- package/dist/config/file-policy.d.ts +10 -0
- package/dist/config/file-policy.d.ts.map +1 -0
- package/dist/config/file-policy.js +72 -0
- package/dist/config/file-policy.js.map +1 -0
- package/dist/config/json-schema.d.ts +4 -0
- package/dist/config/json-schema.d.ts.map +1 -0
- package/dist/config/json-schema.js +129 -0
- package/dist/config/json-schema.js.map +1 -0
- package/dist/config/load-config.d.ts +17 -0
- package/dist/config/load-config.d.ts.map +1 -0
- package/dist/config/load-config.js +406 -0
- package/dist/config/load-config.js.map +1 -0
- package/dist/config/profiles.d.ts +3 -0
- package/dist/config/profiles.d.ts.map +1 -0
- package/dist/config/profiles.js +317 -0
- package/dist/config/profiles.js.map +1 -0
- package/dist/config/schema.d.ts +944 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +364 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/settings-definition.d.ts +25 -0
- package/dist/config/settings-definition.d.ts.map +1 -0
- package/dist/config/settings-definition.js +2 -0
- package/dist/config/settings-definition.js.map +1 -0
- package/dist/config/settings-registry.d.ts +19 -0
- package/dist/config/settings-registry.d.ts.map +1 -0
- package/dist/config/settings-registry.js +161 -0
- package/dist/config/settings-registry.js.map +1 -0
- package/dist/config/target-policy.d.ts +8 -0
- package/dist/config/target-policy.d.ts.map +1 -0
- package/dist/config/target-policy.js +58 -0
- package/dist/config/target-policy.js.map +1 -0
- package/dist/core/compare.d.ts +3 -0
- package/dist/core/compare.d.ts.map +1 -0
- package/dist/core/compare.js +5 -0
- package/dist/core/compare.js.map +1 -0
- package/dist/core/display-text.d.ts +13 -0
- package/dist/core/display-text.d.ts.map +1 -0
- package/dist/core/display-text.js +24 -0
- package/dist/core/display-text.js.map +1 -0
- package/dist/core/package-version.d.ts +2 -0
- package/dist/core/package-version.d.ts.map +1 -0
- package/dist/core/package-version.js +14 -0
- package/dist/core/package-version.js.map +1 -0
- package/dist/core/summarize.d.ts +4 -0
- package/dist/core/summarize.d.ts.map +1 -0
- package/dist/core/summarize.js +28 -0
- package/dist/core/summarize.js.map +1 -0
- package/dist/core/types.d.ts +128 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.js.map +1 -0
- package/dist/doctor/diagnostics.d.ts +27 -0
- package/dist/doctor/diagnostics.d.ts.map +1 -0
- package/dist/doctor/diagnostics.js +379 -0
- package/dist/doctor/diagnostics.js.map +1 -0
- package/dist/fixes/apply-plan.d.ts +14 -0
- package/dist/fixes/apply-plan.d.ts.map +1 -0
- package/dist/fixes/apply-plan.js +245 -0
- package/dist/fixes/apply-plan.js.map +1 -0
- package/dist/fixes/availability.d.ts +3 -0
- package/dist/fixes/availability.d.ts.map +1 -0
- package/dist/fixes/availability.js +4 -0
- package/dist/fixes/availability.js.map +1 -0
- package/dist/fixes/build-plan.d.ts +40 -0
- package/dist/fixes/build-plan.d.ts.map +1 -0
- package/dist/fixes/build-plan.js +589 -0
- package/dist/fixes/build-plan.js.map +1 -0
- package/dist/fixes/eslint-provider.d.ts +16 -0
- package/dist/fixes/eslint-provider.d.ts.map +1 -0
- package/dist/fixes/eslint-provider.js +153 -0
- package/dist/fixes/eslint-provider.js.map +1 -0
- package/dist/fixes/exact-edits.d.ts +5 -0
- package/dist/fixes/exact-edits.d.ts.map +1 -0
- package/dist/fixes/exact-edits.js +69 -0
- package/dist/fixes/exact-edits.js.map +1 -0
- package/dist/fixes/prettier-provider.d.ts +18 -0
- package/dist/fixes/prettier-provider.d.ts.map +1 -0
- package/dist/fixes/prettier-provider.js +74 -0
- package/dist/fixes/prettier-provider.js.map +1 -0
- package/dist/fixes/result-presentation.d.ts +9 -0
- package/dist/fixes/result-presentation.d.ts.map +1 -0
- package/dist/fixes/result-presentation.js +20 -0
- package/dist/fixes/result-presentation.js.map +1 -0
- package/dist/fixes/sanitize.d.ts +11 -0
- package/dist/fixes/sanitize.d.ts.map +1 -0
- package/dist/fixes/sanitize.js +217 -0
- package/dist/fixes/sanitize.js.map +1 -0
- package/dist/fixes/types.d.ts +123 -0
- package/dist/fixes/types.d.ts.map +1 -0
- package/dist/fixes/types.js +8 -0
- package/dist/fixes/types.js.map +1 -0
- package/dist/fixes/write-working-file.d.ts +26 -0
- package/dist/fixes/write-working-file.d.ts.map +1 -0
- package/dist/fixes/write-working-file.js +221 -0
- package/dist/fixes/write-working-file.js.map +1 -0
- package/dist/git/base-comparison.d.ts +13 -0
- package/dist/git/base-comparison.d.ts.map +1 -0
- package/dist/git/base-comparison.js +64 -0
- package/dist/git/base-comparison.js.map +1 -0
- package/dist/git/base-ref.d.ts +4 -0
- package/dist/git/base-ref.d.ts.map +1 -0
- package/dist/git/base-ref.js +21 -0
- package/dist/git/base-ref.js.map +1 -0
- package/dist/git/batch-object-stream.d.ts +8 -0
- package/dist/git/batch-object-stream.d.ts.map +1 -0
- package/dist/git/batch-object-stream.js +111 -0
- package/dist/git/batch-object-stream.js.map +1 -0
- package/dist/git/change-set.d.ts +25 -0
- package/dist/git/change-set.d.ts.map +1 -0
- package/dist/git/change-set.js +346 -0
- package/dist/git/change-set.js.map +1 -0
- package/dist/git/client.d.ts +39 -0
- package/dist/git/client.d.ts.map +1 -0
- package/dist/git/client.js +384 -0
- package/dist/git/client.js.map +1 -0
- package/dist/git/errors.d.ts +7 -0
- package/dist/git/errors.d.ts.map +1 -0
- package/dist/git/errors.js +11 -0
- package/dist/git/errors.js.map +1 -0
- package/dist/git/snapshot-path.d.ts +14 -0
- package/dist/git/snapshot-path.d.ts.map +1 -0
- package/dist/git/snapshot-path.js +59 -0
- package/dist/git/snapshot-path.js.map +1 -0
- package/dist/git/snapshot.d.ts +28 -0
- package/dist/git/snapshot.d.ts.map +1 -0
- package/dist/git/snapshot.js +492 -0
- package/dist/git/snapshot.js.map +1 -0
- package/dist/hooks/detect.d.ts +8 -0
- package/dist/hooks/detect.d.ts.map +1 -0
- package/dist/hooks/detect.js +208 -0
- package/dist/hooks/detect.js.map +1 -0
- package/dist/hooks/husky.d.ts +3 -0
- package/dist/hooks/husky.d.ts.map +1 -0
- package/dist/hooks/husky.js +23 -0
- package/dist/hooks/husky.js.map +1 -0
- package/dist/hooks/lefthook.d.ts +3 -0
- package/dist/hooks/lefthook.d.ts.map +1 -0
- package/dist/hooks/lefthook.js +27 -0
- package/dist/hooks/lefthook.js.map +1 -0
- package/dist/hooks/raw-git.d.ts +2 -0
- package/dist/hooks/raw-git.d.ts.map +1 -0
- package/dist/hooks/raw-git.js +5 -0
- package/dist/hooks/raw-git.js.map +1 -0
- package/dist/hooks/simple-git-hooks.d.ts +3 -0
- package/dist/hooks/simple-git-hooks.d.ts.map +1 -0
- package/dist/hooks/simple-git-hooks.js +33 -0
- package/dist/hooks/simple-git-hooks.js.map +1 -0
- package/dist/hooks/state.d.ts +2 -0
- package/dist/hooks/state.d.ts.map +1 -0
- package/dist/hooks/state.js +10 -0
- package/dist/hooks/state.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/init/recommend.d.ts +7 -0
- package/dist/init/recommend.d.ts.map +1 -0
- package/dist/init/recommend.js +274 -0
- package/dist/init/recommend.js.map +1 -0
- package/dist/init/types.d.ts +60 -0
- package/dist/init/types.d.ts.map +1 -0
- package/dist/init/types.js +2 -0
- package/dist/init/types.js.map +1 -0
- package/dist/init/write-config.d.ts +3 -0
- package/dist/init/write-config.d.ts.map +1 -0
- package/dist/init/write-config.js +195 -0
- package/dist/init/write-config.js.map +1 -0
- package/dist/inspection/inspect-repository.d.ts +7 -0
- package/dist/inspection/inspect-repository.d.ts.map +1 -0
- package/dist/inspection/inspect-repository.js +212 -0
- package/dist/inspection/inspect-repository.js.map +1 -0
- package/dist/inspection/read-json.d.ts +37 -0
- package/dist/inspection/read-json.d.ts.map +1 -0
- package/dist/inspection/read-json.js +345 -0
- package/dist/inspection/read-json.js.map +1 -0
- package/dist/inspection/snapshot-registry.d.ts +24 -0
- package/dist/inspection/snapshot-registry.d.ts.map +1 -0
- package/dist/inspection/snapshot-registry.js +174 -0
- package/dist/inspection/snapshot-registry.js.map +1 -0
- package/dist/inspection/source-capture.d.ts +42 -0
- package/dist/inspection/source-capture.d.ts.map +1 -0
- package/dist/inspection/source-capture.js +336 -0
- package/dist/inspection/source-capture.js.map +1 -0
- package/dist/inspection/types.d.ts +31 -0
- package/dist/inspection/types.d.ts.map +1 -0
- package/dist/inspection/types.js +9 -0
- package/dist/inspection/types.js.map +1 -0
- package/dist/inspection/workspaces.d.ts +22 -0
- package/dist/inspection/workspaces.d.ts.map +1 -0
- package/dist/inspection/workspaces.js +209 -0
- package/dist/inspection/workspaces.js.map +1 -0
- package/dist/policy/evaluate.d.ts +13 -0
- package/dist/policy/evaluate.d.ts.map +1 -0
- package/dist/policy/evaluate.js +71 -0
- package/dist/policy/evaluate.js.map +1 -0
- package/dist/renderers/incomplete.d.ts +4 -0
- package/dist/renderers/incomplete.d.ts.map +1 -0
- package/dist/renderers/incomplete.js +72 -0
- package/dist/renderers/incomplete.js.map +1 -0
- package/dist/renderers/json.d.ts +3 -0
- package/dist/renderers/json.d.ts.map +1 -0
- package/dist/renderers/json.js +126 -0
- package/dist/renderers/json.js.map +1 -0
- package/dist/renderers/sarif.d.ts +3 -0
- package/dist/renderers/sarif.d.ts.map +1 -0
- package/dist/renderers/sarif.js +222 -0
- package/dist/renderers/sarif.js.map +1 -0
- package/dist/renderers/terminal-cells.d.ts +6 -0
- package/dist/renderers/terminal-cells.d.ts.map +1 -0
- package/dist/renderers/terminal-cells.js +110 -0
- package/dist/renderers/terminal-cells.js.map +1 -0
- package/dist/renderers/terminal-style.d.ts +4 -0
- package/dist/renderers/terminal-style.d.ts.map +1 -0
- package/dist/renderers/terminal-style.js +21 -0
- package/dist/renderers/terminal-style.js.map +1 -0
- package/dist/renderers/text.d.ts +10 -0
- package/dist/renderers/text.d.ts.map +1 -0
- package/dist/renderers/text.js +379 -0
- package/dist/renderers/text.js.map +1 -0
- package/dist/reporting/agent-guidance.d.ts +11 -0
- package/dist/reporting/agent-guidance.d.ts.map +1 -0
- package/dist/reporting/agent-guidance.js +17 -0
- package/dist/reporting/agent-guidance.js.map +1 -0
- package/dist/reporting/check-label.d.ts +3 -0
- package/dist/reporting/check-label.d.ts.map +1 -0
- package/dist/reporting/check-label.js +38 -0
- package/dist/reporting/check-label.js.map +1 -0
- package/dist/reporting/next-steps.d.ts +13 -0
- package/dist/reporting/next-steps.d.ts.map +1 -0
- package/dist/reporting/next-steps.js +47 -0
- package/dist/reporting/next-steps.js.map +1 -0
- package/dist/reporting/presentation.d.ts +23 -0
- package/dist/reporting/presentation.d.ts.map +1 -0
- package/dist/reporting/presentation.js +120 -0
- package/dist/reporting/presentation.js.map +1 -0
- package/dist/reporting/report-age.d.ts +3 -0
- package/dist/reporting/report-age.d.ts.map +1 -0
- package/dist/reporting/report-age.js +31 -0
- package/dist/reporting/report-age.js.map +1 -0
- package/dist/reporting/report-callouts.d.ts +15 -0
- package/dist/reporting/report-callouts.d.ts.map +1 -0
- package/dist/reporting/report-callouts.js +47 -0
- package/dist/reporting/report-callouts.js.map +1 -0
- package/dist/reporting/report-path.d.ts +3 -0
- package/dist/reporting/report-path.d.ts.map +1 -0
- package/dist/reporting/report-path.js +8 -0
- package/dist/reporting/report-path.js.map +1 -0
- package/dist/reporting/result-sections.d.ts +14 -0
- package/dist/reporting/result-sections.d.ts.map +1 -0
- package/dist/reporting/result-sections.js +27 -0
- package/dist/reporting/result-sections.js.map +1 -0
- package/dist/reporting/source-identity.d.ts +4 -0
- package/dist/reporting/source-identity.d.ts.map +1 -0
- package/dist/reporting/source-identity.js +17 -0
- package/dist/reporting/source-identity.js.map +1 -0
- package/dist/reporting/source-line.d.ts +3 -0
- package/dist/reporting/source-line.d.ts.map +1 -0
- package/dist/reporting/source-line.js +8 -0
- package/dist/reporting/source-line.js.map +1 -0
- package/dist/reporting/temporary-reports.d.ts +31 -0
- package/dist/reporting/temporary-reports.d.ts.map +1 -0
- package/dist/reporting/temporary-reports.js +646 -0
- package/dist/reporting/temporary-reports.js.map +1 -0
- package/dist/runtime/node-support.d.ts +3 -0
- package/dist/runtime/node-support.d.ts.map +1 -0
- package/dist/runtime/node-support.js +6 -0
- package/dist/runtime/node-support.js.map +1 -0
- package/dist/scan/analysis-failure.d.ts +18 -0
- package/dist/scan/analysis-failure.d.ts.map +1 -0
- package/dist/scan/analysis-failure.js +210 -0
- package/dist/scan/analysis-failure.js.map +1 -0
- package/dist/scan/analysis-session.d.ts +90 -0
- package/dist/scan/analysis-session.d.ts.map +1 -0
- package/dist/scan/analysis-session.js +327 -0
- package/dist/scan/analysis-session.js.map +1 -0
- package/dist/scan/incomplete-report.d.ts +25 -0
- package/dist/scan/incomplete-report.d.ts.map +1 -0
- package/dist/scan/incomplete-report.js +78 -0
- package/dist/scan/incomplete-report.js.map +1 -0
- package/dist/scan/report.d.ts +37 -0
- package/dist/scan/report.d.ts.map +1 -0
- package/dist/scan/report.js +2 -0
- package/dist/scan/report.js.map +1 -0
- package/dist/scan/reporting-options.d.ts +7 -0
- package/dist/scan/reporting-options.d.ts.map +1 -0
- package/dist/scan/reporting-options.js +19 -0
- package/dist/scan/reporting-options.js.map +1 -0
- package/dist/scan/resource-policy.d.ts +13 -0
- package/dist/scan/resource-policy.d.ts.map +1 -0
- package/dist/scan/resource-policy.js +67 -0
- package/dist/scan/resource-policy.js.map +1 -0
- package/dist/scan/run-scan.d.ts +32 -0
- package/dist/scan/run-scan.d.ts.map +1 -0
- package/dist/scan/run-scan.js +130 -0
- package/dist/scan/run-scan.js.map +1 -0
- package/dist/scan/source-excerpts.d.ts +7 -0
- package/dist/scan/source-excerpts.d.ts.map +1 -0
- package/dist/scan/source-excerpts.js +225 -0
- package/dist/scan/source-excerpts.js.map +1 -0
- package/dist/scan/source-mode.d.ts +9 -0
- package/dist/scan/source-mode.d.ts.map +1 -0
- package/dist/scan/source-mode.js +20 -0
- package/dist/scan/source-mode.js.map +1 -0
- package/dist/scan/unsupported-inputs.d.ts +14 -0
- package/dist/scan/unsupported-inputs.d.ts.map +1 -0
- package/dist/scan/unsupported-inputs.js +71 -0
- package/dist/scan/unsupported-inputs.js.map +1 -0
- package/dist/service/client.d.ts +37 -0
- package/dist/service/client.d.ts.map +1 -0
- package/dist/service/client.js +656 -0
- package/dist/service/client.js.map +1 -0
- package/dist/service/entry.d.ts +2 -0
- package/dist/service/entry.d.ts.map +1 -0
- package/dist/service/entry.js +104 -0
- package/dist/service/entry.js.map +1 -0
- package/dist/service/identity-content.d.ts +8 -0
- package/dist/service/identity-content.d.ts.map +1 -0
- package/dist/service/identity-content.js +250 -0
- package/dist/service/identity-content.js.map +1 -0
- package/dist/service/identity-parallel.d.ts +3 -0
- package/dist/service/identity-parallel.d.ts.map +1 -0
- package/dist/service/identity-parallel.js +83 -0
- package/dist/service/identity-parallel.js.map +1 -0
- package/dist/service/identity-worker.d.ts +2 -0
- package/dist/service/identity-worker.d.ts.map +1 -0
- package/dist/service/identity-worker.js +32 -0
- package/dist/service/identity-worker.js.map +1 -0
- package/dist/service/identity.d.ts +17 -0
- package/dist/service/identity.d.ts.map +1 -0
- package/dist/service/identity.js +70 -0
- package/dist/service/identity.js.map +1 -0
- package/dist/service/protocol.d.ts +32 -0
- package/dist/service/protocol.d.ts.map +1 -0
- package/dist/service/protocol.js +153 -0
- package/dist/service/protocol.js.map +1 -0
- package/dist/service/server.d.ts +28 -0
- package/dist/service/server.d.ts.map +1 -0
- package/dist/service/server.js +462 -0
- package/dist/service/server.js.map +1 -0
- package/dist/service/state.d.ts +32 -0
- package/dist/service/state.d.ts.map +1 -0
- package/dist/service/state.js +270 -0
- package/dist/service/state.js.map +1 -0
- package/dist/service/transport.d.ts +16 -0
- package/dist/service/transport.d.ts.map +1 -0
- package/dist/service/transport.js +116 -0
- package/dist/service/transport.js.map +1 -0
- package/dist/service/windows-pipe.d.ts +16 -0
- package/dist/service/windows-pipe.d.ts.map +1 -0
- package/dist/service/windows-pipe.js +397 -0
- package/dist/service/windows-pipe.js.map +1 -0
- package/dist/ui/bee-grid.d.ts +19 -0
- package/dist/ui/bee-grid.d.ts.map +1 -0
- package/dist/ui/bee-grid.js +36 -0
- package/dist/ui/bee-grid.js.map +1 -0
- package/dist/ui/branded-command-frame.d.ts +18 -0
- package/dist/ui/branded-command-frame.d.ts.map +1 -0
- package/dist/ui/branded-command-frame.js +46 -0
- package/dist/ui/branded-command-frame.js.map +1 -0
- package/dist/ui/checks-dashboard.d.ts +11 -0
- package/dist/ui/checks-dashboard.d.ts.map +1 -0
- package/dist/ui/checks-dashboard.js +39 -0
- package/dist/ui/checks-dashboard.js.map +1 -0
- package/dist/ui/compact-pixels.d.ts +7 -0
- package/dist/ui/compact-pixels.d.ts.map +1 -0
- package/dist/ui/compact-pixels.js +21 -0
- package/dist/ui/compact-pixels.js.map +1 -0
- package/dist/ui/doctor-dashboard.d.ts +11 -0
- package/dist/ui/doctor-dashboard.d.ts.map +1 -0
- package/dist/ui/doctor-dashboard.js +46 -0
- package/dist/ui/doctor-dashboard.js.map +1 -0
- package/dist/ui/findings-list.d.ts +8 -0
- package/dist/ui/findings-list.d.ts.map +1 -0
- package/dist/ui/findings-list.js +39 -0
- package/dist/ui/findings-list.js.map +1 -0
- package/dist/ui/fix-app.d.ts +34 -0
- package/dist/ui/fix-app.d.ts.map +1 -0
- package/dist/ui/fix-app.js +232 -0
- package/dist/ui/fix-app.js.map +1 -0
- package/dist/ui/fix-result-dashboard.d.ts +12 -0
- package/dist/ui/fix-result-dashboard.d.ts.map +1 -0
- package/dist/ui/fix-result-dashboard.js +47 -0
- package/dist/ui/fix-result-dashboard.js.map +1 -0
- package/dist/ui/incomplete-list.d.ts +7 -0
- package/dist/ui/incomplete-list.d.ts.map +1 -0
- package/dist/ui/incomplete-list.js +25 -0
- package/dist/ui/incomplete-list.js.map +1 -0
- package/dist/ui/init-app.d.ts +24 -0
- package/dist/ui/init-app.d.ts.map +1 -0
- package/dist/ui/init-app.js +294 -0
- package/dist/ui/init-app.js.map +1 -0
- package/dist/ui/live-dashboard.d.ts +28 -0
- package/dist/ui/live-dashboard.d.ts.map +1 -0
- package/dist/ui/live-dashboard.js +268 -0
- package/dist/ui/live-dashboard.js.map +1 -0
- package/dist/ui/outcome-strip.d.ts +7 -0
- package/dist/ui/outcome-strip.d.ts.map +1 -0
- package/dist/ui/outcome-strip.js +67 -0
- package/dist/ui/outcome-strip.js.map +1 -0
- package/dist/ui/pixel-bee.d.ts +11 -0
- package/dist/ui/pixel-bee.d.ts.map +1 -0
- package/dist/ui/pixel-bee.js +67 -0
- package/dist/ui/pixel-bee.js.map +1 -0
- package/dist/ui/pixel-clock.d.ts +10 -0
- package/dist/ui/pixel-clock.d.ts.map +1 -0
- package/dist/ui/pixel-clock.js +65 -0
- package/dist/ui/pixel-clock.js.map +1 -0
- package/dist/ui/pixel-wordmark.d.ts +11 -0
- package/dist/ui/pixel-wordmark.d.ts.map +1 -0
- package/dist/ui/pixel-wordmark.js +47 -0
- package/dist/ui/pixel-wordmark.js.map +1 -0
- package/dist/ui/render-ink.d.ts +12 -0
- package/dist/ui/render-ink.d.ts.map +1 -0
- package/dist/ui/render-ink.js +119 -0
- package/dist/ui/render-ink.js.map +1 -0
- package/dist/ui/render-static.d.ts +8 -0
- package/dist/ui/render-static.d.ts.map +1 -0
- package/dist/ui/render-static.js +40 -0
- package/dist/ui/render-static.js.map +1 -0
- package/dist/ui/scan-app.d.ts +17 -0
- package/dist/ui/scan-app.d.ts.map +1 -0
- package/dist/ui/scan-app.js +65 -0
- package/dist/ui/scan-app.js.map +1 -0
- package/dist/ui/scan-result-dashboard.d.ts +9 -0
- package/dist/ui/scan-result-dashboard.d.ts.map +1 -0
- package/dist/ui/scan-result-dashboard.js +109 -0
- package/dist/ui/scan-result-dashboard.js.map +1 -0
- package/dist/ui/terminal-mouse.d.ts +11 -0
- package/dist/ui/terminal-mouse.d.ts.map +1 -0
- package/dist/ui/terminal-mouse.js +18 -0
- package/dist/ui/terminal-mouse.js.map +1 -0
- package/dist/ui/terminal-viewport-model.d.ts +5 -0
- package/dist/ui/terminal-viewport-model.d.ts.map +1 -0
- package/dist/ui/terminal-viewport-model.js +32 -0
- package/dist/ui/terminal-viewport-model.js.map +1 -0
- package/dist/ui/terminal-viewport.d.ts +18 -0
- package/dist/ui/terminal-viewport.d.ts.map +1 -0
- package/dist/ui/terminal-viewport.js +80 -0
- package/dist/ui/terminal-viewport.js.map +1 -0
- package/dist/ui/theme.d.ts +18 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +18 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/updates/cache.d.ts +12 -0
- package/dist/updates/cache.d.ts.map +1 -0
- package/dist/updates/cache.js +71 -0
- package/dist/updates/cache.js.map +1 -0
- package/dist/updates/metadata.d.ts +15 -0
- package/dist/updates/metadata.d.ts.map +1 -0
- package/dist/updates/metadata.js +78 -0
- package/dist/updates/metadata.js.map +1 -0
- package/dist/updates/notification.d.ts +19 -0
- package/dist/updates/notification.d.ts.map +1 -0
- package/dist/updates/notification.js +95 -0
- package/dist/updates/notification.js.map +1 -0
- package/dist/updates/worker.d.ts +5 -0
- package/dist/updates/worker.d.ts.map +1 -0
- package/dist/updates/worker.js +54 -0
- package/dist/updates/worker.js.map +1 -0
- package/docs/checks.md +185 -0
- package/docs/cli-reference.md +324 -0
- package/docs/commercial-licensing.md +26 -0
- package/docs/dependency-license-obligations.md +16 -0
- package/docs/managed-fixes.md +203 -0
- package/docs/privacy.md +90 -0
- package/docs/react-analysis.md +39 -0
- package/docs/readability-complexity.md +35 -0
- package/docs/reporting.md +105 -0
- package/docs/structural-security-coverage.md +32 -0
- package/docs/support.md +137 -0
- package/licenses/overrides/ast-grep-platform-0.45.1-LICENSE +21 -0
- package/licenses/overrides/emnapi-1.11.2-LICENSE +21 -0
- package/licenses/overrides/esrecurse-4.3.0-LICENSE +22 -0
- package/licenses/overrides/humanfs-types-0.15.0-LICENSE +201 -0
- package/licenses/overrides/imurmurhash-0.1.4-LICENSE +20 -0
- package/licenses/overrides/jscpd-5.0.15-LICENSE +21 -0
- package/licenses/overrides/keyv-4.5.4-LICENSE +22 -0
- package/licenses/overrides/koffi-platform-3.2.1-LICENSE +22 -0
- package/licenses/overrides/language-subtag-registry-0.3.23-LICENSE +125 -0
- package/licenses/overrides/language-tags-1.0.9-LICENSE +21 -0
- package/licenses/overrides/napi-rs-wasm-runtime-1.1.6-LICENSE +43 -0
- package/licenses/overrides/natural-compare-1.4.0-LICENSE +21 -0
- package/licenses/overrides/oxc-parser-platform-0.143.0-LICENSE +22 -0
- package/licenses/overrides/tslib-2.8.1-LICENSE +12 -0
- package/licenses/overrides/wasm-util-0.10.3-LICENSE +21 -0
- package/licenses/overrides/yarnpkg-lockfile-1.1.0-LICENSE +26 -0
- package/licenses/overrides/yoga-layout-3.2.1-LICENSE +21 -0
- package/licenses/production-inventory.json +8533 -0
- package/licenses/reviewed-obligations.json +23 -0
- package/licenses/reviewed-overrides.json +614 -0
- package/package.json +133 -0
- package/schema/zedbee.schema.json +4828 -0
|
@@ -0,0 +1,944 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { AgentGuidance } from "../reporting/agent-guidance.js";
|
|
3
|
+
import { type FormattingSettings } from "../checks/prettier/settings.js";
|
|
4
|
+
import { type DuplicationSettings } from "../checks/duplication/settings.js";
|
|
5
|
+
import type { EslintRuleConfiguration, ResolvedConfigurationOrigins } from "./settings-definition.js";
|
|
6
|
+
export declare const CHECK_IDS: readonly ["formatting", "lint", "types", "cyclomaticComplexity", "readabilityComplexity", "structuralSecurity", "secrets", "duplication", "dependencyArchitecture", "deadCode", "reactCorrectness", "reactAccessibility", "vulnerabilities"];
|
|
7
|
+
export declare const PROFILE_IDS: readonly ["fast", "recommended", "thorough"];
|
|
8
|
+
export type CheckId = (typeof CHECK_IDS)[number];
|
|
9
|
+
export type ProfileId = (typeof PROFILE_IDS)[number];
|
|
10
|
+
export type CheckSeverity = "off" | "warn" | "error";
|
|
11
|
+
export type CheckTiming = "relevant" | "always";
|
|
12
|
+
export type SourceExcerptPolicy = "never" | "interactive" | "always";
|
|
13
|
+
export type TerminalFindingLimit = number | "all";
|
|
14
|
+
export interface ResolvedReportingPolicy {
|
|
15
|
+
readonly sourceExcerpts: SourceExcerptPolicy;
|
|
16
|
+
readonly terminalFindingLimit: TerminalFindingLimit;
|
|
17
|
+
readonly temporaryReportMaxAge: string;
|
|
18
|
+
readonly agentGuidance: AgentGuidance;
|
|
19
|
+
}
|
|
20
|
+
export interface ResolvedResourcePolicy {
|
|
21
|
+
readonly gitSoftTimeout?: string;
|
|
22
|
+
readonly gitHardTimeout?: string;
|
|
23
|
+
readonly gitOutputLimitBytes?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface ResolvedCheckPolicyBase {
|
|
26
|
+
severity: CheckSeverity;
|
|
27
|
+
when: CheckTiming;
|
|
28
|
+
}
|
|
29
|
+
export interface ResolvedFormattingPolicy extends ResolvedCheckPolicyBase {
|
|
30
|
+
settings: Readonly<FormattingSettings>;
|
|
31
|
+
}
|
|
32
|
+
export interface ResolvedDuplicationPolicy extends ResolvedCheckPolicyBase {
|
|
33
|
+
threshold: number;
|
|
34
|
+
settings: Readonly<DuplicationSettings>;
|
|
35
|
+
}
|
|
36
|
+
export interface ResolvedRulePolicy extends ResolvedCheckPolicyBase {
|
|
37
|
+
rules: Readonly<Record<string, EslintRuleConfiguration>>;
|
|
38
|
+
}
|
|
39
|
+
export interface ResolvedLintPolicy extends ResolvedRulePolicy {
|
|
40
|
+
typeInformation: "required" | "when-available";
|
|
41
|
+
}
|
|
42
|
+
export interface ResolvedComplexityPolicy extends ResolvedCheckPolicyBase {
|
|
43
|
+
max: number;
|
|
44
|
+
blockWorsening: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface ResolvedCheckPolicies {
|
|
47
|
+
readonly formatting: ResolvedFormattingPolicy;
|
|
48
|
+
readonly lint: ResolvedLintPolicy;
|
|
49
|
+
readonly types: ResolvedCheckPolicyBase;
|
|
50
|
+
readonly cyclomaticComplexity: ResolvedComplexityPolicy;
|
|
51
|
+
readonly readabilityComplexity: ResolvedComplexityPolicy;
|
|
52
|
+
readonly structuralSecurity: ResolvedCheckPolicyBase;
|
|
53
|
+
readonly secrets: ResolvedCheckPolicyBase;
|
|
54
|
+
readonly duplication: ResolvedDuplicationPolicy;
|
|
55
|
+
readonly dependencyArchitecture: ResolvedCheckPolicyBase;
|
|
56
|
+
readonly deadCode: ResolvedCheckPolicyBase;
|
|
57
|
+
readonly reactCorrectness: ResolvedRulePolicy;
|
|
58
|
+
readonly reactAccessibility: ResolvedRulePolicy;
|
|
59
|
+
readonly vulnerabilities: ResolvedCheckPolicyBase & {
|
|
60
|
+
onUnavailable: "block" | "warn";
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export type ResolvedCheckPolicy = ResolvedCheckPolicies[CheckId];
|
|
64
|
+
export type ResolvedCheckPolicyPatch = Readonly<Partial<ResolvedCheckPolicyBase> & {
|
|
65
|
+
readonly max?: number;
|
|
66
|
+
readonly threshold?: number;
|
|
67
|
+
readonly blockWorsening?: boolean;
|
|
68
|
+
readonly onUnavailable?: "block" | "warn";
|
|
69
|
+
readonly settings?: Partial<FormattingSettings> | Partial<DuplicationSettings>;
|
|
70
|
+
readonly rules?: Readonly<Record<string, EslintRuleConfiguration>>;
|
|
71
|
+
readonly typeInformation?: "required" | "when-available";
|
|
72
|
+
}>;
|
|
73
|
+
export interface ResolvedPolicyOverride {
|
|
74
|
+
readonly files: readonly string[];
|
|
75
|
+
readonly checks: Readonly<Partial<Record<CheckId, ResolvedCheckPolicyPatch>>>;
|
|
76
|
+
readonly configurationOrigins: ResolvedConfigurationOrigins;
|
|
77
|
+
}
|
|
78
|
+
export interface PathExclusion {
|
|
79
|
+
readonly files: readonly string[];
|
|
80
|
+
readonly checks: readonly CheckId[];
|
|
81
|
+
readonly reason: string;
|
|
82
|
+
}
|
|
83
|
+
export interface ResolvedConfig {
|
|
84
|
+
readonly schemaVersion: 1;
|
|
85
|
+
readonly profile: ProfileId;
|
|
86
|
+
readonly checks: Readonly<ResolvedCheckPolicies>;
|
|
87
|
+
readonly overrides: readonly ResolvedPolicyOverride[];
|
|
88
|
+
readonly pathExclusions: readonly PathExclusion[];
|
|
89
|
+
readonly reporting: Readonly<ResolvedReportingPolicy>;
|
|
90
|
+
readonly resources: Readonly<ResolvedResourcePolicy>;
|
|
91
|
+
readonly configurationOrigins: ResolvedConfigurationOrigins;
|
|
92
|
+
readonly failOnIncomplete: boolean;
|
|
93
|
+
readonly configPath?: string;
|
|
94
|
+
}
|
|
95
|
+
declare const simplePolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
96
|
+
off: "off";
|
|
97
|
+
warn: "warn";
|
|
98
|
+
error: "error";
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
off: "off";
|
|
102
|
+
warn: "warn";
|
|
103
|
+
error: "error";
|
|
104
|
+
}>>;
|
|
105
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
always: "always";
|
|
107
|
+
relevant: "relevant";
|
|
108
|
+
}>>;
|
|
109
|
+
}, z.core.$strict>]>;
|
|
110
|
+
declare const lintPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
111
|
+
off: "off";
|
|
112
|
+
warn: "warn";
|
|
113
|
+
error: "error";
|
|
114
|
+
}>, z.ZodObject<{
|
|
115
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
required: "required";
|
|
117
|
+
"when-available": "when-available";
|
|
118
|
+
}>>;
|
|
119
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
120
|
+
off: "off";
|
|
121
|
+
warn: "warn";
|
|
122
|
+
error: "error";
|
|
123
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
124
|
+
off: "off";
|
|
125
|
+
warn: "warn";
|
|
126
|
+
error: "error";
|
|
127
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
128
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
off: "off";
|
|
130
|
+
warn: "warn";
|
|
131
|
+
error: "error";
|
|
132
|
+
}>>;
|
|
133
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
always: "always";
|
|
135
|
+
relevant: "relevant";
|
|
136
|
+
}>>;
|
|
137
|
+
}, z.core.$strict>]>;
|
|
138
|
+
declare const reactCorrectnessPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
139
|
+
off: "off";
|
|
140
|
+
warn: "warn";
|
|
141
|
+
error: "error";
|
|
142
|
+
}>, z.ZodObject<{
|
|
143
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
required: "required";
|
|
145
|
+
"when-available": "when-available";
|
|
146
|
+
}>>;
|
|
147
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
148
|
+
off: "off";
|
|
149
|
+
warn: "warn";
|
|
150
|
+
error: "error";
|
|
151
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
|
+
off: "off";
|
|
153
|
+
warn: "warn";
|
|
154
|
+
error: "error";
|
|
155
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
156
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
off: "off";
|
|
158
|
+
warn: "warn";
|
|
159
|
+
error: "error";
|
|
160
|
+
}>>;
|
|
161
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
always: "always";
|
|
163
|
+
relevant: "relevant";
|
|
164
|
+
}>>;
|
|
165
|
+
}, z.core.$strict>]>;
|
|
166
|
+
declare const reactAccessibilityPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
167
|
+
off: "off";
|
|
168
|
+
warn: "warn";
|
|
169
|
+
error: "error";
|
|
170
|
+
}>, z.ZodObject<{
|
|
171
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
required: "required";
|
|
173
|
+
"when-available": "when-available";
|
|
174
|
+
}>>;
|
|
175
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
176
|
+
off: "off";
|
|
177
|
+
warn: "warn";
|
|
178
|
+
error: "error";
|
|
179
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
180
|
+
off: "off";
|
|
181
|
+
warn: "warn";
|
|
182
|
+
error: "error";
|
|
183
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
184
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
off: "off";
|
|
186
|
+
warn: "warn";
|
|
187
|
+
error: "error";
|
|
188
|
+
}>>;
|
|
189
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
190
|
+
always: "always";
|
|
191
|
+
relevant: "relevant";
|
|
192
|
+
}>>;
|
|
193
|
+
}, z.core.$strict>]>;
|
|
194
|
+
declare const formattingPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
195
|
+
off: "off";
|
|
196
|
+
warn: "warn";
|
|
197
|
+
error: "error";
|
|
198
|
+
}>, z.ZodObject<{
|
|
199
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
printWidth: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
tabWidth: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
useTabs: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
semi: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
singleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
quoteProps: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
"as-needed": "as-needed";
|
|
207
|
+
consistent: "consistent";
|
|
208
|
+
preserve: "preserve";
|
|
209
|
+
}>>;
|
|
210
|
+
jsxSingleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
trailingComma: z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
all: "all";
|
|
213
|
+
es5: "es5";
|
|
214
|
+
none: "none";
|
|
215
|
+
}>>;
|
|
216
|
+
bracketSpacing: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
bracketSameLine: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
arrowParens: z.ZodOptional<z.ZodEnum<{
|
|
219
|
+
always: "always";
|
|
220
|
+
avoid: "avoid";
|
|
221
|
+
}>>;
|
|
222
|
+
proseWrap: z.ZodOptional<z.ZodEnum<{
|
|
223
|
+
preserve: "preserve";
|
|
224
|
+
always: "always";
|
|
225
|
+
never: "never";
|
|
226
|
+
}>>;
|
|
227
|
+
endOfLine: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
lf: "lf";
|
|
229
|
+
crlf: "crlf";
|
|
230
|
+
cr: "cr";
|
|
231
|
+
auto: "auto";
|
|
232
|
+
}>>;
|
|
233
|
+
singleAttributePerLine: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
236
|
+
off: "off";
|
|
237
|
+
warn: "warn";
|
|
238
|
+
error: "error";
|
|
239
|
+
}>>;
|
|
240
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
always: "always";
|
|
242
|
+
relevant: "relevant";
|
|
243
|
+
}>>;
|
|
244
|
+
}, z.core.$strict>]>;
|
|
245
|
+
declare const cyclomaticComplexityPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
246
|
+
off: "off";
|
|
247
|
+
warn: "warn";
|
|
248
|
+
error: "error";
|
|
249
|
+
}>, z.ZodObject<{
|
|
250
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
253
|
+
off: "off";
|
|
254
|
+
warn: "warn";
|
|
255
|
+
error: "error";
|
|
256
|
+
}>>;
|
|
257
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
always: "always";
|
|
259
|
+
relevant: "relevant";
|
|
260
|
+
}>>;
|
|
261
|
+
}, z.core.$strict>]>;
|
|
262
|
+
declare const readabilityComplexityPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
263
|
+
off: "off";
|
|
264
|
+
warn: "warn";
|
|
265
|
+
error: "error";
|
|
266
|
+
}>, z.ZodObject<{
|
|
267
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
off: "off";
|
|
271
|
+
warn: "warn";
|
|
272
|
+
error: "error";
|
|
273
|
+
}>>;
|
|
274
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
always: "always";
|
|
276
|
+
relevant: "relevant";
|
|
277
|
+
}>>;
|
|
278
|
+
}, z.core.$strict>]>;
|
|
279
|
+
declare const duplicationPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
280
|
+
off: "off";
|
|
281
|
+
warn: "warn";
|
|
282
|
+
error: "error";
|
|
283
|
+
}>, z.ZodObject<{
|
|
284
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
285
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
minLines: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
minTokens: z.ZodOptional<z.ZodNumber>;
|
|
288
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
289
|
+
strict: "strict";
|
|
290
|
+
mild: "mild";
|
|
291
|
+
weak: "weak";
|
|
292
|
+
}>>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
off: "off";
|
|
296
|
+
warn: "warn";
|
|
297
|
+
error: "error";
|
|
298
|
+
}>>;
|
|
299
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
always: "always";
|
|
301
|
+
relevant: "relevant";
|
|
302
|
+
}>>;
|
|
303
|
+
}, z.core.$strict>]>;
|
|
304
|
+
declare const vulnerabilityPolicySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
305
|
+
off: "off";
|
|
306
|
+
warn: "warn";
|
|
307
|
+
error: "error";
|
|
308
|
+
}>, z.ZodObject<{
|
|
309
|
+
onUnavailable: z.ZodOptional<z.ZodEnum<{
|
|
310
|
+
warn: "warn";
|
|
311
|
+
block: "block";
|
|
312
|
+
}>>;
|
|
313
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
off: "off";
|
|
315
|
+
warn: "warn";
|
|
316
|
+
error: "error";
|
|
317
|
+
}>>;
|
|
318
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
always: "always";
|
|
320
|
+
relevant: "relevant";
|
|
321
|
+
}>>;
|
|
322
|
+
}, z.core.$strict>]>;
|
|
323
|
+
export type CheckPolicyInput = z.infer<typeof simplePolicySchema> | z.infer<typeof lintPolicySchema> | z.infer<typeof reactCorrectnessPolicySchema> | z.infer<typeof reactAccessibilityPolicySchema> | z.infer<typeof formattingPolicySchema> | z.infer<typeof cyclomaticComplexityPolicySchema> | z.infer<typeof readabilityComplexityPolicySchema> | z.infer<typeof duplicationPolicySchema> | z.infer<typeof vulnerabilityPolicySchema>;
|
|
324
|
+
export declare const configFileSchema: z.ZodObject<{
|
|
325
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
326
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
327
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
fast: "fast";
|
|
329
|
+
recommended: "recommended";
|
|
330
|
+
thorough: "thorough";
|
|
331
|
+
}>>;
|
|
332
|
+
checks: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
formatting: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
334
|
+
off: "off";
|
|
335
|
+
warn: "warn";
|
|
336
|
+
error: "error";
|
|
337
|
+
}>, z.ZodObject<{
|
|
338
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
339
|
+
printWidth: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
tabWidth: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
useTabs: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
semi: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
singleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
+
quoteProps: z.ZodOptional<z.ZodEnum<{
|
|
345
|
+
"as-needed": "as-needed";
|
|
346
|
+
consistent: "consistent";
|
|
347
|
+
preserve: "preserve";
|
|
348
|
+
}>>;
|
|
349
|
+
jsxSingleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
trailingComma: z.ZodOptional<z.ZodEnum<{
|
|
351
|
+
all: "all";
|
|
352
|
+
es5: "es5";
|
|
353
|
+
none: "none";
|
|
354
|
+
}>>;
|
|
355
|
+
bracketSpacing: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
bracketSameLine: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
arrowParens: z.ZodOptional<z.ZodEnum<{
|
|
358
|
+
always: "always";
|
|
359
|
+
avoid: "avoid";
|
|
360
|
+
}>>;
|
|
361
|
+
proseWrap: z.ZodOptional<z.ZodEnum<{
|
|
362
|
+
preserve: "preserve";
|
|
363
|
+
always: "always";
|
|
364
|
+
never: "never";
|
|
365
|
+
}>>;
|
|
366
|
+
endOfLine: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
lf: "lf";
|
|
368
|
+
crlf: "crlf";
|
|
369
|
+
cr: "cr";
|
|
370
|
+
auto: "auto";
|
|
371
|
+
}>>;
|
|
372
|
+
singleAttributePerLine: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
}, z.core.$strict>>;
|
|
374
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
375
|
+
off: "off";
|
|
376
|
+
warn: "warn";
|
|
377
|
+
error: "error";
|
|
378
|
+
}>>;
|
|
379
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
always: "always";
|
|
381
|
+
relevant: "relevant";
|
|
382
|
+
}>>;
|
|
383
|
+
}, z.core.$strict>]>>;
|
|
384
|
+
lint: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
385
|
+
off: "off";
|
|
386
|
+
warn: "warn";
|
|
387
|
+
error: "error";
|
|
388
|
+
}>, z.ZodObject<{
|
|
389
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
390
|
+
required: "required";
|
|
391
|
+
"when-available": "when-available";
|
|
392
|
+
}>>;
|
|
393
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
394
|
+
off: "off";
|
|
395
|
+
warn: "warn";
|
|
396
|
+
error: "error";
|
|
397
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
398
|
+
off: "off";
|
|
399
|
+
warn: "warn";
|
|
400
|
+
error: "error";
|
|
401
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
402
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
403
|
+
off: "off";
|
|
404
|
+
warn: "warn";
|
|
405
|
+
error: "error";
|
|
406
|
+
}>>;
|
|
407
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
always: "always";
|
|
409
|
+
relevant: "relevant";
|
|
410
|
+
}>>;
|
|
411
|
+
}, z.core.$strict>]>>;
|
|
412
|
+
types: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
413
|
+
off: "off";
|
|
414
|
+
warn: "warn";
|
|
415
|
+
error: "error";
|
|
416
|
+
}>, z.ZodObject<{
|
|
417
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
418
|
+
off: "off";
|
|
419
|
+
warn: "warn";
|
|
420
|
+
error: "error";
|
|
421
|
+
}>>;
|
|
422
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
423
|
+
always: "always";
|
|
424
|
+
relevant: "relevant";
|
|
425
|
+
}>>;
|
|
426
|
+
}, z.core.$strict>]>>;
|
|
427
|
+
cyclomaticComplexity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
428
|
+
off: "off";
|
|
429
|
+
warn: "warn";
|
|
430
|
+
error: "error";
|
|
431
|
+
}>, z.ZodObject<{
|
|
432
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
off: "off";
|
|
436
|
+
warn: "warn";
|
|
437
|
+
error: "error";
|
|
438
|
+
}>>;
|
|
439
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
always: "always";
|
|
441
|
+
relevant: "relevant";
|
|
442
|
+
}>>;
|
|
443
|
+
}, z.core.$strict>]>>;
|
|
444
|
+
readabilityComplexity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
445
|
+
off: "off";
|
|
446
|
+
warn: "warn";
|
|
447
|
+
error: "error";
|
|
448
|
+
}>, z.ZodObject<{
|
|
449
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
452
|
+
off: "off";
|
|
453
|
+
warn: "warn";
|
|
454
|
+
error: "error";
|
|
455
|
+
}>>;
|
|
456
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
always: "always";
|
|
458
|
+
relevant: "relevant";
|
|
459
|
+
}>>;
|
|
460
|
+
}, z.core.$strict>]>>;
|
|
461
|
+
structuralSecurity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
462
|
+
off: "off";
|
|
463
|
+
warn: "warn";
|
|
464
|
+
error: "error";
|
|
465
|
+
}>, z.ZodObject<{
|
|
466
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
467
|
+
off: "off";
|
|
468
|
+
warn: "warn";
|
|
469
|
+
error: "error";
|
|
470
|
+
}>>;
|
|
471
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
472
|
+
always: "always";
|
|
473
|
+
relevant: "relevant";
|
|
474
|
+
}>>;
|
|
475
|
+
}, z.core.$strict>]>>;
|
|
476
|
+
secrets: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
477
|
+
off: "off";
|
|
478
|
+
warn: "warn";
|
|
479
|
+
error: "error";
|
|
480
|
+
}>, z.ZodObject<{
|
|
481
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
482
|
+
off: "off";
|
|
483
|
+
warn: "warn";
|
|
484
|
+
error: "error";
|
|
485
|
+
}>>;
|
|
486
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
487
|
+
always: "always";
|
|
488
|
+
relevant: "relevant";
|
|
489
|
+
}>>;
|
|
490
|
+
}, z.core.$strict>]>>;
|
|
491
|
+
duplication: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
492
|
+
off: "off";
|
|
493
|
+
warn: "warn";
|
|
494
|
+
error: "error";
|
|
495
|
+
}>, z.ZodObject<{
|
|
496
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
498
|
+
minLines: z.ZodOptional<z.ZodNumber>;
|
|
499
|
+
minTokens: z.ZodOptional<z.ZodNumber>;
|
|
500
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
501
|
+
strict: "strict";
|
|
502
|
+
mild: "mild";
|
|
503
|
+
weak: "weak";
|
|
504
|
+
}>>;
|
|
505
|
+
}, z.core.$strict>>;
|
|
506
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
507
|
+
off: "off";
|
|
508
|
+
warn: "warn";
|
|
509
|
+
error: "error";
|
|
510
|
+
}>>;
|
|
511
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
512
|
+
always: "always";
|
|
513
|
+
relevant: "relevant";
|
|
514
|
+
}>>;
|
|
515
|
+
}, z.core.$strict>]>>;
|
|
516
|
+
dependencyArchitecture: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
517
|
+
off: "off";
|
|
518
|
+
warn: "warn";
|
|
519
|
+
error: "error";
|
|
520
|
+
}>, z.ZodObject<{
|
|
521
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
522
|
+
off: "off";
|
|
523
|
+
warn: "warn";
|
|
524
|
+
error: "error";
|
|
525
|
+
}>>;
|
|
526
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
527
|
+
always: "always";
|
|
528
|
+
relevant: "relevant";
|
|
529
|
+
}>>;
|
|
530
|
+
}, z.core.$strict>]>>;
|
|
531
|
+
deadCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
532
|
+
off: "off";
|
|
533
|
+
warn: "warn";
|
|
534
|
+
error: "error";
|
|
535
|
+
}>, z.ZodObject<{
|
|
536
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
537
|
+
off: "off";
|
|
538
|
+
warn: "warn";
|
|
539
|
+
error: "error";
|
|
540
|
+
}>>;
|
|
541
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
always: "always";
|
|
543
|
+
relevant: "relevant";
|
|
544
|
+
}>>;
|
|
545
|
+
}, z.core.$strict>]>>;
|
|
546
|
+
reactCorrectness: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
547
|
+
off: "off";
|
|
548
|
+
warn: "warn";
|
|
549
|
+
error: "error";
|
|
550
|
+
}>, z.ZodObject<{
|
|
551
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
552
|
+
required: "required";
|
|
553
|
+
"when-available": "when-available";
|
|
554
|
+
}>>;
|
|
555
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
556
|
+
off: "off";
|
|
557
|
+
warn: "warn";
|
|
558
|
+
error: "error";
|
|
559
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
560
|
+
off: "off";
|
|
561
|
+
warn: "warn";
|
|
562
|
+
error: "error";
|
|
563
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
564
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
565
|
+
off: "off";
|
|
566
|
+
warn: "warn";
|
|
567
|
+
error: "error";
|
|
568
|
+
}>>;
|
|
569
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
570
|
+
always: "always";
|
|
571
|
+
relevant: "relevant";
|
|
572
|
+
}>>;
|
|
573
|
+
}, z.core.$strict>]>>;
|
|
574
|
+
reactAccessibility: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
575
|
+
off: "off";
|
|
576
|
+
warn: "warn";
|
|
577
|
+
error: "error";
|
|
578
|
+
}>, z.ZodObject<{
|
|
579
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
580
|
+
required: "required";
|
|
581
|
+
"when-available": "when-available";
|
|
582
|
+
}>>;
|
|
583
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
584
|
+
off: "off";
|
|
585
|
+
warn: "warn";
|
|
586
|
+
error: "error";
|
|
587
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
588
|
+
off: "off";
|
|
589
|
+
warn: "warn";
|
|
590
|
+
error: "error";
|
|
591
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
592
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
593
|
+
off: "off";
|
|
594
|
+
warn: "warn";
|
|
595
|
+
error: "error";
|
|
596
|
+
}>>;
|
|
597
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
598
|
+
always: "always";
|
|
599
|
+
relevant: "relevant";
|
|
600
|
+
}>>;
|
|
601
|
+
}, z.core.$strict>]>>;
|
|
602
|
+
vulnerabilities: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
603
|
+
off: "off";
|
|
604
|
+
warn: "warn";
|
|
605
|
+
error: "error";
|
|
606
|
+
}>, z.ZodObject<{
|
|
607
|
+
onUnavailable: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
warn: "warn";
|
|
609
|
+
block: "block";
|
|
610
|
+
}>>;
|
|
611
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
off: "off";
|
|
613
|
+
warn: "warn";
|
|
614
|
+
error: "error";
|
|
615
|
+
}>>;
|
|
616
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
617
|
+
always: "always";
|
|
618
|
+
relevant: "relevant";
|
|
619
|
+
}>>;
|
|
620
|
+
}, z.core.$strict>]>>;
|
|
621
|
+
}, z.core.$strict>>;
|
|
622
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
623
|
+
files: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
624
|
+
checks: z.ZodObject<{
|
|
625
|
+
formatting: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
626
|
+
off: "off";
|
|
627
|
+
warn: "warn";
|
|
628
|
+
error: "error";
|
|
629
|
+
}>, z.ZodObject<{
|
|
630
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
631
|
+
printWidth: z.ZodOptional<z.ZodNumber>;
|
|
632
|
+
tabWidth: z.ZodOptional<z.ZodNumber>;
|
|
633
|
+
useTabs: z.ZodOptional<z.ZodBoolean>;
|
|
634
|
+
semi: z.ZodOptional<z.ZodBoolean>;
|
|
635
|
+
singleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
636
|
+
quoteProps: z.ZodOptional<z.ZodEnum<{
|
|
637
|
+
"as-needed": "as-needed";
|
|
638
|
+
consistent: "consistent";
|
|
639
|
+
preserve: "preserve";
|
|
640
|
+
}>>;
|
|
641
|
+
jsxSingleQuote: z.ZodOptional<z.ZodBoolean>;
|
|
642
|
+
trailingComma: z.ZodOptional<z.ZodEnum<{
|
|
643
|
+
all: "all";
|
|
644
|
+
es5: "es5";
|
|
645
|
+
none: "none";
|
|
646
|
+
}>>;
|
|
647
|
+
bracketSpacing: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
bracketSameLine: z.ZodOptional<z.ZodBoolean>;
|
|
649
|
+
arrowParens: z.ZodOptional<z.ZodEnum<{
|
|
650
|
+
always: "always";
|
|
651
|
+
avoid: "avoid";
|
|
652
|
+
}>>;
|
|
653
|
+
proseWrap: z.ZodOptional<z.ZodEnum<{
|
|
654
|
+
preserve: "preserve";
|
|
655
|
+
always: "always";
|
|
656
|
+
never: "never";
|
|
657
|
+
}>>;
|
|
658
|
+
endOfLine: z.ZodOptional<z.ZodEnum<{
|
|
659
|
+
lf: "lf";
|
|
660
|
+
crlf: "crlf";
|
|
661
|
+
cr: "cr";
|
|
662
|
+
auto: "auto";
|
|
663
|
+
}>>;
|
|
664
|
+
singleAttributePerLine: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
}, z.core.$strict>>;
|
|
666
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
667
|
+
off: "off";
|
|
668
|
+
warn: "warn";
|
|
669
|
+
error: "error";
|
|
670
|
+
}>>;
|
|
671
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
672
|
+
always: "always";
|
|
673
|
+
relevant: "relevant";
|
|
674
|
+
}>>;
|
|
675
|
+
}, z.core.$strict>]>>;
|
|
676
|
+
lint: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
677
|
+
off: "off";
|
|
678
|
+
warn: "warn";
|
|
679
|
+
error: "error";
|
|
680
|
+
}>, z.ZodObject<{
|
|
681
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
682
|
+
required: "required";
|
|
683
|
+
"when-available": "when-available";
|
|
684
|
+
}>>;
|
|
685
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
686
|
+
off: "off";
|
|
687
|
+
warn: "warn";
|
|
688
|
+
error: "error";
|
|
689
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
690
|
+
off: "off";
|
|
691
|
+
warn: "warn";
|
|
692
|
+
error: "error";
|
|
693
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
694
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
695
|
+
off: "off";
|
|
696
|
+
warn: "warn";
|
|
697
|
+
error: "error";
|
|
698
|
+
}>>;
|
|
699
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
700
|
+
always: "always";
|
|
701
|
+
relevant: "relevant";
|
|
702
|
+
}>>;
|
|
703
|
+
}, z.core.$strict>]>>;
|
|
704
|
+
types: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
705
|
+
off: "off";
|
|
706
|
+
warn: "warn";
|
|
707
|
+
error: "error";
|
|
708
|
+
}>, z.ZodObject<{
|
|
709
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
710
|
+
off: "off";
|
|
711
|
+
warn: "warn";
|
|
712
|
+
error: "error";
|
|
713
|
+
}>>;
|
|
714
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
715
|
+
always: "always";
|
|
716
|
+
relevant: "relevant";
|
|
717
|
+
}>>;
|
|
718
|
+
}, z.core.$strict>]>>;
|
|
719
|
+
cyclomaticComplexity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
720
|
+
off: "off";
|
|
721
|
+
warn: "warn";
|
|
722
|
+
error: "error";
|
|
723
|
+
}>, z.ZodObject<{
|
|
724
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
725
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
726
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
727
|
+
off: "off";
|
|
728
|
+
warn: "warn";
|
|
729
|
+
error: "error";
|
|
730
|
+
}>>;
|
|
731
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
732
|
+
always: "always";
|
|
733
|
+
relevant: "relevant";
|
|
734
|
+
}>>;
|
|
735
|
+
}, z.core.$strict>]>>;
|
|
736
|
+
readabilityComplexity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
737
|
+
off: "off";
|
|
738
|
+
warn: "warn";
|
|
739
|
+
error: "error";
|
|
740
|
+
}>, z.ZodObject<{
|
|
741
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
blockWorsening: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
744
|
+
off: "off";
|
|
745
|
+
warn: "warn";
|
|
746
|
+
error: "error";
|
|
747
|
+
}>>;
|
|
748
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
749
|
+
always: "always";
|
|
750
|
+
relevant: "relevant";
|
|
751
|
+
}>>;
|
|
752
|
+
}, z.core.$strict>]>>;
|
|
753
|
+
structuralSecurity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
754
|
+
off: "off";
|
|
755
|
+
warn: "warn";
|
|
756
|
+
error: "error";
|
|
757
|
+
}>, z.ZodObject<{
|
|
758
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
759
|
+
off: "off";
|
|
760
|
+
warn: "warn";
|
|
761
|
+
error: "error";
|
|
762
|
+
}>>;
|
|
763
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
764
|
+
always: "always";
|
|
765
|
+
relevant: "relevant";
|
|
766
|
+
}>>;
|
|
767
|
+
}, z.core.$strict>]>>;
|
|
768
|
+
secrets: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
769
|
+
off: "off";
|
|
770
|
+
warn: "warn";
|
|
771
|
+
error: "error";
|
|
772
|
+
}>, z.ZodObject<{
|
|
773
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
774
|
+
off: "off";
|
|
775
|
+
warn: "warn";
|
|
776
|
+
error: "error";
|
|
777
|
+
}>>;
|
|
778
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
779
|
+
always: "always";
|
|
780
|
+
relevant: "relevant";
|
|
781
|
+
}>>;
|
|
782
|
+
}, z.core.$strict>]>>;
|
|
783
|
+
dependencyArchitecture: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
784
|
+
off: "off";
|
|
785
|
+
warn: "warn";
|
|
786
|
+
error: "error";
|
|
787
|
+
}>, z.ZodObject<{
|
|
788
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
789
|
+
off: "off";
|
|
790
|
+
warn: "warn";
|
|
791
|
+
error: "error";
|
|
792
|
+
}>>;
|
|
793
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
794
|
+
always: "always";
|
|
795
|
+
relevant: "relevant";
|
|
796
|
+
}>>;
|
|
797
|
+
}, z.core.$strict>]>>;
|
|
798
|
+
deadCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
799
|
+
off: "off";
|
|
800
|
+
warn: "warn";
|
|
801
|
+
error: "error";
|
|
802
|
+
}>, z.ZodObject<{
|
|
803
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
804
|
+
off: "off";
|
|
805
|
+
warn: "warn";
|
|
806
|
+
error: "error";
|
|
807
|
+
}>>;
|
|
808
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
809
|
+
always: "always";
|
|
810
|
+
relevant: "relevant";
|
|
811
|
+
}>>;
|
|
812
|
+
}, z.core.$strict>]>>;
|
|
813
|
+
reactCorrectness: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
814
|
+
off: "off";
|
|
815
|
+
warn: "warn";
|
|
816
|
+
error: "error";
|
|
817
|
+
}>, z.ZodObject<{
|
|
818
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
819
|
+
required: "required";
|
|
820
|
+
"when-available": "when-available";
|
|
821
|
+
}>>;
|
|
822
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
823
|
+
off: "off";
|
|
824
|
+
warn: "warn";
|
|
825
|
+
error: "error";
|
|
826
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
827
|
+
off: "off";
|
|
828
|
+
warn: "warn";
|
|
829
|
+
error: "error";
|
|
830
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
831
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
832
|
+
off: "off";
|
|
833
|
+
warn: "warn";
|
|
834
|
+
error: "error";
|
|
835
|
+
}>>;
|
|
836
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
837
|
+
always: "always";
|
|
838
|
+
relevant: "relevant";
|
|
839
|
+
}>>;
|
|
840
|
+
}, z.core.$strict>]>>;
|
|
841
|
+
reactAccessibility: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
842
|
+
off: "off";
|
|
843
|
+
warn: "warn";
|
|
844
|
+
error: "error";
|
|
845
|
+
}>, z.ZodObject<{
|
|
846
|
+
typeInformation?: z.ZodOptional<z.ZodEnum<{
|
|
847
|
+
required: "required";
|
|
848
|
+
"when-available": "when-available";
|
|
849
|
+
}>>;
|
|
850
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
|
|
851
|
+
off: "off";
|
|
852
|
+
warn: "warn";
|
|
853
|
+
error: "error";
|
|
854
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
|
|
855
|
+
off: "off";
|
|
856
|
+
warn: "warn";
|
|
857
|
+
error: "error";
|
|
858
|
+
}>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>], z.ZodUnknown>]>>>;
|
|
859
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
860
|
+
off: "off";
|
|
861
|
+
warn: "warn";
|
|
862
|
+
error: "error";
|
|
863
|
+
}>>;
|
|
864
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
865
|
+
always: "always";
|
|
866
|
+
relevant: "relevant";
|
|
867
|
+
}>>;
|
|
868
|
+
}, z.core.$strict>]>>;
|
|
869
|
+
duplication: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
870
|
+
off: "off";
|
|
871
|
+
warn: "warn";
|
|
872
|
+
error: "error";
|
|
873
|
+
}>, z.ZodObject<{
|
|
874
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
875
|
+
off: "off";
|
|
876
|
+
warn: "warn";
|
|
877
|
+
error: "error";
|
|
878
|
+
}>>;
|
|
879
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
880
|
+
always: "always";
|
|
881
|
+
relevant: "relevant";
|
|
882
|
+
}>>;
|
|
883
|
+
}, z.core.$strict>]>>;
|
|
884
|
+
vulnerabilities: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
885
|
+
off: "off";
|
|
886
|
+
warn: "warn";
|
|
887
|
+
error: "error";
|
|
888
|
+
}>, z.ZodObject<{
|
|
889
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
890
|
+
off: "off";
|
|
891
|
+
warn: "warn";
|
|
892
|
+
error: "error";
|
|
893
|
+
}>>;
|
|
894
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
895
|
+
always: "always";
|
|
896
|
+
relevant: "relevant";
|
|
897
|
+
}>>;
|
|
898
|
+
}, z.core.$strict>]>>;
|
|
899
|
+
}, z.core.$strict>;
|
|
900
|
+
}, z.core.$strict>>>;
|
|
901
|
+
pathExclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
902
|
+
files: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
903
|
+
checks: z.ZodArray<z.ZodEnum<{
|
|
904
|
+
formatting: "formatting";
|
|
905
|
+
lint: "lint";
|
|
906
|
+
types: "types";
|
|
907
|
+
cyclomaticComplexity: "cyclomaticComplexity";
|
|
908
|
+
readabilityComplexity: "readabilityComplexity";
|
|
909
|
+
structuralSecurity: "structuralSecurity";
|
|
910
|
+
secrets: "secrets";
|
|
911
|
+
duplication: "duplication";
|
|
912
|
+
dependencyArchitecture: "dependencyArchitecture";
|
|
913
|
+
deadCode: "deadCode";
|
|
914
|
+
reactCorrectness: "reactCorrectness";
|
|
915
|
+
reactAccessibility: "reactAccessibility";
|
|
916
|
+
vulnerabilities: "vulnerabilities";
|
|
917
|
+
}>>;
|
|
918
|
+
reason: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>>;
|
|
920
|
+
reporting: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
sourceExcerpts: z.ZodOptional<z.ZodEnum<{
|
|
922
|
+
always: "always";
|
|
923
|
+
never: "never";
|
|
924
|
+
interactive: "interactive";
|
|
925
|
+
}>>;
|
|
926
|
+
terminalFindingLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"all">]>>;
|
|
927
|
+
temporaryReportMaxAge: z.ZodOptional<z.ZodString>;
|
|
928
|
+
agentGuidance: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
opening: z.ZodOptional<z.ZodString>;
|
|
930
|
+
nextStep: z.ZodOptional<z.ZodString>;
|
|
931
|
+
}, z.core.$strict>>;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
934
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
softTimeout: z.ZodOptional<z.ZodString>;
|
|
936
|
+
hardTimeout: z.ZodOptional<z.ZodString>;
|
|
937
|
+
outputLimitBytes: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
}, z.core.$strict>>;
|
|
939
|
+
}, z.core.$strict>>;
|
|
940
|
+
failOnIncomplete: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
}, z.core.$strict>;
|
|
942
|
+
export type ConfigFile = z.infer<typeof configFileSchema>;
|
|
943
|
+
export {};
|
|
944
|
+
//# sourceMappingURL=schema.d.ts.map
|