zedbee 0.1.0-beta.12 → 0.1.0-beta.14

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.
Files changed (1100) hide show
  1. package/README.md +3 -2
  2. package/SECURITY.md +2 -0
  3. package/THIRD_PARTY_NOTICES.md +130 -14
  4. package/dist/attribution/entities.d.ts.map +1 -1
  5. package/dist/attribution/entities.js +74 -72
  6. package/dist/attribution/entities.js.map +1 -1
  7. package/dist/attribution/metrics.d.ts +2 -0
  8. package/dist/attribution/metrics.d.ts.map +1 -1
  9. package/dist/attribution/metrics.js +8 -0
  10. package/dist/attribution/metrics.js.map +1 -1
  11. package/dist/attribution/pair-locations.js +1 -1
  12. package/dist/attribution/pair-locations.js.map +1 -1
  13. package/dist/attribution/source-identity.d.ts +6 -0
  14. package/dist/attribution/source-identity.d.ts.map +1 -0
  15. package/dist/attribution/source-identity.js +60 -0
  16. package/dist/attribution/source-identity.js.map +1 -0
  17. package/dist/cache/key.d.ts +6 -1
  18. package/dist/cache/key.d.ts.map +1 -1
  19. package/dist/cache/key.js +57 -21
  20. package/dist/cache/key.js.map +1 -1
  21. package/dist/cache/store.d.ts.map +1 -1
  22. package/dist/cache/store.js +7 -7
  23. package/dist/cache/store.js.map +1 -1
  24. package/dist/checks/applicability.d.ts.map +1 -1
  25. package/dist/checks/applicability.js +17 -14
  26. package/dist/checks/applicability.js.map +1 -1
  27. package/dist/checks/complexity/adapter.d.ts.map +1 -1
  28. package/dist/checks/complexity/adapter.js +72 -18
  29. package/dist/checks/complexity/adapter.js.map +1 -1
  30. package/dist/checks/complexity/pair-class-metrics.d.ts +12 -0
  31. package/dist/checks/complexity/pair-class-metrics.d.ts.map +1 -0
  32. package/dist/checks/complexity/pair-class-metrics.js +220 -0
  33. package/dist/checks/complexity/pair-class-metrics.js.map +1 -0
  34. package/dist/checks/dead-code/adapter.d.ts.map +1 -1
  35. package/dist/checks/dead-code/adapter.js +8 -97
  36. package/dist/checks/dead-code/adapter.js.map +1 -1
  37. package/dist/checks/dead-code/framework-entrypoints.d.ts +9 -0
  38. package/dist/checks/dead-code/framework-entrypoints.d.ts.map +1 -0
  39. package/dist/checks/dead-code/framework-entrypoints.js +47 -0
  40. package/dist/checks/dead-code/framework-entrypoints.js.map +1 -0
  41. package/dist/checks/dead-code/import-boundary.d.ts +1 -1
  42. package/dist/checks/dead-code/import-boundary.d.ts.map +1 -1
  43. package/dist/checks/dead-code/import-boundary.js +3 -1
  44. package/dist/checks/dead-code/import-boundary.js.map +1 -1
  45. package/dist/checks/dead-code/knip-worker.js +19 -8
  46. package/dist/checks/dead-code/knip-worker.js.map +1 -1
  47. package/dist/checks/dead-code/managed-config.d.ts +4 -2
  48. package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
  49. package/dist/checks/dead-code/managed-config.js +29 -2
  50. package/dist/checks/dead-code/managed-config.js.map +1 -1
  51. package/dist/checks/dead-code/parse-report.d.ts.map +1 -1
  52. package/dist/checks/dead-code/parse-report.js +26 -23
  53. package/dist/checks/dead-code/parse-report.js.map +1 -1
  54. package/dist/checks/dependency-architecture/adapter.d.ts.map +1 -1
  55. package/dist/checks/dependency-architecture/adapter.js +57 -46
  56. package/dist/checks/dependency-architecture/adapter.js.map +1 -1
  57. package/dist/checks/dependency-architecture/normalize-graph.d.ts +2 -0
  58. package/dist/checks/dependency-architecture/normalize-graph.d.ts.map +1 -1
  59. package/dist/checks/dependency-architecture/normalize-graph.js +12 -3
  60. package/dist/checks/dependency-architecture/normalize-graph.js.map +1 -1
  61. package/dist/checks/diagnostic-messages.d.ts +4 -0
  62. package/dist/checks/diagnostic-messages.d.ts.map +1 -0
  63. package/dist/checks/diagnostic-messages.js +50 -0
  64. package/dist/checks/diagnostic-messages.js.map +1 -0
  65. package/dist/checks/dispatch-adapter.d.ts +25 -0
  66. package/dist/checks/dispatch-adapter.d.ts.map +1 -0
  67. package/dist/checks/dispatch-adapter.js +133 -0
  68. package/dist/checks/dispatch-adapter.js.map +1 -0
  69. package/dist/checks/dispatch-cache.d.ts +9 -0
  70. package/dist/checks/dispatch-cache.d.ts.map +1 -0
  71. package/dist/checks/dispatch-cache.js +154 -0
  72. package/dist/checks/dispatch-cache.js.map +1 -0
  73. package/dist/checks/dispatch-context.d.ts +11 -0
  74. package/dist/checks/dispatch-context.d.ts.map +1 -0
  75. package/dist/checks/dispatch-context.js +155 -0
  76. package/dist/checks/dispatch-context.js.map +1 -0
  77. package/dist/checks/dispatch-target.d.ts +17 -0
  78. package/dist/checks/dispatch-target.d.ts.map +1 -0
  79. package/dist/checks/dispatch-target.js +167 -0
  80. package/dist/checks/dispatch-target.js.map +1 -0
  81. package/dist/checks/dispatcher.d.ts +3 -7
  82. package/dist/checks/dispatcher.d.ts.map +1 -1
  83. package/dist/checks/dispatcher.js +12 -642
  84. package/dist/checks/dispatcher.js.map +1 -1
  85. package/dist/checks/duplication/adapter.d.ts.map +1 -1
  86. package/dist/checks/duplication/adapter.js +44 -6
  87. package/dist/checks/duplication/adapter.js.map +1 -1
  88. package/dist/checks/duplication/clone-comparison.d.ts +6 -0
  89. package/dist/checks/duplication/clone-comparison.d.ts.map +1 -0
  90. package/dist/checks/duplication/clone-comparison.js +163 -0
  91. package/dist/checks/duplication/clone-comparison.js.map +1 -0
  92. package/dist/checks/duplication/normalize-clone.d.ts.map +1 -1
  93. package/dist/checks/duplication/normalize-clone.js +9 -0
  94. package/dist/checks/duplication/normalize-clone.js.map +1 -1
  95. package/dist/checks/duplication/source-tokens.d.ts +18 -0
  96. package/dist/checks/duplication/source-tokens.d.ts.map +1 -0
  97. package/dist/checks/duplication/source-tokens.js +68 -0
  98. package/dist/checks/duplication/source-tokens.js.map +1 -0
  99. package/dist/checks/duplication/types.d.ts +2 -0
  100. package/dist/checks/duplication/types.d.ts.map +1 -1
  101. package/dist/checks/engine-identity.d.ts.map +1 -1
  102. package/dist/checks/engine-identity.js +9 -8
  103. package/dist/checks/engine-identity.js.map +1 -1
  104. package/dist/checks/eslint/convert-message.d.ts +2 -0
  105. package/dist/checks/eslint/convert-message.d.ts.map +1 -1
  106. package/dist/checks/eslint/convert-message.js +34 -1
  107. package/dist/checks/eslint/convert-message.js.map +1 -1
  108. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
  109. package/dist/checks/eslint/lint-adapter.js +17 -13
  110. package/dist/checks/eslint/lint-adapter.js.map +1 -1
  111. package/dist/checks/events.d.ts +7 -1
  112. package/dist/checks/events.d.ts.map +1 -1
  113. package/dist/checks/metadata.d.ts +4 -2
  114. package/dist/checks/metadata.d.ts.map +1 -1
  115. package/dist/checks/metadata.js +7 -4
  116. package/dist/checks/metadata.js.map +1 -1
  117. package/dist/checks/observation-result.d.ts.map +1 -1
  118. package/dist/checks/observation-result.js +26 -14
  119. package/dist/checks/observation-result.js.map +1 -1
  120. package/dist/checks/prettier/project-engine.d.ts +8 -14
  121. package/dist/checks/prettier/project-engine.d.ts.map +1 -1
  122. package/dist/checks/prettier/project-engine.js +33 -281
  123. package/dist/checks/prettier/project-engine.js.map +1 -1
  124. package/dist/checks/prettier/project-error.d.ts +7 -0
  125. package/dist/checks/prettier/project-error.d.ts.map +1 -0
  126. package/dist/checks/prettier/project-error.js +12 -0
  127. package/dist/checks/prettier/project-error.js.map +1 -0
  128. package/dist/checks/prettier/project-import-capture.d.ts +20 -0
  129. package/dist/checks/prettier/project-import-capture.d.ts.map +1 -0
  130. package/dist/checks/prettier/project-import-capture.js +173 -0
  131. package/dist/checks/prettier/project-import-capture.js.map +1 -0
  132. package/dist/checks/prettier/project-import-dependencies.d.ts +5 -0
  133. package/dist/checks/prettier/project-import-dependencies.d.ts.map +1 -0
  134. package/dist/checks/prettier/project-import-dependencies.js +84 -0
  135. package/dist/checks/prettier/project-import-dependencies.js.map +1 -0
  136. package/dist/checks/prettier/project-installation.d.ts +3 -0
  137. package/dist/checks/prettier/project-installation.d.ts.map +1 -0
  138. package/dist/checks/prettier/project-installation.js +204 -0
  139. package/dist/checks/prettier/project-installation.js.map +1 -0
  140. package/dist/checks/prettier/project-protocol.d.ts.map +1 -1
  141. package/dist/checks/prettier/project-protocol.js +15 -3
  142. package/dist/checks/prettier/project-protocol.js.map +1 -1
  143. package/dist/checks/prettier/project-snapshot-identity.d.ts +7 -0
  144. package/dist/checks/prettier/project-snapshot-identity.d.ts.map +1 -0
  145. package/dist/checks/prettier/project-snapshot-identity.js +63 -0
  146. package/dist/checks/prettier/project-snapshot-identity.js.map +1 -0
  147. package/dist/checks/prettier/project-types.d.ts +2 -0
  148. package/dist/checks/prettier/project-types.d.ts.map +1 -1
  149. package/dist/checks/prettier/project-worker.js +25 -3
  150. package/dist/checks/prettier/project-worker.js.map +1 -1
  151. package/dist/checks/prettier/project-workspace.d.ts +7 -0
  152. package/dist/checks/prettier/project-workspace.d.ts.map +1 -1
  153. package/dist/checks/prettier/project-workspace.js +101 -40
  154. package/dist/checks/prettier/project-workspace.js.map +1 -1
  155. package/dist/checks/project-inputs.d.ts +6 -0
  156. package/dist/checks/project-inputs.d.ts.map +1 -0
  157. package/dist/checks/project-inputs.js +70 -0
  158. package/dist/checks/project-inputs.js.map +1 -0
  159. package/dist/checks/runner/process-group.d.ts.map +1 -1
  160. package/dist/checks/runner/process-group.js +30 -2
  161. package/dist/checks/runner/process-group.js.map +1 -1
  162. package/dist/checks/secrets/content.d.ts.map +1 -1
  163. package/dist/checks/secrets/content.js +35 -16
  164. package/dist/checks/secrets/content.js.map +1 -1
  165. package/dist/checks/typescript/adapter.d.ts.map +1 -1
  166. package/dist/checks/typescript/adapter.js +6 -14
  167. package/dist/checks/typescript/adapter.js.map +1 -1
  168. package/dist/checks/typescript/aliases.d.ts +28 -0
  169. package/dist/checks/typescript/aliases.d.ts.map +1 -0
  170. package/dist/checks/typescript/aliases.js +259 -0
  171. package/dist/checks/typescript/aliases.js.map +1 -0
  172. package/dist/checks/typescript/configuration-paths.d.ts +8 -0
  173. package/dist/checks/typescript/configuration-paths.d.ts.map +1 -0
  174. package/dist/checks/typescript/configuration-paths.js +138 -0
  175. package/dist/checks/typescript/configuration-paths.js.map +1 -0
  176. package/dist/checks/typescript/convert-diagnostic.d.ts +2 -0
  177. package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -1
  178. package/dist/checks/typescript/convert-diagnostic.js +23 -5
  179. package/dist/checks/typescript/convert-diagnostic.js.map +1 -1
  180. package/dist/checks/typescript/project-coverage.d.ts +16 -0
  181. package/dist/checks/typescript/project-coverage.d.ts.map +1 -0
  182. package/dist/checks/typescript/project-coverage.js +49 -0
  183. package/dist/checks/typescript/project-coverage.js.map +1 -0
  184. package/dist/checks/vulnerabilities/inventory/normalize.d.ts +1 -0
  185. package/dist/checks/vulnerabilities/inventory/normalize.d.ts.map +1 -1
  186. package/dist/checks/vulnerabilities/inventory/normalize.js +5 -2
  187. package/dist/checks/vulnerabilities/inventory/normalize.js.map +1 -1
  188. package/dist/checks/vulnerabilities/inventory/parse-bun.d.ts.map +1 -1
  189. package/dist/checks/vulnerabilities/inventory/parse-bun.js +18 -7
  190. package/dist/checks/vulnerabilities/inventory/parse-bun.js.map +1 -1
  191. package/dist/checks/vulnerabilities/inventory/parse-yarn.d.ts.map +1 -1
  192. package/dist/checks/vulnerabilities/inventory/parse-yarn.js +21 -11
  193. package/dist/checks/vulnerabilities/inventory/parse-yarn.js.map +1 -1
  194. package/dist/cli.d.ts.map +1 -1
  195. package/dist/cli.js +3 -0
  196. package/dist/cli.js.map +1 -1
  197. package/dist/commands/agent.js +1 -1
  198. package/dist/commands/agent.js.map +1 -1
  199. package/dist/commands/checks.d.ts +5 -2
  200. package/dist/commands/checks.d.ts.map +1 -1
  201. package/dist/commands/checks.js +18 -5
  202. package/dist/commands/checks.js.map +1 -1
  203. package/dist/commands/fix.d.ts.map +1 -1
  204. package/dist/commands/fix.js +6 -297
  205. package/dist/commands/fix.js.map +1 -1
  206. package/dist/commands/init.d.ts +4 -2
  207. package/dist/commands/init.d.ts.map +1 -1
  208. package/dist/commands/init.js +36 -379
  209. package/dist/commands/init.js.map +1 -1
  210. package/dist/commands/scan.d.ts +2 -1
  211. package/dist/commands/scan.d.ts.map +1 -1
  212. package/dist/commands/scan.js +6 -13
  213. package/dist/commands/scan.js.map +1 -1
  214. package/dist/commands/telemetry.d.ts.map +1 -1
  215. package/dist/commands/telemetry.js +3 -0
  216. package/dist/commands/telemetry.js.map +1 -1
  217. package/dist/config/load-config.d.ts.map +1 -1
  218. package/dist/config/load-config.js +6 -15
  219. package/dist/config/load-config.js.map +1 -1
  220. package/dist/config/selection-path.d.ts +7 -0
  221. package/dist/config/selection-path.d.ts.map +1 -0
  222. package/dist/config/selection-path.js +20 -0
  223. package/dist/config/selection-path.js.map +1 -0
  224. package/dist/core/check-label.d.ts +2 -0
  225. package/dist/core/check-label.d.ts.map +1 -0
  226. package/dist/core/check-label.js +19 -0
  227. package/dist/core/check-label.js.map +1 -0
  228. package/dist/core/freeze-result.d.ts +3 -0
  229. package/dist/core/freeze-result.d.ts.map +1 -0
  230. package/dist/core/freeze-result.js +10 -0
  231. package/dist/core/freeze-result.js.map +1 -0
  232. package/dist/core/immutable-map.d.ts +3 -0
  233. package/dist/core/immutable-map.d.ts.map +1 -0
  234. package/dist/core/immutable-map.js +33 -0
  235. package/dist/core/immutable-map.js.map +1 -0
  236. package/dist/core/kernel-lease.d.ts +17 -0
  237. package/dist/core/kernel-lease.d.ts.map +1 -0
  238. package/dist/core/kernel-lease.js +55 -0
  239. package/dist/core/kernel-lease.js.map +1 -0
  240. package/dist/fixes/apply-plan.d.ts.map +1 -1
  241. package/dist/fixes/apply-plan.js +2 -9
  242. package/dist/fixes/apply-plan.js.map +1 -1
  243. package/dist/fixes/build-plan.d.ts +5 -5
  244. package/dist/fixes/build-plan.d.ts.map +1 -1
  245. package/dist/fixes/build-plan.js +15 -466
  246. package/dist/fixes/build-plan.js.map +1 -1
  247. package/dist/fixes/exact-edits.d.ts +11 -1
  248. package/dist/fixes/exact-edits.d.ts.map +1 -1
  249. package/dist/fixes/exact-edits.js +101 -46
  250. package/dist/fixes/exact-edits.js.map +1 -1
  251. package/dist/fixes/plan-candidates.d.ts +8 -0
  252. package/dist/fixes/plan-candidates.d.ts.map +1 -0
  253. package/dist/fixes/plan-candidates.js +144 -0
  254. package/dist/fixes/plan-candidates.js.map +1 -0
  255. package/dist/fixes/prettier-provider.d.ts +3 -2
  256. package/dist/fixes/prettier-provider.d.ts.map +1 -1
  257. package/dist/fixes/prettier-provider.js +53 -0
  258. package/dist/fixes/prettier-provider.js.map +1 -1
  259. package/dist/fixes/public-plan.d.ts +8 -0
  260. package/dist/fixes/public-plan.d.ts.map +1 -0
  261. package/dist/fixes/public-plan.js +194 -0
  262. package/dist/fixes/public-plan.js.map +1 -0
  263. package/dist/fixes/working-preview.d.ts +18 -0
  264. package/dist/fixes/working-preview.d.ts.map +1 -0
  265. package/dist/fixes/working-preview.js +162 -0
  266. package/dist/fixes/working-preview.js.map +1 -0
  267. package/dist/git/change-set.d.ts.map +1 -1
  268. package/dist/git/change-set.js +10 -9
  269. package/dist/git/change-set.js.map +1 -1
  270. package/dist/git/client.d.ts +16 -0
  271. package/dist/git/client.d.ts.map +1 -1
  272. package/dist/git/client.js +46 -3
  273. package/dist/git/client.js.map +1 -1
  274. package/dist/git/merge-comparison.d.ts.map +1 -1
  275. package/dist/git/merge-comparison.js +16 -4
  276. package/dist/git/merge-comparison.js.map +1 -1
  277. package/dist/git/selected-comparison.d.ts +13 -0
  278. package/dist/git/selected-comparison.d.ts.map +1 -0
  279. package/dist/git/selected-comparison.js +143 -0
  280. package/dist/git/selected-comparison.js.map +1 -0
  281. package/dist/git/snapshot-work.d.ts +18 -0
  282. package/dist/git/snapshot-work.d.ts.map +1 -0
  283. package/dist/git/snapshot-work.js +59 -0
  284. package/dist/git/snapshot-work.js.map +1 -0
  285. package/dist/git/snapshot.d.ts +6 -1
  286. package/dist/git/snapshot.d.ts.map +1 -1
  287. package/dist/git/snapshot.js +102 -5
  288. package/dist/git/snapshot.js.map +1 -1
  289. package/dist/init/formatter-setup.d.ts +29 -0
  290. package/dist/init/formatter-setup.d.ts.map +1 -0
  291. package/dist/init/formatter-setup.js +166 -0
  292. package/dist/init/formatter-setup.js.map +1 -0
  293. package/dist/init/import-provenance.d.ts +7 -0
  294. package/dist/init/import-provenance.d.ts.map +1 -0
  295. package/dist/init/import-provenance.js +58 -0
  296. package/dist/init/import-provenance.js.map +1 -0
  297. package/dist/init/install-dependency.d.mts +40 -0
  298. package/dist/init/install-dependency.mjs +427 -0
  299. package/dist/init/install-project.d.ts +1 -0
  300. package/dist/init/install-project.d.ts.map +1 -1
  301. package/dist/init/install-project.js +12 -31
  302. package/dist/init/install-project.js.map +1 -1
  303. package/dist/init/presentation.d.ts +54 -0
  304. package/dist/init/presentation.d.ts.map +1 -0
  305. package/dist/init/presentation.js +139 -0
  306. package/dist/init/presentation.js.map +1 -0
  307. package/dist/init/selection-policy.d.ts +29 -0
  308. package/dist/init/selection-policy.d.ts.map +1 -0
  309. package/dist/init/selection-policy.js +59 -0
  310. package/dist/init/selection-policy.js.map +1 -0
  311. package/dist/init/types.d.ts +7 -0
  312. package/dist/init/types.d.ts.map +1 -1
  313. package/dist/init/types.js.map +1 -1
  314. package/dist/init/write-config.d.ts.map +1 -1
  315. package/dist/init/write-config.js +3 -13
  316. package/dist/init/write-config.js.map +1 -1
  317. package/dist/inspection/inspect-repository.d.ts.map +1 -1
  318. package/dist/inspection/inspect-repository.js +17 -3
  319. package/dist/inspection/inspect-repository.js.map +1 -1
  320. package/dist/inspection/snapshot-registry.d.ts +2 -0
  321. package/dist/inspection/snapshot-registry.d.ts.map +1 -1
  322. package/dist/inspection/snapshot-registry.js +58 -7
  323. package/dist/inspection/snapshot-registry.js.map +1 -1
  324. package/dist/inspection/types.d.ts +6 -1
  325. package/dist/inspection/types.d.ts.map +1 -1
  326. package/dist/inspection/types.js +7 -1
  327. package/dist/inspection/types.js.map +1 -1
  328. package/dist/inspection/workspaces.d.ts.map +1 -1
  329. package/dist/inspection/workspaces.js +17 -0
  330. package/dist/inspection/workspaces.js.map +1 -1
  331. package/dist/reporting/check-label.d.ts +1 -1
  332. package/dist/reporting/check-label.d.ts.map +1 -1
  333. package/dist/reporting/check-label.js +1 -18
  334. package/dist/reporting/check-label.js.map +1 -1
  335. package/dist/reporting/fix-plan-store.d.ts +7 -0
  336. package/dist/reporting/fix-plan-store.d.ts.map +1 -0
  337. package/dist/reporting/fix-plan-store.js +29 -0
  338. package/dist/reporting/fix-plan-store.js.map +1 -0
  339. package/dist/reporting/fix-presentation.d.ts +77 -0
  340. package/dist/reporting/fix-presentation.d.ts.map +1 -0
  341. package/dist/reporting/fix-presentation.js +262 -0
  342. package/dist/reporting/fix-presentation.js.map +1 -0
  343. package/dist/reporting/temporary-report-common.d.ts +27 -0
  344. package/dist/reporting/temporary-report-common.d.ts.map +1 -0
  345. package/dist/reporting/temporary-report-common.js +33 -0
  346. package/dist/reporting/temporary-report-common.js.map +1 -0
  347. package/dist/reporting/temporary-report-filesystem.d.ts +6 -0
  348. package/dist/reporting/temporary-report-filesystem.d.ts.map +1 -0
  349. package/dist/reporting/temporary-report-filesystem.js +124 -0
  350. package/dist/reporting/temporary-report-filesystem.js.map +1 -0
  351. package/dist/reporting/temporary-report-lifecycle.d.ts +19 -0
  352. package/dist/reporting/temporary-report-lifecycle.d.ts.map +1 -0
  353. package/dist/reporting/temporary-report-lifecycle.js +278 -0
  354. package/dist/reporting/temporary-report-lifecycle.js.map +1 -0
  355. package/dist/reporting/temporary-report-lock.d.ts +21 -0
  356. package/dist/reporting/temporary-report-lock.d.ts.map +1 -0
  357. package/dist/reporting/temporary-report-lock.js +106 -0
  358. package/dist/reporting/temporary-report-lock.js.map +1 -0
  359. package/dist/reporting/temporary-reports.d.ts +3 -24
  360. package/dist/reporting/temporary-reports.d.ts.map +1 -1
  361. package/dist/reporting/temporary-reports.js +10 -534
  362. package/dist/reporting/temporary-reports.js.map +1 -1
  363. package/dist/scan/analysis-failure.d.ts.map +1 -1
  364. package/dist/scan/analysis-failure.js +23 -0
  365. package/dist/scan/analysis-failure.js.map +1 -1
  366. package/dist/scan/analysis-session.d.ts +4 -0
  367. package/dist/scan/analysis-session.d.ts.map +1 -1
  368. package/dist/scan/analysis-session.js +60 -13
  369. package/dist/scan/analysis-session.js.map +1 -1
  370. package/dist/scan/incomplete-report.js +2 -2
  371. package/dist/scan/incomplete-report.js.map +1 -1
  372. package/dist/scan/merge-scan.d.ts +2 -1
  373. package/dist/scan/merge-scan.d.ts.map +1 -1
  374. package/dist/scan/merge-scan.js +82 -37
  375. package/dist/scan/merge-scan.js.map +1 -1
  376. package/dist/scan/progress.d.ts +4 -0
  377. package/dist/scan/progress.d.ts.map +1 -0
  378. package/dist/scan/progress.js +18 -0
  379. package/dist/scan/progress.js.map +1 -0
  380. package/dist/scan/run-scan.d.ts.map +1 -1
  381. package/dist/scan/run-scan.js +11 -15
  382. package/dist/scan/run-scan.js.map +1 -1
  383. package/dist/scan/source-excerpts.d.ts +1 -1
  384. package/dist/scan/source-excerpts.d.ts.map +1 -1
  385. package/dist/scan/source-excerpts.js +25 -27
  386. package/dist/scan/source-excerpts.js.map +1 -1
  387. package/dist/service/client-connection.d.ts +21 -0
  388. package/dist/service/client-connection.d.ts.map +1 -0
  389. package/dist/service/client-connection.js +219 -0
  390. package/dist/service/client-connection.js.map +1 -0
  391. package/dist/service/client-executor.d.ts +10 -0
  392. package/dist/service/client-executor.d.ts.map +1 -0
  393. package/dist/service/client-executor.js +69 -0
  394. package/dist/service/client-executor.js.map +1 -0
  395. package/dist/service/client-ownership.d.ts +16 -0
  396. package/dist/service/client-ownership.d.ts.map +1 -0
  397. package/dist/service/client-ownership.js +104 -0
  398. package/dist/service/client-ownership.js.map +1 -0
  399. package/dist/service/client-startup.d.ts +3 -0
  400. package/dist/service/client-startup.d.ts.map +1 -0
  401. package/dist/service/client-startup.js +123 -0
  402. package/dist/service/client-startup.js.map +1 -0
  403. package/dist/service/client.d.ts +2 -27
  404. package/dist/service/client.d.ts.map +1 -1
  405. package/dist/service/client.js +7 -490
  406. package/dist/service/client.js.map +1 -1
  407. package/dist/service/identity-parallel.js +3 -3
  408. package/dist/service/identity-parallel.js.map +1 -1
  409. package/dist/service/identity.js +4 -4
  410. package/dist/service/identity.js.map +1 -1
  411. package/dist/service/server-connection.d.ts +43 -0
  412. package/dist/service/server-connection.d.ts.map +1 -0
  413. package/dist/service/server-connection.js +327 -0
  414. package/dist/service/server-connection.js.map +1 -0
  415. package/dist/service/server.d.ts +1 -1
  416. package/dist/service/server.d.ts.map +1 -1
  417. package/dist/service/server.js +77 -343
  418. package/dist/service/server.js.map +1 -1
  419. package/dist/service/state.d.ts.map +1 -1
  420. package/dist/service/state.js +14 -26
  421. package/dist/service/state.js.map +1 -1
  422. package/dist/service/windows-pipe.d.ts +22 -14
  423. package/dist/service/windows-pipe.d.ts.map +1 -1
  424. package/dist/service/windows-pipe.js +384 -350
  425. package/dist/service/windows-pipe.js.map +1 -1
  426. package/dist/telemetry/ai-context.d.ts +14 -0
  427. package/dist/telemetry/ai-context.d.ts.map +1 -0
  428. package/dist/telemetry/ai-context.js +129 -0
  429. package/dist/telemetry/ai-context.js.map +1 -0
  430. package/dist/telemetry/batch.d.ts +4 -0
  431. package/dist/telemetry/batch.d.ts.map +1 -0
  432. package/dist/telemetry/batch.js +21 -0
  433. package/dist/telemetry/batch.js.map +1 -0
  434. package/dist/telemetry/client.d.ts +3 -0
  435. package/dist/telemetry/client.d.ts.map +1 -1
  436. package/dist/telemetry/client.js +63 -2
  437. package/dist/telemetry/client.js.map +1 -1
  438. package/dist/telemetry/details-store.d.ts +15 -0
  439. package/dist/telemetry/details-store.d.ts.map +1 -0
  440. package/dist/telemetry/details-store.js +198 -0
  441. package/dist/telemetry/details-store.js.map +1 -0
  442. package/dist/telemetry/finding-catalog.d.ts +2 -0
  443. package/dist/telemetry/finding-catalog.d.ts.map +1 -0
  444. package/dist/telemetry/finding-catalog.js +2817 -0
  445. package/dist/telemetry/finding-catalog.js.map +1 -0
  446. package/dist/telemetry/finding-rules.d.ts +3 -0
  447. package/dist/telemetry/finding-rules.d.ts.map +1 -0
  448. package/dist/telemetry/finding-rules.js +16 -0
  449. package/dist/telemetry/finding-rules.js.map +1 -0
  450. package/dist/telemetry/finding-summary.d.ts +8 -0
  451. package/dist/telemetry/finding-summary.d.ts.map +1 -0
  452. package/dist/telemetry/finding-summary.js +63 -0
  453. package/dist/telemetry/finding-summary.js.map +1 -0
  454. package/dist/telemetry/schema.d.ts +603 -4
  455. package/dist/telemetry/schema.d.ts.map +1 -1
  456. package/dist/telemetry/schema.js +117 -1
  457. package/dist/telemetry/schema.js.map +1 -1
  458. package/dist/telemetry/state.d.ts +5 -4
  459. package/dist/telemetry/state.d.ts.map +1 -1
  460. package/dist/telemetry/state.js +115 -69
  461. package/dist/telemetry/state.js.map +1 -1
  462. package/dist/telemetry/transport.d.ts.map +1 -1
  463. package/dist/telemetry/transport.js +5 -1
  464. package/dist/telemetry/transport.js.map +1 -1
  465. package/dist/telemetry/worker.d.ts.map +1 -1
  466. package/dist/telemetry/worker.js +9 -1
  467. package/dist/telemetry/worker.js.map +1 -1
  468. package/dist/ui/init-app.d.ts +6 -14
  469. package/dist/ui/init-app.d.ts.map +1 -1
  470. package/dist/ui/init-app.js +39 -203
  471. package/dist/ui/init-app.js.map +1 -1
  472. package/dist/ui/init-operation.d.ts +19 -0
  473. package/dist/ui/init-operation.d.ts.map +1 -0
  474. package/dist/ui/init-operation.js +54 -0
  475. package/dist/ui/init-operation.js.map +1 -0
  476. package/dist/ui/init-view.d.ts +42 -0
  477. package/dist/ui/init-view.d.ts.map +1 -0
  478. package/dist/ui/init-view.js +199 -0
  479. package/dist/ui/init-view.js.map +1 -0
  480. package/dist/ui/live-dashboard.d.ts +5 -1
  481. package/dist/ui/live-dashboard.d.ts.map +1 -1
  482. package/dist/ui/live-dashboard.js +46 -4
  483. package/dist/ui/live-dashboard.js.map +1 -1
  484. package/dist/vendor/knip/node_modules/get-tsconfig/LICENSE +21 -0
  485. package/dist/vendor/knip/node_modules/get-tsconfig/README.md +268 -0
  486. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.cjs +7 -0
  487. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
  488. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
  489. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.mjs +7 -0
  490. package/dist/vendor/knip/node_modules/get-tsconfig/package.json +46 -0
  491. package/docs/checks.md +56 -5
  492. package/docs/cli-reference.md +12 -2
  493. package/docs/commercial-licensing.md +1 -1
  494. package/docs/managed-fixes.md +14 -0
  495. package/docs/privacy.md +55 -2
  496. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
  497. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts +2 -0
  498. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +3 -0
  499. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
  500. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts +2 -0
  501. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +3 -0
  502. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
  503. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
  504. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
  505. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
  506. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.d.ts +2 -0
  507. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +3 -0
  508. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.d.ts +2 -0
  509. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +3 -0
  510. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
  511. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
  512. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
  513. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
  514. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +3 -0
  515. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
  516. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +3 -0
  517. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
  518. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
  519. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
  520. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
  521. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +3 -0
  522. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +3 -0
  523. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
  524. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
  525. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
  526. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
  527. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +9 -447
  528. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
  529. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +9 -447
  530. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
  531. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +2 -0
  532. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +2 -0
  533. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.d.ts +6 -1
  534. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +41 -6
  535. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +2 -0
  536. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +2 -0
  537. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +2 -0
  538. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +2 -0
  539. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +2 -0
  540. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +2 -0
  541. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +2 -0
  542. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +2 -0
  543. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +2 -0
  544. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +2 -0
  545. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +2 -0
  546. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +2 -0
  547. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +2 -0
  548. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +9 -0
  549. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +69 -0
  550. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +2 -0
  551. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +2 -0
  552. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +2 -0
  553. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -447
  554. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +141 -273
  555. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +2 -0
  556. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +2 -0
  557. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +59 -1
  558. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +2 -0
  559. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
  560. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
  561. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
  562. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
  563. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
  564. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
  565. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
  566. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
  567. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +2 -0
  568. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +2 -0
  569. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +2 -0
  570. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +2 -0
  571. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +2 -0
  572. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +30 -10
  573. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +57 -2
  574. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +2 -0
  575. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +2 -0
  576. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +2 -0
  577. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +2 -0
  578. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +2 -0
  579. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +3 -0
  580. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +10 -4
  581. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +12 -2
  582. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +2 -0
  583. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +2 -0
  584. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +65 -55
  585. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +2 -0
  586. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.d.ts +4 -0
  587. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.js +97 -0
  588. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +2 -0
  589. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +2 -0
  590. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +2 -0
  591. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +2 -0
  592. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +2 -0
  593. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +2 -0
  594. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +2 -0
  595. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +2 -0
  596. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.d.ts +1 -1
  597. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +49 -1
  598. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +2 -0
  599. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.d.ts +5 -1
  600. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +76 -4
  601. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +6 -1
  602. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +35 -23
  603. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +2 -0
  604. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +2 -0
  605. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +2 -0
  606. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +2 -0
  607. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +2 -0
  608. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +6 -2
  609. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +2 -0
  610. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -0
  611. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +2 -0
  612. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +2 -0
  613. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +2 -0
  614. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +2 -0
  615. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +2 -0
  616. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +85 -12
  617. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +14 -4
  618. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +2 -0
  619. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +4 -14
  620. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +2 -0
  621. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +2 -3
  622. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +52 -49
  623. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +3 -0
  624. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -0
  625. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +46 -18
  626. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +3 -91
  627. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +2 -0
  628. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +2 -0
  629. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +2 -0
  630. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.d.ts +5 -0
  631. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.js +518 -0
  632. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +4 -113
  633. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +2 -0
  634. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +2 -0
  635. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +2 -0
  636. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +2 -0
  637. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +2 -0
  638. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +2 -0
  639. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +2 -0
  640. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +6 -5
  641. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +2 -0
  642. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +2 -0
  643. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.d.ts +1 -1
  644. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +29 -7
  645. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +2 -0
  646. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +3 -0
  647. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +2 -0
  648. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +2 -0
  649. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +2 -0
  650. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +2 -0
  651. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +2 -0
  652. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +2 -0
  653. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +2 -0
  654. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +2 -0
  655. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +2 -0
  656. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +2 -0
  657. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +2 -0
  658. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +2 -0
  659. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +2 -0
  660. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +4 -3
  661. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
  662. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +47 -10
  663. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
  664. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
  665. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +2 -0
  666. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +2 -0
  667. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +2 -0
  668. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +2 -0
  669. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +2 -0
  670. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +2 -0
  671. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +2 -0
  672. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +2 -0
  673. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -0
  674. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +3 -0
  675. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +2 -0
  676. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +2 -0
  677. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +50 -3
  678. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +2 -0
  679. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +2 -0
  680. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +2 -0
  681. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +12 -9
  682. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +3 -0
  683. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +2 -0
  684. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
  685. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +100 -5
  686. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +3 -1
  687. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +6 -1
  688. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +2 -0
  689. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +39 -12
  690. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
  691. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +75 -37
  692. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +2 -0
  693. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
  694. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
  695. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
  696. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
  697. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
  698. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
  699. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
  700. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
  701. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
  702. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +11 -7
  703. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
  704. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
  705. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
  706. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.d.ts +4 -0
  707. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.js +15 -0
  708. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
  709. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
  710. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
  711. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
  712. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
  713. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
  714. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
  715. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +2 -0
  716. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
  717. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
  718. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
  719. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
  720. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
  721. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
  722. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
  723. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -1
  724. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
  725. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +4 -0
  726. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +5 -0
  727. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
  728. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
  729. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
  730. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
  731. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
  732. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
  733. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
  734. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.d.ts +2 -0
  735. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.js +30 -0
  736. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
  737. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.d.ts +2 -0
  738. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.js +9 -0
  739. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
  740. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.d.ts +4 -0
  741. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.js +23 -0
  742. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
  743. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.d.ts +6 -0
  744. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.js +18 -0
  745. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
  746. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
  747. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
  748. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
  749. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
  750. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
  751. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
  752. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
  753. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
  754. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
  755. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +3 -1
  756. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
  757. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
  758. package/node_modules/@typescript-eslint/eslint-plugin/package.json +19 -18
  759. package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
  760. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
  761. package/node_modules/@typescript-eslint/parser/package.json +9 -8
  762. package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +10 -9
  763. package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
  764. package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
  765. package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.d.ts +7 -0
  766. package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.js +37 -0
  767. package/node_modules/@typescript-eslint/project-service/package.json +7 -6
  768. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
  769. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
  770. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +3 -0
  771. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
  772. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
  773. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
  774. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
  775. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
  776. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
  777. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
  778. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
  779. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
  780. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
  781. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
  782. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
  783. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
  784. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
  785. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
  786. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
  787. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
  788. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
  789. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
  790. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
  791. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
  792. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
  793. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
  794. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
  795. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
  796. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
  797. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
  798. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
  799. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
  800. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
  801. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
  802. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
  803. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
  804. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
  805. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
  806. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
  807. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
  808. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
  809. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
  810. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
  811. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
  812. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
  813. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
  814. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
  815. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
  816. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
  817. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
  818. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
  819. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
  820. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
  821. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
  822. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
  823. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
  824. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
  825. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
  826. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
  827. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
  828. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
  829. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
  830. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
  831. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
  832. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
  833. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
  834. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
  835. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
  836. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
  837. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
  838. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
  839. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
  840. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
  841. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
  842. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
  843. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
  844. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
  845. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
  846. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
  847. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
  848. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
  849. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
  850. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
  851. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
  852. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
  853. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
  854. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
  855. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
  856. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
  857. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
  858. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
  859. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
  860. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
  861. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
  862. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
  863. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
  864. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
  865. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
  866. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
  867. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
  868. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
  869. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
  870. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
  871. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
  872. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
  873. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
  874. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
  875. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
  876. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
  877. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
  878. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
  879. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
  880. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
  881. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
  882. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
  883. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
  884. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
  885. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
  886. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
  887. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
  888. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
  889. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
  890. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
  891. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
  892. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
  893. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
  894. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
  895. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
  896. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
  897. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
  898. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
  899. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
  900. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
  901. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
  902. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
  903. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
  904. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
  905. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
  906. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
  907. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
  908. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
  909. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
  910. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
  911. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
  912. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
  913. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
  914. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +13 -1
  915. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
  916. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
  917. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
  918. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
  919. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
  920. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
  921. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
  922. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
  923. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
  924. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
  925. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
  926. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
  927. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
  928. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
  929. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
  930. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
  931. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
  932. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
  933. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
  934. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
  935. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
  936. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
  937. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
  938. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
  939. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
  940. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
  941. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
  942. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
  943. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
  944. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
  945. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
  946. package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
  947. package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
  948. package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
  949. package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
  950. package/node_modules/@typescript-eslint/tsconfig-utils/package.json +4 -3
  951. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +4 -14
  952. package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
  953. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
  954. package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +7 -0
  955. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
  956. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
  957. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
  958. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
  959. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
  960. package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
  961. package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
  962. package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +3 -1
  963. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +10 -5
  964. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
  965. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +5 -0
  966. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +11 -0
  967. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
  968. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
  969. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +2 -1
  970. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
  971. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.d.ts +3 -0
  972. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.js +19 -0
  973. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
  974. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
  975. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.d.ts +1 -1
  976. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +87 -9
  977. package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
  978. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +3 -3
  979. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
  980. package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
  981. package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
  982. package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
  983. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
  984. package/node_modules/@typescript-eslint/types/package.json +8 -7
  985. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
  986. package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +7 -0
  987. package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +8 -0
  988. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +3 -0
  989. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
  990. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -1
  991. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +12 -2
  992. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
  993. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
  994. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
  995. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +3 -2
  996. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
  997. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
  998. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +2 -0
  999. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +14 -6
  1000. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +23 -0
  1001. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +86 -1
  1002. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
  1003. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
  1004. package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
  1005. package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
  1006. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
  1007. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
  1008. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
  1009. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +48 -2
  1010. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
  1011. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
  1012. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +2 -0
  1013. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
  1014. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
  1015. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
  1016. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
  1017. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
  1018. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
  1019. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
  1020. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
  1021. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
  1022. package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
  1023. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
  1024. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
  1025. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
  1026. package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
  1027. package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +45 -4
  1028. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
  1029. package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
  1030. package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
  1031. package/node_modules/@typescript-eslint/typescript-estree/package.json +9 -8
  1032. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
  1033. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
  1034. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
  1035. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
  1036. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
  1037. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
  1038. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
  1039. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
  1040. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
  1041. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
  1042. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
  1043. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +2 -0
  1044. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
  1045. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
  1046. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
  1047. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
  1048. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
  1049. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
  1050. package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
  1051. package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
  1052. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
  1053. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
  1054. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
  1055. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
  1056. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
  1057. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
  1058. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
  1059. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
  1060. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
  1061. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
  1062. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
  1063. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
  1064. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
  1065. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
  1066. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
  1067. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
  1068. package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
  1069. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.d.ts +1 -1
  1070. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
  1071. package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
  1072. package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
  1073. package/node_modules/@typescript-eslint/utils/package.json +7 -6
  1074. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
  1075. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
  1076. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
  1077. package/node_modules/@typescript-eslint/visitor-keys/package.json +6 -5
  1078. package/node_modules/dependency-cruiser/node_modules/ignore/LICENSE-MIT +21 -0
  1079. package/node_modules/dependency-cruiser/node_modules/ignore/README.md +452 -0
  1080. package/node_modules/dependency-cruiser/node_modules/ignore/index.d.ts +81 -0
  1081. package/node_modules/dependency-cruiser/node_modules/ignore/index.js +793 -0
  1082. package/node_modules/dependency-cruiser/node_modules/ignore/legacy.js +690 -0
  1083. package/node_modules/dependency-cruiser/node_modules/ignore/package.json +87 -0
  1084. package/node_modules/get-tsconfig/dist/index.cjs +4 -4
  1085. package/node_modules/get-tsconfig/dist/index.mjs +4 -4
  1086. package/node_modules/get-tsconfig/package.json +1 -1
  1087. package/node_modules/ignore/README.md +49 -0
  1088. package/node_modules/ignore/index.js +906 -162
  1089. package/node_modules/ignore/legacy.js +760 -127
  1090. package/node_modules/ignore/package.json +10 -4
  1091. package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
  1092. package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
  1093. package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
  1094. package/node_modules/typescript-eslint/dist/globs.js +1 -0
  1095. package/node_modules/typescript-eslint/dist/index.js +2 -0
  1096. package/node_modules/typescript-eslint/package.json +13 -20
  1097. package/package.json +11 -9
  1098. package/plugins/swarm/README.md +31 -14
  1099. package/plugins/swarm/{skills/scan/SKILL.md → references/scan.md} +6 -13
  1100. package/schema/zedbee.schema.json +12 -0
package/README.md CHANGED
@@ -19,8 +19,9 @@ npm install --save-dev zedbee@next
19
19
  npx zedbee init
20
20
  ```
21
21
 
22
- Usage metadata is collected by default, including in CI. No source code, paths,
23
- or report contents are sent. Set `ZEDBEE_TELEMETRY_DISABLED=1` before first use,
22
+ Usage metadata, grouped issue types and AI tool detection are collected by default,
23
+ including in CI. Source code, paths and finding messages are excluded.
24
+ Set `ZEDBEE_TELEMETRY_DISABLED=1` before first use,
24
25
  or run `npx zedbee telemetry disable` to save an opt-out. See the
25
26
  [telemetry details](docs/privacy.md#usage-telemetry).
26
27
 
package/SECURITY.md CHANGED
@@ -26,6 +26,8 @@ Scan and fix analysis uses fresh sessions in supervised workers that may be reus
26
26
 
27
27
  Formatting can explicitly use a project's installed Prettier, its native configuration, and its plugins. This is the only path that evaluates project-provided JavaScript. It is off unless a user first chooses it in `init` (which records consent in local Git configuration) or passes `--trust-project-prettier` for one invocation; tracked repository configuration alone can never grant it. The trusted parent validates the installed package and spawns a dedicated, short-lived worker over a disposable mirror of the selected snapshot. This is process separation and environment hygiene, not a sandbox: trusted configuration and plugins can still read files and use the network with the user's permissions, so consent is an ongoing trust decision in that project's formatter.
28
28
 
29
+ During `init`, copying settings from executable Prettier configuration requires separate consent and uses a disposable mirror of the working checkout. This one-time import evaluates working-copy configuration rather than selected Git snapshot configuration. Ordinary scan and fix analysis retains the selected-snapshot behavior above.
30
+
29
31
  The selected-source boundary permits these additional local reads:
30
32
 
31
33
  - TypeScript and typed lint can capture dependency inputs through constrained installed-package and bundled TypeScript resolution boundaries. Those bytes support analysis; they are not selected repository changes or persisted source-cache entries.
@@ -879,6 +879,37 @@ SOFTWARE.
879
879
 
880
880
  ## @emnapi/runtime@1.11.2
881
881
 
882
+ License: MIT
883
+ Reviewed override source: https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz
884
+ Reviewed override text: licenses/overrides/emnapi-1.11.2-LICENSE
885
+
886
+ ### licenses/overrides/emnapi-1.11.2-LICENSE
887
+
888
+ MIT License
889
+
890
+ Copyright (c) 2021-present Toyobayashi
891
+
892
+ Permission is hereby granted, free of charge, to any person obtaining a copy
893
+ of this software and associated documentation files (the "Software"), to deal
894
+ in the Software without restriction, including without limitation the rights
895
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
896
+ copies of the Software, and to permit persons to whom the Software is
897
+ furnished to do so, subject to the following conditions:
898
+
899
+ The above copyright notice and this permission notice shall be included in all
900
+ copies or substantial portions of the Software.
901
+
902
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
903
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
904
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
905
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
906
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
907
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
908
+ SOFTWARE.
909
+ ---
910
+
911
+ ## @emnapi/runtime@1.11.3
912
+
882
913
  License: MIT
883
914
 
884
915
  ### node_modules/@emnapi/runtime/LICENSE
@@ -5209,7 +5240,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5209
5240
  SOFTWARE.
5210
5241
  ---
5211
5242
 
5212
- ## @secretlint/core@13.0.5
5243
+ ## @secretlint/core@13.0.6
5213
5244
 
5214
5245
  License: MIT
5215
5246
 
@@ -5236,7 +5267,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5236
5267
  SOFTWARE.
5237
5268
  ---
5238
5269
 
5239
- ## @secretlint/profiler@13.0.5
5270
+ ## @secretlint/profiler@13.0.6
5240
5271
 
5241
5272
  License: MIT
5242
5273
 
@@ -5317,6 +5348,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5317
5348
  SOFTWARE.
5318
5349
  ---
5319
5350
 
5351
+ ## @secretlint/types@13.0.6
5352
+
5353
+ License: MIT
5354
+
5355
+ ### node_modules/@secretlint/core/node_modules/@secretlint/types/LICENSE
5356
+
5357
+ Copyright (c) 2020 azu
5358
+
5359
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5360
+ of this software and associated documentation files (the "Software"), to deal
5361
+ in the Software without restriction, including without limitation the rights
5362
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5363
+ copies of the Software, and to permit persons to whom the Software is
5364
+ furnished to do so, subject to the following conditions:
5365
+
5366
+ The above copyright notice and this permission notice shall be included in all
5367
+ copies or substantial portions of the Software.
5368
+
5369
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5370
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5371
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5372
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5373
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5374
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5375
+ SOFTWARE.
5376
+ ---
5377
+
5320
5378
  ## @sindresorhus/merge-streams@4.0.0
5321
5379
 
5322
5380
  License: MIT
@@ -5423,7 +5481,7 @@ License: MIT
5423
5481
  SOFTWARE
5424
5482
  ---
5425
5483
 
5426
- ## @typescript-eslint/eslint-plugin@8.67.0
5484
+ ## @typescript-eslint/eslint-plugin@8.72.0
5427
5485
 
5428
5486
  License: MIT
5429
5487
 
@@ -5452,7 +5510,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5452
5510
  SOFTWARE.
5453
5511
  ---
5454
5512
 
5455
- ## @typescript-eslint/parser@8.67.0
5513
+ ## @typescript-eslint/parser@8.72.0
5456
5514
 
5457
5515
  License: MIT
5458
5516
 
@@ -5481,7 +5539,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5481
5539
  SOFTWARE.
5482
5540
  ---
5483
5541
 
5484
- ## @typescript-eslint/project-service@8.67.0
5542
+ ## @typescript-eslint/project-service@8.72.0
5485
5543
 
5486
5544
  License: MIT
5487
5545
 
@@ -5510,7 +5568,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5510
5568
  SOFTWARE.
5511
5569
  ---
5512
5570
 
5513
- ## @typescript-eslint/scope-manager@8.67.0
5571
+ ## @typescript-eslint/scope-manager@8.72.0
5514
5572
 
5515
5573
  License: MIT
5516
5574
 
@@ -5539,7 +5597,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5539
5597
  SOFTWARE.
5540
5598
  ---
5541
5599
 
5542
- ## @typescript-eslint/tsconfig-utils@8.67.0
5600
+ ## @typescript-eslint/tsconfig-utils@8.72.0
5543
5601
 
5544
5602
  License: MIT
5545
5603
 
@@ -5568,7 +5626,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5568
5626
  SOFTWARE.
5569
5627
  ---
5570
5628
 
5571
- ## @typescript-eslint/type-utils@8.67.0
5629
+ ## @typescript-eslint/type-utils@8.72.0
5572
5630
 
5573
5631
  License: MIT
5574
5632
 
@@ -5597,7 +5655,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5597
5655
  SOFTWARE.
5598
5656
  ---
5599
5657
 
5600
- ## @typescript-eslint/types@8.67.0
5658
+ ## @typescript-eslint/types@8.72.0
5601
5659
 
5602
5660
  License: MIT
5603
5661
 
@@ -5626,7 +5684,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5626
5684
  SOFTWARE.
5627
5685
  ---
5628
5686
 
5629
- ## @typescript-eslint/typescript-estree@8.67.0
5687
+ ## @typescript-eslint/typescript-estree@8.72.0
5630
5688
 
5631
5689
  License: MIT
5632
5690
 
@@ -5655,7 +5713,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5655
5713
  SOFTWARE.
5656
5714
  ---
5657
5715
 
5658
- ## @typescript-eslint/utils@8.67.0
5716
+ ## @typescript-eslint/utils@8.72.0
5659
5717
 
5660
5718
  License: MIT
5661
5719
 
@@ -5684,7 +5742,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5684
5742
  SOFTWARE.
5685
5743
  ---
5686
5744
 
5687
- ## @typescript-eslint/visitor-keys@8.67.0
5745
+ ## @typescript-eslint/visitor-keys@8.72.0
5688
5746
 
5689
5747
  License: MIT
5690
5748
 
@@ -11841,6 +11899,35 @@ SOFTWARE.
11841
11899
 
11842
11900
  License: MIT
11843
11901
 
11902
+ ### node_modules/knip/node_modules/get-tsconfig/LICENSE
11903
+
11904
+ MIT License
11905
+
11906
+ Copyright (c) Hiroki Osame <hiroki.osame@gmail.com>
11907
+
11908
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11909
+ of this software and associated documentation files (the "Software"), to deal
11910
+ in the Software without restriction, including without limitation the rights
11911
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11912
+ copies of the Software, and to permit persons to whom the Software is
11913
+ furnished to do so, subject to the following conditions:
11914
+
11915
+ The above copyright notice and this permission notice shall be included in all
11916
+ copies or substantial portions of the Software.
11917
+
11918
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11919
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11920
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11921
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11922
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
11923
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
11924
+ SOFTWARE.
11925
+ ---
11926
+
11927
+ ## get-tsconfig@4.14.3
11928
+
11929
+ License: MIT
11930
+
11844
11931
  ### node_modules/get-tsconfig/LICENSE
11845
11932
 
11846
11933
  MIT License
@@ -12549,7 +12636,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
12549
12636
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12550
12637
  ---
12551
12638
 
12552
- ## ignore@7.0.6
12639
+ ## ignore@7.0.11
12553
12640
 
12554
12641
  License: MIT
12555
12642
 
@@ -12578,6 +12665,35 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
12578
12665
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12579
12666
  ---
12580
12667
 
12668
+ ## ignore@7.0.6
12669
+
12670
+ License: MIT
12671
+
12672
+ ### node_modules/dependency-cruiser/node_modules/ignore/LICENSE-MIT
12673
+
12674
+ Copyright (c) 2013 Kael Zhang <i@kael.me>, contributors
12675
+ http://kael.me/
12676
+
12677
+ Permission is hereby granted, free of charge, to any person obtaining
12678
+ a copy of this software and associated documentation files (the
12679
+ "Software"), to deal in the Software without restriction, including
12680
+ without limitation the rights to use, copy, modify, merge, publish,
12681
+ distribute, sublicense, and/or sell copies of the Software, and to
12682
+ permit persons to whom the Software is furnished to do so, subject to
12683
+ the following conditions:
12684
+
12685
+ The above copyright notice and this permission notice shall be
12686
+ included in all copies or substantial portions of the Software.
12687
+
12688
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
12689
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
12690
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
12691
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
12692
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
12693
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
12694
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12695
+ ---
12696
+
12581
12697
  ## import-fresh@3.3.1
12582
12698
 
12583
12699
  License: MIT
@@ -17747,7 +17863,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17747
17863
  SOFTWARE.
17748
17864
  ---
17749
17865
 
17750
- ## typescript-eslint@8.67.0
17866
+ ## typescript-eslint@8.72.0
17751
17867
 
17752
17868
  License: MIT
17753
17869
 
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/attribution/entities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AA0BtD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAoSD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,SAAS,SAAS,EAAE,GAC3B,SAAS,aAAa,EAAE,CA8F1B;AAED,kFAAkF;AAClF,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,GACX,SAAS,gBAAgB,EAAE,CAoE7B"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/attribution/entities.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AA+BtD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAscD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,SAAS,SAAS,EAAE,GAC3B,SAAS,aAAa,EAAE,CAQ1B;AAED,kFAAkF;AAClF,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,GACX,SAAS,gBAAgB,EAAE,CAE7B"}
@@ -1,6 +1,8 @@
1
1
  import { extname } from "node:path";
2
2
  import * as ts from "typescript";
3
+ import { analysisKey, analysisStore } from "../checks/analysis-reuse.js";
3
4
  import { normalizeRepositoryRelativePath } from "./fingerprint.js";
5
+ import { sourceEntityName } from "./source-identity.js";
4
6
  const SUPPORTED_EXTENSIONS = new Set([
5
7
  ".js",
6
8
  ".jsx",
@@ -23,9 +25,9 @@ function declarationName(name) {
23
25
  if (name === undefined)
24
26
  return undefined;
25
27
  if (ts.isIdentifier(name) || ts.isPrivateIdentifier(name))
26
- return canonicalName(name.text);
28
+ return sourceEntityName(canonicalName(name.text));
27
29
  if (ts.isStringLiteral(name) || ts.isNumericLiteral(name))
28
- return canonicalName(name.text);
30
+ return sourceEntityName(canonicalName(name.text));
29
31
  return undefined;
30
32
  }
31
33
  function memberName(name) {
@@ -40,7 +42,7 @@ function memberName(name) {
40
42
  expression.expression.text !== "Symbol") {
41
43
  return undefined;
42
44
  }
43
- return canonicalName(`Symbol.${expression.name.text}`);
45
+ return sourceEntityName(canonicalName(`Symbol.${expression.name.text}`));
44
46
  }
45
47
  function hasModifier(node, kind) {
46
48
  return (ts.canHaveModifiers(node) &&
@@ -186,7 +188,28 @@ function entityDeclaration(node, syntaxPath) {
186
188
  }
187
189
  return undefined;
188
190
  }
189
- function structuralOwner(node) {
191
+ function structuralOwner(node, classScope) {
192
+ // Separate inline classes can share names and members in the same scope.
193
+ if (ts.isClassExpression(node)) {
194
+ let expression = node;
195
+ while (ts.isParenthesizedExpression(expression.parent) ||
196
+ ts.isAsExpression(expression.parent) ||
197
+ ts.isTypeAssertionExpression(expression.parent) ||
198
+ ts.isSatisfiesExpression(expression.parent) ||
199
+ ts.isNonNullExpression(expression.parent)) {
200
+ expression = expression.parent;
201
+ }
202
+ const parent = expression.parent;
203
+ if (ts.isVariableDeclaration(parent) &&
204
+ parent.initializer === expression &&
205
+ declarationName(parent.name) !== undefined) {
206
+ // A direct binding already owns this class independently of its position.
207
+ return undefined;
208
+ }
209
+ const ordinal = classScope.nextOrdinal;
210
+ classScope.nextOrdinal += 1;
211
+ return { kind: "class-scope", name: `class@${ordinal}` };
212
+ }
190
213
  if (ts.isVariableDeclaration(node)) {
191
214
  const name = declarationName(node.name);
192
215
  return name === undefined ? undefined : { kind: "variable", name };
@@ -235,10 +258,16 @@ function intersects(startLine, endLine, ranges) {
235
258
  function compareCodeUnits(left, right) {
236
259
  return left < right ? -1 : left > right ? 1 : 0;
237
260
  }
238
- export function collectChangedEntities(sourceText, file, ranges) {
261
+ const validatedEntities = Symbol("validated canonical syntax entities");
262
+ function collectValidatedEntities(sourceText, file) {
239
263
  if (typeof sourceText !== "string")
240
264
  throw new TypeError("Expected source text to be a string");
241
265
  const normalizedFile = normalizeRepositoryRelativePath(file);
266
+ const store = analysisStore(validatedEntities);
267
+ const key = store === undefined ? undefined : analysisKey([normalizedFile, sourceText]);
268
+ const retained = key === undefined ? undefined : store.get(key);
269
+ if (retained !== undefined)
270
+ return retained;
242
271
  const extension = extname(normalizedFile);
243
272
  if (!SUPPORTED_EXTENSIONS.has(extension)) {
244
273
  throw new TypeError("Expected a JavaScript or TypeScript source path");
@@ -257,26 +286,37 @@ export function collectChangedEntities(sourceText, file, ranges) {
257
286
  }
258
287
  const parsedSourceFile = ts.createSourceFile(normalizedFile, sourceText, ts.ScriptTarget.Latest, true);
259
288
  const entities = [];
289
+ const spans = [];
260
290
  const lineCount = parsedSourceFile.getLineStarts().length;
261
- const snapshots = normalizedRanges(ranges, lineCount);
262
- function visit(node, owners, syntaxPath) {
291
+ function visit(node, owners, syntaxPath, classScope) {
263
292
  const declaration = entityDeclaration(node, syntaxPath);
264
293
  if (declaration !== undefined) {
265
294
  const startLine = parsedSourceFile.getLineAndCharacterOfPosition(declaration.node.getStart(parsedSourceFile)).line + 1;
266
295
  const endLine = parsedSourceFile.getLineAndCharacterOfPosition(declaration.node.getEnd()).line + 1;
267
- if (intersects(startLine, endLine, snapshots)) {
268
- const identity = entityIdentity(declaration, normalizedFile, owners);
269
- entities.push(Object.freeze({
270
- kind: declaration.kind,
271
- name: declaration.name,
272
- file: normalizedFile,
273
- startLine,
274
- endLine,
275
- identity,
296
+ const entity = Object.freeze({
297
+ kind: declaration.kind,
298
+ name: declaration.name,
299
+ file: normalizedFile,
300
+ startLine,
301
+ endLine,
302
+ identity: entityIdentity(declaration, normalizedFile, owners),
303
+ });
304
+ entities.push(entity);
305
+ if (declaration.kind !== "class") {
306
+ const parent = declaration.node.parent;
307
+ // ESLint may report a property function at its key, before its body.
308
+ const startOffset = ts.isPropertyAssignment(parent) &&
309
+ parent.initializer === declaration.node
310
+ ? parent.getStart(parsedSourceFile)
311
+ : declaration.node.getStart(parsedSourceFile);
312
+ spans.push(Object.freeze({
313
+ entity,
314
+ startOffset,
315
+ endOffset: declaration.node.getEnd(),
276
316
  }));
277
317
  }
278
318
  }
279
- const owner = declaration ?? structuralOwner(node);
319
+ const owner = declaration ?? structuralOwner(node, classScope);
280
320
  const childOwners = owner === undefined
281
321
  ? owners
282
322
  : [
@@ -284,74 +324,36 @@ export function collectChangedEntities(sourceText, file, ranges) {
284
324
  ...(declaration?.identityQualifiers ?? []),
285
325
  { kind: owner.kind, name: owner.name },
286
326
  ];
327
+ const childClassScope = owner === undefined ? classScope : { nextOrdinal: 0 };
287
328
  let childIndex = 0;
288
329
  node.forEachChild((child) => {
289
- visit(child, childOwners, [...syntaxPath, childIndex]);
330
+ visit(child, childOwners, [...syntaxPath, childIndex], childClassScope);
290
331
  childIndex += 1;
291
332
  });
292
333
  }
293
- visit(parsedSourceFile, [], []);
334
+ visit(parsedSourceFile, [], [], { nextOrdinal: 0 });
294
335
  entities.sort((left, right) => compareCodeUnits(left.file, right.file) ||
295
336
  left.startLine - right.startLine ||
296
337
  left.endLine - right.endLine ||
297
338
  compareCodeUnits(left.kind, right.kind) ||
298
339
  compareCodeUnits(left.name, right.name) ||
299
340
  compareCodeUnits(left.identity, right.identity));
300
- return Object.freeze(entities);
341
+ const result = Object.freeze({
342
+ entities: Object.freeze(entities),
343
+ spans: Object.freeze(spans),
344
+ lineCount,
345
+ });
346
+ if (key !== undefined)
347
+ store.set(key, result, sourceText.length * 4 + entities.length * 1024);
348
+ return result;
349
+ }
350
+ export function collectChangedEntities(sourceText, file, ranges) {
351
+ const validated = collectValidatedEntities(sourceText, file);
352
+ const snapshots = normalizedRanges(ranges, validated.lineCount);
353
+ return Object.freeze(validated.entities.filter(({ startLine, endLine }) => intersects(startLine, endLine, snapshots)));
301
354
  }
302
355
  /** Canonical syntax entities with offsets for inspector-owned metric adapters. */
303
356
  export function collectMetricEntitySpans(sourceText, file) {
304
- const normalizedFile = normalizeRepositoryRelativePath(file);
305
- const parsed = ts.createSourceFile(normalizedFile, sourceText, ts.ScriptTarget.Latest, true);
306
- const lineCount = parsed.getLineStarts().length;
307
- // Reuse the public collector's extension, syntax, and canonical-path checks.
308
- collectChangedEntities(sourceText, normalizedFile, [
309
- { start: 1, end: lineCount },
310
- ]);
311
- const spans = [];
312
- function visit(node, owners, syntaxPath) {
313
- const declaration = entityDeclaration(node, syntaxPath);
314
- if (declaration !== undefined && declaration.kind !== "class") {
315
- const declarationStart = declaration.node.getStart(parsed);
316
- const parent = declaration.node.parent;
317
- // ESLint reports a property function's cyclomatic metric at its key,
318
- // including computed keys before an anonymous initializer's own span.
319
- // Extend only metric matching; keep the canonical entity coordinates.
320
- const startOffset = ts.isPropertyAssignment(parent) &&
321
- parent.initializer === declaration.node
322
- ? parent.getStart(parsed)
323
- : declarationStart;
324
- const endOffset = declaration.node.getEnd();
325
- const startLine = parsed.getLineAndCharacterOfPosition(declarationStart).line + 1;
326
- const endLine = parsed.getLineAndCharacterOfPosition(endOffset).line + 1;
327
- spans.push(Object.freeze({
328
- entity: Object.freeze({
329
- kind: declaration.kind,
330
- name: declaration.name,
331
- file: normalizedFile,
332
- startLine,
333
- endLine,
334
- identity: entityIdentity(declaration, normalizedFile, owners),
335
- }),
336
- startOffset,
337
- endOffset,
338
- }));
339
- }
340
- const owner = declaration ?? structuralOwner(node);
341
- const childOwners = owner === undefined
342
- ? owners
343
- : [
344
- ...owners,
345
- ...(declaration?.identityQualifiers ?? []),
346
- { kind: owner.kind, name: owner.name },
347
- ];
348
- let childIndex = 0;
349
- node.forEachChild((child) => {
350
- visit(child, childOwners, [...syntaxPath, childIndex]);
351
- childIndex += 1;
352
- });
353
- }
354
- visit(parsed, [], []);
355
- return Object.freeze(spans);
357
+ return collectValidatedEntities(sourceText, file).spans;
356
358
  }
357
359
  //# sourceMappingURL=entities.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../src/attribution/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO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C1C,CACF,CAAC;AACJ,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,wBAAwB,CACtC,UAAkB,EAClB,IAAY;IAEZ,OAAO,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC;AAC1D,CAAC"}
@@ -5,4 +5,6 @@ export interface MetricDeltaPolicy {
5
5
  }
6
6
  export declare function attributeMetricDelta(baseline: Observation | undefined, target: Observation, changedEntities: readonly ChangedEntity[], policy: MetricDeltaPolicy): Finding;
7
7
  export declare function attributeMetricDelta(baseline: Observation, target: undefined, changedEntities: readonly ChangedEntity[], policy: MetricDeltaPolicy): undefined;
8
+ /** Validate and snapshot entity ownership once for one analyzer result. */
9
+ export declare function prepareMetricAttribution(changedEntities: readonly ChangedEntity[]): (baseline: Observation | undefined, target: Observation, policy: MetricDeltaPolicy) => Finding;
8
10
  //# sourceMappingURL=metrics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/attribution/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,OAAO,EACP,WAAW,EAEZ,MAAM,kBAAkB,CAAC;AAQ1B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC;AAoLD,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,WAAW,GAAG,SAAS,EACjC,MAAM,EAAE,WAAW,EACnB,eAAe,EAAE,SAAS,aAAa,EAAE,EACzC,MAAM,EAAE,iBAAiB,GACxB,OAAO,CAAC;AACX,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,SAAS,EACjB,eAAe,EAAE,SAAS,aAAa,EAAE,EACzC,MAAM,EAAE,iBAAiB,GACxB,SAAS,CAAC"}
1
+ {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/attribution/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,OAAO,EACP,WAAW,EAEZ,MAAM,kBAAkB,CAAC;AAQ1B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC;AAoLD,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,WAAW,GAAG,SAAS,EACjC,MAAM,EAAE,WAAW,EACnB,eAAe,EAAE,SAAS,aAAa,EAAE,EACzC,MAAM,EAAE,iBAAiB,GACxB,OAAO,CAAC;AACX,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,SAAS,EACjB,eAAe,EAAE,SAAS,aAAa,EAAE,EACzC,MAAM,EAAE,iBAAiB,GACxB,SAAS,CAAC;AAiBb,2EAA2E;AAC3E,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,SAAS,aAAa,EAAE,IAIvC,UAAU,WAAW,GAAG,SAAS,EACjC,QAAQ,WAAW,EACnB,QAAQ,iBAAiB,KACxB,OAAO,CAOX"}
@@ -148,6 +148,14 @@ function toFinding(target, attribution) {
148
148
  export function attributeMetricDelta(baseline, target, changedEntities, policy) {
149
149
  const policySnapshot = normalizePolicy(policy);
150
150
  const changed = normalizeChangedEntities(changedEntities);
151
+ return attributePreparedMetricDelta(baseline, target, changed, policySnapshot);
152
+ }
153
+ /** Validate and snapshot entity ownership once for one analyzer result. */
154
+ export function prepareMetricAttribution(changedEntities) {
155
+ const changed = normalizeChangedEntities(changedEntities);
156
+ return (baseline, target, policy) => attributePreparedMetricDelta(baseline, target, changed, normalizePolicy(policy));
157
+ }
158
+ function attributePreparedMetricDelta(baseline, target, changed, policySnapshot) {
151
159
  if (target === undefined) {
152
160
  if (baseline === undefined)
153
161
  throw new TypeError("Expected a baseline or target metric observation");
@@ -1 +1 @@
1
- {"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../src/attrib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AC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,kBAAkB,aAAa,EAAE,CAAC,CAAC;QAC3E,UAAU,cAAc,CAAC,QAAQ,EAAE;QACnC,SAAS,cAAc,CAAC,KAAK,EAAE;QAC/B,UACE,oBAAoB;YAClB,CAAC,CAAC,yBAAyB;YAC3B,CAAC,CAAC,YAAY;gBACZ,CAAC,CAAC,gBAAgB;gBAClB,CAAC,CAAC,uBACR,EAAE;QACF,gBAAgB,WAAW,EAAE;KAC9B,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,OAAO,SAAS,CACd,cAAc,EACd,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;KAClC,CAAC,CACH,CAAC;AACJ,CAAC"}
@@ -9,7 +9,7 @@ function comparisonIdentity(observation, location = observation.location) {
9
9
  location?.startColumn,
10
10
  location?.endLine,
11
11
  location?.endColumn,
12
- observation.message,
12
+ observation.comparisonIdentity ?? observation.message,
13
13
  ]))
14
14
  .digest("hex");
15
15
  }