@eslint-react/jsx 0.8.6-beta.1 → 0.8.6-beta.5

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 (652) hide show
  1. package/node_modules/@eslint-react/ast/dist/index.cjs +950 -0
  2. package/node_modules/@eslint-react/ast/dist/index.d.mts +1185 -0
  3. package/node_modules/@eslint-react/ast/dist/index.d.ts +1185 -0
  4. package/node_modules/@eslint-react/ast/dist/index.js +950 -0
  5. package/node_modules/@eslint-react/ast/dist/index.mjs +870 -0
  6. package/node_modules/@eslint-react/ast/package.json +52 -0
  7. package/node_modules/@eslint-react/tools/dist/index.cjs +9195 -0
  8. package/node_modules/@eslint-react/tools/dist/index.d.mts +173 -0
  9. package/node_modules/@eslint-react/tools/dist/index.d.ts +173 -0
  10. package/node_modules/@eslint-react/tools/dist/index.js +9195 -0
  11. package/node_modules/@eslint-react/tools/dist/index.mjs +9174 -0
  12. package/node_modules/@eslint-react/tools/package.json +46 -0
  13. package/node_modules/@eslint-react/types/dist/index.cjs +2 -0
  14. package/node_modules/@eslint-react/types/dist/index.d.mts +65 -0
  15. package/node_modules/@eslint-react/types/dist/index.d.ts +65 -0
  16. package/node_modules/@eslint-react/types/dist/index.js +2 -0
  17. package/node_modules/@eslint-react/types/dist/index.mjs +1 -0
  18. package/node_modules/@eslint-react/types/package.json +49 -0
  19. package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
  20. package/node_modules/@typescript-eslint/scope-manager/README.md +10 -0
  21. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
  22. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
  23. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +21 -0
  24. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
  25. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +75 -0
  26. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
  27. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +185 -0
  28. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
  29. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +56 -0
  30. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
  31. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +42 -0
  32. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
  33. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
  34. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
  35. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
  36. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
  37. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
  38. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
  39. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
  40. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
  41. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
  42. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
  43. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
  44. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
  45. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
  46. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
  47. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
  48. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
  49. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
  50. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
  51. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
  52. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
  53. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
  54. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
  55. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +18 -0
  56. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
  57. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
  58. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
  59. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
  60. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
  61. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
  62. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
  63. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
  64. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
  65. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
  66. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
  67. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
  68. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
  69. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
  70. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
  71. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
  72. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
  73. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
  74. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
  75. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
  76. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
  77. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
  78. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
  79. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
  80. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
  81. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
  82. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
  83. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
  84. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
  85. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
  86. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
  87. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
  88. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
  89. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
  90. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
  91. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
  92. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
  93. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
  94. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
  95. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
  96. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
  97. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
  98. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
  99. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
  100. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
  101. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
  102. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
  103. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
  104. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
  105. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +3 -0
  106. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +1 -0
  107. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +23 -0
  108. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +1 -0
  109. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +3 -0
  110. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +1 -0
  111. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +15 -0
  112. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +1 -0
  113. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
  114. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
  115. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
  116. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
  117. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +75 -0
  118. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
  119. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1436 -0
  120. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
  121. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
  122. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
  123. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
  124. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
  125. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
  126. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
  127. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
  128. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
  129. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
  130. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
  131. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
  132. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
  133. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +16 -0
  134. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
  135. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
  136. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
  137. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +55 -0
  138. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
  139. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +30 -0
  140. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
  141. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
  142. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
  143. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
  144. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
  145. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
  146. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
  147. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
  148. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
  149. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
  150. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
  151. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
  152. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
  153. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
  154. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
  155. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
  156. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
  157. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
  158. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
  159. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +46 -0
  160. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
  161. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
  162. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
  163. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
  164. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
  165. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
  166. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
  167. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
  168. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
  169. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +20 -0
  170. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
  171. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +14 -0
  172. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
  173. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
  174. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
  175. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts +3 -0
  176. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts.map +1 -0
  177. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +12 -0
  178. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js.map +1 -0
  179. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
  180. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
  181. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +20 -0
  182. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
  183. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
  184. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
  185. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
  186. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
  187. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +24 -0
  188. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
  189. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
  190. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
  191. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
  192. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
  193. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
  194. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
  195. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +19 -0
  196. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
  197. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +16 -0
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +19 -0
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +20 -0
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +22 -0
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +20 -0
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +3 -0
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +1 -0
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +1 -0
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +22 -0
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +14 -0
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
  254. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
  255. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
  256. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
  257. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
  258. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
  259. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
  260. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
  261. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
  262. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
  263. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +22 -0
  264. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
  265. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
  266. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
  267. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  268. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  269. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +14 -0
  270. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  271. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
  272. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
  273. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +20 -0
  274. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
  275. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
  276. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
  277. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +14 -0
  278. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
  279. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +28 -0
  280. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
  281. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  282. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  283. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +14 -0
  284. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  285. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
  286. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
  287. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
  288. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
  289. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
  290. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
  291. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
  292. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
  293. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
  294. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
  295. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +14 -0
  296. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
  297. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
  298. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
  299. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +17 -0
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +20 -0
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +20 -0
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  333. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  334. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  335. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  336. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  337. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +20 -0
  338. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  339. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
  340. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
  341. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
  342. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
  343. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +26 -0
  344. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  345. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  346. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  347. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +3 -0
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +1 -0
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +15 -0
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +1 -0
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +3 -0
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +1 -0
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +24 -0
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +1 -0
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts +3 -0
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts.map +1 -0
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +12 -0
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js.map +1 -0
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +3 -0
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +1 -0
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +3 -0
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +1 -0
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +20 -0
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +1 -0
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +16 -0
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +1 -0
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +116 -0
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +30 -0
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +14 -0
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +19 -0
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +22 -0
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts +3 -0
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map +1 -0
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +12 -0
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map +1 -0
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts +3 -0
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts.map +1 -0
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +17 -0
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js.map +1 -0
  411. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts +3 -0
  412. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts.map +1 -0
  413. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +22 -0
  414. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js.map +1 -0
  415. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
  416. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
  417. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +20 -0
  418. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
  419. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
  420. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
  421. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
  422. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
  423. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +18 -0
  424. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
  425. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
  426. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
  427. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
  428. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
  429. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +93 -0
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +189 -0
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +18 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +34 -0
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +589 -0
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
  465. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +29 -0
  466. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
  467. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
  468. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
  469. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
  470. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
  471. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
  472. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
  473. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
  474. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
  475. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
  476. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
  477. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +29 -0
  478. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
  479. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +108 -0
  480. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +107 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +86 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +539 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +229 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +80 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +36 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
  560. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
  561. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +107 -0
  562. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
  563. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +358 -0
  564. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
  565. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
  566. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
  567. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +25 -0
  568. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
  569. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
  570. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
  571. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
  572. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
  573. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
  574. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
  575. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
  576. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
  577. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
  582. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
  583. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
  584. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
  585. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
  586. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
  587. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
  588. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
  589. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/package.json +72 -0
  614. package/node_modules/@typescript-eslint/types/LICENSE +21 -0
  615. package/node_modules/@typescript-eslint/types/README.md +12 -0
  616. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1881 -0
  617. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  618. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +202 -0
  619. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  620. package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
  621. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
  622. package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
  623. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
  624. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
  625. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
  626. package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
  627. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
  628. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +40 -0
  629. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
  630. package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
  631. package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
  632. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +14 -0
  633. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
  634. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
  635. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
  636. package/node_modules/@typescript-eslint/types/package.json +94 -0
  637. package/node_modules/micro-memoize/CHANGELOG.md +226 -0
  638. package/{LICENSE → node_modules/micro-memoize/LICENSE} +1 -1
  639. package/node_modules/micro-memoize/README.md +557 -0
  640. package/node_modules/micro-memoize/dist/micro-memoize.cjs.js +373 -0
  641. package/node_modules/micro-memoize/dist/micro-memoize.cjs.js.map +1 -0
  642. package/node_modules/micro-memoize/dist/micro-memoize.esm.js +371 -0
  643. package/node_modules/micro-memoize/dist/micro-memoize.esm.js.map +1 -0
  644. package/node_modules/micro-memoize/dist/micro-memoize.js +379 -0
  645. package/node_modules/micro-memoize/dist/micro-memoize.js.map +1 -0
  646. package/node_modules/micro-memoize/dist/micro-memoize.min.js +1 -0
  647. package/node_modules/micro-memoize/index.d.ts +132 -0
  648. package/node_modules/micro-memoize/mjs/index.d.mts +132 -0
  649. package/node_modules/micro-memoize/mjs/index.mjs +371 -0
  650. package/node_modules/micro-memoize/mjs/index.mjs.map +1 -0
  651. package/node_modules/micro-memoize/package.json +106 -0
  652. package/package.json +14 -8
@@ -0,0 +1,950 @@
1
+ 'use strict';
2
+
3
+ var tools = require('@eslint-react/tools');
4
+ var scopeManager = require('@typescript-eslint/scope-manager');
5
+ var rambda = require('rambda');
6
+ var types = require('@typescript-eslint/types');
7
+ var utils = require('@typescript-eslint/utils');
8
+ var eslintUtils = require('@eslint-community/eslint-utils');
9
+ var stringTs = require('string-ts');
10
+
11
+ function _interopNamespaceDefault(e) {
12
+ var n = Object.create(null);
13
+ if (e) {
14
+ Object.keys(e).forEach(function (k) {
15
+ if (k !== 'default') {
16
+ var d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () { return e[k]; }
20
+ });
21
+ }
22
+ });
23
+ }
24
+ n.default = e;
25
+ return Object.freeze(n);
26
+ }
27
+
28
+ var eslintUtils__namespace = /*#__PURE__*/_interopNamespaceDefault(eslintUtils);
29
+
30
+ /**
31
+ * Tests if a value is a `function`.
32
+ *
33
+ * @param input - The value to test.
34
+ *
35
+ * @example
36
+ * import { isFunction } from 'effect/Predicate'
37
+ *
38
+ * assert.deepStrictEqual(isFunction(isFunction), true)
39
+ * assert.deepStrictEqual(isFunction("function"), false)
40
+ *
41
+ * @category guards
42
+ * @since 2.0.0
43
+ */
44
+ const isFunction$2 = input => typeof input === "function";
45
+
46
+ /**
47
+ * @since 2.0.0
48
+ */
49
+ /**
50
+ * Tests if a value is a `string`.
51
+ *
52
+ * @param input - The value to test.
53
+ *
54
+ * @example
55
+ * import { isString } from "effect/Predicate"
56
+ *
57
+ * assert.deepStrictEqual(isString("a"), true)
58
+ *
59
+ * assert.deepStrictEqual(isString(1), false)
60
+ *
61
+ * @category guards
62
+ * @since 2.0.0
63
+ */
64
+ const isString = input => typeof input === "string";
65
+ /**
66
+ * Tests if a value is a `function`.
67
+ *
68
+ * @param input - The value to test.
69
+ *
70
+ * @example
71
+ * import { isFunction } from "effect/Predicate"
72
+ *
73
+ * assert.deepStrictEqual(isFunction(isFunction), true)
74
+ *
75
+ * assert.deepStrictEqual(isFunction("function"), false)
76
+ *
77
+ * @category guards
78
+ * @since 2.0.0
79
+ */
80
+ const isFunction$1 = isFunction$2;
81
+ const isRecordOrArray = input => typeof input === "object" && input !== null;
82
+ /**
83
+ * Tests if a value is an `object`.
84
+ *
85
+ * @param input - The value to test.
86
+ *
87
+ * @example
88
+ * import { isObject } from "effect/Predicate"
89
+ *
90
+ * assert.deepStrictEqual(isObject({}), true)
91
+ * assert.deepStrictEqual(isObject([]), true)
92
+ *
93
+ * assert.deepStrictEqual(isObject(null), false)
94
+ * assert.deepStrictEqual(isObject(undefined), false)
95
+ *
96
+ * @category guards
97
+ * @since 2.0.0
98
+ */
99
+ const isObject = input => isRecordOrArray(input) || isFunction$1(input);
100
+ /**
101
+ * A guard that succeeds when the input is `null` or `undefined`.
102
+ *
103
+ * @param input - The value to test.
104
+ *
105
+ * @example
106
+ * import { isNullable } from "effect/Predicate"
107
+ *
108
+ * assert.deepStrictEqual(isNullable(null), true)
109
+ * assert.deepStrictEqual(isNullable(undefined), true)
110
+ *
111
+ * assert.deepStrictEqual(isNullable({}), false)
112
+ * assert.deepStrictEqual(isNullable([]), false)
113
+ *
114
+ * @category guards
115
+ * @since 2.0.0
116
+ */
117
+ const isNullable = input => input === null || input === undefined;
118
+
119
+ const t=Symbol.for("@ts-pattern/matcher"),e=Symbol.for("@ts-pattern/isVariadic"),n="@ts-pattern/anonymous-select-key",r=t=>Boolean(t&&"object"==typeof t),i=e=>e&&!!e[t],s=(n,o,c)=>{if(i(n)){const e=n[t](),{matched:r,selections:i}=e.match(o);return r&&i&&Object.keys(i).forEach(t=>c(t,i[t])),r}if(r(n)){if(!r(o))return !1;if(Array.isArray(n)){if(!Array.isArray(o))return !1;let t=[],r=[],a=[];for(const s of n.keys()){const o=n[s];i(o)&&o[e]?a.push(o):a.length?r.push(o):t.push(o);}if(a.length){if(a.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(o.length<t.length+r.length)return !1;const e=o.slice(0,t.length),n=0===r.length?[]:o.slice(-r.length),i=o.slice(t.length,0===r.length?Infinity:-r.length);return t.every((t,n)=>s(t,e[n],c))&&r.every((t,e)=>s(t,n[e],c))&&(0===a.length||s(a[0],i,c))}return n.length===o.length&&n.every((t,e)=>s(t,o[e],c))}return Object.keys(n).every(e=>{const r=n[e];return (e in o||i(a=r)&&"optional"===a[t]().matcherType)&&s(r,o[e],c);var a;})}return Object.is(o,n)},o=e=>{var n,s,a;return r(e)?i(e)?null!=(n=null==(s=(a=e[t]()).getSelectionKeys)?void 0:s.call(a))?n:[]:Array.isArray(e)?c(e,o):c(Object.values(e),o):[]},c=(t,e)=>t.reduce((t,n)=>t.concat(e(n)),[]);function a(...t){if(1===t.length){const[e]=t;return t=>s(e,t,()=>{})}if(2===t.length){const[e,n]=t;return s(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function u(t){return Object.assign(t,{optional:()=>l(t),and:e=>m(t,e),or:e=>y(t,e),select:e=>void 0===e?p(t):p(e,t)})}function h(t){return Object.assign((t=>Object.assign(t,{*[Symbol.iterator](){yield Object.assign(t,{[e]:!0});}}))(t),{optional:()=>h(l(t)),select:e=>h(void 0===e?p(t):p(e,t))})}function l(e){return u({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e;};return void 0===t?(o(e).forEach(t=>r(t,void 0)),{matched:!0,selections:n}):{matched:s(e,t,r),selections:n}},getSelectionKeys:()=>o(e),matcherType:"optional"})})}const f=(t,e)=>{for(const n of t)if(!e(n))return !1;return !0},g=(t,e)=>{for(const[n,r]of t.entries())if(!e(r,n))return !1;return !0};function m(...e){return u({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e;};return {matched:e.every(e=>s(e,t,r)),selections:n}},getSelectionKeys:()=>c(e,o),matcherType:"and"})})}function y(...e){return u({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e;};return c(e,o).forEach(t=>r(t,void 0)),{matched:e.some(e=>s(e,t,r)),selections:n}},getSelectionKeys:()=>c(e,o),matcherType:"or"})})}function d(e){return {[t]:()=>({match:t=>({matched:Boolean(e(t))})})}}function p(...e){const r="string"==typeof e[0]?e[0]:void 0,i=2===e.length?e[1]:"string"==typeof e[0]?void 0:e[0];return u({[t]:()=>({match:t=>{let e={[null!=r?r:n]:t};return {matched:void 0===i||s(i,t,(t,n)=>{e[t]=n;}),selections:e}},getSelectionKeys:()=>[null!=r?r:n].concat(void 0===i?[]:o(i))})})}function v(t){return "number"==typeof t}function b(t){return "string"==typeof t}function w(t){return "bigint"==typeof t}const S=u(d(function(t){return !0})),O=S,j=t=>Object.assign(u(t),{startsWith:e=>{return j(m(t,(n=e,d(t=>b(t)&&t.startsWith(n)))));var n;},endsWith:e=>{return j(m(t,(n=e,d(t=>b(t)&&t.endsWith(n)))));var n;},minLength:e=>j(m(t,(t=>d(e=>b(e)&&e.length>=t))(e))),maxLength:e=>j(m(t,(t=>d(e=>b(e)&&e.length<=t))(e))),includes:e=>{return j(m(t,(n=e,d(t=>b(t)&&t.includes(n)))));var n;},regex:e=>{return j(m(t,(n=e,d(t=>b(t)&&Boolean(t.match(n))))));var n;}}),E=j(d(b)),K=t=>Object.assign(u(t),{between:(e,n)=>K(m(t,((t,e)=>d(n=>v(n)&&t<=n&&e>=n))(e,n))),lt:e=>K(m(t,(t=>d(e=>v(e)&&e<t))(e))),gt:e=>K(m(t,(t=>d(e=>v(e)&&e>t))(e))),lte:e=>K(m(t,(t=>d(e=>v(e)&&e<=t))(e))),gte:e=>K(m(t,(t=>d(e=>v(e)&&e>=t))(e))),int:()=>K(m(t,d(t=>v(t)&&Number.isInteger(t)))),finite:()=>K(m(t,d(t=>v(t)&&Number.isFinite(t)))),positive:()=>K(m(t,d(t=>v(t)&&t>0))),negative:()=>K(m(t,d(t=>v(t)&&t<0)))}),A=K(d(v)),x=t=>Object.assign(u(t),{between:(e,n)=>x(m(t,((t,e)=>d(n=>w(n)&&t<=n&&e>=n))(e,n))),lt:e=>x(m(t,(t=>d(e=>w(e)&&e<t))(e))),gt:e=>x(m(t,(t=>d(e=>w(e)&&e>t))(e))),lte:e=>x(m(t,(t=>d(e=>w(e)&&e<=t))(e))),gte:e=>x(m(t,(t=>d(e=>w(e)&&e>=t))(e))),positive:()=>x(m(t,d(t=>w(t)&&t>0))),negative:()=>x(m(t,d(t=>w(t)&&t<0)))}),P=x(d(w)),T=u(d(function(t){return "boolean"==typeof t})),k=u(d(function(t){return "symbol"==typeof t})),B=u(d(function(t){return null==t}));var _={__proto__:null,matcher:t,optional:l,array:function(...e){return h({[t]:()=>({match:t=>{if(!Array.isArray(t))return {matched:!1};if(0===e.length)return {matched:!0};const n=e[0];let r={};if(0===t.length)return o(n).forEach(t=>{r[t]=[];}),{matched:!0,selections:r};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e]);};return {matched:t.every(t=>s(n,t,i)),selections:r}},getSelectionKeys:()=>0===e.length?[]:o(e[0])})})},set:function(...e){return u({[t]:()=>({match:t=>{if(!(t instanceof Set))return {matched:!1};let n={};if(0===t.size)return {matched:!0,selections:n};if(0===e.length)return {matched:!0};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e]);},i=e[0];return {matched:f(t,t=>s(i,t,r)),selections:n}},getSelectionKeys:()=>0===e.length?[]:o(e[0])})})},map:function(...e){return u({[t]:()=>({match:t=>{if(!(t instanceof Map))return {matched:!1};let n={};if(0===t.size)return {matched:!0,selections:n};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e]);};if(0===e.length)return {matched:!0};var i;if(1===e.length)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${null==(i=e[0])?void 0:i.toString()}`);const[o,c]=e;return {matched:g(t,(t,e)=>{const n=s(o,e,r),i=s(c,t,r);return n&&i}),selections:n}},getSelectionKeys:()=>0===e.length?[]:[...o(e[0]),...o(e[1])]})})},intersection:m,union:y,not:function(e){return u({[t]:()=>({match:t=>({matched:!s(e,t,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:d,select:p,any:S,_:O,string:E,number:A,bigint:P,boolean:T,symbol:k,nullish:B,instanceOf:function(t){return u(d(function(t){return e=>e instanceof t}(t)))},shape:function(t){return u(d(a(t)))}};const W={matched:!1,value:void 0};function N(t){return new $(t,W)}class ${constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e;}with(...t){if(this.state.matched)return this;const e=t[t.length-1],r=[t[0]];let i;3===t.length&&"function"==typeof t[1]?(r.push(t[0]),i=t[1]):t.length>2&&r.push(...t.slice(1,t.length-1));let o=!1,c={};const a=(t,e)=>{o=!0,c[t]=e;},u=!r.some(t=>s(t,this.input,a))||i&&!Boolean(i(this.input))?W:{matched:!0,value:e(o?n in c?c[n]:c:this.input,this.input)};return new $(this.input,u)}when(t,e){if(this.state.matched)return this;const n=Boolean(t(this.input));return new $(this.input,n?{matched:!0,value:e(this.input,this.input)}:W)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(){return this.run()}run(){if(this.state.matched)return this.state.value;let t;try{t=JSON.stringify(this.input);}catch(e){t=this.input;}throw new Error(`Pattern matching error: no pattern matches value ${t}`)}returnType(){return this}}
120
+
121
+ const NodeType = types.AST_NODE_TYPES;
122
+ const is = utils.ASTUtils.isNodeOfType;
123
+ const isOneOf = utils.ASTUtils.isNodeOfTypes;
124
+ const isFunction = isOneOf([
125
+ NodeType.ArrowFunctionExpression,
126
+ NodeType.FunctionDeclaration,
127
+ NodeType.FunctionExpression
128
+ ]);
129
+ const isFunctionType = isOneOf([
130
+ NodeType.ArrowFunctionExpression,
131
+ NodeType.FunctionDeclaration,
132
+ NodeType.FunctionExpression,
133
+ NodeType.TSCallSignatureDeclaration,
134
+ NodeType.TSConstructSignatureDeclaration,
135
+ NodeType.TSDeclareFunction,
136
+ NodeType.TSEmptyBodyFunctionExpression,
137
+ NodeType.TSFunctionType,
138
+ NodeType.TSMethodSignature
139
+ ]);
140
+ const isClass = isOneOf([
141
+ NodeType.ClassDeclaration,
142
+ NodeType.ClassExpression
143
+ ]);
144
+ const isLoop = isOneOf([
145
+ NodeType.DoWhileStatement,
146
+ NodeType.ForInStatement,
147
+ NodeType.ForOfStatement,
148
+ NodeType.ForStatement,
149
+ NodeType.WhileStatement
150
+ ]);
151
+ const isArrayTupleType = isOneOf([
152
+ NodeType.TSArrayType,
153
+ NodeType.TSTupleType
154
+ ]);
155
+ const isProperty = isOneOf([
156
+ NodeType.PropertyDefinition,
157
+ NodeType.TSIndexSignature,
158
+ NodeType.TSParameterProperty,
159
+ NodeType.TSPropertySignature
160
+ ]);
161
+ const isJSXElement = is(NodeType.JSXElement);
162
+ const isJSXFragment = is(NodeType.JSXFragment);
163
+ const isJSX = isOneOf([
164
+ NodeType.JSXAttribute,
165
+ NodeType.JSXSpreadChild,
166
+ NodeType.JSXClosingElement,
167
+ NodeType.JSXClosingFragment,
168
+ NodeType.JSXElement,
169
+ NodeType.JSXEmptyExpression,
170
+ NodeType.JSXExpressionContainer,
171
+ NodeType.JSXFragment,
172
+ NodeType.JSXIdentifier,
173
+ NodeType.JSXMemberExpression,
174
+ NodeType.JSXNamespacedName,
175
+ NodeType.JSXOpeningElement,
176
+ NodeType.JSXOpeningFragment,
177
+ NodeType.JSXSpreadAttribute,
178
+ NodeType.JSXSpreadChild,
179
+ NodeType.JSXText
180
+ ]);
181
+ const isJSXTagNameExpression = isOneOf([
182
+ NodeType.JSXIdentifier,
183
+ NodeType.JSXMemberExpression,
184
+ NodeType.JSXNamespacedName
185
+ ]);
186
+ const isDestructuringPattern = isOneOf([
187
+ NodeType.ArrayPattern,
188
+ NodeType.AssignmentPattern,
189
+ NodeType.ObjectPattern,
190
+ NodeType.RestElement
191
+ ]);
192
+ const isTypeDeclaration = isOneOf([
193
+ NodeType.TSInterfaceDeclaration,
194
+ NodeType.TSTypeAliasDeclaration
195
+ ]);
196
+ const isLeftHandSideExpression = isOneOf([
197
+ NodeType.ArrayExpression,
198
+ NodeType.ArrayPattern,
199
+ NodeType.ArrowFunctionExpression,
200
+ NodeType.CallExpression,
201
+ NodeType.ClassExpression,
202
+ NodeType.FunctionExpression,
203
+ NodeType.Identifier,
204
+ NodeType.JSXElement,
205
+ NodeType.JSXFragment,
206
+ NodeType.Literal,
207
+ NodeType.TemplateLiteral,
208
+ NodeType.MemberExpression,
209
+ NodeType.MetaProperty,
210
+ NodeType.ObjectExpression,
211
+ NodeType.ObjectPattern,
212
+ NodeType.SequenceExpression,
213
+ NodeType.Super,
214
+ NodeType.TaggedTemplateExpression,
215
+ NodeType.ThisExpression
216
+ ]);
217
+ const isLeftHandSideExpressionType = isOneOf([
218
+ NodeType.ArrayExpression,
219
+ NodeType.ArrayPattern,
220
+ NodeType.ArrowFunctionExpression,
221
+ NodeType.CallExpression,
222
+ NodeType.ClassExpression,
223
+ NodeType.FunctionExpression,
224
+ NodeType.Identifier,
225
+ NodeType.JSXElement,
226
+ NodeType.JSXFragment,
227
+ NodeType.Literal,
228
+ NodeType.TemplateLiteral,
229
+ NodeType.MemberExpression,
230
+ NodeType.MetaProperty,
231
+ NodeType.ObjectExpression,
232
+ NodeType.ObjectPattern,
233
+ NodeType.SequenceExpression,
234
+ NodeType.Super,
235
+ NodeType.TaggedTemplateExpression,
236
+ NodeType.ThisExpression,
237
+ NodeType.TSAsExpression,
238
+ NodeType.TSNonNullExpression,
239
+ NodeType.TSTypeAssertion
240
+ ]);
241
+
242
+ const Construction = tools.Data.taggedEnum();
243
+ const None = Construction.None();
244
+ /**
245
+ * Get a function that detects the construction of a given node.
246
+ * @param context The rule context
247
+ * @returns A function that detects the construction of a given node
248
+ */ function constructionDetector(context) {
249
+ /**
250
+ * Detect if a node is a constructed value.
251
+ * @param node The AST node to detect the construction of
252
+ * @param scope The scope of the node
253
+ * @returns The construction of the node
254
+ */ // eslint-disable-next-line sonarjs/cognitive-complexity
255
+ const detect = (node, scope = context.getScope())=>{
256
+ return N(node).when(is(NodeType.ArrayExpression), (node)=>Construction.Array({
257
+ node,
258
+ usage: tools.O.none()
259
+ })).when(is(NodeType.ObjectExpression), (node)=>Construction.ObjectExpression({
260
+ node,
261
+ usage: tools.O.none()
262
+ })).when(is(NodeType.ClassExpression), (node)=>Construction.ClassExpression({
263
+ node,
264
+ usage: tools.O.none()
265
+ })).when(is(NodeType.JSXElement), (node)=>Construction.JSXElement({
266
+ node,
267
+ usage: tools.O.none()
268
+ })).when(is(NodeType.JSXFragment), (node)=>Construction.JSXFragment({
269
+ node,
270
+ usage: tools.O.none()
271
+ })).when(is(NodeType.NewExpression), (node)=>Construction.NewExpression({
272
+ node,
273
+ usage: tools.O.none()
274
+ })).when(isOneOf([
275
+ NodeType.FunctionExpression,
276
+ NodeType.ArrowFunctionExpression
277
+ ]), (node)=>{
278
+ return Construction.FunctionExpression({
279
+ node,
280
+ usage: tools.O.none()
281
+ });
282
+ }).when(is(NodeType.MemberExpression), (node)=>{
283
+ if (!("object" in node)) {
284
+ return None;
285
+ }
286
+ const object = detect(node.object);
287
+ if (object._tag === "None") {
288
+ return object;
289
+ }
290
+ return {
291
+ ...object,
292
+ usage: tools.O.some(node.object)
293
+ };
294
+ }).when(is(NodeType.AssignmentExpression), (node)=>{
295
+ if (!("right" in node)) {
296
+ return None;
297
+ }
298
+ const right = detect(node.right);
299
+ if (right._tag === "None") {
300
+ return right;
301
+ }
302
+ return Construction.AssignmentExpression({
303
+ node: right.node,
304
+ usage: tools.O.some(node)
305
+ });
306
+ }).when(is(NodeType.LogicalExpression), (node)=>{
307
+ if (!("left" in node && "right" in node)) {
308
+ return None;
309
+ }
310
+ const left = detect(node.left);
311
+ if (left._tag === "None") {
312
+ return None;
313
+ }
314
+ return detect(node.right);
315
+ }).when(is(NodeType.ConditionalExpression), (node)=>{
316
+ if (!("consequent" in node && "alternate" in node && !rambda.isNil(node.alternate))) {
317
+ return None;
318
+ }
319
+ const consequent = detect(node.consequent);
320
+ if (consequent._tag === "None") {
321
+ return None;
322
+ }
323
+ return detect(node.alternate);
324
+ }).when(is(NodeType.Identifier), (node)=>{
325
+ if (!("name" in node && isString(node.name))) {
326
+ return None;
327
+ }
328
+ const maybeLatestDef = tools.O.fromNullable(scope.set.get(node.name)?.defs.at(-1));
329
+ if (tools.O.isNone(maybeLatestDef)) {
330
+ return None;
331
+ }
332
+ const latestDef = maybeLatestDef.value;
333
+ if (latestDef.type !== scopeManager.DefinitionType.Variable && latestDef.type !== scopeManager.DefinitionType.FunctionName) {
334
+ return None;
335
+ }
336
+ if (latestDef.node.type === NodeType.FunctionDeclaration) {
337
+ return Construction.FunctionDeclaration({
338
+ node: latestDef.node,
339
+ usage: tools.O.some(node)
340
+ });
341
+ }
342
+ if (!("init" in latestDef.node) || latestDef.node.init === null) {
343
+ return None;
344
+ }
345
+ return detect(latestDef.node.init);
346
+ }).when(is(NodeType.Literal), (node)=>{
347
+ if ("regex" in node) {
348
+ return Construction.RegExpLiteral({
349
+ node,
350
+ usage: tools.O.none()
351
+ });
352
+ }
353
+ return None;
354
+ }).when(isOneOf([
355
+ NodeType.TSAsExpression,
356
+ NodeType.TSTypeAssertion
357
+ ]), ()=>{
358
+ if (!("expression" in node) || !isObject(node.expression)) {
359
+ return None;
360
+ }
361
+ return detect(node.expression);
362
+ }).otherwise(()=>None);
363
+ };
364
+ return detect;
365
+ }
366
+
367
+ const unstableAssignmentPatternTypes = [
368
+ NodeType.JSXElement,
369
+ NodeType.ArrayExpression,
370
+ NodeType.ObjectExpression,
371
+ NodeType.FunctionExpression,
372
+ NodeType.ArrowFunctionExpression,
373
+ NodeType.ClassExpression,
374
+ NodeType.NewExpression,
375
+ NodeType.CallExpression
376
+ ];
377
+ /**
378
+ * Check if the given node is an unstable assignment pattern (will change between assignments)
379
+ * @param node The AST node to check
380
+ * @param node.right The right side of the assignment
381
+ */ function isUnstableAssignmentPattern(node) {
382
+ const { right } = node;
383
+ if (right.type === NodeType.Literal) {
384
+ return "regex" in right;
385
+ }
386
+ return isOneOf(unstableAssignmentPatternTypes)(right);
387
+ }
388
+
389
+ // Ported from: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/src/ast-utils/eslint-utils/astUtilities.ts
390
+ /**
391
+ * Get the proper location of a given function node to report.
392
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
393
+ */ const getFunctionHeadLocation = eslintUtils__namespace.getFunctionHeadLocation;
394
+ /**
395
+ * Get the name and kind of a given function node.
396
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
397
+ */ const getFunctionNameWithKind = eslintUtils__namespace.getFunctionNameWithKind;
398
+ /**
399
+ * Get the property name of a given property node.
400
+ * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
401
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
402
+ * @returns The property name of the node. If the property name is not constant then it returns `null`.
403
+ */ const getPropertyName = eslintUtils__namespace.getPropertyName;
404
+ /**
405
+ * Get the value of a given node if it can decide the value statically.
406
+ * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the
407
+ * given node as much as possible. In the resolving way, it does on the assumption that built-in global objects have
408
+ * not been modified.
409
+ * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
410
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
411
+ * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
412
+ * static value of the node, it returns `null`.
413
+ */ const getStaticValue = eslintUtils__namespace.getStaticValue;
414
+ /**
415
+ * Get the string value of a given node.
416
+ * This function is a tiny wrapper of the getStaticValue function.
417
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
418
+ */ const getStringIfConstant = eslintUtils__namespace.getStringIfConstant;
419
+ /**
420
+ * Check whether a given node has any side effect or not.
421
+ * The side effect means that it may modify a certain variable or object member. This function considers the node which
422
+ * contains the following types as the node which has side effects:
423
+ * - `AssignmentExpression`
424
+ * - `AwaitExpression`
425
+ * - `CallExpression`
426
+ * - `ImportExpression`
427
+ * - `NewExpression`
428
+ * - `UnaryExpression([operator = "delete"])`
429
+ * - `UpdateExpression`
430
+ * - `YieldExpression`
431
+ * - When `options.considerGetters` is `true`:
432
+ * - `MemberExpression`
433
+ * - When `options.considerImplicitTypeConversion` is `true`:
434
+ * - `BinaryExpression([operator = "==" | "!=" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "in"])`
435
+ * - `MemberExpression([computed = true])`
436
+ * - `MethodDefinition([computed = true])`
437
+ * - `Property([computed = true])`
438
+ * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
439
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
440
+ */ const hasSideEffect = eslintUtils__namespace.hasSideEffect;
441
+ const isParenthesized = eslintUtils__namespace.isParenthesized;
442
+
443
+ /**
444
+ * Gets nested identifiers in a node
445
+ * @param node The AST node
446
+ * @returns The nested identifiers
447
+ */ function getNestedIdentifiers(node) {
448
+ const identifiers = [];
449
+ if (node.type === NodeType.Identifier) {
450
+ identifiers.push(node);
451
+ }
452
+ if ("arguments" in node) {
453
+ node.arguments.forEach((x)=>{
454
+ identifiers.push(...getNestedIdentifiers(x));
455
+ });
456
+ }
457
+ if ("elements" in node) {
458
+ node.elements.forEach((x)=>{
459
+ if (x !== null) {
460
+ identifiers.push(...getNestedIdentifiers(x));
461
+ }
462
+ });
463
+ }
464
+ if ("properties" in node) {
465
+ node.properties.forEach((x)=>{
466
+ identifiers.push(...getNestedIdentifiers(x));
467
+ });
468
+ }
469
+ if ("expressions" in node) {
470
+ node.expressions.forEach((x)=>{
471
+ identifiers.push(...getNestedIdentifiers(x));
472
+ });
473
+ }
474
+ if (node.type === NodeType.Property) {
475
+ identifiers.push(...getNestedIdentifiers(node.value));
476
+ }
477
+ if (node.type === NodeType.SpreadElement) {
478
+ identifiers.push(...getNestedIdentifiers(node.argument));
479
+ }
480
+ if (node.type === NodeType.MemberExpression) {
481
+ identifiers.push(...getNestedIdentifiers(node.object));
482
+ }
483
+ if (node.type === NodeType.UnaryExpression) {
484
+ identifiers.push(...getNestedIdentifiers(node.argument));
485
+ }
486
+ if (node.type === NodeType.ChainExpression) {
487
+ identifiers.push(...getNestedIdentifiers(node.expression));
488
+ }
489
+ if (node.type === NodeType.TSNonNullExpression) {
490
+ identifiers.push(...getNestedIdentifiers(node.expression));
491
+ }
492
+ return identifiers;
493
+ }
494
+
495
+ /**
496
+ * Gets nested return statements in a node
497
+ * @param node The AST node
498
+ * @returns The nested return statements
499
+ */ function getNestedReturnStatements(node) {
500
+ const returnStatements = [];
501
+ if (node.type === NodeType.ReturnStatement) {
502
+ returnStatements.push(node);
503
+ }
504
+ if ("body" in node && !rambda.isNil(node.body)) {
505
+ Array.isArray(node.body) ? node.body.forEach((x)=>{
506
+ returnStatements.push(...getNestedReturnStatements(x));
507
+ }) : returnStatements.push(...getNestedReturnStatements(node.body));
508
+ }
509
+ if ("consequent" in node) {
510
+ Array.isArray(node.consequent) ? node.consequent.forEach((x)=>{
511
+ returnStatements.push(...getNestedReturnStatements(x));
512
+ }) : returnStatements.push(...getNestedReturnStatements(node.consequent));
513
+ }
514
+ if ("alternate" in node && node.alternate !== null) {
515
+ Array.isArray(node.alternate) ? node.alternate.forEach((x)=>{
516
+ returnStatements.push(...getNestedReturnStatements(x));
517
+ }) : returnStatements.push(...getNestedReturnStatements(node.alternate));
518
+ }
519
+ if ("cases" in node) {
520
+ node.cases.forEach((x)=>{
521
+ returnStatements.push(...getNestedReturnStatements(x));
522
+ });
523
+ }
524
+ if ("block" in node) {
525
+ returnStatements.push(...getNestedReturnStatements(node.block));
526
+ }
527
+ if ("handler" in node && node.handler !== null) {
528
+ returnStatements.push(...getNestedReturnStatements(node.handler));
529
+ }
530
+ if ("finalizer" in node && node.finalizer !== null) {
531
+ returnStatements.push(...getNestedReturnStatements(node.finalizer));
532
+ }
533
+ if ("expression" in node && node.expression !== true && node.expression !== false) {
534
+ returnStatements.push(...getNestedReturnStatements(node.expression));
535
+ }
536
+ if ("test" in node && node.test !== null) {
537
+ returnStatements.push(...getNestedReturnStatements(node.test));
538
+ }
539
+ return returnStatements;
540
+ }
541
+
542
+ /**
543
+ * Checks if the given node is a function expression or arrow function expression of a object method.
544
+ * @param node The node to check.
545
+ * @returns `true` if the node is a function expression or arrow function expression of a object method, `false` otherwise.
546
+ */ const isFunctionOfObjectMethod = a({
547
+ type: _.union([
548
+ NodeType.FunctionExpression,
549
+ NodeType.ArrowFunctionExpression
550
+ ]),
551
+ parent: {
552
+ type: NodeType.Property,
553
+ parent: {
554
+ type: NodeType.ObjectExpression
555
+ }
556
+ }
557
+ });
558
+ /**
559
+ * Checks if the given node is a function expression or arrow function expression of a class method.
560
+ * @param node The node to check.
561
+ * @returns `true` if the node is a function expression or arrow function expression of a class method, `false` otherwise.
562
+ */ const isFunctionOfClassMethod = a({
563
+ type: _.union([
564
+ NodeType.FunctionExpression,
565
+ NodeType.ArrowFunctionExpression
566
+ ]),
567
+ parent: {
568
+ type: NodeType.MethodDefinition,
569
+ parent: {
570
+ type: NodeType.ClassBody
571
+ }
572
+ }
573
+ });
574
+ /**
575
+ * Checks if the given node is a function expression or arrow function expression of a class property.
576
+ * @param node The node to check.
577
+ * @returns `true` if the node is a function expression or arrow function expression of a class property, `false` otherwise.
578
+ */ const isFunctionOfClassProperty = a({
579
+ type: _.union([
580
+ NodeType.FunctionExpression,
581
+ NodeType.ArrowFunctionExpression
582
+ ]),
583
+ parent: {
584
+ type: NodeType.Property,
585
+ parent: {
586
+ type: NodeType.ClassBody
587
+ }
588
+ }
589
+ });
590
+
591
+ /**
592
+ * Checks if a node is an identifier with a given name
593
+ * @param node The AST node
594
+ * @param name The name
595
+ * @returns `true if the node is an identifier with the given name
596
+ */ function isIdentifierWithName(node, name) {
597
+ return node.type === NodeType.Identifier && node.name === name;
598
+ }
599
+ /**
600
+ * Checks if a node is an identifier with one of names
601
+ * @param node The AST node
602
+ * @param name The name
603
+ * @returns `true` if the node is an identifier with one of names
604
+ */ function isIdentifierWithOneOfNames(node, name) {
605
+ return node.type === NodeType.Identifier && name.includes(node.name);
606
+ }
607
+ /**
608
+ * Gets FunctionDeclaration's identifier or FunctionExpression's parent identifier if it exists
609
+ * @param node The AST node to check
610
+ * @returns function identifier or null
611
+ */ function getFunctionIdentifier(node) {
612
+ if (node.id) {
613
+ return node.id;
614
+ }
615
+ if (isOneOf([
616
+ NodeType.ArrowFunctionExpression,
617
+ NodeType.FunctionExpression
618
+ ])(node)) {
619
+ return "id" in node.parent && node.parent.id?.type === NodeType.Identifier ? node.parent.id : null;
620
+ }
621
+ return null;
622
+ }
623
+ /**
624
+ * Gets class identifier from ClassDeclaration or ClassExpression
625
+ * @param node The AST node to check
626
+ * @returns class identifier or null
627
+ */ function getClassIdentifier(node) {
628
+ return N(node).with({
629
+ type: NodeType.ClassDeclaration
630
+ }, (x)=>x.id).with({
631
+ type: NodeType.ClassExpression,
632
+ parent: {
633
+ id: {
634
+ type: NodeType.Identifier
635
+ },
636
+ type: NodeType.VariableDeclarator
637
+ }
638
+ }, (x)=>x.parent.id).otherwise(()=>null);
639
+ }
640
+
641
+ /**
642
+ * Determines whether node equals to another node
643
+ * @param a node to compare
644
+ * @param b node to compare
645
+ * @returns `true` if node equal
646
+ * @see https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/util/isNodeEqual.ts
647
+ */ function isNodeEqual(a, b) {
648
+ if (a.type !== b.type) {
649
+ return false;
650
+ }
651
+ if (a.type === NodeType.ThisExpression && b.type === NodeType.ThisExpression) {
652
+ return true;
653
+ }
654
+ if (a.type === NodeType.Literal && b.type === NodeType.Literal) {
655
+ return a.value === b.value;
656
+ }
657
+ if (a.type === NodeType.Identifier && b.type === NodeType.Identifier) {
658
+ return a.name === b.name;
659
+ }
660
+ if (a.type === NodeType.MemberExpression && b.type === NodeType.MemberExpression) {
661
+ return isNodeEqual(a.property, b.property) && isNodeEqual(a.object, b.object);
662
+ }
663
+ return false;
664
+ }
665
+
666
+ function isRegExpLiteral(node) {
667
+ return node.type === NodeType.Literal && "regex" in node;
668
+ }
669
+ function isStringLiteral(node) {
670
+ return node?.type === NodeType.Literal && isString(node.value);
671
+ }
672
+
673
+ /**
674
+ * Check if a node is multiline
675
+ * @param node The AST node to check
676
+ * @returns `true` if the node is multiline
677
+ */ function isMultiLine(node) {
678
+ return node.loc.start.line !== node.loc.end.line;
679
+ }
680
+ function unsafeIsToStringCall(node) {
681
+ return a({
682
+ type: NodeType.CallExpression,
683
+ callee: {
684
+ type: NodeType.MemberExpression,
685
+ property: {
686
+ type: NodeType.Identifier,
687
+ name: "toString"
688
+ }
689
+ }
690
+ }, node);
691
+ }
692
+ function unsafeIsStringCall(node) {
693
+ return a({
694
+ type: NodeType.CallExpression,
695
+ callee: {
696
+ type: NodeType.Identifier,
697
+ name: "String"
698
+ }
699
+ }, node);
700
+ }
701
+ /**
702
+ * Unsafe check whether given node or its parent is directly inside `Array.from` call
703
+ * @param node The AST node to check
704
+ * @returns `true` if node is directly inside `Array.from` call, `false` if not
705
+ */ function unsafeIsArrayFromCall(node) {
706
+ return a({
707
+ type: NodeType.CallExpression,
708
+ callee: {
709
+ type: NodeType.MemberExpression,
710
+ property: {
711
+ name: "from"
712
+ }
713
+ }
714
+ }, node);
715
+ }
716
+ /**
717
+ * Unsafe check whether given node or its parent is directly inside `map` call
718
+ * ```jsx
719
+ * _ = <div>{items.map(item => <li />)}</div>
720
+ * ` ^^^^^^^^^^^^^^ `
721
+ * ```
722
+ * @param node The AST node to check
723
+ * @returns `true` if node is directly inside `map` call, `false` if not
724
+ */ function unsafeIsMapCall(node) {
725
+ return a({
726
+ callee: {
727
+ type: NodeType.MemberExpression,
728
+ property: {
729
+ name: "map"
730
+ }
731
+ }
732
+ }, node);
733
+ }
734
+
735
+ function isPropertyOfObjectExpression(node) {
736
+ return node.parent?.type === NodeType.Property;
737
+ }
738
+ function isPropertyWithIdentifierKey(node, key) {
739
+ return node.type === NodeType.Property && isIdentifierWithName(node.key, key);
740
+ }
741
+ function findPropertyWithIdentifierKey(properties, key) {
742
+ return properties.find((x)=>isPropertyWithIdentifierKey(x, key));
743
+ }
744
+
745
+ /**
746
+ * Returns human readable node type for given AST node
747
+ * @param node AST node
748
+ * @returns Human readable node type
749
+ */ function readableNodeType(node) {
750
+ if (node.type === NodeType.Literal) {
751
+ if ("regex" in node) {
752
+ return "RegExp literal";
753
+ }
754
+ return `${rambda.type(node.value)} literal`;
755
+ }
756
+ if (isJSX(node)) {
757
+ return `JSX ${stringTs.toLowerCase(stringTs.delimiterCase(stringTs.replace(node.type, "JSX", ""), " "))}`;
758
+ }
759
+ return stringTs.toLowerCase(stringTs.delimiterCase(node.type, " "));
760
+ }
761
+
762
+ /**
763
+ * Traverses up the AST tree until the predicate returns `true` or the root node is reached
764
+ * @param node The AST node to start traversing from
765
+ * @param predicate The predicate to check each node
766
+ * @returns The first node that matches the predicate or `null` if no node matches
767
+ */ function traverseUp(node, predicate) {
768
+ const { parent } = node;
769
+ if (!parent || parent.type === NodeType.Program) {
770
+ return null;
771
+ }
772
+ return predicate(parent) ? parent : traverseUp(parent, predicate);
773
+ }
774
+ /**
775
+ * Traverses up the AST tree until the predicate returns `true` or the root node is reached
776
+ * @template T
777
+ * @param node The AST node to start traversing from
778
+ * @param predicate The predicate to check each node. **must be a type guard**
779
+ * @returns The first node that matches the predicate or `null` if no node matches
780
+ */ function traverseUpGuard(node, predicate) {
781
+ const { parent } = node;
782
+ if (!parent || parent.type === NodeType.Program) {
783
+ return null;
784
+ }
785
+ return predicate(parent) ? parent : traverseUpGuard(parent, predicate);
786
+ }
787
+
788
+ function isDeclaredInNode({ functionNode, reference, scopeManager }) {
789
+ const scope = scopeManager.acquire(functionNode);
790
+ return !!scope?.set.has(reference.identifier.name);
791
+ }
792
+ function getExternalRefs(params) {
793
+ const { node, scopeManager, sourceCode } = params;
794
+ const scope = scopeManager.acquire(node);
795
+ if (!scope) {
796
+ return [];
797
+ }
798
+ const references = scope.references.filter((x)=>x.isRead() && !scope.set.has(x.identifier.name)).map((x)=>{
799
+ const referenceNode = traverseUpGuard(x.identifier, isOneOf([
800
+ NodeType.MemberExpression,
801
+ NodeType.Identifier
802
+ ]));
803
+ if (!referenceNode) {
804
+ return null;
805
+ }
806
+ return {
807
+ node: referenceNode,
808
+ text: sourceCode.getText(referenceNode),
809
+ variable: x
810
+ };
811
+ }).filter((x)=>x !== null);
812
+ const localRefIds = new Set([
813
+ ...scope.set.values()
814
+ ].map((x)=>sourceCode.getText(x.identifiers[0])));
815
+ const externalRefs = references.filter((x)=>rambda.isNil(x.variable.resolved) || !localRefIds.has(x.text));
816
+ return tools.uniqueBy(externalRefs, (x)=>x.text).map((x)=>x.variable);
817
+ }
818
+
819
+ /**
820
+ * Get all unary operators in a nested unary expression.
821
+ * @param node The node to get the operators from.
822
+ * @returns All unary operators in a nested unary expression.
823
+ */ function getNestedUnaryOperators(node) {
824
+ const { operator } = node;
825
+ const { argument } = node;
826
+ if (argument.type === NodeType.UnaryExpression) {
827
+ return [
828
+ operator,
829
+ ...getNestedUnaryOperators(argument)
830
+ ];
831
+ }
832
+ return [
833
+ operator
834
+ ];
835
+ }
836
+
837
+ /**
838
+ * Find a variable through a list of variables by name
839
+ * @param name The name of the variable to find
840
+ */ function findVariableByName(name) {
841
+ /**
842
+ * @param variables The variables to search through
843
+ */ return (variables)=>{
844
+ return tools.O.fromNullable(variables.find((variable)=>variable.name === name));
845
+ };
846
+ }
847
+ /**
848
+ * Get all variables from the given scope up to the global scope
849
+ * @param startScope The scope to start from
850
+ */ function getVariablesUpToGlobal(startScope) {
851
+ const scopeRef = tools.MutRef.make(startScope);
852
+ const variablesRef = tools.MutRef.make(tools.MutRef.get(scopeRef).variables);
853
+ while(tools.MutRef.get(scopeRef).type !== scopeManager.ScopeType.global){
854
+ tools.MutRef.set(scopeRef, tools.MutRef.get(scopeRef).upper);
855
+ tools.MutRef.update(variablesRef, (variables)=>variables.concat(tools.MutRef.get(scopeRef).variables));
856
+ }
857
+ return tools.MutRef.get(variablesRef).reverse();
858
+ }
859
+ /**
860
+ * Find a variable through a list of variables by name, starting from the given scope and going up to the global scope
861
+ * @param name The name of the variable to find
862
+ * @param startScope The scope to start from
863
+ */ function findVariableByNameUpToGlobal(name, startScope) {
864
+ return findVariableByName(name)(getVariablesUpToGlobal(startScope));
865
+ }
866
+ function resolveDefinitionInit(def) {
867
+ if ("init" in def.node && !isNullable(def.node.init)) {
868
+ return tools.O.some(def.node.init);
869
+ }
870
+ // TODO: support other types of definitions
871
+ return tools.O.none();
872
+ }
873
+ /**
874
+ * Get the init node of the nth definition of a variable
875
+ * @param at The index number of def in defs
876
+ * @returns A function that takes a variable and returns the init node of the nth definition of that variable
877
+ */ function getVariableInit(at) {
878
+ return (variable)=>{
879
+ return tools.F.pipe(tools.O.some(variable), tools.O.flatMapNullable((v)=>v.defs.at(at)), tools.O.flatMap(resolveDefinitionInit));
880
+ };
881
+ }
882
+ function isInitExpression(node) {
883
+ return node.type !== NodeType.VariableDeclaration;
884
+ }
885
+ function getVariableInitExpression(at) {
886
+ return (variable)=>{
887
+ return tools.F.pipe(tools.O.some(variable), tools.O.flatMapNullable((v)=>v.defs.at(at)), tools.O.flatMap(resolveDefinitionInit), tools.O.filter(isInitExpression));
888
+ };
889
+ }
890
+
891
+ exports.Construction = Construction;
892
+ exports.NodeType = NodeType;
893
+ exports.constructionDetector = constructionDetector;
894
+ exports.findPropertyWithIdentifierKey = findPropertyWithIdentifierKey;
895
+ exports.findVariableByName = findVariableByName;
896
+ exports.findVariableByNameUpToGlobal = findVariableByNameUpToGlobal;
897
+ exports.getClassIdentifier = getClassIdentifier;
898
+ exports.getExternalRefs = getExternalRefs;
899
+ exports.getFunctionHeadLocation = getFunctionHeadLocation;
900
+ exports.getFunctionIdentifier = getFunctionIdentifier;
901
+ exports.getFunctionNameWithKind = getFunctionNameWithKind;
902
+ exports.getNestedIdentifiers = getNestedIdentifiers;
903
+ exports.getNestedReturnStatements = getNestedReturnStatements;
904
+ exports.getNestedUnaryOperators = getNestedUnaryOperators;
905
+ exports.getPropertyName = getPropertyName;
906
+ exports.getStaticValue = getStaticValue;
907
+ exports.getStringIfConstant = getStringIfConstant;
908
+ exports.getVariableInit = getVariableInit;
909
+ exports.getVariableInitExpression = getVariableInitExpression;
910
+ exports.getVariablesUpToGlobal = getVariablesUpToGlobal;
911
+ exports.hasSideEffect = hasSideEffect;
912
+ exports.is = is;
913
+ exports.isArrayTupleType = isArrayTupleType;
914
+ exports.isClass = isClass;
915
+ exports.isDeclaredInNode = isDeclaredInNode;
916
+ exports.isDestructuringPattern = isDestructuringPattern;
917
+ exports.isFunction = isFunction;
918
+ exports.isFunctionOfClassMethod = isFunctionOfClassMethod;
919
+ exports.isFunctionOfClassProperty = isFunctionOfClassProperty;
920
+ exports.isFunctionOfObjectMethod = isFunctionOfObjectMethod;
921
+ exports.isFunctionType = isFunctionType;
922
+ exports.isIdentifierWithName = isIdentifierWithName;
923
+ exports.isIdentifierWithOneOfNames = isIdentifierWithOneOfNames;
924
+ exports.isJSX = isJSX;
925
+ exports.isJSXElement = isJSXElement;
926
+ exports.isJSXFragment = isJSXFragment;
927
+ exports.isJSXTagNameExpression = isJSXTagNameExpression;
928
+ exports.isLeftHandSideExpression = isLeftHandSideExpression;
929
+ exports.isLeftHandSideExpressionType = isLeftHandSideExpressionType;
930
+ exports.isLoop = isLoop;
931
+ exports.isMultiLine = isMultiLine;
932
+ exports.isNodeEqual = isNodeEqual;
933
+ exports.isOneOf = isOneOf;
934
+ exports.isParenthesized = isParenthesized;
935
+ exports.isProperty = isProperty;
936
+ exports.isPropertyOfObjectExpression = isPropertyOfObjectExpression;
937
+ exports.isPropertyWithIdentifierKey = isPropertyWithIdentifierKey;
938
+ exports.isRegExpLiteral = isRegExpLiteral;
939
+ exports.isStringLiteral = isStringLiteral;
940
+ exports.isTypeDeclaration = isTypeDeclaration;
941
+ exports.isUnstableAssignmentPattern = isUnstableAssignmentPattern;
942
+ exports.readableNodeType = readableNodeType;
943
+ exports.resolveDefinitionInit = resolveDefinitionInit;
944
+ exports.traverseUp = traverseUp;
945
+ exports.traverseUpGuard = traverseUpGuard;
946
+ exports.unsafeIsArrayFromCall = unsafeIsArrayFromCall;
947
+ exports.unsafeIsMapCall = unsafeIsMapCall;
948
+ exports.unsafeIsStringCall = unsafeIsStringCall;
949
+ exports.unsafeIsToStringCall = unsafeIsToStringCall;
950
+ exports.unstableAssignmentPatternTypes = unstableAssignmentPatternTypes;