@sprucelabs/spruce-cli 17.1.31 → 17.1.34

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 (730) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/__tests__/testDirsAndFiles/mercury-types-package.json +1 -1
  3. package/build/features/event/actions/SetRemoteAction.js +3 -0
  4. package/build/features/event/actions/SetRemoteAction.js.map +1 -1
  5. package/package.json +34 -34
  6. package/src/__tests__/testDirsAndFiles/mercury-types-package.json +1 -1
  7. package/src/features/event/actions/SetRemoteAction.ts +4 -0
  8. package/node_modules/@typescript-eslint/parser/LICENSE +0 -22
  9. package/node_modules/@typescript-eslint/parser/README.md +0 -302
  10. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +0 -4
  11. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +0 -20
  12. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +0 -4
  13. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +0 -1
  14. package/node_modules/@typescript-eslint/parser/dist/index.js +0 -13
  15. package/node_modules/@typescript-eslint/parser/dist/index.js.map +0 -1
  16. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +0 -17
  17. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +0 -1
  18. package/node_modules/@typescript-eslint/parser/dist/parser.js +0 -129
  19. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +0 -1
  20. package/node_modules/@typescript-eslint/parser/package.json +0 -75
  21. package/node_modules/@typescript-eslint/scope-manager/LICENSE +0 -21
  22. package/node_modules/@typescript-eslint/scope-manager/README.md +0 -120
  23. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +0 -4
  24. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +0 -1
  25. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +0 -22
  26. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +0 -1
  27. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +0 -72
  28. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +0 -1
  29. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +0 -183
  30. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +0 -1
  31. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +0 -62
  32. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +0 -1
  33. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +0 -58
  34. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +0 -1
  35. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +0 -3
  36. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +0 -1
  37. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +0 -11
  38. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +0 -1
  39. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +0 -10
  40. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +0 -1
  41. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +0 -14
  42. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +0 -1
  43. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +0 -10
  44. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +0 -1
  45. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +0 -14
  46. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +0 -1
  47. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +0 -14
  48. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +0 -1
  49. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +0 -3
  50. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +0 -1
  51. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +0 -39
  52. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +0 -1
  53. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +0 -19
  54. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +0 -1
  55. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +0 -15
  56. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +0 -1
  57. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +0 -19
  58. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +0 -1
  59. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +0 -10
  60. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +0 -1
  61. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +0 -14
  62. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +0 -1
  63. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +0 -10
  64. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +0 -1
  65. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +0 -14
  66. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +0 -1
  67. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +0 -11
  68. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +0 -1
  69. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +0 -14
  70. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +0 -1
  71. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +0 -14
  72. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +0 -1
  73. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +0 -15
  74. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +0 -1
  75. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +0 -10
  76. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +0 -1
  77. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +0 -14
  78. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +0 -1
  79. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +0 -10
  80. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +0 -1
  81. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +0 -14
  82. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +0 -1
  83. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +0 -10
  84. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +0 -1
  85. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +0 -14
  86. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +0 -1
  87. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +0 -10
  88. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +0 -1
  89. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +0 -14
  90. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +0 -1
  91. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +0 -10
  92. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +0 -1
  93. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +0 -14
  94. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +0 -1
  95. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +0 -14
  96. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +0 -1
  97. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +0 -30
  98. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +0 -1
  99. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +0 -9
  100. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +0 -1
  101. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +0 -31
  102. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +0 -1
  103. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +0 -16
  104. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +0 -1
  105. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +0 -23
  106. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +0 -1
  107. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +0 -3
  108. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +0 -1
  109. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +0 -3
  110. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +0 -1
  111. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +0 -69
  112. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +0 -1
  113. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +0 -1298
  114. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +0 -1
  115. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +0 -3
  116. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +0 -1
  117. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +0 -21
  118. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +0 -1
  119. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +0 -3
  120. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +0 -1
  121. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +0 -23
  122. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +0 -1
  123. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +0 -3
  124. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +0 -1
  125. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +0 -3
  126. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +0 -1
  127. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +0 -11
  128. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +0 -1
  129. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +0 -3
  130. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +0 -1
  131. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +0 -11
  132. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +0 -1
  133. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +0 -19
  134. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +0 -1
  135. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +0 -3
  136. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +0 -1
  137. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +0 -12
  138. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +0 -1
  139. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +0 -3
  140. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +0 -1
  141. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +0 -13
  142. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +0 -1
  143. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +0 -3
  144. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +0 -1
  145. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +0 -12
  146. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +0 -1
  147. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +0 -3
  148. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +0 -1
  149. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +0 -12
  150. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +0 -1
  151. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +0 -3
  152. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +0 -1
  153. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +0 -11
  154. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +0 -1
  155. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +0 -3
  156. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +0 -1
  157. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +0 -22
  158. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +0 -1
  159. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +0 -3
  160. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +0 -1
  161. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +0 -3
  162. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +0 -1
  163. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +0 -14
  164. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +0 -1
  165. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +0 -11
  166. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +0 -1
  167. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +0 -3
  168. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +0 -1
  169. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +0 -3
  170. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +0 -1
  171. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +0 -14
  172. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +0 -1
  173. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +0 -3
  174. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +0 -1
  175. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +0 -12
  176. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +0 -1
  177. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +0 -15
  178. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +0 -1
  179. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +0 -3
  180. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +0 -1
  181. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +0 -12
  182. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +0 -1
  183. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +0 -3
  184. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +0 -1
  185. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +0 -12
  186. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +0 -1
  187. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +0 -3
  188. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +0 -1
  189. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +0 -12
  190. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +0 -1
  191. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +0 -3
  192. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +0 -1
  193. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +0 -20
  194. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +0 -1
  195. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +0 -3
  196. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +0 -1
  197. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +0 -11
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +0 -1
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +0 -3
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +0 -1
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +0 -12
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +0 -1
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +0 -3
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +0 -1
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +0 -3
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +0 -1
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +0 -14
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +0 -1
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +0 -3
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +0 -1
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +0 -12
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +0 -1
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +0 -15
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +0 -1
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +0 -3
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +0 -1
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +0 -12
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +0 -1
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +0 -3
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +0 -1
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +0 -14
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +0 -1
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +0 -3
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +0 -1
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +0 -14
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +0 -1
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +0 -3
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +0 -1
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +0 -3
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +0 -1
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +0 -14
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +0 -1
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +0 -14
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +0 -1
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +0 -3
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +0 -1
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +0 -11
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +0 -1
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +0 -3
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +0 -1
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +0 -12
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +0 -1
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +0 -3
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +0 -1
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +0 -12
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +0 -1
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +0 -3
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +0 -1
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +0 -11
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +0 -1
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +0 -3
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +0 -1
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +0 -3
  254. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +0 -1
  255. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +0 -11
  256. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +0 -1
  257. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +0 -3
  258. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +0 -1
  259. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +0 -14
  260. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +0 -1
  261. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +0 -3
  262. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +0 -1
  263. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +0 -12
  264. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +0 -1
  265. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +0 -18
  266. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +0 -1
  267. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +0 -3
  268. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +0 -1
  269. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +0 -11
  270. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +0 -1
  271. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +0 -3
  272. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +0 -1
  273. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +0 -15
  274. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +0 -1
  275. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +0 -3
  276. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +0 -1
  277. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +0 -12
  278. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +0 -1
  279. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +0 -3
  280. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +0 -1
  281. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +0 -11
  282. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +0 -1
  283. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +0 -3
  284. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +0 -1
  285. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +0 -12
  286. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +0 -1
  287. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +0 -3
  288. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +0 -1
  289. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +0 -3
  290. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +0 -1
  291. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +0 -14
  292. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +0 -1
  293. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +0 -3
  294. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +0 -1
  295. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +0 -12
  296. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +0 -1
  297. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +0 -14
  298. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +0 -1
  299. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +0 -3
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +0 -1
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +0 -14
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +0 -1
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +0 -3
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +0 -1
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +0 -12
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +0 -1
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +0 -3
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +0 -1
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +0 -15
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +0 -1
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +0 -3
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +0 -1
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +0 -24
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +0 -1
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +0 -3
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +0 -1
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +0 -3
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +0 -1
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +0 -21
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +0 -1
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +0 -3
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +0 -1
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +0 -14
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +0 -1
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +0 -14
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +0 -1
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +0 -3
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +0 -1
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +0 -12
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +0 -1
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +0 -3
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +0 -1
  333. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +0 -12
  334. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +0 -1
  335. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +0 -3
  336. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +0 -1
  337. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +0 -114
  338. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +0 -1
  339. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +0 -3
  340. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +0 -1
  341. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +0 -19
  342. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +0 -1
  343. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +0 -3
  344. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +0 -1
  345. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +0 -11
  346. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +0 -1
  347. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +0 -3
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +0 -1
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +0 -24
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +0 -1
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +0 -3
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +0 -1
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +0 -12
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +0 -1
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +0 -3
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +0 -1
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +0 -11
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +0 -1
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +0 -3
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +0 -1
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +0 -3
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +0 -1
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +0 -14
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +0 -1
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +0 -3
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +0 -1
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +0 -12
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +0 -1
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +0 -11
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +0 -1
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +0 -3
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +0 -1
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +0 -14
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +0 -1
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +0 -3
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +0 -1
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +0 -12
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +0 -1
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +0 -3
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +0 -1
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +0 -12
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +0 -1
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +0 -3
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +0 -1
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +0 -15
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +0 -1
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +0 -79
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +0 -1
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +0 -161
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +0 -1
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +0 -3
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +0 -1
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +0 -13
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +0 -1
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +0 -3
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +0 -1
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +0 -24
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +0 -1
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +0 -3
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +0 -1
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +0 -3
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +0 -1
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +0 -9
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +0 -1
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +0 -3
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +0 -1
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +0 -28
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +0 -1
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +0 -452
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +0 -1
  411. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +0 -26
  412. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +0 -1
  413. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +0 -316
  414. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +0 -1
  415. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +0 -15
  416. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +0 -1
  417. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +0 -84
  418. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +0 -1
  419. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +0 -14
  420. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +0 -1
  421. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +0 -50
  422. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +0 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +0 -28
  424. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +0 -1
  425. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +0 -111
  426. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +0 -1
  427. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +0 -89
  428. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +0 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +0 -109
  430. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +0 -1
  431. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +0 -84
  432. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +0 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +0 -544
  434. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +0 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +0 -33
  436. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +0 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +0 -228
  438. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +0 -1
  439. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +0 -13
  440. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +0 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +0 -41
  442. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +0 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +0 -22
  444. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +0 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +0 -82
  446. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +0 -1
  447. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +0 -2
  448. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +0 -1
  449. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +0 -6
  450. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +0 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +0 -10
  452. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +0 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +0 -12
  454. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +0 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +0 -10
  456. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +0 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +0 -12
  458. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +0 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +0 -10
  460. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +0 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +0 -12
  462. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +0 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +0 -10
  464. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +0 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +0 -12
  466. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +0 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +0 -10
  468. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +0 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +0 -12
  470. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +0 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +0 -10
  472. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +0 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +0 -12
  474. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +0 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +0 -10
  476. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +0 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +0 -12
  478. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +0 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +0 -11
  480. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +0 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +0 -17
  482. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +0 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +0 -13
  484. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +0 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +0 -37
  486. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +0 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +0 -10
  488. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +0 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +0 -12
  490. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +0 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +0 -18
  492. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +0 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +0 -39
  494. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +0 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +0 -10
  496. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +0 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +0 -12
  498. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +0 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +0 -10
  500. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +0 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +0 -12
  502. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +0 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +0 -21
  504. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +0 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +0 -3
  506. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +0 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +0 -106
  508. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +0 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +0 -363
  510. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +0 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +0 -22
  512. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +0 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +0 -26
  514. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +0 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +0 -10
  516. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +0 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +0 -12
  518. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +0 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +0 -10
  520. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +0 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +0 -12
  522. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +0 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +0 -10
  524. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +0 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +0 -12
  526. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +0 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +0 -10
  528. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +0 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +0 -12
  530. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +0 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +0 -11
  532. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +0 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +0 -22
  534. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +0 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +0 -20
  536. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +0 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +0 -36
  538. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +0 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +0 -34
  540. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +0 -1
  541. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +0 -12
  542. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +0 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +0 -25
  544. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +0 -1
  545. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +0 -19
  546. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +0 -1
  547. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +0 -18
  548. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +0 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +0 -33
  550. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +0 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +0 -44
  552. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +0 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +0 -39
  554. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +0 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +0 -4
  556. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +0 -1
  557. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +0 -10
  558. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +0 -1
  559. package/node_modules/@typescript-eslint/scope-manager/package.json +0 -67
  560. package/node_modules/@typescript-eslint/types/LICENSE +0 -21
  561. package/node_modules/@typescript-eslint/types/README.md +0 -17
  562. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +0 -1732
  563. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +0 -5
  564. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +0 -3
  565. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +0 -35
  566. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +0 -9
  567. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +0 -1729
  568. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +0 -1
  569. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +0 -199
  570. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +0 -1
  571. package/node_modules/@typescript-eslint/types/dist/index.d.ts +0 -5
  572. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +0 -1
  573. package/node_modules/@typescript-eslint/types/dist/index.js +0 -24
  574. package/node_modules/@typescript-eslint/types/dist/index.js.map +0 -1
  575. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +0 -3
  576. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +0 -1
  577. package/node_modules/@typescript-eslint/types/dist/lib.js +0 -7
  578. package/node_modules/@typescript-eslint/types/dist/lib.js.map +0 -1
  579. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +0 -35
  580. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +0 -1
  581. package/node_modules/@typescript-eslint/types/dist/parser-options.js +0 -3
  582. package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +0 -1
  583. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +0 -8
  584. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +0 -1
  585. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +0 -28
  586. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +0 -1
  587. package/node_modules/@typescript-eslint/types/package.json +0 -84
  588. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +0 -26
  589. package/node_modules/@typescript-eslint/typescript-estree/README.md +0 -383
  590. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +0 -9
  591. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +0 -11
  592. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +0 -157
  593. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
  594. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +0 -12
  595. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +0 -9
  596. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +0 -11
  597. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +0 -5
  598. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +0 -19
  599. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +0 -5
  600. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +0 -22
  601. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +0 -13
  602. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +0 -10
  603. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +0 -2
  604. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +0 -230
  605. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +0 -188
  606. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +0 -25
  607. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +0 -13
  608. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +0 -9
  609. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -175
  610. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +0 -4
  611. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +0 -18
  612. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +0 -3
  613. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +0 -9
  614. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +0 -1
  615. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +0 -60
  616. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +0 -1
  617. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +0 -11
  618. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +0 -1
  619. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +0 -63
  620. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +0 -1
  621. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +0 -157
  622. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +0 -1
  623. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +0 -2323
  624. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +0 -1
  625. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
  626. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +0 -1
  627. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +0 -6
  628. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +0 -1
  629. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +0 -12
  630. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +0 -1
  631. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +0 -66
  632. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +0 -1
  633. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +0 -9
  634. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +0 -1
  635. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +0 -83
  636. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +0 -1
  637. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +0 -11
  638. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +0 -1
  639. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +0 -94
  640. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +0 -1
  641. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +0 -5
  642. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +0 -1
  643. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +0 -40
  644. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +0 -1
  645. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +0 -19
  646. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +0 -1
  647. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +0 -414
  648. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +0 -1
  649. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +0 -5
  650. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +0 -1
  651. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +0 -72
  652. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +0 -1
  653. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +0 -22
  654. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +0 -1
  655. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +0 -116
  656. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +0 -1
  657. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +0 -13
  658. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +0 -1
  659. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +0 -93
  660. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +0 -1
  661. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +0 -10
  662. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +0 -1
  663. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +0 -37
  664. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +0 -1
  665. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +0 -2
  666. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +0 -1
  667. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +0 -259
  668. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +0 -1
  669. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +0 -227
  670. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +0 -1
  671. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +0 -582
  672. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +0 -1
  673. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +0 -188
  674. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +0 -1
  675. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +0 -3
  676. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +0 -1
  677. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +0 -25
  678. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +0 -1
  679. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +0 -529
  680. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +0 -1
  681. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +0 -13
  682. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +0 -1
  683. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +0 -93
  684. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +0 -1
  685. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +0 -9
  686. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +0 -1
  687. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +0 -54
  688. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +0 -1
  689. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -175
  690. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +0 -1
  691. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +0 -4
  692. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +0 -1
  693. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +0 -4
  694. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +0 -1
  695. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +0 -25
  696. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +0 -1
  697. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +0 -18
  698. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +0 -1
  699. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +0 -3
  700. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +0 -1
  701. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +0 -3
  702. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +0 -1
  703. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +0 -46
  704. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +0 -1
  705. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +0 -120
  706. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +0 -186
  707. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +0 -181
  708. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +0 -9
  709. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +0 -82
  710. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +0 -170
  711. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +0 -46
  712. package/node_modules/@typescript-eslint/typescript-estree/package.json +0 -86
  713. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +0 -21
  714. package/node_modules/@typescript-eslint/visitor-keys/README.md +0 -13
  715. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +0 -4
  716. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +0 -3
  717. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +0 -6
  718. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +0 -4
  719. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +0 -1
  720. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +0 -7
  721. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +0 -1
  722. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +0 -3
  723. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +0 -1
  724. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +0 -8
  725. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +0 -1
  726. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +0 -6
  727. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +0 -1
  728. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +0 -160
  729. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +0 -1
  730. package/node_modules/@typescript-eslint/visitor-keys/package.json +0 -60
@@ -1,529 +0,0 @@
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.clearParseAndGenerateServicesCalls = exports.clearProgramCache = exports.parseWithNodeMaps = exports.parseAndGenerateServices = exports.parse = void 0;
30
- const debug_1 = __importDefault(require("debug"));
31
- const globby_1 = require("globby");
32
- const is_glob_1 = __importDefault(require("is-glob"));
33
- const semver_1 = __importDefault(require("semver"));
34
- const path_1 = require("path");
35
- const ts = __importStar(require("typescript"));
36
- const ast_converter_1 = require("./ast-converter");
37
- const convert_1 = require("./convert");
38
- const createDefaultProgram_1 = require("./create-program/createDefaultProgram");
39
- const createIsolatedProgram_1 = require("./create-program/createIsolatedProgram");
40
- const createProjectProgram_1 = require("./create-program/createProjectProgram");
41
- const createSourceFile_1 = require("./create-program/createSourceFile");
42
- const semantic_or_syntactic_errors_1 = require("./semantic-or-syntactic-errors");
43
- const shared_1 = require("./create-program/shared");
44
- const useProvidedPrograms_1 = require("./create-program/useProvidedPrograms");
45
- const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser');
46
- /**
47
- * This needs to be kept in sync with the top-level README.md in the
48
- * typescript-eslint monorepo
49
- */
50
- const SUPPORTED_TYPESCRIPT_VERSIONS = '>=3.3.1 <4.8.0';
51
- /*
52
- * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one
53
- * List them all separately here, so we can automatically create the full string
54
- */
55
- const SUPPORTED_PRERELEASE_RANGES = [];
56
- const ACTIVE_TYPESCRIPT_VERSION = ts.version;
57
- const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [SUPPORTED_TYPESCRIPT_VERSIONS]
58
- .concat(SUPPORTED_PRERELEASE_RANGES)
59
- .join(' || '));
60
- let extra;
61
- let warnedAboutTSVersion = false;
62
- /**
63
- * Cache existing programs for the single run use-case.
64
- *
65
- * clearProgramCache() is only intended to be used in testing to ensure the parser is clean between tests.
66
- */
67
- const existingPrograms = new Map();
68
- function clearProgramCache() {
69
- existingPrograms.clear();
70
- }
71
- exports.clearProgramCache = clearProgramCache;
72
- function enforceString(code) {
73
- /**
74
- * Ensure the source code is a string
75
- */
76
- if (typeof code !== 'string') {
77
- return String(code);
78
- }
79
- return code;
80
- }
81
- /**
82
- * @param code The code of the file being linted
83
- * @param programInstances One or more (potentially lazily constructed) existing programs to use
84
- * @param shouldProvideParserServices True if the program should be attempted to be calculated from provided tsconfig files
85
- * @param shouldCreateDefaultProgram True if the program should be created from compiler host
86
- * @returns Returns a source file and program corresponding to the linted code
87
- */
88
- function getProgramAndAST(code, programInstances, shouldProvideParserServices, shouldCreateDefaultProgram) {
89
- return ((programInstances && (0, useProvidedPrograms_1.useProvidedPrograms)(programInstances, extra)) ||
90
- (shouldProvideParserServices &&
91
- (0, createProjectProgram_1.createProjectProgram)(code, shouldCreateDefaultProgram, extra)) ||
92
- (shouldProvideParserServices &&
93
- shouldCreateDefaultProgram &&
94
- (0, createDefaultProgram_1.createDefaultProgram)(code, extra)) ||
95
- (0, createIsolatedProgram_1.createIsolatedProgram)(code, extra));
96
- }
97
- /**
98
- * Compute the filename based on the parser options.
99
- *
100
- * Even if jsx option is set in typescript compiler, filename still has to
101
- * contain .tsx file extension.
102
- *
103
- * @param options Parser options
104
- */
105
- function getFileName({ jsx } = {}) {
106
- return jsx ? 'estree.tsx' : 'estree.ts';
107
- }
108
- /**
109
- * Resets the extra config object
110
- */
111
- function resetExtra() {
112
- extra = {
113
- code: '',
114
- comment: false,
115
- comments: [],
116
- createDefaultProgram: false,
117
- debugLevel: new Set(),
118
- errorOnTypeScriptSyntacticAndSemanticIssues: false,
119
- errorOnUnknownASTType: false,
120
- EXPERIMENTAL_useSourceOfProjectReferenceRedirect: false,
121
- extraFileExtensions: [],
122
- filePath: getFileName(),
123
- jsx: false,
124
- loc: false,
125
- log: console.log,
126
- preserveNodeMaps: true,
127
- programs: null,
128
- projects: [],
129
- range: false,
130
- strict: false,
131
- tokens: null,
132
- tsconfigRootDir: process.cwd(),
133
- /**
134
- * Unless we can reliably infer otherwise, we default to assuming that this run could be part
135
- * of a long-running session (e.g. in an IDE) and watch programs will therefore be required
136
- */
137
- singleRun: false,
138
- moduleResolver: '',
139
- };
140
- }
141
- function getTsconfigPath(tsconfigPath, extra) {
142
- return (0, shared_1.getCanonicalFileName)((0, shared_1.ensureAbsolutePath)(tsconfigPath, extra));
143
- }
144
- /**
145
- * Normalizes, sanitizes, resolves and filters the provided project paths
146
- */
147
- function prepareAndTransformProjects(projectsInput, ignoreListInput) {
148
- const sanitizedProjects = [];
149
- // Normalize and sanitize the project paths
150
- if (typeof projectsInput === 'string') {
151
- sanitizedProjects.push(projectsInput);
152
- }
153
- else if (Array.isArray(projectsInput)) {
154
- for (const project of projectsInput) {
155
- if (typeof project === 'string') {
156
- sanitizedProjects.push(project);
157
- }
158
- }
159
- }
160
- if (sanitizedProjects.length === 0) {
161
- return [];
162
- }
163
- // Transform glob patterns into paths
164
- const nonGlobProjects = sanitizedProjects.filter(project => !(0, is_glob_1.default)(project));
165
- const globProjects = sanitizedProjects.filter(project => (0, is_glob_1.default)(project));
166
- const uniqueCanonicalProjectPaths = new Set(nonGlobProjects
167
- .concat((0, globby_1.sync)([...globProjects, ...ignoreListInput], {
168
- cwd: extra.tsconfigRootDir,
169
- }))
170
- .map(project => getTsconfigPath(project, extra)));
171
- log('parserOptions.project (excluding ignored) matched projects: %s', uniqueCanonicalProjectPaths);
172
- return Array.from(uniqueCanonicalProjectPaths);
173
- }
174
- function applyParserOptionsToExtra(options) {
175
- var _a;
176
- /**
177
- * Configure Debug logging
178
- */
179
- if (options.debugLevel === true) {
180
- extra.debugLevel = new Set(['typescript-eslint']);
181
- }
182
- else if (Array.isArray(options.debugLevel)) {
183
- extra.debugLevel = new Set(options.debugLevel);
184
- }
185
- if (extra.debugLevel.size > 0) {
186
- // debug doesn't support multiple `enable` calls, so have to do it all at once
187
- const namespaces = [];
188
- if (extra.debugLevel.has('typescript-eslint')) {
189
- namespaces.push('typescript-eslint:*');
190
- }
191
- if (extra.debugLevel.has('eslint') ||
192
- // make sure we don't turn off the eslint debug if it was enabled via --debug
193
- debug_1.default.enabled('eslint:*,-eslint:code-path')) {
194
- // https://github.com/eslint/eslint/blob/9dfc8501fb1956c90dc11e6377b4cb38a6bea65d/bin/eslint.js#L25
195
- namespaces.push('eslint:*,-eslint:code-path');
196
- }
197
- debug_1.default.enable(namespaces.join(','));
198
- }
199
- /**
200
- * Track range information in the AST
201
- */
202
- extra.range = typeof options.range === 'boolean' && options.range;
203
- extra.loc = typeof options.loc === 'boolean' && options.loc;
204
- /**
205
- * Track tokens in the AST
206
- */
207
- if (typeof options.tokens === 'boolean' && options.tokens) {
208
- extra.tokens = [];
209
- }
210
- /**
211
- * Track comments in the AST
212
- */
213
- if (typeof options.comment === 'boolean' && options.comment) {
214
- extra.comment = true;
215
- extra.comments = [];
216
- }
217
- /**
218
- * Enable JSX - note the applicable file extension is still required
219
- */
220
- if (typeof options.jsx !== 'boolean') {
221
- extra.jsx = false;
222
- }
223
- else {
224
- extra.jsx = options.jsx;
225
- }
226
- /**
227
- * Get the file path
228
- */
229
- if (typeof options.filePath === 'string' && options.filePath !== '<input>') {
230
- extra.filePath = options.filePath;
231
- }
232
- else {
233
- extra.filePath = getFileName(extra);
234
- }
235
- /**
236
- * Allow the user to cause the parser to error if it encounters an unknown AST Node Type
237
- * (used in testing)
238
- */
239
- if (typeof options.errorOnUnknownASTType === 'boolean' &&
240
- options.errorOnUnknownASTType) {
241
- extra.errorOnUnknownASTType = true;
242
- }
243
- /**
244
- * Allow the user to override the function used for logging
245
- */
246
- if (typeof options.loggerFn === 'function') {
247
- extra.log = options.loggerFn;
248
- }
249
- else if (options.loggerFn === false) {
250
- extra.log = () => { };
251
- }
252
- if (typeof options.tsconfigRootDir === 'string') {
253
- extra.tsconfigRootDir = options.tsconfigRootDir;
254
- }
255
- // NOTE - ensureAbsolutePath relies upon having the correct tsconfigRootDir in extra
256
- extra.filePath = (0, shared_1.ensureAbsolutePath)(extra.filePath, extra);
257
- if (Array.isArray(options.programs)) {
258
- if (!options.programs.length) {
259
- throw new Error(`You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.`);
260
- }
261
- extra.programs = options.programs;
262
- log('parserOptions.programs was provided, so parserOptions.project will be ignored.');
263
- }
264
- if (!extra.programs) {
265
- // providing a program overrides project resolution
266
- const projectFolderIgnoreList = ((_a = options.projectFolderIgnoreList) !== null && _a !== void 0 ? _a : ['**/node_modules/**'])
267
- .reduce((acc, folder) => {
268
- if (typeof folder === 'string') {
269
- acc.push(folder);
270
- }
271
- return acc;
272
- }, [])
273
- // prefix with a ! for not match glob
274
- .map(folder => (folder.startsWith('!') ? folder : `!${folder}`));
275
- // NOTE - prepareAndTransformProjects relies upon having the correct tsconfigRootDir in extra
276
- extra.projects = prepareAndTransformProjects(options.project, projectFolderIgnoreList);
277
- }
278
- if (Array.isArray(options.extraFileExtensions) &&
279
- options.extraFileExtensions.every(ext => typeof ext === 'string')) {
280
- extra.extraFileExtensions = options.extraFileExtensions;
281
- }
282
- /**
283
- * Allow the user to enable or disable the preservation of the AST node maps
284
- * during the conversion process.
285
- */
286
- if (typeof options.preserveNodeMaps === 'boolean') {
287
- extra.preserveNodeMaps = options.preserveNodeMaps;
288
- }
289
- extra.createDefaultProgram =
290
- typeof options.createDefaultProgram === 'boolean' &&
291
- options.createDefaultProgram;
292
- extra.EXPERIMENTAL_useSourceOfProjectReferenceRedirect =
293
- typeof options.EXPERIMENTAL_useSourceOfProjectReferenceRedirect ===
294
- 'boolean' && options.EXPERIMENTAL_useSourceOfProjectReferenceRedirect;
295
- if (typeof options.moduleResolver === 'string') {
296
- extra.moduleResolver = options.moduleResolver;
297
- }
298
- }
299
- function warnAboutTSVersion() {
300
- var _a;
301
- if (!isRunningSupportedTypeScriptVersion && !warnedAboutTSVersion) {
302
- const isTTY = typeof process === 'undefined' ? false : (_a = process.stdout) === null || _a === void 0 ? void 0 : _a.isTTY;
303
- if (isTTY) {
304
- const border = '=============';
305
- const versionWarning = [
306
- border,
307
- 'WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.',
308
- 'You may find that it works just fine, or you may not.',
309
- `SUPPORTED TYPESCRIPT VERSIONS: ${SUPPORTED_TYPESCRIPT_VERSIONS}`,
310
- `YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`,
311
- 'Please only submit bug reports when using the officially supported version.',
312
- border,
313
- ];
314
- extra.log(versionWarning.join('\n\n'));
315
- }
316
- warnedAboutTSVersion = true;
317
- }
318
- }
319
- /**
320
- * ESLint (and therefore typescript-eslint) is used in both "single run"/one-time contexts,
321
- * such as an ESLint CLI invocation, and long-running sessions (such as continuous feedback
322
- * on a file in an IDE).
323
- *
324
- * When typescript-eslint handles TypeScript Program management behind the scenes, this distinction
325
- * is important because there is significant overhead to managing the so called Watch Programs
326
- * needed for the long-running use-case. We therefore use the following logic to figure out which
327
- * of these contexts applies to the current execution.
328
- */
329
- function inferSingleRun(options) {
330
- // Allow users to explicitly inform us of their intent to perform a single run (or not) with TSESTREE_SINGLE_RUN
331
- if (process.env.TSESTREE_SINGLE_RUN === 'false') {
332
- extra.singleRun = false;
333
- return;
334
- }
335
- if (process.env.TSESTREE_SINGLE_RUN === 'true') {
336
- extra.singleRun = true;
337
- return;
338
- }
339
- // Currently behind a flag while we gather real-world feedback
340
- if (options === null || options === void 0 ? void 0 : options.allowAutomaticSingleRunInference) {
341
- if (
342
- // Default to single runs for CI processes. CI=true is set by most CI providers by default.
343
- process.env.CI === 'true' ||
344
- // This will be true for invocations such as `npx eslint ...` and `./node_modules/.bin/eslint ...`
345
- process.argv[1].endsWith((0, path_1.normalize)('node_modules/.bin/eslint'))) {
346
- extra.singleRun = true;
347
- return;
348
- }
349
- }
350
- /**
351
- * We default to assuming that this run could be part of a long-running session (e.g. in an IDE)
352
- * and watch programs will therefore be required
353
- */
354
- extra.singleRun = false;
355
- }
356
- function parse(code, options) {
357
- const { ast } = parseWithNodeMapsInternal(code, options, false);
358
- return ast;
359
- }
360
- exports.parse = parse;
361
- function parseWithNodeMapsInternal(code, options, shouldPreserveNodeMaps) {
362
- /**
363
- * Reset the parse configuration
364
- */
365
- resetExtra();
366
- /**
367
- * Ensure users do not attempt to use parse() when they need parseAndGenerateServices()
368
- */
369
- if (options === null || options === void 0 ? void 0 : options.errorOnTypeScriptSyntacticAndSemanticIssues) {
370
- throw new Error(`"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()`);
371
- }
372
- /**
373
- * Ensure the source code is a string, and store a reference to it
374
- */
375
- code = enforceString(code);
376
- extra.code = code;
377
- /**
378
- * Apply the given parser options
379
- */
380
- if (typeof options !== 'undefined') {
381
- applyParserOptionsToExtra(options);
382
- }
383
- /**
384
- * Warn if the user is using an unsupported version of TypeScript
385
- */
386
- warnAboutTSVersion();
387
- /**
388
- * Figure out whether this is a single run or part of a long-running process
389
- */
390
- inferSingleRun(options);
391
- /**
392
- * Create a ts.SourceFile directly, no ts.Program is needed for a simple
393
- * parse
394
- */
395
- const ast = (0, createSourceFile_1.createSourceFile)(code, extra);
396
- /**
397
- * Convert the TypeScript AST to an ESTree-compatible one
398
- */
399
- const { estree, astMaps } = (0, ast_converter_1.astConverter)(ast, extra, shouldPreserveNodeMaps);
400
- return {
401
- ast: estree,
402
- esTreeNodeToTSNodeMap: astMaps.esTreeNodeToTSNodeMap,
403
- tsNodeToESTreeNodeMap: astMaps.tsNodeToESTreeNodeMap,
404
- };
405
- }
406
- function parseWithNodeMaps(code, options) {
407
- return parseWithNodeMapsInternal(code, options, true);
408
- }
409
- exports.parseWithNodeMaps = parseWithNodeMaps;
410
- let parseAndGenerateServicesCalls = {};
411
- // Privately exported utility intended for use in typescript-eslint unit tests only
412
- function clearParseAndGenerateServicesCalls() {
413
- parseAndGenerateServicesCalls = {};
414
- }
415
- exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls;
416
- function parseAndGenerateServices(code, options) {
417
- var _a;
418
- /**
419
- * Reset the parse configuration
420
- */
421
- resetExtra();
422
- /**
423
- * Ensure the source code is a string, and store a reference to it
424
- */
425
- code = enforceString(code);
426
- extra.code = code;
427
- /**
428
- * Apply the given parser options
429
- */
430
- if (typeof options !== 'undefined') {
431
- applyParserOptionsToExtra(options);
432
- if (typeof options.errorOnTypeScriptSyntacticAndSemanticIssues ===
433
- 'boolean' &&
434
- options.errorOnTypeScriptSyntacticAndSemanticIssues) {
435
- extra.errorOnTypeScriptSyntacticAndSemanticIssues = true;
436
- }
437
- }
438
- /**
439
- * Warn if the user is using an unsupported version of TypeScript
440
- */
441
- warnAboutTSVersion();
442
- /**
443
- * Figure out whether this is a single run or part of a long-running process
444
- */
445
- inferSingleRun(options);
446
- /**
447
- * If this is a single run in which the user has not provided any existing programs but there
448
- * are programs which need to be created from the provided "project" option,
449
- * create an Iterable which will lazily create the programs as needed by the iteration logic
450
- */
451
- if (extra.singleRun && !extra.programs && ((_a = extra.projects) === null || _a === void 0 ? void 0 : _a.length) > 0) {
452
- extra.programs = {
453
- *[Symbol.iterator]() {
454
- for (const configFile of extra.projects) {
455
- const existingProgram = existingPrograms.get(configFile);
456
- if (existingProgram) {
457
- yield existingProgram;
458
- }
459
- else {
460
- log('Detected single-run/CLI usage, creating Program once ahead of time for project: %s', configFile);
461
- const newProgram = (0, useProvidedPrograms_1.createProgramFromConfigFile)(configFile);
462
- existingPrograms.set(configFile, newProgram);
463
- yield newProgram;
464
- }
465
- }
466
- },
467
- };
468
- }
469
- /**
470
- * Generate a full ts.Program or offer provided instances in order to be able to provide parser services, such as type-checking
471
- */
472
- const shouldProvideParserServices = extra.programs != null || (extra.projects && extra.projects.length > 0);
473
- /**
474
- * If we are in singleRun mode but the parseAndGenerateServices() function has been called more than once for the current file,
475
- * it must mean that we are in the middle of an ESLint automated fix cycle (in which parsing can be performed up to an additional
476
- * 10 times in order to apply all possible fixes for the file).
477
- *
478
- * In this scenario we cannot rely upon the singleRun AOT compiled programs because the SourceFiles will not contain the source
479
- * with the latest fixes applied. Therefore we fallback to creating the quickest possible isolated program from the updated source.
480
- */
481
- let ast;
482
- let program;
483
- if (extra.singleRun && options.filePath) {
484
- parseAndGenerateServicesCalls[options.filePath] =
485
- (parseAndGenerateServicesCalls[options.filePath] || 0) + 1;
486
- }
487
- if (extra.singleRun &&
488
- options.filePath &&
489
- parseAndGenerateServicesCalls[options.filePath] > 1) {
490
- const isolatedAstAndProgram = (0, createIsolatedProgram_1.createIsolatedProgram)(code, extra);
491
- ast = isolatedAstAndProgram.ast;
492
- program = isolatedAstAndProgram.program;
493
- }
494
- else {
495
- const astAndProgram = getProgramAndAST(code, extra.programs, shouldProvideParserServices, extra.createDefaultProgram);
496
- ast = astAndProgram.ast;
497
- program = astAndProgram.program;
498
- }
499
- /**
500
- * Convert the TypeScript AST to an ESTree-compatible one, and optionally preserve
501
- * mappings between converted and original AST nodes
502
- */
503
- const preserveNodeMaps = typeof extra.preserveNodeMaps === 'boolean' ? extra.preserveNodeMaps : true;
504
- const { estree, astMaps } = (0, ast_converter_1.astConverter)(ast, extra, preserveNodeMaps);
505
- /**
506
- * Even if TypeScript parsed the source code ok, and we had no problems converting the AST,
507
- * there may be other syntactic or semantic issues in the code that we can optionally report on.
508
- */
509
- if (program && extra.errorOnTypeScriptSyntacticAndSemanticIssues) {
510
- const error = (0, semantic_or_syntactic_errors_1.getFirstSemanticOrSyntacticError)(program, ast);
511
- if (error) {
512
- throw (0, convert_1.convertError)(error);
513
- }
514
- }
515
- /**
516
- * Return the converted AST and additional parser services
517
- */
518
- return {
519
- ast: estree,
520
- services: {
521
- hasFullTypeInformation: shouldProvideParserServices,
522
- program,
523
- esTreeNodeToTSNodeMap: astMaps.esTreeNodeToTSNodeMap,
524
- tsNodeToESTreeNodeMap: astMaps.tsNodeToESTreeNodeMap,
525
- },
526
- };
527
- }
528
- exports.parseAndGenerateServices = parseAndGenerateServices;
529
- //# sourceMappingURL=parser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,mCAA0C;AAC1C,sDAA6B;AAC7B,oDAA4B;AAC5B,+BAAiC;AACjC,+CAAiC;AACjC,mDAA+C;AAC/C,uCAAyC;AACzC,gFAA6E;AAC7E,kFAA+E;AAC/E,gFAA6E;AAC7E,wEAAqE;AAErE,iFAAkF;AAElF,oDAKiC;AACjC,8EAG8C;AAE9C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,4CAA4C,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;AACvD;;;GAGG;AACH,MAAM,2BAA2B,GAAa,EAAE,CAAC;AACjD,MAAM,yBAAyB,GAAG,EAAE,CAAC,OAAO,CAAC;AAC7C,MAAM,mCAAmC,GAAG,gBAAM,CAAC,SAAS,CAC1D,yBAAyB,EACzB,CAAC,6BAA6B,CAAC;KAC5B,MAAM,CAAC,2BAA2B,CAAC;KACnC,IAAI,CAAC,MAAM,CAAC,CAChB,CAAC;AAEF,IAAI,KAAY,CAAC;AACjB,IAAI,oBAAoB,GAAG,KAAK,CAAC;AAEjC;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA6B,CAAC;AAC9D,SAAS,iBAAiB;IACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;AAC3B,CAAC;AA6kBC,8CAAiB;AA3kBnB,SAAS,aAAa,CAAC,IAAa;IAClC;;OAEG;IACH,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;KACrB;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,SAAS,gBAAgB,CACvB,IAAY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,CACpC,IAAI,EACJ,KAAK,CAAC,QAAQ,EACd,2BAA2B,EAC3B,KAAK,CAAC,oBAAoB,CAC1B,CAAC;QACH,GAAG,GAAG,aAAa,CAAC,GAAG,CAAC;QACxB,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC;KACjC;IAED;;;OAGG;IACH,MAAM,gBAAgB,GACpB,OAAO,KAAK,CAAC,gBAAgB,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAY,EAAC,GAAG,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC;IAEvE;;;OAGG;IACH,IAAI,OAAO,IAAI,KAAK,CAAC,2CAA2C,EAAE;QAChE,MAAM,KAAK,GAAG,IAAA,+DAAgC,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAC7D,IAAI,KAAK,EAAE;YACT,MAAM,IAAA,sBAAY,EAAC,KAAK,CAAC,CAAC;SAC3B;KACF;IAED;;OAEG;IACH,OAAO;QACL,GAAG,EAAE,MAAgB;QACrB,QAAQ,EAAE;YACR,sBAAsB,EAAE,2BAA2B;YACnD,OAAO;YACP,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;YACpD,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;SACrD;KACF,CAAC;AACJ,CAAC;AAKC,4DAAwB"}
@@ -1,13 +0,0 @@
1
- import type { Diagnostic, Program, SourceFile } from 'typescript';
2
- export interface SemanticOrSyntacticError extends Diagnostic {
3
- message: string;
4
- }
5
- /**
6
- * By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether
7
- * they are related to generic ECMAScript standards, or TypeScript-specific constructs.
8
- *
9
- * Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when
10
- * the user opts in to throwing errors on semantic issues.
11
- */
12
- export declare function getFirstSemanticOrSyntacticError(program: Program, ast: SourceFile): SemanticOrSyntacticError | undefined;
13
- //# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semantic-or-syntactic-errors.d.ts","sourceRoot":"","sources":["../src/semantic-or-syntactic-errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EAEV,OAAO,EACP,UAAU,EACX,MAAM,YAAY,CAAC;AAGpB,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,UAAU,GACd,wBAAwB,GAAG,SAAS,CAmCtC"}
@@ -1,93 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFirstSemanticOrSyntacticError = void 0;
4
- const typescript_1 = require("typescript");
5
- /**
6
- * By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether
7
- * they are related to generic ECMAScript standards, or TypeScript-specific constructs.
8
- *
9
- * Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when
10
- * the user opts in to throwing errors on semantic issues.
11
- */
12
- function getFirstSemanticOrSyntacticError(program, ast) {
13
- try {
14
- const supportedSyntacticDiagnostics = whitelistSupportedDiagnostics(program.getSyntacticDiagnostics(ast));
15
- if (supportedSyntacticDiagnostics.length) {
16
- return convertDiagnosticToSemanticOrSyntacticError(supportedSyntacticDiagnostics[0]);
17
- }
18
- const supportedSemanticDiagnostics = whitelistSupportedDiagnostics(program.getSemanticDiagnostics(ast));
19
- if (supportedSemanticDiagnostics.length) {
20
- return convertDiagnosticToSemanticOrSyntacticError(supportedSemanticDiagnostics[0]);
21
- }
22
- return undefined;
23
- }
24
- catch (e) {
25
- /**
26
- * TypeScript compiler has certain Debug.fail() statements in, which will cause the diagnostics
27
- * retrieval above to throw.
28
- *
29
- * E.g. from ast-alignment-tests
30
- * "Debug Failure. Shouldn't ever directly check a JsxOpeningElement"
31
- *
32
- * For our current use-cases this is undesired behavior, so we just suppress it
33
- * and log a a warning.
34
- */
35
- /* istanbul ignore next */
36
- console.warn(`Warning From TSC: "${e.message}`); // eslint-disable-line no-console
37
- /* istanbul ignore next */
38
- return undefined;
39
- }
40
- }
41
- exports.getFirstSemanticOrSyntacticError = getFirstSemanticOrSyntacticError;
42
- function whitelistSupportedDiagnostics(diagnostics) {
43
- return diagnostics.filter(diagnostic => {
44
- switch (diagnostic.code) {
45
- case 1013: // "A rest parameter or binding pattern may not have a trailing comma."
46
- case 1014: // "A rest parameter must be last in a parameter list."
47
- case 1044: // "'{0}' modifier cannot appear on a module or namespace element."
48
- case 1045: // "A '{0}' modifier cannot be used with an interface declaration."
49
- case 1048: // "A rest parameter cannot have an initializer."
50
- case 1049: // "A 'set' accessor must have exactly one parameter."
51
- case 1070: // "'{0}' modifier cannot appear on a type member."
52
- case 1071: // "'{0}' modifier cannot appear on an index signature."
53
- case 1085: // "Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."
54
- case 1090: // "'{0}' modifier cannot appear on a parameter."
55
- case 1096: // "An index signature must have exactly one parameter."
56
- case 1097: // "'{0}' list cannot be empty."
57
- case 1098: // "Type parameter list cannot be empty."
58
- case 1099: // "Type argument list cannot be empty."
59
- case 1117: // "An object literal cannot have multiple properties with the same name in strict mode."
60
- case 1121: // "Octal literals are not allowed in strict mode."
61
- case 1123: // "Variable declaration list cannot be empty."
62
- case 1141: // "String literal expected."
63
- case 1162: // "An object member cannot be declared optional."
64
- case 1164: // "Computed property names are not allowed in enums."
65
- case 1172: // "'extends' clause already seen."
66
- case 1173: // "'extends' clause must precede 'implements' clause."
67
- case 1175: // "'implements' clause already seen."
68
- case 1176: // "Interface declaration cannot have 'implements' clause."
69
- case 1190: // "The variable declaration of a 'for...of' statement cannot have an initializer."
70
- case 1196: // "Catch clause variable type annotation must be 'any' or 'unknown' if specified."
71
- case 1200: // "Line terminator not permitted before arrow."
72
- case 1206: // "Decorators are not valid here."
73
- case 1211: // "A class declaration without the 'default' modifier must have a name."
74
- case 1242: // "'abstract' modifier can only appear on a class, method, or property declaration."
75
- case 1246: // "An interface property cannot have an initializer."
76
- case 1255: // "A definite assignment assertion '!' is not permitted in this context."
77
- case 1308: // "'await' expression is only allowed within an async function."
78
- case 2364: // "The left-hand side of an assignment expression must be a variable or a property access."
79
- case 2369: // "A parameter property is only allowed in a constructor implementation."
80
- case 2452: // "An enum member cannot have a numeric name."
81
- case 2462: // "A rest element must be last in a destructuring pattern."
82
- case 8017: // "Octal literal types must use ES2015 syntax. Use the syntax '{0}'."
83
- case 17012: // "'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"
84
- case 17013: // "Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."
85
- return true;
86
- }
87
- return false;
88
- });
89
- }
90
- function convertDiagnosticToSemanticOrSyntacticError(diagnostic) {
91
- return Object.assign(Object.assign({}, diagnostic), { message: (0, typescript_1.flattenDiagnosticMessageText)(diagnostic.messageText, typescript_1.sys.newLine) });
92
- }
93
- //# sourceMappingURL=semantic-or-syntactic-errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semantic-or-syntactic-errors.js","sourceRoot":"","sources":["../src/semantic-or-syntactic-errors.ts"],"names":[],"mappings":";;;AAMA,2CAA+D;AAM/D;;;;;;GAMG;AACH,SAAgB,gCAAgC,CAC9C,OAAgB,EAChB,GAAe;IAEf,IAAI;QACF,MAAM,6BAA6B,GAAG,6BAA6B,CACjE,OAAO,CAAC,uBAAuB,CAAC,GAAG,CAAC,CACrC,CAAC;QACF,IAAI,6BAA6B,CAAC,MAAM,EAAE;YACxC,OAAO,2CAA2C,CAChD,6BAA6B,CAAC,CAAC,CAAC,CACjC,CAAC;SACH;QACD,MAAM,4BAA4B,GAAG,6BAA6B,CAChE,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,CACpC,CAAC;QACF,IAAI,4BAA4B,CAAC,MAAM,EAAE;YACvC,OA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