@peter.naydenov/cuts 2.0.1 → 2.0.3

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 (1029) hide show
  1. package/Changelog.md +10 -0
  2. package/coverage/lcov-report/index.html +1 -1
  3. package/coverage/lcov-report/src/findInstructions.js.html +1 -1
  4. package/coverage/lcov-report/src/index.html +1 -1
  5. package/coverage/lcov-report/src/main.js.html +1 -1
  6. package/coverage/lcov-report/src/methods/hide.js.html +1 -1
  7. package/coverage/lcov-report/src/methods/index.html +1 -1
  8. package/coverage/lcov-report/src/methods/jump.js.html +1 -1
  9. package/coverage/lcov-report/src/methods/jumpBack.js.html +1 -1
  10. package/coverage/lcov-report/src/methods/jumpsReset.js.html +1 -1
  11. package/coverage/lcov-report/src/methods/listShortcuts.js.html +1 -1
  12. package/coverage/lcov-report/src/methods/setScenes.js.html +1 -1
  13. package/coverage/lcov-report/src/methods/show.js.html +1 -1
  14. package/coverage/lcov-report/src/setInstruction.js.html +1 -1
  15. package/package.json +15 -19
  16. package/playwright.config.js +13 -0
  17. package/test/01-findPosition.test.js +119 -0
  18. package/test/02-cuts.test.js +412 -0
  19. package/test-e2e/01-general.test.js +290 -0
  20. package/test-e2e/index.html +30 -0
  21. package/test-e2e/node_modules/.package-lock.json +584 -0
  22. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_log.js +36 -0
  23. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_log.js.map +1 -0
  24. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_shortcuts.js +983 -0
  25. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_shortcuts.js.map +1 -0
  26. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_visual-controller-for-vue3.js +267 -0
  27. package/test-e2e/node_modules/.vite/deps/@peter__naydenov_visual-controller-for-vue3.js.map +1 -0
  28. package/test-e2e/node_modules/.vite/deps/_metadata.json +44 -0
  29. package/test-e2e/node_modules/.vite/deps/ask-for-promise.js +223 -0
  30. package/test-e2e/node_modules/.vite/deps/ask-for-promise.js.map +1 -0
  31. package/test-e2e/node_modules/.vite/deps/package.json +3 -0
  32. package/test-e2e/node_modules/.vite/deps/vue.js +2 -0
  33. package/test-e2e/node_modules/.vite/deps/vue.runtime.esm-bundler-DaROHT9e.js +8579 -0
  34. package/test-e2e/node_modules/.vite/deps/vue.runtime.esm-bundler-DaROHT9e.js.map +1 -0
  35. package/test-e2e/node_modules/@babel/helper-string-parser/LICENSE +22 -0
  36. package/test-e2e/node_modules/@babel/helper-string-parser/README.md +19 -0
  37. package/test-e2e/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
  38. package/test-e2e/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
  39. package/test-e2e/node_modules/@babel/helper-string-parser/package.json +31 -0
  40. package/test-e2e/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  41. package/test-e2e/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  42. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  43. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  44. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  45. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  46. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  47. package/test-e2e/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  48. package/test-e2e/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  49. package/test-e2e/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  50. package/test-e2e/node_modules/@babel/parser/LICENSE +19 -0
  51. package/test-e2e/node_modules/@babel/parser/README.md +19 -0
  52. package/test-e2e/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  53. package/test-e2e/node_modules/@babel/parser/lib/index.js +14582 -0
  54. package/test-e2e/node_modules/@babel/parser/lib/index.js.map +1 -0
  55. package/test-e2e/node_modules/@babel/parser/package.json +50 -0
  56. package/test-e2e/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
  57. package/test-e2e/node_modules/@babel/types/LICENSE +22 -0
  58. package/test-e2e/node_modules/@babel/types/README.md +19 -0
  59. package/test-e2e/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
  60. package/test-e2e/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
  61. package/test-e2e/node_modules/@babel/types/lib/asserts/generated/index.js +1251 -0
  62. package/test-e2e/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
  63. package/test-e2e/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
  64. package/test-e2e/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
  65. package/test-e2e/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
  66. package/test-e2e/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
  67. package/test-e2e/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
  68. package/test-e2e/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
  69. package/test-e2e/node_modules/@babel/types/lib/builders/generated/index.js +29 -0
  70. package/test-e2e/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
  71. package/test-e2e/node_modules/@babel/types/lib/builders/generated/lowercase.js +2902 -0
  72. package/test-e2e/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  73. package/test-e2e/node_modules/@babel/types/lib/builders/generated/uppercase.js +272 -0
  74. package/test-e2e/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
  75. package/test-e2e/node_modules/@babel/types/lib/builders/productions.js +12 -0
  76. package/test-e2e/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
  77. package/test-e2e/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
  78. package/test-e2e/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
  79. package/test-e2e/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
  80. package/test-e2e/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
  81. package/test-e2e/node_modules/@babel/types/lib/builders/validateNode.js +21 -0
  82. package/test-e2e/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
  83. package/test-e2e/node_modules/@babel/types/lib/clone/clone.js +12 -0
  84. package/test-e2e/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
  85. package/test-e2e/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
  86. package/test-e2e/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
  87. package/test-e2e/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
  88. package/test-e2e/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
  89. package/test-e2e/node_modules/@babel/types/lib/clone/cloneNode.js +107 -0
  90. package/test-e2e/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
  91. package/test-e2e/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
  92. package/test-e2e/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
  93. package/test-e2e/node_modules/@babel/types/lib/comments/addComment.js +15 -0
  94. package/test-e2e/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
  95. package/test-e2e/node_modules/@babel/types/lib/comments/addComments.js +22 -0
  96. package/test-e2e/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
  97. package/test-e2e/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
  98. package/test-e2e/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
  99. package/test-e2e/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
  100. package/test-e2e/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
  101. package/test-e2e/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
  102. package/test-e2e/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
  103. package/test-e2e/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
  104. package/test-e2e/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
  105. package/test-e2e/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
  106. package/test-e2e/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
  107. package/test-e2e/node_modules/@babel/types/lib/constants/generated/index.js +60 -0
  108. package/test-e2e/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
  109. package/test-e2e/node_modules/@babel/types/lib/constants/index.js +31 -0
  110. package/test-e2e/node_modules/@babel/types/lib/constants/index.js.map +1 -0
  111. package/test-e2e/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
  112. package/test-e2e/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
  113. package/test-e2e/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +65 -0
  114. package/test-e2e/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
  115. package/test-e2e/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
  116. package/test-e2e/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
  117. package/test-e2e/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
  118. package/test-e2e/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
  119. package/test-e2e/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
  120. package/test-e2e/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
  121. package/test-e2e/node_modules/@babel/types/lib/converters/toExpression.js +28 -0
  122. package/test-e2e/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
  123. package/test-e2e/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
  124. package/test-e2e/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
  125. package/test-e2e/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
  126. package/test-e2e/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
  127. package/test-e2e/node_modules/@babel/types/lib/converters/toSequenceExpression.js +19 -0
  128. package/test-e2e/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
  129. package/test-e2e/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
  130. package/test-e2e/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
  131. package/test-e2e/node_modules/@babel/types/lib/converters/valueToNode.js +89 -0
  132. package/test-e2e/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
  133. package/test-e2e/node_modules/@babel/types/lib/definitions/core.js +1725 -0
  134. package/test-e2e/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
  135. package/test-e2e/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
  136. package/test-e2e/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
  137. package/test-e2e/node_modules/@babel/types/lib/definitions/experimental.js +124 -0
  138. package/test-e2e/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
  139. package/test-e2e/node_modules/@babel/types/lib/definitions/flow.js +495 -0
  140. package/test-e2e/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
  141. package/test-e2e/node_modules/@babel/types/lib/definitions/index.js +106 -0
  142. package/test-e2e/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
  143. package/test-e2e/node_modules/@babel/types/lib/definitions/jsx.js +157 -0
  144. package/test-e2e/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
  145. package/test-e2e/node_modules/@babel/types/lib/definitions/misc.js +31 -0
  146. package/test-e2e/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
  147. package/test-e2e/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
  148. package/test-e2e/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
  149. package/test-e2e/node_modules/@babel/types/lib/definitions/typescript.js +528 -0
  150. package/test-e2e/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
  151. package/test-e2e/node_modules/@babel/types/lib/definitions/utils.js +296 -0
  152. package/test-e2e/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
  153. package/test-e2e/node_modules/@babel/types/lib/index-legacy.d.ts +2797 -0
  154. package/test-e2e/node_modules/@babel/types/lib/index.d.ts +3617 -0
  155. package/test-e2e/node_modules/@babel/types/lib/index.js +582 -0
  156. package/test-e2e/node_modules/@babel/types/lib/index.js.flow +2650 -0
  157. package/test-e2e/node_modules/@babel/types/lib/index.js.map +1 -0
  158. package/test-e2e/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
  159. package/test-e2e/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
  160. package/test-e2e/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
  161. package/test-e2e/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
  162. package/test-e2e/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
  163. package/test-e2e/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
  164. package/test-e2e/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
  165. package/test-e2e/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
  166. package/test-e2e/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
  167. package/test-e2e/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
  168. package/test-e2e/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
  169. package/test-e2e/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
  170. package/test-e2e/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +66 -0
  171. package/test-e2e/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
  172. package/test-e2e/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +48 -0
  173. package/test-e2e/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +1 -0
  174. package/test-e2e/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +102 -0
  175. package/test-e2e/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
  176. package/test-e2e/node_modules/@babel/types/lib/retrievers/getFunctionName.js +63 -0
  177. package/test-e2e/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +1 -0
  178. package/test-e2e/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
  179. package/test-e2e/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
  180. package/test-e2e/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
  181. package/test-e2e/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
  182. package/test-e2e/node_modules/@babel/types/lib/traverse/traverseFast.js +40 -0
  183. package/test-e2e/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
  184. package/test-e2e/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
  185. package/test-e2e/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
  186. package/test-e2e/node_modules/@babel/types/lib/utils/inherit.js +13 -0
  187. package/test-e2e/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
  188. package/test-e2e/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
  189. package/test-e2e/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
  190. package/test-e2e/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
  191. package/test-e2e/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
  192. package/test-e2e/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
  193. package/test-e2e/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
  194. package/test-e2e/node_modules/@babel/types/lib/validators/generated/index.js +2797 -0
  195. package/test-e2e/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
  196. package/test-e2e/node_modules/@babel/types/lib/validators/is.js +27 -0
  197. package/test-e2e/node_modules/@babel/types/lib/validators/is.js.map +1 -0
  198. package/test-e2e/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
  199. package/test-e2e/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
  200. package/test-e2e/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
  201. package/test-e2e/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
  202. package/test-e2e/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
  203. package/test-e2e/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
  204. package/test-e2e/node_modules/@babel/types/lib/validators/isLet.js +13 -0
  205. package/test-e2e/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
  206. package/test-e2e/node_modules/@babel/types/lib/validators/isNode.js +12 -0
  207. package/test-e2e/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
  208. package/test-e2e/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
  209. package/test-e2e/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
  210. package/test-e2e/node_modules/@babel/types/lib/validators/isPlaceholderType.js +15 -0
  211. package/test-e2e/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
  212. package/test-e2e/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
  213. package/test-e2e/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
  214. package/test-e2e/node_modules/@babel/types/lib/validators/isScope.js +18 -0
  215. package/test-e2e/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
  216. package/test-e2e/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
  217. package/test-e2e/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
  218. package/test-e2e/node_modules/@babel/types/lib/validators/isType.js +17 -0
  219. package/test-e2e/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
  220. package/test-e2e/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
  221. package/test-e2e/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
  222. package/test-e2e/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
  223. package/test-e2e/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
  224. package/test-e2e/node_modules/@babel/types/lib/validators/isVar.js +15 -0
  225. package/test-e2e/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
  226. package/test-e2e/node_modules/@babel/types/lib/validators/matchesPattern.js +44 -0
  227. package/test-e2e/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
  228. package/test-e2e/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
  229. package/test-e2e/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
  230. package/test-e2e/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
  231. package/test-e2e/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
  232. package/test-e2e/node_modules/@babel/types/lib/validators/validate.js +42 -0
  233. package/test-e2e/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
  234. package/test-e2e/node_modules/@babel/types/package.json +39 -0
  235. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/LICENSE +19 -0
  236. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  237. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +423 -0
  238. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +6 -0
  239. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +464 -0
  240. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +6 -0
  241. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
  242. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +345 -0
  243. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +111 -0
  244. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/src/strings.ts +65 -0
  245. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +55 -0
  246. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts +50 -0
  247. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -0
  248. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  249. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -0
  250. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +9 -0
  251. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -0
  252. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  253. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -0
  254. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts +16 -0
  255. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map +1 -0
  256. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  257. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map +1 -0
  258. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +7 -0
  259. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -0
  260. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  261. package/test-e2e/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -0
  262. package/test-e2e/node_modules/@oxc-project/types/LICENSE +22 -0
  263. package/test-e2e/node_modules/@oxc-project/types/README.md +3 -0
  264. package/test-e2e/node_modules/@oxc-project/types/package.json +26 -0
  265. package/test-e2e/node_modules/@oxc-project/types/types.d.ts +1912 -0
  266. package/test-e2e/node_modules/@peter.naydenov/notice/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  267. package/test-e2e/node_modules/@peter.naydenov/notice/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  268. package/test-e2e/node_modules/@peter.naydenov/notice/CODE_OF_CONDUCT.md +128 -0
  269. package/test-e2e/node_modules/@peter.naydenov/notice/Changelog.md +88 -0
  270. package/test-e2e/node_modules/@peter.naydenov/notice/LICENSE +21 -0
  271. package/test-e2e/node_modules/@peter.naydenov/notice/README.md +294 -0
  272. package/test-e2e/node_modules/@peter.naydenov/notice/SECURITY.md +18 -0
  273. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/base.css +224 -0
  274. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/block-navigation.js +87 -0
  275. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/favicon.png +0 -0
  276. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/index.html +116 -0
  277. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/main.js.html +592 -0
  278. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/prettify.css +1 -0
  279. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/prettify.js +2 -0
  280. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  281. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov-report/sorter.js +196 -0
  282. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/lcov.info +246 -0
  283. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/tmp/coverage-46509-1760816753149-0.json +1 -0
  284. package/test-e2e/node_modules/@peter.naydenov/notice/coverage/tmp/coverage-46510-1760816753116-0.json +1 -0
  285. package/test-e2e/node_modules/@peter.naydenov/notice/dist/notice.cjs +1 -0
  286. package/test-e2e/node_modules/@peter.naydenov/notice/dist/notice.esm.mjs +1 -0
  287. package/test-e2e/node_modules/@peter.naydenov/notice/dist/notice.umd.js +1 -0
  288. package/test-e2e/node_modules/@peter.naydenov/notice/notice-desk.png +0 -0
  289. package/test-e2e/node_modules/@peter.naydenov/notice/package.json +64 -0
  290. package/test-e2e/node_modules/@peter.naydenov/notice/rollup.config.js +37 -0
  291. package/test-e2e/node_modules/@peter.naydenov/notice/src/main.js +168 -0
  292. package/test-e2e/node_modules/@peter.naydenov/notice/tsconfig.json +11 -0
  293. package/test-e2e/node_modules/@peter.naydenov/notice/types/main.d.ts +12 -0
  294. package/test-e2e/node_modules/@peter.naydenov/notice/types/main.d.ts.map +1 -0
  295. package/test-e2e/node_modules/@peter.naydenov/notice/types/src/main.d.ts +12 -0
  296. package/test-e2e/node_modules/@peter.naydenov/notice/types/src/main.d.ts.map +1 -0
  297. package/test-e2e/node_modules/@peter.naydenov/shortcuts/API.md +939 -0
  298. package/test-e2e/node_modules/@peter.naydenov/shortcuts/CODE_OF_CONDUCT.md +84 -0
  299. package/test-e2e/node_modules/@peter.naydenov/shortcuts/CONTRIBUTING.md +476 -0
  300. package/test-e2e/node_modules/@peter.naydenov/shortcuts/Changelog.md +217 -0
  301. package/test-e2e/node_modules/@peter.naydenov/shortcuts/How.to.create.plugins.md +929 -0
  302. package/test-e2e/node_modules/@peter.naydenov/shortcuts/LICENSE +21 -0
  303. package/test-e2e/node_modules/@peter.naydenov/shortcuts/Migration.guide.md +176 -0
  304. package/test-e2e/node_modules/@peter.naydenov/shortcuts/README-v.2.x.x.md +375 -0
  305. package/test-e2e/node_modules/@peter.naydenov/shortcuts/README.md +900 -0
  306. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/main.d.ts +172 -0
  307. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/_normalizeWithPlugins.d.ts +64 -0
  308. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/_readShortcutWithPlugins.d.ts +9 -0
  309. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/_setupPlugin.d.ts +9 -0
  310. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/_systemAction.d.ts +9 -0
  311. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/changeContext.d.ts +9 -0
  312. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/index.d.ts +19 -0
  313. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/listShortcuts.d.ts +2 -0
  314. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/load.d.ts +9 -0
  315. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/methods/unload.d.ts +9 -0
  316. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/_findTarget.d.ts +10 -0
  317. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/_listenDOM.d.ts +78 -0
  318. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/_normalizeShortcutName.d.ts +8 -0
  319. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/_readClickEvent.d.ts +2 -0
  320. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/_registerShortcutEvents.d.ts +28 -0
  321. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/click/index.d.ts +16 -0
  322. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/form/_defaults.d.ts +17 -0
  323. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/form/_listenDOM.d.ts +68 -0
  324. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/form/_normalizeShortcutName.d.ts +2 -0
  325. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/form/_registerShortcutEvents.d.ts +96 -0
  326. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/form/index.d.ts +9 -0
  327. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/hover/_findTarget.d.ts +10 -0
  328. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/hover/_listenDOM.d.ts +68 -0
  329. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/hover/_normalizeShortcutName.d.ts +2 -0
  330. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/hover/_registerShortcutEvents.d.ts +28 -0
  331. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/hover/index.d.ts +14 -0
  332. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/_listenDOM.d.ts +63 -0
  333. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/_normalizeShortcutName.d.ts +2 -0
  334. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/_readKeyEvent.d.ts +2 -0
  335. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/_registerShortcutEvents.d.ts +28 -0
  336. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/_specialChars.d.ts +7 -0
  337. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/key/index.d.ts +14 -0
  338. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/scroll/_listenDOM.d.ts +58 -0
  339. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/scroll/_normalizeShortcutName.d.ts +2 -0
  340. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/scroll/_registerShortcutEvents.d.ts +28 -0
  341. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/plugins/scroll/index.d.ts +16 -0
  342. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/shortcuts.cjs +1 -0
  343. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/shortcuts.esm.mjs +1 -0
  344. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/shortcuts.umd.js +1 -0
  345. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/main.d.ts +172 -0
  346. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/_normalizeWithPlugins.d.ts +64 -0
  347. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/_readShortcutWithPlugins.d.ts +9 -0
  348. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/_setupPlugin.d.ts +9 -0
  349. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/_systemAction.d.ts +9 -0
  350. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/changeContext.d.ts +9 -0
  351. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/index.d.ts +19 -0
  352. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/listShortcuts.d.ts +2 -0
  353. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/load.d.ts +9 -0
  354. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/methods/unload.d.ts +9 -0
  355. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/_findTarget.d.ts +10 -0
  356. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/_listenDOM.d.ts +78 -0
  357. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/_normalizeShortcutName.d.ts +8 -0
  358. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/_readClickEvent.d.ts +2 -0
  359. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/_registerShortcutEvents.d.ts +28 -0
  360. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/click/index.d.ts +16 -0
  361. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/form/_defaults.d.ts +17 -0
  362. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/form/_listenDOM.d.ts +68 -0
  363. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/form/_normalizeShortcutName.d.ts +2 -0
  364. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/form/_registerShortcutEvents.d.ts +96 -0
  365. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/form/index.d.ts +9 -0
  366. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/hover/_findTarget.d.ts +10 -0
  367. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/hover/_listenDOM.d.ts +68 -0
  368. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/hover/_normalizeShortcutName.d.ts +2 -0
  369. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/hover/_registerShortcutEvents.d.ts +28 -0
  370. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/hover/index.d.ts +14 -0
  371. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/_listenDOM.d.ts +63 -0
  372. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/_normalizeShortcutName.d.ts +2 -0
  373. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/_readKeyEvent.d.ts +2 -0
  374. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/_registerShortcutEvents.d.ts +28 -0
  375. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/_specialChars.d.ts +7 -0
  376. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/key/index.d.ts +14 -0
  377. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/scroll/_listenDOM.d.ts +58 -0
  378. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/scroll/_normalizeShortcutName.d.ts +2 -0
  379. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/scroll/_registerShortcutEvents.d.ts +28 -0
  380. package/test-e2e/node_modules/@peter.naydenov/shortcuts/dist/src/plugins/scroll/index.d.ts +16 -0
  381. package/test-e2e/node_modules/@peter.naydenov/shortcuts/eslint.config.js +80 -0
  382. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/assets/index-COTh6lXR.css +1 -0
  383. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/assets/index-DOkKC3NI.js +53 -0
  384. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/bg.png +0 -0
  385. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/favicon.ico +0 -0
  386. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/favicon.svg +5 -0
  387. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/html.meta.json.gz +0 -0
  388. package/test-e2e/node_modules/@peter.naydenov/shortcuts/html/index.html +32 -0
  389. package/test-e2e/node_modules/@peter.naydenov/shortcuts/index.html +126 -0
  390. package/test-e2e/node_modules/@peter.naydenov/shortcuts/javascript.svg +1 -0
  391. package/test-e2e/node_modules/@peter.naydenov/shortcuts/jsconfig.json +10 -0
  392. package/test-e2e/node_modules/@peter.naydenov/shortcuts/package.json +66 -0
  393. package/test-e2e/node_modules/@peter.naydenov/shortcuts/public/vite.svg +1 -0
  394. package/test-e2e/node_modules/@peter.naydenov/shortcuts/rollup.config.js +40 -0
  395. package/test-e2e/node_modules/@peter.naydenov/shortcuts/shortcuts.png +0 -0
  396. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/main.js +302 -0
  397. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/_normalizeWithPlugins.js +49 -0
  398. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/_readShortcutWithPlugins.js +32 -0
  399. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/_setupPlugin.js +93 -0
  400. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/_systemAction.js +33 -0
  401. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/changeContext.js +68 -0
  402. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/index.js +25 -0
  403. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/listShortcuts.js +34 -0
  404. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/load.js +58 -0
  405. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/methods/unload.js +38 -0
  406. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/_findTarget.js +26 -0
  407. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/_listenDOM.js +165 -0
  408. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/_normalizeShortcutName.js +51 -0
  409. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/_readClickEvent.js +24 -0
  410. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/_registerShortcutEvents.js +58 -0
  411. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/click/index.js +67 -0
  412. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/form/_defaults.js +28 -0
  413. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/form/_listenDOM.js +127 -0
  414. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/form/_normalizeShortcutName.js +21 -0
  415. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/form/_registerShortcutEvents.js +147 -0
  416. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/form/index.js +58 -0
  417. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/hover/_findTarget.js +26 -0
  418. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/hover/_listenDOM.js +154 -0
  419. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/hover/_normalizeShortcutName.js +21 -0
  420. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/hover/_registerShortcutEvents.js +51 -0
  421. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/hover/index.js +71 -0
  422. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/_listenDOM.js +186 -0
  423. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/_normalizeShortcutName.js +32 -0
  424. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/_readKeyEvent.js +28 -0
  425. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/_registerShortcutEvents.js +57 -0
  426. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/_specialChars.js +43 -0
  427. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/key/index.js +67 -0
  428. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/scroll/_listenDOM.js +141 -0
  429. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/scroll/_normalizeShortcutName.js +21 -0
  430. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/scroll/_registerShortcutEvents.js +50 -0
  431. package/test-e2e/node_modules/@peter.naydenov/shortcuts/src/plugins/scroll/index.js +61 -0
  432. package/test-e2e/node_modules/@peter.naydenov/shortcuts/style.css +97 -0
  433. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/01-general.test.js +275 -0
  434. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/02-key.test.js +473 -0
  435. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/03-click.test.js +596 -0
  436. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/04-form.test.js +327 -0
  437. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/05-hover.test.js +463 -0
  438. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test/06-scroll.test.js +374 -0
  439. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test-helpers/Block.jsx +15 -0
  440. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test-helpers/setup.js +18 -0
  441. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test-helpers/style.css +26 -0
  442. package/test-e2e/node_modules/@peter.naydenov/shortcuts/test-helpers/wait.js +8 -0
  443. package/test-e2e/node_modules/@peter.naydenov/shortcuts/tsconfig.json +24 -0
  444. package/test-e2e/node_modules/@peter.naydenov/shortcuts/vite.config.js +7 -0
  445. package/test-e2e/node_modules/@peter.naydenov/shortcuts/vitest.config.js +23 -0
  446. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/LICENSE +21 -0
  447. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/cypress/fixtures/example.json +5 -0
  448. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/cypress/support/commands.js +25 -0
  449. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/cypress/support/component-index.html +12 -0
  450. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/cypress/support/component.js +27 -0
  451. package/{cypress.config.mjs → test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/cypress.config.js} +2 -3
  452. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/dist/visual-controller-for-vue3.cjs +1 -0
  453. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/dist/visual-controller-for-vue3.esm.mjs +1 -0
  454. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/dist/visual-controller-for-vue3.umd.js +1 -0
  455. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/index.html +13 -0
  456. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/package.json +43 -0
  457. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/public/vite.svg +1 -0
  458. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/readme.md +233 -0
  459. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/rollup.config.js +42 -0
  460. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/src/App.vue +44 -0
  461. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/src/assets/vue.svg +1 -0
  462. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/src/components/HelloWorld.vue +26 -0
  463. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/src/main.js +101 -0
  464. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/src/style.css +90 -0
  465. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/test/01_general.cy.js +98 -0
  466. package/test-e2e/node_modules/@peter.naydenov/visual-controller-for-vue3/vite.config.js +7 -0
  467. package/test-e2e/node_modules/@rolldown/binding-darwin-arm64/README.md +3 -0
  468. package/test-e2e/node_modules/@rolldown/binding-darwin-arm64/package.json +37 -0
  469. package/test-e2e/node_modules/@rolldown/binding-darwin-arm64/rolldown-binding.darwin-arm64.node +0 -0
  470. package/test-e2e/node_modules/@rolldown/pluginutils/LICENSE +25 -0
  471. package/test-e2e/node_modules/@rolldown/pluginutils/README.md +77 -0
  472. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts +90 -0
  473. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js +256 -0
  474. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts +28 -0
  475. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js +75 -0
  476. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts +3 -0
  477. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/index.js +3 -0
  478. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts +71 -0
  479. package/test-e2e/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js +70 -0
  480. package/test-e2e/node_modules/@rolldown/pluginutils/dist/index.d.ts +1 -0
  481. package/test-e2e/node_modules/@rolldown/pluginutils/dist/index.js +1 -0
  482. package/test-e2e/node_modules/@rolldown/pluginutils/dist/utils.d.ts +2 -0
  483. package/test-e2e/node_modules/@rolldown/pluginutils/dist/utils.js +17 -0
  484. package/test-e2e/node_modules/@rolldown/pluginutils/package.json +37 -0
  485. package/test-e2e/node_modules/@vitejs/plugin-vue/LICENSE +21 -0
  486. package/test-e2e/node_modules/@vitejs/plugin-vue/README.md +278 -0
  487. package/test-e2e/node_modules/@vitejs/plugin-vue/dist/index.d.mts +120 -0
  488. package/test-e2e/node_modules/@vitejs/plugin-vue/dist/index.mjs +1745 -0
  489. package/test-e2e/node_modules/@vitejs/plugin-vue/package.json +65 -0
  490. package/test-e2e/node_modules/@vue/compiler-core/LICENSE +21 -0
  491. package/test-e2e/node_modules/@vue/compiler-core/README.md +1 -0
  492. package/test-e2e/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js +6888 -0
  493. package/test-e2e/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
  494. package/test-e2e/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1100 -0
  495. package/test-e2e/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +5835 -0
  496. package/test-e2e/node_modules/@vue/compiler-core/index.js +7 -0
  497. package/test-e2e/node_modules/@vue/compiler-core/package.json +58 -0
  498. package/test-e2e/node_modules/@vue/compiler-dom/LICENSE +21 -0
  499. package/test-e2e/node_modules/@vue/compiler-dom/README.md +1 -0
  500. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js +934 -0
  501. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  502. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +45 -0
  503. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.js +6644 -0
  504. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js +14 -0
  505. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +690 -0
  506. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.global.js +6814 -0
  507. package/test-e2e/node_modules/@vue/compiler-dom/dist/compiler-dom.global.prod.js +14 -0
  508. package/test-e2e/node_modules/@vue/compiler-dom/index.js +7 -0
  509. package/test-e2e/node_modules/@vue/compiler-dom/package.json +57 -0
  510. package/test-e2e/node_modules/@vue/compiler-sfc/LICENSE +21 -0
  511. package/test-e2e/node_modules/@vue/compiler-sfc/README.md +79 -0
  512. package/test-e2e/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +25619 -0
  513. package/test-e2e/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +487 -0
  514. package/test-e2e/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +50833 -0
  515. package/test-e2e/node_modules/@vue/compiler-sfc/package.json +67 -0
  516. package/test-e2e/node_modules/@vue/compiler-ssr/LICENSE +21 -0
  517. package/test-e2e/node_modules/@vue/compiler-ssr/README.md +1 -0
  518. package/test-e2e/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  519. package/test-e2e/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -0
  520. package/test-e2e/node_modules/@vue/compiler-ssr/package.json +34 -0
  521. package/test-e2e/node_modules/@vue/reactivity/LICENSE +21 -0
  522. package/test-e2e/node_modules/@vue/reactivity/README.md +19 -0
  523. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.cjs.js +2033 -0
  524. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1877 -0
  525. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.d.ts +756 -0
  526. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.esm-browser.js +2031 -0
  527. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js +5 -0
  528. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +1990 -0
  529. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.global.js +2087 -0
  530. package/test-e2e/node_modules/@vue/reactivity/dist/reactivity.global.prod.js +5 -0
  531. package/test-e2e/node_modules/@vue/reactivity/index.js +7 -0
  532. package/test-e2e/node_modules/@vue/reactivity/package.json +55 -0
  533. package/test-e2e/node_modules/@vue/runtime-core/LICENSE +21 -0
  534. package/test-e2e/node_modules/@vue/runtime-core/README.md +28 -0
  535. package/test-e2e/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js +8718 -0
  536. package/test-e2e/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6856 -0
  537. package/test-e2e/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1866 -0
  538. package/test-e2e/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +8647 -0
  539. package/test-e2e/node_modules/@vue/runtime-core/index.js +7 -0
  540. package/test-e2e/node_modules/@vue/runtime-core/package.json +52 -0
  541. package/test-e2e/node_modules/@vue/runtime-dom/LICENSE +21 -0
  542. package/test-e2e/node_modules/@vue/runtime-dom/README.md +13 -0
  543. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js +1946 -0
  544. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1796 -0
  545. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1450 -0
  546. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +12794 -0
  547. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +7 -0
  548. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +1985 -0
  549. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.global.js +12847 -0
  550. package/test-e2e/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js +7 -0
  551. package/test-e2e/node_modules/@vue/runtime-dom/index.js +7 -0
  552. package/test-e2e/node_modules/@vue/runtime-dom/package.json +60 -0
  553. package/test-e2e/node_modules/@vue/server-renderer/LICENSE +21 -0
  554. package/test-e2e/node_modules/@vue/server-renderer/README.md +178 -0
  555. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js +1159 -0
  556. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +883 -0
  557. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +65 -0
  558. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.js +8627 -0
  559. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js +5 -0
  560. package/test-e2e/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +1097 -0
  561. package/test-e2e/node_modules/@vue/server-renderer/index.js +7 -0
  562. package/test-e2e/node_modules/@vue/server-renderer/package.json +55 -0
  563. package/test-e2e/node_modules/@vue/shared/LICENSE +21 -0
  564. package/test-e2e/node_modules/@vue/shared/README.md +3 -0
  565. package/test-e2e/node_modules/@vue/shared/dist/shared.cjs.js +612 -0
  566. package/test-e2e/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  567. package/test-e2e/node_modules/@vue/shared/dist/shared.d.ts +334 -0
  568. package/test-e2e/node_modules/@vue/shared/dist/shared.esm-bundler.js +536 -0
  569. package/test-e2e/node_modules/@vue/shared/index.js +7 -0
  570. package/test-e2e/node_modules/@vue/shared/package.json +47 -0
  571. package/test-e2e/node_modules/ask-for-promise/LICENSE +21 -0
  572. package/test-e2e/node_modules/ask-for-promise/README.md +278 -0
  573. package/test-e2e/node_modules/ask-for-promise/dist/ask-for-promise.cjs +1 -0
  574. package/test-e2e/node_modules/ask-for-promise/dist/ask-for-promise.esm.mjs +1 -0
  575. package/test-e2e/node_modules/ask-for-promise/dist/ask-for-promise.umd.js +1 -0
  576. package/test-e2e/node_modules/ask-for-promise/package.json +77 -0
  577. package/test-e2e/node_modules/ask-for-promise/src/askForPromise.js +277 -0
  578. package/test-e2e/node_modules/ask-for-promise/types/index.d.ts +18 -0
  579. package/test-e2e/node_modules/csstype/LICENSE +19 -0
  580. package/test-e2e/node_modules/csstype/README.md +291 -0
  581. package/test-e2e/node_modules/csstype/index.d.ts +22569 -0
  582. package/test-e2e/node_modules/csstype/index.js.flow +6863 -0
  583. package/test-e2e/node_modules/csstype/package.json +70 -0
  584. package/test-e2e/node_modules/detect-libc/LICENSE +201 -0
  585. package/test-e2e/node_modules/detect-libc/README.md +163 -0
  586. package/test-e2e/node_modules/detect-libc/index.d.ts +14 -0
  587. package/test-e2e/node_modules/detect-libc/lib/detect-libc.js +313 -0
  588. package/test-e2e/node_modules/detect-libc/lib/elf.js +39 -0
  589. package/test-e2e/node_modules/detect-libc/lib/filesystem.js +51 -0
  590. package/test-e2e/node_modules/detect-libc/lib/process.js +24 -0
  591. package/test-e2e/node_modules/detect-libc/package.json +44 -0
  592. package/test-e2e/node_modules/entities/LICENSE +11 -0
  593. package/test-e2e/node_modules/entities/decode.d.ts +3 -0
  594. package/test-e2e/node_modules/entities/decode.js +3 -0
  595. package/test-e2e/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  596. package/test-e2e/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  597. package/test-e2e/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  598. package/test-e2e/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  599. package/test-e2e/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
  600. package/test-e2e/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  601. package/test-e2e/node_modules/entities/dist/commonjs/decode.js +568 -0
  602. package/test-e2e/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  603. package/test-e2e/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  604. package/test-e2e/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  605. package/test-e2e/node_modules/entities/dist/commonjs/encode.js +92 -0
  606. package/test-e2e/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  607. package/test-e2e/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
  608. package/test-e2e/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  609. package/test-e2e/node_modules/entities/dist/commonjs/escape.js +138 -0
  610. package/test-e2e/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  611. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  612. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  613. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  614. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  615. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  616. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  617. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  618. package/test-e2e/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  619. package/test-e2e/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  620. package/test-e2e/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  621. package/test-e2e/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
  622. package/test-e2e/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  623. package/test-e2e/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  624. package/test-e2e/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  625. package/test-e2e/node_modules/entities/dist/commonjs/index.js +131 -0
  626. package/test-e2e/node_modules/entities/dist/commonjs/index.js.map +1 -0
  627. package/test-e2e/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  628. package/test-e2e/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
  629. package/test-e2e/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  630. package/test-e2e/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
  631. package/test-e2e/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  632. package/test-e2e/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
  633. package/test-e2e/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  634. package/test-e2e/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
  635. package/test-e2e/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  636. package/test-e2e/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
  637. package/test-e2e/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
  638. package/test-e2e/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
  639. package/test-e2e/node_modules/entities/dist/commonjs/package.json +3 -0
  640. package/test-e2e/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  641. package/test-e2e/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  642. package/test-e2e/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  643. package/test-e2e/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  644. package/test-e2e/node_modules/entities/dist/esm/decode.d.ts +205 -0
  645. package/test-e2e/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  646. package/test-e2e/node_modules/entities/dist/esm/decode.js +554 -0
  647. package/test-e2e/node_modules/entities/dist/esm/decode.js.map +1 -0
  648. package/test-e2e/node_modules/entities/dist/esm/encode.d.ts +22 -0
  649. package/test-e2e/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  650. package/test-e2e/node_modules/entities/dist/esm/encode.js +88 -0
  651. package/test-e2e/node_modules/entities/dist/esm/encode.js.map +1 -0
  652. package/test-e2e/node_modules/entities/dist/esm/escape.d.ts +46 -0
  653. package/test-e2e/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  654. package/test-e2e/node_modules/entities/dist/esm/escape.js +134 -0
  655. package/test-e2e/node_modules/entities/dist/esm/escape.js.map +1 -0
  656. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  657. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  658. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
  659. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  660. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  661. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  662. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
  663. package/test-e2e/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  664. package/test-e2e/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  665. package/test-e2e/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  666. package/test-e2e/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
  667. package/test-e2e/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  668. package/test-e2e/node_modules/entities/dist/esm/index.d.ts +96 -0
  669. package/test-e2e/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  670. package/test-e2e/node_modules/entities/dist/esm/index.js +107 -0
  671. package/test-e2e/node_modules/entities/dist/esm/index.js.map +1 -0
  672. package/test-e2e/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  673. package/test-e2e/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
  674. package/test-e2e/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
  675. package/test-e2e/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
  676. package/test-e2e/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  677. package/test-e2e/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
  678. package/test-e2e/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
  679. package/test-e2e/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
  680. package/test-e2e/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  681. package/test-e2e/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
  682. package/test-e2e/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
  683. package/test-e2e/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
  684. package/test-e2e/node_modules/entities/dist/esm/package.json +3 -0
  685. package/test-e2e/node_modules/entities/escape.d.ts +3 -0
  686. package/test-e2e/node_modules/entities/escape.js +3 -0
  687. package/test-e2e/node_modules/entities/package.json +120 -0
  688. package/test-e2e/node_modules/entities/readme.md +143 -0
  689. package/test-e2e/node_modules/entities/src/decode-codepoint.ts +81 -0
  690. package/test-e2e/node_modules/entities/src/decode.ts +685 -0
  691. package/test-e2e/node_modules/entities/src/encode.ts +93 -0
  692. package/test-e2e/node_modules/entities/src/escape.ts +161 -0
  693. package/test-e2e/node_modules/entities/src/generated/.eslintrc.json +10 -0
  694. package/test-e2e/node_modules/entities/src/generated/decode-data-html.ts +6 -0
  695. package/test-e2e/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
  696. package/test-e2e/node_modules/entities/src/generated/encode-html.ts +17 -0
  697. package/test-e2e/node_modules/entities/src/index.ts +187 -0
  698. package/test-e2e/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  699. package/test-e2e/node_modules/entities/src/internal/decode-shared.ts +30 -0
  700. package/test-e2e/node_modules/entities/src/internal/encode-shared.ts +121 -0
  701. package/test-e2e/node_modules/estree-walker/CHANGELOG.md +92 -0
  702. package/test-e2e/node_modules/estree-walker/LICENSE +7 -0
  703. package/test-e2e/node_modules/estree-walker/README.md +48 -0
  704. package/test-e2e/node_modules/estree-walker/dist/esm/estree-walker.js +333 -0
  705. package/test-e2e/node_modules/estree-walker/dist/esm/package.json +1 -0
  706. package/test-e2e/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  707. package/test-e2e/node_modules/estree-walker/package.json +37 -0
  708. package/test-e2e/node_modules/estree-walker/src/async.js +118 -0
  709. package/test-e2e/node_modules/estree-walker/src/index.js +35 -0
  710. package/test-e2e/node_modules/estree-walker/src/package.json +1 -0
  711. package/test-e2e/node_modules/estree-walker/src/sync.js +118 -0
  712. package/test-e2e/node_modules/estree-walker/src/walker.js +61 -0
  713. package/test-e2e/node_modules/estree-walker/types/async.d.ts +53 -0
  714. package/test-e2e/node_modules/estree-walker/types/index.d.ts +56 -0
  715. package/test-e2e/node_modules/estree-walker/types/sync.d.ts +53 -0
  716. package/test-e2e/node_modules/estree-walker/types/tsconfig.tsbuildinfo +345 -0
  717. package/test-e2e/node_modules/estree-walker/types/walker.d.ts +37 -0
  718. package/test-e2e/node_modules/fdir/LICENSE +7 -0
  719. package/test-e2e/node_modules/fdir/README.md +91 -0
  720. package/test-e2e/node_modules/fdir/dist/index.cjs +588 -0
  721. package/test-e2e/node_modules/fdir/dist/index.d.cts +155 -0
  722. package/test-e2e/node_modules/fdir/dist/index.d.mts +155 -0
  723. package/test-e2e/node_modules/fdir/dist/index.mjs +570 -0
  724. package/test-e2e/node_modules/fdir/package.json +103 -0
  725. package/test-e2e/node_modules/lightningcss/LICENSE +373 -0
  726. package/test-e2e/node_modules/lightningcss/README.md +105 -0
  727. package/test-e2e/node_modules/lightningcss/node/ast.d.ts +9892 -0
  728. package/test-e2e/node_modules/lightningcss/node/ast.js.flow +10539 -0
  729. package/test-e2e/node_modules/lightningcss/node/browserslistToTargets.js +48 -0
  730. package/test-e2e/node_modules/lightningcss/node/composeVisitors.js +450 -0
  731. package/test-e2e/node_modules/lightningcss/node/flags.js +28 -0
  732. package/test-e2e/node_modules/lightningcss/node/index.d.ts +494 -0
  733. package/test-e2e/node_modules/lightningcss/node/index.js +59 -0
  734. package/test-e2e/node_modules/lightningcss/node/index.js.flow +843 -0
  735. package/test-e2e/node_modules/lightningcss/node/index.mjs +4 -0
  736. package/test-e2e/node_modules/lightningcss/node/targets.d.ts +40 -0
  737. package/test-e2e/node_modules/lightningcss/node/targets.js.flow +39 -0
  738. package/test-e2e/node_modules/lightningcss/package.json +110 -0
  739. package/test-e2e/node_modules/lightningcss-darwin-arm64/LICENSE +373 -0
  740. package/test-e2e/node_modules/lightningcss-darwin-arm64/README.md +1 -0
  741. package/test-e2e/node_modules/lightningcss-darwin-arm64/lightningcss.darwin-arm64.node +0 -0
  742. package/test-e2e/node_modules/lightningcss-darwin-arm64/package.json +34 -0
  743. package/test-e2e/node_modules/magic-string/LICENSE +7 -0
  744. package/test-e2e/node_modules/magic-string/README.md +325 -0
  745. package/test-e2e/node_modules/magic-string/dist/magic-string.cjs.d.ts +289 -0
  746. package/test-e2e/node_modules/magic-string/dist/magic-string.cjs.js +1594 -0
  747. package/test-e2e/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -0
  748. package/test-e2e/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
  749. package/test-e2e/node_modules/magic-string/dist/magic-string.es.mjs +1588 -0
  750. package/test-e2e/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  751. package/test-e2e/node_modules/magic-string/dist/magic-string.umd.js +1682 -0
  752. package/test-e2e/node_modules/magic-string/dist/magic-string.umd.js.map +1 -0
  753. package/test-e2e/node_modules/magic-string/package.json +67 -0
  754. package/test-e2e/node_modules/nanoid/LICENSE +20 -0
  755. package/test-e2e/node_modules/nanoid/README.md +39 -0
  756. package/test-e2e/node_modules/nanoid/async/index.browser.cjs +69 -0
  757. package/test-e2e/node_modules/nanoid/async/index.browser.js +34 -0
  758. package/test-e2e/node_modules/nanoid/async/index.cjs +71 -0
  759. package/test-e2e/node_modules/nanoid/async/index.d.ts +56 -0
  760. package/test-e2e/node_modules/nanoid/async/index.js +35 -0
  761. package/test-e2e/node_modules/nanoid/async/index.native.js +26 -0
  762. package/test-e2e/node_modules/nanoid/async/package.json +12 -0
  763. package/test-e2e/node_modules/nanoid/bin/nanoid.cjs +55 -0
  764. package/test-e2e/node_modules/nanoid/index.browser.cjs +72 -0
  765. package/test-e2e/node_modules/nanoid/index.browser.js +34 -0
  766. package/test-e2e/node_modules/nanoid/index.cjs +85 -0
  767. package/test-e2e/node_modules/nanoid/index.d.cts +91 -0
  768. package/test-e2e/node_modules/nanoid/index.d.ts +91 -0
  769. package/test-e2e/node_modules/nanoid/index.js +45 -0
  770. package/test-e2e/node_modules/nanoid/nanoid.js +1 -0
  771. package/test-e2e/node_modules/nanoid/non-secure/index.cjs +34 -0
  772. package/test-e2e/node_modules/nanoid/non-secure/index.d.ts +33 -0
  773. package/test-e2e/node_modules/nanoid/non-secure/index.js +21 -0
  774. package/test-e2e/node_modules/nanoid/non-secure/package.json +6 -0
  775. package/test-e2e/node_modules/nanoid/package.json +89 -0
  776. package/test-e2e/node_modules/nanoid/url-alphabet/index.cjs +7 -0
  777. package/test-e2e/node_modules/nanoid/url-alphabet/index.js +3 -0
  778. package/test-e2e/node_modules/nanoid/url-alphabet/package.json +6 -0
  779. package/test-e2e/node_modules/picocolors/LICENSE +15 -0
  780. package/test-e2e/node_modules/picocolors/README.md +21 -0
  781. package/test-e2e/node_modules/picocolors/package.json +25 -0
  782. package/test-e2e/node_modules/picocolors/picocolors.browser.js +4 -0
  783. package/test-e2e/node_modules/picocolors/picocolors.d.ts +5 -0
  784. package/test-e2e/node_modules/picocolors/picocolors.js +75 -0
  785. package/test-e2e/node_modules/picocolors/types.d.ts +51 -0
  786. package/test-e2e/node_modules/picomatch/LICENSE +21 -0
  787. package/test-e2e/node_modules/picomatch/README.md +749 -0
  788. package/test-e2e/node_modules/picomatch/index.js +17 -0
  789. package/test-e2e/node_modules/picomatch/lib/constants.js +184 -0
  790. package/test-e2e/node_modules/picomatch/lib/parse.js +1386 -0
  791. package/test-e2e/node_modules/picomatch/lib/picomatch.js +349 -0
  792. package/test-e2e/node_modules/picomatch/lib/scan.js +391 -0
  793. package/test-e2e/node_modules/picomatch/lib/utils.js +72 -0
  794. package/test-e2e/node_modules/picomatch/package.json +82 -0
  795. package/test-e2e/node_modules/picomatch/posix.js +3 -0
  796. package/test-e2e/node_modules/postcss/LICENSE +20 -0
  797. package/test-e2e/node_modules/postcss/README.md +28 -0
  798. package/test-e2e/node_modules/postcss/lib/at-rule.d.ts +139 -0
  799. package/test-e2e/node_modules/postcss/lib/at-rule.js +25 -0
  800. package/test-e2e/node_modules/postcss/lib/comment.d.ts +67 -0
  801. package/test-e2e/node_modules/postcss/lib/comment.js +13 -0
  802. package/test-e2e/node_modules/postcss/lib/container.d.ts +478 -0
  803. package/test-e2e/node_modules/postcss/lib/container.js +447 -0
  804. package/test-e2e/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
  805. package/test-e2e/node_modules/postcss/lib/css-syntax-error.js +133 -0
  806. package/test-e2e/node_modules/postcss/lib/declaration.d.ts +150 -0
  807. package/test-e2e/node_modules/postcss/lib/declaration.js +24 -0
  808. package/test-e2e/node_modules/postcss/lib/document.d.ts +68 -0
  809. package/test-e2e/node_modules/postcss/lib/document.js +33 -0
  810. package/test-e2e/node_modules/postcss/lib/fromJSON.d.ts +9 -0
  811. package/test-e2e/node_modules/postcss/lib/fromJSON.js +54 -0
  812. package/test-e2e/node_modules/postcss/lib/input.d.ts +226 -0
  813. package/test-e2e/node_modules/postcss/lib/input.js +273 -0
  814. package/test-e2e/node_modules/postcss/lib/lazy-result.d.ts +189 -0
  815. package/test-e2e/node_modules/postcss/lib/lazy-result.js +550 -0
  816. package/test-e2e/node_modules/postcss/lib/list.d.ts +60 -0
  817. package/test-e2e/node_modules/postcss/lib/list.js +58 -0
  818. package/test-e2e/node_modules/postcss/lib/map-generator.js +376 -0
  819. package/test-e2e/node_modules/postcss/lib/no-work-result.d.ts +45 -0
  820. package/test-e2e/node_modules/postcss/lib/no-work-result.js +137 -0
  821. package/test-e2e/node_modules/postcss/lib/node.d.ts +555 -0
  822. package/test-e2e/node_modules/postcss/lib/node.js +449 -0
  823. package/test-e2e/node_modules/postcss/lib/parse.d.ts +9 -0
  824. package/test-e2e/node_modules/postcss/lib/parse.js +42 -0
  825. package/test-e2e/node_modules/postcss/lib/parser.js +611 -0
  826. package/test-e2e/node_modules/postcss/lib/postcss.d.mts +66 -0
  827. package/test-e2e/node_modules/postcss/lib/postcss.d.ts +456 -0
  828. package/test-e2e/node_modules/postcss/lib/postcss.js +101 -0
  829. package/test-e2e/node_modules/postcss/lib/postcss.mjs +30 -0
  830. package/test-e2e/node_modules/postcss/lib/previous-map.d.ts +80 -0
  831. package/test-e2e/node_modules/postcss/lib/previous-map.js +145 -0
  832. package/test-e2e/node_modules/postcss/lib/processor.d.ts +114 -0
  833. package/test-e2e/node_modules/postcss/lib/processor.js +67 -0
  834. package/test-e2e/node_modules/postcss/lib/result.d.ts +204 -0
  835. package/test-e2e/node_modules/postcss/lib/result.js +42 -0
  836. package/test-e2e/node_modules/postcss/lib/root.d.ts +86 -0
  837. package/test-e2e/node_modules/postcss/lib/root.js +61 -0
  838. package/test-e2e/node_modules/postcss/lib/rule.d.ts +126 -0
  839. package/test-e2e/node_modules/postcss/lib/rule.js +27 -0
  840. package/test-e2e/node_modules/postcss/lib/stringifier.d.ts +45 -0
  841. package/test-e2e/node_modules/postcss/lib/stringifier.js +353 -0
  842. package/test-e2e/node_modules/postcss/lib/stringify.d.ts +9 -0
  843. package/test-e2e/node_modules/postcss/lib/stringify.js +11 -0
  844. package/test-e2e/node_modules/postcss/lib/symbols.js +5 -0
  845. package/test-e2e/node_modules/postcss/lib/terminal-highlight.js +70 -0
  846. package/test-e2e/node_modules/postcss/lib/tokenize.js +266 -0
  847. package/test-e2e/node_modules/postcss/lib/warn-once.js +13 -0
  848. package/test-e2e/node_modules/postcss/lib/warning.d.ts +146 -0
  849. package/test-e2e/node_modules/postcss/lib/warning.js +37 -0
  850. package/test-e2e/node_modules/postcss/package.json +88 -0
  851. package/test-e2e/node_modules/rolldown/LICENSE +25 -0
  852. package/test-e2e/node_modules/rolldown/README.md +11 -0
  853. package/test-e2e/node_modules/rolldown/bin/cli.mjs +2 -0
  854. package/test-e2e/node_modules/rolldown/dist/cli.d.mts +1 -0
  855. package/test-e2e/node_modules/rolldown/dist/cli.mjs +1191 -0
  856. package/test-e2e/node_modules/rolldown/dist/config.d.mts +14 -0
  857. package/test-e2e/node_modules/rolldown/dist/config.mjs +4 -0
  858. package/test-e2e/node_modules/rolldown/dist/experimental-index.d.mts +253 -0
  859. package/test-e2e/node_modules/rolldown/dist/experimental-index.mjs +320 -0
  860. package/test-e2e/node_modules/rolldown/dist/experimental-runtime-types.d.ts +98 -0
  861. package/test-e2e/node_modules/rolldown/dist/filter-index.d.mts +196 -0
  862. package/test-e2e/node_modules/rolldown/dist/filter-index.mjs +386 -0
  863. package/test-e2e/node_modules/rolldown/dist/get-log-filter.d.mts +3 -0
  864. package/test-e2e/node_modules/rolldown/dist/get-log-filter.mjs +68 -0
  865. package/test-e2e/node_modules/rolldown/dist/index.d.mts +4 -0
  866. package/test-e2e/node_modules/rolldown/dist/index.mjs +50 -0
  867. package/test-e2e/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +1 -0
  868. package/test-e2e/node_modules/rolldown/dist/parallel-plugin-worker.mjs +28 -0
  869. package/test-e2e/node_modules/rolldown/dist/parallel-plugin.d.mts +13 -0
  870. package/test-e2e/node_modules/rolldown/dist/parallel-plugin.mjs +6 -0
  871. package/test-e2e/node_modules/rolldown/dist/parse-ast-index.d.mts +32 -0
  872. package/test-e2e/node_modules/rolldown/dist/parse-ast-index.mjs +60 -0
  873. package/test-e2e/node_modules/rolldown/dist/plugins-index.d.mts +33 -0
  874. package/test-e2e/node_modules/rolldown/dist/plugins-index.mjs +40 -0
  875. package/test-e2e/node_modules/rolldown/dist/shared/binding-DUEnSb0A.d.mts +1872 -0
  876. package/test-e2e/node_modules/rolldown/dist/shared/binding-s-V_wTpj.mjs +582 -0
  877. package/test-e2e/node_modules/rolldown/dist/shared/bindingify-input-options-DYpBf1OG.mjs +2235 -0
  878. package/test-e2e/node_modules/rolldown/dist/shared/constructors-BaEBnHl3.mjs +68 -0
  879. package/test-e2e/node_modules/rolldown/dist/shared/constructors-DYemMpPL.d.mts +37 -0
  880. package/test-e2e/node_modules/rolldown/dist/shared/define-config-DJOr6Iwt.mjs +6 -0
  881. package/test-e2e/node_modules/rolldown/dist/shared/define-config-DhJZwTRw.d.mts +3795 -0
  882. package/test-e2e/node_modules/rolldown/dist/shared/error-w0u7biK-.mjs +85 -0
  883. package/test-e2e/node_modules/rolldown/dist/shared/get-log-filter-semyr3Lj.d.mts +35 -0
  884. package/test-e2e/node_modules/rolldown/dist/shared/load-config-pmbgQdFU.mjs +120 -0
  885. package/test-e2e/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts +50 -0
  886. package/test-e2e/node_modules/rolldown/dist/shared/logs-D80CXhvg.mjs +180 -0
  887. package/test-e2e/node_modules/rolldown/dist/shared/misc-DJYbNKZX.mjs +21 -0
  888. package/test-e2e/node_modules/rolldown/dist/shared/normalize-string-or-regex-CVvpepxa.mjs +66 -0
  889. package/test-e2e/node_modules/rolldown/dist/shared/parse-BywQARUG.mjs +74 -0
  890. package/test-e2e/node_modules/rolldown/dist/shared/prompt-BYQIwEjg.mjs +845 -0
  891. package/test-e2e/node_modules/rolldown/dist/shared/resolve-tsconfig-CNjJwuKB.mjs +113 -0
  892. package/test-e2e/node_modules/rolldown/dist/shared/rolldown-BLMDGLfI.mjs +40 -0
  893. package/test-e2e/node_modules/rolldown/dist/shared/rolldown-build-DtGk-m96.mjs +3321 -0
  894. package/test-e2e/node_modules/rolldown/dist/shared/transform-Kz3D2LbX.d.mts +149 -0
  895. package/test-e2e/node_modules/rolldown/dist/shared/watch-Cixa7HbR.mjs +374 -0
  896. package/test-e2e/node_modules/rolldown/dist/utils-index.d.mts +376 -0
  897. package/test-e2e/node_modules/rolldown/dist/utils-index.mjs +2414 -0
  898. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/LICENSE +25 -0
  899. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/README.md +83 -0
  900. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts +90 -0
  901. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js +256 -0
  902. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts +28 -0
  903. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js +75 -0
  904. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts +3 -0
  905. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/index.js +3 -0
  906. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts +71 -0
  907. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js +70 -0
  908. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/index.d.ts +1 -0
  909. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/index.js +1 -0
  910. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/utils.d.ts +2 -0
  911. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/dist/utils.js +17 -0
  912. package/test-e2e/node_modules/rolldown/node_modules/@rolldown/pluginutils/package.json +37 -0
  913. package/test-e2e/node_modules/rolldown/package.json +153 -0
  914. package/test-e2e/node_modules/source-map-js/LICENSE +28 -0
  915. package/test-e2e/node_modules/source-map-js/README.md +765 -0
  916. package/test-e2e/node_modules/source-map-js/lib/array-set.js +121 -0
  917. package/test-e2e/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  918. package/test-e2e/node_modules/source-map-js/lib/base64.js +67 -0
  919. package/test-e2e/node_modules/source-map-js/lib/binary-search.js +111 -0
  920. package/test-e2e/node_modules/source-map-js/lib/mapping-list.js +79 -0
  921. package/test-e2e/node_modules/source-map-js/lib/quick-sort.js +132 -0
  922. package/test-e2e/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  923. package/test-e2e/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  924. package/test-e2e/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  925. package/test-e2e/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  926. package/test-e2e/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  927. package/test-e2e/node_modules/source-map-js/lib/source-node.js +413 -0
  928. package/test-e2e/node_modules/source-map-js/lib/util.js +594 -0
  929. package/test-e2e/node_modules/source-map-js/package.json +71 -0
  930. package/test-e2e/node_modules/source-map-js/source-map.d.ts +104 -0
  931. package/test-e2e/node_modules/source-map-js/source-map.js +8 -0
  932. package/test-e2e/node_modules/tinyglobby/LICENSE +21 -0
  933. package/test-e2e/node_modules/tinyglobby/README.md +25 -0
  934. package/test-e2e/node_modules/tinyglobby/dist/index.cjs +334 -0
  935. package/test-e2e/node_modules/tinyglobby/dist/index.d.cts +148 -0
  936. package/test-e2e/node_modules/tinyglobby/dist/index.d.mts +148 -0
  937. package/test-e2e/node_modules/tinyglobby/dist/index.mjs +306 -0
  938. package/test-e2e/node_modules/tinyglobby/package.json +73 -0
  939. package/test-e2e/node_modules/vite/LICENSE.md +2230 -0
  940. package/test-e2e/node_modules/vite/README.md +20 -0
  941. package/test-e2e/node_modules/vite/bin/openChrome.js +68 -0
  942. package/test-e2e/node_modules/vite/bin/vite.js +79 -0
  943. package/test-e2e/node_modules/vite/client.d.ts +282 -0
  944. package/test-e2e/node_modules/vite/dist/client/client.mjs +1235 -0
  945. package/test-e2e/node_modules/vite/dist/client/env.mjs +18 -0
  946. package/test-e2e/node_modules/vite/dist/node/chunks/build.js +2 -0
  947. package/test-e2e/node_modules/vite/dist/node/chunks/build2.js +5378 -0
  948. package/test-e2e/node_modules/vite/dist/node/chunks/chunk.js +37 -0
  949. package/test-e2e/node_modules/vite/dist/node/chunks/config.js +2 -0
  950. package/test-e2e/node_modules/vite/dist/node/chunks/dist.js +6719 -0
  951. package/test-e2e/node_modules/vite/dist/node/chunks/lib.js +371 -0
  952. package/test-e2e/node_modules/vite/dist/node/chunks/logger.js +322 -0
  953. package/test-e2e/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +96 -0
  954. package/test-e2e/node_modules/vite/dist/node/chunks/node.js +34785 -0
  955. package/test-e2e/node_modules/vite/dist/node/chunks/optimizer.js +2 -0
  956. package/test-e2e/node_modules/vite/dist/node/chunks/postcss-import.js +467 -0
  957. package/test-e2e/node_modules/vite/dist/node/chunks/preview.js +2 -0
  958. package/test-e2e/node_modules/vite/dist/node/chunks/server.js +2 -0
  959. package/test-e2e/node_modules/vite/dist/node/cli.js +837 -0
  960. package/test-e2e/node_modules/vite/dist/node/index.d.ts +3867 -0
  961. package/test-e2e/node_modules/vite/dist/node/index.js +3 -0
  962. package/test-e2e/node_modules/vite/dist/node/internal.d.ts +2 -0
  963. package/test-e2e/node_modules/vite/dist/node/internal.js +2 -0
  964. package/test-e2e/node_modules/vite/dist/node/module-runner.d.ts +315 -0
  965. package/test-e2e/node_modules/vite/dist/node/module-runner.js +1262 -0
  966. package/test-e2e/node_modules/vite/misc/false.js +1 -0
  967. package/test-e2e/node_modules/vite/misc/true.js +1 -0
  968. package/test-e2e/node_modules/vite/package.json +192 -0
  969. package/test-e2e/node_modules/vite/types/customEvent.d.ts +79 -0
  970. package/test-e2e/node_modules/vite/types/hmrPayload.d.ts +80 -0
  971. package/test-e2e/node_modules/vite/types/hot.d.ts +39 -0
  972. package/test-e2e/node_modules/vite/types/import-meta.d.ts +5 -0
  973. package/test-e2e/node_modules/vite/types/importGlob.d.ts +89 -0
  974. package/test-e2e/node_modules/vite/types/importMeta.d.ts +30 -0
  975. package/test-e2e/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +44 -0
  976. package/test-e2e/node_modules/vite/types/internal/esbuildOptions.d.ts +28 -0
  977. package/test-e2e/node_modules/vite/types/internal/lightningcssOptions.d.ts +18 -0
  978. package/test-e2e/node_modules/vite/types/internal/rollupTypeCompat.d.ts +24 -0
  979. package/test-e2e/node_modules/vite/types/internal/terserOptions.d.ts +11 -0
  980. package/test-e2e/node_modules/vite/types/metadata.d.ts +47 -0
  981. package/test-e2e/node_modules/vue/LICENSE +21 -0
  982. package/test-e2e/node_modules/vue/README.md +58 -0
  983. package/test-e2e/node_modules/vue/compiler-sfc/index.browser.js +1 -0
  984. package/test-e2e/node_modules/vue/compiler-sfc/index.browser.mjs +1 -0
  985. package/test-e2e/node_modules/vue/compiler-sfc/index.d.mts +1 -0
  986. package/test-e2e/node_modules/vue/compiler-sfc/index.d.ts +1 -0
  987. package/test-e2e/node_modules/vue/compiler-sfc/index.js +3 -0
  988. package/test-e2e/node_modules/vue/compiler-sfc/index.mjs +3 -0
  989. package/test-e2e/node_modules/vue/compiler-sfc/package.json +4 -0
  990. package/test-e2e/node_modules/vue/compiler-sfc/register-ts.js +3 -0
  991. package/test-e2e/node_modules/vue/dist/vue.cjs.js +80 -0
  992. package/test-e2e/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  993. package/test-e2e/node_modules/vue/dist/vue.d.mts +7 -0
  994. package/test-e2e/node_modules/vue/dist/vue.d.ts +7 -0
  995. package/test-e2e/node_modules/vue/dist/vue.esm-browser.js +18708 -0
  996. package/test-e2e/node_modules/vue/dist/vue.esm-browser.prod.js +13 -0
  997. package/test-e2e/node_modules/vue/dist/vue.esm-bundler.js +71 -0
  998. package/test-e2e/node_modules/vue/dist/vue.global.js +18588 -0
  999. package/test-e2e/node_modules/vue/dist/vue.global.prod.js +13 -0
  1000. package/test-e2e/node_modules/vue/dist/vue.runtime.esm-browser.js +12817 -0
  1001. package/test-e2e/node_modules/vue/dist/vue.runtime.esm-browser.prod.js +7 -0
  1002. package/test-e2e/node_modules/vue/dist/vue.runtime.esm-bundler.js +26 -0
  1003. package/test-e2e/node_modules/vue/dist/vue.runtime.global.js +12871 -0
  1004. package/test-e2e/node_modules/vue/dist/vue.runtime.global.prod.js +7 -0
  1005. package/test-e2e/node_modules/vue/index.js +7 -0
  1006. package/test-e2e/node_modules/vue/index.mjs +1 -0
  1007. package/test-e2e/node_modules/vue/jsx-runtime/index.d.ts +25 -0
  1008. package/test-e2e/node_modules/vue/jsx-runtime/index.js +15 -0
  1009. package/test-e2e/node_modules/vue/jsx-runtime/index.mjs +12 -0
  1010. package/test-e2e/node_modules/vue/jsx-runtime/package.json +5 -0
  1011. package/test-e2e/node_modules/vue/jsx.d.ts +22 -0
  1012. package/test-e2e/node_modules/vue/package.json +112 -0
  1013. package/test-e2e/node_modules/vue/server-renderer/index.d.mts +1 -0
  1014. package/test-e2e/node_modules/vue/server-renderer/index.d.ts +1 -0
  1015. package/test-e2e/node_modules/vue/server-renderer/index.js +1 -0
  1016. package/test-e2e/node_modules/vue/server-renderer/index.mjs +1 -0
  1017. package/test-e2e/node_modules/vue/server-renderer/package.json +4 -0
  1018. package/test-e2e/package-lock.json +1164 -0
  1019. package/test-e2e/package.json +17 -0
  1020. package/test-e2e/vite.config.js +17 -0
  1021. package/test-results/.last-run.json +4 -0
  1022. package/vite.config.js +12 -2
  1023. package/vitest.config.js +1 -1
  1024. package/cypress/support/component-index.html +0 -11
  1025. package/test/01-general.cy.js +0 -348
  1026. /package/{test → test-e2e}/blue.vue +0 -0
  1027. /package/{test → test-e2e}/dummy.vue +0 -0
  1028. /package/{test → test-e2e}/gray.vue +0 -0
  1029. /package/{test → test-e2e}/red.vue +0 -0
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = cloneNode;
7
+ var _index = require("../definitions/index.js");
8
+ var _index2 = require("../validators/generated/index.js");
9
+ const {
10
+ hasOwn
11
+ } = {
12
+ hasOwn: Function.call.bind(Object.prototype.hasOwnProperty)
13
+ };
14
+ function cloneIfNode(obj, deep, withoutLoc, commentsCache) {
15
+ if (obj && typeof obj.type === "string") {
16
+ return cloneNodeInternal(obj, deep, withoutLoc, commentsCache);
17
+ }
18
+ return obj;
19
+ }
20
+ function cloneIfNodeOrArray(obj, deep, withoutLoc, commentsCache) {
21
+ if (Array.isArray(obj)) {
22
+ return obj.map(node => cloneIfNode(node, deep, withoutLoc, commentsCache));
23
+ }
24
+ return cloneIfNode(obj, deep, withoutLoc, commentsCache);
25
+ }
26
+ function cloneNode(node, deep = true, withoutLoc = false) {
27
+ return cloneNodeInternal(node, deep, withoutLoc, new Map());
28
+ }
29
+ function cloneNodeInternal(node, deep = true, withoutLoc = false, commentsCache) {
30
+ if (!node) return node;
31
+ const {
32
+ type
33
+ } = node;
34
+ const newNode = {
35
+ type: node.type
36
+ };
37
+ if ((0, _index2.isIdentifier)(node)) {
38
+ newNode.name = node.name;
39
+ if (hasOwn(node, "optional") && typeof node.optional === "boolean") {
40
+ newNode.optional = node.optional;
41
+ }
42
+ if (hasOwn(node, "typeAnnotation")) {
43
+ newNode.typeAnnotation = deep ? cloneIfNodeOrArray(node.typeAnnotation, true, withoutLoc, commentsCache) : node.typeAnnotation;
44
+ }
45
+ if (hasOwn(node, "decorators")) {
46
+ newNode.decorators = deep ? cloneIfNodeOrArray(node.decorators, true, withoutLoc, commentsCache) : node.decorators;
47
+ }
48
+ } else if (!hasOwn(_index.NODE_FIELDS, type)) {
49
+ throw new Error(`Unknown node type: "${type}"`);
50
+ } else {
51
+ for (const field of Object.keys(_index.NODE_FIELDS[type])) {
52
+ if (hasOwn(node, field)) {
53
+ if (deep) {
54
+ newNode[field] = (0, _index2.isFile)(node) && field === "comments" ? maybeCloneComments(node.comments, deep, withoutLoc, commentsCache) : cloneIfNodeOrArray(node[field], true, withoutLoc, commentsCache);
55
+ } else {
56
+ newNode[field] = node[field];
57
+ }
58
+ }
59
+ }
60
+ }
61
+ if (hasOwn(node, "loc")) {
62
+ if (withoutLoc) {
63
+ newNode.loc = null;
64
+ } else {
65
+ newNode.loc = node.loc;
66
+ }
67
+ }
68
+ if (hasOwn(node, "leadingComments")) {
69
+ newNode.leadingComments = maybeCloneComments(node.leadingComments, deep, withoutLoc, commentsCache);
70
+ }
71
+ if (hasOwn(node, "innerComments")) {
72
+ newNode.innerComments = maybeCloneComments(node.innerComments, deep, withoutLoc, commentsCache);
73
+ }
74
+ if (hasOwn(node, "trailingComments")) {
75
+ newNode.trailingComments = maybeCloneComments(node.trailingComments, deep, withoutLoc, commentsCache);
76
+ }
77
+ if (hasOwn(node, "extra")) {
78
+ newNode.extra = Object.assign({}, node.extra);
79
+ }
80
+ return newNode;
81
+ }
82
+ function maybeCloneComments(comments, deep, withoutLoc, commentsCache) {
83
+ if (!comments || !deep) {
84
+ return comments;
85
+ }
86
+ return comments.map(comment => {
87
+ const cache = commentsCache.get(comment);
88
+ if (cache) return cache;
89
+ const {
90
+ type,
91
+ value,
92
+ loc
93
+ } = comment;
94
+ const ret = {
95
+ type,
96
+ value,
97
+ loc
98
+ };
99
+ if (withoutLoc) {
100
+ ret.loc = null;
101
+ }
102
+ commentsCache.set(comment, ret);
103
+ return ret;
104
+ });
105
+ }
106
+
107
+ //# sourceMappingURL=cloneNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_index2","hasOwn","Function","call","bind","Object","prototype","hasOwnProperty","cloneIfNode","obj","deep","withoutLoc","commentsCache","type","cloneNodeInternal","cloneIfNodeOrArray","Array","isArray","map","node","cloneNode","Map","newNode","isIdentifier","name","optional","typeAnnotation","decorators","NODE_FIELDS","Error","field","keys","isFile","maybeCloneComments","comments","loc","leadingComments","innerComments","trailingComments","extra","assign","comment","cache","get","value","ret","set"],"sources":["../../src/clone/cloneNode.ts"],"sourcesContent":["import { NODE_FIELDS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\nimport { isFile, isIdentifier } from \"../validators/generated/index.ts\";\n\nconst { hasOwn } = process.env.BABEL_8_BREAKING\n ? Object\n : { hasOwn: Function.call.bind(Object.prototype.hasOwnProperty) };\n\ntype CommentCache = Map<t.Comment, t.Comment>;\n\n// This function will never be called for comments, only for real nodes.\nfunction cloneIfNode(\n obj: t.Node | undefined | null,\n deep: boolean,\n withoutLoc: boolean,\n commentsCache: CommentCache,\n) {\n if (obj && typeof obj.type === \"string\") {\n return cloneNodeInternal(obj, deep, withoutLoc, commentsCache);\n }\n\n return obj;\n}\n\nfunction cloneIfNodeOrArray(\n obj: t.Node | undefined | null | (t.Node | undefined | null)[],\n deep: boolean,\n withoutLoc: boolean,\n commentsCache: CommentCache,\n) {\n if (Array.isArray(obj)) {\n return obj.map(node => cloneIfNode(node, deep, withoutLoc, commentsCache));\n }\n return cloneIfNode(obj, deep, withoutLoc, commentsCache);\n}\n\n/**\n * Create a clone of a `node` including only properties belonging to the node.\n * If the second parameter is `false`, cloneNode performs a shallow clone.\n * If the third parameter is true, the cloned nodes exclude location properties.\n */\nexport default function cloneNode<T extends t.Node>(\n node: T,\n deep: boolean = true,\n withoutLoc: boolean = false,\n): T {\n return cloneNodeInternal(node, deep, withoutLoc, new Map());\n}\n\nfunction cloneNodeInternal<T extends t.Node>(\n node: T,\n deep: boolean = true,\n withoutLoc: boolean = false,\n commentsCache: CommentCache,\n): T {\n if (!node) return node;\n\n const { type } = node;\n const newNode: any = { type: node.type };\n\n // Special-case identifiers since they are the most cloned nodes.\n if (isIdentifier(node)) {\n newNode.name = node.name;\n\n if (hasOwn(node, \"optional\") && typeof node.optional === \"boolean\") {\n newNode.optional = node.optional;\n }\n\n if (hasOwn(node, \"typeAnnotation\")) {\n newNode.typeAnnotation = deep\n ? cloneIfNodeOrArray(\n node.typeAnnotation,\n true,\n withoutLoc,\n commentsCache,\n )\n : node.typeAnnotation;\n }\n\n if (hasOwn(node, \"decorators\")) {\n newNode.decorators = deep\n ? cloneIfNodeOrArray(node.decorators, true, withoutLoc, commentsCache)\n : node.decorators;\n }\n } else if (!hasOwn(NODE_FIELDS, type)) {\n throw new Error(`Unknown node type: \"${type}\"`);\n } else {\n for (const field of Object.keys(NODE_FIELDS[type])) {\n if (hasOwn(node, field)) {\n if (deep) {\n newNode[field] =\n isFile(node) && field === \"comments\"\n ? maybeCloneComments(\n node.comments,\n deep,\n withoutLoc,\n commentsCache,\n )\n : cloneIfNodeOrArray(\n // @ts-expect-error node[field] has been guarded by has check\n node[field],\n true,\n withoutLoc,\n commentsCache,\n );\n } else {\n newNode[field] =\n // @ts-expect-error node[field] has been guarded by has check\n node[field];\n }\n }\n }\n }\n\n if (hasOwn(node, \"loc\")) {\n if (withoutLoc) {\n newNode.loc = null;\n } else {\n newNode.loc = node.loc;\n }\n }\n if (hasOwn(node, \"leadingComments\")) {\n newNode.leadingComments = maybeCloneComments(\n node.leadingComments,\n deep,\n withoutLoc,\n commentsCache,\n );\n }\n if (hasOwn(node, \"innerComments\")) {\n newNode.innerComments = maybeCloneComments(\n node.innerComments,\n deep,\n withoutLoc,\n commentsCache,\n );\n }\n if (hasOwn(node, \"trailingComments\")) {\n newNode.trailingComments = maybeCloneComments(\n node.trailingComments,\n deep,\n withoutLoc,\n commentsCache,\n );\n }\n if (hasOwn(node, \"extra\")) {\n newNode.extra = {\n ...node.extra,\n };\n }\n\n return newNode;\n}\n\nfunction maybeCloneComments<T extends t.Comment>(\n comments: readonly T[] | null,\n deep: boolean,\n withoutLoc: boolean,\n commentsCache: Map<T, T>,\n): readonly T[] | null {\n if (!comments || !deep) {\n return comments;\n }\n return comments.map(comment => {\n const cache = commentsCache.get(comment);\n if (cache) return cache;\n\n const { type, value, loc } = comment;\n\n const ret = { type, value, loc } as T;\n if (withoutLoc) {\n ret.loc = null;\n }\n\n commentsCache.set(comment, ret);\n\n return ret;\n });\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = cloneWithoutLoc;
7
+ var _cloneNode = require("./cloneNode.js");
8
+ function cloneWithoutLoc(node) {
9
+ return (0, _cloneNode.default)(node, false, true);
10
+ }
11
+
12
+ //# sourceMappingURL=cloneWithoutLoc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_cloneNode","require","cloneWithoutLoc","node","cloneNode"],"sources":["../../src/clone/cloneWithoutLoc.ts"],"sourcesContent":["import cloneNode from \"./cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Create a shallow clone of a `node` excluding `_private` and location properties.\n */\nexport default function cloneWithoutLoc<T extends t.Node>(node: T): T {\n return cloneNode(node, /* deep */ false, /* withoutLoc */ true);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAMe,SAASC,eAAeA,CAAmBC,IAAO,EAAK;EACpE,OAAO,IAAAC,kBAAS,EAACD,IAAI,EAAa,KAAK,EAAmB,IAAI,CAAC;AACjE","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = addComment;
7
+ var _addComments = require("./addComments.js");
8
+ function addComment(node, type, content, line) {
9
+ return (0, _addComments.default)(node, type, [{
10
+ type: line ? "CommentLine" : "CommentBlock",
11
+ value: content
12
+ }]);
13
+ }
14
+
15
+ //# sourceMappingURL=addComment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_addComments","require","addComment","node","type","content","line","addComments","value"],"sources":["../../src/comments/addComment.ts"],"sourcesContent":["import addComments from \"./addComments.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Add comment of certain type to a node.\n */\nexport default function addComment<T extends t.Node>(\n node: T,\n type: t.CommentTypeShorthand,\n content: string,\n line?: boolean,\n): T {\n return addComments(node, type, [\n {\n type: line ? \"CommentLine\" : \"CommentBlock\",\n value: content,\n } as t.Comment,\n ]);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMe,SAASC,UAAUA,CAChCC,IAAO,EACPC,IAA4B,EAC5BC,OAAe,EACfC,IAAc,EACX;EACH,OAAO,IAAAC,oBAAW,EAACJ,IAAI,EAAEC,IAAI,EAAE,CAC7B;IACEA,IAAI,EAAEE,IAAI,GAAG,aAAa,GAAG,cAAc;IAC3CE,KAAK,EAAEH;EACT,CAAC,CACF,CAAC;AACJ","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = addComments;
7
+ function addComments(node, type, comments) {
8
+ if (!comments || !node) return node;
9
+ const key = `${type}Comments`;
10
+ if (node[key]) {
11
+ if (type === "leading") {
12
+ node[key] = comments.concat(node[key]);
13
+ } else {
14
+ node[key].push(...comments);
15
+ }
16
+ } else {
17
+ node[key] = comments;
18
+ }
19
+ return node;
20
+ }
21
+
22
+ //# sourceMappingURL=addComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["addComments","node","type","comments","key","concat","push"],"sources":["../../src/comments/addComments.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\n/**\n * Add comments of certain type to a node.\n */\nexport default function addComments<T extends t.Node>(\n node: T,\n type: t.CommentTypeShorthand,\n comments: t.Comment[],\n): T {\n if (!comments || !node) return node;\n\n const key = `${type}Comments` as const;\n\n if (node[key]) {\n if (type === \"leading\") {\n node[key] = comments.concat(node[key]);\n } else {\n node[key].push(...comments);\n }\n } else {\n node[key] = comments;\n }\n\n return node;\n}\n"],"mappings":";;;;;;AAKe,SAASA,WAAWA,CACjCC,IAAO,EACPC,IAA4B,EAC5BC,QAAqB,EAClB;EACH,IAAI,CAACA,QAAQ,IAAI,CAACF,IAAI,EAAE,OAAOA,IAAI;EAEnC,MAAMG,GAAG,GAAG,GAAGF,IAAI,UAAmB;EAEtC,IAAID,IAAI,CAACG,GAAG,CAAC,EAAE;IACb,IAAIF,IAAI,KAAK,SAAS,EAAE;MACtBD,IAAI,CAACG,GAAG,CAAC,GAAGD,QAAQ,CAACE,MAAM,CAACJ,IAAI,CAACG,GAAG,CAAC,CAAC;IACxC,CAAC,MAAM;MACLH,IAAI,CAACG,GAAG,CAAC,CAACE,IAAI,CAAC,GAAGH,QAAQ,CAAC;IAC7B;EACF,CAAC,MAAM;IACLF,IAAI,CAACG,GAAG,CAAC,GAAGD,QAAQ;EACtB;EAEA,OAAOF,IAAI;AACb","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = inheritInnerComments;
7
+ var _inherit = require("../utils/inherit.js");
8
+ function inheritInnerComments(child, parent) {
9
+ (0, _inherit.default)("innerComments", child, parent);
10
+ }
11
+
12
+ //# sourceMappingURL=inheritInnerComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_inherit","require","inheritInnerComments","child","parent","inherit"],"sources":["../../src/comments/inheritInnerComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritInnerComments(\n child: t.Node,\n parent: t.Node,\n): void {\n inherit(\"innerComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,oBAAoBA,CAC1CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,eAAe,EAAEF,KAAK,EAAEC,MAAM,CAAC;AACzC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = inheritLeadingComments;
7
+ var _inherit = require("../utils/inherit.js");
8
+ function inheritLeadingComments(child, parent) {
9
+ (0, _inherit.default)("leadingComments", child, parent);
10
+ }
11
+
12
+ //# sourceMappingURL=inheritLeadingComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_inherit","require","inheritLeadingComments","child","parent","inherit"],"sources":["../../src/comments/inheritLeadingComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritLeadingComments(\n child: t.Node,\n parent: t.Node,\n): void {\n inherit(\"leadingComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,sBAAsBA,CAC5CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,iBAAiB,EAAEF,KAAK,EAAEC,MAAM,CAAC;AAC3C","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = inheritTrailingComments;
7
+ var _inherit = require("../utils/inherit.js");
8
+ function inheritTrailingComments(child, parent) {
9
+ (0, _inherit.default)("trailingComments", child, parent);
10
+ }
11
+
12
+ //# sourceMappingURL=inheritTrailingComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_inherit","require","inheritTrailingComments","child","parent","inherit"],"sources":["../../src/comments/inheritTrailingComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritTrailingComments(\n child: t.Node,\n parent: t.Node,\n): void {\n inherit(\"trailingComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,uBAAuBA,CAC7CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,kBAAkB,EAAEF,KAAK,EAAEC,MAAM,CAAC;AAC5C","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = inheritsComments;
7
+ var _inheritTrailingComments = require("./inheritTrailingComments.js");
8
+ var _inheritLeadingComments = require("./inheritLeadingComments.js");
9
+ var _inheritInnerComments = require("./inheritInnerComments.js");
10
+ function inheritsComments(child, parent) {
11
+ (0, _inheritTrailingComments.default)(child, parent);
12
+ (0, _inheritLeadingComments.default)(child, parent);
13
+ (0, _inheritInnerComments.default)(child, parent);
14
+ return child;
15
+ }
16
+
17
+ //# sourceMappingURL=inheritsComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_inheritTrailingComments","require","_inheritLeadingComments","_inheritInnerComments","inheritsComments","child","parent","inheritTrailingComments","inheritLeadingComments","inheritInnerComments"],"sources":["../../src/comments/inheritsComments.ts"],"sourcesContent":["import inheritTrailingComments from \"./inheritTrailingComments.ts\";\nimport inheritLeadingComments from \"./inheritLeadingComments.ts\";\nimport inheritInnerComments from \"./inheritInnerComments.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Inherit all unique comments from `parent` node to `child` node.\n */\nexport default function inheritsComments<T extends t.Node>(\n child: T,\n parent: t.Node,\n): T {\n inheritTrailingComments(child, parent);\n inheritLeadingComments(child, parent);\n inheritInnerComments(child, parent);\n\n return child;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAMe,SAASG,gBAAgBA,CACtCC,KAAQ,EACRC,MAAc,EACX;EACH,IAAAC,gCAAuB,EAACF,KAAK,EAAEC,MAAM,CAAC;EACtC,IAAAE,+BAAsB,EAACH,KAAK,EAAEC,MAAM,CAAC;EACrC,IAAAG,6BAAoB,EAACJ,KAAK,EAAEC,MAAM,CAAC;EAEnC,OAAOD,KAAK;AACd","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = removeComments;
7
+ var _index = require("../constants/index.js");
8
+ function removeComments(node) {
9
+ _index.COMMENT_KEYS.forEach(key => {
10
+ node[key] = null;
11
+ });
12
+ return node;
13
+ }
14
+
15
+ //# sourceMappingURL=removeComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","removeComments","node","COMMENT_KEYS","forEach","key"],"sources":["../../src/comments/removeComments.ts"],"sourcesContent":["import { COMMENT_KEYS } from \"../constants/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Remove comment properties from a node.\n */\nexport default function removeComments<T extends t.Node>(node: T): T {\n COMMENT_KEYS.forEach(key => {\n node[key] = null;\n });\n\n return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMe,SAASC,cAAcA,CAAmBC,IAAO,EAAK;EACnEC,mBAAY,CAACC,OAAO,CAACC,GAAG,IAAI;IAC1BH,IAAI,CAACG,GAAG,CAAC,GAAG,IAAI;EAClB,CAAC,CAAC;EAEF,OAAOH,IAAI;AACb","ignoreList":[]}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.WHILE_TYPES = exports.USERWHITESPACABLE_TYPES = exports.UNARYLIKE_TYPES = exports.TYPESCRIPT_TYPES = exports.TSTYPE_TYPES = exports.TSTYPEELEMENT_TYPES = exports.TSENTITYNAME_TYPES = exports.TSBASETYPE_TYPES = exports.TERMINATORLESS_TYPES = exports.STATEMENT_TYPES = exports.STANDARDIZED_TYPES = exports.SCOPABLE_TYPES = exports.PUREISH_TYPES = exports.PROPERTY_TYPES = exports.PRIVATE_TYPES = exports.PATTERN_TYPES = exports.PATTERNLIKE_TYPES = exports.OBJECTMEMBER_TYPES = exports.MODULESPECIFIER_TYPES = exports.MODULEDECLARATION_TYPES = exports.MISCELLANEOUS_TYPES = exports.METHOD_TYPES = exports.LVAL_TYPES = exports.LOOP_TYPES = exports.LITERAL_TYPES = exports.JSX_TYPES = exports.IMPORTOREXPORTDECLARATION_TYPES = exports.IMMUTABLE_TYPES = exports.FUNCTION_TYPES = exports.FUNCTIONPARENT_TYPES = exports.FUNCTIONPARAMETER_TYPES = exports.FOR_TYPES = exports.FORXSTATEMENT_TYPES = exports.FLOW_TYPES = exports.FLOWTYPE_TYPES = exports.FLOWPREDICATE_TYPES = exports.FLOWDECLARATION_TYPES = exports.FLOWBASEANNOTATION_TYPES = exports.EXPRESSION_TYPES = exports.EXPRESSIONWRAPPER_TYPES = exports.EXPORTDECLARATION_TYPES = exports.ENUMMEMBER_TYPES = exports.ENUMBODY_TYPES = exports.DECLARATION_TYPES = exports.CONDITIONAL_TYPES = exports.COMPLETIONSTATEMENT_TYPES = exports.CLASS_TYPES = exports.BLOCK_TYPES = exports.BLOCKPARENT_TYPES = exports.BINARY_TYPES = exports.ACCESSOR_TYPES = void 0;
7
+ var _index = require("../../definitions/index.js");
8
+ const STANDARDIZED_TYPES = exports.STANDARDIZED_TYPES = _index.FLIPPED_ALIAS_KEYS["Standardized"];
9
+ const EXPRESSION_TYPES = exports.EXPRESSION_TYPES = _index.FLIPPED_ALIAS_KEYS["Expression"];
10
+ const BINARY_TYPES = exports.BINARY_TYPES = _index.FLIPPED_ALIAS_KEYS["Binary"];
11
+ const SCOPABLE_TYPES = exports.SCOPABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["Scopable"];
12
+ const BLOCKPARENT_TYPES = exports.BLOCKPARENT_TYPES = _index.FLIPPED_ALIAS_KEYS["BlockParent"];
13
+ const BLOCK_TYPES = exports.BLOCK_TYPES = _index.FLIPPED_ALIAS_KEYS["Block"];
14
+ const STATEMENT_TYPES = exports.STATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["Statement"];
15
+ const TERMINATORLESS_TYPES = exports.TERMINATORLESS_TYPES = _index.FLIPPED_ALIAS_KEYS["Terminatorless"];
16
+ const COMPLETIONSTATEMENT_TYPES = exports.COMPLETIONSTATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["CompletionStatement"];
17
+ const CONDITIONAL_TYPES = exports.CONDITIONAL_TYPES = _index.FLIPPED_ALIAS_KEYS["Conditional"];
18
+ const LOOP_TYPES = exports.LOOP_TYPES = _index.FLIPPED_ALIAS_KEYS["Loop"];
19
+ const WHILE_TYPES = exports.WHILE_TYPES = _index.FLIPPED_ALIAS_KEYS["While"];
20
+ const EXPRESSIONWRAPPER_TYPES = exports.EXPRESSIONWRAPPER_TYPES = _index.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];
21
+ const FOR_TYPES = exports.FOR_TYPES = _index.FLIPPED_ALIAS_KEYS["For"];
22
+ const FORXSTATEMENT_TYPES = exports.FORXSTATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["ForXStatement"];
23
+ const FUNCTION_TYPES = exports.FUNCTION_TYPES = _index.FLIPPED_ALIAS_KEYS["Function"];
24
+ const FUNCTIONPARENT_TYPES = exports.FUNCTIONPARENT_TYPES = _index.FLIPPED_ALIAS_KEYS["FunctionParent"];
25
+ const PUREISH_TYPES = exports.PUREISH_TYPES = _index.FLIPPED_ALIAS_KEYS["Pureish"];
26
+ const DECLARATION_TYPES = exports.DECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["Declaration"];
27
+ const FUNCTIONPARAMETER_TYPES = exports.FUNCTIONPARAMETER_TYPES = _index.FLIPPED_ALIAS_KEYS["FunctionParameter"];
28
+ const PATTERNLIKE_TYPES = exports.PATTERNLIKE_TYPES = _index.FLIPPED_ALIAS_KEYS["PatternLike"];
29
+ const LVAL_TYPES = exports.LVAL_TYPES = _index.FLIPPED_ALIAS_KEYS["LVal"];
30
+ const TSENTITYNAME_TYPES = exports.TSENTITYNAME_TYPES = _index.FLIPPED_ALIAS_KEYS["TSEntityName"];
31
+ const LITERAL_TYPES = exports.LITERAL_TYPES = _index.FLIPPED_ALIAS_KEYS["Literal"];
32
+ const IMMUTABLE_TYPES = exports.IMMUTABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["Immutable"];
33
+ const USERWHITESPACABLE_TYPES = exports.USERWHITESPACABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["UserWhitespacable"];
34
+ const METHOD_TYPES = exports.METHOD_TYPES = _index.FLIPPED_ALIAS_KEYS["Method"];
35
+ const OBJECTMEMBER_TYPES = exports.OBJECTMEMBER_TYPES = _index.FLIPPED_ALIAS_KEYS["ObjectMember"];
36
+ const PROPERTY_TYPES = exports.PROPERTY_TYPES = _index.FLIPPED_ALIAS_KEYS["Property"];
37
+ const UNARYLIKE_TYPES = exports.UNARYLIKE_TYPES = _index.FLIPPED_ALIAS_KEYS["UnaryLike"];
38
+ const PATTERN_TYPES = exports.PATTERN_TYPES = _index.FLIPPED_ALIAS_KEYS["Pattern"];
39
+ const CLASS_TYPES = exports.CLASS_TYPES = _index.FLIPPED_ALIAS_KEYS["Class"];
40
+ const IMPORTOREXPORTDECLARATION_TYPES = exports.IMPORTOREXPORTDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["ImportOrExportDeclaration"];
41
+ const EXPORTDECLARATION_TYPES = exports.EXPORTDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["ExportDeclaration"];
42
+ const MODULESPECIFIER_TYPES = exports.MODULESPECIFIER_TYPES = _index.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];
43
+ const ACCESSOR_TYPES = exports.ACCESSOR_TYPES = _index.FLIPPED_ALIAS_KEYS["Accessor"];
44
+ const PRIVATE_TYPES = exports.PRIVATE_TYPES = _index.FLIPPED_ALIAS_KEYS["Private"];
45
+ const FLOW_TYPES = exports.FLOW_TYPES = _index.FLIPPED_ALIAS_KEYS["Flow"];
46
+ const FLOWTYPE_TYPES = exports.FLOWTYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowType"];
47
+ const FLOWBASEANNOTATION_TYPES = exports.FLOWBASEANNOTATION_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];
48
+ const FLOWDECLARATION_TYPES = exports.FLOWDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowDeclaration"];
49
+ const FLOWPREDICATE_TYPES = exports.FLOWPREDICATE_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowPredicate"];
50
+ const ENUMBODY_TYPES = exports.ENUMBODY_TYPES = _index.FLIPPED_ALIAS_KEYS["EnumBody"];
51
+ const ENUMMEMBER_TYPES = exports.ENUMMEMBER_TYPES = _index.FLIPPED_ALIAS_KEYS["EnumMember"];
52
+ const JSX_TYPES = exports.JSX_TYPES = _index.FLIPPED_ALIAS_KEYS["JSX"];
53
+ const MISCELLANEOUS_TYPES = exports.MISCELLANEOUS_TYPES = _index.FLIPPED_ALIAS_KEYS["Miscellaneous"];
54
+ const TYPESCRIPT_TYPES = exports.TYPESCRIPT_TYPES = _index.FLIPPED_ALIAS_KEYS["TypeScript"];
55
+ const TSTYPEELEMENT_TYPES = exports.TSTYPEELEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["TSTypeElement"];
56
+ const TSTYPE_TYPES = exports.TSTYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["TSType"];
57
+ const TSBASETYPE_TYPES = exports.TSBASETYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["TSBaseType"];
58
+ const MODULEDECLARATION_TYPES = exports.MODULEDECLARATION_TYPES = IMPORTOREXPORTDECLARATION_TYPES;
59
+
60
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","STANDARDIZED_TYPES","exports","FLIPPED_ALIAS_KEYS","EXPRESSION_TYPES","BINARY_TYPES","SCOPABLE_TYPES","BLOCKPARENT_TYPES","BLOCK_TYPES","STATEMENT_TYPES","TERMINATORLESS_TYPES","COMPLETIONSTATEMENT_TYPES","CONDITIONAL_TYPES","LOOP_TYPES","WHILE_TYPES","EXPRESSIONWRAPPER_TYPES","FOR_TYPES","FORXSTATEMENT_TYPES","FUNCTION_TYPES","FUNCTIONPARENT_TYPES","PUREISH_TYPES","DECLARATION_TYPES","FUNCTIONPARAMETER_TYPES","PATTERNLIKE_TYPES","LVAL_TYPES","TSENTITYNAME_TYPES","LITERAL_TYPES","IMMUTABLE_TYPES","USERWHITESPACABLE_TYPES","METHOD_TYPES","OBJECTMEMBER_TYPES","PROPERTY_TYPES","UNARYLIKE_TYPES","PATTERN_TYPES","CLASS_TYPES","IMPORTOREXPORTDECLARATION_TYPES","EXPORTDECLARATION_TYPES","MODULESPECIFIER_TYPES","ACCESSOR_TYPES","PRIVATE_TYPES","FLOW_TYPES","FLOWTYPE_TYPES","FLOWBASEANNOTATION_TYPES","FLOWDECLARATION_TYPES","FLOWPREDICATE_TYPES","ENUMBODY_TYPES","ENUMMEMBER_TYPES","JSX_TYPES","MISCELLANEOUS_TYPES","TYPESCRIPT_TYPES","TSTYPEELEMENT_TYPES","TSTYPE_TYPES","TSBASETYPE_TYPES","MODULEDECLARATION_TYPES"],"sources":["../../../src/constants/generated/index.ts"],"sourcesContent":["/*\n * This file is auto-generated! Do not modify it directly.\n * To re-generate run 'make build'\n */\nimport { FLIPPED_ALIAS_KEYS } from \"../../definitions/index.ts\";\n\nexport const STANDARDIZED_TYPES = FLIPPED_ALIAS_KEYS[\"Standardized\"];\nexport const EXPRESSION_TYPES = FLIPPED_ALIAS_KEYS[\"Expression\"];\nexport const BINARY_TYPES = FLIPPED_ALIAS_KEYS[\"Binary\"];\nexport const SCOPABLE_TYPES = FLIPPED_ALIAS_KEYS[\"Scopable\"];\nexport const BLOCKPARENT_TYPES = FLIPPED_ALIAS_KEYS[\"BlockParent\"];\nexport const BLOCK_TYPES = FLIPPED_ALIAS_KEYS[\"Block\"];\nexport const STATEMENT_TYPES = FLIPPED_ALIAS_KEYS[\"Statement\"];\nexport const TERMINATORLESS_TYPES = FLIPPED_ALIAS_KEYS[\"Terminatorless\"];\nexport const COMPLETIONSTATEMENT_TYPES =\n FLIPPED_ALIAS_KEYS[\"CompletionStatement\"];\nexport const CONDITIONAL_TYPES = FLIPPED_ALIAS_KEYS[\"Conditional\"];\nexport const LOOP_TYPES = FLIPPED_ALIAS_KEYS[\"Loop\"];\nexport const WHILE_TYPES = FLIPPED_ALIAS_KEYS[\"While\"];\nexport const EXPRESSIONWRAPPER_TYPES = FLIPPED_ALIAS_KEYS[\"ExpressionWrapper\"];\nexport const FOR_TYPES = FLIPPED_ALIAS_KEYS[\"For\"];\nexport const FORXSTATEMENT_TYPES = FLIPPED_ALIAS_KEYS[\"ForXStatement\"];\nexport const FUNCTION_TYPES = FLIPPED_ALIAS_KEYS[\"Function\"];\nexport const FUNCTIONPARENT_TYPES = FLIPPED_ALIAS_KEYS[\"FunctionParent\"];\nexport const PUREISH_TYPES = FLIPPED_ALIAS_KEYS[\"Pureish\"];\nexport const DECLARATION_TYPES = FLIPPED_ALIAS_KEYS[\"Declaration\"];\nexport const FUNCTIONPARAMETER_TYPES = FLIPPED_ALIAS_KEYS[\"FunctionParameter\"];\nexport const PATTERNLIKE_TYPES = FLIPPED_ALIAS_KEYS[\"PatternLike\"];\nexport const LVAL_TYPES = FLIPPED_ALIAS_KEYS[\"LVal\"];\nexport const TSENTITYNAME_TYPES = FLIPPED_ALIAS_KEYS[\"TSEntityName\"];\nexport const LITERAL_TYPES = FLIPPED_ALIAS_KEYS[\"Literal\"];\nexport const IMMUTABLE_TYPES = FLIPPED_ALIAS_KEYS[\"Immutable\"];\nexport const USERWHITESPACABLE_TYPES = FLIPPED_ALIAS_KEYS[\"UserWhitespacable\"];\nexport const METHOD_TYPES = FLIPPED_ALIAS_KEYS[\"Method\"];\nexport const OBJECTMEMBER_TYPES = FLIPPED_ALIAS_KEYS[\"ObjectMember\"];\nexport const PROPERTY_TYPES = FLIPPED_ALIAS_KEYS[\"Property\"];\nexport const UNARYLIKE_TYPES = FLIPPED_ALIAS_KEYS[\"UnaryLike\"];\nexport const PATTERN_TYPES = FLIPPED_ALIAS_KEYS[\"Pattern\"];\nexport const CLASS_TYPES = FLIPPED_ALIAS_KEYS[\"Class\"];\nexport const IMPORTOREXPORTDECLARATION_TYPES =\n FLIPPED_ALIAS_KEYS[\"ImportOrExportDeclaration\"];\nexport const EXPORTDECLARATION_TYPES = FLIPPED_ALIAS_KEYS[\"ExportDeclaration\"];\nexport const MODULESPECIFIER_TYPES = FLIPPED_ALIAS_KEYS[\"ModuleSpecifier\"];\nexport const ACCESSOR_TYPES = FLIPPED_ALIAS_KEYS[\"Accessor\"];\nexport const PRIVATE_TYPES = FLIPPED_ALIAS_KEYS[\"Private\"];\nexport const FLOW_TYPES = FLIPPED_ALIAS_KEYS[\"Flow\"];\nexport const FLOWTYPE_TYPES = FLIPPED_ALIAS_KEYS[\"FlowType\"];\nexport const FLOWBASEANNOTATION_TYPES =\n FLIPPED_ALIAS_KEYS[\"FlowBaseAnnotation\"];\nexport const FLOWDECLARATION_TYPES = FLIPPED_ALIAS_KEYS[\"FlowDeclaration\"];\nexport const FLOWPREDICATE_TYPES = FLIPPED_ALIAS_KEYS[\"FlowPredicate\"];\nexport const ENUMBODY_TYPES = FLIPPED_ALIAS_KEYS[\"EnumBody\"];\nexport const ENUMMEMBER_TYPES = FLIPPED_ALIAS_KEYS[\"EnumMember\"];\nexport const JSX_TYPES = FLIPPED_ALIAS_KEYS[\"JSX\"];\nexport const MISCELLANEOUS_TYPES = FLIPPED_ALIAS_KEYS[\"Miscellaneous\"];\nexport const TYPESCRIPT_TYPES = FLIPPED_ALIAS_KEYS[\"TypeScript\"];\nexport const TSTYPEELEMENT_TYPES = FLIPPED_ALIAS_KEYS[\"TSTypeElement\"];\nexport const TSTYPE_TYPES = FLIPPED_ALIAS_KEYS[\"TSType\"];\nexport const TSBASETYPE_TYPES = FLIPPED_ALIAS_KEYS[\"TSBaseType\"];\n/**\n * @deprecated migrate to IMPORTOREXPORTDECLARATION_TYPES.\n */\nexport const MODULEDECLARATION_TYPES = IMPORTOREXPORTDECLARATION_TYPES;\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UPDATE_OPERATORS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.STATEMENT_OR_BLOCK_KEYS = exports.NUMBER_UNARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.LOGICAL_OPERATORS = exports.INHERIT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.EQUALITY_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = exports.COMMENT_KEYS = exports.BOOLEAN_UNARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = exports.BINARY_OPERATORS = exports.ASSIGNMENT_OPERATORS = void 0;
7
+ const STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
8
+ const FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = ["body", "expressions"];
9
+ const FOR_INIT_KEYS = exports.FOR_INIT_KEYS = ["left", "init"];
10
+ const COMMENT_KEYS = exports.COMMENT_KEYS = ["leadingComments", "trailingComments", "innerComments"];
11
+ const LOGICAL_OPERATORS = exports.LOGICAL_OPERATORS = ["||", "&&", "??"];
12
+ const UPDATE_OPERATORS = exports.UPDATE_OPERATORS = ["++", "--"];
13
+ const BOOLEAN_NUMBER_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = [">", "<", ">=", "<="];
14
+ const EQUALITY_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = ["==", "===", "!=", "!=="];
15
+ const COMPARISON_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = [...EQUALITY_BINARY_OPERATORS, "in", "instanceof"];
16
+ const BOOLEAN_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = [...COMPARISON_BINARY_OPERATORS, ...BOOLEAN_NUMBER_BINARY_OPERATORS];
17
+ const NUMBER_BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = ["-", "/", "%", "*", "**", "&", "|", ">>", ">>>", "<<", "^"];
18
+ const BINARY_OPERATORS = exports.BINARY_OPERATORS = ["+", ...NUMBER_BINARY_OPERATORS, ...BOOLEAN_BINARY_OPERATORS, "|>"];
19
+ const ASSIGNMENT_OPERATORS = exports.ASSIGNMENT_OPERATORS = ["=", "+=", ...NUMBER_BINARY_OPERATORS.map(op => op + "="), ...LOGICAL_OPERATORS.map(op => op + "=")];
20
+ const BOOLEAN_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = ["delete", "!"];
21
+ const NUMBER_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = ["+", "-", "~"];
22
+ const STRING_UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = ["typeof"];
23
+ const UNARY_OPERATORS = exports.UNARY_OPERATORS = ["void", "throw", ...BOOLEAN_UNARY_OPERATORS, ...NUMBER_UNARY_OPERATORS, ...STRING_UNARY_OPERATORS];
24
+ const INHERIT_KEYS = exports.INHERIT_KEYS = {
25
+ optional: ["typeAnnotation", "typeParameters", "returnType"],
26
+ force: ["start", "loc", "end"]
27
+ };
28
+ exports.BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped");
29
+ exports.NOT_LOCAL_BINDING = Symbol.for("should not be considered a local binding");
30
+
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["STATEMENT_OR_BLOCK_KEYS","exports","FLATTENABLE_KEYS","FOR_INIT_KEYS","COMMENT_KEYS","LOGICAL_OPERATORS","UPDATE_OPERATORS","BOOLEAN_NUMBER_BINARY_OPERATORS","EQUALITY_BINARY_OPERATORS","COMPARISON_BINARY_OPERATORS","BOOLEAN_BINARY_OPERATORS","NUMBER_BINARY_OPERATORS","BINARY_OPERATORS","ASSIGNMENT_OPERATORS","map","op","BOOLEAN_UNARY_OPERATORS","NUMBER_UNARY_OPERATORS","STRING_UNARY_OPERATORS","UNARY_OPERATORS","INHERIT_KEYS","optional","force","BLOCK_SCOPED_SYMBOL","Symbol","for","NOT_LOCAL_BINDING"],"sources":["../../src/constants/index.ts"],"sourcesContent":["export const STATEMENT_OR_BLOCK_KEYS = [\"consequent\", \"body\", \"alternate\"];\nexport const FLATTENABLE_KEYS = [\"body\", \"expressions\"];\nexport const FOR_INIT_KEYS = [\"left\", \"init\"];\nexport const COMMENT_KEYS = [\n \"leadingComments\",\n \"trailingComments\",\n \"innerComments\",\n] as const;\n\nexport const LOGICAL_OPERATORS = [\"||\", \"&&\", \"??\"];\nexport const UPDATE_OPERATORS = [\"++\", \"--\"];\n\nexport const BOOLEAN_NUMBER_BINARY_OPERATORS = [\">\", \"<\", \">=\", \"<=\"];\nexport const EQUALITY_BINARY_OPERATORS = [\"==\", \"===\", \"!=\", \"!==\"];\nexport const COMPARISON_BINARY_OPERATORS = [\n ...EQUALITY_BINARY_OPERATORS,\n \"in\",\n \"instanceof\",\n];\nexport const BOOLEAN_BINARY_OPERATORS = [\n ...COMPARISON_BINARY_OPERATORS,\n ...BOOLEAN_NUMBER_BINARY_OPERATORS,\n];\nexport const NUMBER_BINARY_OPERATORS = [\n \"-\",\n \"/\",\n \"%\",\n \"*\",\n \"**\",\n \"&\",\n \"|\",\n \">>\",\n \">>>\",\n \"<<\",\n \"^\",\n];\nexport const BINARY_OPERATORS = [\n \"+\",\n ...NUMBER_BINARY_OPERATORS,\n ...BOOLEAN_BINARY_OPERATORS,\n \"|>\",\n];\n\nexport const ASSIGNMENT_OPERATORS = [\n \"=\",\n \"+=\",\n ...NUMBER_BINARY_OPERATORS.map(op => op + \"=\"),\n ...LOGICAL_OPERATORS.map(op => op + \"=\"),\n];\n\nexport const BOOLEAN_UNARY_OPERATORS = [\"delete\", \"!\"];\nexport const NUMBER_UNARY_OPERATORS = [\"+\", \"-\", \"~\"];\nexport const STRING_UNARY_OPERATORS = [\"typeof\"];\nexport const UNARY_OPERATORS = [\n \"void\",\n \"throw\",\n ...BOOLEAN_UNARY_OPERATORS,\n ...NUMBER_UNARY_OPERATORS,\n ...STRING_UNARY_OPERATORS,\n];\n\nexport const INHERIT_KEYS = {\n optional: [\"typeAnnotation\", \"typeParameters\", \"returnType\"],\n force: [\"start\", \"loc\", \"end\"],\n} as const;\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n // eslint-disable-next-line no-restricted-globals\n exports.BLOCK_SCOPED_SYMBOL = Symbol.for(\"var used to be block scoped\");\n // eslint-disable-next-line no-restricted-globals\n exports.NOT_LOCAL_BINDING = Symbol.for(\n \"should not be considered a local binding\",\n );\n}\n"],"mappings":";;;;;;AAAO,MAAMA,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC;AACnE,MAAME,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC;AAChD,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;AACtC,MAAMC,YAAY,GAAAH,OAAA,CAAAG,YAAA,GAAG,CAC1B,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,CACP;AAEH,MAAMC,iBAAiB,GAAAJ,OAAA,CAAAI,iBAAA,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5C,MAAMC,gBAAgB,GAAAL,OAAA,CAAAK,gBAAA,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC;AAErC,MAAMC,+BAA+B,GAAAN,OAAA,CAAAM,+BAAA,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC;AAC9D,MAAMC,yBAAyB,GAAAP,OAAA,CAAAO,yBAAA,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC;AAC5D,MAAMC,2BAA2B,GAAAR,OAAA,CAAAQ,2BAAA,GAAG,CACzC,GAAGD,yBAAyB,EAC5B,IAAI,EACJ,YAAY,CACb;AACM,MAAME,wBAAwB,GAAAT,OAAA,CAAAS,wBAAA,GAAG,CACtC,GAAGD,2BAA2B,EAC9B,GAAGF,+BAA+B,CACnC;AACM,MAAMI,uBAAuB,GAAAV,OAAA,CAAAU,uBAAA,GAAG,CACrC,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,GAAG,CACJ;AACM,MAAMC,gBAAgB,GAAAX,OAAA,CAAAW,gBAAA,GAAG,CAC9B,GAAG,EACH,GAAGD,uBAAuB,EAC1B,GAAGD,wBAAwB,EAC3B,IAAI,CACL;AAEM,MAAMG,oBAAoB,GAAAZ,OAAA,CAAAY,oBAAA,GAAG,CAClC,GAAG,EACH,IAAI,EACJ,GAAGF,uBAAuB,CAACG,GAAG,CAACC,EAAE,IAAIA,EAAE,GAAG,GAAG,CAAC,EAC9C,GAAGV,iBAAiB,CAACS,GAAG,CAACC,EAAE,IAAIA,EAAE,GAAG,GAAG,CAAC,CACzC;AAEM,MAAMC,uBAAuB,GAAAf,OAAA,CAAAe,uBAAA,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC;AAC/C,MAAMC,sBAAsB,GAAAhB,OAAA,CAAAgB,sBAAA,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AAC9C,MAAMC,sBAAsB,GAAAjB,OAAA,CAAAiB,sBAAA,GAAG,CAAC,QAAQ,CAAC;AACzC,MAAMC,eAAe,GAAAlB,OAAA,CAAAkB,eAAA,GAAG,CAC7B,MAAM,EACN,OAAO,EACP,GAAGH,uBAAuB,EAC1B,GAAGC,sBAAsB,EACzB,GAAGC,sBAAsB,CAC1B;AAEM,MAAME,YAAY,GAAAnB,OAAA,CAAAmB,YAAA,GAAG;EAC1BC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,CAAC;EAC5DC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK;AAC/B,CAAU;AAIRrB,OAAO,CAACsB,mBAAmB,GAAGC,MAAM,CAACC,GAAG,CAAC,6BAA6B,CAAC;AAEvExB,OAAO,CAACyB,iBAAiB,GAAGF,MAAM,CAACC,GAAG,CACpC,0CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = ensureBlock;
7
+ var _toBlock = require("./toBlock.js");
8
+ function ensureBlock(node, key = "body") {
9
+ const result = (0, _toBlock.default)(node[key], node);
10
+ node[key] = result;
11
+ return result;
12
+ }
13
+
14
+ //# sourceMappingURL=ensureBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_toBlock","require","ensureBlock","node","key","result","toBlock"],"sources":["../../src/converters/ensureBlock.ts"],"sourcesContent":["import toBlock from \"./toBlock.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Ensure the `key` (defaults to \"body\") of a `node` is a block.\n * Casting it to a block if it is not.\n *\n * Returns the BlockStatement\n */\nexport default function ensureBlock(\n node: t.Node,\n key: string = \"body\",\n): t.BlockStatement {\n // @ts-expect-error Fixme: key may not exist in node, consider remove key = \"body\"\n const result = toBlock(node[key], node);\n // @ts-expect-error Fixme: key may not exist in node, consider remove key = \"body\"\n node[key] = result;\n return result;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AASe,SAASC,WAAWA,CACjCC,IAAY,EACZC,GAAW,GAAG,MAAM,EACF;EAElB,MAAMC,MAAM,GAAG,IAAAC,gBAAO,EAACH,IAAI,CAACC,GAAG,CAAC,EAAED,IAAI,CAAC;EAEvCA,IAAI,CAACC,GAAG,CAAC,GAAGC,MAAM;EAClB,OAAOA,MAAM;AACf","ignoreList":[]}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = gatherSequenceExpressions;
7
+ var _getBindingIdentifiers = require("../retrievers/getBindingIdentifiers.js");
8
+ var _index = require("../validators/generated/index.js");
9
+ var _index2 = require("../builders/generated/index.js");
10
+ var _productions = require("../builders/productions.js");
11
+ var _cloneNode = require("../clone/cloneNode.js");
12
+ function gatherSequenceExpressions(nodes, declars) {
13
+ const exprs = [];
14
+ let ensureLastUndefined = true;
15
+ for (const node of nodes) {
16
+ if (!(0, _index.isEmptyStatement)(node)) {
17
+ ensureLastUndefined = false;
18
+ }
19
+ if ((0, _index.isExpression)(node)) {
20
+ exprs.push(node);
21
+ } else if ((0, _index.isExpressionStatement)(node)) {
22
+ exprs.push(node.expression);
23
+ } else if ((0, _index.isVariableDeclaration)(node)) {
24
+ if (node.kind !== "var") return;
25
+ for (const declar of node.declarations) {
26
+ const bindings = (0, _getBindingIdentifiers.default)(declar);
27
+ for (const key of Object.keys(bindings)) {
28
+ declars.push({
29
+ kind: node.kind,
30
+ id: (0, _cloneNode.default)(bindings[key])
31
+ });
32
+ }
33
+ if (declar.init) {
34
+ exprs.push((0, _index2.assignmentExpression)("=", declar.id, declar.init));
35
+ }
36
+ }
37
+ ensureLastUndefined = true;
38
+ } else if ((0, _index.isIfStatement)(node)) {
39
+ const consequent = node.consequent ? gatherSequenceExpressions([node.consequent], declars) : (0, _productions.buildUndefinedNode)();
40
+ const alternate = node.alternate ? gatherSequenceExpressions([node.alternate], declars) : (0, _productions.buildUndefinedNode)();
41
+ if (!consequent || !alternate) return;
42
+ exprs.push((0, _index2.conditionalExpression)(node.test, consequent, alternate));
43
+ } else if ((0, _index.isBlockStatement)(node)) {
44
+ const body = gatherSequenceExpressions(node.body, declars);
45
+ if (!body) return;
46
+ exprs.push(body);
47
+ } else if ((0, _index.isEmptyStatement)(node)) {
48
+ if (nodes.indexOf(node) === 0) {
49
+ ensureLastUndefined = true;
50
+ }
51
+ } else {
52
+ return;
53
+ }
54
+ }
55
+ if (ensureLastUndefined) {
56
+ exprs.push((0, _productions.buildUndefinedNode)());
57
+ }
58
+ if (exprs.length === 1) {
59
+ return exprs[0];
60
+ } else {
61
+ return (0, _index2.sequenceExpression)(exprs);
62
+ }
63
+ }
64
+
65
+ //# sourceMappingURL=gatherSequenceExpressions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_getBindingIdentifiers","require","_index","_index2","_productions","_cloneNode","gatherSequenceExpressions","nodes","declars","exprs","ensureLastUndefined","node","isEmptyStatement","isExpression","push","isExpressionStatement","expression","isVariableDeclaration","kind","declar","declarations","bindings","getBindingIdentifiers","key","Object","keys","id","cloneNode","init","assignmentExpression","isIfStatement","consequent","buildUndefinedNode","alternate","conditionalExpression","test","isBlockStatement","body","indexOf","length","sequenceExpression"],"sources":["../../src/converters/gatherSequenceExpressions.ts"],"sourcesContent":["// TODO(Babel 8) Remove this file\nif (process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH) {\n throw new Error(\n \"Internal Babel error: This file should only be loaded in Babel 7\",\n );\n}\n\nimport getBindingIdentifiers from \"../retrievers/getBindingIdentifiers.ts\";\nimport {\n isExpression,\n isExpressionStatement,\n isVariableDeclaration,\n isIfStatement,\n isBlockStatement,\n isEmptyStatement,\n} from \"../validators/generated/index.ts\";\nimport {\n sequenceExpression,\n assignmentExpression,\n conditionalExpression,\n} from \"../builders/generated/index.ts\";\nimport { buildUndefinedNode } from \"../builders/productions.ts\";\nimport cloneNode from \"../clone/cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n\nexport type DeclarationInfo = {\n kind: t.VariableDeclaration[\"kind\"];\n id: t.Identifier;\n};\n\nexport default function gatherSequenceExpressions(\n nodes: readonly t.Node[],\n declars: DeclarationInfo[],\n) {\n const exprs: t.Expression[] = [];\n let ensureLastUndefined = true;\n\n for (const node of nodes) {\n // if we encounter emptyStatement before a non-emptyStatement\n // we want to disregard that\n if (!isEmptyStatement(node)) {\n ensureLastUndefined = false;\n }\n\n if (isExpression(node)) {\n exprs.push(node);\n } else if (isExpressionStatement(node)) {\n exprs.push(node.expression);\n } else if (isVariableDeclaration(node)) {\n if (node.kind !== \"var\") return; // bailed\n\n for (const declar of node.declarations) {\n const bindings = getBindingIdentifiers(declar);\n for (const key of Object.keys(bindings)) {\n declars.push({\n kind: node.kind,\n id: cloneNode(bindings[key]),\n });\n }\n\n if (declar.init) {\n exprs.push(\n assignmentExpression(\n \"=\",\n // var declarator must not be a void pattern\n declar.id as Exclude<t.VariableDeclarator[\"id\"], t.VoidPattern>,\n declar.init,\n ),\n );\n }\n }\n\n ensureLastUndefined = true;\n } else if (isIfStatement(node)) {\n const consequent = node.consequent\n ? gatherSequenceExpressions([node.consequent], declars)\n : buildUndefinedNode();\n const alternate = node.alternate\n ? gatherSequenceExpressions([node.alternate], declars)\n : buildUndefinedNode();\n if (!consequent || !alternate) return; // bailed\n\n exprs.push(conditionalExpression(node.test, consequent, alternate));\n } else if (isBlockStatement(node)) {\n const body = gatherSequenceExpressions(node.body, declars);\n if (!body) return; // bailed\n\n exprs.push(body);\n } else if (isEmptyStatement(node)) {\n // empty statement so ensure the last item is undefined if we're last\n // checks if emptyStatement is first\n if (nodes.indexOf(node) === 0) {\n ensureLastUndefined = true;\n }\n } else {\n // bailed, we can't turn this statement into an expression\n return;\n }\n }\n\n if (ensureLastUndefined) {\n exprs.push(buildUndefinedNode());\n }\n\n if (exprs.length === 1) {\n return exprs[0];\n } else {\n return sequenceExpression(exprs);\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = toBindingIdentifierName;
7
+ var _toIdentifier = require("./toIdentifier.js");
8
+ function toBindingIdentifierName(name) {
9
+ name = (0, _toIdentifier.default)(name);
10
+ if (name === "eval" || name === "arguments") name = "_" + name;
11
+ return name;
12
+ }
13
+
14
+ //# sourceMappingURL=toBindingIdentifierName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_toIdentifier","require","toBindingIdentifierName","name","toIdentifier"],"sources":["../../src/converters/toBindingIdentifierName.ts"],"sourcesContent":["import toIdentifier from \"./toIdentifier.ts\";\n\nexport default function toBindingIdentifierName(name: string): string {\n name = toIdentifier(name);\n if (name === \"eval\" || name === \"arguments\") name = \"_\" + name;\n\n return name;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAEe,SAASC,uBAAuBA,CAACC,IAAY,EAAU;EACpEA,IAAI,GAAG,IAAAC,qBAAY,EAACD,IAAI,CAAC;EACzB,IAAIA,IAAI,KAAK,MAAM,IAAIA,IAAI,KAAK,WAAW,EAAEA,IAAI,GAAG,GAAG,GAAGA,IAAI;EAE9D,OAAOA,IAAI;AACb","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = toBlock;
7
+ var _index = require("../validators/generated/index.js");
8
+ var _index2 = require("../builders/generated/index.js");
9
+ function toBlock(node, parent) {
10
+ if ((0, _index.isBlockStatement)(node)) {
11
+ return node;
12
+ }
13
+ let blockNodes = [];
14
+ if ((0, _index.isEmptyStatement)(node)) {
15
+ blockNodes = [];
16
+ } else {
17
+ if (!(0, _index.isStatement)(node)) {
18
+ if ((0, _index.isFunction)(parent)) {
19
+ node = (0, _index2.returnStatement)(node);
20
+ } else {
21
+ node = (0, _index2.expressionStatement)(node);
22
+ }
23
+ }
24
+ blockNodes = [node];
25
+ }
26
+ return (0, _index2.blockStatement)(blockNodes);
27
+ }
28
+
29
+ //# sourceMappingURL=toBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_index2","toBlock","node","parent","isBlockStatement","blockNodes","isEmptyStatement","isStatement","isFunction","returnStatement","expressionStatement","blockStatement"],"sources":["../../src/converters/toBlock.ts"],"sourcesContent":["import {\n isBlockStatement,\n isFunction,\n isEmptyStatement,\n isStatement,\n} from \"../validators/generated/index.ts\";\nimport {\n returnStatement,\n expressionStatement,\n blockStatement,\n} from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function toBlock(\n node: t.Statement | t.Expression,\n parent?: t.Node,\n): t.BlockStatement {\n if (isBlockStatement(node)) {\n return node;\n }\n\n let blockNodes: t.Statement[] = [];\n\n if (isEmptyStatement(node)) {\n blockNodes = [];\n } else {\n if (!isStatement(node)) {\n if (isFunction(parent)) {\n node = returnStatement(node);\n } else {\n node = expressionStatement(node);\n }\n }\n\n blockNodes = [node];\n }\n\n return blockStatement(blockNodes);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AAOe,SAASE,OAAOA,CAC7BC,IAAgC,EAChCC,MAAe,EACG;EAClB,IAAI,IAAAC,uBAAgB,EAACF,IAAI,CAAC,EAAE;IAC1B,OAAOA,IAAI;EACb;EAEA,IAAIG,UAAyB,GAAG,EAAE;EAElC,IAAI,IAAAC,uBAAgB,EAACJ,IAAI,CAAC,EAAE;IAC1BG,UAAU,GAAG,EAAE;EACjB,CAAC,MAAM;IACL,IAAI,CAAC,IAAAE,kBAAW,EAACL,IAAI,CAAC,EAAE;MACtB,IAAI,IAAAM,iBAAU,EAACL,MAAM,CAAC,EAAE;QACtBD,IAAI,GAAG,IAAAO,uBAAe,EAACP,IAAI,CAAC;MAC9B,CAAC,MAAM;QACLA,IAAI,GAAG,IAAAQ,2BAAmB,EAACR,IAAI,CAAC;MAClC;IACF;IAEAG,UAAU,GAAG,CAACH,IAAI,CAAC;EACrB;EAEA,OAAO,IAAAS,sBAAc,EAACN,UAAU,CAAC;AACnC","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = toComputedKey;
7
+ var _index = require("../validators/generated/index.js");
8
+ var _index2 = require("../builders/generated/index.js");
9
+ function toComputedKey(node, key = node.key || node.property) {
10
+ if (!node.computed && (0, _index.isIdentifier)(key)) key = (0, _index2.stringLiteral)(key.name);
11
+ return key;
12
+ }
13
+
14
+ //# sourceMappingURL=toComputedKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_index2","toComputedKey","node","key","property","computed","isIdentifier","stringLiteral","name"],"sources":["../../src/converters/toComputedKey.ts"],"sourcesContent":["import { isIdentifier } from \"../validators/generated/index.ts\";\nimport { stringLiteral } from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function toComputedKey(\n node:\n | t.ObjectMember\n | t.ObjectProperty\n | t.ClassMethod\n | t.ClassProperty\n | t.ClassAccessorProperty\n | t.MemberExpression\n | t.OptionalMemberExpression,\n // @ts-expect-error todo(flow->ts): maybe check the type of node before accessing .key and .property\n key: t.Expression | t.PrivateName = node.key || node.property,\n) {\n if (!node.computed && isIdentifier(key)) key = stringLiteral(key.name);\n\n return key;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAGe,SAASE,aAAaA,CACnCC,IAO8B,EAE9BC,GAAiC,GAAGD,IAAI,CAACC,GAAG,IAAID,IAAI,CAACE,QAAQ,EAC7D;EACA,IAAI,CAACF,IAAI,CAACG,QAAQ,IAAI,IAAAC,mBAAY,EAACH,GAAG,CAAC,EAAEA,GAAG,GAAG,IAAAI,qBAAa,EAACJ,GAAG,CAACK,IAAI,CAAC;EAEtE,OAAOL,GAAG;AACZ","ignoreList":[]}