@askviraj/linter 1.1.4 → 1.1.6

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 (821) hide show
  1. package/node_modules/@astrojs/compiler-binding/package.json +10 -10
  2. package/node_modules/@astrojs/compiler-binding-darwin-arm64/README.md +3 -0
  3. package/node_modules/@astrojs/compiler-binding-darwin-arm64/astro.darwin-arm64.node +0 -0
  4. package/node_modules/@astrojs/compiler-binding-darwin-arm64/package.json +37 -0
  5. package/node_modules/@astrojs/compiler-binding-darwin-x64/README.md +3 -0
  6. package/node_modules/@astrojs/compiler-binding-darwin-x64/astro.darwin-x64.node +0 -0
  7. package/node_modules/@astrojs/compiler-binding-darwin-x64/package.json +37 -0
  8. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/README.md +3 -0
  9. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/astro.linux-arm64-gnu.node +0 -0
  10. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/package.json +40 -0
  11. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/README.md +3 -0
  12. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/astro.linux-arm64-musl.node +0 -0
  13. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/package.json +40 -0
  14. package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/astro.linux-x64-gnu.node +0 -0
  15. package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/package.json +1 -1
  16. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/README.md +3 -0
  17. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/astro.linux-x64-musl.node +0 -0
  18. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/package.json +40 -0
  19. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/README.md +3 -0
  20. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/astro.win32-arm64-msvc.node +0 -0
  21. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/package.json +37 -0
  22. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/README.md +3 -0
  23. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/astro.win32-x64-msvc.node +0 -0
  24. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/package.json +37 -0
  25. package/node_modules/@astrojs/compiler-rs/package.json +2 -2
  26. package/node_modules/@html-eslint/core/dist/index.js +2 -0
  27. package/node_modules/@html-eslint/core/dist/index.js.map +1 -1
  28. package/node_modules/@html-eslint/core/dist/index.mjs +2 -0
  29. package/node_modules/@html-eslint/core/dist/index.mjs.map +1 -1
  30. package/node_modules/@html-eslint/core/package.json +3 -3
  31. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-attrs.js +140 -16
  32. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-id.js +24 -5
  33. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-in-head.js +17 -5
  34. package/node_modules/@html-eslint/eslint-plugin/lib/rules/utils/branch-segments.js +147 -0
  35. package/node_modules/@html-eslint/eslint-plugin/package.json +7 -7
  36. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-attrs.d.ts.map +1 -1
  37. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-id.d.ts.map +1 -1
  38. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-in-head.d.ts.map +1 -1
  39. package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts +71 -0
  40. package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts.map +1 -0
  41. package/node_modules/@html-eslint/parser/lib/branch-annotation.js +282 -0
  42. package/node_modules/@html-eslint/parser/lib/options.js +47 -2
  43. package/node_modules/@html-eslint/parser/lib/parser.js +62 -1
  44. package/node_modules/@html-eslint/parser/lib/template-engine-syntax-preset.js +117 -2
  45. package/node_modules/@html-eslint/parser/package.json +4 -4
  46. package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts +93 -0
  47. package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts.map +1 -0
  48. package/node_modules/@html-eslint/parser/types/options.d.ts +12 -1
  49. package/node_modules/@html-eslint/parser/types/options.d.ts.map +1 -1
  50. package/node_modules/@html-eslint/parser/types/parser.d.ts.map +1 -1
  51. package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts +76 -2
  52. package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts.map +1 -1
  53. package/node_modules/@html-eslint/template-parser/package.json +3 -3
  54. package/node_modules/@html-eslint/template-syntax-parser/package.json +3 -3
  55. package/node_modules/@html-eslint/types/package.json +2 -2
  56. package/node_modules/@humanwhocodes/momoa/dist/momoa.cjs +14 -1
  57. package/node_modules/@humanwhocodes/momoa/dist/momoa.js +14 -1
  58. package/node_modules/@humanwhocodes/momoa/package.json +4 -4
  59. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +115 -71
  60. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +2 -2
  61. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +115 -71
  62. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +2 -2
  63. package/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
  64. package/node_modules/@jridgewell/sourcemap-codec/src/range-mappings.ts +47 -0
  65. package/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +66 -46
  66. package/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +27 -11
  67. package/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +13 -17
  68. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts +5 -0
  69. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts.map +1 -0
  70. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -0
  71. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts.map +1 -0
  72. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -1
  73. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -1
  74. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +2 -0
  75. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -1
  76. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +2 -0
  77. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -1
  78. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +4 -2
  79. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -1
  80. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +4 -2
  81. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -1
  82. package/node_modules/@rviscomi/capo.js/README.md +18 -6
  83. package/node_modules/@rviscomi/capo.js/dist/adapters/adapter.cjs +8 -0
  84. package/node_modules/@rviscomi/capo.js/dist/adapters/browser.cjs +26 -2
  85. package/node_modules/@rviscomi/capo.js/dist/adapters/index.cjs +26 -2
  86. package/node_modules/@rviscomi/capo.js/dist/analyzer.cjs +300 -263
  87. package/node_modules/@rviscomi/capo.js/dist/chrome/README.md +5 -1
  88. package/node_modules/@rviscomi/capo.js/dist/chrome/background.js +1 -1
  89. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.css +4 -11
  90. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.html +2 -2
  91. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.js +3 -3
  92. package/node_modules/@rviscomi/capo.js/dist/chrome/chrome.js +2 -9
  93. package/node_modules/@rviscomi/capo.js/dist/chrome/manifest.json +1 -1
  94. package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.html +1 -1
  95. package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.js +1 -1
  96. package/node_modules/@rviscomi/capo.js/dist/chrome/styles/open-props.css +16 -14
  97. package/node_modules/@rviscomi/capo.js/dist/chrome.zip +0 -0
  98. package/node_modules/@rviscomi/capo.js/dist/firefox/README.md +5 -1
  99. package/node_modules/@rviscomi/capo.js/dist/firefox/background.js +1 -1
  100. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.css +4 -11
  101. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.html +2 -2
  102. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.js +3 -3
  103. package/node_modules/@rviscomi/capo.js/dist/firefox/chrome.js +2 -9
  104. package/node_modules/@rviscomi/capo.js/dist/firefox/manifest.json +1 -1
  105. package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.html +1 -1
  106. package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.js +1 -1
  107. package/node_modules/@rviscomi/capo.js/dist/firefox/styles/open-props.css +16 -14
  108. package/node_modules/@rviscomi/capo.js/dist/firefox.zip +0 -0
  109. package/node_modules/@rviscomi/capo.js/dist/index.cjs +378 -368
  110. package/node_modules/@rviscomi/capo.js/dist/lib/colors.cjs +1 -1
  111. package/node_modules/@rviscomi/capo.js/dist/lib/io.cjs +7 -5
  112. package/node_modules/@rviscomi/capo.js/dist/lib/options.cjs +7 -3
  113. package/node_modules/@rviscomi/capo.js/dist/lib/rules.cjs +25 -4
  114. package/node_modules/@rviscomi/capo.js/dist/lib/validation.cjs +326 -358
  115. package/node_modules/@rviscomi/capo.js/dist/source.zip +0 -0
  116. package/node_modules/@rviscomi/capo.js/dist/types/adapters/adapter.d.ts +6 -0
  117. package/node_modules/@rviscomi/capo.js/dist/types/adapters/browser.d.ts +8 -1
  118. package/node_modules/@rviscomi/capo.js/dist/types/adapters/index.d.ts +2 -2
  119. package/node_modules/@rviscomi/capo.js/dist/types/analyzer.d.ts +5 -0
  120. package/node_modules/@rviscomi/capo.js/dist/types/index.d.ts +5 -5
  121. package/node_modules/@rviscomi/capo.js/dist/types/lib/options.d.ts +1 -1
  122. package/node_modules/@rviscomi/capo.js/dist/types/lib/rules.d.ts +9 -2
  123. package/node_modules/@rviscomi/capo.js/dist/types/lib/validation.d.ts +4 -2
  124. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/charset.d.ts +28 -0
  125. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/content-type.d.ts +18 -0
  126. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/csp.d.ts +12 -0
  127. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/default-style.d.ts +18 -0
  128. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/head-elements.d.ts +52 -0
  129. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/http-equiv.d.ts +18 -0
  130. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/origin-trial.d.ts +19 -0
  131. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/preload.d.ts +41 -0
  132. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/viewport.d.ts +18 -0
  133. package/node_modules/@rviscomi/capo.js/dist/types/worker/worker.d.ts +16 -0
  134. package/node_modules/@rviscomi/capo.js/package.json +8 -12
  135. package/node_modules/@rviscomi/capo.js/src/adapters/adapter.js +37 -28
  136. package/node_modules/@rviscomi/capo.js/src/adapters/browser.js +41 -24
  137. package/node_modules/@rviscomi/capo.js/src/adapters/index.js +3 -3
  138. package/node_modules/@rviscomi/capo.js/src/adapters/test-suite.js +129 -129
  139. package/node_modules/@rviscomi/capo.js/src/analyzer.js +20 -25
  140. package/node_modules/@rviscomi/capo.js/src/extension/README.md +5 -1
  141. package/node_modules/@rviscomi/capo.js/src/extension/background.js +1 -1
  142. package/node_modules/@rviscomi/capo.js/src/extension/capo.css +4 -11
  143. package/node_modules/@rviscomi/capo.js/src/extension/capo.html +2 -2
  144. package/node_modules/@rviscomi/capo.js/src/extension/capo.js +21 -18
  145. package/node_modules/@rviscomi/capo.js/src/extension/chrome.js +2 -9
  146. package/node_modules/@rviscomi/capo.js/src/extension/manifest.json +2 -6
  147. package/node_modules/@rviscomi/capo.js/src/extension/options/options.html +1 -1
  148. package/node_modules/@rviscomi/capo.js/src/extension/options.js +16 -16
  149. package/node_modules/@rviscomi/capo.js/src/extension/styles/open-props.css +16 -14
  150. package/node_modules/@rviscomi/capo.js/src/index.js +10 -20
  151. package/node_modules/@rviscomi/capo.js/src/lib/colors.js +17 -17
  152. package/node_modules/@rviscomi/capo.js/src/lib/io.js +19 -17
  153. package/node_modules/@rviscomi/capo.js/src/lib/options.js +23 -20
  154. package/node_modules/@rviscomi/capo.js/src/lib/rules.js +124 -95
  155. package/node_modules/@rviscomi/capo.js/src/lib/validation.js +57 -857
  156. package/node_modules/@rviscomi/capo.js/src/lib/validations/content-type.js +94 -0
  157. package/node_modules/@rviscomi/capo.js/src/lib/validations/csp.js +68 -0
  158. package/node_modules/@rviscomi/capo.js/src/lib/validations/default-style.js +62 -0
  159. package/node_modules/@rviscomi/capo.js/src/lib/validations/http-equiv.js +138 -0
  160. package/node_modules/@rviscomi/capo.js/src/lib/validations/origin-trial.js +80 -0
  161. package/node_modules/@rviscomi/capo.js/src/lib/validations/preload.js +135 -0
  162. package/node_modules/@rviscomi/capo.js/src/lib/validations/viewport.js +183 -0
  163. package/node_modules/@rviscomi/capo.js/src/web/capo.js +12 -12
  164. package/node_modules/@rviscomi/capo.js/src/worker/worker.js +180 -0
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts +2 -2
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +1 -0
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +1 -0
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.d.ts +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +1 -0
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +1 -0
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.d.ts +2 -2
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +1 -0
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.d.ts +2 -2
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.d.ts +2 -2
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +1 -0
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.d.ts +2 -2
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.d.ts +2 -2
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.d.ts +2 -2
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.d.ts +2 -2
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.d.ts +2 -2
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +1 -0
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.d.ts +2 -2
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +1 -0
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.d.ts +2 -2
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.d.ts +2 -2
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.d.ts +2 -2
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.d.ts +2 -2
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +2 -2
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +2 -2
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -0
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -0
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -0
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -0
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +1 -0
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +12 -4
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +1 -0
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +1 -0
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -0
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +1 -0
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -0
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -0
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -0
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.d.ts +2 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -0
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -0
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -0
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +5 -0
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +68 -0
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +1 -0
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +1 -0
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -0
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -1
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +1 -0
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -0
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +1 -0
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +1 -0
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -0
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +1 -0
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +1 -0
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +1 -0
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -0
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +1 -0
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +8 -9
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +1 -0
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -0
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +1 -0
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +1 -0
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -0
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -0
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +1 -0
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +9 -4
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -0
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -0
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -0
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +64 -55
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +1 -0
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -0
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +1 -0
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -0
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -0
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -0
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -0
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -0
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +1 -0
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -0
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +1 -0
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +1 -0
  277. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +1 -0
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +1 -0
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -0
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -0
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -0
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -0
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +1 -0
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +1 -0
  285. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -0
  286. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +1 -0
  287. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +1 -0
  288. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -0
  289. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +1 -0
  290. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +1 -0
  291. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -0
  292. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -0
  293. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +1 -0
  294. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -0
  295. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +3 -14
  296. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -0
  297. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +1 -2
  298. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +14 -39
  299. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -0
  300. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -1
  301. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +6 -0
  302. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +2 -91
  303. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +1 -0
  304. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -0
  305. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +1 -0
  306. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +3 -113
  307. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +1 -0
  308. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +1 -0
  309. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -0
  310. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +1 -0
  311. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +1 -0
  312. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -0
  313. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +1 -0
  314. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -0
  315. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -0
  316. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -0
  317. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +15 -11
  318. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +1 -0
  319. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -0
  320. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +1 -0
  321. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -0
  322. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +1 -0
  323. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -0
  324. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -0
  325. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +1 -0
  326. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -0
  327. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +1 -0
  328. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -0
  329. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.d.ts +2 -2
  330. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -0
  331. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +1 -0
  332. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -0
  333. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -0
  334. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +2 -1
  335. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
  336. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +1 -0
  337. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
  338. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
  339. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +1 -0
  340. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +1 -0
  341. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +1 -0
  342. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -0
  343. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -0
  344. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -0
  345. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -0
  346. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +1 -0
  347. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -0
  348. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -0
  349. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -0
  350. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +1 -0
  351. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -0
  352. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +1 -0
  353. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -0
  354. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -0
  355. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +13 -1
  356. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +1 -0
  357. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -0
  358. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
  359. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +97 -5
  360. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -0
  361. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -0
  362. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +1 -0
  363. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -0
  364. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
  365. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +73 -32
  366. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +1 -0
  367. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
  368. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
  369. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
  370. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
  371. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
  372. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
  373. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
  374. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
  375. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
  376. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +1 -0
  377. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
  378. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
  379. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
  380. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
  381. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
  382. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
  383. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
  384. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
  385. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
  386. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
  387. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +1 -0
  388. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
  389. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
  390. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
  391. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
  392. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
  393. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
  394. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
  395. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -0
  396. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
  397. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +3 -1
  398. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +4 -1
  399. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
  400. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
  401. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
  402. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
  403. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
  404. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
  405. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
  406. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.d.ts +2 -0
  407. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.js +26 -0
  408. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
  409. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
  410. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
  411. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
  412. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
  413. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
  414. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
  415. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
  416. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
  417. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
  418. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
  419. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
  420. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
  421. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +1 -0
  422. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
  423. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
  424. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +52 -0
  425. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +785 -129
  426. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +660 -98
  427. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/package.json +10 -4
  428. package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -12
  429. package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
  430. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
  431. package/node_modules/@typescript-eslint/parser/package.json +8 -7
  432. package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +1 -0
  433. package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
  434. package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
  435. package/node_modules/@typescript-eslint/project-service/package.json +6 -5
  436. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
  437. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
  442. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
  443. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
  444. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
  445. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
  450. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
  451. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
  452. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
  453. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
  454. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
  455. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
  577. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
  582. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +1 -0
  583. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
  584. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
  585. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
  586. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
  587. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
  588. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
  589. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
  614. package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
  615. package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
  616. package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
  617. package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
  618. package/node_modules/@typescript-eslint/tsconfig-utils/package.json +3 -2
  619. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +19 -19
  620. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +1 -0
  621. package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
  622. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
  623. package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +1 -0
  624. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
  625. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
  626. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
  627. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
  628. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
  629. package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
  630. package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
  631. package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +1 -0
  632. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +19 -19
  633. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +1 -0
  634. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
  635. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +1 -0
  636. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
  637. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
  638. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +1 -0
  639. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
  640. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
  641. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
  642. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +1 -0
  643. package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
  644. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +9 -0
  645. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
  646. package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
  647. package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
  648. package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
  649. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
  650. package/node_modules/@typescript-eslint/types/package.json +3 -5
  651. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
  652. package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +1 -0
  653. package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +15 -0
  654. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +1 -0
  655. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
  656. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +25 -1
  657. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
  658. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
  659. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
  660. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +1 -0
  661. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
  662. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
  663. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +1 -0
  664. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +1 -0
  665. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +1 -0
  666. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
  667. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
  668. package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
  669. package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
  670. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
  671. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
  672. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
  673. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +1 -0
  674. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
  675. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
  676. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +1 -0
  677. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
  678. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
  679. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
  680. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
  681. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
  682. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
  683. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
  684. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
  685. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
  686. package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
  687. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
  688. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
  689. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
  690. package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
  691. package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +1 -0
  692. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  693. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
  694. package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
  695. package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
  696. package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -7
  697. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
  698. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
  699. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
  700. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
  701. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +20 -20
  702. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
  703. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
  704. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
  705. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
  706. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
  707. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +1 -1
  708. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
  709. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
  710. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +1 -0
  711. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
  712. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
  713. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
  714. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
  715. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +1 -1
  716. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
  717. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
  718. package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
  719. package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
  720. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
  721. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
  722. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
  723. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
  724. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
  725. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
  726. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
  727. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
  728. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
  729. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
  730. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
  731. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
  732. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
  733. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
  734. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
  735. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
  736. package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
  737. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
  738. package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
  739. package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
  740. package/node_modules/@typescript-eslint/utils/package.json +6 -5
  741. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
  742. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
  743. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
  744. package/node_modules/@typescript-eslint/visitor-keys/package.json +5 -4
  745. package/node_modules/astro-eslint-parser/lib/index.mjs +13 -37
  746. package/node_modules/astro-eslint-parser/package.json +7 -7
  747. package/node_modules/eslint/README.md +1 -6
  748. package/node_modules/eslint/lib/config/config-loader.js +2 -2
  749. package/node_modules/eslint/lib/config/config.js +2 -2
  750. package/node_modules/eslint/lib/eslint/eslint.js +1 -1
  751. package/node_modules/eslint/lib/languages/js/index.js +1 -1
  752. package/node_modules/eslint/lib/options.js +2 -2
  753. package/node_modules/eslint/lib/rules/accessor-pairs.js +1 -51
  754. package/node_modules/eslint/lib/rules/getter-return.js +4 -45
  755. package/node_modules/eslint/lib/rules/id-denylist.js +4 -0
  756. package/node_modules/eslint/lib/rules/id-match.js +2 -1
  757. package/node_modules/eslint/lib/rules/no-duplicate-imports.js +3 -3
  758. package/node_modules/eslint/lib/rules/no-loss-of-precision.js +7 -2
  759. package/node_modules/eslint/lib/rules/no-setter-return.js +1 -89
  760. package/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +21 -5
  761. package/node_modules/eslint/lib/rules/no-unused-labels.js +19 -0
  762. package/node_modules/eslint/lib/rules/no-unused-vars.js +115 -8
  763. package/node_modules/eslint/lib/rules/no-useless-escape.js +2 -2
  764. package/node_modules/eslint/lib/rules/no-var.js +87 -1
  765. package/node_modules/eslint/lib/rules/prefer-template.js +7 -1
  766. package/node_modules/eslint/lib/rules/utils/ast-utils.js +86 -0
  767. package/node_modules/eslint/lib/types/index.d.ts +1 -1
  768. package/node_modules/eslint/lib/types/rules.d.ts +10 -1
  769. package/node_modules/eslint/messages/config-file-missing.js +2 -2
  770. package/node_modules/eslint/package.json +9 -3
  771. package/node_modules/eslint-plugin-astro/README.md +22 -1
  772. package/node_modules/eslint-plugin-astro/lib/index.mjs +24 -19
  773. package/node_modules/eslint-plugin-astro/package.json +8 -4
  774. package/node_modules/eslint-plugin-yml/lib/index.mjs +220 -78
  775. package/node_modules/eslint-plugin-yml/package.json +5 -4
  776. package/node_modules/globals/globals.json +75 -0
  777. package/node_modules/globals/index.d.ts +77 -0
  778. package/node_modules/globals/package.json +2 -2
  779. package/node_modules/nanoid/README.md +3 -0
  780. package/node_modules/nanoid/async/index.browser.cjs +1 -0
  781. package/node_modules/nanoid/async/index.browser.js +1 -0
  782. package/node_modules/nanoid/async/index.cjs +4 -1
  783. package/node_modules/nanoid/async/index.js +4 -1
  784. package/node_modules/nanoid/async/index.native.js +4 -1
  785. package/node_modules/nanoid/index.browser.cjs +1 -0
  786. package/node_modules/nanoid/index.browser.js +1 -0
  787. package/node_modules/nanoid/index.cjs +1 -0
  788. package/node_modules/nanoid/index.js +1 -0
  789. package/node_modules/nanoid/package.json +1 -1
  790. package/node_modules/picomatch/lib/parse.js +10 -1
  791. package/node_modules/picomatch/lib/scan.js +30 -18
  792. package/node_modules/picomatch/package.json +1 -1
  793. package/node_modules/postcss/README.md +4 -1
  794. package/node_modules/postcss/lib/list.js +1 -1
  795. package/node_modules/postcss/lib/previous-map.js +14 -2
  796. package/node_modules/postcss/lib/processor.js +1 -1
  797. package/node_modules/postcss/package.json +2 -2
  798. package/node_modules/postcss-selector-parser/CHANGELOG.md +74 -65
  799. package/node_modules/postcss-selector-parser/dist/parser.js +25 -3
  800. package/node_modules/postcss-selector-parser/package.json +6 -3
  801. package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
  802. package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
  803. package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
  804. package/node_modules/typescript-eslint/dist/globs.d.ts +123 -0
  805. package/node_modules/typescript-eslint/dist/globs.js +135 -0
  806. package/node_modules/typescript-eslint/dist/index.d.ts +12 -0
  807. package/node_modules/typescript-eslint/dist/index.js +8 -1
  808. package/node_modules/typescript-eslint/package.json +8 -6
  809. package/node_modules/vscode-languageserver-textdocument/eslint.config.js +13 -0
  810. package/node_modules/vscode-languageserver-textdocument/lib/esm/main.d.ts +20 -0
  811. package/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +26 -0
  812. package/node_modules/vscode-languageserver-textdocument/lib/umd/main.d.ts +20 -0
  813. package/node_modules/vscode-languageserver-textdocument/lib/umd/main.js +26 -0
  814. package/node_modules/vscode-languageserver-textdocument/package.json +2 -2
  815. package/node_modules/vscode-uri/lib/esm/index.mjs +1 -1
  816. package/node_modules/vscode-uri/lib/esm/index.mjs.map +1 -1
  817. package/node_modules/vscode-uri/lib/umd/index.d.ts +5 -0
  818. package/node_modules/vscode-uri/lib/umd/index.js +1 -1
  819. package/node_modules/vscode-uri/lib/umd/index.js.map +1 -1
  820. package/node_modules/vscode-uri/package.json +5 -1
  821. package/package.json +12 -12
@@ -220,7 +220,18 @@ exports.default = (0, util_1.createRule)({
220
220
  if (nextToken) {
221
221
  endAt = nextToken.range[0];
222
222
  }
223
- return fixer.removeRange([startAt, endAt]);
223
+ const awaitRemovalFix = fixer.removeRange([startAt, endAt]);
224
+ const firstOperandToken = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(awaitToken), util_1.NullThrowsReasons.MissingToken('operand', 'await expression'));
225
+ const shouldWrapInParentheses = (0, util_1.isOpeningBraceToken)(firstOperandToken) &&
226
+ (0, util_1.isStartOfArrowFunctionBody)(node, context.sourceCode);
227
+ if (shouldWrapInParentheses) {
228
+ return [
229
+ awaitRemovalFix,
230
+ fixer.insertTextBefore(node.argument, '('),
231
+ fixer.insertTextAfter(node.argument, ')'),
232
+ ];
233
+ }
234
+ return awaitRemovalFix;
224
235
  }
225
236
  function insertAwait(fixer, node, isHighPrecedence) {
226
237
  if (isHighPrecedence) {
@@ -361,3 +372,4 @@ function getConfiguration(option) {
361
372
  };
362
373
  }
363
374
  }
375
+ //# sourceMappingURL=return-await.js.map
@@ -270,3 +270,4 @@ exports.default = (0, util_1.createRule)({
270
270
  };
271
271
  },
272
272
  });
273
+ //# sourceMappingURL=sort-type-constituents.js.map
@@ -880,3 +880,4 @@ function isBrandedBoolean(type) {
880
880
  function isBooleanType(expressionType) {
881
881
  return tsutils.isTypeFlagSet(expressionType, ts.TypeFlags.Boolean | ts.TypeFlags.BooleanLiteral);
882
882
  }
883
+ //# sourceMappingURL=strict-boolean-expressions.js.map
@@ -1,10 +1,11 @@
1
+ import type { TSESLint } from '@typescript-eslint/utils';
1
2
  type Options = [
2
3
  {
3
4
  allowReturnAny?: boolean;
4
5
  }
5
6
  ];
6
- type MessageId = `asyncFunc` | `nonVoidFunc` | `nonVoidReturn`;
7
- declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageId, Options, import("../../rules").ESLintPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
7
+ type MessageId = `asyncFunc` | `nonVoidFunc` | `nonVoidReturn` | `suggestAddVoidOp` | `suggestWrapInAsyncIIFE`;
8
+ declare const _default: TSESLint.RuleModule<MessageId, Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
8
9
  name: string;
9
10
  };
10
11
  export default _default;
@@ -45,10 +45,13 @@ exports.default = util.createRule({
45
45
  description: 'Disallow passing a value-returning function in a position accepting a void function',
46
46
  requiresTypeChecking: true,
47
47
  },
48
+ hasSuggestions: true,
48
49
  messages: {
49
50
  asyncFunc: 'Async function used in a context where a void function is expected.',
50
51
  nonVoidFunc: 'Value-returning function used in a context where a void function is expected.',
51
52
  nonVoidReturn: 'Value returned in a context where a void return is expected.',
53
+ suggestAddVoidOp: 'Add a void operator to discard the return value.',
54
+ suggestWrapInAsyncIIFE: 'Wrap the function body in an async IIFE.',
52
55
  },
53
56
  schema: [
54
57
  {
@@ -324,20 +327,55 @@ exports.default = util.createRule({
324
327
  }
325
328
  if (funcNode.async) {
326
329
  // The provided function is an async function.
327
- // Async functions aren't allowed.
330
+ if (funcNode.body.type !== utils_1.AST_NODE_TYPES.BlockStatement) {
331
+ // This async function is an arrow function shorthand without braces.
332
+ return context.report({
333
+ loc: util.getFunctionHeadLoc(funcNode, sourceCode),
334
+ messageId: 'asyncFunc',
335
+ suggest: utils_1.ASTUtils.hasSideEffect(funcNode.body, sourceCode)
336
+ ? // This function has side effects, e.g. `async () => doSomething()`.
337
+ // Suggest removing the async keyword and adding a void operator.
338
+ [
339
+ {
340
+ messageId: 'suggestAddVoidOp',
341
+ fix: fixer => addVoidToArrowFix(fixer, funcNode),
342
+ },
343
+ ]
344
+ : [],
345
+ });
346
+ }
347
+ // This async function has a block body.
348
+ // Suggest wrapping its body in an async IIFE.
328
349
  return context.report({
329
350
  loc: util.getFunctionHeadLoc(funcNode, sourceCode),
330
- messageId: `asyncFunc`,
351
+ messageId: 'asyncFunc',
352
+ suggest: [
353
+ {
354
+ messageId: 'suggestWrapInAsyncIIFE',
355
+ fix: fixer => wrapInAsyncIIFEFix(fixer, funcNode),
356
+ },
357
+ ],
331
358
  });
332
359
  }
360
+ // This function is a regular or arrow sync function.
333
361
  if (funcNode.body.type !== utils_1.AST_NODE_TYPES.BlockStatement) {
334
- // The provided function is an arrow function shorthand without braces.
362
+ // This function is an arrow function shorthand without braces.
335
363
  return context.report({
336
364
  node: funcNode.body,
337
- messageId: `nonVoidReturn`,
365
+ messageId: 'nonVoidReturn',
366
+ suggest: utils_1.ASTUtils.hasSideEffect(funcNode.body, sourceCode)
367
+ ? // This function has side effects, e.g. `() => doSomething()`.
368
+ // Suggest adding a void operator.
369
+ [
370
+ {
371
+ messageId: 'suggestAddVoidOp',
372
+ fix: fixer => addVoidToArrowFix(fixer, funcNode),
373
+ },
374
+ ]
375
+ : [],
338
376
  });
339
377
  }
340
- // The function is a regular or arrow function with a block body.
378
+ // This function is a regular or arrow sync function with a block body.
341
379
  // Check return type annotation.
342
380
  if (funcNode.returnType != null) {
343
381
  // The provided function has an explicit return type annotation.
@@ -373,5 +411,59 @@ exports.default = util.createRule({
373
411
  }
374
412
  // No invalid returns found. The function is allowed.
375
413
  }
414
+ /**
415
+ * Removes the async keyword and replaces the return type with void.
416
+ */
417
+ function* makeSyncFuncFix(fixer, funcNode) {
418
+ if (funcNode.async) {
419
+ // Remove async keyword
420
+ const funcHeadNode = funcNode.parent.type === utils_1.AST_NODE_TYPES.Property ||
421
+ funcNode.parent.type === utils_1.AST_NODE_TYPES.MethodDefinition
422
+ ? funcNode.parent
423
+ : funcNode;
424
+ const asyncToken = util.nullThrows(sourceCode.getFirstToken(funcHeadNode, {
425
+ filter: token => token.value === 'async',
426
+ }), util.NullThrowsReasons.MissingToken('async keyword', funcNode.type));
427
+ yield fixer.remove(asyncToken);
428
+ }
429
+ // Replace return type with void
430
+ if (funcNode.returnType != null) {
431
+ yield fixer.replaceText(funcNode.returnType.typeAnnotation, 'void');
432
+ }
433
+ }
434
+ /**
435
+ * Makes the function sync and adds a void operator to the arrow shorthand body.
436
+ */
437
+ function* addVoidToArrowFix(fixer, funcNode) {
438
+ yield* makeSyncFuncFix(fixer, funcNode);
439
+ // Add void operator
440
+ yield util.getWrappingFixer({
441
+ node: funcNode.body,
442
+ sourceCode,
443
+ wrap: code => `void ${code}`,
444
+ })(fixer);
445
+ }
446
+ /**
447
+ * Makes the function sync and wraps the body in an inner async IIFE.
448
+ */
449
+ function* wrapInAsyncIIFEFix(fixer, funcNode) {
450
+ yield* makeSyncFuncFix(fixer, funcNode);
451
+ // Wrap body in async IIFE.
452
+ // This preserves the node kind (normal/arrow) for the _outer_ function
453
+ // and uses an arrow function for the _inner_ function,
454
+ // so that `this` will always refer to the same value as before.
455
+ if (funcNode.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression) {
456
+ const arrowToken = util.nullThrows(sourceCode.getTokenBefore(funcNode.body, {
457
+ filter: token => token.value === '=>',
458
+ }), util.NullThrowsReasons.MissingToken('arrow token', 'before arrow function body'));
459
+ yield fixer.insertTextAfter(arrowToken, ' void (async () =>');
460
+ yield fixer.insertTextAfter(funcNode, ')()');
461
+ }
462
+ else {
463
+ yield fixer.insertTextBefore(funcNode.body, '{ (async () => ');
464
+ yield fixer.insertTextAfter(funcNode.body, ')(); }');
465
+ }
466
+ }
376
467
  },
377
468
  });
469
+ //# sourceMappingURL=strict-void-return.js.map
@@ -289,3 +289,4 @@ function doesTypeContainNonLiteralType(type) {
289
289
  .intersectionConstituents(type)
290
290
  .every(subType => !isTypeLiteralLikeType(subType)));
291
291
  }
292
+ //# sourceMappingURL=switch-exhaustiveness-check.js.map
@@ -108,3 +108,4 @@ exports.default = (0, util_1.createRule)({
108
108
  };
109
109
  },
110
110
  });
111
+ //# sourceMappingURL=triple-slash-reference.js.map
@@ -237,3 +237,4 @@ exports.default = (0, util_1.createRule)({
237
237
  };
238
238
  },
239
239
  });
240
+ //# sourceMappingURL=typedef.js.map
@@ -359,3 +359,4 @@ function isSafeUse(node) {
359
359
  }
360
360
  return false;
361
361
  }
362
+ //# sourceMappingURL=unbound-method.js.map
@@ -1,4 +1,4 @@
1
- export type MessageIds = 'omittingRestParameter' | 'omittingSingleParameter' | 'singleParameterDifference';
1
+ export type MessageIds = 'allParametersAreSame' | 'omittingRestParameter' | 'omittingSingleParameter' | 'singleParameterDifference';
2
2
  export type Options = [
3
3
  {
4
4
  ignoreDifferentlyNamedParameters?: boolean;
@@ -12,9 +12,10 @@ exports.default = (0, util_1.createRule)({
12
12
  recommended: 'strict',
13
13
  },
14
14
  messages: {
15
+ allParametersAreSame: '{{failureStringStart}} with identical parameters.',
15
16
  omittingRestParameter: '{{failureStringStart}} with a rest parameter.',
16
17
  omittingSingleParameter: '{{failureStringStart}} with an optional parameter.',
17
- singleParameterDifference: '{{failureStringStart}} taking `{{type1}} | {{type2}}`.',
18
+ singleParameterDifference: '{{failureStringStart}} taking `{{types}}`.',
18
19
  },
19
20
  schema: [
20
21
  {
@@ -57,20 +58,15 @@ exports.default = (0, util_1.createRule)({
57
58
  case 'single-parameter-difference': {
58
59
  const { p0, p1 } = unify;
59
60
  const lineOfOtherOverload = only2 ? undefined : p0.loc.start.line;
60
- const typeAnnotation0 = isTSParameterProperty(p0)
61
- ? p0.parameter.typeAnnotation
62
- : p0.typeAnnotation;
63
- const typeAnnotation1 = isTSParameterProperty(p1)
64
- ? p1.parameter.typeAnnotation
65
- : p1.typeAnnotation;
61
+ const typeAnnotation0 = getParameterTypeAnnotation(p0);
62
+ const typeAnnotation1 = getParameterTypeAnnotation(p1);
66
63
  context.report({
67
64
  loc: p1.loc,
68
65
  node: p1,
69
66
  messageId: 'singleParameterDifference',
70
67
  data: {
71
68
  failureStringStart: failureStringStart(lineOfOtherOverload),
72
- type1: context.sourceCode.getText(typeAnnotation0?.typeAnnotation),
73
- type2: context.sourceCode.getText(typeAnnotation1?.typeAnnotation),
69
+ types: getUnifiedTypeText(typeAnnotation0, typeAnnotation1),
74
70
  },
75
71
  });
76
72
  break;
@@ -90,7 +86,24 @@ exports.default = (0, util_1.createRule)({
90
86
  failureStringStart: failureStringStart(lineOfOtherOverload),
91
87
  },
92
88
  });
89
+ break;
90
+ }
91
+ case 'all-parameters-are-same': {
92
+ const { signature0, signature1 } = unify;
93
+ const lineOfOtherOverload = only2
94
+ ? undefined
95
+ : signature0.loc.start.line;
96
+ context.report({
97
+ node: signature1,
98
+ messageId: 'allParametersAreSame',
99
+ data: {
100
+ failureStringStart: failureStringStart(lineOfOtherOverload),
101
+ },
102
+ });
103
+ break;
93
104
  }
105
+ default:
106
+ unify;
94
107
  }
95
108
  }
96
109
  }
@@ -114,7 +127,7 @@ exports.default = (0, util_1.createRule)({
114
127
  return undefined;
115
128
  }
116
129
  return a.params.length === b.params.length
117
- ? signaturesDifferBySingleParameter(a.params, b.params)
130
+ ? signaturesHaveSameAmountOfParameters(a, b)
118
131
  : signaturesDifferByOptionalOrRestParameter(a, b);
119
132
  }
120
133
  function signaturesCanBeUnified(a, b, isTypeParameter) {
@@ -138,15 +151,20 @@ exports.default = (0, util_1.createRule)({
138
151
  return false;
139
152
  }
140
153
  }
141
- return (typesAreEqual(a.returnType, b.returnType) &&
154
+ return (typesAreEqual(a.returnType?.typeAnnotation, b.returnType?.typeAnnotation) &&
142
155
  // Must take the same type parameters.
143
156
  // If one uses a type parameter (from outside) and the other doesn't, they shouldn't be joined.
144
157
  (0, util_1.arraysAreEqual)(aTypeParams, bTypeParams, typeParametersAreEqual) &&
145
158
  signatureUsesTypeParameter(a, isTypeParameter) ===
146
159
  signatureUsesTypeParameter(b, isTypeParameter));
147
160
  }
148
- /** Detect `a(x: number, y: number, z: number)` and `a(x: number, y: string, z: number)`. */
149
- function signaturesDifferBySingleParameter(types1, types2) {
161
+ /**
162
+ * Detect no difference, i.e. `a(x: number, y: string)` and `a(x: number, y: string)`,
163
+ * or one param difference, i.e. `a(x: number, y: number, z: number)` and `a(x: number, y: string, z: number)`.
164
+ */
165
+ function signaturesHaveSameAmountOfParameters(signature0, signature1) {
166
+ const types1 = signature0.params;
167
+ const types2 = signature1.params;
150
168
  const firstParam1 = types1[0];
151
169
  const firstParam2 = types2[0];
152
170
  // exempt signatures with `this: void` from the rule
@@ -155,7 +173,11 @@ exports.default = (0, util_1.createRule)({
155
173
  }
156
174
  const index = getIndexOfFirstDifference(types1, types2, parametersAreEqual);
157
175
  if (index == null) {
158
- return undefined;
176
+ return {
177
+ kind: 'all-parameters-are-same',
178
+ signature0,
179
+ signature1,
180
+ };
159
181
  }
160
182
  // If remaining arrays are equal, the signatures differ by just one parameter type
161
183
  if (!(0, util_1.arraysAreEqual)(types1.slice(index + 1), types2.slice(index + 1), parametersAreEqual)) {
@@ -170,6 +192,39 @@ exports.default = (0, util_1.createRule)({
170
192
  ? { kind: 'single-parameter-difference', p0: a, p1: b }
171
193
  : undefined;
172
194
  }
195
+ function getParameterTypeAnnotation(parameter) {
196
+ return isTSParameterProperty(parameter)
197
+ ? parameter.parameter.typeAnnotation?.typeAnnotation
198
+ : parameter.typeAnnotation?.typeAnnotation;
199
+ }
200
+ function getUnifiedTypeText(type0, type1) {
201
+ // When a signature's parameter has no type annotation
202
+ if (type0 == null || type1 == null) {
203
+ return getUnionMemberText((0, util_1.nullThrows)(type0 ?? type1, 'Expected a type annotation for one of the parameters, but both were undefined'));
204
+ }
205
+ const members = [...getUnionMembers(type0), ...getUnionMembers(type1)];
206
+ const uniqueMembers = [];
207
+ for (const member of members) {
208
+ if (!uniqueMembers.some(other => typesAreEqual(other, member))) {
209
+ uniqueMembers.push(member);
210
+ }
211
+ }
212
+ return uniqueMembers
213
+ .map(member => getUnionMemberText(member))
214
+ .join(' | ');
215
+ }
216
+ function getUnionMembers(type) {
217
+ return type.type === utils_1.AST_NODE_TYPES.TSUnionType
218
+ ? type.types.flatMap(getUnionMembers)
219
+ : [type];
220
+ }
221
+ function getUnionMemberText(type) {
222
+ const text = context.sourceCode.getText(type);
223
+ const needsParentheses = type.type === utils_1.AST_NODE_TYPES.TSConditionalType ||
224
+ type.type === utils_1.AST_NODE_TYPES.TSConstructorType ||
225
+ type.type === utils_1.AST_NODE_TYPES.TSFunctionType;
226
+ return needsParentheses ? `(${text})` : text;
227
+ }
173
228
  function isThisParam(param) {
174
229
  return param?.type === utils_1.AST_NODE_TYPES.Identifier && param.name === 'this';
175
230
  }
@@ -209,15 +264,7 @@ exports.default = (0, util_1.createRule)({
209
264
  }
210
265
  }
211
266
  for (let i = 0; i < minLength; i++) {
212
- const sig1i = sig1[i];
213
- const sig2i = sig2[i];
214
- const typeAnnotation1 = isTSParameterProperty(sig1i)
215
- ? sig1i.parameter.typeAnnotation
216
- : sig1i.typeAnnotation;
217
- const typeAnnotation2 = isTSParameterProperty(sig2i)
218
- ? sig2i.parameter.typeAnnotation
219
- : sig2i.typeAnnotation;
220
- if (!typesAreEqual(typeAnnotation1, typeAnnotation2)) {
267
+ if (!typesAreEqual(getParameterTypeAnnotation(sig1[i]), getParameterTypeAnnotation(sig2[i]))) {
221
268
  return undefined;
222
269
  }
223
270
  }
@@ -265,14 +312,8 @@ exports.default = (0, util_1.createRule)({
265
312
  return node.type === utils_1.AST_NODE_TYPES.TSParameterProperty;
266
313
  }
267
314
  function parametersAreEqual(a, b) {
268
- const typeAnnotationA = isTSParameterProperty(a)
269
- ? a.parameter.typeAnnotation
270
- : a.typeAnnotation;
271
- const typeAnnotationB = isTSParameterProperty(b)
272
- ? b.parameter.typeAnnotation
273
- : b.typeAnnotation;
274
315
  return (parametersHaveEqualSigils(a, b) &&
275
- typesAreEqual(typeAnnotationA, typeAnnotationB));
316
+ typesAreEqual(getParameterTypeAnnotation(a), getParameterTypeAnnotation(b)));
276
317
  }
277
318
  /** True for optional/rest parameters. */
278
319
  function parameterMayBeMissing(p) {
@@ -300,8 +341,7 @@ exports.default = (0, util_1.createRule)({
300
341
  return (a === b ||
301
342
  (a != null &&
302
343
  b != null &&
303
- context.sourceCode.getText(a.typeAnnotation) ===
304
- context.sourceCode.getText(b.typeAnnotation)));
344
+ context.sourceCode.getText(a) === context.sourceCode.getText(b)));
305
345
  }
306
346
  function constraintsAreEqual(a, b) {
307
347
  return a === b || (a != null && a.type === b?.type);
@@ -463,3 +503,4 @@ function isPrivateIdentifier(node) {
463
503
  function isGetterOrSetter(node) {
464
504
  return node.kind === 'get' || node.kind === 'set';
465
505
  }
506
+ //# sourceMappingURL=unified-signatures.js.map
@@ -259,3 +259,4 @@ exports.default = (0, util_1.createRule)({
259
259
  };
260
260
  },
261
261
  });
262
+ //# sourceMappingURL=use-unknown-in-catch-callback-variable.js.map
@@ -0,0 +1,15 @@
1
+ import * as ts from 'typescript';
2
+ /**
3
+ * Tracks checking the parameters of a single function signature.
4
+ * This allows rules to "consume" parameters and check for unsafe comparisons.
5
+ */
6
+ export declare class FunctionSignature {
7
+ private readonly paramTypes;
8
+ private readonly restType;
9
+ private hasConsumedArguments;
10
+ private parameterTypeIndex;
11
+ private constructor();
12
+ static create(checker: ts.TypeChecker, tsNode: ts.CallLikeExpression): FunctionSignature;
13
+ consumeRemainingArguments(): void;
14
+ getNextParameterType(): ts.Type | null;
15
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.FunctionSignature = void 0;
37
+ const utils_1 = require("@typescript-eslint/utils");
38
+ const ts = __importStar(require("typescript"));
39
+ const misc_1 = require("./misc");
40
+ const { nullThrows } = utils_1.ESLintUtils;
41
+ var RestTypeKind;
42
+ (function (RestTypeKind) {
43
+ RestTypeKind[RestTypeKind["Array"] = 0] = "Array";
44
+ RestTypeKind[RestTypeKind["Other"] = 1] = "Other";
45
+ RestTypeKind[RestTypeKind["Tuple"] = 2] = "Tuple";
46
+ })(RestTypeKind || (RestTypeKind = {}));
47
+ /**
48
+ * Tracks checking the parameters of a single function signature.
49
+ * This allows rules to "consume" parameters and check for unsafe comparisons.
50
+ */
51
+ class FunctionSignature {
52
+ paramTypes;
53
+ restType;
54
+ hasConsumedArguments = false;
55
+ parameterTypeIndex = 0;
56
+ constructor(paramTypes, restType) {
57
+ this.paramTypes = paramTypes;
58
+ this.restType = restType;
59
+ }
60
+ static create(checker, tsNode) {
61
+ // getResolvedSignature only returns undefined for nodes outside the parse
62
+ // tree, and tsNode always comes from the AST node map.
63
+ const signature = nullThrows(checker.getResolvedSignature(tsNode), 'Expected the call-like node to resolve to a signature.');
64
+ const paramTypes = [];
65
+ let restType = null;
66
+ const parameters = signature.getParameters();
67
+ for (let index = 0; index < parameters.length; index += 1) {
68
+ const param = parameters[index];
69
+ const declaration = param.getDeclarations()?.[0];
70
+ const type = checker.getTypeOfSymbolAtLocation(param, tsNode);
71
+ const constrainedType = checker.getBaseConstraintOfType(type) ?? type;
72
+ if (declaration && (0, misc_1.isRestParameterDeclaration)(declaration)) {
73
+ if (checker.isTupleType(constrainedType)) {
74
+ restType = {
75
+ index,
76
+ kind: RestTypeKind.Tuple,
77
+ typeArguments: checker.getTypeArguments(constrainedType),
78
+ };
79
+ }
80
+ else {
81
+ const elementType = checker.getIndexTypeOfType(constrainedType, ts.IndexKind.Number);
82
+ restType = elementType
83
+ ? { index, kind: RestTypeKind.Array, type: elementType }
84
+ : { index, kind: RestTypeKind.Other, type: constrainedType };
85
+ }
86
+ break;
87
+ }
88
+ paramTypes.push(type);
89
+ }
90
+ return new FunctionSignature(paramTypes, restType);
91
+ }
92
+ consumeRemainingArguments() {
93
+ this.hasConsumedArguments = true;
94
+ }
95
+ getNextParameterType() {
96
+ const index = this.parameterTypeIndex;
97
+ this.parameterTypeIndex += 1;
98
+ if (index >= this.paramTypes.length || this.hasConsumedArguments) {
99
+ if (this.restType == null) {
100
+ return null;
101
+ }
102
+ switch (this.restType.kind) {
103
+ case RestTypeKind.Tuple: {
104
+ const { typeArguments } = this.restType;
105
+ if (this.hasConsumedArguments) {
106
+ return typeArguments[typeArguments.length - 1];
107
+ }
108
+ const typeIndex = index - this.restType.index;
109
+ if (typeIndex >= typeArguments.length) {
110
+ return typeArguments[typeArguments.length - 1];
111
+ }
112
+ return typeArguments[typeIndex];
113
+ }
114
+ case RestTypeKind.Array:
115
+ case RestTypeKind.Other:
116
+ return this.restType.type;
117
+ }
118
+ }
119
+ return this.paramTypes[index];
120
+ }
121
+ }
122
+ exports.FunctionSignature = FunctionSignature;
123
+ //# sourceMappingURL=FunctionSignature.js.map
@@ -114,3 +114,4 @@ function findTypeGuardAssertedArgument(services, node) {
114
114
  type,
115
115
  };
116
116
  }
117
+ //# sourceMappingURL=assertionFunctionUtils.js.map
@@ -141,3 +141,4 @@ function forEachChildESTree(node, callback) {
141
141
  }
142
142
  return visit(node);
143
143
  }
144
+ //# sourceMappingURL=astUtils.js.map
@@ -1,6 +1,8 @@
1
1
  import type { ParserServicesWithTypeInformation } from '@typescript-eslint/utils';
2
2
  import type { InterfaceType, Type } from 'typescript';
3
3
  export declare function hasBaseTypes(type: Type): type is InterfaceType;
4
+ export declare function isNumberLike(type: Type): boolean;
5
+ export declare function isStringLike(type: Type): boolean;
4
6
  /**
5
7
  * Recursively checks if a type or any of its base types matches the provided
6
8
  * matcher function.
@@ -34,6 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.hasBaseTypes = hasBaseTypes;
37
+ exports.isNumberLike = isNumberLike;
38
+ exports.isStringLike = isStringLike;
37
39
  exports.matchesTypeOrBaseType = matchesTypeOrBaseType;
38
40
  const ts_api_utils_1 = require("ts-api-utils");
39
41
  const tsutils = __importStar(require("ts-api-utils"));
@@ -53,6 +55,20 @@ function hasBaseTypes(type) {
53
55
  return ((0, ts_api_utils_1.isObjectType)(type) &&
54
56
  (0, ts_api_utils_1.isObjectFlagSet)(type, ts.ObjectFlags.Interface | ts.ObjectFlags.Class));
55
57
  }
58
+ function isNumberLike(type) {
59
+ return tsutils
60
+ .unionConstituents(type)
61
+ .every(unionPart => tsutils
62
+ .intersectionConstituents(unionPart)
63
+ .some(intersectionPart => tsutils.isTypeFlagSet(intersectionPart, ts.TypeFlags.NumberLike)));
64
+ }
65
+ function isStringLike(type) {
66
+ return tsutils
67
+ .unionConstituents(type)
68
+ .every(unionPart => tsutils
69
+ .intersectionConstituents(unionPart)
70
+ .some(intersectionPart => tsutils.isTypeFlagSet(intersectionPart, ts.TypeFlags.StringLike)));
71
+ }
56
72
  /**
57
73
  * Recursively checks if a type or any of its base types matches the provided
58
74
  * matcher function.
@@ -73,3 +89,4 @@ function matchesTypeOrBaseType(services, matcher, type, seen = new Set()) {
73
89
  const checker = services.program.getTypeChecker();
74
90
  return getBaseTypesForType(checker, type).some(base => matchesTypeOrBaseType(services, matcher, base, seen));
75
91
  }
92
+ //# sourceMappingURL=baseTypeUtils.js.map
@@ -564,3 +564,4 @@ function traverseScopes(currentScope, analysisResults = new Map()) {
564
564
  }
565
565
  return analysisResults;
566
566
  }
567
+ //# sourceMappingURL=classScopeAnalyzer.js.map
@@ -68,3 +68,4 @@ function extractNameForMemberExpression(node) {
68
68
  }
69
69
  return extractNonComputedName(node.property);
70
70
  }
71
+ //# sourceMappingURL=extractComputedName.js.map
@@ -8,3 +8,4 @@ function publicKey(name) {
8
8
  function privateKey(node) {
9
9
  return `#private@@${node.name}`;
10
10
  }
11
+ //# sourceMappingURL=types.js.map
@@ -599,3 +599,4 @@ function isUsedVariable(variable) {
599
599
  function collectVariables(context) {
600
600
  return UnusedVarsVisitor.collectUnusedVariables(context.sourceCode.ast, utils_1.ESLintUtils.nullThrows(context.sourceCode.scopeManager, 'Missing required scope manager'));
601
601
  }
602
+ //# sourceMappingURL=collectUnusedVariables.js.map
@@ -3,3 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createRule = void 0;
4
4
  const utils_1 = require("@typescript-eslint/utils");
5
5
  exports.createRule = utils_1.ESLintUtils.RuleCreator(name => `https://typescript-eslint.io/rules/${name}`);
6
+ //# sourceMappingURL=createRule.js.map
@@ -12,3 +12,4 @@ function escapeRegExp(string = '') {
12
12
  ? string.replaceAll(reRegExpChar, '\\$&')
13
13
  : string;
14
14
  }
15
+ //# sourceMappingURL=escapeRegExp.js.map