@sprucelabs/spruce-cli 17.1.36 → 17.1.39

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 (704) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/node_modules/@typescript-eslint/parser/LICENSE +22 -0
  3. package/node_modules/@typescript-eslint/parser/README.md +302 -0
  4. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
  5. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
  6. package/node_modules/@typescript-eslint/parser/dist/index.js +13 -0
  7. package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
  8. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +17 -0
  9. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
  10. package/node_modules/@typescript-eslint/parser/dist/parser.js +129 -0
  11. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
  12. package/node_modules/@typescript-eslint/parser/package.json +75 -0
  13. package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
  14. package/node_modules/@typescript-eslint/scope-manager/README.md +120 -0
  15. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
  16. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
  17. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +22 -0
  18. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
  19. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +72 -0
  20. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
  21. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +183 -0
  22. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
  23. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +62 -0
  24. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
  25. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +58 -0
  26. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
  27. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
  28. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
  29. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
  30. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
  31. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
  32. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
  33. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
  34. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
  35. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
  36. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
  37. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
  38. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
  39. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
  40. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
  41. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
  42. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
  43. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
  44. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
  45. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
  46. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
  47. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
  48. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
  49. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +19 -0
  50. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
  51. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
  52. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
  53. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
  54. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
  55. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
  56. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
  57. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
  58. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
  59. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
  60. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
  61. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
  62. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
  63. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
  64. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
  65. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
  66. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
  67. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
  68. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
  69. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
  70. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
  71. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
  72. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
  73. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
  74. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
  75. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
  76. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
  77. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
  78. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
  79. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
  80. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
  81. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
  82. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
  83. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
  84. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
  85. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
  86. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
  87. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
  88. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
  89. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
  90. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
  91. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
  92. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
  93. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
  94. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
  95. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
  96. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
  97. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
  98. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
  99. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
  100. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
  101. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
  102. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
  103. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +66 -0
  104. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
  105. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1283 -0
  106. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
  107. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
  108. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
  109. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
  110. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
  111. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
  112. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
  113. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
  114. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
  115. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
  116. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
  117. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
  118. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
  119. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +11 -0
  120. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
  121. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
  122. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
  123. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +11 -0
  124. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
  125. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +19 -0
  126. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
  127. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
  128. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
  129. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
  130. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
  131. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
  132. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
  133. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
  134. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
  135. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
  136. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
  137. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
  138. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
  139. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
  140. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
  141. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
  142. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
  143. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
  144. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
  145. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +11 -0
  146. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
  147. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
  148. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
  149. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
  150. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
  151. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
  152. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
  153. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
  154. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
  155. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +14 -0
  156. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
  157. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +11 -0
  158. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
  159. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
  160. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
  161. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
  162. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
  163. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +14 -0
  164. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
  165. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
  166. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
  167. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
  168. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
  169. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +15 -0
  170. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
  171. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
  172. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
  173. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
  174. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
  175. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
  176. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
  177. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +12 -0
  178. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
  179. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
  180. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
  181. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
  182. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
  183. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
  184. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
  185. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
  186. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
  187. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
  188. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
  189. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +11 -0
  190. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
  191. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
  192. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
  193. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +12 -0
  194. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
  195. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
  196. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
  197. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +14 -0
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +15 -0
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +14 -0
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +14 -0
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +11 -0
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +11 -0
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +14 -0
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
  254. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
  255. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +11 -0
  256. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
  257. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +18 -0
  258. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
  259. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  260. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  261. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
  262. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  263. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
  264. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
  265. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
  266. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
  267. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
  268. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
  269. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
  270. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
  271. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
  272. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
  273. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +11 -0
  274. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
  275. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
  276. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
  277. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +12 -0
  278. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
  279. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
  280. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
  281. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
  282. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
  283. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +14 -0
  284. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
  285. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
  286. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
  287. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
  288. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
  289. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +14 -0
  290. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
  291. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
  292. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
  293. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
  294. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
  295. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
  296. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
  297. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
  298. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
  299. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +16 -0
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  333. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  334. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  335. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
  336. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
  337. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +114 -0
  338. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
  339. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
  340. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
  341. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +19 -0
  342. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
  343. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
  344. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
  345. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +11 -0
  346. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
  347. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +12 -0
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +11 -0
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +14 -0
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +11 -0
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +81 -0
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +165 -0
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +13 -0
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +28 -0
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +453 -0
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
  411. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
  412. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
  413. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
  414. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
  415. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
  416. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
  417. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
  418. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
  419. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
  420. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
  421. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
  422. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
  423. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +28 -0
  424. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
  425. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +111 -0
  426. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
  427. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
  428. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
  429. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +109 -0
  430. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
  431. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +84 -0
  432. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
  433. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +544 -0
  434. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
  435. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
  436. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
  437. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +228 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
  442. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
  443. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
  444. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
  445. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +82 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
  450. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
  451. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
  452. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
  453. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
  454. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
  455. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
  456. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
  457. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
  458. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
  459. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
  460. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
  461. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
  462. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
  463. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
  464. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
  465. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
  466. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
  467. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
  468. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
  469. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
  470. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
  471. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
  472. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
  473. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
  474. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
  475. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
  476. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
  477. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
  478. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
  479. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
  480. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +37 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +106 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +363 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +26 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/package.json +67 -0
  560. package/node_modules/@typescript-eslint/types/LICENSE +21 -0
  561. package/node_modules/@typescript-eslint/types/README.md +17 -0
  562. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1729 -0
  563. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  564. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +199 -0
  565. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  566. package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
  567. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
  568. package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
  569. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
  570. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
  571. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
  572. package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
  573. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
  574. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +36 -0
  575. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
  576. package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
  577. package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
  578. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +8 -0
  579. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
  580. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
  581. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
  582. package/node_modules/@typescript-eslint/types/package.json +84 -0
  583. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +26 -0
  584. package/node_modules/@typescript-eslint/typescript-estree/README.md +383 -0
  585. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +9 -0
  586. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -0
  587. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +60 -0
  588. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
  589. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +11 -0
  590. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +63 -0
  592. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
  593. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +159 -0
  594. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -0
  595. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2358 -0
  596. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
  597. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  598. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -0
  599. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +6 -0
  600. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +1 -0
  601. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +12 -0
  602. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -0
  603. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +66 -0
  604. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -0
  605. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +9 -0
  606. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -0
  607. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +83 -0
  608. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
  609. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +11 -0
  610. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -0
  611. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +94 -0
  612. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
  613. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +5 -0
  614. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -0
  615. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +40 -0
  616. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
  617. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +19 -0
  618. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -0
  619. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +414 -0
  620. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -0
  621. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
  622. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
  623. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
  624. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  625. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +22 -0
  626. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -0
  627. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +116 -0
  628. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
  629. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +13 -0
  630. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -0
  631. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +93 -0
  632. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
  633. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
  634. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
  635. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
  636. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
  637. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +12 -0
  638. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -0
  639. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +40 -0
  640. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
  641. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +2 -0
  642. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +1 -0
  643. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +259 -0
  644. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
  645. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +227 -0
  646. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -0
  647. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +584 -0
  648. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
  649. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +188 -0
  650. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -0
  651. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +3 -0
  652. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +1 -0
  653. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +25 -0
  654. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -0
  655. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +529 -0
  656. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
  657. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +13 -0
  658. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +1 -0
  659. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +93 -0
  660. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
  661. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +9 -0
  662. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -0
  663. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +54 -0
  664. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
  665. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  666. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -0
  667. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +4 -0
  668. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
  669. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +4 -0
  670. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +1 -0
  671. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +25 -0
  672. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
  673. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +18 -0
  674. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -0
  675. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +3 -0
  676. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
  677. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +3 -0
  678. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -0
  679. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +53 -0
  680. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
  681. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +120 -0
  682. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +186 -0
  683. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +181 -0
  684. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +9 -0
  685. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +82 -0
  686. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +170 -0
  687. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +46 -0
  688. package/node_modules/@typescript-eslint/typescript-estree/package.json +86 -0
  689. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
  690. package/node_modules/@typescript-eslint/visitor-keys/README.md +13 -0
  691. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +4 -0
  692. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -0
  693. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +7 -0
  694. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
  695. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +3 -0
  696. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +1 -0
  697. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +8 -0
  698. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
  699. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +6 -0
  700. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -0
  701. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +160 -0
  702. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
  703. package/node_modules/@typescript-eslint/visitor-keys/package.json +60 -0
  704. package/package.json +37 -37
@@ -0,0 +1,414 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.getProgramsForProjects = exports.createWatchProgram = exports.clearWatchCaches = void 0;
30
+ const debug_1 = __importDefault(require("debug"));
31
+ const fs_1 = __importDefault(require("fs"));
32
+ const semver_1 = __importDefault(require("semver"));
33
+ const ts = __importStar(require("typescript"));
34
+ const shared_1 = require("./shared");
35
+ const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram');
36
+ /**
37
+ * Maps tsconfig paths to their corresponding file contents and resulting watches
38
+ */
39
+ const knownWatchProgramMap = new Map();
40
+ /**
41
+ * Maps file/folder paths to their set of corresponding watch callbacks
42
+ * There may be more than one per file/folder if a file/folder is shared between projects
43
+ */
44
+ const fileWatchCallbackTrackingMap = new Map();
45
+ const folderWatchCallbackTrackingMap = new Map();
46
+ /**
47
+ * Stores the list of known files for each program
48
+ */
49
+ const programFileListCache = new Map();
50
+ /**
51
+ * Caches the last modified time of the tsconfig files
52
+ */
53
+ const tsconfigLastModifiedTimestampCache = new Map();
54
+ const parsedFilesSeenHash = new Map();
55
+ /**
56
+ * Clear all of the parser caches.
57
+ * This should only be used in testing to ensure the parser is clean between tests.
58
+ */
59
+ function clearWatchCaches() {
60
+ knownWatchProgramMap.clear();
61
+ fileWatchCallbackTrackingMap.clear();
62
+ folderWatchCallbackTrackingMap.clear();
63
+ parsedFilesSeenHash.clear();
64
+ programFileListCache.clear();
65
+ tsconfigLastModifiedTimestampCache.clear();
66
+ }
67
+ exports.clearWatchCaches = clearWatchCaches;
68
+ function saveWatchCallback(trackingMap) {
69
+ return (fileName, callback) => {
70
+ const normalizedFileName = (0, shared_1.getCanonicalFileName)(fileName);
71
+ const watchers = (() => {
72
+ let watchers = trackingMap.get(normalizedFileName);
73
+ if (!watchers) {
74
+ watchers = new Set();
75
+ trackingMap.set(normalizedFileName, watchers);
76
+ }
77
+ return watchers;
78
+ })();
79
+ watchers.add(callback);
80
+ return {
81
+ close: () => {
82
+ watchers.delete(callback);
83
+ },
84
+ };
85
+ };
86
+ }
87
+ /**
88
+ * Holds information about the file currently being linted
89
+ */
90
+ const currentLintOperationState = {
91
+ code: '',
92
+ filePath: '',
93
+ };
94
+ /**
95
+ * Appropriately report issues found when reading a config file
96
+ * @param diagnostic The diagnostic raised when creating a program
97
+ */
98
+ function diagnosticReporter(diagnostic) {
99
+ throw new Error(ts.flattenDiagnosticMessageText(diagnostic.messageText, ts.sys.newLine));
100
+ }
101
+ /**
102
+ * Hash content for compare content.
103
+ * @param content hashed contend
104
+ * @returns hashed result
105
+ */
106
+ function createHash(content) {
107
+ var _a;
108
+ // No ts.sys in browser environments.
109
+ if ((_a = ts.sys) === null || _a === void 0 ? void 0 : _a.createHash) {
110
+ return ts.sys.createHash(content);
111
+ }
112
+ return content;
113
+ }
114
+ function updateCachedFileList(tsconfigPath, program, extra) {
115
+ const fileList = extra.EXPERIMENTAL_useSourceOfProjectReferenceRedirect
116
+ ? new Set(program.getSourceFiles().map(sf => (0, shared_1.getCanonicalFileName)(sf.fileName)))
117
+ : new Set(program.getRootFileNames().map(f => (0, shared_1.getCanonicalFileName)(f)));
118
+ programFileListCache.set(tsconfigPath, fileList);
119
+ return fileList;
120
+ }
121
+ /**
122
+ * Calculate project environments using options provided by consumer and paths from config
123
+ * @param code The code being linted
124
+ * @param filePathIn The path of the file being parsed
125
+ * @param extra.tsconfigRootDir The root directory for relative tsconfig paths
126
+ * @param extra.projects Provided tsconfig paths
127
+ * @returns The programs corresponding to the supplied tsconfig paths
128
+ */
129
+ function getProgramsForProjects(code, filePathIn, extra) {
130
+ const filePath = (0, shared_1.getCanonicalFileName)(filePathIn);
131
+ const results = [];
132
+ // preserve reference to code and file being linted
133
+ currentLintOperationState.code = code;
134
+ currentLintOperationState.filePath = filePath;
135
+ // Update file version if necessary
136
+ const fileWatchCallbacks = fileWatchCallbackTrackingMap.get(filePath);
137
+ const codeHash = createHash(code);
138
+ if (parsedFilesSeenHash.get(filePath) !== codeHash &&
139
+ fileWatchCallbacks &&
140
+ fileWatchCallbacks.size > 0) {
141
+ fileWatchCallbacks.forEach(cb => cb(filePath, ts.FileWatcherEventKind.Changed));
142
+ }
143
+ /*
144
+ * before we go into the process of attempting to find and update every program
145
+ * see if we know of a program that contains this file
146
+ */
147
+ for (const [tsconfigPath, existingWatch] of knownWatchProgramMap.entries()) {
148
+ let fileList = programFileListCache.get(tsconfigPath);
149
+ let updatedProgram = null;
150
+ if (!fileList) {
151
+ updatedProgram = existingWatch.getProgram().getProgram();
152
+ fileList = updateCachedFileList(tsconfigPath, updatedProgram, extra);
153
+ }
154
+ if (fileList.has(filePath)) {
155
+ log('Found existing program for file. %s', filePath);
156
+ updatedProgram =
157
+ updatedProgram !== null && updatedProgram !== void 0 ? updatedProgram : existingWatch.getProgram().getProgram();
158
+ // sets parent pointers in source files
159
+ updatedProgram.getTypeChecker();
160
+ return [updatedProgram];
161
+ }
162
+ }
163
+ log('File did not belong to any existing programs, moving to create/update. %s', filePath);
164
+ /*
165
+ * We don't know of a program that contains the file, this means that either:
166
+ * - the required program hasn't been created yet, or
167
+ * - the file is new/renamed, and the program hasn't been updated.
168
+ */
169
+ for (const tsconfigPath of extra.projects) {
170
+ const existingWatch = knownWatchProgramMap.get(tsconfigPath);
171
+ if (existingWatch) {
172
+ const updatedProgram = maybeInvalidateProgram(existingWatch, filePath, tsconfigPath);
173
+ if (!updatedProgram) {
174
+ continue;
175
+ }
176
+ // sets parent pointers in source files
177
+ updatedProgram.getTypeChecker();
178
+ // cache and check the file list
179
+ const fileList = updateCachedFileList(tsconfigPath, updatedProgram, extra);
180
+ if (fileList.has(filePath)) {
181
+ log('Found updated program for file. %s', filePath);
182
+ // we can return early because we know this program contains the file
183
+ return [updatedProgram];
184
+ }
185
+ results.push(updatedProgram);
186
+ continue;
187
+ }
188
+ const programWatch = createWatchProgram(tsconfigPath, extra);
189
+ knownWatchProgramMap.set(tsconfigPath, programWatch);
190
+ const program = programWatch.getProgram().getProgram();
191
+ // sets parent pointers in source files
192
+ program.getTypeChecker();
193
+ // cache and check the file list
194
+ const fileList = updateCachedFileList(tsconfigPath, program, extra);
195
+ if (fileList.has(filePath)) {
196
+ log('Found program for file. %s', filePath);
197
+ // we can return early because we know this program contains the file
198
+ return [program];
199
+ }
200
+ results.push(program);
201
+ }
202
+ return results;
203
+ }
204
+ exports.getProgramsForProjects = getProgramsForProjects;
205
+ const isRunningNoTimeoutFix = semver_1.default.satisfies(ts.version, '>=3.9.0-beta', {
206
+ includePrerelease: true,
207
+ });
208
+ function createWatchProgram(tsconfigPath, extra) {
209
+ log('Creating watch program for %s.', tsconfigPath);
210
+ // create compiler host
211
+ const watchCompilerHost = ts.createWatchCompilerHost(tsconfigPath, (0, shared_1.createDefaultCompilerOptionsFromExtra)(extra), ts.sys, ts.createAbstractBuilder, diagnosticReporter,
212
+ /*reportWatchStatus*/ () => { });
213
+ if (extra.moduleResolver) {
214
+ watchCompilerHost.resolveModuleNames = (0, shared_1.getModuleResolver)(extra.moduleResolver).resolveModuleNames;
215
+ }
216
+ // ensure readFile reads the code being linted instead of the copy on disk
217
+ const oldReadFile = watchCompilerHost.readFile;
218
+ watchCompilerHost.readFile = (filePathIn, encoding) => {
219
+ const filePath = (0, shared_1.getCanonicalFileName)(filePathIn);
220
+ const fileContent = filePath === currentLintOperationState.filePath
221
+ ? currentLintOperationState.code
222
+ : oldReadFile(filePath, encoding);
223
+ if (fileContent !== undefined) {
224
+ parsedFilesSeenHash.set(filePath, createHash(fileContent));
225
+ }
226
+ return fileContent;
227
+ };
228
+ // ensure process reports error on failure instead of exiting process immediately
229
+ watchCompilerHost.onUnRecoverableConfigFileDiagnostic = diagnosticReporter;
230
+ // ensure process doesn't emit programs
231
+ watchCompilerHost.afterProgramCreate = (program) => {
232
+ // report error if there are any errors in the config file
233
+ const configFileDiagnostics = program
234
+ .getConfigFileParsingDiagnostics()
235
+ .filter(diag => diag.category === ts.DiagnosticCategory.Error && diag.code !== 18003);
236
+ if (configFileDiagnostics.length > 0) {
237
+ diagnosticReporter(configFileDiagnostics[0]);
238
+ }
239
+ };
240
+ /*
241
+ * From the CLI, the file watchers won't matter, as the files will be parsed once and then forgotten.
242
+ * When running from an IDE, these watchers will let us tell typescript about changes.
243
+ *
244
+ * ESLint IDE plugins will send us unfinished file content as the user types (before it's saved to disk).
245
+ * We use the file watchers to tell typescript about this latest file content.
246
+ *
247
+ * When files are created (or renamed), we won't know about them because we have no filesystem watchers attached.
248
+ * We use the folder watchers to tell typescript it needs to go and find new files in the project folders.
249
+ */
250
+ watchCompilerHost.watchFile = saveWatchCallback(fileWatchCallbackTrackingMap);
251
+ watchCompilerHost.watchDirectory = saveWatchCallback(folderWatchCallbackTrackingMap);
252
+ // allow files with custom extensions to be included in program (uses internal ts api)
253
+ const oldOnDirectoryStructureHostCreate = watchCompilerHost.onCachedDirectoryStructureHostCreate;
254
+ watchCompilerHost.onCachedDirectoryStructureHostCreate = (host) => {
255
+ const oldReadDirectory = host.readDirectory;
256
+ host.readDirectory = (path, extensions, exclude, include, depth) => oldReadDirectory(path, !extensions ? undefined : extensions.concat(extra.extraFileExtensions), exclude, include, depth);
257
+ oldOnDirectoryStructureHostCreate(host);
258
+ };
259
+ // This works only on 3.9
260
+ watchCompilerHost.extraFileExtensions = extra.extraFileExtensions.map(extension => ({
261
+ extension,
262
+ isMixedContent: true,
263
+ scriptKind: ts.ScriptKind.Deferred,
264
+ }));
265
+ watchCompilerHost.trace = log;
266
+ /**
267
+ * TODO: this needs refinement and development, but we're allowing users to opt-in to this for now for testing and feedback.
268
+ * See https://github.com/typescript-eslint/typescript-eslint/issues/2094
269
+ */
270
+ watchCompilerHost.useSourceOfProjectReferenceRedirect = () => extra.EXPERIMENTAL_useSourceOfProjectReferenceRedirect;
271
+ // Since we don't want to asynchronously update program we want to disable timeout methods
272
+ // So any changes in the program will be delayed and updated when getProgram is called on watch
273
+ let callback;
274
+ if (isRunningNoTimeoutFix) {
275
+ watchCompilerHost.setTimeout = undefined;
276
+ watchCompilerHost.clearTimeout = undefined;
277
+ }
278
+ else {
279
+ log('Running without timeout fix');
280
+ // But because of https://github.com/microsoft/TypeScript/pull/37308 we cannot just set it to undefined
281
+ // instead save it and call before getProgram is called
282
+ watchCompilerHost.setTimeout = (cb, _ms, ...args) => {
283
+ callback = cb.bind(/*this*/ undefined, ...args);
284
+ return callback;
285
+ };
286
+ watchCompilerHost.clearTimeout = () => {
287
+ callback = undefined;
288
+ };
289
+ }
290
+ const watch = ts.createWatchProgram(watchCompilerHost);
291
+ if (!isRunningNoTimeoutFix) {
292
+ const originalGetProgram = watch.getProgram;
293
+ watch.getProgram = () => {
294
+ if (callback) {
295
+ callback();
296
+ }
297
+ callback = undefined;
298
+ return originalGetProgram.call(watch);
299
+ };
300
+ }
301
+ return watch;
302
+ }
303
+ exports.createWatchProgram = createWatchProgram;
304
+ function hasTSConfigChanged(tsconfigPath) {
305
+ const stat = fs_1.default.statSync(tsconfigPath);
306
+ const lastModifiedAt = stat.mtimeMs;
307
+ const cachedLastModifiedAt = tsconfigLastModifiedTimestampCache.get(tsconfigPath);
308
+ tsconfigLastModifiedTimestampCache.set(tsconfigPath, lastModifiedAt);
309
+ if (cachedLastModifiedAt === undefined) {
310
+ return false;
311
+ }
312
+ return Math.abs(cachedLastModifiedAt - lastModifiedAt) > Number.EPSILON;
313
+ }
314
+ function maybeInvalidateProgram(existingWatch, filePath, tsconfigPath) {
315
+ /*
316
+ * By calling watchProgram.getProgram(), it will trigger a resync of the program based on
317
+ * whatever new file content we've given it from our input.
318
+ */
319
+ let updatedProgram = existingWatch.getProgram().getProgram();
320
+ // In case this change causes problems in larger real world codebases
321
+ // Provide an escape hatch so people don't _have_ to revert to an older version
322
+ if (process.env.TSESTREE_NO_INVALIDATION === 'true') {
323
+ return updatedProgram;
324
+ }
325
+ if (hasTSConfigChanged(tsconfigPath)) {
326
+ /*
327
+ * If the stat of the tsconfig has changed, that could mean the include/exclude/files lists has changed
328
+ * We need to make sure typescript knows this so it can update appropriately
329
+ */
330
+ log('tsconfig has changed - triggering program update. %s', tsconfigPath);
331
+ fileWatchCallbackTrackingMap
332
+ .get(tsconfigPath)
333
+ .forEach(cb => cb(tsconfigPath, ts.FileWatcherEventKind.Changed));
334
+ // tsconfig change means that the file list more than likely changed, so clear the cache
335
+ programFileListCache.delete(tsconfigPath);
336
+ }
337
+ let sourceFile = updatedProgram.getSourceFile(filePath);
338
+ if (sourceFile) {
339
+ return updatedProgram;
340
+ }
341
+ /*
342
+ * Missing source file means our program's folder structure might be out of date.
343
+ * So we need to tell typescript it needs to update the correct folder.
344
+ */
345
+ log('File was not found in program - triggering folder update. %s', filePath);
346
+ // Find the correct directory callback by climbing the folder tree
347
+ const currentDir = (0, shared_1.canonicalDirname)(filePath);
348
+ let current = null;
349
+ let next = currentDir;
350
+ let hasCallback = false;
351
+ while (current !== next) {
352
+ current = next;
353
+ const folderWatchCallbacks = folderWatchCallbackTrackingMap.get(current);
354
+ if (folderWatchCallbacks) {
355
+ folderWatchCallbacks.forEach(cb => {
356
+ if (currentDir !== current) {
357
+ cb(currentDir, ts.FileWatcherEventKind.Changed);
358
+ }
359
+ cb(current, ts.FileWatcherEventKind.Changed);
360
+ });
361
+ hasCallback = true;
362
+ }
363
+ next = (0, shared_1.canonicalDirname)(current);
364
+ }
365
+ if (!hasCallback) {
366
+ /*
367
+ * No callback means the paths don't matchup - so no point returning any program
368
+ * this will signal to the caller to skip this program
369
+ */
370
+ log('No callback found for file, not part of this program. %s', filePath);
371
+ return null;
372
+ }
373
+ // directory update means that the file list more than likely changed, so clear the cache
374
+ programFileListCache.delete(tsconfigPath);
375
+ // force the immediate resync
376
+ updatedProgram = existingWatch.getProgram().getProgram();
377
+ sourceFile = updatedProgram.getSourceFile(filePath);
378
+ if (sourceFile) {
379
+ return updatedProgram;
380
+ }
381
+ /*
382
+ * At this point we're in one of two states:
383
+ * - The file isn't supposed to be in this program due to exclusions
384
+ * - The file is new, and was renamed from an old, included filename
385
+ *
386
+ * For the latter case, we need to tell typescript that the old filename is now deleted
387
+ */
388
+ log('File was still not found in program after directory update - checking file deletions. %s', filePath);
389
+ const rootFilenames = updatedProgram.getRootFileNames();
390
+ // use find because we only need to "delete" one file to cause typescript to do a full resync
391
+ const deletedFile = rootFilenames.find(file => !fs_1.default.existsSync(file));
392
+ if (!deletedFile) {
393
+ // There are no deleted files, so it must be the former case of the file not belonging to this program
394
+ return null;
395
+ }
396
+ const fileWatchCallbacks = fileWatchCallbackTrackingMap.get((0, shared_1.getCanonicalFileName)(deletedFile));
397
+ if (!fileWatchCallbacks) {
398
+ // shouldn't happen, but just in case
399
+ log('Could not find watch callbacks for root file. %s', deletedFile);
400
+ return updatedProgram;
401
+ }
402
+ log('Marking file as deleted. %s', deletedFile);
403
+ fileWatchCallbacks.forEach(cb => cb(deletedFile, ts.FileWatcherEventKind.Deleted));
404
+ // deleted files means that the file list _has_ changed, so clear the cache
405
+ programFileListCache.delete(tsconfigPath);
406
+ updatedProgram = existingWatch.getProgram().getProgram();
407
+ sourceFile = updatedProgram.getSourceFile(filePath);
408
+ if (sourceFile) {
409
+ return updatedProgram;
410
+ }
411
+ log('File was still not found in program after deletion check, assuming it is not part of this program. %s', filePath);
412
+ return null;
413
+ }
414
+ //# sourceMappingURL=createWatchProgram.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWatchProgram.js","sourceRoot":"","sources":["../../src/create-program/createWatchProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4CAAoB;AACpB,oDAA4B;AAC5B,+CAAiC;AAGjC,qCAMkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE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BAAkB,EAAE;QACvB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as ts from 'typescript';
2
+ declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind;
3
+ declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant;
4
+ export { getScriptKind, getLanguageVariant };
5
+ //# sourceMappingURL=getScriptKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.getLanguageVariant = exports.getScriptKind = void 0;
30
+ const path_1 = __importDefault(require("path"));
31
+ const ts = __importStar(require("typescript"));
32
+ function getScriptKind(filePath, jsx) {
33
+ const extension = path_1.default.extname(filePath).toLowerCase();
34
+ // note - we only respect the user's jsx setting for unknown extensions
35
+ // this is so that we always match TS's internal script kind logic, preventing
36
+ // weird errors due to a mismatch.
37
+ // https://github.com/microsoft/TypeScript/blob/da00ba67ed1182ad334f7c713b8254fba174aeba/src/compiler/utilities.ts#L6948-L6968
38
+ switch (extension) {
39
+ case ts.Extension.Js:
40
+ case ts.Extension.Cjs:
41
+ case ts.Extension.Mjs:
42
+ return ts.ScriptKind.JS;
43
+ case ts.Extension.Jsx:
44
+ return ts.ScriptKind.JSX;
45
+ case ts.Extension.Ts:
46
+ case ts.Extension.Cts:
47
+ case ts.Extension.Mts:
48
+ return ts.ScriptKind.TS;
49
+ case ts.Extension.Tsx:
50
+ return ts.ScriptKind.TSX;
51
+ case ts.Extension.Json:
52
+ return ts.ScriptKind.JSON;
53
+ default:
54
+ // unknown extension, force typescript to ignore the file extension, and respect the user's setting
55
+ return jsx ? ts.ScriptKind.TSX : ts.ScriptKind.TS;
56
+ }
57
+ }
58
+ exports.getScriptKind = getScriptKind;
59
+ function getLanguageVariant(scriptKind) {
60
+ // https://github.com/microsoft/TypeScript/blob/d6e483b8dabd8fd37c00954c3f2184bb7f1eb90c/src/compiler/utilities.ts#L6281-L6285
61
+ switch (scriptKind) {
62
+ case ts.ScriptKind.TSX:
63
+ case ts.ScriptKind.JSX:
64
+ case ts.ScriptKind.JS:
65
+ case ts.ScriptKind.JSON:
66
+ return ts.LanguageVariant.JSX;
67
+ default:
68
+ return ts.LanguageVariant.Standard;
69
+ }
70
+ }
71
+ exports.getLanguageVariant = getLanguageVariant;
72
+ //# sourceMappingURL=getScriptKind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE;QACjB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KACrD;AACH,CAAC;AAgBQ,sCAAa;AAdtB,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE;QAClB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI;YACrB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;KACtC;AACH,CAAC;AAEuB,gDAAkB"}
@@ -0,0 +1,22 @@
1
+ import * as ts from 'typescript';
2
+ import { Program } from 'typescript';
3
+ import { Extra, ModuleResolver } from '../parser-options';
4
+ interface ASTAndProgram {
5
+ ast: ts.SourceFile;
6
+ program: ts.Program;
7
+ }
8
+ /**
9
+ * Compiler options required to avoid critical functionality issues
10
+ */
11
+ declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions;
12
+ declare function createDefaultCompilerOptionsFromExtra(extra: Extra): ts.CompilerOptions;
13
+ declare type CanonicalPath = string & {
14
+ __brand: unknown;
15
+ };
16
+ declare function getCanonicalFileName(filePath: string): CanonicalPath;
17
+ declare function ensureAbsolutePath(p: string, extra: Extra): string;
18
+ declare function canonicalDirname(p: CanonicalPath): CanonicalPath;
19
+ declare function getAstFromProgram(currentProgram: Program, extra: Extra): ASTAndProgram | undefined;
20
+ declare function getModuleResolver(moduleResolverPath: string): ModuleResolver;
21
+ export { ASTAndProgram, CORE_COMPILER_OPTIONS, canonicalDirname, CanonicalPath, createDefaultCompilerOptionsFromExtra, ensureAbsolutePath, getCanonicalFileName, getAstFromProgram, getModuleResolver, };
22
+ //# sourceMappingURL=shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE1D,UAAU,aAAa;IACrB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,iBAAS,qCAAqC,CAC5C,KAAK,EAAE,KAAK,GACX,EAAE,CAAC,eAAe,CASpB;AAGD,aAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AASnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAI3D;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,KAAK,EAAE,KAAK,GACX,aAAa,GAAG,SAAS,CAW3B;AAED,iBAAS,iBAAiB,CAAC,kBAAkB,EAAE,MAAM,GAAG,cAAc,CAerE;AAED,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.getModuleResolver = exports.getAstFromProgram = exports.getCanonicalFileName = exports.ensureAbsolutePath = exports.createDefaultCompilerOptionsFromExtra = exports.canonicalDirname = exports.CORE_COMPILER_OPTIONS = void 0;
30
+ const path_1 = __importDefault(require("path"));
31
+ const ts = __importStar(require("typescript"));
32
+ /**
33
+ * Compiler options required to avoid critical functionality issues
34
+ */
35
+ const CORE_COMPILER_OPTIONS = {
36
+ noEmit: true,
37
+ /**
38
+ * Flags required to make no-unused-vars work
39
+ */
40
+ noUnusedLocals: true,
41
+ noUnusedParameters: true,
42
+ };
43
+ exports.CORE_COMPILER_OPTIONS = CORE_COMPILER_OPTIONS;
44
+ /**
45
+ * Default compiler options for program generation
46
+ */
47
+ const DEFAULT_COMPILER_OPTIONS = Object.assign(Object.assign({}, CORE_COMPILER_OPTIONS), { allowNonTsExtensions: true, allowJs: true, checkJs: true });
48
+ function createDefaultCompilerOptionsFromExtra(extra) {
49
+ if (extra.debugLevel.has('typescript')) {
50
+ return Object.assign(Object.assign({}, DEFAULT_COMPILER_OPTIONS), { extendedDiagnostics: true });
51
+ }
52
+ return DEFAULT_COMPILER_OPTIONS;
53
+ }
54
+ exports.createDefaultCompilerOptionsFromExtra = createDefaultCompilerOptionsFromExtra;
55
+ // typescript doesn't provide a ts.sys implementation for browser environments
56
+ const useCaseSensitiveFileNames = ts.sys !== undefined ? ts.sys.useCaseSensitiveFileNames : true;
57
+ const correctPathCasing = useCaseSensitiveFileNames
58
+ ? (filePath) => filePath
59
+ : (filePath) => filePath.toLowerCase();
60
+ function getCanonicalFileName(filePath) {
61
+ let normalized = path_1.default.normalize(filePath);
62
+ if (normalized.endsWith(path_1.default.sep)) {
63
+ normalized = normalized.slice(0, -1);
64
+ }
65
+ return correctPathCasing(normalized);
66
+ }
67
+ exports.getCanonicalFileName = getCanonicalFileName;
68
+ function ensureAbsolutePath(p, extra) {
69
+ return path_1.default.isAbsolute(p)
70
+ ? p
71
+ : path_1.default.join(extra.tsconfigRootDir || process.cwd(), p);
72
+ }
73
+ exports.ensureAbsolutePath = ensureAbsolutePath;
74
+ function canonicalDirname(p) {
75
+ return path_1.default.dirname(p);
76
+ }
77
+ exports.canonicalDirname = canonicalDirname;
78
+ const DEFINITION_EXTENSIONS = [
79
+ ts.Extension.Dts,
80
+ ts.Extension.Dcts,
81
+ ts.Extension.Dmts,
82
+ ];
83
+ function getExtension(fileName) {
84
+ var _a;
85
+ if (!fileName) {
86
+ return null;
87
+ }
88
+ return ((_a = DEFINITION_EXTENSIONS.find(definitionExt => fileName.endsWith(definitionExt))) !== null && _a !== void 0 ? _a : path_1.default.extname(fileName));
89
+ }
90
+ function getAstFromProgram(currentProgram, extra) {
91
+ const ast = currentProgram.getSourceFile(extra.filePath);
92
+ // working around https://github.com/typescript-eslint/typescript-eslint/issues/1573
93
+ const expectedExt = getExtension(extra.filePath);
94
+ const returnedExt = getExtension(ast === null || ast === void 0 ? void 0 : ast.fileName);
95
+ if (expectedExt !== returnedExt) {
96
+ return undefined;
97
+ }
98
+ return ast && { ast, program: currentProgram };
99
+ }
100
+ exports.getAstFromProgram = getAstFromProgram;
101
+ function getModuleResolver(moduleResolverPath) {
102
+ let moduleResolver;
103
+ try {
104
+ moduleResolver = require(moduleResolverPath);
105
+ }
106
+ catch (error) {
107
+ const errorLines = [
108
+ 'Could not find the provided parserOptions.moduleResolver.',
109
+ 'Hint: use an absolute path if you are not in control over where the ESLint instance runs.',
110
+ ];
111
+ throw new Error(errorLines.join('\n'));
112
+ }
113
+ return moduleResolver;
114
+ }
115
+ exports.getModuleResolver = getModuleResolver;
116
+ //# sourceMappingURL=shared.js.map