@coana-tech/cli 14.12.113 → 14.12.115

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 (993) hide show
  1. package/cli.mjs +119 -40
  2. package/package.json +1 -1
  3. package/reachability-analyzers-cli.mjs +238 -217
  4. package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
  5. package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
  6. package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
  7. package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
  8. package/repos/coana-tech/javap-service/javap-service.jar +0 -0
  9. package/repos/coana-tech/jelly-private/dist/bundle/approx.js +11 -7
  10. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-PAV2YSLW.js → chunk-RUAUP2X2.js} +5 -5
  11. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-VDHMBLB5.js → chunk-US4VPHJ4.js} +1556 -1428
  12. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-XJM6ACML.js → chunk-VENMYXZQ.js} +2 -2
  13. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-AO2BBATE.js → chunk-XXE5Z2AZ.js} +143 -77
  14. package/repos/coana-tech/jelly-private/dist/bundle/hooks.js +3 -3
  15. package/repos/coana-tech/jelly-private/dist/bundle/jelly.js +354 -779
  16. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/compat-data/package.json +1 -1
  17. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -1
  18. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/config-chain.js +3 -3
  19. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/config-chain.js.map +1 -1
  20. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -1
  21. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/full.js.map +1 -1
  22. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/index.js.map +1 -1
  23. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/item.js.map +1 -1
  24. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/partial.js.map +1 -1
  25. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/printer.js.map +1 -1
  26. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +1 -1
  27. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -1
  28. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/util.js.map +1 -1
  29. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -1
  30. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/options.js.map +1 -1
  31. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -1
  32. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/index.js +1 -1
  33. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/index.js.map +1 -1
  34. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parse.js.map +1 -1
  35. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  36. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/file.js +8 -15
  37. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  38. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/index.js.map +1 -1
  39. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  40. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +1 -1
  41. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/package.json +8 -8
  42. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/src/config/resolve-targets-browser.ts +2 -2
  43. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/src/config/resolve-targets.ts +2 -5
  44. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/buffer.js +1 -1
  45. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/buffer.js.map +1 -1
  46. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  47. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/flow.js +1 -3
  48. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/flow.js.map +1 -1
  49. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/methods.js +2 -2
  50. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  51. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/modules.js +2 -2
  52. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  53. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/statements.js +1 -3
  54. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  55. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  56. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/typescript.js +2 -1
  57. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  58. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/index.js.map +1 -1
  59. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/index.js +1 -1
  60. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  61. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/parentheses.js +0 -1
  62. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  63. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/whitespace.js +11 -0
  64. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -1
  65. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/printer.js +8 -9
  66. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/printer.js.map +1 -1
  67. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/source-map.js +3 -2
  68. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/source-map.js.map +1 -1
  69. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/token-map.js +1 -1
  70. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/token-map.js.map +1 -1
  71. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/package.json +5 -5
  72. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +3 -3
  73. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
  74. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +5 -5
  75. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
  76. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-member-expression-to-functions/lib/index.js +3 -1
  77. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-member-expression-to-functions/lib/index.js.map +1 -1
  78. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-member-expression-to-functions/package.json +3 -3
  79. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-validator-identifier/lib/identifier.js +4 -4
  80. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
  81. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-validator-identifier/package.json +2 -2
  82. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/lib/index.js +212 -145
  83. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/lib/index.js.map +1 -1
  84. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/package.json +3 -3
  85. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/typings/babel-parser.d.ts +27 -4
  86. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/index.js +8 -6
  87. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
  88. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/package.json +5 -5
  89. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  90. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/context.js +2 -0
  91. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/context.js.map +1 -1
  92. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/index.js +1 -1
  93. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/index.js.map +1 -1
  94. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
  95. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/comments.js.map +1 -1
  96. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
  97. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/conversion.js +5 -3
  98. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  99. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  100. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  101. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/index.js +0 -1
  102. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
  103. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +1 -1
  104. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -1
  105. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -1
  106. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/introspection.js +1 -0
  107. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
  108. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/hoister.js +1 -0
  109. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  110. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +1 -0
  111. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -1
  112. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +9 -8
  113. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -1
  114. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
  115. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -1
  116. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  117. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/removal.js +2 -5
  118. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
  119. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/replacement.js +2 -1
  120. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  121. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/index.js +10 -6
  122. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  123. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/traverseForScope.js +68 -0
  124. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map +1 -0
  125. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
  126. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/visitors.js +4 -6
  127. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  128. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/package.json +5 -5
  129. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/tsconfig.overrides.json +6 -0
  130. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  131. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/core.js +80 -13
  132. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  133. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  134. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/index.js +6 -0
  135. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  136. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/typescript.js +6 -5
  137. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  138. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/utils.js +6 -2
  139. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  140. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index-legacy.d.ts +1 -1
  141. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.d.ts +644 -331
  142. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.js.flow +1 -1
  143. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  144. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -1
  145. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -1
  146. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isScope.js.map +1 -1
  147. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  148. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/package.json +4 -4
  149. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/README.md +36 -4
  150. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/cli.js +1 -1
  151. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  152. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.d.ts +12 -0
  153. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.js +1 -1
  154. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/package.json +11 -8
  155. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/browserslist/index.js +20 -7
  156. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/browserslist/node.js +5 -0
  157. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/browserslist/package.json +6 -6
  158. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/agents.js +1 -1
  159. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  160. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/aac.js +1 -1
  161. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  162. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  163. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  164. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  165. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  166. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  167. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/apng.js +1 -1
  168. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  169. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  170. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  171. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  172. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  173. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  174. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  175. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  176. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  177. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  178. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audio.js +1 -1
  179. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  180. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  181. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  182. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/av1.js +1 -1
  183. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/avif.js +1 -1
  184. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  185. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  186. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  187. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  188. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  189. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  190. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  191. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  192. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  193. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  194. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  195. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  196. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  197. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  198. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  199. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  200. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/calc.js +1 -1
  201. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  202. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  203. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  204. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  205. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  206. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  207. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  208. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  209. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  210. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  211. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  212. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/colr.js +1 -1
  213. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  214. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  215. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  216. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/const.js +1 -1
  217. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  218. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  219. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  220. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  221. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  222. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cors.js +1 -1
  223. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  224. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  225. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  226. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  227. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  228. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  229. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  230. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  231. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  232. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  233. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  234. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  235. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  236. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  237. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  238. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  239. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  240. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  241. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  242. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  243. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  244. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  245. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  246. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  247. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  248. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  249. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  250. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  251. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  252. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  253. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  254. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  255. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  256. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  257. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  258. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  259. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  260. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  261. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  262. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  263. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  264. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  265. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  266. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  267. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  268. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  269. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  270. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  271. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  272. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  273. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  274. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  275. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  276. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  277. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  278. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  279. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  280. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  281. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  282. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  283. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  284. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  285. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  286. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  287. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  288. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  289. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  290. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  291. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  292. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  293. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  294. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  295. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  296. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  297. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  298. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  299. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  300. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  301. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  302. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  303. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  304. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  305. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  306. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  307. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  308. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  309. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  310. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  311. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  312. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  313. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  314. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  315. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  316. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  317. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  318. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  319. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  320. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  321. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  322. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  323. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  324. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  325. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  326. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  327. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  328. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  329. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  330. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  331. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  332. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  333. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  334. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  335. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  336. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  337. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  338. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  339. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  340. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  341. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  342. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  343. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  344. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  345. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  346. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  347. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  348. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  349. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  350. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  351. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  352. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  353. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  354. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  355. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  356. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  357. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  358. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  359. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  360. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  361. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  362. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  363. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  364. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  365. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  366. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  367. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  368. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  369. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  370. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  371. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  372. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  373. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  374. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  375. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  376. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  377. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/details.js +1 -1
  378. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  379. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  380. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  381. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  382. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  383. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  384. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  385. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  386. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  387. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  388. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  389. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  390. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  391. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  392. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  393. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  394. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/download.js +1 -1
  395. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  396. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  397. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  398. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  399. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eme.js +1 -1
  400. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eot.js +1 -1
  401. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es5.js +1 -1
  402. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  403. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  404. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  405. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  406. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  407. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  408. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6.js +1 -1
  409. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  410. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  411. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  412. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  413. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  414. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  415. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  416. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  417. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  418. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flac.js +1 -1
  419. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  420. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  421. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  422. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  423. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  424. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  425. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  426. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  427. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  428. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  429. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  430. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  431. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  432. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  433. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  434. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  435. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  436. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/forms.js +1 -1
  437. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  438. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  439. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  440. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  441. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  442. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  443. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  444. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  445. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  446. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  447. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/heif.js +1 -1
  448. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  449. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  450. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  451. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/history.js +1 -1
  452. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  453. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  454. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  455. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http2.js +1 -1
  456. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http3.js +1 -1
  457. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  458. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  459. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  460. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  461. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ime.js +1 -1
  462. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  463. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  464. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/imports.js +1 -1
  465. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  466. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  467. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  468. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  469. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  470. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  471. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  472. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  473. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  474. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  475. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  476. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  477. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  478. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  479. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  480. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  481. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  482. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  483. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  484. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  485. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  486. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  487. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  488. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  489. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  490. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  491. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  492. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  493. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  494. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  495. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  496. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  497. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/json.js +1 -1
  498. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  499. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  500. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  501. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  502. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  503. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  504. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  505. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  506. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  507. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/let.js +1 -1
  508. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  509. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  510. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  511. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  512. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  513. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  514. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  515. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  516. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  517. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  518. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  519. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  520. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  521. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  522. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  523. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  524. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  525. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  526. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  527. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  528. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  529. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  530. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  531. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  532. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  533. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  534. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  535. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/menu.js +1 -1
  536. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  537. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/meter.js +1 -1
  538. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/midi.js +1 -1
  539. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  540. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  541. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  542. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  543. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  544. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  545. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  546. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  547. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  548. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  549. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  550. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  551. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  552. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  553. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  554. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  555. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  556. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  557. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  558. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  559. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  560. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  561. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  562. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  563. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  564. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/opus.js +1 -1
  565. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  566. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/outline.js +1 -1
  567. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  568. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  569. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  570. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  571. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  572. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  573. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  574. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  575. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  576. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  577. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  578. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  579. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/picture.js +1 -1
  580. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ping.js +1 -1
  581. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  582. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  583. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  584. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  585. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/portals.js +1 -1
  586. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  587. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  588. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/progress.js +1 -1
  589. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  590. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/promises.js +1 -1
  591. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  592. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  593. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  594. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  595. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  596. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  597. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  598. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  599. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  600. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  601. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  602. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rem.js +1 -1
  603. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  604. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  605. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  606. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  607. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  608. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  609. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  610. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  611. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  612. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  613. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  614. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  615. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  616. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  617. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  618. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  619. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  620. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  621. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  622. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  623. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  624. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  625. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  626. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  627. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sni.js +1 -1
  628. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  629. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  630. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  631. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  632. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  633. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  634. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/stream.js +1 -1
  635. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/streams.js +1 -1
  636. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  637. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  638. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  639. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  640. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  641. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  642. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  643. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  644. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  645. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  646. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  647. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  648. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg.js +1 -1
  649. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  650. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  651. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  652. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/template.js +1 -1
  653. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  654. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  655. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  656. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  657. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  658. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  659. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  660. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  661. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  662. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  663. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  664. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  665. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/touch.js +1 -1
  666. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  667. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  668. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  669. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  670. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  671. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  672. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  673. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  674. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  675. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/url.js +1 -1
  676. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  677. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  678. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  679. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  680. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  681. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  682. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  683. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/video.js +1 -1
  684. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  685. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  686. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  687. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  688. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  689. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  690. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  691. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  692. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  693. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  694. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  695. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  696. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  697. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  698. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  699. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  700. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  701. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  702. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  703. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  704. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  705. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wav.js +1 -1
  706. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  707. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  708. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  709. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  710. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  711. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  712. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  713. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  714. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  715. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  716. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  717. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  718. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  719. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webm.js +1 -1
  720. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  721. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webp.js +1 -1
  722. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  723. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  724. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  725. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  726. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  727. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  728. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  729. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  730. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/woff.js +1 -1
  731. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  732. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  733. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  734. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  735. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  736. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  737. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  738. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  739. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  740. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  741. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  742. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  743. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  744. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  745. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  746. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  747. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  748. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  749. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  750. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  751. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  752. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  753. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  754. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  755. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  756. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  757. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  758. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  759. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  760. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  761. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  762. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  763. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  764. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  765. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  766. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  767. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  768. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  769. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  770. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  771. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  772. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  773. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  774. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  775. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  776. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  777. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  778. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  779. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  780. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  781. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  782. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  783. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  784. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  785. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  786. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  787. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  788. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  789. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  790. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  791. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  792. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  793. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  794. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  795. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  796. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  797. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  798. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  799. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  800. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  801. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  802. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  803. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  804. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  805. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  806. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  807. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  808. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  809. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  810. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  811. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  812. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  813. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  814. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  815. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  816. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  817. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  818. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  819. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  820. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  821. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  822. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  823. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  824. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  825. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  826. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  827. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  828. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  829. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  830. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  831. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  832. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  833. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  834. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  835. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  836. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  837. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  838. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  839. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  840. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  841. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  842. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  843. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  844. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  845. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  846. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  847. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  848. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  849. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  850. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  851. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  852. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  853. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  854. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  855. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  856. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  857. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  858. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  859. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  860. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  861. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  862. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  863. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  864. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  865. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  866. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  867. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  868. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  869. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  870. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  871. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  872. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  873. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  874. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  875. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  876. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  877. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  878. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  879. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  880. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  881. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  882. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  883. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  884. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  885. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  886. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  887. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  888. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  889. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  890. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  891. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  892. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  893. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  894. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  895. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  896. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  897. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  898. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  899. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  900. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  901. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  902. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  903. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  904. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  905. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  906. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  907. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  908. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  909. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  910. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  911. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  912. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  913. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  914. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  915. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  916. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  917. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  918. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  919. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  920. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  921. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  922. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  923. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  924. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  925. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  926. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  927. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  928. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  929. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  930. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  931. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  932. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  933. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  934. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  935. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  936. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  937. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  938. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  939. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  940. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  941. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  942. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  943. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  944. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  945. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  946. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  947. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  948. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  949. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  950. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  951. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  952. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  953. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  954. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  955. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  956. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/US.js +1 -1
  957. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  958. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  959. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  960. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  961. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  962. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  963. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  964. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  965. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  966. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  967. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  968. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  969. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  970. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  971. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  972. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  973. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  974. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  975. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  976. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  977. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  978. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  979. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  980. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  981. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/package.json +1 -1
  982. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/chromium-versions.js +4 -1
  983. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/chromium-versions.json +1 -1
  984. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-chromium-versions.js +83 -4
  985. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  986. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-versions.js +52 -1
  987. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-versions.json +1 -1
  988. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/package.json +1 -1
  989. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/versions.js +15 -1
  990. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/versions.json +1 -1
  991. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/node-releases/data/processed/envs.json +1 -1
  992. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -1
  993. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/node-releases/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"names":["_parser","data","require","_codeFrame","_missingPluginHelper","parser","pluginPasses","parserOpts","highlightCode","filename","code","results","plugins","plugin","parserOverride","ast","parse","undefined","push","length","then","Error","err","message","loc","missingPlugin","codeFrame","codeFrameColumns","start","line","column","generateMissingPluginMessage"],"sources":["../../src/parser/index.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\nimport { parse, type ParseResult } from \"@babel/parser\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport generateMissingPluginMessage from \"./util/missing-plugin-helper.ts\";\nimport type { PluginPasses } from \"../config/index.ts\";\n\nexport type { ParseResult };\n\nexport default function* parser(\n pluginPasses: PluginPasses,\n { parserOpts, highlightCode = true, filename = \"unknown\" }: any,\n code: string,\n): Handler<ParseResult> {\n try {\n const results = [];\n for (const plugins of pluginPasses) {\n for (const plugin of plugins) {\n const { parserOverride } = plugin;\n if (parserOverride) {\n const ast = parserOverride(code, parserOpts, parse);\n\n if (ast !== undefined) results.push(ast);\n }\n }\n }\n\n if (results.length === 0) {\n return parse(code, parserOpts);\n } else if (results.length === 1) {\n // If we want to allow async parsers\n yield* [];\n if (typeof (results[0] as any).then === \"function\") {\n throw new Error(\n `You appear to be using an async parser plugin, ` +\n `which your current version of Babel does not support. ` +\n `If you're using a published plugin, you may need to upgrade ` +\n `your @babel/core version.`,\n );\n }\n return results[0];\n }\n // TODO: Add an error code\n throw new Error(\"More than one plugin attempted to override parsing.\");\n } catch (err) {\n if (err.code === \"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\") {\n err.message +=\n \"\\nConsider renaming the file to '.mjs', or setting sourceType:module \" +\n \"or sourceType:unambiguous in your Babel config for this file.\";\n // err.code will be changed to BABEL_PARSE_ERROR later.\n }\n\n const { loc, missingPlugin } = err;\n if (loc) {\n const codeFrame = codeFrameColumns(\n code,\n {\n start: {\n line: loc.line,\n column: loc.column + 1,\n },\n },\n {\n highlightCode,\n },\n );\n if (missingPlugin) {\n err.message =\n `${filename}: ` +\n generateMissingPluginMessage(\n missingPlugin[0],\n loc,\n codeFrame,\n filename,\n );\n } else {\n err.message = `${filename}: ${err.message}\\n\\n` + codeFrame;\n }\n err.code = \"BABEL_PARSE_ERROR\";\n }\n throw err;\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAG,oBAAA,GAAAF,OAAA;AAKe,UAAUG,MAAMA,CAC7BC,YAA0B,EAC1B;EAAEC,UAAU;EAAEC,aAAa,GAAG,IAAI;EAAEC,QAAQ,GAAG;AAAe,CAAC,EAC/DC,IAAY,EACU;EACtB,IAAI;IACF,MAAMC,OAAO,GAAG,EAAE;IAClB,KAAK,MAAMC,OAAO,IAAIN,YAAY,EAAE;MAClC,KAAK,MAAMO,MAAM,IAAID,OAAO,EAAE;QAC5B,MAAM;UAAEE;QAAe,CAAC,GAAGD,MAAM;QACjC,IAAIC,cAAc,EAAE;UAClB,MAAMC,GAAG,GAAGD,cAAc,CAACJ,IAAI,EAAEH,UAAU,EAAES,eAAK,CAAC;UAEnD,IAAID,GAAG,KAAKE,SAAS,EAAEN,OAAO,CAACO,IAAI,CAACH,GAAG,CAAC;QAC1C;MACF;IACF;IAEA,IAAIJ,OAAO,CAACQ,MAAM,KAAK,CAAC,EAAE;MACxB,OAAO,IAAAH,eAAK,EAACN,IAAI,EAAEH,UAAU,CAAC;IAChC,CAAC,MAAM,IAAII,OAAO,CAACQ,MAAM,KAAK,CAAC,EAAE;MAE/B,OAAO,EAAE;MACT,IAAI,OAAQR,OAAO,CAAC,CAAC,CAAC,CAASS,IAAI,KAAK,UAAU,EAAE;QAClD,MAAM,IAAIC,KAAK,CACb,iDAAiD,GAC/C,wDAAwD,GACxD,8DAA8D,GAC9D,2BACJ,CAAC;MACH;MACA,OAAOV,OAAO,CAAC,CAAC,CAAC;IACnB;IAEA,MAAM,IAAIU,KAAK,CAAC,qDAAqD,CAAC;EACxE,CAAC,CAAC,OAAOC,GAAG,EAAE;IACZ,IAAIA,GAAG,CAACZ,IAAI,KAAK,yCAAyC,EAAE;MAC1DY,GAAG,CAACC,OAAO,IACT,uEAAuE,GACvE,+DAA+D;IAEnE;IAEA,MAAM;MAAEC,GAAG;MAAEC;IAAc,CAAC,GAAGH,GAAG;IAClC,IAAIE,GAAG,EAAE;MACP,MAAME,SAAS,GAAG,IAAAC,6BAAgB,EAChCjB,IAAI,EACJ;QACEkB,KAAK,EAAE;UACLC,IAAI,EAAEL,GAAG,CAACK,IAAI;UACdC,MAAM,EAAEN,GAAG,CAACM,MAAM,GAAG;QACvB;MACF,CAAC,EACD;QACEtB;MACF,CACF,CAAC;MACD,IAAIiB,aAAa,EAAE;QACjBH,GAAG,CAACC,OAAO,GACT,GAAGd,QAAQ,IAAI,GACf,IAAAsB,4BAA4B,EAC1BN,aAAa,CAAC,CAAC,CAAC,EAChBD,GAAG,EACHE,SAAS,EACTjB,QACF,CAAC;MACL,CAAC,MAAM;QACLa,GAAG,CAACC,OAAO,GAAG,GAAGd,QAAQ,KAAKa,GAAG,CAACC,OAAO,MAAM,GAAGG,SAAS;MAC7D;MACAJ,GAAG,CAACZ,IAAI,GAAG,mBAAmB;IAChC;IACA,MAAMY,GAAG;EACX;AACF;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_parser","data","require","_codeFrame","_missingPluginHelper","parser","pluginPasses","parserOpts","highlightCode","filename","code","results","plugins","plugin","parserOverride","ast","parse","undefined","push","length","then","Error","err","message","loc","missingPlugin","codeFrame","codeFrameColumns","start","line","column","generateMissingPluginMessage"],"sources":["../../src/parser/index.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\nimport { parse, type ParseResult } from \"@babel/parser\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport generateMissingPluginMessage from \"./util/missing-plugin-helper.ts\";\nimport type { PluginPasses } from \"../config/index.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nexport type { ParseResult };\n\nexport default function* parser(\n pluginPasses: PluginPasses,\n { parserOpts, highlightCode = true, filename = \"unknown\" }: ResolvedOptions,\n code: string,\n): Handler<ParseResult> {\n try {\n const results = [];\n for (const plugins of pluginPasses) {\n for (const plugin of plugins) {\n const { parserOverride } = plugin;\n if (parserOverride) {\n const ast = parserOverride(code, parserOpts, parse);\n\n if (ast !== undefined) results.push(ast);\n }\n }\n }\n\n if (results.length === 0) {\n return parse(code, parserOpts);\n } else if (results.length === 1) {\n // If we want to allow async parsers\n yield* [];\n if (typeof (results[0] as any).then === \"function\") {\n throw new Error(\n `You appear to be using an async parser plugin, ` +\n `which your current version of Babel does not support. ` +\n `If you're using a published plugin, you may need to upgrade ` +\n `your @babel/core version.`,\n );\n }\n return results[0];\n }\n // TODO: Add an error code\n throw new Error(\"More than one plugin attempted to override parsing.\");\n } catch (err) {\n if (err.code === \"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\") {\n err.message +=\n \"\\nConsider renaming the file to '.mjs', or setting sourceType:module \" +\n \"or sourceType:unambiguous in your Babel config for this file.\";\n // err.code will be changed to BABEL_PARSE_ERROR later.\n }\n\n const { loc, missingPlugin } = err;\n if (loc) {\n const codeFrame = codeFrameColumns(\n code,\n {\n start: {\n line: loc.line,\n column: loc.column + 1,\n },\n },\n {\n highlightCode,\n },\n );\n if (missingPlugin) {\n err.message =\n `${filename}: ` +\n generateMissingPluginMessage(\n missingPlugin[0],\n loc,\n codeFrame,\n filename,\n );\n } else {\n err.message = `${filename}: ${err.message}\\n\\n` + codeFrame;\n }\n err.code = \"BABEL_PARSE_ERROR\";\n }\n throw err;\n }\n}\n"],"mappings":";;;;;;AACA,SA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E,CAAC,CAAC,OAAOC,GAAG,EAAE;IACZ,IAAIA,GAAG,CAACZ,IAAI,KAAK,yCAAyC,EAAE;MAC1DY,GAAG,CAACC,OAAO,IACT,uEAAuE,GACvE,+DAA+D;IAEnE;IAEA,MAAM;MAAEC,GAAG;MAAEC;IAAc,CAAC,GAAGH,GAAG;IAClC,IAAIE,GAAG,EAAE;MACP,MAAME,SAAS,GAAG,IAAAC,6BAAgB,EAChCjB,IAAI,EACJ;QACEkB,KAAK,EAAE;UACLC,IAAI,EAAEL,GAAG,CAACK,IAAI;UACdC,MAAM,EAAEN,GAAG,CAACM,MAAM,GAAG;QACvB;MACF,CAAC,EACD;QACEtB;MACF,CACF,CAAC;MACD,IAAIiB,aAAa,EAAE;QACjBH,GAAG,CAACC,OAAO,GACT,GAAGd,QAAQ,IAAI,GACf,IAAAsB,4BAA4B,EAC1BN,aAAa,CAAC,CAAC,CAAC,EAChBD,GAAG,EACHE,SAAS,EACTjB,QACF,CAAC;MACL,CAAC,MAAM;QACLa,GAAG,CAACC,OAAO,GAAG,GAAGd,QAAQ,KAAKa,GAAG,CAACC,OAAO,MAAM,GAAGG,SAAS;MAC7D;MACAJ,GAAG,CAACZ,IAAI,GAAG,mBAAmB;IAChC;IACA,MAAMY,GAAG;EACX;AACF;AAAC","ignoreList":[]}
@@ -42,17 +42,9 @@ function _semver() {
42
42
  var _babel7Helpers = require("./babel-7-helpers.cjs");
43
43
  const {
44
44
  cloneNode,
45
- interpreterDirective
45
+ interpreterDirective,
46
+ traverseFast
46
47
  } = _t();
47
- const errorVisitor = {
48
- enter(path, state) {
49
- const loc = path.node.loc;
50
- if (loc) {
51
- state.loc = loc;
52
- path.stop();
53
- }
54
- }
55
- };
56
48
  class File {
57
49
  constructor(options, {
58
50
  code,
@@ -171,11 +163,12 @@ class File {
171
163
  buildCodeFrameError(node, msg, _Error = SyntaxError) {
172
164
  let loc = node == null ? void 0 : node.loc;
173
165
  if (!loc && node) {
174
- const state = {
175
- loc: null
176
- };
177
- (0, _traverse().default)(node, errorVisitor, this.scope, state);
178
- loc = state.loc;
166
+ traverseFast(node, function (node) {
167
+ if (node.loc) {
168
+ loc = node.loc;
169
+ return traverseFast.stop;
170
+ }
171
+ });
179
172
  let txt = "This is an error on an internal node. Probably an internal error.";
180
173
  if (loc) txt += " Location has been estimated.";
181
174
  msg += ` (${txt})`;
@@ -1 +1 @@
1
- {"version":3,"names":["helpers","data","require","_traverse","_codeFrame","_t","_semver","_babel7Helpers","cloneNode","interpreterDirective","errorVisitor","enter","path","state","loc","node","stop","File","constructor","options","code","ast","inputMap","_map","Map","opts","declarations","scope","metadata","hub","file","getCode","getScope","addHelper","bind","buildError","buildCodeFrameError","NodePath","get","parentPath","parent","container","key","setContext","shebang","interpreter","value","replaceWith","remove","set","val","Error","has","availableHelper","name","versionRange","isInternal","minVersion","err","semver","valid","intersects","_addHelper","declar","generator","res","uid","generateUidIdentifier","dependencies","dep","getDependencies","nodes","globals","Object","keys","getAllBindings","forEach","hasBinding","rename","_compact","added","unshiftContainer","isVariableDeclaration","registerDeclaration","msg","_Error","SyntaxError","traverse","txt","highlightCode","codeFrameColumns","start","line","column","end","undefined","exports","default","prototype","addImport","addTemplateObject","getModuleName","babel7"],"sources":["../../../src/transformation/file/file.ts"],"sourcesContent":["import * as helpers from \"@babel/helpers\";\nimport { NodePath } from \"@babel/traverse\";\nimport type { HubInterface, Visitor, Scope } from \"@babel/traverse\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport traverse from \"@babel/traverse\";\nimport { cloneNode, interpreterDirective } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport semver from \"semver\";\n\nimport type { NormalizedFile } from \"../normalize-file.ts\";\n\n// @ts-expect-error This file is `any`\nimport babel7 from \"./babel-7-helpers.cjs\" with { if: \"!process.env.BABEL_8_BREAKING && (!USE_ESM || IS_STANDALONE)\" };\nimport type { NormalizedOptions } from \"../../config/index.ts\";\n\nconst errorVisitor: Visitor<{ loc: t.SourceLocation | null }> = {\n enter(path, state) {\n const loc = path.node.loc;\n if (loc) {\n state.loc = loc;\n path.stop();\n }\n },\n};\n\nexport default class File {\n _map: Map<unknown, unknown> = new Map();\n opts: NormalizedOptions;\n declarations: { [key: string]: t.Identifier } = {};\n path: NodePath<t.Program>;\n ast: t.File;\n scope: Scope;\n metadata: { [key: string]: any } = {};\n code: string = \"\";\n inputMap: any;\n\n hub: HubInterface & { file: File } = {\n // keep it for the usage in babel-core, ex: path.hub.file.opts.filename\n file: this,\n getCode: () => this.code,\n getScope: () => this.scope,\n addHelper: this.addHelper.bind(this),\n buildError: this.buildCodeFrameError.bind(this),\n };\n\n constructor(options: any, { code, ast, inputMap }: NormalizedFile) {\n this.opts = options;\n this.code = code;\n this.ast = ast;\n this.inputMap = inputMap;\n\n this.path = NodePath.get({\n hub: this.hub,\n parentPath: null,\n parent: this.ast,\n container: this.ast,\n key: \"program\",\n }).setContext() as NodePath<t.Program>;\n this.scope = this.path.scope;\n }\n\n /**\n * Provide backward-compatible access to the interpreter directive handling\n * in Babel 6.x. If you are writing a plugin for Babel 7.x, it would be\n * best to use 'program.interpreter' directly.\n */\n get shebang(): string {\n const { interpreter } = this.path.node;\n return interpreter ? interpreter.value : \"\";\n }\n set shebang(value: string) {\n if (value) {\n this.path.get(\"interpreter\").replaceWith(interpreterDirective(value));\n } else {\n this.path.get(\"interpreter\").remove();\n }\n }\n\n set(key: unknown, val: unknown) {\n if (!process.env.BABEL_8_BREAKING) {\n if (key === \"helpersNamespace\") {\n throw new Error(\n \"Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.\" +\n \"If you are using @babel/plugin-external-helpers you will need to use a newer \" +\n \"version than the one you currently have installed. \" +\n \"If you have your own implementation, you'll want to explore using 'helperGenerator' \" +\n \"alongside 'file.availableHelper()'.\",\n );\n }\n }\n\n this._map.set(key, val);\n }\n\n get(key: unknown): any {\n return this._map.get(key);\n }\n\n has(key: unknown): boolean {\n return this._map.has(key);\n }\n\n /**\n * Check if a given helper is available in @babel/core's helper list.\n *\n * This _also_ allows you to pass a Babel version specifically. If the\n * helper exists, but was not available for the full given range, it will be\n * considered unavailable.\n */\n availableHelper(name: string, versionRange?: string | null): boolean {\n if (helpers.isInternal(name)) return false;\n\n let minVersion;\n try {\n minVersion = helpers.minVersion(name);\n } catch (err) {\n if (err.code !== \"BABEL_HELPER_UNKNOWN\") throw err;\n\n return false;\n }\n\n if (typeof versionRange !== \"string\") return true;\n\n // semver.intersects() has some surprising behavior with comparing ranges\n // with pre-release versions. We add '^' to ensure that we are always\n // comparing ranges with ranges, which sidesteps this logic.\n // For example:\n //\n // semver.intersects(`<7.0.1`, \"7.0.0-beta.0\") // false - surprising\n // semver.intersects(`<7.0.1`, \"^7.0.0-beta.0\") // true - expected\n //\n // This is because the first falls back to\n //\n // semver.satisfies(\"7.0.0-beta.0\", `<7.0.1`) // false - surprising\n //\n // and this fails because a prerelease version can only satisfy a range\n // if it is a prerelease within the same major/minor/patch range.\n //\n // Note: If this is found to have issues, please also revisit the logic in\n // transform-runtime's definitions.js file.\n if (semver.valid(versionRange)) versionRange = `^${versionRange}`;\n\n if (process.env.BABEL_8_BREAKING) {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=9.0.0`, versionRange)\n );\n } else {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=8.0.0`, versionRange)\n );\n }\n }\n\n addHelper(name: string): t.Identifier {\n if (helpers.isInternal(name)) {\n throw new Error(\"Cannot use internal helper \" + name);\n }\n return this._addHelper(name);\n }\n\n _addHelper(name: string): t.Identifier {\n const declar = this.declarations[name];\n if (declar) return cloneNode(declar);\n\n const generator = this.get(\"helperGenerator\");\n if (generator) {\n const res = generator(name);\n if (res) return res;\n }\n\n // make sure that the helper exists\n helpers.minVersion(name);\n\n const uid = (this.declarations[name] =\n this.scope.generateUidIdentifier(name));\n\n const dependencies: { [key: string]: t.Identifier } = {};\n for (const dep of helpers.getDependencies(name)) {\n dependencies[dep] = this._addHelper(dep);\n }\n\n const { nodes, globals } = helpers.get(\n name,\n dep => dependencies[dep],\n uid.name,\n Object.keys(this.scope.getAllBindings()),\n );\n\n globals.forEach(name => {\n if (this.path.scope.hasBinding(name, true /* noGlobals */)) {\n this.path.scope.rename(name);\n }\n });\n\n nodes.forEach(node => {\n // @ts-expect-error Fixme: document _compact node property\n node._compact = true;\n });\n\n const added = this.path.unshiftContainer(\"body\", nodes);\n // TODO: NodePath#unshiftContainer should automatically register new\n // bindings.\n for (const path of added) {\n if (path.isVariableDeclaration()) this.scope.registerDeclaration(path);\n }\n\n return uid;\n }\n\n buildCodeFrameError(\n node: t.Node | undefined | null,\n msg: string,\n _Error: typeof Error = SyntaxError,\n ): Error {\n let loc = node?.loc;\n\n if (!loc && node) {\n const state: { loc?: t.SourceLocation | null } = {\n loc: null,\n };\n traverse(node, errorVisitor, this.scope, state);\n loc = state.loc;\n\n let txt =\n \"This is an error on an internal node. Probably an internal error.\";\n if (loc) txt += \" Location has been estimated.\";\n\n msg += ` (${txt})`;\n }\n\n if (loc) {\n const { highlightCode = true } = this.opts;\n\n msg +=\n \"\\n\" +\n codeFrameColumns(\n this.code,\n {\n start: {\n line: loc.start.line,\n column: loc.start.column + 1,\n },\n end:\n loc.end && loc.start.line === loc.end.line\n ? {\n line: loc.end.line,\n column: loc.end.column + 1,\n }\n : undefined,\n },\n { highlightCode },\n );\n }\n\n return new _Error(msg);\n }\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-expect-error Babel 7\n File.prototype.addImport = function addImport() {\n throw new Error(\n \"This API has been removed. If you're looking for this \" +\n \"functionality in Babel 7, you should import the \" +\n \"'@babel/helper-module-imports' module and use the functions exposed \" +\n \" from that module, such as 'addNamed' or 'addDefault'.\",\n );\n };\n // @ts-expect-error Babel 7\n File.prototype.addTemplateObject = function addTemplateObject() {\n throw new Error(\n \"This function has been moved into the template literal transform itself.\",\n );\n };\n\n if (!USE_ESM || IS_STANDALONE) {\n // @ts-expect-error Babel 7\n File.prototype.getModuleName = function getModuleName() {\n return babel7.getModuleName()(this.opts, this.opts);\n };\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,GAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,EAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKA,IAAAM,cAAA,GAAAL,OAAA;AAAuH;EAP9GM,SAAS;EAAEC;AAAoB,IAAAJ,EAAA;AAUxC,MAAMK,YAAuD,GAAG;EAC9DC,KAAKA,CAACC,IAAI,EAAEC,KAAK,EAAE;IACjB,MAAMC,GAAG,GAAGF,IAAI,CAACG,IAAI,CAACD,GAAG;IACzB,IAAIA,GAAG,EAAE;MACPD,KAAK,CAACC,GAAG,GAAGA,GAAG;MACfF,IAAI,CAACI,IAAI,CAAC,CAAC;IACb;EACF;AACF,CAAC;AAEc,MAAMC,IAAI,CAAC;EAoBxBC,WAAWA,CAACC,OAAY,EAAE;IAAEC,IAAI;IAAEC,GAAG;IAAEC;EAAyB,CAAC,EAAE;IAAA,KAnBnEC,IAAI,GAA0B,IAAIC,GAAG,C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AAI,CAAC;IACrD,CAAC;EACH;AACF;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["helpers","data","require","_traverse","_codeFrame","_t","_semver","_babel7Helpers","cloneNode","interpreterDirective","traverseFast","File","constructor","options","code","ast","inputMap","_map","Map","opts","declarations","path","scope","metadata","hub","file","getCode","getScope","addHelper","bind","buildError","buildCodeFrameError","NodePath","get","parentPath","parent","container","key","setContext","shebang","interpreter","node","value","replaceWith","remove","set","val","Error","has","availableHelper","name","versionRange","isInternal","minVersion","err","semver","valid","intersects","_addHelper","declar","generator","res","uid","generateUidIdentifier","dependencies","dep","getDependencies","nodes","globals","Object","keys","getAllBindings","forEach","hasBinding","rename","_compact","added","unshiftContainer","isVariableDeclaration","registerDeclaration","msg","_Error","SyntaxError","loc","stop","txt","highlightCode","codeFrameColumns","start","line","column","end","undefined","exports","default","prototype","addImport","addTemplateObject","getModuleName","babel7"],"sources":["../../../src/transformation/file/file.ts"],"sourcesContent":["import * as helpers from \"@babel/helpers\";\nimport { NodePath } from \"@babel/traverse\";\nimport type { HubInterface, Scope } from \"@babel/traverse\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport { cloneNode, interpreterDirective, traverseFast } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport semver from \"semver\";\n\nimport type { NormalizedFile } from \"../normalize-file.ts\";\n\n// @ts-expect-error This file is `any`\nimport babel7 from \"./babel-7-helpers.cjs\" with { if: \"!process.env.BABEL_8_BREAKING && (!USE_ESM || IS_STANDALONE)\" };\nimport type { ResolvedOptions } from \"../../config/validation/options.ts\";\nimport type { SourceMapConverter } from \"convert-source-map\";\n\nexport default class File {\n _map: Map<unknown, unknown> = new Map();\n opts: ResolvedOptions;\n declarations: Record<string, t.Identifier> = {};\n path: NodePath<t.Program>;\n ast: t.File;\n scope: Scope;\n metadata: Record<string, any> = {};\n code: string = \"\";\n inputMap: SourceMapConverter;\n\n hub: HubInterface & { file: File } = {\n // keep it for the usage in babel-core, ex: path.hub.file.opts.filename\n file: this,\n getCode: () => this.code,\n getScope: () => this.scope,\n addHelper: this.addHelper.bind(this),\n buildError: this.buildCodeFrameError.bind(this),\n };\n\n constructor(\n options: ResolvedOptions,\n { code, ast, inputMap }: NormalizedFile,\n ) {\n this.opts = options;\n this.code = code;\n this.ast = ast;\n this.inputMap = inputMap;\n\n this.path = NodePath.get({\n hub: this.hub,\n parentPath: null,\n parent: this.ast,\n container: this.ast,\n key: \"program\",\n }).setContext() as NodePath<t.Program>;\n this.scope = this.path.scope;\n }\n\n /**\n * Provide backward-compatible access to the interpreter directive handling\n * in Babel 6.x. If you are writing a plugin for Babel 7.x, it would be\n * best to use 'program.interpreter' directly.\n */\n get shebang(): string {\n const { interpreter } = this.path.node;\n return interpreter ? interpreter.value : \"\";\n }\n set shebang(value: string) {\n if (value) {\n this.path.get(\"interpreter\").replaceWith(interpreterDirective(value));\n } else {\n this.path.get(\"interpreter\").remove();\n }\n }\n\n set(key: unknown, val: unknown) {\n if (!process.env.BABEL_8_BREAKING) {\n if (key === \"helpersNamespace\") {\n throw new Error(\n \"Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.\" +\n \"If you are using @babel/plugin-external-helpers you will need to use a newer \" +\n \"version than the one you currently have installed. \" +\n \"If you have your own implementation, you'll want to explore using 'helperGenerator' \" +\n \"alongside 'file.availableHelper()'.\",\n );\n }\n }\n\n this._map.set(key, val);\n }\n\n get(key: unknown): any {\n return this._map.get(key);\n }\n\n has(key: unknown): boolean {\n return this._map.has(key);\n }\n\n /**\n * Check if a given helper is available in @babel/core's helper list.\n *\n * This _also_ allows you to pass a Babel version specifically. If the\n * helper exists, but was not available for the full given range, it will be\n * considered unavailable.\n */\n availableHelper(name: string, versionRange?: string | null): boolean {\n if (helpers.isInternal(name)) return false;\n\n let minVersion;\n try {\n minVersion = helpers.minVersion(name);\n } catch (err) {\n if (err.code !== \"BABEL_HELPER_UNKNOWN\") throw err;\n\n return false;\n }\n\n if (typeof versionRange !== \"string\") return true;\n\n // semver.intersects() has some surprising behavior with comparing ranges\n // with pre-release versions. We add '^' to ensure that we are always\n // comparing ranges with ranges, which sidesteps this logic.\n // For example:\n //\n // semver.intersects(`<7.0.1`, \"7.0.0-beta.0\") // false - surprising\n // semver.intersects(`<7.0.1`, \"^7.0.0-beta.0\") // true - expected\n //\n // This is because the first falls back to\n //\n // semver.satisfies(\"7.0.0-beta.0\", `<7.0.1`) // false - surprising\n //\n // and this fails because a prerelease version can only satisfy a range\n // if it is a prerelease within the same major/minor/patch range.\n //\n // Note: If this is found to have issues, please also revisit the logic in\n // transform-runtime's definitions.js file.\n if (semver.valid(versionRange)) versionRange = `^${versionRange}`;\n\n if (process.env.BABEL_8_BREAKING) {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=9.0.0`, versionRange)\n );\n } else {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=8.0.0`, versionRange)\n );\n }\n }\n\n addHelper(name: string): t.Identifier {\n if (helpers.isInternal(name)) {\n throw new Error(\"Cannot use internal helper \" + name);\n }\n return this._addHelper(name);\n }\n\n _addHelper(name: string): t.Identifier {\n const declar = this.declarations[name];\n if (declar) return cloneNode(declar);\n\n const generator = this.get(\"helperGenerator\");\n if (generator) {\n const res = generator(name);\n if (res) return res;\n }\n\n // make sure that the helper exists\n helpers.minVersion(name);\n\n const uid = (this.declarations[name] =\n this.scope.generateUidIdentifier(name));\n\n const dependencies: { [key: string]: t.Identifier } = {};\n for (const dep of helpers.getDependencies(name)) {\n dependencies[dep] = this._addHelper(dep);\n }\n\n const { nodes, globals } = helpers.get(\n name,\n dep => dependencies[dep],\n uid.name,\n Object.keys(this.scope.getAllBindings()),\n );\n\n globals.forEach(name => {\n if (this.path.scope.hasBinding(name, true /* noGlobals */)) {\n this.path.scope.rename(name);\n }\n });\n\n nodes.forEach(node => {\n // @ts-expect-error Fixme: document _compact node property\n node._compact = true;\n });\n\n const added = this.path.unshiftContainer(\"body\", nodes);\n // TODO: NodePath#unshiftContainer should automatically register new\n // bindings.\n for (const path of added) {\n if (path.isVariableDeclaration()) this.scope.registerDeclaration(path);\n }\n\n return uid;\n }\n\n buildCodeFrameError(\n node: t.Node | undefined | null,\n msg: string,\n _Error: typeof Error = SyntaxError,\n ): Error {\n let loc = node?.loc;\n\n if (!loc && node) {\n traverseFast(node, function (node) {\n if (node.loc) {\n loc = node.loc;\n return traverseFast.stop;\n }\n });\n\n let txt =\n \"This is an error on an internal node. Probably an internal error.\";\n if (loc) txt += \" Location has been estimated.\";\n\n msg += ` (${txt})`;\n }\n\n if (loc) {\n const { highlightCode = true } = this.opts;\n\n msg +=\n \"\\n\" +\n codeFrameColumns(\n this.code,\n {\n start: {\n line: loc.start.line,\n column: loc.start.column + 1,\n },\n end:\n loc.end && loc.start.line === loc.end.line\n ? {\n line: loc.end.line,\n column: loc.end.column + 1,\n }\n : undefined,\n },\n { highlightCode },\n );\n }\n\n return new _Error(msg);\n }\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-expect-error Babel 7\n File.prototype.addImport = function addImport() {\n throw new Error(\n \"This API has been removed. If you're looking for this \" +\n \"functionality in Babel 7, you should import the \" +\n \"'@babel/helper-module-imports' module and use the functions exposed \" +\n \" from that module, such as 'addNamed' or 'addDefault'.\",\n );\n };\n // @ts-expect-error Babel 7\n File.prototype.addTemplateObject = function addTemplateObject() {\n throw new Error(\n \"This function has been moved into the template literal transform itself.\",\n );\n };\n\n if (!USE_ESM || IS_STANDALONE) {\n // @ts-expect-error Babel 7\n File.prototype.getModuleName = function getModuleName() {\n return babel7.getModuleName()(this.opts, this.opts);\n };\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAA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EP,GAAG,CAACQ,GAAG,CAACD,MAAM,GAAG;QAC3B,CAAC,GACDE;MACR,CAAC,EACD;QAAEN;MAAc,CAClB,CAAC;IACL;IAEA,OAAO,IAAIL,MAAM,CAACD,GAAG,CAAC;EACxB;AACF;AAACa,OAAA,CAAAC,OAAA,GAAAnF,IAAA;AAEkC;EAEjCA,IAAI,CAACoF,SAAS,CAACC,SAAS,GAAG,SAASA,SAASA,CAAA,EAAG;IAC9C,MAAM,IAAIjD,KAAK,CACb,wDAAwD,GACtD,kDAAkD,GAClD,sEAAsE,GACtE,wDACJ,CAAC;EACH,CAAC;EAEDpC,IAAI,CAACoF,SAAS,CAACE,iBAAiB,GAAG,SAASA,iBAAiBA,CAAA,EAAG;IAC9D,MAAM,IAAIlD,KAAK,CACb,0EACF,CAAC;EACH,CAAC;EAE8B;IAE7BpC,IAAI,CAACoF,SAAS,CAACG,aAAa,GAAG,SAASA,aAAaA,CAAA,EAAG;MACtD,OAAOC,cAAM,CAACD,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC/E,IAAI,EAAE,IAAI,CAACA,IAAI,CAAC;IACrD,CAAC;EACH;AACF;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_traverse","data","require","_pluginPass","_blockHoistPlugin","_normalizeOpts","_normalizeFile","_generate","_deepArray","_async","run","config","code","ast","file","normalizeFile","passes","normalizeOptions","opts","transformFile","e","_opts$filename","message","filename","outputCode","outputMap","generateCode","_opts$filename2","metadata","options","undefined","map","sourceType","program","externalDependencies","flattenToSet","pluginPasses","async","isAsync","pluginPairs","passPairs","visitors","plugin","concat","loadBlockHoistPlugin","pass","PluginPass","key","push","visitor","pre","fn","maybeAsync","call","traverse","merge","wrapPluginVisitorMethod","scope","post"],"sources":["../../src/transformation/index.ts"],"sourcesContent":["import traverse from \"@babel/traverse\";\nimport type * as t from \"@babel/types\";\nimport type { GeneratorResult } from \"@babel/generator\";\n\nimport type { Handler } from \"gensync\";\n\nimport type { ResolvedConfig, Plugin, PluginPasses } from \"../config/index.ts\";\n\nimport PluginPass from \"./plugin-pass.ts\";\nimport loadBlockHoistPlugin from \"./block-hoist-plugin.ts\";\nimport normalizeOptions from \"./normalize-opts.ts\";\nimport normalizeFile from \"./normalize-file.ts\";\n\nimport generateCode from \"./file/generate.ts\";\nimport type File from \"./file/file.ts\";\n\nimport { flattenToSet } from \"../config/helpers/deep-array.ts\";\nimport { isAsync, maybeAsync } from \"../gensync-utils/async.ts\";\n\nexport type FileResultCallback = {\n (err: Error, file: null): void;\n (err: null, file: FileResult | null): void;\n};\n\nexport type FileResult = {\n metadata: { [key: string]: any };\n options: { [key: string]: any };\n ast: t.File | null;\n code: string | null;\n map: GeneratorResult[\"map\"];\n sourceType: \"script\" | \"module\";\n externalDependencies: Set<string>;\n};\n\nexport function* run(\n config: ResolvedConfig,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler<FileResult> {\n const file = yield* normalizeFile(\n config.passes,\n normalizeOptions(config),\n code,\n ast,\n );\n\n const opts = file.opts;\n try {\n yield* transformFile(file, config.passes);\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_TRANSFORM_ERROR\";\n }\n throw e;\n }\n\n let outputCode, outputMap;\n try {\n if (opts.code !== false) {\n ({ outputCode, outputMap } = generateCode(config.passes, file));\n }\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_GENERATE_ERROR\";\n }\n throw e;\n }\n\n return {\n metadata: file.metadata,\n options: opts,\n ast: opts.ast === true ? file.ast : null,\n code: outputCode === undefined ? null : outputCode,\n map: outputMap === undefined ? null : outputMap,\n sourceType: file.ast.program.sourceType,\n externalDependencies: flattenToSet(config.externalDependencies),\n };\n}\n\nfunction* transformFile(file: File, pluginPasses: PluginPasses): Handler<void> {\n const async = yield* isAsync();\n\n for (const pluginPairs of pluginPasses) {\n const passPairs: [Plugin, PluginPass][] = [];\n const passes = [];\n const visitors = [];\n\n for (const plugin of pluginPairs.concat([loadBlockHoistPlugin()])) {\n const pass = new PluginPass(file, plugin.key, plugin.options, async);\n\n passPairs.push([plugin, pass]);\n passes.push(pass);\n visitors.push(plugin.visitor);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.pre) {\n const fn = maybeAsync(\n plugin.pre,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n\n // merge all plugin visitors into a single visitor\n const visitor = traverse.visitors.merge(\n visitors,\n passes,\n file.opts.wrapPluginVisitorMethod,\n );\n if (process.env.BABEL_8_BREAKING) {\n traverse(file.ast.program, visitor, file.scope, null, file.path, true);\n } else {\n traverse(file.ast, visitor, file.scope);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.post) {\n const fn = maybeAsync(\n plugin.post,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,IAAAE,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAL,OAAA;AAGA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAiBO,UAAUQ,GAAGA,CAClBC,MAAsB,EACtBC,IAAY,EACZC,GAA+B,EACV;EACrB,MAAMC,IAAI,GAAG,OAAO,IAAAC,sBAAa,EAC/BJ,MAAM,CAACK,MAAM,EACb,IAAAC,sBAAgB,EAACN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BACZ,CAAC;IAGM;MACL,IAAAF,mBAAQ,EAACxC,IAAI,CAACD,GAAG,EAAEoC,OAAO,EAAEnC,IAAI,CAAC2C,KAAK,CAAC;IACzC;IAEA,KAAK,MAAM,CAACf,MAAM,EAAEG,IAAI,CAAC,IAAIL,SAAS,EAAE;MACtC,IAAIE,MAAM,CAACgB,IAAI,EAAE;QACf,MAAMP,EAAE,GAAG,IAAAC,iBAAU,EACnBV,MAAM,CAACgB,IAAI,EACX,wFACF,CAAC;QAGD,OAAOP,EAAE,CAACE,IAAI,CAACR,IAAI,EAAE/B,IAAI,CAAC;MAC5B;IACF;EACF;AACF;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_traverse","data","require","_pluginPass","_blockHoistPlugin","_normalizeOpts","_normalizeFile","_generate","_deepArray","_async","run","config","code","ast","file","normalizeFile","passes","normalizeOptions","opts","transformFile","e","_opts$filename","message","filename","outputCode","outputMap","generateCode","_opts$filename2","metadata","options","undefined","map","sourceType","program","externalDependencies","flattenToSet","pluginPasses","async","isAsync","pluginPairs","passPairs","visitors","plugin","concat","loadBlockHoistPlugin","pass","PluginPass","key","push","visitor","pre","fn","maybeAsync","call","traverse","merge","wrapPluginVisitorMethod","scope","post"],"sources":["../../src/transformation/index.ts"],"sourcesContent":["import traverse from \"@babel/traverse\";\nimport type * as t from \"@babel/types\";\nimport type { GeneratorResult } from \"@babel/generator\";\n\nimport type { Handler } from \"gensync\";\n\nimport type { ResolvedConfig, Plugin, PluginPasses } from \"../config/index.ts\";\n\nimport PluginPass from \"./plugin-pass.ts\";\nimport loadBlockHoistPlugin from \"./block-hoist-plugin.ts\";\nimport normalizeOptions from \"./normalize-opts.ts\";\nimport normalizeFile from \"./normalize-file.ts\";\n\nimport generateCode from \"./file/generate.ts\";\nimport type File from \"./file/file.ts\";\n\nimport { flattenToSet } from \"../config/helpers/deep-array.ts\";\nimport { isAsync, maybeAsync } from \"../gensync-utils/async.ts\";\nimport type { SourceTypeOption } from \"../config/validation/options.ts\";\n\nexport type FileResultCallback = {\n (err: Error, file: null): void;\n (err: null, file: FileResult | null): void;\n};\n\nexport type FileResult = {\n metadata: Record<string, any>;\n options: Record<string, any>;\n ast: t.File | null;\n code: string | null;\n map: GeneratorResult[\"map\"];\n sourceType: Exclude<SourceTypeOption, \"unambiguous\">;\n externalDependencies: Set<string>;\n};\n\nexport function* run(\n config: ResolvedConfig,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler<FileResult> {\n const file = yield* normalizeFile(\n config.passes,\n normalizeOptions(config),\n code,\n ast,\n );\n\n const opts = file.opts;\n try {\n yield* transformFile(file, config.passes);\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_TRANSFORM_ERROR\";\n }\n throw e;\n }\n\n let outputCode, outputMap;\n try {\n if (opts.code !== false) {\n ({ outputCode, outputMap } = generateCode(config.passes, file));\n }\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_GENERATE_ERROR\";\n }\n throw e;\n }\n\n return {\n metadata: file.metadata,\n options: opts,\n ast: opts.ast === true ? file.ast : null,\n code: outputCode === undefined ? null : outputCode,\n map: outputMap === undefined ? null : outputMap,\n sourceType: file.ast.program.sourceType,\n externalDependencies: flattenToSet(config.externalDependencies),\n };\n}\n\nfunction* transformFile(file: File, pluginPasses: PluginPasses): Handler<void> {\n const async = yield* isAsync();\n\n for (const pluginPairs of pluginPasses) {\n const passPairs: [Plugin, PluginPass][] = [];\n const passes = [];\n const visitors = [];\n\n for (const plugin of pluginPairs.concat([loadBlockHoistPlugin()])) {\n const pass = new PluginPass(file, plugin.key, plugin.options, async);\n\n passPairs.push([plugin, pass]);\n passes.push(pass);\n visitors.push(plugin.visitor);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.pre) {\n const fn = maybeAsync(\n plugin.pre,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n\n // merge all plugin visitors into a single visitor\n const visitor = traverse.visitors.merge(\n visitors,\n passes,\n file.opts.wrapPluginVisitorMethod,\n );\n if (process.env.BABEL_8_BREAKING) {\n traverse(file.ast.program, visitor, file.scope, null, file.path, true);\n } else {\n traverse(file.ast, visitor, file.scope);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.post) {\n const fn = maybeAsync(\n plugin.post,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,IAAAE,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAL,OAAA;AAGA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAkBO,UAAUQ,GAAGA,CAClBC,MAAsB,EACtBC,IAAY,EACZC,GAA+B,EACV;EACrB,MAAMC,IAAI,GAAG,OAAO,IAAAC,sBAAa,EAC/BJ,MAAM,CAACK,MAAM,EACb,IAAAC,sBAAgB,EAACN,MAAM,CAAC,EACxBC,IAAI,EACJC,GACF,CAAC;EAED,MAAMK,IAAI,GAAGJ,IAAI,CAACI,IAAI;EACtB,IAAI;IACF,OAAOC,aAAa,CAACL,IAAI,EAAEH,MAAM,CAACK,MAAM,CAAC;EAC3C,CAAC,CAAC,OAAOI,CAAC,EAAE;IAAA,IAAAC,cAAA;IACVD,CAAC,CAACE,OAAO,GAAG,IAAAD,cAAA,GAAGH,IAAI,CAAC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AACgB,IAAI,EACX,wFACF,CAAC;QAGD,OAAOP,EAAE,CAACE,IAAI,CAACR,IAAI,EAAE/B,IAAI,CAAC;MAC5B;IACF;EACF;AACF;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_fs","data","require","_path","_debug","_t","_convertSourceMap","_file","_index","_cloneDeep","file","traverseFast","debug","buildDebug","INLINE_SOURCEMAP_REGEX","EXTERNAL_SOURCEMAP_REGEX","normalizeFile","pluginPasses","options","code","ast","type","Error","cloneInputAst","cloneDeep","parser","inputMap","inputSourceMap","convertSourceMap","fromObject","lastComment","extractComments","fromComment","err","filename","match","exec","inputMapContent","fs","readFileSync","path","resolve","dirname","fromJSON","File","extractCommentsFromList","regex","comments","filter","value","test","node","leadingComments","innerComments","trailingComments"],"sources":["../../src/transformation/normalize-file.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { file, traverseFast } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type { NormalizedOptions, PluginPasses } from \"../config/index.ts\";\nimport convertSourceMap from \"convert-source-map\";\nimport type { SourceMapConverter as Converter } from \"convert-source-map\";\nimport File from \"./file/file.ts\";\nimport parser from \"../parser/index.ts\";\nimport cloneDeep from \"./util/clone-deep.ts\";\n\nconst debug = buildDebug(\"babel:transform:file\");\n\n// These regexps are copied from the convert-source-map package,\n// but without // or /* at the beginning of the comment.\n\nconst INLINE_SOURCEMAP_REGEX =\n /^[@#]\\s+sourceMappingURL=data:(?:application|text)\\/json;(?:charset[:=]\\S+?;)?base64,.*$/;\nconst EXTERNAL_SOURCEMAP_REGEX =\n /^[@#][ \\t]+sourceMappingURL=([^\\s'\"`]+)[ \\t]*$/;\n\nexport type NormalizedFile = {\n code: string;\n ast: t.File;\n inputMap: Converter | null;\n};\n\nexport default function* normalizeFile(\n pluginPasses: PluginPasses,\n options: NormalizedOptions,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler<File> {\n code = `${code || \"\"}`;\n\n if (ast) {\n if (ast.type === \"Program\") {\n ast = file(ast, [], []);\n } else if (ast.type !== \"File\") {\n throw new Error(\"AST root must be a Program or File node\");\n }\n\n if (options.cloneInputAst) {\n ast = cloneDeep(ast);\n }\n } else {\n ast = yield* parser(pluginPasses, options, code);\n }\n\n let inputMap = null;\n if (options.inputSourceMap !== false) {\n // If an explicit object is passed in, it overrides the processing of\n // source maps that may be in the file itself.\n if (typeof options.inputSourceMap === \"object\") {\n inputMap = convertSourceMap.fromObject(options.inputSourceMap);\n }\n\n if (!inputMap) {\n const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);\n if (lastComment) {\n try {\n inputMap = convertSourceMap.fromComment(\"//\" + lastComment);\n } catch (err) {\n if (process.env.BABEL_8_BREAKING) {\n console.warn(\n \"discarding unknown inline input sourcemap\",\n options.filename,\n err,\n );\n } else {\n debug(\"discarding unknown inline input sourcemap\");\n }\n }\n }\n }\n\n if (!inputMap) {\n const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);\n if (typeof options.filename === \"string\" && lastComment) {\n try {\n // when `lastComment` is non-null, EXTERNAL_SOURCEMAP_REGEX must have matches\n const match: [string, string] = EXTERNAL_SOURCEMAP_REGEX.exec(\n lastComment,\n ) as any;\n const inputMapContent = fs.readFileSync(\n path.resolve(path.dirname(options.filename), match[1]),\n \"utf8\",\n );\n inputMap = convertSourceMap.fromJSON(inputMapContent);\n } catch (err) {\n debug(\"discarding unknown file input sourcemap\", err);\n }\n } else if (lastComment) {\n debug(\"discarding un-loadable file input sourcemap\");\n }\n }\n }\n\n return new File(options, {\n code,\n ast: ast,\n inputMap,\n });\n}\n\nfunction extractCommentsFromList(\n regex: RegExp,\n comments: t.Comment[],\n lastComment: string | null,\n): [t.Comment[], string | null] {\n if (comments) {\n comments = comments.filter(({ value }) => {\n if (regex.test(value)) {\n lastComment = value;\n return false;\n }\n return true;\n });\n }\n return [comments, lastComment];\n}\n\nfunction extractComments(regex: RegExp, ast: t.Node) {\n let lastComment: string = null;\n traverseFast(ast, node => {\n [node.leadingComments, lastComment] = extractCommentsFromList(\n regex,\n node.leadingComments,\n lastComment,\n );\n [node.innerComments, lastComment] = extractCommentsFromList(\n regex,\n node.innerComments,\n lastComment,\n );\n [node.trailingComments, lastComment] = extractCommentsFromList(\n regex,\n node.trailingComments,\n lastComment,\n );\n });\n return lastComment;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,GAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,EAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAK,kBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,iBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAM,KAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAA6C;EAPpCQ,IAAI;EAAEC;AAAY,IAAAN,EAAA;AAS3B,MAAMO,KAAK,GAAGC,OAASA,CAAC,CAAC,sBAAsB,CAAC;AAKhD,MAAMC,sBAAsB,GAC1B,0FAA0F;AAC5F,MAAMC,wBAAwB,GAC5B,gDAAgD;AAQnC,UAAUC,aAAaA,CAC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EtB,WAAW,CAAC,GAAGe,uBAAuB,CAC3DC,KAAK,EACLK,IAAI,CAACC,eAAe,EACpBtB,WACF,CAAC;IACD,CAACqB,IAAI,CAACE,aAAa,EAAEvB,WAAW,CAAC,GAAGe,uBAAuB,CACzDC,KAAK,EACLK,IAAI,CAACE,aAAa,EAClBvB,WACF,CAAC;IACD,CAACqB,IAAI,CAACG,gBAAgB,EAAExB,WAAW,CAAC,GAAGe,uBAAuB,CAC5DC,KAAK,EACLK,IAAI,CAACG,gBAAgB,EACrBxB,WACF,CAAC;EACH,CAAC,CAAC;EACF,OAAOA,WAAW;AACpB;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_fs","data","require","_path","_debug","_t","_convertSourceMap","_file","_index","_cloneDeep","file","traverseFast","debug","buildDebug","INLINE_SOURCEMAP_REGEX","EXTERNAL_SOURCEMAP_REGEX","normalizeFile","pluginPasses","options","code","ast","type","Error","cloneInputAst","cloneDeep","parser","inputMap","inputSourceMap","convertSourceMap","fromObject","lastComment","extractComments","fromComment","err","filename","match","exec","inputMapContent","fs","readFileSync","path","resolve","dirname","fromJSON","File","extractCommentsFromList","regex","comments","filter","value","test","node","leadingComments","innerComments","trailingComments"],"sources":["../../src/transformation/normalize-file.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { file, traverseFast } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type { PluginPasses } from \"../config/index.ts\";\nimport convertSourceMap from \"convert-source-map\";\nimport type { SourceMapConverter as Converter } from \"convert-source-map\";\nimport File from \"./file/file.ts\";\nimport parser from \"../parser/index.ts\";\nimport cloneDeep from \"./util/clone-deep.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nconst debug = buildDebug(\"babel:transform:file\");\n\n// These regexps are copied from the convert-source-map package,\n// but without // or /* at the beginning of the comment.\n\nconst INLINE_SOURCEMAP_REGEX =\n /^[@#]\\s+sourceMappingURL=data:(?:application|text)\\/json;(?:charset[:=]\\S+?;)?base64,.*$/;\nconst EXTERNAL_SOURCEMAP_REGEX =\n /^[@#][ \\t]+sourceMappingURL=([^\\s'\"`]+)[ \\t]*$/;\n\nexport type NormalizedFile = {\n code: string;\n ast: t.File;\n inputMap: Converter | null;\n};\n\nexport default function* normalizeFile(\n pluginPasses: PluginPasses,\n options: ResolvedOptions,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler<File> {\n code = `${code || \"\"}`;\n\n if (ast) {\n if (ast.type === \"Program\") {\n ast = file(ast, [], []);\n } else if (ast.type !== \"File\") {\n throw new Error(\"AST root must be a Program or File node\");\n }\n\n if (options.cloneInputAst) {\n ast = cloneDeep(ast);\n }\n } else {\n ast = yield* parser(pluginPasses, options, code);\n }\n\n let inputMap = null;\n if (options.inputSourceMap !== false) {\n // If an explicit object is passed in, it overrides the processing of\n // source maps that may be in the file itself.\n if (typeof options.inputSourceMap === \"object\") {\n inputMap = convertSourceMap.fromObject(options.inputSourceMap);\n }\n\n if (!inputMap) {\n const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);\n if (lastComment) {\n try {\n inputMap = convertSourceMap.fromComment(\"//\" + lastComment);\n } catch (err) {\n if (process.env.BABEL_8_BREAKING) {\n console.warn(\n \"discarding unknown inline input sourcemap\",\n options.filename,\n err,\n );\n } else {\n debug(\"discarding unknown inline input sourcemap\");\n }\n }\n }\n }\n\n if (!inputMap) {\n const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);\n if (typeof options.filename === \"string\" && lastComment) {\n try {\n // when `lastComment` is non-null, EXTERNAL_SOURCEMAP_REGEX must have matches\n const match: [string, string] = EXTERNAL_SOURCEMAP_REGEX.exec(\n lastComment,\n ) as any;\n const inputMapContent = fs.readFileSync(\n path.resolve(path.dirname(options.filename), match[1]),\n \"utf8\",\n );\n inputMap = convertSourceMap.fromJSON(inputMapContent);\n } catch (err) {\n debug(\"discarding unknown file input sourcemap\", err);\n }\n } else if (lastComment) {\n debug(\"discarding un-loadable file input sourcemap\");\n }\n }\n }\n\n return new File(options, {\n code,\n ast: ast,\n inputMap,\n });\n}\n\nfunction extractCommentsFromList(\n regex: RegExp,\n comments: t.Comment[],\n lastComment: string | null,\n): [t.Comment[], string | null] {\n if (comments) {\n comments = comments.filter(({ value }) => {\n if (regex.test(value)) {\n lastComment = value;\n return false;\n }\n return true;\n });\n }\n return [comments, lastComment];\n}\n\nfunction extractComments(regex: RegExp, ast: t.Node) {\n let lastComment: string = null;\n traverseFast(ast, node => {\n [node.leadingComments, lastComment] = extractCommentsFromList(\n regex,\n node.leadingComments,\n lastComment,\n );\n [node.innerComments, lastComment] = extractCommentsFromList(\n regex,\n node.innerComments,\n lastComment,\n );\n [node.trailingComments, lastComment] = extractCommentsFromList(\n regex,\n node.trailingComments,\n lastComment,\n );\n });\n return lastComment;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,GAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,EAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAK,kBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,iBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAM,KAAA,GAAAL,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ACnB,OAAO,KAAK;MACd;MACA,OAAO,IAAI;IACb,CAAC,CAAC;EACJ;EACA,OAAO,CAACF,QAAQ,EAAEjB,WAAW,CAAC;AAChC;AAEA,SAASC,eAAeA,CAACe,KAAa,EAAE1B,GAAW,EAAE;EACnD,IAAIU,WAAmB,GAAG,IAAI;EAC9BnB,YAAY,CAACS,GAAG,EAAE+B,IAAI,IAAI;IACxB,CAACA,IAAI,CAACC,eAAe,EAAEtB,WAAW,CAAC,GAAGe,uBAAuB,CAC3DC,KAAK,EACLK,IAAI,CAACC,eAAe,EACpBtB,WACF,CAAC;IACD,CAACqB,IAAI,CAACE,aAAa,EAAEvB,WAAW,CAAC,GAAGe,uBAAuB,CACzDC,KAAK,EACLK,IAAI,CAACE,aAAa,EAClBvB,WACF,CAAC;IACD,CAACqB,IAAI,CAACG,gBAAgB,EAAExB,WAAW,CAAC,GAAGe,uBAAuB,CAC5DC,KAAK,EACLK,IAAI,CAACG,gBAAgB,EACrBxB,WACF,CAAC;EACH,CAAC,CAAC;EACF,OAAOA,WAAW;AACpB;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_path","data","require","normalizeOptions","config","filename","cwd","filenameRelative","path","relative","sourceType","inputSourceMap","sourceMaps","sourceRoot","options","moduleRoot","sourceFileName","basename","comments","compact","opts","Object","assign","parserOpts","extname","plugins","generatorOpts","auxiliaryCommentBefore","auxiliaryCommentAfter","retainLines","shouldPrintComment","minified","passes","plugin","manipulateOptions"],"sources":["../../src/transformation/normalize-opts.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { NormalizedOptions, ResolvedConfig } from \"../config/index.ts\";\n\nexport default function normalizeOptions(\n config: ResolvedConfig,\n): NormalizedOptions {\n const {\n filename,\n cwd,\n filenameRelative = typeof filename === \"string\"\n ? path.relative(cwd, filename)\n : \"unknown\",\n sourceType = \"module\",\n inputSourceMap,\n sourceMaps = !!inputSourceMap,\n sourceRoot = process.env.BABEL_8_BREAKING\n ? undefined\n : // @ts-ignore(Babel 7 vs Babel 8) moduleRoot is a Babel 7 option\n config.options.moduleRoot,\n\n sourceFileName = path.basename(filenameRelative),\n\n comments = true,\n compact = \"auto\",\n } = config.options;\n\n const opts = config.options;\n\n const options: NormalizedOptions = {\n ...opts,\n\n parserOpts: {\n sourceType:\n path.extname(filenameRelative) === \".mjs\" ? \"module\" : sourceType,\n\n // @ts-expect-error We should have passed `sourceFilename` here\n // pending https://github.com/babel/babel/issues/15917#issuecomment-2789278964\n sourceFileName: filename,\n plugins: [],\n ...opts.parserOpts,\n },\n\n generatorOpts: {\n // General generator flags.\n filename,\n\n auxiliaryCommentBefore: opts.auxiliaryCommentBefore,\n auxiliaryCommentAfter: opts.auxiliaryCommentAfter,\n retainLines: opts.retainLines,\n comments,\n shouldPrintComment: opts.shouldPrintComment,\n compact,\n minified: opts.minified,\n\n // Source-map generation flags.\n // babel-generator does not differentiate between `true`, `\"inline\"` or `\"both\"`\n sourceMaps: !!sourceMaps,\n sourceRoot,\n sourceFileName,\n\n ...opts.generatorOpts,\n },\n };\n\n for (const plugins of config.passes) {\n for (const plugin of plugins) {\n if (plugin.manipulateOptions) {\n plugin.manipulateOptions(options, options.parserOpts);\n }\n }\n }\n\n return options;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGe,SAASE,gBAAgBA,CACtCC,MAAsB,EACH;EACnB,MAAM;IACJC,QAAQ;IACRC,GAAG;IACHC,gBAAgB,GAAG,OAAOF,QAAQ,KAAK,QAAQ,GAC3CG,MAAGA,CAAC,CAACC,QAAQ,CAACH,GAAG,EAAED,QAAQ,CAAC,GAC5B,SAAS;IACbK,UAAU,GAAG,QAAQ;IACrBC,cAAc;IACdC,UAAU,GAAG,CAAC,CAACD,cAAc;IAC7BE,UAAU,GAGNT,MAAM,CAACU,OAAO,CAACC,UAAU;IAE7BC,cAAc,GAAGR,MAAGA,CAAC,CAACS,QAAQ,CAACV,gBAAgB,CAAC;IAEhDW,QAAQ,GAAG,IAAI;IACfC,OAAO,GAAG;EACZ,CAAC,GAAGf,MAAM,CAACU,OAAO;EAElB,MAAMM,IAAI,GAAGhB,MAAM,CAACU,OAAO;EAE3B,MAAMA,OAA0B,GAAAO,MAAA,CAAAC,MAAA,KAC3BF,IAAI;IAEPG,UAAU,EAAAF,MAAA,CAAAC,MAAA;MACRZ,UAAU,EACRF,MAAGA,CAAC,CAACgB,OAAO,CAACjB,gBAAgB,CAAC,KAAK,MAAM,GAAG,QAAQ,GAAGG,UAAU;MAInEM,cAAc,EAAEX,QAAQ;MACxBoB,OAAO,EAAE;IAAE,GACRL,IAAI,CAACG,UAAU,CACnB;IAEDG,aAAa,EAAAL,MAAA,CAAAC,MAAA;MAEXjB,QAAQ;MAERsB,sBAAsB,EAAEP,IAAI,CAACO,sBAAsB;MACnDC,qBAAqB,EAAER,IAAI,CAACQ,qBAAqB;MACjDC,WAAW,EAAET,IAAI,CAACS,WAAW;MAC7BX,QAAQ;MACRY,kBAAkB,EAAEV,IAAI,CAACU,kBAAkB;MAC3CX,OAAO;MACPY,QAAQ,EAAEX,IAAI,CAACW,QAAQ;MAIvBnB,UAAU,EAAE,CAAC,CAACA,UAAU;MACxBC,UAAU;MACVG;IAAc,GAEXI,IAAI,CAACM,aAAa;EACtB,EACF;EAED,KAAK,MAAMD,OAAO,IAAIrB,MAAM,CAAC4B,MAAM,EAAE;IACnC,KAAK,MAAMC,MAAM,IAAIR,OAAO,EAAE;MAC5B,IAAIQ,MAAM,CAACC,iBAAiB,EAAE;QAC5BD,MAAM,CAACC,iBAAiB,CAACpB,OAAO,EAAEA,OAAO,CAACS,UAAU,CAAC;MACvD;IACF;EACF;EAEA,OAAOT,OAAO;AAChB;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_path","data","require","normalizeOptions","config","filename","cwd","filenameRelative","path","relative","sourceType","inputSourceMap","sourceMaps","sourceRoot","options","moduleRoot","sourceFileName","basename","comments","compact","opts","Object","assign","parserOpts","extname","plugins","generatorOpts","auxiliaryCommentBefore","auxiliaryCommentAfter","retainLines","shouldPrintComment","minified","passes","plugin","manipulateOptions"],"sources":["../../src/transformation/normalize-opts.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { ResolvedConfig } from \"../config/index.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nexport default function normalizeOptions(\n config: ResolvedConfig,\n): ResolvedOptions {\n const {\n filename,\n cwd,\n filenameRelative = typeof filename === \"string\"\n ? path.relative(cwd, filename)\n : \"unknown\",\n sourceType = \"module\",\n inputSourceMap,\n sourceMaps = !!inputSourceMap,\n sourceRoot = process.env.BABEL_8_BREAKING\n ? undefined\n : // @ts-ignore(Babel 7 vs Babel 8) moduleRoot is a Babel 7 option\n config.options.moduleRoot,\n\n sourceFileName = path.basename(filenameRelative),\n\n comments = true,\n compact = \"auto\",\n } = config.options;\n\n const opts = config.options;\n\n const options: ResolvedOptions = {\n ...opts,\n\n parserOpts: {\n sourceType:\n path.extname(filenameRelative) === \".mjs\" ? \"module\" : sourceType,\n\n // @ts-expect-error We should have passed `sourceFilename` here\n // pending https://github.com/babel/babel/issues/15917#issuecomment-2789278964\n sourceFileName: filename,\n plugins: [],\n ...opts.parserOpts,\n },\n\n generatorOpts: {\n // General generator flags.\n filename,\n\n auxiliaryCommentBefore: opts.auxiliaryCommentBefore,\n auxiliaryCommentAfter: opts.auxiliaryCommentAfter,\n retainLines: opts.retainLines,\n comments,\n shouldPrintComment: opts.shouldPrintComment,\n compact,\n minified: opts.minified,\n\n // Source-map generation flags.\n // babel-generator does not differentiate between `true`, `\"inline\"` or `\"both\"`\n sourceMaps: !!sourceMaps,\n sourceRoot,\n sourceFileName,\n\n ...opts.generatorOpts,\n },\n };\n\n for (const plugins of config.passes) {\n for (const plugin of plugins) {\n if (plugin.manipulateOptions) {\n plugin.manipulateOptions(options, options.parser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MAC3CX,OAAO;MACPY,QAAQ,EAAEX,IAAI,CAACW,QAAQ;MAIvBnB,UAAU,EAAE,CAAC,CAACA,UAAU;MACxBC,UAAU;MACVG;IAAc,GAEXI,IAAI,CAACM,aAAa;EACtB,EACF;EAED,KAAK,MAAMD,OAAO,IAAIrB,MAAM,CAAC4B,MAAM,EAAE;IACnC,KAAK,MAAMC,MAAM,IAAIR,OAAO,EAAE;MAC5B,IAAIQ,MAAM,CAACC,iBAAiB,EAAE;QAC5BD,MAAM,CAACC,iBAAiB,CAACpB,OAAO,EAAEA,OAAO,CAACS,UAAU,CAAC;MACvD;IACF;EACF;EAEA,OAAOT,OAAO;AAChB;AAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/core",
3
- "version": "7.28.4",
3
+ "version": "7.28.5",
4
4
  "description": "Babel compiler core.",
5
5
  "main": "./lib/index.js",
6
6
  "author": "The Babel Team (https://babel.dev/team)",
@@ -47,14 +47,14 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@babel/code-frame": "^7.27.1",
50
- "@babel/generator": "^7.28.3",
50
+ "@babel/generator": "^7.28.5",
51
51
  "@babel/helper-compilation-targets": "^7.27.2",
52
52
  "@babel/helper-module-transforms": "^7.28.3",
53
53
  "@babel/helpers": "^7.28.4",
54
- "@babel/parser": "^7.28.4",
54
+ "@babel/parser": "^7.28.5",
55
55
  "@babel/template": "^7.27.2",
56
- "@babel/traverse": "^7.28.4",
57
- "@babel/types": "^7.28.4",
56
+ "@babel/traverse": "^7.28.5",
57
+ "@babel/types": "^7.28.5",
58
58
  "@jridgewell/remapping": "^2.3.5",
59
59
  "convert-source-map": "^2.0.0",
60
60
  "debug": "^4.1.0",
@@ -63,12 +63,12 @@
63
63
  "semver": "^6.3.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@babel/helper-transform-fixture-test-runner": "^7.28.3",
66
+ "@babel/helper-transform-fixture-test-runner": "^7.28.5",
67
67
  "@babel/plugin-syntax-flow": "^7.27.1",
68
68
  "@babel/plugin-transform-flow-strip-types": "^7.27.1",
69
69
  "@babel/plugin-transform-modules-commonjs": "^7.27.1",
70
- "@babel/preset-env": "^7.28.3",
71
- "@babel/preset-typescript": "^7.27.1",
70
+ "@babel/preset-env": "^7.28.5",
71
+ "@babel/preset-typescript": "^7.28.5",
72
72
  "@jridgewell/trace-mapping": "^0.3.28",
73
73
  "@types/convert-source-map": "^2.0.0",
74
74
  "@types/debug": "^4.1.0",
@@ -1,6 +1,6 @@
1
1
  /* c8 ignore start */
2
2
 
3
- import type { ValidatedOptions } from "./validation/options.ts";
3
+ import type { InputOptions } from "./validation/options.ts";
4
4
  import getTargets, {
5
5
  type InputTargets,
6
6
  } from "@babel/helper-compilation-targets";
@@ -17,7 +17,7 @@ export function resolveBrowserslistConfigFile(
17
17
  }
18
18
 
19
19
  export function resolveTargets(
20
- options: ValidatedOptions,
20
+ options: InputOptions,
21
21
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
22
  root: string,
23
23
  ): Targets {
@@ -5,7 +5,7 @@ type nodeType = typeof import("./resolve-targets");
5
5
  // exports of index-browser, since this file may be replaced at bundle time with index-browser.
6
6
  ({}) as any as browserType as nodeType;
7
7
 
8
- import type { ValidatedOptions } from "./validation/options.ts";
8
+ import type { InputOptions } from "./validation/options.ts";
9
9
  import path from "node:path";
10
10
  import getTargets, {
11
11
  type InputTargets,
@@ -20,10 +20,7 @@ export function resolveBrowserslistConfigFile(
20
20
  return path.resolve(configFileDir, browserslistConfigFile);
21
21
  }
22
22
 
23
- export function resolveTargets(
24
- options: ValidatedOptions,
25
- root: string,
26
- ): Targets {
23
+ export function resolveTargets(options: InputOptions, root: string): Targets {
27
24
  const optTargets = options.targets;
28
25
  let targets: InputTargets;
29
26
 
@@ -196,7 +196,7 @@ class Buffer {
196
196
  position.column = 0;
197
197
  last = i + 1;
198
198
  if (last < len && line !== undefined) {
199
- this._mark(++line, 0, null, null, filename);
199
+ this._mark(++line, 0, undefined, undefined, filename);
200
200
  }
201
201
  i = str.indexOf("\n", last);
202
202
  }
@@ -1 +1 @@
1
- {"version":3,"names":["Buffer","constructor","map","indentChar","_map","_buf","_str","_appendCount","_last","_queue","_queueCursor","_canMarkIdName","_indentChar","_fastIndentations","_position","line","column","_sourcePosition","identifierName","undefined","identifierNamePos","filename","i","push","repeat","_allocQueue","queue","char","_pushQueue","cursor","length","item","_popQueue","Error","get","_flush","result","code","trimRight","decodedMap","getDecoded","__mergedMap","resultMap","value","Object","defineProperty","writable","rawMappings","mappings","getRawMappings","append","str","maybeNewline","_append","appendChar","_appendChar","sourcePosition","queueIndentation","queueCursor","sourcePos","fastIndentation","String","fromCharCode","_mark","len","position","charCodeAt","indexOf","last","_this$_map","mark","removeTrailingNewline","removeLastSemicolon","getLastChar","getNewlineCount","count","endsWithCharAndNewline","lastCp","hasContent","exactSource","loc","cb","source","prop","_normalizePosition","sourceWithOffset","columnOffset","pos","target","Math","max","getCurrentColumn","lastIndex","getCurrentLine","exports","default"],"sources":["../src/buffer.ts"],"sourcesContent":["import type SourceMap from \"./source-map.ts\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charcodes from \"charcodes\";\n\nexport type Pos = {\n line: number;\n column: number;\n index: number;\n};\nexport type Loc = {\n start?: Pos;\n end?: Pos;\n filename?: string;\n};\ntype SourcePos = {\n line: number | undefined;\n column: number | undefined;\n identifierName: string | undefined;\n filename: string | undefined;\n};\ntype InternalSourcePos = SourcePos & { identifierNamePos: Pos };\n\ntype QueueItem = {\n char: number;\n repeat: number;\n line: number | undefined;\n column: number | undefined;\n identifierName: undefined; // Not used, it always undefined.\n identifierNamePos: undefined; // Not used, it always undefined.\n filename: string | undefined;\n};\n\nexport default class Buffer {\n constructor(map: SourceMap | null, indentChar: string) {\n this._map = map;\n this._indentChar = indentChar;\n\n for (let i = 0; i < 64; i++) {\n this._fastIndentations.push(indentChar.repeat(i));\n }\n\n this._allocQueue();\n }\n\n _map: SourceMap = null;\n _buf = \"\";\n _str = \"\";\n _appendCount = 0;\n _last = 0;\n _queue: QueueItem[] = [];\n _queueCursor = 0;\n _canMarkIdName = true;\n _indentChar = \"\";\n _fastIndentations: string[] = [];\n\n _position = {\n line: 1,\n column: 0,\n };\n _sourcePosition: InternalSourcePos = {\n identifierName: undefined,\n identifierNamePos: undefined,\n line: undefined,\n column: undefined,\n filename: undefined,\n };\n\n _allocQueue() {\n const queue = this._queue;\n\n for (let i = 0; i < 16; i++) {\n queue.push({\n char: 0,\n repeat: 1,\n line: undefined,\n column: undefined,\n identifierName: undefined,\n identifierNamePos: undefined,\n filename: \"\",\n });\n }\n }\n\n _pushQueue(\n char: number,\n repeat: number,\n line: number | undefined,\n column: number | undefined,\n filename: string | undefined,\n ) {\n const cursor = this._queueCursor;\n if (cursor === this._queue.length) {\n this._allocQueue();\n }\n const item = this._queue[cursor];\n item.char = char;\n item.repeat = repeat;\n item.line = line;\n item.column = column;\n item.filename = filename;\n\n this._queueCursor++;\n }\n\n _popQueue(): QueueItem {\n if (this._queueCursor === 0) {\n throw new Error(\"Cannot pop from empty queue\");\n }\n return this._queue[--this._queueCursor];\n }\n\n /**\n * Get the final string output from the buffer, along with the sourcemap if one exists.\n */\n\n get() {\n this._flush();\n\n const map = this._map;\n const result = {\n // Whatever trim is used here should not execute a regex against the\n // source string since it may be arbitrarily large after all transformations\n code: (this._buf + this._str).trimRight(),\n // Decoded sourcemap is free to generate.\n decodedMap: map?.getDecoded(),\n // Used as a marker for backwards compatibility. We moved input map merging\n // into the generator. We cannot merge the input map a second time, so the\n // presence of this field tells us we've already done the work.\n get __mergedMap() {\n return this.map;\n },\n // Encoding the sourcemap is moderately CPU expensive.\n get map() {\n const resultMap = map ? map.get() : null;\n result.map = resultMap;\n return resultMap;\n },\n set map(value) {\n Object.defineProperty(result, \"map\", { value, writable: true });\n },\n // Retrieving the raw mappings is very memory intensive.\n get rawMappings() {\n const mappings = map?.getRawMappings();\n result.rawMappings = mappings;\n return mappings;\n },\n set rawMappings(value) {\n Object.defineProperty(result, \"rawMappings\", { value, writable: true });\n },\n };\n\n return result;\n }\n\n /**\n * Add a string to the buffer that cannot be reverted.\n */\n\n append(str: string, maybeNewline: boolean): void {\n this._flush();\n\n this._append(str, this._sourcePosition, maybeNewline);\n }\n\n appendChar(char: number): void {\n this._flush();\n this._appendChar(char, 1, this._sourcePosition);\n }\n\n /**\n * Add a string to the buffer than can be reverted.\n */\n queue(char: number): void {\n // Drop trailing spaces when a newline is inserted.\n if (char === charcodes.lineFeed) {\n while (this._queueCursor !== 0) {\n const char = this._queue[this._queueCursor - 1].char;\n if (char !== charcodes.space && char !== charcodes.tab) {\n break;\n }\n\n this._queueCursor--;\n }\n }\n\n const sourcePosition = this._sourcePosition;\n this._pushQueue(\n char,\n 1,\n sourcePosition.line,\n sourcePosition.column,\n sourcePosition.filename,\n );\n }\n\n /**\n * Same as queue, but this indentation will never have a sourcemap marker.\n */\n queueIndentation(repeat: number): void {\n if (repeat === 0) return;\n this._pushQueue(-1, repeat, undefined, undefined, undefined);\n }\n\n _flush(): void {\n const queueCursor = this._queueCursor;\n const queue = this._queue;\n for (let i = 0; i < queueCursor; i++) {\n const item: QueueItem = queue[i];\n this._appendChar(item.char, item.repeat, item);\n }\n this._queueCursor = 0;\n }\n\n _appendChar(\n char: number,\n repeat: number,\n sourcePos: InternalSourcePos,\n ): void {\n this._last = char;\n\n if (char === -1) {\n const fastIndentation = this._fastIndentations[repeat];\n if (fastIndentation !== undefined) {\n this._str += fastIndentation;\n } else {\n this._str +=\n repeat > 1 ? this._indentChar.repeat(repeat) : this._indentChar;\n }\n } else {\n this._str +=\n repeat > 1\n ? String.fromCharCode(char).repeat(repeat)\n : String.fromCharCode(char);\n }\n\n if (char !== charcodes.lineFeed) {\n this._mark(\n sourcePos.line,\n sourcePos.column,\n sourcePos.identifierName,\n sourcePos.identifierNamePos,\n sourcePos.filename,\n );\n this._position.column += repeat;\n } else {\n this._position.line++;\n this._position.column = 0;\n }\n\n if (this._canMarkIdName) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n }\n\n _append(\n str: string,\n sourcePos: InternalSourcePos,\n maybeNewline: boolean,\n ): void {\n const len = str.length;\n const position = this._position;\n\n this._last = str.charCodeAt(len - 1);\n\n if (++this._appendCount > 4096) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n +this._str; // Unexplainable huge performance boost. Ref: https://github.com/davidmarkclements/flatstr License: MIT\n this._buf += this._str;\n this._str = str;\n this._appendCount = 0;\n } else {\n this._str += str;\n }\n\n if (!maybeNewline && !this._map) {\n position.column += len;\n return;\n }\n\n const { column, identifierName, identifierNamePos, filename } = sourcePos;\n let line = sourcePos.line;\n\n if (\n (identifierName != null || identifierNamePos != null) &&\n this._canMarkIdName\n ) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n\n // Search for newline chars. We search only for `\\n`, since both `\\r` and\n // `\\r\\n` are normalized to `\\n` during parse. We exclude `\\u2028` and\n // `\\u2029` for performance reasons, they're so uncommon that it's probably\n // ok. It's also unclear how other sourcemap utilities handle them...\n let i = str.indexOf(\"\\n\");\n let last = 0;\n\n // If the string starts with a newline char, then adding a mark is redundant.\n // This catches both \"no newlines\" and \"newline after several chars\".\n if (i !== 0) {\n this._mark(line, column, identifierName, identifierNamePos, filename);\n }\n\n // Now, find each remaining newline char in the string.\n while (i !== -1) {\n position.line++;\n position.column = 0;\n last = i + 1;\n\n // We mark the start of each line, which happens directly after this newline char\n // unless this is the last char.\n // When manually adding multi-line content (such as a comment), `line` will be `undefined`.\n if (last < len && line !== undefined) {\n this._mark(++line, 0, null, null, filename);\n }\n i = str.indexOf(\"\\n\", last);\n }\n position.column += len - last;\n }\n\n _mark(\n line: number | undefined,\n column: number | undefined,\n identifierName: string | undefined,\n identifierNamePos: Pos | undefined,\n filename: string | undefined,\n ): void {\n this._map?.mark(\n this._position,\n line,\n column,\n identifierName,\n identifierNamePos,\n filename,\n );\n }\n\n removeTrailingNewline(): void {\n const queueCursor = this._queueCursor;\n if (\n queueCursor !== 0 &&\n this._queue[queueCursor - 1].char === charcodes.lineFeed\n ) {\n this._queueCursor--;\n }\n }\n\n removeLastSemicolon(): void {\n const queueCursor = this._queueCursor;\n if (\n queueCursor !== 0 &&\n this._queue[queueCursor - 1].char === charcodes.semicolon\n ) {\n this._queueCursor--;\n }\n }\n\n getLastChar(): number {\n const queueCursor = this._queueCursor;\n return queueCursor !== 0 ? this._queue[queueCursor - 1].char : this._last;\n }\n\n /**\n * This will only detect at most 1 newline after a call to `flush()`,\n * but this has not been found so far, and an accurate count can be achieved if needed later.\n */\n getNewlineCount(): number {\n const queueCursor = this._queueCursor;\n let count = 0;\n if (queueCursor === 0) return this._last === charcodes.lineFeed ? 1 : 0;\n for (let i = queueCursor - 1; i >= 0; i--) {\n if (this._queue[i].char !== charcodes.lineFeed) {\n break;\n }\n count++;\n }\n return count === queueCursor && this._last === charcodes.lineFeed\n ? count + 1\n : count;\n }\n\n /**\n * check if current _last + queue ends with newline, return the character before newline\n */\n endsWithCharAndNewline(): number {\n const queue = this._queue;\n const queueCursor = this._queueCursor;\n if (queueCursor !== 0) {\n // every element in queue is one-length whitespace string\n const lastCp = queue[queueCursor - 1].char;\n if (lastCp !== charcodes.lineFeed) return;\n if (queueCursor > 1) {\n return queue[queueCursor - 2].char;\n } else {\n return this._last;\n }\n }\n // We assume that everything being matched is at most a single token plus some whitespace,\n // which everything currently is, but otherwise we'd have to expand _last or check _buf.\n }\n\n hasContent(): boolean {\n return this._queueCursor !== 0 || !!this._last;\n }\n\n /**\n * Certain sourcemap usecases expect mappings to be more accurate than\n * Babel's generic sourcemap handling allows. For now, we special-case\n * identifiers to allow for the primary cases to work.\n * The goal of this line is to ensure that the map output from Babel will\n * have an exact range on identifiers in the output code. Without this\n * line, Babel would potentially include some number of trailing tokens\n * that are printed after the identifier, but before another location has\n * been assigned.\n * This allows tooling like Rollup and Webpack to more accurately perform\n * their own transformations. Most importantly, this allows the import/export\n * transformations performed by those tools to loose less information when\n * applying their own transformations on top of the code and map results\n * generated by Babel itself.\n *\n * The primary example of this is the snippet:\n *\n * import mod from \"mod\";\n * mod();\n *\n * With this line, there will be one mapping range over \"mod\" and another\n * over \"();\", where previously it would have been a single mapping.\n */\n exactSource(loc: Loc | undefined, cb: () => void) {\n if (!this._map) {\n cb();\n return;\n }\n\n this.source(\"start\", loc);\n // @ts-expect-error identifierName is not defined\n const identifierName = loc.identifierName;\n const sourcePos = this._sourcePosition;\n if (identifierName) {\n this._canMarkIdName = false;\n sourcePos.identifierName = identifierName;\n }\n cb();\n\n if (identifierName) {\n this._canMarkIdName = true;\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n this.source(\"end\", loc);\n }\n\n /**\n * Sets a given position as the current source location so generated code after this call\n * will be given this position in the sourcemap.\n */\n\n source(prop: \"start\" | \"end\", loc: Loc | undefined): void {\n if (!this._map) return;\n\n // Since this is called extremely often, we reuse the same _sourcePosition\n // object for the whole lifetime of the buffer.\n this._normalizePosition(prop, loc, 0);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc | undefined,\n columnOffset: number,\n ): void {\n if (!this._map) return;\n\n this._normalizePosition(prop, loc, columnOffset);\n }\n\n _normalizePosition(prop: \"start\" | \"end\", loc: Loc, columnOffset: number) {\n const pos = loc[prop];\n const target = this._sourcePosition;\n\n if (pos) {\n target.line = pos.line;\n // TODO: Fix https://github.com/babel/babel/issues/15712 in downstream\n target.column = Math.max(pos.column + columnOffset, 0);\n target.filename = loc.filename;\n }\n }\n\n getCurrentColumn(): number {\n const queue = this._queue;\n const queueCursor = this._queueCursor;\n\n let lastIndex = -1;\n let len = 0;\n for (let i = 0; i < queueCursor; i++) {\n const item = queue[i];\n if (item.char === charcodes.lineFeed) {\n lastIndex = len;\n }\n len += item.repeat;\n }\n\n return lastIndex === -1 ? this._position.column + len : len - 1 - lastIndex;\n }\n\n getCurrentLine(): number {\n let count = 0;\n\n const queue = this._queue;\n for (let i = 0; i < this._queueCursor; i++) {\n if (queue[i].char === charcodes.lineFeed) {\n count++;\n }\n }\n\n return this._position.line + count;\n }\n}\n"],"mappings":";;;;;;AAkCe,MAAMA,MAAM,CAAC;EAC1BC,WAAWA,CAACC,GAAqB,EAAEC,UAAkB,EAAE;IAAA,KAWvDC,IAAI,GAAc,IAAI;IAAA,KACtBC,IAAI,GAAG,EAAE;IAAA,KACTC,IAAI,GAAG,EAAE;IAAA,KACTC,YAAY,GAAG,CAAC;IAAA,KAChBC,KAAK,GAAG,CAAC;IAAA,KACTC,MAAM,GAAgB,EAAE;IAAA,KACxBC,YAAY,GAAG,CAAC;IAAA,KAChBC,cAAc,GAAG,IAAI;IAAA,KACrBC,WAAW,GAAG,EAAE;IAAA,KAChBC,iBAAiB,GAAa,EAAE;IAAA,KAEhCC,SAAS,GAAG;MACVC,IAAI,EAAE,CAAC;MACPC,MAAM,EAAE;IACV,CAAC;IAAA,KACDC,eAAe,GAAsB;MACnCC,cAAc,EAAEC,SAAS;MACzBC,iBAAiB,EAAED,SAAS;MAC5BJ,IAAI,EAAEI,SAAS;MACfH,MAAM,EAAEG,SAAS;MACjBE,QAAQ,EAAEF;IACZ,CAAC;IA/BC,IAAI,CAACf,IAAI,GAAGF,GAAG;IACf,IAAI,CAACU,WAAW,GAAGT,UAAU;IAE7B,KAAK,IAAImB,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAEA,CAAC,EAAE,EAAE;MAC3B,IAAI,CAACT,iBAAiB,CAACU,IAAI,CAACpB,UAAU,CAACqB,MAAM,CAACF,CAAC,CAAC,CAAC;IACnD;IAEA,IAAI,CAACG,WAAW,CAAC,CAAC;EACpB;EAyBAA,WAAWA,CAAA,EAAG;IACZ,MAAMC,KAAK,GAAG,IAAI,CAACjB,MAAM;IAEzB,KAAK,IAAIa,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAEA,CAAC,EAAE,EAAE;MAC3BI,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;IAErC,IAAIkF,SAAS,GAAG,CAAC,CAAC;IAClB,IAAI5B,GAAG,GAAG,CAAC;IACX,KAAK,IAAI1C,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGoC,WAAW,EAAEpC,CAAC,EAAE,EAAE;MACpC,MAAMS,IAAI,GAAGL,KAAK,CAACJ,CAAC,CAAC;MACrB,IAAIS,IAAI,CAACJ,IAAI,OAAuB,EAAE;QACpCiE,SAAS,GAAG5B,GAAG;MACjB;MACAA,GAAG,IAAIjC,IAAI,CAACP,MAAM;IACpB;IAEA,OAAOoE,SAAS,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC9E,SAAS,CAACE,MAAM,GAAGgD,GAAG,GAAGA,GAAG,GAAG,CAAC,GAAG4B,SAAS;EAC7E;EAEAC,cAAcA,CAAA,EAAW;IACvB,IAAIlB,KAAK,GAAG,CAAC;IAEb,MAAMjD,KAAK,GAAG,IAAI,CAACjB,MAAM;IACzB,KAAK,IAAIa,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,IAAI,CAACZ,YAAY,EAAEY,CAAC,EAAE,EAAE;MAC1C,IAAII,KAAK,CAACJ,CAAC,CAAC,CAACK,IAAI,OAAuB,EAAE;QACxCgD,KAAK,EAAE;MACT;IACF;IAEA,OAAO,IAAI,CAAC7D,SAAS,CAACC,IAAI,GAAG4D,KAAK;EACpC;AACF;AAACmB,OAAA,CAAAC,OAAA,GAAA/F,MAAA","ignoreList":[]}
1
+ {"version":3,"names":["Buffer","constructor","map","indentChar","_map","_buf","_str","_appendCount","_last","_queue","_queueCursor","_canMarkIdName","_indentChar","_fastIndentations","_position","line","column","_sourcePosition","identifierName","undefined","identifierNamePos","filename","i","push","repeat","_allocQueue","queue","char","_pushQueue","cursor","length","item","_popQueue","Error","get","_flush","result","code","trimRight","decodedMap","getDecoded","__mergedMap","resultMap","value","Object","defineProperty","writable","rawMappings","mappings","getRawMappings","append","str","maybeNewline","_append","appendChar","_appendChar","sourcePosition","queueIndentation","queueCursor","sourcePos","fastIndentation","String","fromCharCode","_mark","len","position","charCodeAt","indexOf","last","_this$_map","mark","removeTrailingNewline","removeLastSemicolon","getLastChar","getNewlineCount","count","endsWithCharAndNewline","lastCp","hasContent","exactSource","loc","cb","source","prop","_normalizePosition","sourceWithOffset","columnOffset","pos","target","Math","max","getCurrentColumn","lastIndex","getCurrentLine","exports","default"],"sources":["../src/buffer.ts"],"sourcesContent":["import type SourceMap from \"./source-map.ts\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charcodes from \"charcodes\";\n\nexport type Pos = {\n line: number;\n column: number;\n index: number;\n};\nexport type Loc = {\n start?: Pos;\n end?: Pos;\n filename?: string;\n};\ntype SourcePos = {\n line: number | undefined;\n column: number | undefined;\n identifierName: string | undefined;\n filename: string | undefined;\n};\ntype InternalSourcePos = SourcePos & { identifierNamePos: Pos | undefined };\n\ntype QueueItem = {\n char: number;\n repeat: number;\n line: number | undefined;\n column: number | undefined;\n identifierName: undefined; // Not used, it always undefined.\n identifierNamePos: undefined; // Not used, it always undefined.\n filename: string | undefined;\n};\n\nexport default class Buffer {\n constructor(map: SourceMap | null, indentChar: string) {\n this._map = map;\n this._indentChar = indentChar;\n\n for (let i = 0; i < 64; i++) {\n this._fastIndentations.push(indentChar.repeat(i));\n }\n\n this._allocQueue();\n }\n\n _map: SourceMap | null = null;\n _buf = \"\";\n _str = \"\";\n _appendCount = 0;\n _last = 0;\n _queue: QueueItem[] = [];\n _queueCursor = 0;\n _canMarkIdName = true;\n _indentChar = \"\";\n _fastIndentations: string[] = [];\n\n _position = {\n line: 1,\n column: 0,\n };\n _sourcePosition: InternalSourcePos = {\n identifierName: undefined,\n identifierNamePos: undefined,\n line: undefined,\n column: undefined,\n filename: undefined,\n };\n\n _allocQueue() {\n const queue = this._queue;\n\n for (let i = 0; i < 16; i++) {\n queue.push({\n char: 0,\n repeat: 1,\n line: undefined,\n column: undefined,\n identifierName: undefined,\n identifierNamePos: undefined,\n filename: \"\",\n });\n }\n }\n\n _pushQueue(\n char: number,\n repeat: number,\n line: number | undefined,\n column: number | undefined,\n filename: string | undefined,\n ) {\n const cursor = this._queueCursor;\n if (cursor === this._queue.length) {\n this._allocQueue();\n }\n const item = this._queue[cursor];\n item.char = char;\n item.repeat = repeat;\n item.line = line;\n item.column = column;\n item.filename = filename;\n\n this._queueCursor++;\n }\n\n _popQueue(): QueueItem {\n if (this._queueCursor === 0) {\n throw new Error(\"Cannot pop from empty queue\");\n }\n return this._queue[--this._queueCursor];\n }\n\n /**\n * Get the final string output from the buffer, along with the sourcemap if one exists.\n */\n\n get() {\n this._flush();\n\n const map = this._map;\n const result = {\n // Whatever trim is used here should not execute a regex against the\n // source string since it may be arbitrarily large after all transformations\n code: (this._buf + this._str).trimRight(),\n // Decoded sourcemap is free to generate.\n decodedMap: map?.getDecoded(),\n // Used as a marker for backwards compatibility. We moved input map merging\n // into the generator. We cannot merge the input map a second time, so the\n // presence of this field tells us we've already done the work.\n get __mergedMap() {\n return this.map;\n },\n // Encoding the sourcemap is moderately CPU expensive.\n get map() {\n const resultMap = map ? map.get() : null;\n result.map = resultMap;\n return resultMap;\n },\n set map(value) {\n Object.defineProperty(result, \"map\", { value, writable: true });\n },\n // Retrieving the raw mappings is very memory intensive.\n get rawMappings() {\n const mappings = map?.getRawMappings();\n result.rawMappings = mappings;\n return mappings;\n },\n set rawMappings(value) {\n Object.defineProperty(result, \"rawMappings\", { value, writable: true });\n },\n };\n\n return result;\n }\n\n /**\n * Add a string to the buffer that cannot be reverted.\n */\n\n append(str: string, maybeNewline: boolean): void {\n this._flush();\n\n this._append(str, this._sourcePosition, maybeNewline);\n }\n\n appendChar(char: number): void {\n this._flush();\n this._appendChar(char, 1, this._sourcePosition);\n }\n\n /**\n * Add a string to the buffer than can be reverted.\n */\n queue(char: number): void {\n // Drop trailing spaces when a newline is inserted.\n if (char === charcodes.lineFeed) {\n while (this._queueCursor !== 0) {\n const char = this._queue[this._queueCursor - 1].char;\n if (char !== charcodes.space && char !== charcodes.tab) {\n break;\n }\n\n this._queueCursor--;\n }\n }\n\n const sourcePosition = this._sourcePosition;\n this._pushQueue(\n char,\n 1,\n sourcePosition.line,\n sourcePosition.column,\n sourcePosition.filename,\n );\n }\n\n /**\n * Same as queue, but this indentation will never have a sourcemap marker.\n */\n queueIndentation(repeat: number): void {\n if (repeat === 0) return;\n this._pushQueue(-1, repeat, undefined, undefined, undefined);\n }\n\n _flush(): void {\n const queueCursor = this._queueCursor;\n const queue = this._queue;\n for (let i = 0; i < queueCursor; i++) {\n const item: QueueItem = queue[i];\n this._appendChar(item.char, item.repeat, item);\n }\n this._queueCursor = 0;\n }\n\n _appendChar(\n char: number,\n repeat: number,\n sourcePos: InternalSourcePos,\n ): void {\n this._last = char;\n\n if (char === -1) {\n const fastIndentation = this._fastIndentations[repeat];\n if (fastIndentation !== undefined) {\n this._str += fastIndentation;\n } else {\n this._str +=\n repeat > 1 ? this._indentChar.repeat(repeat) : this._indentChar;\n }\n } else {\n this._str +=\n repeat > 1\n ? String.fromCharCode(char).repeat(repeat)\n : String.fromCharCode(char);\n }\n\n if (char !== charcodes.lineFeed) {\n this._mark(\n sourcePos.line,\n sourcePos.column,\n sourcePos.identifierName,\n sourcePos.identifierNamePos,\n sourcePos.filename,\n );\n this._position.column += repeat;\n } else {\n this._position.line++;\n this._position.column = 0;\n }\n\n if (this._canMarkIdName) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n }\n\n _append(\n str: string,\n sourcePos: InternalSourcePos,\n maybeNewline: boolean,\n ): void {\n const len = str.length;\n const position = this._position;\n\n this._last = str.charCodeAt(len - 1);\n\n if (++this._appendCount > 4096) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n +this._str; // Unexplainable huge performance boost. Ref: https://github.com/davidmarkclements/flatstr License: MIT\n this._buf += this._str;\n this._str = str;\n this._appendCount = 0;\n } else {\n this._str += str;\n }\n\n if (!maybeNewline && !this._map) {\n position.column += len;\n return;\n }\n\n const { column, identifierName, identifierNamePos, filename } = sourcePos;\n let line = sourcePos.line;\n\n if (\n (identifierName != null || identifierNamePos != null) &&\n this._canMarkIdName\n ) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n\n // Search for newline chars. We search only for `\\n`, since both `\\r` and\n // `\\r\\n` are normalized to `\\n` during parse. We exclude `\\u2028` and\n // `\\u2029` for performance reasons, they're so uncommon that it's probably\n // ok. It's also unclear how other sourcemap utilities handle them...\n let i = str.indexOf(\"\\n\");\n let last = 0;\n\n // If the string starts with a newline char, then adding a mark is redundant.\n // This catches both \"no newlines\" and \"newline after several chars\".\n if (i !== 0) {\n this._mark(line, column, identifierName, identifierNamePos, filename);\n }\n\n // Now, find each remaining newline char in the string.\n while (i !== -1) {\n position.line++;\n position.column = 0;\n last = i + 1;\n\n // We mark the start of each line, which happens directly after this newline char\n // unless this is the last char.\n // When manually adding multi-line content (such as a comment), `line` will be `undefined`.\n if (last < len && line !== undefined) {\n this._mark(++line, 0, undefined, undefined, filename);\n }\n i = str.indexOf(\"\\n\", last);\n }\n position.column += len - last;\n }\n\n _mark(\n line: number | undefined,\n column: number | undefined,\n identifierName: string | undefined,\n identifierNamePos: Pos | undefined,\n filename: string | undefined,\n ): void {\n this._map?.mark(\n this._position,\n line,\n column,\n identifierName,\n identifierNamePos,\n filename,\n );\n }\n\n removeTrailingNewline(): void {\n const queueCursor = this._queueCursor;\n if (\n queueCursor !== 0 &&\n this._queue[queueCursor - 1].char === charcodes.lineFeed\n ) {\n this._queueCursor--;\n }\n }\n\n removeLastSemicolon(): void {\n const queueCursor = this._queueCursor;\n if (\n queueCursor !== 0 &&\n this._queue[queueCursor - 1].char === charcodes.semicolon\n ) {\n this._queueCursor--;\n }\n }\n\n getLastChar(): number {\n const queueCursor = this._queueCursor;\n return queueCursor !== 0 ? this._queue[queueCursor - 1].char : this._last;\n }\n\n /**\n * This will only detect at most 1 newline after a call to `flush()`,\n * but this has not been found so far, and an accurate count can be achieved if needed later.\n */\n getNewlineCount(): number {\n const queueCursor = this._queueCursor;\n let count = 0;\n if (queueCursor === 0) return this._last === charcodes.lineFeed ? 1 : 0;\n for (let i = queueCursor - 1; i >= 0; i--) {\n if (this._queue[i].char !== charcodes.lineFeed) {\n break;\n }\n count++;\n }\n return count === queueCursor && this._last === charcodes.lineFeed\n ? count + 1\n : count;\n }\n\n /**\n * check if current _last + queue ends with newline, return the character before newline\n */\n endsWithCharAndNewline(): number | undefined {\n const queue = this._queue;\n const queueCursor = this._queueCursor;\n if (queueCursor !== 0) {\n // every element in queue is one-length whitespace string\n const lastCp = queue[queueCursor - 1].char;\n if (lastCp !== charcodes.lineFeed) return;\n if (queueCursor > 1) {\n return queue[queueCursor - 2].char;\n } else {\n return this._last;\n }\n }\n // We assume that everything being matched is at most a single token plus some whitespace,\n // which everything currently is, but otherwise we'd have to expand _last or check _buf.\n }\n\n hasContent(): boolean {\n return this._queueCursor !== 0 || !!this._last;\n }\n\n /**\n * Certain sourcemap usecases expect mappings to be more accurate than\n * Babel's generic sourcemap handling allows. For now, we special-case\n * identifiers to allow for the primary cases to work.\n * The goal of this line is to ensure that the map output from Babel will\n * have an exact range on identifiers in the output code. Without this\n * line, Babel would potentially include some number of trailing tokens\n * that are printed after the identifier, but before another location has\n * been assigned.\n * This allows tooling like Rollup and Webpack to more accurately perform\n * their own transformations. Most importantly, this allows the import/export\n * transformations performed by those tools to loose less information when\n * applying their own transformations on top of the code and map results\n * generated by Babel itself.\n *\n * The primary example of this is the snippet:\n *\n * import mod from \"mod\";\n * mod();\n *\n * With this line, there will be one mapping range over \"mod\" and another\n * over \"();\", where previously it would have been a single mapping.\n */\n exactSource(loc: Loc, cb: () => void) {\n if (!this._map) {\n cb();\n return;\n }\n\n this.source(\"start\", loc);\n // @ts-expect-error identifierName is not defined\n const identifierName = loc.identifierName;\n const sourcePos = this._sourcePosition;\n if (identifierName) {\n this._canMarkIdName = false;\n sourcePos.identifierName = identifierName;\n }\n cb();\n\n if (identifierName) {\n this._canMarkIdName = true;\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n this.source(\"end\", loc);\n }\n\n /**\n * Sets a given position as the current source location so generated code after this call\n * will be given this position in the sourcemap.\n */\n\n source(prop: \"start\" | \"end\", loc: Loc): void {\n if (!this._map) return;\n\n // Since this is called extremely often, we reuse the same _sourcePosition\n // object for the whole lifetime of the buffer.\n this._normalizePosition(prop, loc, 0);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc,\n columnOffset: number,\n ): void {\n if (!this._map) return;\n\n this._normalizePosition(prop, loc, columnOffset);\n }\n\n _normalizePosition(prop: \"start\" | \"end\", loc: Loc, columnOffset: number) {\n const pos = loc[prop];\n const target = this._sourcePosition;\n\n if (pos) {\n target.line = pos.line;\n // TODO: Fix https://github.com/babel/babel/issues/15712 in downstream\n target.column = Math.max(pos.column + columnOffset, 0);\n target.filename = loc.filename;\n }\n }\n\n getCurrentColumn(): number {\n const queue = this._queue;\n const queueCursor = this._queueCursor;\n\n let lastIndex = -1;\n let len = 0;\n for (let i = 0; i < queueCursor; i++) {\n const item = queue[i];\n if (item.char === charcodes.lineFeed) {\n lastIndex = len;\n }\n len += item.repeat;\n }\n\n return lastIndex === -1 ? this._position.column + len : len - 1 - lastIndex;\n }\n\n getCurrentLine(): number {\n let count = 0;\n\n const queue = this._queue;\n for (let i = 0; i < this._queueCursor; i++) {\n if (queue[i].char === charcodes.lineFeed) {\n count++;\n }\n }\n\n return this._position.line + count;\n }\n}\n"],"mappings":";;;;;;AAkCe,MAAMA,MAAM,CAAC;EAC1BC,WAAWA,CAACC,GAAqB,EAAEC,UAAkB,EAAE;IAAA,KAWvDC,IAAI,GAAqB,IAAI;IAAA,KAC7BC,IAAI,GAAG,EAAE;IAAA,KACTC,IAAI,GAAG,EAAE;IAAA,KACTC,YAAY,GAAG,CAAC;IAAA,KAChBC,KAAK,GAAG,CAAC;IAAA,KACTC,MAAM,GAAgB,EAAE;I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IAAI,CAAC9E,SAAS,CAACE,MAAM,GAAGgD,GAAG,GAAGA,GAAG,GAAG,CAAC,GAAG4B,SAAS;EAC7E;EAEAC,cAAcA,CAAA,EAAW;IACvB,IAAIlB,KAAK,GAAG,CAAC;IAEb,MAAMjD,KAAK,GAAG,IAAI,CAACjB,MAAM;IACzB,KAAK,IAAIa,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,IAAI,CAACZ,YAAY,EAAEY,CAAC,EAAE,EAAE;MAC1C,IAAII,KAAK,CAACJ,CAAC,CAAC,CAACK,IAAI,OAAuB,EAAE;QACxCgD,KAAK,EAAE;MACT;IACF;IAEA,OAAO,IAAI,CAAC7D,SAAS,CAACC,IAAI,GAAG4D,KAAK;EACpC;AACF;AAACmB,OAAA,CAAAC,OAAA,GAAA/F,MAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_t","require","isExportDefaultDeclaration","isExportNamedDeclaration","ClassDeclaration","node","parent","inExport","_shouldPrintDecoratorsBeforeExport","printJoin","decorators","declare","word","space","abstract","id","print","typeParameters","superClass","superTypeParameters","implements","printList","body","ClassBody","token","length","newline","separator","classBodyEmptySemicolonsPrinter","exit","enterDelimited","endsWith","rightBrace","printer","tokenMap","start","end","indexes","getIndexes","k","occurrenceCount","nextLocIndex","advanceNextLocIndex","i","tok","matchesOriginal","_tokens","undefined","ClassProperty","static","format","preserveFormat","_node$key$loc","endLine","key","loc","line","catchUp","tsPrintClassMemberModifiers","computed","_variance","optional","definite","typeAnnotation","value","semicolon","ClassAccessorProperty","_node$key$loc2","ClassPrivateProperty","ClassMethod","_classMethodHead","ClassPrivateMethod","_node$key$loc3","_methodHead","StaticBlock","printSequence"],"sources":["../../src/generators/classes.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isExportDefaultDeclaration,\n isExportNamedDeclaration,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nexport function ClassDeclaration(\n this: Printer,\n node: t.ClassDeclaration,\n parent: t.Node,\n) {\n const inExport =\n isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent);\n\n if (\n !inExport ||\n !this._shouldPrintDecoratorsBeforeExport(\n parent as t.ExportDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n this.printJoin(node.decorators);\n }\n\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n if (node.abstract) {\n // TS\n this.word(\"abstract\");\n this.space();\n }\n\n this.word(\"class\");\n\n if (node.id) {\n this.space();\n this.print(node.id);\n }\n\n this.print(node.typeParameters);\n\n if (node.superClass) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.superClass);\n this.print(\n process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeParameters,\n );\n }\n\n if (node.implements) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n\n this.space();\n this.print(node.body);\n}\n\nexport { ClassDeclaration as ClassExpression };\n\nexport function ClassBody(this: Printer, node: t.ClassBody) {\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n\n const separator = classBodyEmptySemicolonsPrinter(this, node);\n separator?.(-1); // print leading semicolons in preserveFormat mode\n\n const exit = this.enterDelimited();\n this.printJoin(node.body, true, true, separator, true);\n exit();\n\n if (!this.endsWith(charCodes.lineFeed)) this.newline();\n\n this.rightBrace(node);\n }\n}\n\nfunction classBodyEmptySemicolonsPrinter(printer: Printer, node: t.ClassBody) {\n if (!printer.tokenMap || node.start == null || node.end == null) {\n return null;\n }\n\n // \"empty statements\" in class bodies are not represented in the AST.\n // Print them by checking if there are any ; tokens between the current AST\n // member and the next one.\n\n const indexes = printer.tokenMap.getIndexes(node);\n if (!indexes) return null;\n\n let k = 1; // start from 1 to skip '{'\n\n let occurrenceCount = 0;\n\n let nextLocIndex = 0;\n const advanceNextLocIndex = () => {\n while (\n nextLocIndex < node.body.length &&\n node.body[nextLocIndex].start == null\n ) {\n nextLocIndex++;\n }\n };\n advanceNextLocIndex();\n\n return (i: number) => {\n if (nextLocIndex <= i) {\n nextLocIndex = i + 1;\n advanceNextLocIndex();\n }\n\n const end =\n nextLocIndex === node.body.length\n ? node.end\n : node.body[nextLocIndex].start;\n\n let tok;\n while (\n k < indexes.length &&\n printer.tokenMap.matchesOriginal(\n (tok = printer._tokens[indexes[k]]),\n \";\",\n ) &&\n tok.start < end\n ) {\n printer.token(\";\", undefined, occurrenceCount++);\n k++;\n }\n };\n}\n\nexport function ClassProperty(this: Printer, node: t.ClassProperty) {\n this.printJoin(node.decorators);\n\n if (!node.static && !this.format.preserveFormat) {\n // catch up to property key, avoid line break\n // between member TS modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassAccessorProperty(\n this: Printer,\n node: t.ClassAccessorProperty,\n) {\n this.printJoin(node.decorators);\n\n // catch up to property key, avoid line break\n // between member modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n\n // TS does not support class accessor property yet\n this.tsPrintClassMemberModifiers(node);\n\n this.word(\"accessor\", true);\n this.space();\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // Todo: Flow does not support class accessor property yet.\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassPrivateProperty(\n this: Printer,\n node: t.ClassPrivateProperty,\n) {\n this.printJoin(node.decorators);\n this.tsPrintClassMemberModifiers(node);\n this.print(node.key);\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassMethod(this: Printer, node: t.ClassMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function ClassPrivateMethod(this: Printer, node: t.ClassPrivateMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function _classMethodHead(\n this: Printer,\n node: t.ClassMethod | t.ClassPrivateMethod | t.TSDeclareMethod,\n) {\n this.printJoin(node.decorators);\n\n if (!this.format.preserveFormat) {\n // catch up to method key, avoid line break\n // between member modifiers/method heads and the method key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n this._methodHead(node);\n}\n\nexport function StaticBlock(this: Printer, node: t.StaticBlock) {\n this.word(\"static\");\n this.space();\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n this.printSequence(node.body, true);\n this.rightBrace(node);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAGsB;EAFpBC,0BAA0B;EAC1BC;AAAwB,IAAAH,EAAA;AAQnB,SAASI,gBAAgBA,CAE9BC,IAAwB,EACxBC,MAAc,EACd;EACA,MAAMC,QAAQ,GACZL,0BAA0B,CAACI,MAAM,CAAC,IAAIH,wBAAwB,CAACG,MAAM,CAAC;EAExE,I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AI,CAACG,MAAM,KAAK,CAAC,EAAE;IAC1B,IAAI,CAACD,SAAK,IAAI,CAAC;EACjB,CAAC,MAAM;IACL,IAAI,CAACE,OAAO,CAAC,CAAC;IACd,IAAI,CAACiD,aAAa,CAACtE,IAAI,CAACiB,IAAI,EAAE,IAAI,CAAC;IACnC,IAAI,CAACU,UAAU,CAAC3B,IAAI,CAAC;EACvB;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_t","require","isExportDefaultDeclaration","isExportNamedDeclaration","ClassDeclaration","node","parent","inExport","_shouldPrintDecoratorsBeforeExport","printJoin","decorators","declare","word","space","abstract","id","print","typeParameters","superClass","superTypeParameters","implements","printList","body","ClassBody","token","length","newline","separator","classBodyEmptySemicolonsPrinter","exit","enterDelimited","endsWith","rightBrace","printer","tokenMap","start","end","indexes","getIndexes","k","occurrenceCount","nextLocIndex","advanceNextLocIndex","i","tok","matchesOriginal","_tokens","undefined","ClassProperty","static","format","preserveFormat","_node$key$loc","endLine","key","loc","line","catchUp","tsPrintClassMemberModifiers","computed","_variance","optional","definite","typeAnnotation","value","semicolon","ClassAccessorProperty","_node$key$loc2","ClassPrivateProperty","ClassMethod","_classMethodHead","ClassPrivateMethod","_node$key$loc3","_methodHead","StaticBlock","printSequence"],"sources":["../../src/generators/classes.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isExportDefaultDeclaration,\n isExportNamedDeclaration,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nexport function ClassDeclaration(\n this: Printer,\n node: t.ClassDeclaration,\n parent: t.Node,\n) {\n const inExport =\n isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent);\n\n if (\n !inExport ||\n !this._shouldPrintDecoratorsBeforeExport(\n parent as t.ExportDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n this.printJoin(node.decorators);\n }\n\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n if (node.abstract) {\n // TS\n this.word(\"abstract\");\n this.space();\n }\n\n this.word(\"class\");\n\n if (node.id) {\n this.space();\n this.print(node.id);\n }\n\n this.print(node.typeParameters);\n\n if (node.superClass) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.superClass);\n this.print(\n process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeParameters,\n );\n }\n\n if (node.implements) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n\n this.space();\n this.print(node.body);\n}\n\nexport { ClassDeclaration as ClassExpression };\n\nexport function ClassBody(this: Printer, node: t.ClassBody) {\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n\n const separator = classBodyEmptySemicolonsPrinter(this, node);\n separator?.(-1); // print leading semicolons in preserveFormat mode\n\n const exit = this.enterDelimited();\n this.printJoin(node.body, true, true, separator, true);\n exit();\n\n if (!this.endsWith(charCodes.lineFeed)) this.newline();\n\n this.rightBrace(node);\n }\n}\n\nfunction classBodyEmptySemicolonsPrinter(printer: Printer, node: t.ClassBody) {\n if (!printer.tokenMap || node.start == null || node.end == null) {\n return null;\n }\n\n // \"empty statements\" in class bodies are not represented in the AST.\n // Print them by checking if there are any ; tokens between the current AST\n // member and the next one.\n\n const indexes = printer.tokenMap.getIndexes(node);\n if (!indexes) return null;\n\n let k = 1; // start from 1 to skip '{'\n\n let occurrenceCount = 0;\n\n let nextLocIndex = 0;\n const advanceNextLocIndex = () => {\n while (\n nextLocIndex < node.body.length &&\n node.body[nextLocIndex].start == null\n ) {\n nextLocIndex++;\n }\n };\n advanceNextLocIndex();\n\n return (i: number) => {\n if (nextLocIndex <= i) {\n nextLocIndex = i + 1;\n advanceNextLocIndex();\n }\n\n const end =\n nextLocIndex === node.body.length\n ? node.end\n : node.body[nextLocIndex].start;\n\n let tok;\n while (\n k < indexes.length &&\n printer.tokenMap!.matchesOriginal(\n (tok = printer._tokens![indexes[k]]),\n \";\",\n ) &&\n tok.start < end!\n ) {\n printer.token(\";\", undefined, occurrenceCount++);\n k++;\n }\n };\n}\n\nexport function ClassProperty(this: Printer, node: t.ClassProperty) {\n this.printJoin(node.decorators);\n\n if (!node.static && !this.format.preserveFormat) {\n // catch up to property key, avoid line break\n // between member TS modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassAccessorProperty(\n this: Printer,\n node: t.ClassAccessorProperty,\n) {\n this.printJoin(node.decorators);\n\n // catch up to property key, avoid line break\n // between member modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n\n // TS does not support class accessor property yet\n this.tsPrintClassMemberModifiers(node);\n\n this.word(\"accessor\", true);\n this.space();\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // Todo: Flow does not support class accessor property yet.\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassPrivateProperty(\n this: Printer,\n node: t.ClassPrivateProperty,\n) {\n this.printJoin(node.decorators);\n this.tsPrintClassMemberModifiers(node);\n this.print(node.key);\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassMethod(this: Printer, node: t.ClassMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function ClassPrivateMethod(this: Printer, node: t.ClassPrivateMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function _classMethodHead(\n this: Printer,\n node: t.ClassMethod | t.ClassPrivateMethod | t.TSDeclareMethod,\n) {\n this.printJoin(node.decorators);\n\n if (!this.format.preserveFormat) {\n // catch up to method key, avoid line break\n // between member modifiers/method heads and the method key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n this._methodHead(node);\n}\n\nexport function StaticBlock(this: Printer, node: t.StaticBlock) {\n this.word(\"static\");\n this.space();\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n this.printSequence(node.body, true);\n this.rightBrace(node);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAGsB;EAFpBC,0BAA0B;EAC1BC;AAAwB,IAAAH,EAAA;AAQnB,SAASI,gBAAgBA,CAE9BC,IAAwB,EACxBC,MAAc,EACd;EACA,MAAMC,QAAQ,GACZL,0BAA0B,CAACI,MAAM,CAAC,IAAIH,wBAAwB,CAACG,MAAM,CAAC;EAExE,IACE,CAACC,QAAQ,IACT,CAAC,IAAI,CAACC,kCAAkC,CACtCF,MACF,CAAC,EACD;IACA,IAAI,CAACG,SAAS,CAACJ,IAAI,CAACK,UAAU,CAAC;EACjC;EAEA,IAAIL,IAAI,CAACM,OAAO,EAAE;IAEhB,IAAI,CAACC,IAAI,CAAC,SAAS,CAAC;IACpB,IAAI,CAACC,KAAK,CAAC,CAAC;EACd;EAEA,IAAIR,I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517,9 +517,7 @@ function ObjectTypeAnnotation(node) {
517
517
  if (props.length) {
518
518
  this.newline();
519
519
  this.space();
520
- this.printJoin(props, true, true, undefined, undefined, function addNewlines(leading) {
521
- if (leading && !props[0]) return 1;
522
- }, () => {
520
+ this.printJoin(props, true, true, undefined, undefined, () => {
523
521
  if (props.length !== 1 || node.inexact) {
524
522
  this.tokenChar(44);
525
523
  this.space();