zedbee 0.1.0-beta.12 → 0.1.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (812) hide show
  1. package/README.md +3 -2
  2. package/THIRD_PARTY_NOTICES.md +130 -14
  3. package/dist/attribution/entities.d.ts.map +1 -1
  4. package/dist/attribution/entities.js +32 -9
  5. package/dist/attribution/entities.js.map +1 -1
  6. package/dist/cache/key.d.ts.map +1 -1
  7. package/dist/cache/key.js +3 -0
  8. package/dist/cache/key.js.map +1 -1
  9. package/dist/checks/applicability.d.ts.map +1 -1
  10. package/dist/checks/applicability.js +12 -12
  11. package/dist/checks/applicability.js.map +1 -1
  12. package/dist/checks/complexity/adapter.d.ts.map +1 -1
  13. package/dist/checks/complexity/adapter.js +11 -6
  14. package/dist/checks/complexity/adapter.js.map +1 -1
  15. package/dist/checks/complexity/pair-class-metrics.d.ts +12 -0
  16. package/dist/checks/complexity/pair-class-metrics.d.ts.map +1 -0
  17. package/dist/checks/complexity/pair-class-metrics.js +187 -0
  18. package/dist/checks/complexity/pair-class-metrics.js.map +1 -0
  19. package/dist/checks/dead-code/adapter.d.ts.map +1 -1
  20. package/dist/checks/dead-code/adapter.js +8 -97
  21. package/dist/checks/dead-code/adapter.js.map +1 -1
  22. package/dist/checks/dead-code/import-boundary.d.ts +1 -1
  23. package/dist/checks/dead-code/import-boundary.d.ts.map +1 -1
  24. package/dist/checks/dead-code/import-boundary.js +3 -1
  25. package/dist/checks/dead-code/import-boundary.js.map +1 -1
  26. package/dist/checks/dead-code/knip-worker.js +19 -8
  27. package/dist/checks/dead-code/knip-worker.js.map +1 -1
  28. package/dist/checks/dead-code/managed-config.d.ts +3 -2
  29. package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
  30. package/dist/checks/dead-code/managed-config.js +23 -1
  31. package/dist/checks/dead-code/managed-config.js.map +1 -1
  32. package/dist/checks/dependency-architecture/adapter.d.ts.map +1 -1
  33. package/dist/checks/dependency-architecture/adapter.js +57 -46
  34. package/dist/checks/dependency-architecture/adapter.js.map +1 -1
  35. package/dist/checks/dependency-architecture/normalize-graph.d.ts +2 -0
  36. package/dist/checks/dependency-architecture/normalize-graph.d.ts.map +1 -1
  37. package/dist/checks/dependency-architecture/normalize-graph.js +12 -3
  38. package/dist/checks/dependency-architecture/normalize-graph.js.map +1 -1
  39. package/dist/checks/engine-identity.js +6 -6
  40. package/dist/checks/engine-identity.js.map +1 -1
  41. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
  42. package/dist/checks/eslint/lint-adapter.js +17 -13
  43. package/dist/checks/eslint/lint-adapter.js.map +1 -1
  44. package/dist/checks/events.d.ts +7 -1
  45. package/dist/checks/events.d.ts.map +1 -1
  46. package/dist/checks/observation-result.js +2 -2
  47. package/dist/checks/observation-result.js.map +1 -1
  48. package/dist/checks/project-inputs.d.ts +6 -0
  49. package/dist/checks/project-inputs.d.ts.map +1 -0
  50. package/dist/checks/project-inputs.js +32 -0
  51. package/dist/checks/project-inputs.js.map +1 -0
  52. package/dist/checks/secrets/content.d.ts.map +1 -1
  53. package/dist/checks/secrets/content.js +16 -7
  54. package/dist/checks/secrets/content.js.map +1 -1
  55. package/dist/checks/typescript/adapter.d.ts.map +1 -1
  56. package/dist/checks/typescript/adapter.js +6 -14
  57. package/dist/checks/typescript/adapter.js.map +1 -1
  58. package/dist/checks/typescript/aliases.d.ts +28 -0
  59. package/dist/checks/typescript/aliases.d.ts.map +1 -0
  60. package/dist/checks/typescript/aliases.js +259 -0
  61. package/dist/checks/typescript/aliases.js.map +1 -0
  62. package/dist/checks/typescript/configuration-paths.d.ts +7 -0
  63. package/dist/checks/typescript/configuration-paths.d.ts.map +1 -0
  64. package/dist/checks/typescript/configuration-paths.js +69 -0
  65. package/dist/checks/typescript/configuration-paths.js.map +1 -0
  66. package/dist/checks/typescript/project-coverage.d.ts +16 -0
  67. package/dist/checks/typescript/project-coverage.d.ts.map +1 -0
  68. package/dist/checks/typescript/project-coverage.js +49 -0
  69. package/dist/checks/typescript/project-coverage.js.map +1 -0
  70. package/dist/cli.d.ts.map +1 -1
  71. package/dist/cli.js +3 -0
  72. package/dist/cli.js.map +1 -1
  73. package/dist/commands/agent.js +1 -1
  74. package/dist/commands/agent.js.map +1 -1
  75. package/dist/commands/scan.d.ts +2 -1
  76. package/dist/commands/scan.d.ts.map +1 -1
  77. package/dist/commands/scan.js +5 -0
  78. package/dist/commands/scan.js.map +1 -1
  79. package/dist/commands/telemetry.d.ts.map +1 -1
  80. package/dist/commands/telemetry.js +3 -0
  81. package/dist/commands/telemetry.js.map +1 -1
  82. package/dist/fixes/build-plan.d.ts +1 -0
  83. package/dist/fixes/build-plan.d.ts.map +1 -1
  84. package/dist/fixes/build-plan.js +5 -1
  85. package/dist/fixes/build-plan.js.map +1 -1
  86. package/dist/git/change-set.d.ts.map +1 -1
  87. package/dist/git/change-set.js +9 -0
  88. package/dist/git/change-set.js.map +1 -1
  89. package/dist/git/client.d.ts +16 -0
  90. package/dist/git/client.d.ts.map +1 -1
  91. package/dist/git/client.js +44 -3
  92. package/dist/git/client.js.map +1 -1
  93. package/dist/git/merge-comparison.d.ts.map +1 -1
  94. package/dist/git/merge-comparison.js +16 -4
  95. package/dist/git/merge-comparison.js.map +1 -1
  96. package/dist/git/selected-comparison.d.ts +13 -0
  97. package/dist/git/selected-comparison.d.ts.map +1 -0
  98. package/dist/git/selected-comparison.js +143 -0
  99. package/dist/git/selected-comparison.js.map +1 -0
  100. package/dist/git/snapshot-work.d.ts +18 -0
  101. package/dist/git/snapshot-work.d.ts.map +1 -0
  102. package/dist/git/snapshot-work.js +59 -0
  103. package/dist/git/snapshot-work.js.map +1 -0
  104. package/dist/git/snapshot.d.ts +6 -1
  105. package/dist/git/snapshot.d.ts.map +1 -1
  106. package/dist/git/snapshot.js +102 -5
  107. package/dist/git/snapshot.js.map +1 -1
  108. package/dist/inspection/inspect-repository.d.ts.map +1 -1
  109. package/dist/inspection/inspect-repository.js +13 -0
  110. package/dist/inspection/inspect-repository.js.map +1 -1
  111. package/dist/inspection/snapshot-registry.d.ts +2 -0
  112. package/dist/inspection/snapshot-registry.d.ts.map +1 -1
  113. package/dist/inspection/snapshot-registry.js +34 -5
  114. package/dist/inspection/snapshot-registry.js.map +1 -1
  115. package/dist/inspection/types.d.ts +6 -1
  116. package/dist/inspection/types.d.ts.map +1 -1
  117. package/dist/inspection/types.js +7 -1
  118. package/dist/inspection/types.js.map +1 -1
  119. package/dist/inspection/workspaces.d.ts.map +1 -1
  120. package/dist/inspection/workspaces.js +17 -0
  121. package/dist/inspection/workspaces.js.map +1 -1
  122. package/dist/scan/analysis-failure.d.ts.map +1 -1
  123. package/dist/scan/analysis-failure.js +23 -0
  124. package/dist/scan/analysis-failure.js.map +1 -1
  125. package/dist/scan/analysis-session.d.ts +4 -0
  126. package/dist/scan/analysis-session.d.ts.map +1 -1
  127. package/dist/scan/analysis-session.js +60 -13
  128. package/dist/scan/analysis-session.js.map +1 -1
  129. package/dist/scan/incomplete-report.js +2 -2
  130. package/dist/scan/incomplete-report.js.map +1 -1
  131. package/dist/scan/merge-scan.d.ts +2 -1
  132. package/dist/scan/merge-scan.d.ts.map +1 -1
  133. package/dist/scan/merge-scan.js +82 -37
  134. package/dist/scan/merge-scan.js.map +1 -1
  135. package/dist/scan/progress.d.ts +4 -0
  136. package/dist/scan/progress.d.ts.map +1 -0
  137. package/dist/scan/progress.js +18 -0
  138. package/dist/scan/progress.js.map +1 -0
  139. package/dist/scan/run-scan.d.ts.map +1 -1
  140. package/dist/scan/run-scan.js +7 -3
  141. package/dist/scan/run-scan.js.map +1 -1
  142. package/dist/service/identity-parallel.js +3 -3
  143. package/dist/service/identity-parallel.js.map +1 -1
  144. package/dist/service/identity.js +4 -4
  145. package/dist/service/identity.js.map +1 -1
  146. package/dist/service/state.d.ts.map +1 -1
  147. package/dist/service/state.js +12 -1
  148. package/dist/service/state.js.map +1 -1
  149. package/dist/telemetry/ai-context.d.ts +14 -0
  150. package/dist/telemetry/ai-context.d.ts.map +1 -0
  151. package/dist/telemetry/ai-context.js +129 -0
  152. package/dist/telemetry/ai-context.js.map +1 -0
  153. package/dist/telemetry/batch.d.ts +4 -0
  154. package/dist/telemetry/batch.d.ts.map +1 -0
  155. package/dist/telemetry/batch.js +21 -0
  156. package/dist/telemetry/batch.js.map +1 -0
  157. package/dist/telemetry/client.d.ts +3 -0
  158. package/dist/telemetry/client.d.ts.map +1 -1
  159. package/dist/telemetry/client.js +63 -2
  160. package/dist/telemetry/client.js.map +1 -1
  161. package/dist/telemetry/details-store.d.ts +15 -0
  162. package/dist/telemetry/details-store.d.ts.map +1 -0
  163. package/dist/telemetry/details-store.js +198 -0
  164. package/dist/telemetry/details-store.js.map +1 -0
  165. package/dist/telemetry/finding-catalog.d.ts +2 -0
  166. package/dist/telemetry/finding-catalog.d.ts.map +1 -0
  167. package/dist/telemetry/finding-catalog.js +2817 -0
  168. package/dist/telemetry/finding-catalog.js.map +1 -0
  169. package/dist/telemetry/finding-rules.d.ts +3 -0
  170. package/dist/telemetry/finding-rules.d.ts.map +1 -0
  171. package/dist/telemetry/finding-rules.js +16 -0
  172. package/dist/telemetry/finding-rules.js.map +1 -0
  173. package/dist/telemetry/finding-summary.d.ts +8 -0
  174. package/dist/telemetry/finding-summary.d.ts.map +1 -0
  175. package/dist/telemetry/finding-summary.js +63 -0
  176. package/dist/telemetry/finding-summary.js.map +1 -0
  177. package/dist/telemetry/schema.d.ts +602 -3
  178. package/dist/telemetry/schema.d.ts.map +1 -1
  179. package/dist/telemetry/schema.js +117 -1
  180. package/dist/telemetry/schema.js.map +1 -1
  181. package/dist/telemetry/state.d.ts +2 -2
  182. package/dist/telemetry/state.d.ts.map +1 -1
  183. package/dist/telemetry/state.js +3 -3
  184. package/dist/telemetry/state.js.map +1 -1
  185. package/dist/telemetry/transport.d.ts.map +1 -1
  186. package/dist/telemetry/transport.js +5 -1
  187. package/dist/telemetry/transport.js.map +1 -1
  188. package/dist/telemetry/worker.d.ts.map +1 -1
  189. package/dist/telemetry/worker.js +9 -1
  190. package/dist/telemetry/worker.js.map +1 -1
  191. package/dist/ui/init-app.js +1 -1
  192. package/dist/ui/init-app.js.map +1 -1
  193. package/dist/ui/live-dashboard.d.ts +5 -1
  194. package/dist/ui/live-dashboard.d.ts.map +1 -1
  195. package/dist/ui/live-dashboard.js +46 -4
  196. package/dist/ui/live-dashboard.js.map +1 -1
  197. package/dist/vendor/knip/node_modules/get-tsconfig/LICENSE +21 -0
  198. package/dist/vendor/knip/node_modules/get-tsconfig/README.md +268 -0
  199. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.cjs +7 -0
  200. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
  201. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
  202. package/dist/vendor/knip/node_modules/get-tsconfig/dist/index.mjs +7 -0
  203. package/dist/vendor/knip/node_modules/get-tsconfig/package.json +46 -0
  204. package/docs/checks.md +32 -5
  205. package/docs/cli-reference.md +9 -1
  206. package/docs/commercial-licensing.md +1 -1
  207. package/docs/privacy.md +34 -2
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts +2 -0
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +3 -0
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts +2 -0
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +3 -0
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.d.ts +2 -0
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +3 -0
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.d.ts +2 -0
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +3 -0
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +3 -0
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +3 -0
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +3 -0
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +3 -0
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +9 -447
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +9 -447
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +2 -0
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +2 -0
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.d.ts +6 -1
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +41 -6
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +2 -0
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +2 -0
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +2 -0
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +2 -0
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +2 -0
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +2 -0
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +2 -0
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +2 -0
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +2 -0
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +2 -0
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +2 -0
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +2 -0
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +2 -0
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +9 -0
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +69 -0
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +2 -0
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +2 -0
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +2 -0
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -447
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +141 -273
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +2 -0
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +2 -0
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +59 -1
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +2 -0
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
  277. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +2 -0
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +2 -0
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +2 -0
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +2 -0
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +2 -0
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +30 -10
  285. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +57 -2
  286. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +2 -0
  287. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +2 -0
  288. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +2 -0
  289. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +2 -0
  290. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +2 -0
  291. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +3 -0
  292. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +10 -4
  293. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +12 -2
  294. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +2 -0
  295. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +2 -0
  296. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +65 -55
  297. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +2 -0
  298. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.d.ts +4 -0
  299. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-generated-empty-object-type.js +97 -0
  300. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +2 -0
  301. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +2 -0
  302. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +2 -0
  303. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +2 -0
  304. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +2 -0
  305. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +2 -0
  306. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +2 -0
  307. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +2 -0
  308. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.d.ts +1 -1
  309. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +49 -1
  310. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +2 -0
  311. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.d.ts +5 -1
  312. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +76 -4
  313. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +6 -1
  314. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +35 -23
  315. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +2 -0
  316. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +2 -0
  317. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +2 -0
  318. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +2 -0
  319. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +2 -0
  320. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +6 -2
  321. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +2 -0
  322. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -0
  323. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +2 -0
  324. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +2 -0
  325. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +2 -0
  326. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +2 -0
  327. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +2 -0
  328. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +85 -12
  329. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +14 -4
  330. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +2 -0
  331. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +4 -14
  332. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +2 -0
  333. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +2 -3
  334. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +52 -49
  335. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +3 -0
  336. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -0
  337. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +46 -18
  338. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +3 -91
  339. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +2 -0
  340. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +2 -0
  341. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +2 -0
  342. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.d.ts +5 -0
  343. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-assignment.js +518 -0
  344. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +4 -113
  345. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +2 -0
  346. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +2 -0
  347. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +2 -0
  348. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +2 -0
  349. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +2 -0
  350. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +2 -0
  351. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +2 -0
  352. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +6 -5
  353. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +2 -0
  354. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +2 -0
  355. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.d.ts +1 -1
  356. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +29 -7
  357. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +2 -0
  358. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +3 -0
  359. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +2 -0
  360. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +2 -0
  361. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +2 -0
  362. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +2 -0
  363. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +2 -0
  364. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +2 -0
  365. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +2 -0
  366. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +2 -0
  367. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +2 -0
  368. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +2 -0
  369. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +2 -0
  370. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +2 -0
  371. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +2 -0
  372. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +4 -3
  373. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
  374. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +47 -10
  375. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
  376. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
  377. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +2 -0
  378. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +2 -0
  379. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +2 -0
  380. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +2 -0
  381. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +2 -0
  382. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +2 -0
  383. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +2 -0
  384. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +2 -0
  385. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -0
  386. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +3 -0
  387. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +2 -0
  388. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +2 -0
  389. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +50 -3
  390. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +2 -0
  391. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +2 -0
  392. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +2 -0
  393. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +12 -9
  394. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +3 -0
  395. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +2 -0
  396. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
  397. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +100 -5
  398. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +3 -1
  399. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +6 -1
  400. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +2 -0
  401. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +39 -12
  402. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
  403. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +75 -37
  404. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +2 -0
  405. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
  406. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
  407. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
  408. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
  409. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
  410. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
  411. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
  412. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
  413. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
  414. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +11 -7
  415. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
  416. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
  417. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
  418. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.d.ts +4 -0
  419. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getAwaitTokenRemovalRange.js +15 -0
  420. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
  421. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
  422. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
  423. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
  424. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
  425. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
  426. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
  427. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +2 -0
  428. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
  429. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
  430. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
  431. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
  432. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
  433. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
  434. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
  435. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -1
  436. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
  437. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +4 -0
  438. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +5 -0
  439. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
  440. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
  441. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
  442. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
  443. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
  444. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
  445. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
  446. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.d.ts +2 -0
  447. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBodyNeedingParentheses.js +30 -0
  448. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
  449. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.d.ts +2 -0
  450. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatementNeedingParentheses.js +9 -0
  451. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
  452. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.d.ts +4 -0
  453. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeOnlyReference.js +23 -0
  454. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
  455. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.d.ts +6 -0
  456. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/lazyRules.js +18 -0
  457. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
  458. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
  459. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
  460. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
  461. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
  462. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
  463. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
  464. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
  465. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
  466. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
  467. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +3 -1
  468. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
  469. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
  470. package/node_modules/@typescript-eslint/eslint-plugin/package.json +19 -18
  471. package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
  472. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
  473. package/node_modules/@typescript-eslint/parser/package.json +9 -8
  474. package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +10 -9
  475. package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
  476. package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
  477. package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.d.ts +7 -0
  478. package/node_modules/@typescript-eslint/project-service/dist/throttleOpenedFileCleanup.js +37 -0
  479. package/node_modules/@typescript-eslint/project-service/package.json +7 -6
  480. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +3 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
  621. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
  622. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
  623. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
  624. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
  625. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
  626. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +13 -1
  627. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
  628. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
  629. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
  630. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
  631. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
  632. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
  633. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
  634. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
  635. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
  636. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
  637. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
  638. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
  639. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
  640. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
  641. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
  642. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
  643. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
  644. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
  645. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
  646. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
  647. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
  648. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
  649. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
  650. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
  651. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
  652. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
  653. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
  654. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
  655. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
  656. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
  657. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
  658. package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
  659. package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
  660. package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
  661. package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
  662. package/node_modules/@typescript-eslint/tsconfig-utils/package.json +4 -3
  663. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +4 -14
  664. package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
  665. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
  666. package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +7 -0
  667. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
  668. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
  669. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
  670. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
  671. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
  672. package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
  673. package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
  674. package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +3 -1
  675. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +10 -5
  676. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
  677. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +5 -0
  678. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +11 -0
  679. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
  680. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
  681. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +2 -1
  682. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
  683. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.d.ts +3 -0
  684. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierSourceMatches.js +19 -0
  685. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
  686. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
  687. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.d.ts +1 -1
  688. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +87 -9
  689. package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
  690. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +3 -3
  691. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
  692. package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
  693. package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
  694. package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
  695. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
  696. package/node_modules/@typescript-eslint/types/package.json +8 -7
  697. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
  698. package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +7 -0
  699. package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +8 -0
  700. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +3 -0
  701. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
  702. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -1
  703. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +12 -2
  704. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
  705. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
  706. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
  707. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +3 -2
  708. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
  709. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
  710. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +2 -0
  711. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +14 -6
  712. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +23 -0
  713. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +86 -1
  714. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
  715. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
  716. package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
  717. package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
  718. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
  719. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
  720. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
  721. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +48 -2
  722. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
  723. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
  724. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +2 -0
  725. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
  726. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
  727. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
  728. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
  729. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
  730. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
  731. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
  732. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
  733. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
  734. package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
  735. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
  736. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
  737. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
  738. package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
  739. package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +45 -4
  740. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
  741. package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
  742. package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
  743. package/node_modules/@typescript-eslint/typescript-estree/package.json +9 -8
  744. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
  745. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
  746. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
  747. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
  748. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
  749. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
  750. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
  751. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
  752. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
  753. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
  754. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
  755. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +2 -0
  756. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
  757. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
  758. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
  759. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
  760. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
  761. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
  762. package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
  763. package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
  764. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
  765. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
  766. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
  767. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
  768. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
  769. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
  770. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
  771. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
  772. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
  773. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
  774. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
  775. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
  776. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
  777. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
  778. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
  779. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
  780. package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
  781. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.d.ts +1 -1
  782. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
  783. package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
  784. package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
  785. package/node_modules/@typescript-eslint/utils/package.json +7 -6
  786. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
  787. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
  788. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
  789. package/node_modules/@typescript-eslint/visitor-keys/package.json +6 -5
  790. package/node_modules/dependency-cruiser/node_modules/ignore/LICENSE-MIT +21 -0
  791. package/node_modules/dependency-cruiser/node_modules/ignore/README.md +452 -0
  792. package/node_modules/dependency-cruiser/node_modules/ignore/index.d.ts +81 -0
  793. package/node_modules/dependency-cruiser/node_modules/ignore/index.js +793 -0
  794. package/node_modules/dependency-cruiser/node_modules/ignore/legacy.js +690 -0
  795. package/node_modules/dependency-cruiser/node_modules/ignore/package.json +87 -0
  796. package/node_modules/get-tsconfig/dist/index.cjs +4 -4
  797. package/node_modules/get-tsconfig/dist/index.mjs +4 -4
  798. package/node_modules/get-tsconfig/package.json +1 -1
  799. package/node_modules/ignore/README.md +49 -0
  800. package/node_modules/ignore/index.js +906 -162
  801. package/node_modules/ignore/legacy.js +760 -127
  802. package/node_modules/ignore/package.json +10 -4
  803. package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
  804. package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
  805. package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
  806. package/node_modules/typescript-eslint/dist/globs.js +1 -0
  807. package/node_modules/typescript-eslint/dist/index.js +2 -0
  808. package/node_modules/typescript-eslint/package.json +13 -20
  809. package/package.json +11 -9
  810. package/plugins/swarm/README.md +31 -14
  811. package/schema/zedbee.schema.json +12 -0
  812. /package/plugins/swarm/{skills/scan/SKILL.md → references/scan.md} +0 -0
@@ -0,0 +1,452 @@
1
+ | Linux / MacOS / Windows | Coverage | Downloads |
2
+ | ----------------------- | -------- | --------- |
3
+ | [![build][bb]][bl] | [![coverage][cb]][cl] | [![downloads][db]][dl] |
4
+
5
+ [bb]: https://github.com/kaelzhang/node-ignore/actions/workflows/nodejs.yml/badge.svg
6
+ [bl]: https://github.com/kaelzhang/node-ignore/actions/workflows/nodejs.yml
7
+
8
+ [cb]: https://codecov.io/gh/kaelzhang/node-ignore/branch/master/graph/badge.svg
9
+ [cl]: https://codecov.io/gh/kaelzhang/node-ignore
10
+
11
+ [db]: http://img.shields.io/npm/dm/ignore.svg
12
+ [dl]: https://www.npmjs.org/package/ignore
13
+
14
+ # ignore
15
+
16
+ `ignore` is a manager, filter and parser which implemented in pure JavaScript according to the [.gitignore spec 2.22.1](http://git-scm.com/docs/gitignore).
17
+
18
+ `ignore` is used by eslint, gitbook and [many others](https://www.npmjs.com/browse/depended/ignore).
19
+
20
+ Pay **ATTENTION** that [`minimatch`](https://www.npmjs.org/package/minimatch) (which used by `fstream-ignore`) does not follow the gitignore spec.
21
+
22
+ To filter filenames according to a .gitignore file, I recommend this npm package, `ignore`.
23
+
24
+ To parse an `.npmignore` file, you should use `minimatch`, because an `.npmignore` file is parsed by npm using `minimatch` and it does not work in the .gitignore way.
25
+
26
+ ### Tested on
27
+
28
+ `ignore` is fully tested, and has more than **five hundreds** of unit tests.
29
+
30
+ - Linux + Node: `0.8` - `7.x`
31
+ - Windows + Node: `0.10` - `7.x`, node < `0.10` is not tested due to the lack of support of appveyor.
32
+
33
+ Actually, `ignore` does not rely on any versions of node specially.
34
+
35
+ Since `4.0.0`, ignore will no longer support `node < 6` by default, to use in node < 6, `require('ignore/legacy')`. For details, see [CHANGELOG](https://github.com/kaelzhang/node-ignore/blob/master/CHANGELOG.md).
36
+
37
+ ## Table Of Main Contents
38
+
39
+ - [Usage](#usage)
40
+ - [`Pathname` Conventions](#pathname-conventions)
41
+ - See Also:
42
+ - [`glob-gitignore`](https://www.npmjs.com/package/glob-gitignore) matches files using patterns and filters them according to gitignore rules.
43
+ - [Upgrade Guide](#upgrade-guide)
44
+
45
+ ## Install
46
+
47
+ ```sh
48
+ npm i ignore
49
+ ```
50
+
51
+ ## Usage
52
+
53
+ ```js
54
+ import ignore from 'ignore'
55
+ const ig = ignore().add(['.abc/*', '!.abc/d/'])
56
+ ```
57
+
58
+ ### Filter the given paths
59
+
60
+ ```js
61
+ const paths = [
62
+ '.abc/a.js', // filtered out
63
+ '.abc/d/e.js' // included
64
+ ]
65
+
66
+ ig.filter(paths) // ['.abc/d/e.js']
67
+ ig.ignores('.abc/a.js') // true
68
+ ```
69
+
70
+ ### As the filter function
71
+
72
+ ```js
73
+ paths.filter(ig.createFilter()); // ['.abc/d/e.js']
74
+ ```
75
+
76
+ ### Win32 paths will be handled
77
+
78
+ ```js
79
+ ig.filter(['.abc\\a.js', '.abc\\d\\e.js'])
80
+ // if the code above runs on windows, the result will be
81
+ // ['.abc\\d\\e.js']
82
+ ```
83
+
84
+ ## Why another ignore?
85
+
86
+ - `ignore` is a standalone module, and is much simpler so that it could easy work with other programs, unlike [isaacs](https://npmjs.org/~isaacs)'s [fstream-ignore](https://npmjs.org/package/fstream-ignore) which must work with the modules of the fstream family.
87
+
88
+ - `ignore` only contains utility methods to filter paths according to the specified ignore rules, so
89
+ - `ignore` never try to find out ignore rules by traversing directories or fetching from git configurations.
90
+ - `ignore` don't cares about sub-modules of git projects.
91
+
92
+ - Exactly according to [gitignore man page](http://git-scm.com/docs/gitignore), fixes some known matching issues of fstream-ignore, such as:
93
+ - '`/*.js`' should only match '`a.js`', but not '`abc/a.js`'.
94
+ - '`**/foo`' should match '`foo`' anywhere.
95
+ - Prevent re-including a file if a parent directory of that file is excluded.
96
+ - Handle trailing whitespaces:
97
+ - `'a '`(one space) should not match `'a '`(two spaces).
98
+ - `'a \ '` matches `'a '`
99
+ - All test cases are verified with the result of `git check-ignore`.
100
+
101
+ # Methods
102
+
103
+ ## .add(pattern: string | Ignore): this
104
+ ## .add(patterns: Array<string | Ignore>): this
105
+ ## .add({pattern: string, mark?: string}): this since 7.0.0
106
+
107
+ - **pattern** `string | Ignore` An ignore pattern string, or the `Ignore` instance
108
+ - **patterns** `Array<string | Ignore>` Array of ignore patterns.
109
+ - **mark?** `string` Pattern mark, which is used to associate the pattern with a certain marker, such as the line no of the `.gitignore` file. Actually it could be an arbitrary string and is optional.
110
+
111
+ Adds a rule or several rules to the current manager.
112
+
113
+ Returns `this`
114
+
115
+ Notice that a line starting with `'#'`(hash) is treated as a comment. Put a backslash (`'\'`) in front of the first hash for patterns that begin with a hash, if you want to ignore a file with a hash at the beginning of the filename.
116
+
117
+ ```js
118
+ ignore().add('#abc').ignores('#abc') // false
119
+ ignore().add('\\#abc').ignores('#abc') // true
120
+ ```
121
+
122
+ `pattern` could either be a line of ignore pattern or a string of multiple ignore patterns, which means we could just `ignore().add()` the content of a ignore file:
123
+
124
+ ```js
125
+ ignore()
126
+ .add(fs.readFileSync(filenameOfGitignore).toString())
127
+ .filter(filenames)
128
+ ```
129
+
130
+ `pattern` could also be an `ignore` instance, so that we could easily inherit the rules of another `Ignore` instance.
131
+
132
+ ## .ignores(pathname: [Pathname](#pathname-conventions)): boolean
133
+
134
+ > new in 3.2.0
135
+
136
+ Returns `Boolean` whether `pathname` should be ignored.
137
+
138
+ ```js
139
+ ig.ignores('.abc/a.js') // true
140
+ ```
141
+
142
+ Please **PAY ATTENTION** that `.ignores()` is **NOT** equivalent to `git check-ignore` although in most cases they return equivalent results.
143
+
144
+ However, for the purposes of imitating the behavior of `git check-ignore`, please use `.checkIgnore()` instead.
145
+
146
+ ### `Pathname` Conventions:
147
+
148
+ #### 1. `Pathname` should be a `path.relative()`d pathname
149
+
150
+ `Pathname` should be a string that have been `path.join()`ed, or the return value of `path.relative()` to the current directory,
151
+
152
+ ```js
153
+ // WRONG, an error will be thrown
154
+ ig.ignores('./abc')
155
+
156
+ // WRONG, for it will never happen, and an error will be thrown
157
+ // If the gitignore rule locates at the root directory,
158
+ // `'/abc'` should be changed to `'abc'`.
159
+ // ```
160
+ // path.relative('/', '/abc') -> 'abc'
161
+ // ```
162
+ ig.ignores('/abc')
163
+
164
+ // WRONG, that it is an absolute path on Windows, an error will be thrown
165
+ ig.ignores('C:\\abc')
166
+
167
+ // Right
168
+ ig.ignores('abc')
169
+
170
+ // Right
171
+ ig.ignores(path.join('./abc')) // path.join('./abc') -> 'abc'
172
+ ```
173
+
174
+ In other words, each `Pathname` here should be a relative path to the directory of the gitignore rules.
175
+
176
+ Suppose the dir structure is:
177
+
178
+ ```
179
+ /path/to/your/repo
180
+ |-- a
181
+ | |-- a.js
182
+ |
183
+ |-- .b
184
+ |
185
+ |-- .c
186
+ |-- .DS_store
187
+ ```
188
+
189
+ Then the `paths` might be like this:
190
+
191
+ ```js
192
+ [
193
+ 'a/a.js'
194
+ '.b',
195
+ '.c/.DS_store'
196
+ ]
197
+ ```
198
+
199
+ #### 2. filenames and dirnames
200
+
201
+ `node-ignore` does NO `fs.stat` during path matching, so `node-ignore` treats
202
+ - `foo` as a file
203
+ - **`foo/` as a directory**
204
+
205
+ For the example below:
206
+
207
+ ```js
208
+ // First, we add a ignore pattern to ignore a directory
209
+ ig.add('config/')
210
+
211
+ // `ig` does NOT know if 'config', in the real world,
212
+ // is a normal file, directory or something.
213
+
214
+ ig.ignores('config')
215
+ // `ig` treats `config` as a file, so it returns `false`
216
+
217
+ ig.ignores('config/')
218
+ // returns `true`
219
+ ```
220
+
221
+ Specially for people who develop some library based on `node-ignore`, it is important to understand that.
222
+
223
+ Usually, you could use [`glob`](http://npmjs.org/package/glob) with `option.mark = true` to fetch the structure of the current directory:
224
+
225
+ ```js
226
+ import glob from 'glob'
227
+
228
+ glob('**', {
229
+ // Adds a / character to directory matches.
230
+ mark: true
231
+ }, (err, files) => {
232
+ if (err) {
233
+ return console.error(err)
234
+ }
235
+
236
+ let filtered = ignore().add(patterns).filter(files)
237
+ console.log(filtered)
238
+ })
239
+ ```
240
+
241
+
242
+ ## .filter(paths: Array&lt;Pathname&gt;): Array&lt;Pathname&gt;
243
+
244
+ ```ts
245
+ type Pathname = string
246
+ ```
247
+
248
+ Filters the given array of pathnames, and returns the filtered array.
249
+
250
+ - **paths** `Array.<Pathname>` The array of `pathname`s to be filtered.
251
+
252
+ ## .createFilter()
253
+
254
+ Creates a filter function which could filter an array of paths with `Array.prototype.filter`.
255
+
256
+ Returns `function(path)` the filter function.
257
+
258
+ ## .test(pathname: Pathname): TestResult
259
+
260
+ > New in 5.0.0
261
+
262
+ Returns `TestResult`
263
+
264
+ ```ts
265
+ // Since 5.0.0
266
+ interface TestResult {
267
+ ignored: boolean
268
+ // true if the `pathname` is finally unignored by some negative pattern
269
+ unignored: boolean
270
+ // The `IgnoreRule` which ignores the pathname
271
+ rule?: IgnoreRule
272
+ }
273
+
274
+ // Since 7.0.0
275
+ interface IgnoreRule {
276
+ // The original pattern
277
+ pattern: string
278
+ // Whether the pattern is a negative pattern
279
+ negative: boolean
280
+ // Which is used for other packages to build things upon `node-ignore`
281
+ mark?: string
282
+ }
283
+ ```
284
+
285
+ - `{ignored: true, unignored: false}`: the `pathname` is ignored
286
+ - `{ignored: false, unignored: true}`: the `pathname` is unignored
287
+ - `{ignored: false, unignored: false}`: the `pathname` is never matched by any ignore rules.
288
+
289
+ ## .checkIgnore(target: string): TestResult
290
+
291
+ > new in 7.0.0
292
+
293
+ Debugs gitignore / exclude files, which is equivalent to `git check-ignore -v`. Usually this method is used for other packages to implement the function of `git check-ignore -v` upon `node-ignore`
294
+
295
+ - **target** `string` the target to test.
296
+
297
+ Returns `TestResult`
298
+
299
+ ```js
300
+ ig.add({
301
+ pattern: 'foo/*',
302
+ mark: '60'
303
+ })
304
+
305
+ const {
306
+ ignored,
307
+ rule
308
+ } = checkIgnore('foo/')
309
+
310
+ if (ignored) {
311
+ console.log(`.gitignore:${result}:${rule.mark}:${rule.pattern} foo/`)
312
+ }
313
+
314
+ // .gitignore:60:foo/* foo/
315
+ ```
316
+
317
+ Please pay attention that this method does not have a strong built-in cache mechanism.
318
+
319
+ The purpose of introducing this method is to make it possible to implement the `git check-ignore` command in JavaScript based on `node-ignore`.
320
+
321
+ So do not use this method in those situations where performance is extremely important.
322
+
323
+ ## static `isPathValid(pathname): boolean` since 5.0.0
324
+
325
+ Check whether the `pathname` is an valid `path.relative()`d path according to the [convention](#1-pathname-should-be-a-pathrelatived-pathname).
326
+
327
+ This method is **NOT** used to check if an ignore pattern is valid.
328
+
329
+ ```js
330
+ import {isPathValid} from 'ignore'
331
+
332
+ isPathValid('./foo') // false
333
+ ```
334
+
335
+ ## <strike>.addIgnoreFile(path)</strike>
336
+
337
+ REMOVED in `3.x` for now.
338
+
339
+ To upgrade `ignore@2.x` up to `3.x`, use
340
+
341
+ ```js
342
+ import fs from 'fs'
343
+
344
+ if (fs.existsSync(filename)) {
345
+ ignore().add(fs.readFileSync(filename).toString())
346
+ }
347
+ ```
348
+
349
+ instead.
350
+
351
+ ## ignore(options)
352
+
353
+ ### `options.ignorecase` since 4.0.0
354
+
355
+ Similar to the `core.ignorecase` option of [git-config](https://git-scm.com/docs/git-config), `node-ignore` will be case insensitive if `options.ignorecase` is set to `true` (the default value), otherwise case sensitive.
356
+
357
+ ```js
358
+ const ig = ignore({
359
+ ignorecase: false
360
+ })
361
+
362
+ ig.add('*.png')
363
+
364
+ ig.ignores('*.PNG') // false
365
+ ```
366
+
367
+ ### `options.ignoreCase?: boolean` since 5.2.0
368
+
369
+ Which is an alternative to `options.ignoreCase`
370
+
371
+ ### `options.allowRelativePaths?: boolean` since 5.2.0
372
+
373
+ This option brings backward compatibility with projects which based on `ignore@4.x`. If `options.allowRelativePaths` is `true`, `ignore` will not check whether the given path to be tested is [`path.relative()`d](#pathname-conventions).
374
+
375
+ However, passing a relative path, such as `'./foo'` or `'../foo'`, to test if it is ignored or not is not a good practise, which might lead to unexpected behavior
376
+
377
+ ```js
378
+ ignore({
379
+ allowRelativePaths: true
380
+ }).ignores('../foo/bar.js') // And it will not throw
381
+ ```
382
+
383
+ ****
384
+
385
+ # Upgrade Guide
386
+
387
+ ## Upgrade 4.x -> 5.x
388
+
389
+ Since `5.0.0`, if an invalid `Pathname` passed into `ig.ignores()`, an error will be thrown, unless `options.allowRelative = true` is passed to the `Ignore` factory.
390
+
391
+ While `ignore < 5.0.0` did not make sure what the return value was, as well as
392
+
393
+ ```ts
394
+ .ignores(pathname: Pathname): boolean
395
+
396
+ .filter(pathnames: Array<Pathname>): Array<Pathname>
397
+
398
+ .createFilter(): (pathname: Pathname) => boolean
399
+
400
+ .test(pathname: Pathname): {ignored: boolean, unignored: boolean}
401
+ ```
402
+
403
+ See the convention [here](#1-pathname-should-be-a-pathrelatived-pathname) for details.
404
+
405
+ If there are invalid pathnames, the conversion and filtration should be done by users.
406
+
407
+ ```js
408
+ import {isPathValid} from 'ignore' // introduced in 5.0.0
409
+
410
+ const paths = [
411
+ // invalid
412
+ //////////////////
413
+ '',
414
+ false,
415
+ '../foo',
416
+ '.',
417
+ //////////////////
418
+
419
+ // valid
420
+ 'foo'
421
+ ]
422
+ .filter(isPathValid)
423
+
424
+ ig.filter(paths)
425
+ ```
426
+
427
+ ## Upgrade 3.x -> 4.x
428
+
429
+ Since `4.0.0`, `ignore` will no longer support node < 6, to use `ignore` in node < 6:
430
+
431
+ ```js
432
+ var ignore = require('ignore/legacy')
433
+ ```
434
+
435
+ ## Upgrade 2.x -> 3.x
436
+
437
+ - All `options` of 2.x are unnecessary and removed, so just remove them.
438
+ - `ignore()` instance is no longer an [`EventEmitter`](nodejs.org/api/events.html), and all events are unnecessary and removed.
439
+ - `.addIgnoreFile()` is removed, see the [.addIgnoreFile](#addignorefilepath) section for details.
440
+
441
+ ****
442
+
443
+ # Collaborators
444
+
445
+ - [@whitecolor](https://github.com/whitecolor) *Alex*
446
+ - [@SamyPesse](https://github.com/SamyPesse) *Samy Pessé*
447
+ - [@azproduction](https://github.com/azproduction) *Mikhail Davydov*
448
+ - [@TrySound](https://github.com/TrySound) *Bogdan Chadkin*
449
+ - [@JanMattner](https://github.com/JanMattner) *Jan Mattner*
450
+ - [@ntwb](https://github.com/ntwb) *Stephen Edgar*
451
+ - [@kasperisager](https://github.com/kasperisager) *Kasper Isager*
452
+ - [@sandersn](https://github.com/sandersn) *Nathan Shively-Sanders*
@@ -0,0 +1,81 @@
1
+ type Pathname = string
2
+
3
+ interface IgnoreRule {
4
+ pattern: string
5
+ mark?: string
6
+ negative: boolean
7
+ }
8
+
9
+ interface TestResult {
10
+ ignored: boolean
11
+ unignored: boolean
12
+ rule?: IgnoreRule
13
+ }
14
+
15
+ interface PatternParams {
16
+ pattern: string
17
+ mark?: string
18
+ }
19
+
20
+ /**
21
+ * Creates new ignore manager.
22
+ */
23
+ declare function ignore(options?: ignore.Options): ignore.Ignore
24
+ declare namespace ignore {
25
+ interface Ignore {
26
+ /**
27
+ * Adds one or several rules to the current manager.
28
+ * @param {string[]} patterns
29
+ * @returns IgnoreBase
30
+ */
31
+ add(
32
+ patterns: string | Ignore | readonly (string | Ignore)[] | PatternParams
33
+ ): this
34
+
35
+ /**
36
+ * Filters the given array of pathnames, and returns the filtered array.
37
+ * NOTICE that each path here should be a relative path to the root of your repository.
38
+ * @param paths the array of paths to be filtered.
39
+ * @returns The filtered array of paths
40
+ */
41
+ filter(pathnames: readonly Pathname[]): Pathname[]
42
+
43
+ /**
44
+ * Creates a filter function which could filter
45
+ * an array of paths with Array.prototype.filter.
46
+ */
47
+ createFilter(): (pathname: Pathname) => boolean
48
+
49
+ /**
50
+ * Returns Boolean whether pathname should be ignored.
51
+ * @param {string} pathname a path to check
52
+ * @returns boolean
53
+ */
54
+ ignores(pathname: Pathname): boolean
55
+
56
+ /**
57
+ * Returns whether pathname should be ignored or unignored
58
+ * @param {string} pathname a path to check
59
+ * @returns TestResult
60
+ */
61
+ test(pathname: Pathname): TestResult
62
+
63
+ /**
64
+ * Debugs ignore rules and returns the checking result, which is
65
+ * equivalent to `git check-ignore -v`.
66
+ * @returns TestResult
67
+ */
68
+ checkIgnore(pathname: Pathname): TestResult
69
+ }
70
+
71
+ interface Options {
72
+ ignorecase?: boolean
73
+ // For compatibility
74
+ ignoreCase?: boolean
75
+ allowRelativePaths?: boolean
76
+ }
77
+
78
+ function isPathValid(pathname: string): boolean
79
+ }
80
+
81
+ export = ignore