@eslint-react/jsx 0.8.9-beta.2 → 0.8.9

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