@coana-tech/cli 14.12.194 → 14.12.195

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 (1134) hide show
  1. package/cli.mjs +1 -1
  2. package/package.json +1 -1
  3. package/reachability-analyzers-cli.mjs +18 -4
  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 +3 -3
  10. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-AQ5JQOUT.js → chunk-3C2GHBMA.js} +2 -2
  11. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-IHOAXGXT.js → chunk-KH5GW7L6.js} +2 -2
  12. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-S4OPEAUO.js → chunk-ZFK76MWT.js} +136 -88
  13. package/repos/coana-tech/jelly-private/dist/bundle/{chunk-SGCFSZ72.js → chunk-ZSJKYAXK.js} +2 -2
  14. package/repos/coana-tech/jelly-private/dist/bundle/hooks.js +3 -3
  15. package/repos/coana-tech/jelly-private/dist/bundle/jelly.js +44 -27
  16. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/code-frame/lib/index.js +37 -36
  17. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/code-frame/lib/index.js.map +1 -1
  18. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/code-frame/package.json +3 -2
  19. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/compat-data/package.json +3 -3
  20. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -1
  21. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/caching.js.map +1 -1
  22. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/config-chain.js.map +1 -1
  23. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -1
  24. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/configuration.js +1 -1
  25. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
  26. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/index.js.map +1 -1
  27. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/module-types.js +9 -17
  28. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
  29. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/plugins.js +6 -16
  30. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
  31. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/files/types.js.map +1 -1
  32. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/full.js +1 -1
  33. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/full.js.map +1 -1
  34. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/helpers/config-api.js +2 -1
  35. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/helpers/config-api.js.map +1 -1
  36. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +1 -1
  37. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/index.js +3 -9
  38. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/index.js.map +1 -1
  39. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/pattern-to-regex.js +1 -1
  40. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +1 -1
  41. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/printer.js.map +1 -1
  42. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -1
  43. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -1
  44. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/options.js +6 -8
  45. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/options.js.map +1 -1
  46. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -1
  47. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/config/validation/removed.js.map +1 -1
  48. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +1 -1
  49. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/index.js +9 -12
  50. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/index.js.map +1 -1
  51. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parse.js +1 -3
  52. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parse.js.map +1 -1
  53. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parser/index.js +7 -1
  54. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  55. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +157 -159
  56. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +1 -1
  57. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -1
  58. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transform-ast.js +1 -3
  59. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transform-ast.js.map +1 -1
  60. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transform-file.js.map +1 -1
  61. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transform.js +1 -3
  62. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transform.js.map +1 -1
  63. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +1 -3
  64. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +1 -1
  65. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/file.js +12 -20
  66. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  67. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/index.js +1 -3
  68. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/index.js.map +1 -1
  69. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/normalize-file.js +1 -3
  70. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  71. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/plugin-pass.js +6 -8
  72. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +1 -1
  73. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/util/clone-deep.js +4 -6
  74. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -1
  75. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/package.json +14 -14
  76. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/src/config/files/index.ts +1 -0
  77. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/src/config/resolve-targets.ts +1 -0
  78. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/core/src/transform-file.ts +1 -0
  79. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/buffer.js +79 -152
  80. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/buffer.js.map +1 -1
  81. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/base.js +7 -8
  82. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/base.js.map +1 -1
  83. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/classes.js +18 -15
  84. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  85. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/deprecated.js +63 -18
  86. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -1
  87. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/expressions.js +45 -36
  88. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  89. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/flow.js +10 -10
  90. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/flow.js.map +1 -1
  91. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/jsx.js +3 -5
  92. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  93. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/methods.js +34 -25
  94. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  95. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/modules.js +11 -8
  96. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  97. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/statements.js +58 -38
  98. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  99. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/template-literals.js +2 -4
  100. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  101. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/types.js +17 -72
  102. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  103. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/typescript.js +65 -64
  104. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  105. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/index.js +20 -24
  106. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/index.js.map +1 -1
  107. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/index.js +22 -63
  108. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  109. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/parentheses.js +186 -149
  110. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  111. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/nodes.js +19 -0
  112. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/nodes.js.map +1 -0
  113. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/printer.js +274 -272
  114. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/printer.js.map +1 -1
  115. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/source-map.js.map +1 -1
  116. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/token-map.js +6 -2
  117. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/token-map.js.map +1 -1
  118. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/package.json +6 -6
  119. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -1
  120. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -1
  121. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-compilation-targets/lib/index.js +1 -4
  122. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
  123. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-compilation-targets/package.json +2 -2
  124. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +2 -5
  125. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
  126. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +55 -67
  127. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
  128. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +7 -17
  129. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
  130. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js +28 -39
  131. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js.map +1 -1
  132. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +42 -60
  133. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
  134. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
  135. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
  136. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-imports/package.json +4 -4
  137. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +4 -6
  138. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +1 -1
  139. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +10 -12
  140. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +1 -1
  141. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/index.js +1 -3
  142. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -1
  143. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +2 -4
  144. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -1
  145. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-module-transforms/package.json +5 -5
  146. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-plugin-utils/lib/index.js +11 -13
  147. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -1
  148. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-plugin-utils/package.json +2 -2
  149. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-replace-supers/lib/index.js +8 -10
  150. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
  151. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helper-replace-supers/package.json +4 -4
  152. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +1 -1
  153. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +1 -1
  154. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +1 -1
  155. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +1 -1
  156. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/dispose.js.map +1 -1
  157. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +1 -1
  158. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -1
  159. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +1 -1
  160. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -1
  161. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers-generated.js +331 -333
  162. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
  163. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/index.js +9 -13
  164. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/lib/index.js.map +1 -1
  165. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/helpers/package.json +5 -5
  166. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/lib/index.js +224 -304
  167. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/lib/index.js.map +1 -1
  168. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/package.json +5 -5
  169. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/parser/typings/babel-parser.d.ts +1 -1
  170. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-proposal-decorators/lib/index.js +5 -7
  171. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-proposal-decorators/lib/index.js.map +1 -1
  172. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js.map +1 -1
  173. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-proposal-decorators/package.json +7 -7
  174. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-decorators/lib/index.js +30 -32
  175. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-decorators/lib/index.js.map +1 -1
  176. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-decorators/package.json +3 -3
  177. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js +1 -1
  178. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map +1 -1
  179. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-import-attributes/package.json +3 -3
  180. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-jsx/lib/index.js +3 -5
  181. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-jsx/lib/index.js.map +1 -1
  182. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-jsx/package.json +3 -3
  183. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-typescript/lib/index.js +23 -31
  184. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-typescript/lib/index.js.map +1 -1
  185. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-syntax-typescript/package.json +3 -3
  186. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/enum.js +3 -5
  187. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
  188. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/index.js +20 -43
  189. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
  190. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +1 -3
  191. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
  192. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/plugin-transform-typescript/package.json +7 -7
  193. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/builder.js.map +1 -1
  194. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/formatters.js.map +1 -1
  195. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/literal.js.map +1 -1
  196. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/options.js.map +1 -1
  197. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/parse.js.map +1 -1
  198. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/lib/populate.js.map +1 -1
  199. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/template/package.json +4 -4
  200. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/cache.js +0 -1
  201. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  202. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/context.js +8 -4
  203. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/context.js.map +1 -1
  204. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/index.js.map +1 -1
  205. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
  206. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/context.js +18 -6
  207. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
  208. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/conversion.js +6 -12
  209. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  210. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/evaluation.js +9 -4
  211. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  212. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  213. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/index.js +42 -46
  214. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
  215. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -1
  216. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/util.js +8 -10
  217. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/inference/util.js.map +1 -1
  218. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/introspection.js +17 -21
  219. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
  220. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  221. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +6 -8
  222. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -1
  223. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/modification.js +4 -6
  224. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  225. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/replacement.js +2 -2
  226. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  227. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
  228. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/index.js +107 -132
  229. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  230. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/lib/renamer.js +5 -4
  231. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -1
  232. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/traverseForScope.js +9 -11
  233. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map +1 -1
  234. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/traverse-node.js +0 -1
  235. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
  236. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/types.js.map +1 -1
  237. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/visitors.js +10 -14
  238. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  239. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/traverse/package.json +7 -7
  240. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  241. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -1
  242. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/generated/lowercase.js +12 -6
  243. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -1
  244. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/generated/uppercase.js +1 -3
  245. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  246. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -1
  247. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -1
  248. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/comments/addComments.js.map +1 -1
  249. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/constants/index.js +2 -4
  250. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/constants/index.js.map +1 -1
  251. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
  252. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  253. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
  254. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  255. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
  256. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/core.js +8 -9
  257. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  258. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/experimental.js +9 -11
  259. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  260. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  261. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/misc.js +3 -5
  262. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/misc.js.map +1 -1
  263. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/typescript.js +28 -29
  264. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  265. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  266. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index-legacy.d.ts +179 -179
  267. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.d.ts +194 -198
  268. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.js +1 -3
  269. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.js.flow +171 -171
  270. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/index.js.map +1 -1
  271. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -1
  272. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/inherits.js +1 -1
  273. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -1
  274. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/removeProperties.js +1 -1
  275. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -1
  276. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  277. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  278. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -1
  279. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -1
  280. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -1
  281. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isLet.js +2 -6
  282. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
  283. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
  284. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isReferenced.js +1 -1
  285. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -1
  286. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
  287. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -1
  288. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isVar.js +4 -8
  289. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  290. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/types/package.json +4 -4
  291. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/README.md +13 -9
  292. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/cli.cjs +2 -0
  293. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  294. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.d.ts +5 -3
  295. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/index.js +1 -1
  296. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/package.json +11 -6
  297. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/agents.js +1 -1
  298. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  299. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/aac.js +1 -1
  300. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  301. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  302. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  303. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  304. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  305. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  306. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/apng.js +1 -1
  307. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  308. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  309. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  310. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  311. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  312. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  313. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  314. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  315. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  316. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  317. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audio.js +1 -1
  318. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  319. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  320. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  321. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/av1.js +1 -1
  322. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/avif.js +1 -1
  323. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  324. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  325. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  326. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  327. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  328. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  329. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  330. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  331. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  332. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  333. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  334. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  335. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  336. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  337. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  338. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  339. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/calc.js +1 -1
  340. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  341. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  342. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  343. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  344. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  345. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  346. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  347. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  348. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  349. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  350. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  351. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/colr.js +1 -1
  352. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  353. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  354. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  355. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/const.js +1 -1
  356. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  357. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  358. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  359. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  360. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  361. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cors.js +1 -1
  362. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  363. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  364. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  365. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  366. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  367. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  368. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  369. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  370. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  371. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  372. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  373. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  374. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  375. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  376. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  377. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  378. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  379. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  380. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  381. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  382. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  383. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  384. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  385. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  386. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  387. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  388. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  389. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  390. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  391. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  392. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  393. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  394. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  395. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  396. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  397. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  398. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  399. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  400. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  401. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  402. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  403. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  404. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  405. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  406. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  407. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  408. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  409. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  410. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  411. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  412. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  413. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  414. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  415. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  416. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  417. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  418. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -0
  419. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  420. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  421. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  422. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  423. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  424. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  425. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  426. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  427. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  428. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  429. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  430. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  431. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  432. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  433. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  434. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  435. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  436. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  437. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  438. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  439. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  440. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  441. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  442. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  443. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  444. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  445. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  446. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  447. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  448. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  449. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  450. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  451. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  452. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  453. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  454. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  455. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  456. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  457. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  458. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  459. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  460. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  461. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  462. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  463. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  464. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  465. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  466. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  467. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  468. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  469. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  470. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  471. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  472. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  473. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  474. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  475. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  476. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  477. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  478. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  479. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  480. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  481. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  482. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  483. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  484. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  485. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  486. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  487. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  488. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  489. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  490. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  491. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  492. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  493. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  494. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  495. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  496. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  497. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  498. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  499. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  500. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  501. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  502. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  503. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  504. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  505. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  506. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  507. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  508. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  509. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  510. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  511. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  512. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  513. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  514. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  515. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  516. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  517. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/details.js +1 -1
  518. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  519. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  520. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  521. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  522. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  523. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  524. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  525. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  526. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  527. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  528. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  529. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  530. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  531. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  532. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  533. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  534. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/download.js +1 -1
  535. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  536. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  537. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  538. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  539. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eme.js +1 -1
  540. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eot.js +1 -1
  541. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es5.js +1 -1
  542. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  543. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  544. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  545. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  546. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  547. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  548. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/es6.js +1 -1
  549. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  550. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  551. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  552. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  553. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  554. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  555. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  556. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  557. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  558. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flac.js +1 -1
  559. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  560. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  561. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  562. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  563. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  564. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  565. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  566. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  567. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  568. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  569. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  570. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  571. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  572. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  573. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  574. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  575. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  576. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/forms.js +1 -1
  577. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  578. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  579. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  580. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  581. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  582. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  583. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  584. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  585. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  586. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  587. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/heif.js +1 -1
  588. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  589. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  590. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  591. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/history.js +1 -1
  592. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  593. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  594. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  595. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http2.js +1 -1
  596. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/http3.js +1 -1
  597. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  598. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  599. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  600. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  601. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ime.js +1 -1
  602. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  603. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  604. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/imports.js +1 -1
  605. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  606. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  607. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  608. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  609. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  610. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  611. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  612. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  613. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  614. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  615. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  616. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  617. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  618. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  619. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  620. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  621. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  622. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  623. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  624. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  625. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  626. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  627. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  628. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  629. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  630. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  631. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  632. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  633. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  634. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  635. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  636. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  637. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/json.js +1 -1
  638. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  639. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  640. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  641. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  642. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  643. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  644. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  645. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  646. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  647. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/let.js +1 -1
  648. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  649. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  650. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  651. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  652. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  653. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  654. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  655. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  656. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  657. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  658. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  659. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  660. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  661. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  662. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  663. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  664. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  665. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  666. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  667. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  668. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  669. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  670. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  671. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  672. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  673. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  674. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  675. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/menu.js +1 -1
  676. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  677. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/meter.js +1 -1
  678. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/midi.js +1 -1
  679. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  680. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  681. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  682. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  683. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  684. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  685. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  686. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  687. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  688. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  689. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  690. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  691. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  692. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  693. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  694. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  695. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  696. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  697. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  698. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  699. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  700. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  701. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  702. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  703. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  704. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/opus.js +1 -1
  705. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  706. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/outline.js +1 -1
  707. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  708. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  709. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  710. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  711. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  712. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  713. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  714. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  715. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  716. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  717. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  718. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  719. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/picture.js +1 -1
  720. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ping.js +1 -1
  721. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  722. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  723. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  724. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  725. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/portals.js +1 -1
  726. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  727. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  728. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/progress.js +1 -1
  729. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  730. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/promises.js +1 -1
  731. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  732. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  733. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  734. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  735. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  736. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  737. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  738. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  739. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  740. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  741. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  742. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rem.js +1 -1
  743. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  744. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  745. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  746. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  747. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  748. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  749. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  750. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  751. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  752. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  753. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  754. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  755. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  756. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  757. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  758. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  759. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  760. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  761. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  762. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  763. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  764. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  765. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  766. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  767. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sni.js +1 -1
  768. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  769. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  770. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  771. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  772. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  773. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  774. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/stream.js +1 -1
  775. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/streams.js +1 -1
  776. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  777. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  778. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  779. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  780. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  781. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  782. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  783. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  784. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  785. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  786. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  787. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  788. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/svg.js +1 -1
  789. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  790. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  791. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  792. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/template.js +1 -1
  793. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  794. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  795. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  796. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  797. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  798. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  799. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  800. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  801. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  802. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  803. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  804. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  805. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/touch.js +1 -1
  806. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  807. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  808. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  809. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  810. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  811. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  812. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  813. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  814. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  815. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/url.js +1 -1
  816. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  817. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  818. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  819. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  820. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  821. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  822. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  823. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/video.js +1 -1
  824. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  825. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  826. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  827. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  828. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  829. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  830. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  831. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  832. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  833. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  834. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  835. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  836. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  837. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  838. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  839. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  840. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  841. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  842. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  843. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  844. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  845. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wav.js +1 -1
  846. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  847. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  848. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  849. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  850. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  851. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  852. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  853. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  854. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  855. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  856. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  857. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  858. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  859. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webm.js +1 -1
  860. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  861. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webp.js +1 -1
  862. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  863. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  864. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  865. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  866. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  867. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  868. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  869. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  870. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/woff.js +1 -1
  871. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  872. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  873. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  874. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  875. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  876. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  877. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  878. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  879. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  880. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  881. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/features.js +1 -1
  882. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  883. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  884. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  885. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  886. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  887. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  888. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  889. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  890. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  891. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  892. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  893. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  894. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  895. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  896. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  897. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  898. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  899. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  900. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  901. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  902. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  903. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  904. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  905. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  906. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  907. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  908. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  909. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  910. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  911. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  912. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  913. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  914. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  915. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  916. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  917. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  918. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  919. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  920. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  921. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  922. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  923. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  924. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  925. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  926. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  927. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  928. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  929. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  930. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  931. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  932. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  933. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  934. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  935. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  936. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  937. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  938. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  939. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  940. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  941. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  942. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  943. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  944. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  945. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  946. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  947. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  948. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  949. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  950. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  951. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  952. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  953. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  954. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  955. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  956. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  957. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  958. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  959. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  960. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  961. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  962. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  963. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  964. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  965. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  966. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  967. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  968. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  969. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  970. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  971. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  972. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  973. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  974. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  975. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  976. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  977. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  978. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  979. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  980. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  981. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  982. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  983. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  984. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  985. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  986. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  987. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  988. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  989. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  990. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  991. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  992. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  993. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  994. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  995. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  996. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  997. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  998. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  999. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  1000. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  1001. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  1002. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  1003. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  1004. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  1005. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  1006. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  1007. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  1008. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  1009. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  1010. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  1011. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  1012. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  1013. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  1014. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  1015. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  1016. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  1017. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  1018. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  1019. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  1020. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  1021. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  1022. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  1023. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  1024. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  1025. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  1026. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  1027. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  1028. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  1029. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  1030. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  1031. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  1032. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  1033. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  1034. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  1035. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  1036. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  1037. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  1038. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  1039. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  1040. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  1041. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  1042. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  1043. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  1044. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  1045. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  1046. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  1047. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  1048. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  1049. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  1050. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  1051. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  1052. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  1053. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  1054. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  1055. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  1056. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  1057. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  1058. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  1059. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  1060. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  1061. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  1062. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  1063. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  1064. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  1065. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  1066. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  1067. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  1068. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  1069. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  1070. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  1071. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  1072. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  1073. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  1074. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  1075. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  1076. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  1077. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  1078. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  1079. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  1080. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  1081. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  1082. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  1083. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  1084. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  1085. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  1086. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  1087. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  1088. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  1089. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  1090. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  1091. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  1092. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  1093. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  1094. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  1095. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  1096. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  1097. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/US.js +1 -1
  1098. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  1099. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  1100. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  1101. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  1102. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  1103. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  1104. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  1105. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  1106. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  1107. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  1108. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  1109. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  1110. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  1111. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  1112. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  1113. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  1114. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  1115. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  1116. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  1117. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  1118. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  1119. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  1120. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  1121. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  1122. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/caniuse-lite/package.json +1 -1
  1123. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/chromium-versions.js +2 -1
  1124. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/chromium-versions.json +1 -1
  1125. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-chromium-versions.js +71 -2
  1126. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  1127. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-versions.js +40 -1
  1128. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/full-versions.json +1 -1
  1129. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/package.json +2 -2
  1130. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/versions.js +13 -1
  1131. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/electron-to-chromium/versions.json +1 -1
  1132. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/whitespace.js +0 -156
  1133. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/@babel/generator/lib/node/whitespace.js.map +0 -1
  1134. package/repos/coana-tech/jelly-private/dist/bundle/node_modules/baseline-browser-mapping/dist/cli.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"names":["inferers","require","_t","anyTypeAnnotation","isAnyTypeAnnotation","isArrayTypeAnnotation","isBooleanTypeAnnotation","isEmptyTypeAnnotation","isFlowBaseAnnotation","isGenericTypeAnnotation","isIdentifier","isMixedTypeAnnotation","isNumberTypeAnnotation","isStringTypeAnnotation","isTSArrayType","isTSTypeAnnotation","isTSTypeReference","isTupleTypeAnnotation","isTypeAnnotation","isUnionTypeAnnotation","isVoidTypeAnnotation","stringTypeAnnotation","voidTypeAnnotation","getTypeAnnotation","type","getData","_getTypeAnnotation","call","typeAnnotation","setData","typeAnnotationInferringNodes","WeakSet","node","key","parentPath","isVariableDeclarator","declar","declarParent","isForInStatement","isForOfStatement","has","add","_inferer","inferer","validParent","delete","isBaseType","baseName","soft","_isBaseType","Error","couldBeBaseType","name","type2","types","baseTypeStrictlyMatches","rightArg","left","right","isGenericType","genericName","id","typeName"],"sources":["../../../src/path/inference/index.ts"],"sourcesContent":["import type NodePath from \"../index.ts\";\nimport * as inferers from \"./inferers.ts\";\nimport {\n anyTypeAnnotation,\n isAnyTypeAnnotation,\n isArrayTypeAnnotation,\n isBooleanTypeAnnotation,\n isEmptyTypeAnnotation,\n isFlowBaseAnnotation,\n isGenericTypeAnnotation,\n isIdentifier,\n isMixedTypeAnnotation,\n isNumberTypeAnnotation,\n isStringTypeAnnotation,\n isTSArrayType,\n isTSTypeAnnotation,\n isTSTypeReference,\n isTupleTypeAnnotation,\n isTypeAnnotation,\n isUnionTypeAnnotation,\n isVoidTypeAnnotation,\n stringTypeAnnotation,\n voidTypeAnnotation,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n/**\n * Infer the type of the current `NodePath`.\n */\n\nexport function getTypeAnnotation(this: NodePath): t.FlowType | t.TSType {\n let type = this.getData(\"typeAnnotation\");\n if (type != null) {\n return type;\n }\n type = _getTypeAnnotation.call(this) || anyTypeAnnotation();\n if (isTypeAnnotation(type) || isTSTypeAnnotation(type)) {\n type = type.typeAnnotation;\n }\n this.setData(\"typeAnnotation\", type);\n return type;\n}\n\n// Used to avoid infinite recursion in cases like\n// var b, c; if (0) { c = 1; b = c; } c = b;\n// It also works with indirect recursion.\nconst typeAnnotationInferringNodes = new WeakSet();\n\n/**\n * todo: split up this method\n */\n\nexport function _getTypeAnnotation(this: NodePath): any {\n const node = this.node;\n\n if (!node) {\n // handle initializerless variables, add in checks for loop initializers too\n if (this.key === \"init\" && this.parentPath.isVariableDeclarator()) {\n const declar = this.parentPath.parentPath;\n const declarParent = declar.parentPath;\n\n // for (let NODE in bar) {}\n if (declar.key === \"left\" && declarParent.isForInStatement()) {\n return stringTypeAnnotation();\n }\n\n // for (let NODE of bar) {}\n if (declar.key === \"left\" && declarParent.isForOfStatement()) {\n return anyTypeAnnotation();\n }\n\n return voidTypeAnnotation();\n } else {\n return;\n }\n }\n\n // @ts-expect-error typeAnnotation may not index node\n if (node.typeAnnotation) {\n // @ts-expect-error typeAnnotation may not index node\n return node.typeAnnotation;\n }\n\n if (typeAnnotationInferringNodes.has(node)) {\n // Bail out from type inference to avoid infinite loops\n return;\n }\n typeAnnotationInferringNodes.add(node);\n\n try {\n let inferer =\n // @ts-expect-error inferers do not cover all AST types\n inferers[node.type];\n if (inferer) {\n return inferer.call(this, node);\n }\n\n // @ts-expect-error inferers do not cover all AST types\n inferer = inferers[this.parentPath.type];\n if (inferer?.validParent) {\n return this.parentPath.getTypeAnnotation();\n }\n } finally {\n typeAnnotationInferringNodes.delete(node);\n }\n}\n\nexport function isBaseType(\n this: NodePath,\n baseName: string,\n soft?: boolean,\n): boolean {\n return _isBaseType(baseName, this.getTypeAnnotation(), soft);\n}\n\nfunction _isBaseType(\n baseName: string,\n type?: t.FlowType | t.TSType,\n soft?: boolean,\n): boolean {\n if (baseName === \"string\") {\n return isStringTypeAnnotation(type);\n } else if (baseName === \"number\") {\n return isNumberTypeAnnotation(type);\n } else if (baseName === \"boolean\") {\n return isBooleanTypeAnnotation(type);\n } else if (baseName === \"any\") {\n return isAnyTypeAnnotation(type);\n } else if (baseName === \"mixed\") {\n return isMixedTypeAnnotation(type);\n } else if (baseName === \"empty\") {\n return isEmptyTypeAnnotation(type);\n } else if (baseName === \"void\") {\n return isVoidTypeAnnotation(type);\n } else {\n if (soft) {\n return false;\n } else {\n throw new Error(`Unknown base type ${baseName}`);\n }\n }\n}\n\nexport function couldBeBaseType(this: NodePath, name: string): boolean {\n const type = this.getTypeAnnotation();\n if (isAnyTypeAnnotation(type)) return true;\n\n if (isUnionTypeAnnotation(type)) {\n for (const type2 of type.types) {\n if (isAnyTypeAnnotation(type2) || _isBaseType(name, type2, true)) {\n return true;\n }\n }\n return false;\n } else {\n return _isBaseType(name, type, true);\n }\n}\n\nexport function baseTypeStrictlyMatches(\n this: NodePath,\n rightArg: NodePath,\n): boolean {\n const left = this.getTypeAnnotation();\n const right = rightArg.getTypeAnnotation();\n\n if (!isAnyTypeAnnotation(left) && isFlowBaseAnnotation(left)) {\n return right.type === left.type;\n }\n return false;\n}\n\nexport function isGenericType(this: NodePath, genericName: string): boolean {\n const type = this.getTypeAnnotation();\n if (genericName === \"Array\") {\n // T[]\n if (\n isTSArrayType(type) ||\n isArrayTypeAnnotation(type) ||\n isTupleTypeAnnotation(type)\n ) {\n return true;\n }\n }\n return (\n (isGenericTypeAnnotation(type) &&\n isIdentifier(type.id, {\n name: genericName,\n })) ||\n (isTSTypeReference(type)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EACd,CAAC,MAAM;IACL,OAAOJ,WAAW,CAACG,IAAI,EAAE5B,IAAI,EAAE,IAAI,CAAC;EACtC;AACF;AAEO,SAAS+B,uBAAuBA,CAErCC,QAAkB,EACT;EACT,MAAMC,IAAI,GAAG,IAAI,CAAClC,iBAAiB,CAAC,CAAC;EACrC,MAAMmC,KAAK,GAAGF,QAAQ,CAACjC,iBAAiB,CAAC,CAAC;EAE1C,IAAI,CAACnB,mBAAmB,CAACqD,IAAI,CAAC,IAAIjD,oBAAoB,CAACiD,IAAI,CAAC,EAAE;IAC5D,OAAOC,KAAK,CAAClC,IAAI,KAAKiC,IAAI,CAACjC,IAAI;EACjC;EACA,OAAO,KAAK;AACd;AAEO,SAASmC,aAAaA,CAAiBC,WAAmB,EAAW;EAC1E,MAAMpC,IAAI,GAAG,IAAI,CAACD,iBAAiB,CAAC,CAAC;EACrC,IAAIqC,WAAW,KAAK,OAAO,EAAE;IAE3B,IACE9C,aAAa,CAACU,IAAI,CAAC,IACnBnB,qBAAqB,CAACmB,IAAI,CAAC,IAC3BP,qBAAqB,CAACO,IAAI,CAAC,EAC3B;MACA,OAAO,IAAI;IACb;EACF;EACA,OACGf,uBAAuB,CAACe,IAAI,CAAC,IAC5Bd,YAAY,CAACc,IAAI,CAACqC,EAAE,EAAE;IACpBT,IAAI,EAAEQ;EACR,CAAC,CAAC,IACH5C,iBAAiB,CAACQ,IAAI,CAAC,IACtBd,YAAY,CAACc,IAAI,CAACsC,QAAQ,EAAE;IAC1BV,IAAI,EAAEQ;EACR,CAAC,CAAE;AAET","ignoreList":[]}
1
+ {"version":3,"names":["inferers","require","_t","anyTypeAnnotation","isAnyTypeAnnotation","isArrayTypeAnnotation","isBooleanTypeAnnotation","isEmptyTypeAnnotation","isFlowBaseAnnotation","isGenericTypeAnnotation","isIdentifier","isMixedTypeAnnotation","isNumberTypeAnnotation","isStringTypeAnnotation","isTSArrayType","isTSTypeAnnotation","isTSTypeReference","isTupleTypeAnnotation","isTypeAnnotation","isUnionTypeAnnotation","isVoidTypeAnnotation","stringTypeAnnotation","voidTypeAnnotation","getTypeAnnotation","type","getData","_getTypeAnnotation","call","typeAnnotation","setData","typeAnnotationInferringNodes","WeakSet","node","key","parentPath","isVariableDeclarator","declar","declarParent","isForInStatement","isForOfStatement","has","add","_inferer","inferer","validParent","delete","isBaseType","baseName","soft","_isBaseType","Error","couldBeBaseType","name","type2","types","baseTypeStrictlyMatches","rightArg","left","right","isGenericType","genericName","id","typeName"],"sources":["../../../src/path/inference/index.ts"],"sourcesContent":["import type NodePath from \"../index.ts\";\nimport * as inferers from \"./inferers.ts\";\nimport {\n anyTypeAnnotation,\n isAnyTypeAnnotation,\n isArrayTypeAnnotation,\n isBooleanTypeAnnotation,\n isEmptyTypeAnnotation,\n isFlowBaseAnnotation,\n isGenericTypeAnnotation,\n isIdentifier,\n isMixedTypeAnnotation,\n isNumberTypeAnnotation,\n isStringTypeAnnotation,\n isTSArrayType,\n isTSTypeAnnotation,\n isTSTypeReference,\n isTupleTypeAnnotation,\n isTypeAnnotation,\n isUnionTypeAnnotation,\n isVoidTypeAnnotation,\n stringTypeAnnotation,\n voidTypeAnnotation,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n/**\n * Infer the type of the current `NodePath`.\n */\n\nexport function getTypeAnnotation(\n this: NodePath<t.Node | null>,\n): t.FlowType | t.TSType {\n let type = this.getData(\"typeAnnotation\");\n if (type != null) {\n return type;\n }\n type = _getTypeAnnotation.call(this) || anyTypeAnnotation();\n if (isTypeAnnotation(type) || isTSTypeAnnotation(type)) {\n type = type.typeAnnotation;\n }\n this.setData(\"typeAnnotation\", type);\n return type;\n}\n\n// Used to avoid infinite recursion in cases like\n// var b, c; if (0) { c = 1; b = c; } c = b;\n// It also works with indirect recursion.\nconst typeAnnotationInferringNodes = new WeakSet();\n\n/**\n * todo: split up this method\n */\n\nexport function _getTypeAnnotation(this: NodePath): any {\n const node = this.node;\n\n if (!node) {\n // handle initializerless variables, add in checks for loop initializers too\n if (this.key === \"init\" && this.parentPath.isVariableDeclarator()) {\n const declar = this.parentPath.parentPath;\n const declarParent = declar.parentPath;\n\n // for (let NODE in bar) {}\n if (declar.key === \"left\" && declarParent.isForInStatement()) {\n return stringTypeAnnotation();\n }\n\n // for (let NODE of bar) {}\n if (declar.key === \"left\" && declarParent.isForOfStatement()) {\n return anyTypeAnnotation();\n }\n\n return voidTypeAnnotation();\n } else {\n return;\n }\n }\n\n // @ts-expect-error typeAnnotation may not index node\n if (node.typeAnnotation) {\n // @ts-expect-error typeAnnotation may not index node\n return node.typeAnnotation;\n }\n\n if (typeAnnotationInferringNodes.has(node)) {\n // Bail out from type inference to avoid infinite loops\n return;\n }\n typeAnnotationInferringNodes.add(node);\n\n try {\n let inferer =\n // @ts-expect-error inferers do not cover all AST types\n inferers[node.type];\n if (inferer) {\n return inferer.call(this, node);\n }\n\n // @ts-expect-error inferers do not cover all AST types\n inferer = inferers[this.parentPath.type];\n if (inferer?.validParent) {\n return this.parentPath.getTypeAnnotation();\n }\n } finally {\n typeAnnotationInferringNodes.delete(node);\n }\n}\n\nexport function isBaseType(\n this: NodePath,\n baseName: string,\n soft?: boolean,\n): boolean {\n return _isBaseType(baseName, this.getTypeAnnotation(), soft);\n}\n\nfunction _isBaseType(\n baseName: string,\n type?: t.FlowType | t.TSType,\n soft?: boolean,\n): boolean {\n if (baseName === \"string\") {\n return isStringTypeAnnotation(type);\n } else if (baseName === \"number\") {\n return isNumberTypeAnnotation(type);\n } else if (baseName === \"boolean\") {\n return isBooleanTypeAnnotation(type);\n } else if (baseName === \"any\") {\n return isAnyTypeAnnotation(type);\n } else if (baseName === \"mixed\") {\n return isMixedTypeAnnotation(type);\n } else if (baseName === \"empty\") {\n return isEmptyTypeAnnotation(type);\n } else if (baseName === \"void\") {\n return isVoidTypeAnnotation(type);\n } else {\n if (soft) {\n return false;\n } else {\n throw new Error(`Unknown base type ${baseName}`);\n }\n }\n}\n\nexport function couldBeBaseType(this: NodePath, name: string): boolean {\n const type = this.getTypeAnnotation();\n if (isAnyTypeAnnotation(type)) return true;\n\n if (isUnionTypeAnnotation(type)) {\n for (const type2 of type.types) {\n if (isAnyTypeAnnotation(type2) || _isBaseType(name, type2, true)) {\n return true;\n }\n }\n return false;\n } else {\n return _isBaseType(name, type, true);\n }\n}\n\nexport function baseTypeStrictlyMatches(\n this: NodePath,\n rightArg: NodePath,\n): boolean {\n const left = this.getTypeAnnotation();\n const right = rightArg.getTypeAnnotation();\n\n if (!isAnyTypeAnnotation(left) && isFlowBaseAnnotation(left)) {\n return right.type === left.type;\n }\n return false;\n}\n\nexport function isGenericType(this: NodePath, genericName: string): boolean {\n const type = this.getTypeAnnotation();\n if (genericName === \"Array\") {\n // T[]\n if (\n isTSArrayType(type) ||\n isArrayTypeAnnotation(type) ||\n isTupleTypeAnnotation(type)\n ) {\n return true;\n }\n }\n return (\n (isGenericTypeAnnotation(type) &&\n isIdentifier(type.id, {\n name: genericName,\n })) ||\n (isTSTypeReference(type) &&\n isIdentifier(type.typeName, {\n name: genericName,\n }))\n );\n}\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,EAAA,GAAAD,OAAA;AAqBsB;EApBpBE,iBAAiB;EACjBC,mBAAmB;EACnBC,qBAAqB;EACrBC,uBAAuB;EACvBC,qBAAqB;EACrBC,oBAAoB;EACpBC,uBAAuB;EACvBC,YAAY;EACZC,qBAAqB;EACrBC,sBAAsB;EACtBC,sBAAsB;EACtBC,aAAa;EACbC,kBAAkB;EAClBC,iBAAiB;EACjBC,qBAAqB;EACrBC,gBAAgB;EAChBC,qBAAqB;EACrBC,oBAAoB;EACpBC,oBAAoB;EACpBC;AAAkB,IAAApB,EAAA;AAQb,SAASqB,iBAAiBA,CAAA,EAER;EACvB,IAAIC,IAAI,GAAG,IAAI,CAACC,OAAO,CAAC,gBAAgB,CAAC;EACzC,IAAID,IAAI,IAAI,IAAI,EAAE;IAChB,OAAOA,IAAI;EACb;EACA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,qBAAqB,CAACmB,IAAI,CAAC,IAC3BP,qBAAqB,CAACO,IAAI,CAAC,EAC3B;MACA,OAAO,IAAI;IACb;EACF;EACA,OACGf,uBAAuB,CAACe,IAAI,CAAC,IAC5Bd,YAAY,CAACc,IAAI,CAACqC,EAAE,EAAE;IACpBT,IAAI,EAAEQ;EACR,CAAC,CAAC,IACH5C,iBAAiB,CAACQ,IAAI,CAAC,IACtBd,YAAY,CAACc,IAAI,CAACsC,QAAQ,EAAE;IAC1BV,IAAI,EAAEQ;EACR,CAAC,CAAE;AAET","ignoreList":[]}
@@ -13,16 +13,14 @@ const {
13
13
  isTSType
14
14
  } = _t;
15
15
  function createUnionType(types) {
16
- {
17
- if (types.every(v => isFlowType(v))) {
18
- if (createFlowUnionType) {
19
- return createFlowUnionType(types);
20
- }
21
- return createUnionTypeAnnotation(types);
22
- } else if (types.every(v => isTSType(v))) {
23
- if (createTSUnionType) {
24
- return createTSUnionType(types);
25
- }
16
+ if (types.every(v => isFlowType(v))) {
17
+ if (createFlowUnionType) {
18
+ return createFlowUnionType(types);
19
+ }
20
+ return createUnionTypeAnnotation(types);
21
+ } else if (types.every(v => isTSType(v))) {
22
+ if (createTSUnionType) {
23
+ return createTSUnionType(types);
26
24
  }
27
25
  }
28
26
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_t","require","createFlowUnionType","createTSUnionType","createUnionTypeAnnotation","isFlowType","isTSType","createUnionType","types","every","v"],"sources":["../../../src/path/inference/util.ts"],"sourcesContent":["import {\n createFlowUnionType,\n createTSUnionType,\n createUnionTypeAnnotation,\n isFlowType,\n isTSType,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\nexport function createUnionType(\n types: (t.FlowType | t.TSType)[],\n): t.FlowType | t.TSType | undefined {\n if (process.env.BABEL_8_BREAKING) {\n if (types.every(v => isFlowType(v))) {\n return createFlowUnionType(types);\n }\n if (types.every(v => isTSType(v))) {\n return createTSUnionType(types);\n }\n } else {\n if (types.every(v => isFlowType(v))) {\n if (createFlowUnionType) {\n return createFlowUnionType(types);\n }\n\n return createUnionTypeAnnotation(types);\n } else if (types.every(v => isTSType(v))) {\n if (createTSUnionType) {\n return createTSUnionType(types);\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,EAAA,GAAAC,OAAA;AAMsB;EALpBC,mBAAmB;EACnBC,iBAAiB;EACjBC,yBAAyB;EACzBC,UAAU;EACVC;AAAQ,IAAAN,EAAA;AAIH,SAASO,eAAeA,CAC7BC,KAAgC,EACG;EAQ5B;IACL,IAAIA,KAAK,CAACC,KAAK,CAACC,CAAC,IAAIL,UAAU,CAACK,CAAC,CAAC,CAAC,EAAE;MACnC,IAAIR,mBAAmB,EAAE;QACvB,OAAOA,mBAAmB,CAACM,KAAK,CAAC;MACnC;MAEA,OAAOJ,yBAAyB,CAACI,KAAK,CAAC;IACzC,CAAC,MAAM,IAAIA,KAAK,CAACC,KAAK,CAACC,CAAC,IAAIJ,QAAQ,CAACI,CAAC,CAAC,CAAC,EAAE;MACxC,IAAIP,iBAAiB,EAAE;QACrB,OAAOA,iBAAiB,CAACK,KAAK,CAAC;MACjC;IACF;EACF;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_t","require","createFlowUnionType","createTSUnionType","createUnionTypeAnnotation","isFlowType","isTSType","createUnionType","types","every","v"],"sources":["../../../src/path/inference/util.ts"],"sourcesContent":["import {\n createFlowUnionType,\n createTSUnionType,\n createUnionTypeAnnotation,\n isFlowType,\n isTSType,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\nexport function createUnionType(\n types: (t.FlowType | t.TSType)[],\n): t.FlowType | t.TSType | undefined {\n if (process.env.BABEL_8_BREAKING) {\n if (types.every(v => isFlowType(v))) {\n return createFlowUnionType(types);\n }\n if (types.every(v => isTSType(v))) {\n return createTSUnionType(types);\n }\n } else {\n if (types.every(v => isFlowType(v))) {\n if (createFlowUnionType) {\n return createFlowUnionType(types);\n }\n\n return createUnionTypeAnnotation(types);\n } else if (types.every(v => isTSType(v))) {\n if (createTSUnionType) {\n return createTSUnionType(types);\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,EAAA,GAAAC,OAAA;AAMsB;EALpBC,mBAAmB;EACnBC,iBAAiB;EACjBC,yBAAyB;EACzBC,UAAU;EACVC;AAAQ,IAAAN,EAAA;AAIH,SAASO,eAAeA,CAC7BC,KAAgC,EACG;EASjC,IAAIA,KAAK,CAACC,KAAK,CAACC,CAAC,IAAIL,UAAU,CAACK,CAAC,CAAC,CAAC,EAAE;IACnC,IAAIR,mBAAmB,EAAE;MACvB,OAAOA,mBAAmB,CAACM,KAAK,CAAC;IACnC;IAEA,OAAOJ,yBAAyB,CAACI,KAAK,CAAC;EACzC,CAAC,MAAM,IAAIA,KAAK,CAACC,KAAK,CAACC,CAAC,IAAIJ,QAAQ,CAACI,CAAC,CAAC,CAAC,EAAE;IACxC,IAAIP,iBAAiB,EAAE;MACrB,OAAOA,iBAAiB,CAACK,KAAK,CAAC;IACjC;EACF;AAEJ","ignoreList":[]}
@@ -33,29 +33,25 @@ const {
33
33
  function matchesPattern(pattern, allowPartial) {
34
34
  return _matchesPattern(this.node, pattern, allowPartial);
35
35
  }
36
- {
37
- exports.has = function has(key) {
38
- var _this$node;
39
- const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
40
- if (val && Array.isArray(val)) {
41
- return !!val.length;
42
- } else {
43
- return !!val;
44
- }
45
- };
46
- }
36
+ exports.has = function has(key) {
37
+ var _this$node;
38
+ const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
39
+ if (val && Array.isArray(val)) {
40
+ return !!val.length;
41
+ } else {
42
+ return !!val;
43
+ }
44
+ };
47
45
  function isStatic() {
48
46
  return this.scope.isStatic(this.node);
49
47
  }
50
- {
51
- exports.is = exports.has;
52
- exports.isnt = function isnt(key) {
53
- return !this.has(key);
54
- };
55
- exports.equals = function equals(key, value) {
56
- return this.node[key] === value;
57
- };
58
- }
48
+ exports.is = exports.has;
49
+ exports.isnt = function isnt(key) {
50
+ return !this.has(key);
51
+ };
52
+ exports.equals = function equals(key, value) {
53
+ return this.node[key] === value;
54
+ };
59
55
  function isNodeType(type) {
60
56
  return isType(this.type, type);
61
57
  }
@@ -109,7 +105,7 @@ function referencesImport(moduleSource, importName) {
109
105
  return false;
110
106
  }
111
107
  const binding = this.scope.getBinding(this.node.name);
112
- if (!binding || binding.kind !== "module") return false;
108
+ if ((binding == null ? void 0 : binding.kind) !== "module") return false;
113
109
  const path = binding.path;
114
110
  const parent = path.parentPath;
115
111
  if (!parent.isImportDeclaration()) return false;
@@ -1 +1 @@
1
- {"version":3,"names":["_t","require","STATEMENT_OR_BLOCK_KEYS","VISITOR_KEYS","isBlockStatement","isExpression","isIdentifier","isLiteral","isStringLiteral","isType","matchesPattern","_matchesPattern","pattern","allowPartial","node","exports","has","key","_this$node","val","Array","isArray","length","isStatic","scope","is","isnt","equals","value","isNodeType","type","canHaveVariableDeclarationOrExpression","parentPath","isFor","canSwapBetweenExpressionAndStatement","replacement","isArrowFunctionExpression","isCompletionRecord","allowInsideFunction","path","first","container","isFunction","isProgram","isDoExpression","isStatementOrBlock","isLabeledStatement","includes","referencesImport","moduleSource","importName","isReferencedIdentifier","isJSXMemberExpression","property","name","isMemberExpression","isOptionalMemberExpression","computed","object","get","binding","getBinding","kind","parent","isImportDeclaration","source","isImportDefaultSpecifier","isImportNamespaceSpecifier","isImportSpecifier","imported","getSource","end","code","hub","getCode","slice","start","willIMaybeExecuteBefore","target","_guessExecutionStatusRelativeTo","getOuterFunction","getFunctionParent","getProgramParent","isExecutionUncertain","isExecutionUncertainInList","paths","maxIndex","i","parentKey","SYMBOL_CHECKING","Symbol","_guessExecutionStatusRelativeToCached","Map","base","cache","funcParent","this","_guessExecutionStatusRelativeToDifferentFunctionsCached","getAncestry","commonPath","commonIndex","indexOf","Error","divergence","listKey","keys","keyPosition","_guessExecutionStatusRelativeToDifferentFunctionsInternal","isFunctionDeclaration","isExportDeclaration","id","references","referencePaths","allStatus","childOfFunction","find","isCallExpression","status","nodeMap","cached","set","result","resolve","dangerous","resolved","_resolve","call","_resolved","push","isVariableDeclarator","constant","ret","isTypeCastExpression","targetKey","toComputedKey","targetName","isObjectExpression","props","prop","isProperty","match","isArrayExpression","isNaN","elems","elem","isConstantExpression","isRegExpLiteral","isTemplateLiteral","every","expression","isUnaryExpression","operator","isBinaryExpression","hasBinding","noGlobals","arguments","isInStrictMode","strictParent","sourceType","isClass","body","directive","directives"],"sources":["../../src/path/introspection.ts"],"sourcesContent":["// This file contains methods responsible for introspecting the current path for certain values.\n\nimport type NodePath from \"./index.ts\";\nimport {\n STATEMENT_OR_BLOCK_KEYS,\n VISITOR_KEYS,\n isBlockStatement,\n isExpression,\n isIdentifier,\n isLiteral,\n isStringLiteral,\n isType,\n matchesPattern as _matchesPattern,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n/**\n * Match the current node if it matches the provided `pattern`.\n *\n * For example, given the match `React.createClass` it would match the\n * parsed nodes of `React.createClass` and `React[\"createClass\"]`.\n */\n\nexport function matchesPattern(\n this: NodePath,\n pattern: string,\n allowPartial?: boolean,\n): boolean {\n return _matchesPattern(this.node, pattern, allowPartial);\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n /**\n * Check whether we have the input `key`. If the `key` references an array then we check\n * if the array has any items, otherwise we just check if it's falsy.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.has = function has<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n ): boolean {\n const val = (this.node as N)?.[key];\n if (val && Array.isArray(val)) {\n return !!val.length;\n } else {\n return !!val;\n }\n };\n}\n\nexport function isStatic(this: NodePath): boolean {\n return this.scope.isStatic(this.node);\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n /**\n * Alias of `has`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.is = exports.has;\n\n /**\n * Opposite of `has`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.isnt = function isnt<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n ): boolean {\n // @ts-expect-error Babel 7\n return !this.has(key);\n };\n\n /**\n * Check whether the path node `key` strict equals `value`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.equals = function equals<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n value: any,\n ): boolean {\n return (this.node as N)[key] === value;\n };\n}\n\n/**\n * Check the type against our stored internal type of the node. This is handy when a node has\n * been removed yet we still internally know the type and need it to calculate node replacement.\n */\n\nexport function isNodeType(this: NodePath, type: string): boolean {\n return isType(this.type, type);\n}\n\n/**\n * This checks whether or not we're in one of the following positions:\n *\n * for (KEY in right);\n * for (KEY;;);\n *\n * This is because these spots allow VariableDeclarations AND normal expressions so we need\n * to tell the path replacement that it's ok to replace this with an expression.\n */\n\nexport function canHaveVariableDeclarationOrExpression(this: NodePath) {\n return (\n (this.key === \"init\" || this.key === \"left\") && this.parentPath.isFor()\n );\n}\n\n/**\n * This checks whether we are swapping an arrow function's body between an\n * expression and a block statement (or vice versa).\n *\n * This is because arrow functions may implicitly return an expression, which\n * is the same as containing a block statement.\n */\n\nexport function canSwapBetweenExpressionAndStatement(\n this: NodePath,\n replacement: t.Node,\n): boolean {\n if (this.key !== \"body\" || !this.parentPath.isArrowFunctionExpression()) {\n return false;\n }\n\n if (this.isExpression()) {\n return isBlockStatement(replacement);\n } else if (this.isBlockStatement()) {\n return isExpression(replacement);\n }\n\n return false;\n}\n\n/**\n * Check whether the current path references a completion record\n */\n\nexport function isCompletionRecord(\n this: NodePath,\n allowInsideFunction?: boolean,\n): boolean {\n let path = this;\n let first = true;\n\n do {\n const { type, container } = path;\n\n // we're in a function so can't be a completion record\n if (!first && (path.isFunction() || type === \"StaticBlock\")) {\n return !!allowInsideFunction;\n }\n\n first = false;\n\n // check to see if we're the last item in the container and if we are\n // we're a completion record!\n if (Array.isArray(container) && path.key !== container.length - 1) {\n return false;\n }\n } while (\n (path = path.parentPath) &&\n !path.isProgram() &&\n !path.isDoExpression()\n );\n\n return true;\n}\n\n/**\n * Check whether or not the current `key` allows either a single statement or block statement\n * so we can explode it if necessary.\n */\n\nexport function isStatementOrBlock(this: NodePath): boolean {\n if (\n this.parentPath.isLabeledStatement() ||\n isBlockStatement(this.container as t.Node)\n ) {\n return false;\n } else {\n return STATEMENT_OR_BLOCK_KEYS.includes(this.key as string);\n }\n}\n\n/**\n * Check if the currently assigned path references the `importName` of `moduleSource`.\n */\n\nexport function referencesImport(\n this: NodePath,\n moduleSource: string,\n importName: string,\n): boolean {\n if (!this.isReferencedIdentifier()) {\n if (\n (this.isJSXMemberExpression() &&\n this.node.property.name === importName) ||\n ((this.isMemberExpression() || this.isOptionalMemberExpression()) &&\n (this.node.computed\n ? isStringLiteral(this.node.property, { value: importName })\n : (this.node.property as t.Identifier).name === importName))\n ) {\n const object = (\n this as NodePath<t.MemberExpression | t.OptionalMemberExpression>\n ).get(\"object\");\n return (\n object.isReferencedIdentifier() &&\n object.referencesImport(moduleSource, \"*\")\n );\n }\n\n return false;\n }\n\n const binding = this.scope.getBinding((this.node as t.Identifier).name);\n if (!binding || binding.kind !== \"module\") return false;\n\n const path = binding.path;\n const parent = path.parentPath;\n if (!parent.isImportDeclaration()) return false;\n\n // check moduleSource\n if (parent.node.source.value === moduleSource) {\n if (!importName) return true;\n } else {\n return false;\n }\n\n if (path.isImportDefaultSpecifier() && importName === \"default\") {\n return true;\n }\n\n if (path.isImportNamespaceSpecifier() && importName === \"*\") {\n return true;\n }\n\n if (\n path.isImportSpecifier() &&\n isIdentifier(path.node.imported, { name: importName })\n ) {\n return true;\n }\n\n return false;\n}\n\n/**\n * Get the source code associated with this node.\n */\n\nexport function getSource(this: NodePath): string {\n const node = this.node;\n if (node.end) {\n const code = this.hub.getCode();\n if (code) return code.slice(node.start!, node.end);\n }\n return \"\";\n}\n\nexport function willIMaybeExecuteBefore(\n this: NodePath,\n target: NodePath,\n): boolean {\n return this._guessExecutionStatusRelativeTo(target) !== \"after\";\n}\n\nfunction getOuterFunction(path: NodePath) {\n return path.isProgram()\n ? path\n : (\n path.parentPath.scope.getFunctionParent() ||\n path.parentPath.scope.getProgramParent()\n ).path;\n}\n\nfunction isExecutionUncertain(type: t.Node[\"type\"], key: string) {\n switch (type) {\n // a && FOO\n // a || FOO\n case \"LogicalExpression\":\n return key === \"right\";\n\n // a ? FOO : FOO\n // if (a) FOO; else FOO;\n case \"ConditionalExpression\":\n case \"IfStatement\":\n return key === \"consequent\" || key === \"alternate\";\n\n // while (a) FOO;\n case \"WhileStatement\":\n case \"DoWhileStatement\":\n case \"ForInStatement\":\n case \"ForOfStatement\":\n return key === \"body\";\n\n // for (a; b; FOO) FOO;\n case \"ForStatement\":\n return key === \"body\" || key === \"update\";\n\n // switch (a) { FOO }\n case \"SwitchStatement\":\n return key === \"cases\";\n\n // try { a } catch FOO finally { b }\n case \"TryStatement\":\n return key === \"handler\";\n\n // var [ x = FOO ]\n case \"AssignmentPattern\":\n return key === \"right\";\n\n // a?.[FOO]\n case \"OptionalMemberExpression\":\n return key === \"property\";\n\n // a?.(FOO)\n case \"OptionalCallExpression\":\n return key === \"arguments\";\n\n default:\n return false;\n }\n}\n\nfunction isExecutionUncertainInList(paths: NodePath[], maxIndex: number) {\n for (let i = 0; i < maxIndex; i++) {\n const path = paths[i];\n if (isExecutionUncertain(path.parent.type, path.parentKey)) {\n return true;\n }\n }\n return false;\n}\n\n// TODO(Babel 8)\n// This can be { before: boolean, after: boolean, unknown: boolean }.\n// This allows transforms like the tdz one to treat cases when the status\n// is both before and unknown/after like if it were before.\ntype RelativeExecutionStatus = \"before\" | \"after\" | \"unknown\";\n\n// Used to avoid infinite recursion in cases like\n// function f() { if (false) f(); }\n// f();\n// It also works with indirect recursion.\nconst SYMBOL_CHECKING = Symbol();\n\ntype ExecutionStatusCache = Map<\n t.Node,\n Map<t.Node, RelativeExecutionStatus | typeof SYMBOL_CHECKING>\n>;\n\n/**\n * Given a `target` check the execution status of it relative to the current path.\n *\n * \"Execution status\" simply refers to where or not we **think** this will execute\n * before or after the input `target` element.\n */\n\nexport function _guessExecutionStatusRelativeTo(\n this: NodePath,\n target: NodePath,\n): RelativeExecutionStatus {\n return _guessExecutionStatusRelativeToCached(this, target, new Map());\n}\n\nfunction _guessExecutionStatusRelativeToCached(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n // check if the two paths are in different functions, we can't track execution of these\n const funcParent = {\n this: getOuterFunction(base),\n target: getOuterFunction(target),\n };\n\n // here we check the `node` equality as sometimes we may have different paths for the\n // same node due to path thrashing\n if (funcParent.target.node !== funcParent.this.node) {\n return _guessExecutionStatusRelativeToDifferentFunctionsCached(\n base,\n funcParent.target,\n cache,\n );\n }\n\n const paths = {\n target: target.getAncestry(),\n this: base.getAncestry(),\n };\n\n // If this is an ancestor of the target path,\n // e.g. f(g); where this is f and target is g.\n if (paths.target.includes(base)) return \"after\";\n if (paths.this.includes(target)) return \"before\";\n\n // get ancestor where the branches intersect\n let commonPath;\n const commonIndex = { target: 0, this: 0 };\n\n while (!commonPath && commonIndex.this < paths.this.length) {\n const path = paths.this[commonIndex.this];\n commonIndex.target = paths.target.indexOf(path);\n if (commonIndex.target >= 0) {\n commonPath = path;\n } else {\n commonIndex.this++;\n }\n }\n\n if (!commonPath) {\n throw new Error(\n \"Internal Babel error - The two compared nodes\" +\n \" don't appear to belong to the same program.\",\n );\n }\n\n if (\n isExecutionUncertainInList(paths.this, commonIndex.this - 1) ||\n isExecutionUncertainInList(paths.target, commonIndex.target - 1)\n ) {\n return \"unknown\";\n }\n\n const divergence = {\n this: paths.this[commonIndex.this - 1],\n target: paths.target[commonIndex.target - 1],\n };\n\n // container list so let's see which one is after the other\n // e.g. [ THIS, TARGET ]\n if (\n divergence.target.listKey &&\n divergence.this.listKey &&\n divergence.target.container === divergence.this.container\n ) {\n return divergence.target.key! > divergence.this.key! ? \"before\" : \"after\";\n }\n\n // otherwise we're associated by a parent node, check which key comes before the other\n const keys = VISITOR_KEYS[commonPath.type];\n const keyPosition = {\n this: keys.indexOf(divergence.this.parentKey),\n target: keys.indexOf(divergence.target.parentKey),\n };\n return keyPosition.target > keyPosition.this ? \"before\" : \"after\";\n}\n\nfunction _guessExecutionStatusRelativeToDifferentFunctionsInternal(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n if (!target.isFunctionDeclaration()) {\n if (\n _guessExecutionStatusRelativeToCached(base, target, cache) === \"before\"\n ) {\n return \"before\";\n }\n return \"unknown\";\n } else if (target.parentPath.isExportDeclaration()) {\n return \"unknown\";\n }\n\n // so we're in a completely different function, if this is a function declaration\n // then we can be a bit smarter and handle cases where the function is either\n // a. not called at all (part of an export)\n // b. called directly\n const binding = target.scope.getBinding(target.node.id!.name)!;\n\n // no references!\n if (!binding.references) return \"before\";\n\n const referencePaths: Array<NodePath> = binding.referencePaths;\n\n let allStatus;\n\n // verify that all the calls have the same execution status\n for (const path of referencePaths) {\n // if a reference is a child of the function we're checking against then we can\n // safely ignore it\n const childOfFunction = !!path.find(path => path.node === target.node);\n if (childOfFunction) continue;\n\n if (path.key !== \"callee\" || !path.parentPath.isCallExpression()) {\n // This function is passed as a reference, so we don't\n // know when it will be called.\n return \"unknown\";\n }\n\n const status = _guessExecutionStatusRelativeToCached(base, path, cache);\n\n if (allStatus && allStatus !== status) {\n return \"unknown\";\n } else {\n allStatus = status;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n return allStatus!;\n}\n\nfunction _guessExecutionStatusRelativeToDifferentFunctionsCached(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n let nodeMap = cache.get(base.node);\n let cached;\n\n if (!nodeMap) {\n cache.set(base.node, (nodeMap = new Map()));\n } else if ((cached = nodeMap.get(target.node))) {\n if (cached === SYMBOL_CHECKING) {\n return \"unknown\";\n }\n return cached;\n }\n\n nodeMap.set(target.node, SYMBOL_CHECKING);\n\n const result = _guessExecutionStatusRelativeToDifferentFunctionsInternal(\n base,\n target,\n cache,\n );\n\n nodeMap.set(target.node, result);\n return result;\n}\n\n/**\n * Resolve the value pointed to by a NodePath\n * e.g.\n * ```\n * var a = 1;\n * var b = a;\n * b;\n * ```\n * `b.resolve()` will return `1`\n */\nexport function resolve(\n this: NodePath,\n dangerous?: boolean,\n resolved?: NodePath[],\n) {\n return _resolve.call(this, dangerous, resolved) || this;\n}\n\nexport function _resolve(\n this: NodePath,\n dangerous?: boolean,\n resolved?: NodePath[],\n): NodePath | undefined | null {\n // detect infinite recursion\n // todo: possibly have a max length on this just to be safe\n if (resolved?.includes(this)) return;\n\n // we store all the paths we've \"resolved\" in this array to prevent infinite recursion\n resolved = resolved || [];\n resolved.push(this);\n\n if (this.isVariableDeclarator()) {\n if (this.get(\"id\").isIdentifier()) {\n return this.get(\"init\").resolve(dangerous, resolved);\n } else {\n // otherwise it's a request for a pattern and that's a bit more tricky\n }\n } else if (this.isReferencedIdentifier()) {\n const binding = this.scope.getBinding(this.node.name);\n if (!binding) return;\n\n // reassigned so we can't really resolve it\n if (!binding.constant) return;\n\n // todo - lookup module in dependency graph\n if (binding.kind === \"module\") return;\n\n if (binding.path !== this) {\n const ret = binding.path.resolve(dangerous, resolved);\n // If the identifier resolves to parent node then we can't really resolve it.\n if (this.find(parent => parent.node === ret.node)) return;\n return ret;\n }\n } else if (this.isTypeCastExpression()) {\n // @ ts-ignore todo: babel-types\n return this.get(\"expression\").resolve(dangerous, resolved);\n } else if (dangerous && this.isMemberExpression()) {\n // this is dangerous, as non-direct target assignments will mutate it's state\n // making this resolution inaccurate\n\n const targetKey = this.toComputedKey();\n if (!isLiteral(targetKey)) return;\n\n // @ts-expect-error todo(flow->ts): NullLiteral\n const targetName = targetKey.value;\n\n const target = this.get(\"object\").resolve(dangerous, resolved);\n\n if (target.isObjectExpression()) {\n const props = target.get(\"properties\");\n for (const prop of props as any[]) {\n if (!prop.isProperty()) continue;\n\n const key = prop.get(\"key\");\n\n // { foo: obj }\n let match =\n prop.isnt(\"computed\") && key.isIdentifier({ name: targetName });\n\n // { \"foo\": \"obj\" } or { [\"foo\"]: \"obj\" }\n match = match || key.isLiteral({ value: targetName });\n\n if (match) return prop.get(\"value\").resolve(dangerous, resolved);\n }\n } else if (target.isArrayExpression() && !isNaN(+targetName)) {\n const elems = target.get(\"elements\");\n const elem = elems[targetName];\n // @ts-expect-error FIXME: NodePath<null>\n if (elem) return elem.resolve(dangerous, resolved);\n }\n }\n}\n\nexport function isConstantExpression(this: NodePath): boolean {\n if (this.isIdentifier()) {\n const binding = this.scope.getBinding(this.node.name);\n if (!binding) return false;\n return binding.constant;\n }\n\n if (this.isLiteral()) {\n if (this.isRegExpLiteral()) {\n return false;\n }\n\n if (this.isTemplateLiteral()) {\n return this.get(\"expressions\").every(expression =>\n expression.isConstantExpression(),\n );\n }\n\n return true;\n }\n\n if (this.isUnaryExpression()) {\n if (this.node.operator !== \"void\") {\n return false;\n }\n\n return this.get(\"argument\").isConstantExpression();\n }\n\n if (this.isBinaryExpression()) {\n const { operator } = this.node;\n return (\n operator !== \"in\" &&\n operator !== \"instanceof\" &&\n this.get(\"left\").isConstantExpression() &&\n this.get(\"right\").isConstantExpression()\n );\n }\n\n if (this.isMemberExpression()) {\n return (\n !this.node.computed &&\n this.get(\"object\").isIdentifier({ name: \"Symbol\" }) &&\n !this.scope.hasBinding(\"Symbol\", { noGlobals: true })\n );\n }\n\n if (this.isCallExpression()) {\n return (\n this.node.arguments.length === 1 &&\n this.get(\"callee\").matchesPattern(\"Symbol.for\") &&\n !this.scope.hasBinding(\"Symbol\", { noGlobals: true }) &&\n this.get(\"arguments\")[0].isStringLiteral()\n );\n }\n\n return false;\n}\n\nexport function isInStrictMode(this: NodePath) {\n const start = this.isProgram() ? this : this.parentPath;\n\n const strictParent = start.find(path => {\n if (path.isProgram({ sourceType: \"module\" })) return true;\n\n if (path.isClass()) return true;\n\n if (\n path.isArrowFunctionExpression() &&\n !path.get(\"body\").isBlockStatement()\n ) {\n return false;\n }\n\n let body: t.BlockStatement | t.Program;\n if (path.isFunction()) {\n body = path.node.body as t.BlockStatement;\n } else if (path.isProgram()) {\n body = path.node;\n } else {\n return false;\n }\n\n for (const directive of body.directives) {\n if (directive.value.value === \"use strict\") {\n return true;\n }\n }\n return false;\n });\n\n return !!strictParent;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,IAAAA,EAAA,GAAAC,OAAA;AAUsB;EATpBC,uBAAuB;EACvBC,YAAY;EACZC,gBAAgB;EAChBC,YAAY;EACZC,YAAY;EACZC,SAAS;EACTC,eAAe;EACfC,MAAM;EACNC,cAAc,EAAIC;AAAe,IAAAX,EAAA;AAW5B,SAASU,cAAcA,CAE5BE,OAAe,EACfC,YAAsB,EACb;EACT,OAAOF,eAAe,CAAC,IAAI,CAACG,IAAI,EAAEF,OAAO,EAAEC,YAAY,CAAC;AAC1D;AAE+C;EAM7CE,OAAO,CAACC,GAAG,GAAG,SAASA,GAAGA,CAExBC,GAAY,EACH;IAAA,IAAAC,UAAA;IACT,MAAMC,GAAG,IAAAD,UAAA,GAAI,IAAI,CAACJ,IAAI,qBAAVI,UAAA,CAAmBD,GAAG,CAAC;IACnC,IAAIE,GAAG,IAAIC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,EAAE;MAC7B,OAAO,CAAC,CAACA,GAAG,CAACG,MAAM;IACrB,CAAC,MAAM;MACL,OAAO,CAAC,CAACH,GAAG;IACd;EACF,CAAC;AACH;AAEO,SAASI,QAAQA,CAAA,EAA0B;EAChD,OAAO,IAAI,CAACC,KAAK,CAACD,QAAQ,CAAC,IAAI,CAACT,IAAI,CAAC;AACvC;AAE+C;EAK7CC,OAAO,CAACU,EAAE,GAAGV,OAAO,CAACC,GAAG;EAMxBD,OAAO,CAACW,IAAI,GAAG,SAASA,IAAIA,CAE1BT,GAAY,EACH;IAET,OAAO,CAAC,IAAI,CAACD,GAAG,CAACC,GAAG,CAAC;EACvB,CAAC;EAMDF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;MACrBsH,IAAI,GAAGzH,IAAI,CAACzB,IAAI,CAACkJ,IAAwB;IAC3C,CAAC,MAAM,IAAIzH,IAAI,CAACI,SAAS,CAAC,CAAC,EAAE;MAC3BqH,IAAI,GAAGzH,IAAI,CAACzB,IAAI;IAClB,CAAC,MAAM;MACL,OAAO,KAAK;IACd;IAEA,KAAK,MAAMmJ,SAAS,IAAID,IAAI,CAACE,UAAU,EAAE;MACvC,IAAID,SAAS,CAACrI,KAAK,CAACA,KAAK,KAAK,YAAY,EAAE;QAC1C,OAAO,IAAI;MACb;IACF;IACA,OAAO,KAAK;EACd,CAAC,CAAC;EAEF,OAAO,CAAC,CAACiI,YAAY;AACvB","ignoreList":[]}
1
+ {"version":3,"names":["_t","require","STATEMENT_OR_BLOCK_KEYS","VISITOR_KEYS","isBlockStatement","isExpression","isIdentifier","isLiteral","isStringLiteral","isType","matchesPattern","_matchesPattern","pattern","allowPartial","node","exports","has","key","_this$node","val","Array","isArray","length","isStatic","scope","is","isnt","equals","value","isNodeType","type","canHaveVariableDeclarationOrExpression","parentPath","isFor","canSwapBetweenExpressionAndStatement","replacement","isArrowFunctionExpression","isCompletionRecord","allowInsideFunction","path","first","container","isFunction","isProgram","isDoExpression","isStatementOrBlock","isLabeledStatement","includes","referencesImport","moduleSource","importName","isReferencedIdentifier","isJSXMemberExpression","property","name","isMemberExpression","isOptionalMemberExpression","computed","object","get","binding","getBinding","kind","parent","isImportDeclaration","source","isImportDefaultSpecifier","isImportNamespaceSpecifier","isImportSpecifier","imported","getSource","end","code","hub","getCode","slice","start","willIMaybeExecuteBefore","target","_guessExecutionStatusRelativeTo","getOuterFunction","getFunctionParent","getProgramParent","isExecutionUncertain","isExecutionUncertainInList","paths","maxIndex","i","parentKey","SYMBOL_CHECKING","Symbol","_guessExecutionStatusRelativeToCached","Map","base","cache","funcParent","this","_guessExecutionStatusRelativeToDifferentFunctionsCached","getAncestry","commonPath","commonIndex","indexOf","Error","divergence","listKey","keys","keyPosition","_guessExecutionStatusRelativeToDifferentFunctionsInternal","isFunctionDeclaration","isExportDeclaration","id","references","referencePaths","allStatus","childOfFunction","find","isCallExpression","status","nodeMap","cached","set","result","resolve","dangerous","resolved","_resolve","call","_resolved","push","isVariableDeclarator","constant","ret","isTypeCastExpression","targetKey","toComputedKey","targetName","isObjectExpression","props","prop","isProperty","match","isArrayExpression","isNaN","elems","elem","isConstantExpression","isRegExpLiteral","isTemplateLiteral","every","expression","isUnaryExpression","operator","isBinaryExpression","hasBinding","noGlobals","arguments","isInStrictMode","strictParent","sourceType","isClass","body","directive","directives"],"sources":["../../src/path/introspection.ts"],"sourcesContent":["// This file contains methods responsible for introspecting the current path for certain values.\n\nimport type NodePath from \"./index.ts\";\nimport {\n STATEMENT_OR_BLOCK_KEYS,\n VISITOR_KEYS,\n isBlockStatement,\n isExpression,\n isIdentifier,\n isLiteral,\n isStringLiteral,\n isType,\n matchesPattern as _matchesPattern,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n/**\n * Match the current node if it matches the provided `pattern`.\n *\n * For example, given the match `React.createClass` it would match the\n * parsed nodes of `React.createClass` and `React[\"createClass\"]`.\n */\n\nexport function matchesPattern(\n this: NodePath,\n pattern: string,\n allowPartial?: boolean,\n): boolean {\n return _matchesPattern(this.node, pattern, allowPartial);\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n /**\n * Check whether we have the input `key`. If the `key` references an array then we check\n * if the array has any items, otherwise we just check if it's falsy.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.has = function has<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n ): boolean {\n const val = (this.node as N)?.[key];\n if (val && Array.isArray(val)) {\n return !!val.length;\n } else {\n return !!val;\n }\n };\n}\n\nexport function isStatic(this: NodePath): boolean {\n return this.scope.isStatic(this.node);\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n /**\n * Alias of `has`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.is = exports.has;\n\n /**\n * Opposite of `has`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.isnt = function isnt<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n ): boolean {\n // @ts-expect-error Babel 7\n return !this.has(key);\n };\n\n /**\n * Check whether the path node `key` strict equals `value`.\n */\n // eslint-disable-next-line no-restricted-globals\n exports.equals = function equals<N extends t.Node>(\n this: NodePath<N>,\n key: keyof N,\n value: any,\n ): boolean {\n return (this.node as N)[key] === value;\n };\n}\n\n/**\n * Check the type against our stored internal type of the node. This is handy when a node has\n * been removed yet we still internally know the type and need it to calculate node replacement.\n */\n\nexport function isNodeType(this: NodePath, type: string): boolean {\n return isType(this.type, type);\n}\n\n/**\n * This checks whether or not we're in one of the following positions:\n *\n * for (KEY in right);\n * for (KEY;;);\n *\n * This is because these spots allow VariableDeclarations AND normal expressions so we need\n * to tell the path replacement that it's ok to replace this with an expression.\n */\n\nexport function canHaveVariableDeclarationOrExpression(this: NodePath) {\n return (\n (this.key === \"init\" || this.key === \"left\") && this.parentPath.isFor()\n );\n}\n\n/**\n * This checks whether we are swapping an arrow function's body between an\n * expression and a block statement (or vice versa).\n *\n * This is because arrow functions may implicitly return an expression, which\n * is the same as containing a block statement.\n */\n\nexport function canSwapBetweenExpressionAndStatement(\n this: NodePath,\n replacement: t.Node,\n): boolean {\n if (this.key !== \"body\" || !this.parentPath.isArrowFunctionExpression()) {\n return false;\n }\n\n if (this.isExpression()) {\n return isBlockStatement(replacement);\n } else if (this.isBlockStatement()) {\n return isExpression(replacement);\n }\n\n return false;\n}\n\n/**\n * Check whether the current path references a completion record\n */\n\nexport function isCompletionRecord(\n this: NodePath,\n allowInsideFunction?: boolean,\n): boolean {\n let path = this;\n let first = true;\n\n do {\n const { type, container } = path;\n\n // we're in a function so can't be a completion record\n if (!first && (path.isFunction() || type === \"StaticBlock\")) {\n return !!allowInsideFunction;\n }\n\n first = false;\n\n // check to see if we're the last item in the container and if we are\n // we're a completion record!\n if (Array.isArray(container) && path.key !== container.length - 1) {\n return false;\n }\n } while (\n (path = path.parentPath) &&\n !path.isProgram() &&\n !path.isDoExpression()\n );\n\n return true;\n}\n\n/**\n * Check whether or not the current `key` allows either a single statement or block statement\n * so we can explode it if necessary.\n */\n\nexport function isStatementOrBlock(this: NodePath): boolean {\n if (\n this.parentPath.isLabeledStatement() ||\n isBlockStatement(this.container as t.Node)\n ) {\n return false;\n } else {\n return STATEMENT_OR_BLOCK_KEYS.includes(this.key as string);\n }\n}\n\n/**\n * Check if the currently assigned path references the `importName` of `moduleSource`.\n */\n\nexport function referencesImport(\n this: NodePath,\n moduleSource: string,\n importName: string,\n): boolean {\n if (!this.isReferencedIdentifier()) {\n if (\n (this.isJSXMemberExpression() &&\n this.node.property.name === importName) ||\n ((this.isMemberExpression() || this.isOptionalMemberExpression()) &&\n (this.node.computed\n ? isStringLiteral(this.node.property, { value: importName })\n : (this.node.property as t.Identifier).name === importName))\n ) {\n const object = (\n this as NodePath<t.MemberExpression | t.OptionalMemberExpression>\n ).get(\"object\");\n return (\n object.isReferencedIdentifier() &&\n object.referencesImport(moduleSource, \"*\")\n );\n }\n\n return false;\n }\n\n const binding = this.scope.getBinding((this.node as t.Identifier).name);\n if (binding?.kind !== \"module\") return false;\n\n const path = binding.path;\n const parent = path.parentPath;\n if (!parent.isImportDeclaration()) return false;\n\n // check moduleSource\n if (parent.node.source.value === moduleSource) {\n if (!importName) return true;\n } else {\n return false;\n }\n\n if (path.isImportDefaultSpecifier() && importName === \"default\") {\n return true;\n }\n\n if (path.isImportNamespaceSpecifier() && importName === \"*\") {\n return true;\n }\n\n if (\n path.isImportSpecifier() &&\n isIdentifier(path.node.imported, { name: importName })\n ) {\n return true;\n }\n\n return false;\n}\n\n/**\n * Get the source code associated with this node.\n */\n\nexport function getSource(this: NodePath): string {\n const node = this.node;\n if (node.end) {\n const code = this.hub.getCode();\n if (code) return code.slice(node.start!, node.end);\n }\n return \"\";\n}\n\nexport function willIMaybeExecuteBefore(\n this: NodePath,\n target: NodePath,\n): boolean {\n return this._guessExecutionStatusRelativeTo(target) !== \"after\";\n}\n\nfunction getOuterFunction(path: NodePath) {\n return path.isProgram()\n ? path\n : (\n path.parentPath.scope.getFunctionParent() ||\n path.parentPath.scope.getProgramParent()\n ).path;\n}\n\nfunction isExecutionUncertain(type: t.Node[\"type\"], key: string) {\n switch (type) {\n // a && FOO\n // a || FOO\n case \"LogicalExpression\":\n return key === \"right\";\n\n // a ? FOO : FOO\n // if (a) FOO; else FOO;\n case \"ConditionalExpression\":\n case \"IfStatement\":\n return key === \"consequent\" || key === \"alternate\";\n\n // while (a) FOO;\n case \"WhileStatement\":\n case \"DoWhileStatement\":\n case \"ForInStatement\":\n case \"ForOfStatement\":\n return key === \"body\";\n\n // for (a; b; FOO) FOO;\n case \"ForStatement\":\n return key === \"body\" || key === \"update\";\n\n // switch (a) { FOO }\n case \"SwitchStatement\":\n return key === \"cases\";\n\n // try { a } catch FOO finally { b }\n case \"TryStatement\":\n return key === \"handler\";\n\n // var [ x = FOO ]\n case \"AssignmentPattern\":\n return key === \"right\";\n\n // a?.[FOO]\n case \"OptionalMemberExpression\":\n return key === \"property\";\n\n // a?.(FOO)\n case \"OptionalCallExpression\":\n return key === \"arguments\";\n\n default:\n return false;\n }\n}\n\nfunction isExecutionUncertainInList(paths: NodePath[], maxIndex: number) {\n for (let i = 0; i < maxIndex; i++) {\n const path = paths[i];\n if (isExecutionUncertain(path.parent.type, path.parentKey)) {\n return true;\n }\n }\n return false;\n}\n\n// TODO(Babel 8)\n// This can be { before: boolean, after: boolean, unknown: boolean }.\n// This allows transforms like the tdz one to treat cases when the status\n// is both before and unknown/after like if it were before.\ntype RelativeExecutionStatus = \"before\" | \"after\" | \"unknown\";\n\n// Used to avoid infinite recursion in cases like\n// function f() { if (false) f(); }\n// f();\n// It also works with indirect recursion.\nconst SYMBOL_CHECKING = Symbol();\n\ntype ExecutionStatusCache = Map<\n t.Node,\n Map<t.Node, RelativeExecutionStatus | typeof SYMBOL_CHECKING>\n>;\n\n/**\n * Given a `target` check the execution status of it relative to the current path.\n *\n * \"Execution status\" simply refers to where or not we **think** this will execute\n * before or after the input `target` element.\n */\n\nexport function _guessExecutionStatusRelativeTo(\n this: NodePath,\n target: NodePath,\n): RelativeExecutionStatus {\n return _guessExecutionStatusRelativeToCached(this, target, new Map());\n}\n\nfunction _guessExecutionStatusRelativeToCached(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n // check if the two paths are in different functions, we can't track execution of these\n const funcParent = {\n this: getOuterFunction(base),\n target: getOuterFunction(target),\n };\n\n // here we check the `node` equality as sometimes we may have different paths for the\n // same node due to path thrashing\n if (funcParent.target.node !== funcParent.this.node) {\n return _guessExecutionStatusRelativeToDifferentFunctionsCached(\n base,\n funcParent.target,\n cache,\n );\n }\n\n const paths = {\n target: target.getAncestry(),\n this: base.getAncestry(),\n };\n\n // If this is an ancestor of the target path,\n // e.g. f(g); where this is f and target is g.\n if (paths.target.includes(base)) return \"after\";\n if (paths.this.includes(target)) return \"before\";\n\n // get ancestor where the branches intersect\n let commonPath;\n const commonIndex = { target: 0, this: 0 };\n\n while (!commonPath && commonIndex.this < paths.this.length) {\n const path = paths.this[commonIndex.this];\n commonIndex.target = paths.target.indexOf(path);\n if (commonIndex.target >= 0) {\n commonPath = path;\n } else {\n commonIndex.this++;\n }\n }\n\n if (!commonPath) {\n throw new Error(\n \"Internal Babel error - The two compared nodes\" +\n \" don't appear to belong to the same program.\",\n );\n }\n\n if (\n isExecutionUncertainInList(paths.this, commonIndex.this - 1) ||\n isExecutionUncertainInList(paths.target, commonIndex.target - 1)\n ) {\n return \"unknown\";\n }\n\n const divergence = {\n this: paths.this[commonIndex.this - 1],\n target: paths.target[commonIndex.target - 1],\n };\n\n // container list so let's see which one is after the other\n // e.g. [ THIS, TARGET ]\n if (\n divergence.target.listKey &&\n divergence.this.listKey &&\n divergence.target.container === divergence.this.container\n ) {\n return divergence.target.key! > divergence.this.key! ? \"before\" : \"after\";\n }\n\n // otherwise we're associated by a parent node, check which key comes before the other\n const keys = VISITOR_KEYS[commonPath.type];\n const keyPosition = {\n this: keys.indexOf(divergence.this.parentKey),\n target: keys.indexOf(divergence.target.parentKey),\n };\n return keyPosition.target > keyPosition.this ? \"before\" : \"after\";\n}\n\nfunction _guessExecutionStatusRelativeToDifferentFunctionsInternal(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n if (!target.isFunctionDeclaration()) {\n if (\n _guessExecutionStatusRelativeToCached(base, target, cache) === \"before\"\n ) {\n return \"before\";\n }\n return \"unknown\";\n } else if (target.parentPath.isExportDeclaration()) {\n return \"unknown\";\n }\n\n // so we're in a completely different function, if this is a function declaration\n // then we can be a bit smarter and handle cases where the function is either\n // a. not called at all (part of an export)\n // b. called directly\n const binding = target.scope.getBinding(target.node.id!.name)!;\n\n // no references!\n if (!binding.references) return \"before\";\n\n const referencePaths: NodePath[] = binding.referencePaths;\n\n let allStatus;\n\n // verify that all the calls have the same execution status\n for (const path of referencePaths) {\n // if a reference is a child of the function we're checking against then we can\n // safely ignore it\n const childOfFunction = !!path.find(path => path.node === target.node);\n if (childOfFunction) continue;\n\n if (path.key !== \"callee\" || !path.parentPath.isCallExpression()) {\n // This function is passed as a reference, so we don't\n // know when it will be called.\n return \"unknown\";\n }\n\n const status = _guessExecutionStatusRelativeToCached(base, path, cache);\n\n if (allStatus && allStatus !== status) {\n return \"unknown\";\n } else {\n allStatus = status;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n return allStatus!;\n}\n\nfunction _guessExecutionStatusRelativeToDifferentFunctionsCached(\n base: NodePath,\n target: NodePath,\n cache: ExecutionStatusCache,\n): RelativeExecutionStatus {\n let nodeMap = cache.get(base.node);\n let cached;\n\n if (!nodeMap) {\n cache.set(base.node, (nodeMap = new Map()));\n } else if ((cached = nodeMap.get(target.node))) {\n if (cached === SYMBOL_CHECKING) {\n return \"unknown\";\n }\n return cached;\n }\n\n nodeMap.set(target.node, SYMBOL_CHECKING);\n\n const result = _guessExecutionStatusRelativeToDifferentFunctionsInternal(\n base,\n target,\n cache,\n );\n\n nodeMap.set(target.node, result);\n return result;\n}\n\n/**\n * Resolve the value pointed to by a NodePath\n * e.g.\n * ```\n * var a = 1;\n * var b = a;\n * b;\n * ```\n * `b.resolve()` will return `1`\n */\nexport function resolve(\n this: NodePath,\n dangerous?: boolean,\n resolved?: NodePath[],\n) {\n return _resolve.call(this, dangerous, resolved) || this;\n}\n\nexport function _resolve(\n this: NodePath,\n dangerous?: boolean,\n resolved?: NodePath[],\n): NodePath | undefined | null {\n // detect infinite recursion\n // todo: possibly have a max length on this just to be safe\n if (resolved?.includes(this)) return;\n\n // we store all the paths we've \"resolved\" in this array to prevent infinite recursion\n resolved = resolved || [];\n resolved.push(this);\n\n if (this.isVariableDeclarator()) {\n if (this.get(\"id\").isIdentifier()) {\n // @ts-expect-error FIXME: NodePath<null>\n return this.get(\"init\").resolve(dangerous, resolved);\n } else {\n // otherwise it's a request for a pattern and that's a bit more tricky\n }\n } else if (this.isReferencedIdentifier()) {\n const binding = this.scope.getBinding(this.node.name);\n if (!binding) return;\n\n // reassigned so we can't really resolve it\n if (!binding.constant) return;\n\n // todo - lookup module in dependency graph\n if (binding.kind === \"module\") return;\n\n if (binding.path !== this) {\n const ret = binding.path.resolve(dangerous, resolved);\n // If the identifier resolves to parent node then we can't really resolve it.\n if (this.find(parent => parent.node === ret.node)) return;\n return ret;\n }\n } else if (this.isTypeCastExpression()) {\n // @ ts-ignore todo: babel-types\n return this.get(\"expression\").resolve(dangerous, resolved);\n } else if (dangerous && this.isMemberExpression()) {\n // this is dangerous, as non-direct target assignments will mutate it's state\n // making this resolution inaccurate\n\n const targetKey = this.toComputedKey();\n if (!isLiteral(targetKey)) return;\n\n // @ts-expect-error todo(flow->ts): NullLiteral\n const targetName = targetKey.value;\n\n const target = this.get(\"object\").resolve(dangerous, resolved);\n\n if (target.isObjectExpression()) {\n const props = target.get(\"properties\");\n for (const prop of props as any[]) {\n if (!prop.isProperty()) continue;\n\n const key = prop.get(\"key\");\n\n // { foo: obj }\n let match =\n prop.isnt(\"computed\") && key.isIdentifier({ name: targetName });\n\n // { \"foo\": \"obj\" } or { [\"foo\"]: \"obj\" }\n match = match || key.isLiteral({ value: targetName });\n\n if (match) return prop.get(\"value\").resolve(dangerous, resolved);\n }\n } else if (target.isArrayExpression() && !isNaN(+targetName)) {\n const elems = target.get(\"elements\");\n const elem = elems[targetName];\n // @ts-expect-error FIXME: NodePath<null>\n if (elem) return elem.resolve(dangerous, resolved);\n }\n }\n}\n\nexport function isConstantExpression(this: NodePath): boolean {\n if (this.isIdentifier()) {\n const binding = this.scope.getBinding(this.node.name);\n if (!binding) return false;\n return binding.constant;\n }\n\n if (this.isLiteral()) {\n if (this.isRegExpLiteral()) {\n return false;\n }\n\n if (this.isTemplateLiteral()) {\n return this.get(\"expressions\").every(expression =>\n expression.isConstantExpression(),\n );\n }\n\n return true;\n }\n\n if (this.isUnaryExpression()) {\n if (this.node.operator !== \"void\") {\n return false;\n }\n\n return this.get(\"argument\").isConstantExpression();\n }\n\n if (this.isBinaryExpression()) {\n const { operator } = this.node;\n return (\n operator !== \"in\" &&\n operator !== \"instanceof\" &&\n this.get(\"left\").isConstantExpression() &&\n this.get(\"right\").isConstantExpression()\n );\n }\n\n if (this.isMemberExpression()) {\n return (\n !this.node.computed &&\n this.get(\"object\").isIdentifier({ name: \"Symbol\" }) &&\n !this.scope.hasBinding(\"Symbol\", { noGlobals: true })\n );\n }\n\n if (this.isCallExpression()) {\n return (\n this.node.arguments.length === 1 &&\n this.get(\"callee\").matchesPattern(\"Symbol.for\") &&\n !this.scope.hasBinding(\"Symbol\", { noGlobals: true }) &&\n this.get(\"arguments\")[0].isStringLiteral()\n );\n }\n\n return false;\n}\n\nexport function isInStrictMode(this: NodePath) {\n const start = this.isProgram() ? this : this.parentPath;\n\n const strictParent = start.find(path => {\n if (path.isProgram({ sourceType: \"module\" })) return true;\n\n if (path.isClass()) return true;\n\n if (\n path.isArrowFunctionExpression() &&\n !path.get(\"body\").isBlockStatement()\n ) {\n return false;\n }\n\n let body: t.BlockStatement | t.Program;\n if (path.isFunction()) {\n body = path.node.body as t.BlockStatement;\n } else if (path.isProgram()) {\n body = path.node;\n } else {\n return false;\n }\n\n for (const directive of body.directives) {\n if (directive.value.value === \"use strict\") {\n return true;\n }\n }\n return false;\n });\n\n return !!strictParent;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,IAAAA,EAAA,GAAAC,OAAA;AAUsB;EATpBC,uBAAuB;EACvBC,YAAY;EACZC,gBAAgB;EAChBC,YAAY;EACZC,YAAY;EACZC,SAAS;EACTC,eAAe;EACfC,MAAM;EACNC,cAAc,EAAIC;AAAe,IAAAX,EAAA;AAW5B,SAASU,cAAcA,CAE5BE,OAAe,EACfC,YAAsB,EACb;EACT,OAAOF,eAAe,CAAC,IAAI,CAACG,IAAI,EAAEF,OAAO,EAAEC,YAAY,CAAC;AAC1D;AAQEE,OAAO,CAACC,GAAG,GAAG,SAASA,GAAGA,CAExBC,GAAY,EACH;EAAA,IAAAC,UAAA;EACT,MAAMC,GAAG,IAAAD,UAAA,GAAI,IAAI,CAACJ,IAAI,qBAAVI,UAAA,CAAmBD,GAAG,CAAC;EACnC,IAAIE,GAAG,IAAIC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,EAAE;IAC7B,OAAO,CAAC,CAACA,GAAG,CAACG,MAAM;EACrB,CAAC,MAAM;IACL,OAAO,CAAC,CAACH,GAAG;EACd;AACF,CAAC;AAGI,SAASI,QAAQA,CAAA,EAA0B;EAChD,OAAO,IAAI,CAACC,KAAK,CAACD,QAAQ,CAAC,IAAI,CAACT,IAAI,CAAC;AACvC;AAOEC,OAAO,CAACU,EAAE,GAAGV,OAAO,CAACC,GAAG;AAMxBD,OAAO,CAACW,IAAI,GAAG,SAASA,IAAIA,CAE1BT,GAAY,EACH;EAET,OA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AAI4J,IAAkC;IACtC,IAAIzH,IAAI,CAACG,UAAU,CAAC,CAAC,EAAE;MACrBsH,IAAI,GAAGzH,IAAI,CAACzB,IAAI,CAACkJ,IAAwB;IAC3C,CAAC,MAAM,IAAIzH,IAAI,CAACI,SAAS,CAAC,CAAC,EAAE;MAC3BqH,IAAI,GAAGzH,IAAI,CAACzB,IAAI;IAClB,CAAC,MAAM;MACL,OAAO,KAAK;IACd;IAEA,KAAK,MAAMmJ,SAAS,IAAID,IAAI,CAACE,UAAU,EAAE;MACvC,IAAID,SAAS,CAACrI,KAAK,CAACA,KAAK,KAAK,YAAY,EAAE;QAC1C,OAAO,IAAI;MACb;IACF;IACA,OAAO,KAAK;EACd,CAAC,CAAC;EAEF,OAAO,CAAC,CAACiI,YAAY;AACvB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_t","require","_t2","react","cloneNode","jsxExpressionContainer","variableDeclaration","variableDeclarator","referenceVisitor","ReferencedIdentifier","path","state","isJSXIdentifier","isCompatTag","node","name","parentPath","isJSXMemberExpression","scope","isFunction","isArrowFunctionExpression","parent","breakOnScopePaths","push","binding","getBinding","violation","constantViolations","mutableBinding","stop","bindings","PathHoister","constructor","scopes","attachAfter","isCompatibleScope","key","Object","keys","bindingIdentifierEquals","identifier","getCompatibleScopes","includes","getAttachmentPath","_getAttachmentPath","targetScope","isProgram","hasOwnBinding","kind","parentKey","bindingParentPath","getAttachmentParentForPath","violationPath","pop","hasOwnParamBindings","bodies","get","i","length","_blockHoist","getNextScopeAttachmentParent","Array","isArray","container","isStatement","constant","run","traverse","attachTo","getFunctionParent","uid","generateUidIdentifier","declarator","insertFn","attached","isVariableDeclarator","isJSXElement","children","replaceWith","exports","default"],"sources":["../../../src/path/lib/hoister.ts"],"sourcesContent":["// TODO: Remove this file in Babel 8\n\nimport { react } from \"@babel/types\";\nimport {\n cloneNode,\n jsxExpressionContainer,\n variableDeclaration,\n variableDeclarator,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type Scope from \"../../scope/index.ts\";\nimport type NodePath from \"../index.ts\";\nimport type Binding from \"../../scope/binding.ts\";\nimport type { Visitor } from \"../../types.ts\";\n\nconst referenceVisitor: Visitor<PathHoister> = {\n // This visitor looks for bindings to establish a topmost scope for hoisting.\n ReferencedIdentifier(path, state) {\n // Don't hoist regular JSX identifiers ('div', 'span', etc).\n // We do have to consider member expressions for hoisting (e.g. `this.component`)\n if (\n path.isJSXIdentifier() &&\n react.isCompatTag(path.node.name) &&\n !path.parentPath.isJSXMemberExpression()\n ) {\n return;\n }\n\n // If the identifier refers to `this`, we need to break on the closest non-arrow scope.\n if (path.node.name === \"this\") {\n let scope: Scope | undefined = path.scope;\n do {\n if (\n scope.path.isFunction() &&\n !scope.path.isArrowFunctionExpression()\n ) {\n break;\n }\n } while ((scope = scope.parent));\n if (scope) state.breakOnScopePaths.push(scope.path);\n }\n\n // direct references that we need to track to hoist this to the highest scope we can\n const binding = path.scope.getBinding(path.node.name);\n if (!binding) return;\n\n // we can handle reassignments only if they happen in the same scope as the declaration\n for (const violation of binding.constantViolations) {\n if (violation.scope !== binding.path.scope) {\n state.mutableBinding = true;\n path.stop();\n return;\n }\n }\n\n // this binding isn't accessible from the parent scope so we can safely ignore it\n // eg. it's in a closure etc\n if (binding !== state.scope.getBinding(path.node.name)) return;\n\n state.bindings[path.node.name] = binding;\n },\n};\n\nexport default class PathHoister<T extends t.Node = t.Node> {\n breakOnScopePaths: NodePath[];\n bindings: { [k: string]: Binding };\n mutableBinding: boolean;\n private scopes: Scope[];\n scope: Scope;\n private path: NodePath<T>;\n private attachAfter: boolean;\n\n constructor(path: NodePath<T>, scope: Scope) {\n // Storage for scopes we can't hoist above.\n this.breakOnScopePaths = [];\n // Storage for bindings that may affect what path we can hoist to.\n this.bindings = {};\n // \"true\" if the current path contains a reference to a binding whose\n // value can change and thus can't be safely hoisted.\n this.mutableBinding = false;\n // Storage for eligible scopes.\n this.scopes = [];\n // Our original scope and path.\n this.scope = scope;\n this.path = path;\n // By default, we attach as far up as we can; but if we're trying\n // to avoid referencing a binding, we may have to go after.\n this.attachAfter = false;\n }\n\n // A scope is compatible if all required bindings are reachable.\n isCompatibleScope(scope: Scope) {\n for (const key of Object.keys(this.bindings)) {\n const binding = this.bindings[key];\n if (!scope.bindingIdentifierEquals(key, binding.identifier)) {\n return false;\n }\n }\n\n return true;\n }\n\n // Look through all scopes and push compatible ones.\n getCompatibleScopes() {\n let scope: Scope | undefined = this.path.scope;\n do {\n if (this.isCompatibleScope(scope)) {\n this.scopes.push(scope);\n } else {\n break;\n }\n\n // deopt: These scopes are set in the visitor on const violations\n if (this.breakOnScopePaths.includes(scope.path)) {\n break;\n }\n } while ((scope = scope.parent));\n }\n\n getAttachmentPath() {\n let path = this._getAttachmentPath();\n if (!path) return;\n\n let targetScope = path.scope;\n\n // don't allow paths that have their own lexical environments to pollute\n if (targetScope.path === path) {\n targetScope = path.scope.parent!;\n }\n\n // avoid hoisting to a scope that contains bindings that are executed after our attachment path\n if (targetScope.path.isProgram() || targetScope.path.isFunction()) {\n for (const name of Object.keys(this.bindings)) {\n // check binding is a direct child of this paths scope\n if (!targetScope.hasOwnBinding(name)) continue;\n\n const binding = this.bindings[name];\n\n // allow parameter references and expressions in params (like destructuring rest)\n if (binding.kind === \"param\" || binding.path.parentKey === \"params\") {\n continue;\n }\n\n // For each binding, get its attachment parent. This gives us an idea of where we might\n // introduce conflicts.\n const bindingParentPath = this.getAttachmentParentForPath(binding.path);\n\n // If the binding's attachment appears at or after our attachment point, then we move after it.\n // @ts-expect-error comparing undefined and number\n if (bindingParentPath.key >= path.key) {\n this.attachAfter = true;\n path = binding.path;\n\n // We also move past any constant violations.\n for (const violationPath of binding.constantViolations) {\n // @ts-expect-error comparing null and number\n if (this.getAttachmentParentForPath(violationPath).key > path.key) {\n path = violationPath;\n }\n }\n }\n }\n }\n\n return path;\n }\n\n _getAttachmentPath() {\n const scopes = this.scopes;\n\n const scope = scopes.pop();\n // deopt: no compatible scopes\n if (!scope) return;\n\n if (scope.path.isFunction()) {\n if (this.hasOwnParamBindings(scope)) {\n // deopt: should ignore this scope since it's ourselves\n if (this.scope === scope) return;\n\n // needs to be attached to the body\n const bodies = scope.path.get(\"body\").get(\"body\") as NodePath[];\n for (let i = 0; i < bodies.length; i++) {\n // Don't attach to something that's going to get hoisted,\n // like a default parameter\n // @ts-expect-error todo(flow->ts): avoid mutating the node, introducing new fields\n if (bodies[i].node._blockHoist) continue;\n return bodies[i];\n }\n // deopt: If here, no attachment path found\n } else {\n // doesn't need to be be attached to this scope\n return this.getNextScopeAttachmentParent();\n }\n } else if (scope.path.isProgram()) {\n return this.getNextScopeAttachmentParent();\n }\n }\n\n getNextScopeAttachmentParent() {\n const scope = this.scopes.pop();\n if (scope) return this.getAttachmentParentForPath(scope.path);\n }\n\n // Find an attachment for this path.\n getAttachmentParentForPath(path: NodePath): NodePath {\n do {\n if (\n // Beginning of the scope\n !path.parentPath ||\n // Has siblings and is a statement\n (Array.isArray(path.container) && path.isStatement())\n ) {\n return path;\n }\n } while ((path = path.parentPath));\n // Unreachable\n return path;\n }\n\n // Returns true if a scope has param bindings.\n hasOwnParamBindings(scope: Scope) {\n for (const name of Object.keys(this.bindings)) {\n if (!scope.hasOwnBinding(name)) continue;\n\n const binding = this.bindings[name];\n // Ensure constant; without it we could place behind a reassignment\n if (binding.kind === \"param\" && binding.constant) return true;\n }\n return false;\n }\n\n run(): NodePath<t.Expression> | undefined {\n this.path.traverse(referenceVisitor, this);\n\n if (this.mutableBinding) return;\n\n this.getCompatibleScopes();\n\n const attachTo = this.getAttachmentPath();\n if (!attachTo) return;\n\n // don't bother hoisting to the same function as this will cause multiple branches to be\n // evaluated more than once leading to a bad optimisation\n if (attachTo.getFunctionParent() === this.path.getFunctionParent()) return;\n\n // generate declaration and insert it to our point\n let uid: t.Identifier | t.JSXExpressionContainer =\n attachTo.scope.generateUidIdentifier(\"ref\");\n\n // @ts-expect-error todo(flow->ts): more specific type for this.path\n const declarator = variableDeclarator(uid, this.path.node);\n\n const insertFn = this.attachAfter ? \"insertAfter\" : \"insertBefore\";\n const [attached] = attachTo[insertFn]([\n attachTo.isVariableDeclarator()\n ? declarator\n : variableDeclaration(\"var\", [declarator]),\n ]);\n\n const parent = this.path.parentPath;\n if (parent.isJSXElement() && this.path.container === parent.node.children) {\n // turning the `span` in `<div><span /></div>` to an expression so we need to wrap it with\n // an expression container\n uid = jsxExpressionContainer(uid);\n }\n\n this.path.replaceWith(cloneNode(uid));\n\n return attached.isVariableDeclarator()\n ? attached.get(\"init\")\n : attached.get(\"declarations.0.init\");\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,EAAA,GAAAC,OAAA;AAAqC,IAAAC,GAAA,GAAAF,EAAA;AAAA;EAA5BG;AAAK,IAAAH,EAAA;AAAA;EAEZI,SAAS;EACTC,sBAAsB;EACtBC,mBAAmB;EACnBC;AAAkB,IAAAL,GAAA;AAQpB,MAAMM,gBAAsC,GAAG;EAE7CC,oBAAoBA,CAACC,IAAI,EAAEC,KAAK,EAAE;IAGhC,IACED,IAAI,CAACE,eAAe,CAAC,CAAC,IACtBT,KAAK,CAACU,WAAW,CAACH,IAAI,CAACI,IAAI,CAACC,IAAI,CAAC,IACjC,CAACL,IAAI,CAACM,UAAU,CAACC,qBAAqB,CAAC,CAAC,EACxC;MACA;IACF;IAGA,IAAIP,IAAI,CAACI,IAAI,CAACC,IAAI,KAAK,MAAM,EAAE;MAC7B,IAAIG,KAAwB,GAAGR,IAAI,CAACQ,KAAK;MACzC,GAAG;QACD,IACEA,KAAK,CAACR,IAAI,CAACS,UAAU,CAAC,CAAC,IACvB,CAACD,KAAK,CAACR,IAAI,CAACU,yBAAyB,CAAC,CAAC,EACvC;UACA;QACF;MACF,CAAC,QAASF,KAAK,GAAGA,KAAK,CAACG,MAAM;MAC9B,IAAIH,KAAK,EAAEP,KAAK,CAACW,iBAAiB,CAACC,IAAI,CAACL,KAAK,CAACR,IAAI,CAAC;IACrD;IAGA,M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BAAiB,CAAC,CAAC;IACzC,IAAI,CAACyB,QAAQ,EAAE;IAIf,IAAIA,QAAQ,CAACC,iBAAiB,CAAC,CAAC,KAAK,IAAI,CAAC3D,IAAI,CAAC2D,iBAAiB,CAAC,CAAC,EAAE;IAGpE,IAAIC,GAA4C,GAC9CF,QAAQ,CAAClD,KAAK,CAACqD,qBAAqB,CAAC,KAAK,CAAC;IAG7C,MAAMC,UAAU,GAAGjE,kBAAkB,CAAC+D,GAAG,EAAE,IAAI,CAAC5D,IAAI,CAACI,IAAI,CAAC;IAE1D,MAAM2D,QAAQ,GAAG,IAAI,CAACvC,WAAW,GAAG,aAAa,GAAG,cAAc;IAClE,MAAM,CAACwC,QAAQ,CAAC,GAAGN,QAAQ,CAACK,QAAQ,CAAC,CAAC,CACpCL,QAAQ,CAACO,oBAAoB,CAAC,CAAC,GAC3BH,UAAU,GACVlE,mBAAmB,CAAC,KAAK,EAAE,CAACkE,UAAU,CAAC,CAAC,CAC7C,CAAC;IAEF,MAAMnD,MAAM,GAAG,IAAI,CAACX,IAAI,CAACM,UAAU;IACnC,IAAIK,MAAM,CAACuD,YAAY,CAAC,CAAC,IAAI,IAAI,CAAClE,IAAI,CAACqD,SAAS,KAAK1C,MAAM,CAACP,IAAI,CAAC+D,QAAQ,EAAE;MAGzEP,GAAG,GAAGjE,sBAAsB,CAACiE,GAAG,CAAC;IACnC;IAEA,IAAI,CAAC5D,IAAI,CAACoE,WAAW,CAAC1E,SAAS,CAACkE,GAAG,CAAC,CAAC;IAErC,OAAOI,QAAQ,CAACC,oBAAoB,CAAC,CAAC,GAClCD,QAAQ,CAAClB,GAAG,CAAC,MAAM,CAAC,GACpBkB,QAAQ,CAAClB,GAAG,CAAC,qBAAqB,CAAC;EACzC;AACF;AAACuB,OAAA,CAAAC,OAAA,GAAAjD,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_t","require","_t2","react","cloneNode","jsxExpressionContainer","variableDeclaration","variableDeclarator","referenceVisitor","ReferencedIdentifier","path","state","isJSXIdentifier","isCompatTag","node","name","parentPath","isJSXMemberExpression","scope","isFunction","isArrowFunctionExpression","parent","breakOnScopePaths","push","binding","getBinding","violation","constantViolations","mutableBinding","stop","bindings","PathHoister","constructor","scopes","attachAfter","isCompatibleScope","key","Object","keys","bindingIdentifierEquals","identifier","getCompatibleScopes","includes","getAttachmentPath","_getAttachmentPath","targetScope","isProgram","hasOwnBinding","kind","parentKey","bindingParentPath","getAttachmentParentForPath","violationPath","pop","hasOwnParamBindings","bodies","get","i","length","_blockHoist","getNextScopeAttachmentParent","Array","isArray","container","isStatement","constant","run","traverse","attachTo","getFunctionParent","uid","generateUidIdentifier","declarator","insertFn","attached","isVariableDeclarator","isJSXElement","children","replaceWith","exports","default"],"sources":["../../../src/path/lib/hoister.ts"],"sourcesContent":["// TODO: Remove this file in Babel 8\n\nimport { react } from \"@babel/types\";\nimport {\n cloneNode,\n jsxExpressionContainer,\n variableDeclaration,\n variableDeclarator,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type Scope from \"../../scope/index.ts\";\nimport type NodePath from \"../index.ts\";\nimport type Binding from \"../../scope/binding.ts\";\nimport type { Visitor } from \"../../types.ts\";\n\nconst referenceVisitor: Visitor<PathHoister> = {\n // This visitor looks for bindings to establish a topmost scope for hoisting.\n ReferencedIdentifier(path, state) {\n // Don't hoist regular JSX identifiers ('div', 'span', etc).\n // We do have to consider member expressions for hoisting (e.g. `this.component`)\n if (\n path.isJSXIdentifier() &&\n react.isCompatTag(path.node.name) &&\n !path.parentPath.isJSXMemberExpression()\n ) {\n return;\n }\n\n // If the identifier refers to `this`, we need to break on the closest non-arrow scope.\n if (path.node.name === \"this\") {\n let scope: Scope | undefined = path.scope;\n do {\n if (\n scope.path.isFunction() &&\n !scope.path.isArrowFunctionExpression()\n ) {\n break;\n }\n } while ((scope = scope.parent));\n if (scope) state.breakOnScopePaths.push(scope.path);\n }\n\n // direct references that we need to track to hoist this to the highest scope we can\n const binding = path.scope.getBinding(path.node.name);\n if (!binding) return;\n\n // we can handle reassignments only if they happen in the same scope as the declaration\n for (const violation of binding.constantViolations) {\n if (violation.scope !== binding.path.scope) {\n state.mutableBinding = true;\n path.stop();\n return;\n }\n }\n\n // this binding isn't accessible from the parent scope so we can safely ignore it\n // eg. it's in a closure etc\n if (binding !== state.scope.getBinding(path.node.name)) return;\n\n state.bindings[path.node.name] = binding;\n },\n};\n\nexport default class PathHoister<T extends t.Node = t.Node> {\n breakOnScopePaths: NodePath[];\n bindings: Record<string, Binding>;\n mutableBinding: boolean;\n private scopes: Scope[];\n scope: Scope;\n private path: NodePath<T>;\n private attachAfter: boolean;\n\n constructor(path: NodePath<T>, scope: Scope) {\n // Storage for scopes we can't hoist above.\n this.breakOnScopePaths = [];\n // Storage for bindings that may affect what path we can hoist to.\n this.bindings = {};\n // \"true\" if the current path contains a reference to a binding whose\n // value can change and thus can't be safely hoisted.\n this.mutableBinding = false;\n // Storage for eligible scopes.\n this.scopes = [];\n // Our original scope and path.\n this.scope = scope;\n this.path = path;\n // By default, we attach as far up as we can; but if we're trying\n // to avoid referencing a binding, we may have to go after.\n this.attachAfter = false;\n }\n\n // A scope is compatible if all required bindings are reachable.\n isCompatibleScope(scope: Scope) {\n for (const key of Object.keys(this.bindings)) {\n const binding = this.bindings[key];\n if (!scope.bindingIdentifierEquals(key, binding.identifier)) {\n return false;\n }\n }\n\n return true;\n }\n\n // Look through all scopes and push compatible ones.\n getCompatibleScopes() {\n let scope: Scope | undefined = this.path.scope;\n do {\n if (this.isCompatibleScope(scope)) {\n this.scopes.push(scope);\n } else {\n break;\n }\n\n // deopt: These scopes are set in the visitor on const violations\n if (this.breakOnScopePaths.includes(scope.path)) {\n break;\n }\n } while ((scope = scope.parent));\n }\n\n getAttachmentPath() {\n let path = this._getAttachmentPath();\n if (!path) return;\n\n let targetScope = path.scope;\n\n // don't allow paths that have their own lexical environments to pollute\n if (targetScope.path === path) {\n targetScope = path.scope.parent!;\n }\n\n // avoid hoisting to a scope that contains bindings that are executed after our attachment path\n if (targetScope.path.isProgram() || targetScope.path.isFunction()) {\n for (const name of Object.keys(this.bindings)) {\n // check binding is a direct child of this paths scope\n if (!targetScope.hasOwnBinding(name)) continue;\n\n const binding = this.bindings[name];\n\n // allow parameter references and expressions in params (like destructuring rest)\n if (binding.kind === \"param\" || binding.path.parentKey === \"params\") {\n continue;\n }\n\n // For each binding, get its attachment parent. This gives us an idea of where we might\n // introduce conflicts.\n const bindingParentPath = this.getAttachmentParentForPath(binding.path);\n\n // If the binding's attachment appears at or after our attachment point, then we move after it.\n // @ts-expect-error comparing undefined and number\n if (bindingParentPath.key >= path.key) {\n this.attachAfter = true;\n path = binding.path;\n\n // We also move past any constant violations.\n for (const violationPath of binding.constantViolations) {\n // @ts-expect-error comparing null and number\n if (this.getAttachmentParentForPath(violationPath).key > path.key) {\n path = violationPath;\n }\n }\n }\n }\n }\n\n return path;\n }\n\n _getAttachmentPath() {\n const scopes = this.scopes;\n\n const scope = scopes.pop();\n // deopt: no compatible scopes\n if (!scope) return;\n\n if (scope.path.isFunction()) {\n if (this.hasOwnParamBindings(scope)) {\n // deopt: should ignore this scope since it's ourselves\n if (this.scope === scope) return;\n\n // needs to be attached to the body\n const bodies = scope.path.get(\"body\").get(\"body\") as NodePath[];\n for (let i = 0; i < bodies.length; i++) {\n // Don't attach to something that's going to get hoisted,\n // like a default parameter\n // @ts-expect-error todo(flow->ts): avoid mutating the node, introducing new fields\n if (bodies[i].node._blockHoist) continue;\n return bodies[i];\n }\n // deopt: If here, no attachment path found\n } else {\n // doesn't need to be be attached to this scope\n return this.getNextScopeAttachmentParent();\n }\n } else if (scope.path.isProgram()) {\n return this.getNextScopeAttachmentParent();\n }\n }\n\n getNextScopeAttachmentParent() {\n const scope = this.scopes.pop();\n if (scope) return this.getAttachmentParentForPath(scope.path);\n }\n\n // Find an attachment for this path.\n getAttachmentParentForPath(path: NodePath): NodePath {\n do {\n if (\n // Beginning of the scope\n !path.parentPath ||\n // Has siblings and is a statement\n (Array.isArray(path.container) && path.isStatement())\n ) {\n return path;\n }\n } while ((path = path.parentPath));\n // Unreachable\n return path;\n }\n\n // Returns true if a scope has param bindings.\n hasOwnParamBindings(scope: Scope) {\n for (const name of Object.keys(this.bindings)) {\n if (!scope.hasOwnBinding(name)) continue;\n\n const binding = this.bindings[name];\n // Ensure constant; without it we could place behind a reassignment\n if (binding.kind === \"param\" && binding.constant) return true;\n }\n return false;\n }\n\n run(): NodePath<t.Expression> | undefined {\n this.path.traverse(referenceVisitor, this);\n\n if (this.mutableBinding) return;\n\n this.getCompatibleScopes();\n\n const attachTo = this.getAttachmentPath();\n if (!attachTo) return;\n\n // don't bother hoisting to the same function as this will cause multiple branches to be\n // evaluated more than once leading to a bad optimisation\n if (attachTo.getFunctionParent() === this.path.getFunctionParent()) return;\n\n // generate declaration and insert it to our point\n let uid: t.Identifier | t.JSXExpressionContainer =\n attachTo.scope.generateUidIdentifier(\"ref\");\n\n // @ts-expect-error todo(flow->ts): more specific type for this.path\n const declarator = variableDeclarator(uid, this.path.node);\n\n const insertFn = this.attachAfter ? \"insertAfter\" : \"insertBefore\";\n const [attached] = attachTo[insertFn]([\n attachTo.isVariableDeclarator()\n ? declarator\n : variableDeclaration(\"var\", [declarator]),\n ]);\n\n const parent = this.path.parentPath;\n if (parent.isJSXElement() && this.path.container === parent.node.children) {\n // turning the `span` in `<div><span /></div>` to an expression so we need to wrap it with\n // an expression container\n uid = jsxExpressionContainer(uid);\n }\n\n this.path.replaceWith(cloneNode(uid));\n\n return (\n attached.isVariableDeclarator()\n ? attached.get(\"init\")\n : attached.get(\"declarations.0.init\")\n ) as NodePath<t.Expression>;\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,EAAA,GAAAC,OAAA;AAAqC,IAAAC,GAAA,GAAAF,EAAA;AAAA;EAA5BG;AAAK,IAAAH,EAAA;AAAA;EAEZI,SAAS;EACTC,sBAAsB;EACtBC,mBAAmB;EACnBC;AAAkB,IAAAL,GAAA;AAQpB,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UAAU,CAAC,CAAC,CAC7C,CAAC;IAEF,MAAMnD,MAAM,GAAG,IAAI,CAACX,IAAI,CAACM,UAAU;IACnC,IAAIK,MAAM,CAACuD,YAAY,CAAC,CAAC,IAAI,IAAI,CAAClE,IAAI,CAACqD,SAAS,KAAK1C,MAAM,CAACP,IAAI,CAAC+D,QAAQ,EAAE;MAGzEP,GAAG,GAAGjE,sBAAsB,CAACiE,GAAG,CAAC;IACnC;IAEA,IAAI,CAAC5D,IAAI,CAACoE,WAAW,CAAC1E,SAAS,CAACkE,GAAG,CAAC,CAAC;IAErC,OACEI,QAAQ,CAACC,oBAAoB,CAAC,CAAC,GAC3BD,QAAQ,CAAClB,GAAG,CAAC,MAAM,CAAC,GACpBkB,QAAQ,CAAClB,GAAG,CAAC,qBAAqB,CAAC;EAE3C;AACF;AAACuB,OAAA,CAAAC,OAAA,GAAAjD,WAAA","ignoreList":[]}
@@ -152,13 +152,11 @@ function isForAwaitStatement() {
152
152
  await: true
153
153
  });
154
154
  }
155
- {
156
- exports.isExistentialTypeParam = function isExistentialTypeParam() {
157
- throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.");
158
- };
159
- exports.isNumericLiteralTypeAnnotation = function isNumericLiteralTypeAnnotation() {
160
- throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.");
161
- };
162
- }
155
+ exports.isExistentialTypeParam = function isExistentialTypeParam() {
156
+ throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.");
157
+ };
158
+ exports.isNumericLiteralTypeAnnotation = function isNumericLiteralTypeAnnotation() {
159
+ throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.");
160
+ };
163
161
 
164
162
  //# sourceMappingURL=virtual-types-validator.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_t","require","isBinding","isBlockScoped","nodeIsBlockScoped","isExportDeclaration","isExpression","nodeIsExpression","isFlow","nodeIsFlow","isForStatement","isForXStatement","isIdentifier","isImportDeclaration","isImportSpecifier","isJSXIdentifier","isJSXMemberExpression","isMemberExpression","isRestElement","nodeIsRestElement","isReferenced","nodeIsReferenced","isScope","nodeIsScope","isStatement","nodeIsStatement","isVar","nodeIsVar","isVariableDeclaration","react","isForOfStatement","isCompatTag","isReferencedIdentifier","opts","node","parent","parentPath","name","isReferencedMemberExpression","isBindingIdentifier","grandparent","left","init","isUser","_this$node","loc","isGenerated","isPure","constantsOnly","scope","importKind","exportKind","isRestProperty","_this$parentPath","isObjectPattern","isSpreadProperty","_this$parentPath2","isObjectExpression","isForAwaitStatement","await","exports","isExistentialTypeParam","Error","isNumericLiteralTypeAnnotation"],"sources":["../../../src/path/lib/virtual-types-validator.ts"],"sourcesContent":["import type NodePath from \"../index.ts\";\nimport {\n isBinding,\n isBlockScoped as nodeIsBlockScoped,\n isExportDeclaration,\n isExpression as nodeIsExpression,\n isFlow as nodeIsFlow,\n isForStatement,\n isForXStatement,\n isIdentifier,\n isImportDeclaration,\n isImportSpecifier,\n isJSXIdentifier,\n isJSXMemberExpression,\n isMemberExpression,\n isRestElement as nodeIsRestElement,\n isReferenced as nodeIsReferenced,\n isScope as nodeIsScope,\n isStatement as nodeIsStatement,\n isVar as nodeIsVar,\n isVariableDeclaration,\n react,\n isForOfStatement,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nconst { isCompatTag } = react;\nimport type { VirtualTypeAliases } from \"./virtual-types.ts\";\n\ntype Options<Obj> = Partial<{\n [Prop in Exclude<keyof Obj, \"type\">]: Obj[Prop] extends t.Node\n ? t.Node\n : Obj[Prop] extends t.Node[]\n ? t.Node[]\n : Obj[Prop];\n}>;\n\nexport interface VirtualTypeNodePathValidators {\n isBindingIdentifier(\n this: NodePath,\n ): this is NodePath<VirtualTypeAliases[\"BindingIdentifier\"]>;\n isBlockScoped(this: NodePath): boolean;\n /**\n * @deprecated\n */\n isExistentialTypeParam(\n this: NodePath,\n ): this is NodePath<VirtualTypeAliases[\"ExistentialTypeParam\"]>;\n isExpression(this: NodePath): this is NodePath<t.Expression>;\n isFlow(this: NodePath): this is NodePath<t.Flow>;\n isForAwaitStatement(\n this: NodePath,\n ): this is NodePath<VirtualTypeAliases[\"ForAwaitStatement\"]>;\n isGenerated(): this is NodePath<VirtualTypeAliases[\"Generated\"]>;\n /**\n * @deprecated\n */\n isNumericLiteralTypeAnnotation(this: NodePath): void;\n isPure(): boolean;\n isReferenced(): boolean;\n isReferencedIdentifier<\n Opts extends Options<VirtualTypeAliases[\"ReferencedIdentifier\"]>,\n >(\n this: NodePath,\n opts?: Opts,\n ): this is NodePath<VirtualTypeAliases[\"ReferencedIdentifier\"] & Opts>;\n isReferencedMemberExpression(\n this: NodePath,\n ): this is NodePath<VirtualTypeAliases[\"ReferencedMemberExpression\"]>;\n isRestProperty(this: NodePath): this is NodePath<t.RestProperty>;\n isScope(this: NodePath): this is NodePath<VirtualTypeAliases[\"Scope\"]>;\n isSpreadProperty(this: NodePath): this is NodePath<t.SpreadProperty>;\n isStatement(this: NodePath): this is NodePath<t.Statement>;\n isUser(): this is NodePath<VirtualTypeAliases[\"User\"]>;\n isVar(this: NodePath): this is NodePath<VirtualTypeAliases[\"Var\"]>;\n}\n\nexport function isReferencedIdentifier(\n this: NodePath,\n opts?: Options<VirtualTypeAliases[\"ReferencedIdentifier\"]>,\n): boolean {\n const { node, parent } = this;\n if (isIdentifier(node, opts)) {\n return nodeIsReferenced(node, parent, this.parentPath.parent);\n } else if (isJSXIdentifier(node, opts)) {\n if (!isJSXMemberExpression(parent) && isCompatTag(node.name)) return false;\n return nodeIsReferenced(node, parent, this.parentPath.parent);\n } else {\n // not a JSXIdentifier or an Identifier\n return false;\n }\n}\n\nexport function isReferencedMemberExpression(this: NodePath): boolean {\n const { node, parent } = this;\n return isMemberExpression(node) && nodeIsReferenced(node, parent);\n}\n\nexport function isBindingIdentifier(this: NodePath): boolean {\n const { node, parent } = this;\n const grandparent = this.parentPath.parent;\n return isIdentifier(node) && isBinding(node, parent, grandparent);\n}\n\nexport function isStatement(this: NodePath): boolean {\n const { node, parent } = this;\n if (nodeIsStatement(node)) {\n if (isVariableDeclaration(node)) {\n if (isForXStatement(parent, { left: node })) return false;\n if (isForStatement(parent, { init: node })) return false;\n }\n\n return true;\n } else {\n return false;\n }\n}\n\nexport function isExpression(this: NodePath): boolean {\n if (this.isIdentifier()) {\n return this.isReferencedIdentifier();\n } else {\n return nodeIsExpression(this.node);\n }\n}\n\nexport function isScope(this: NodePath): boolean {\n return nodeIsScope(this.node, this.parent);\n}\n\nexport function isReferenced(this: NodePath): boolean {\n return nodeIsReferenced(this.node, this.parent);\n}\n\nexport function isBlockScoped(this: NodePath): boolean {\n return nodeIsBlockScoped(this.node);\n}\n\nexport function isVar(this: NodePath): boolean {\n return nodeIsVar(this.node);\n}\n\nexport function isUser(this: NodePath): boolean {\n return !!this.node?.loc;\n}\n\nexport function isGenerated(this: NodePath): boolean {\n return !this.isUser();\n}\n\nexport function isPure(this: NodePath, constantsOnly?: boolean): boolean {\n return this.scope.isPure(this.node, constantsOnly);\n}\n\nexport function isFlow(this: NodePath): boolean {\n const { node } = this;\n if (nodeIsFlow(node)) {\n return true;\n } else if (isImportDeclaration(node)) {\n return node.importKind === \"type\" || node.importKind === \"typeof\";\n } else if (isExportDeclaration(node)) {\n return node.exportKind === \"type\";\n } else if (isImportSpecifier(node)) {\n return node.importKind === \"type\" || node.importKind === \"typeof\";\n } else {\n return false;\n }\n}\n\n// TODO: 7.0 Backwards Compat\nexport function isRestProperty(this: NodePath): boolean {\n return nodeIsRestElement(this.node) && this.parentPath?.isObjectPattern();\n}\n\nexport function isSpreadProperty(this: NodePath): boolean {\n return nodeIsRestElement(this.node) && this.parentPath?.isObjectExpression();\n}\n\nexport function isForAwaitStatement(this: NodePath): boolean {\n return isForOfStatement(this.node, { await: true });\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n // eslint-disable-next-line no-restricted-globals\n exports.isExistentialTypeParam = function isExistentialTypeParam(\n this: NodePath,\n ): void {\n throw new Error(\n \"`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.\",\n );\n };\n\n // eslint-disable-next-line no-restricted-globals\n exports.isNumericLiteralTypeAnnotation =\n function isNumericLiteralTypeAnnotation(this: NodePath): void {\n throw new Error(\n \"`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.\",\n );\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAsBsB;EArBpBC,SAAS;EACTC,aAAa,EAAIC,iBAAiB;EAClCC,mBAAmB;EACnBC,YAAY,EAAIC,gBAAgB;EAChCC,MAAM,EAAIC,UAAU;EACpBC,cAAc;EACdC,eAAe;EACfC,YAAY;EACZC,mBAAmB;EACnBC,iBAAiB;EACjBC,eAAe;EACfC,qBAAqB;EACrBC,kBAAkB;EAClBC,aAAa,EAAIC,iBAAiB;EAClCC,YAAY,EAAIC,gBAAgB;EAChCC,OAAO,EAAIC,WAAW;EACtBC,WAAW,EAAIC,eAAe;EAC9BC,KAAK,EAAIC,SAAS;EAClBC,qBAAqB;EACrBC,KAAK;EACLC;AAAgB,IAAA9B,EAAA;AAGlB,MAAM;EAAE+B;AAAY,CAAC,GAAGF,KAAK;AAmDtB,SAASG,sBAAsBA,CAEpCC,IAA0D,EACjD;EACT,MAAM;IAAEC,IAAI;IAAEC;EAAO,CAAC,GAAG,IAAI;EAC7B,IAAIvB,YAAY,CAACsB,IAAI,EAAED,IAAI,CAAC,EAAE;IAC5B,OAAOZ,gBAAgB,CAACa,IAAI,EAAEC,MAAM,EAAE,IAAI,CAACC,UAAU,CAACD,MAAM,CAAC;EAC/D,CAAC,MAAM,IAAIpB,eAAe,CAACmB,IAAI,EAAED,IAAI,CAAC,EAAE;IACtC,IAAI,CAACjB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IAAI,CAACiB,UAAU,KAAK,MAAM;EACnC,CAAC,MAAM,IAAIrC,iBAAiB,CAACoB,IAAI,CAAC,EAAE;IAClC,OAAOA,IAAI,CAACgB,UAAU,KAAK,MAAM,IAAIhB,IAAI,CAACgB,UAAU,KAAK,QAAQ;EACnE,CAAC,MAAM;IACL,OAAO,KAAK;EACd;AACF;AAGO,SAASE,cAAcA,CAAA,EAA0B;EAAA,IAAAC,gBAAA;EACtD,OAAOlC,iBAAiB,CAAC,IAAI,CAACe,IAAI,CAAC,MAAAmB,gBAAA,GAAI,IAAI,CAACjB,UAAU,qBAAfiB,gBAAA,CAAiBC,eAAe,CAAC,CAAC;AAC3E;AAEO,SAASC,gBAAgBA,CAAA,EAA0B;EAAA,IAAAC,iBAAA;EACxD,OAAOrC,iBAAiB,CAAC,IAAI,CAACe,IAAI,CAAC,MAAAsB,iBAAA,GAAI,IAAI,CAACpB,UAAU,qBAAfoB,iBAAA,CAAiBC,kBAAkB,CAAC,CAAC;AAC9E;AAEO,SAASC,mBAAmBA,CAAA,EAA0B;EAC3D,OAAO5B,gBAAgB,CAAC,IAAI,CAACI,IAAI,EAAE;IAAEyB,KAAK,EAAE;EAAK,CAAC,CAAC;AACrD;AAE+C;EAE7CC,OAAO,CAACC,sBAAsB,GAAG,SAASA,sBAAsBA,CAAA,EAExD;IACN,MAAM,IAAIC,KAAK,CACb,+FACF,CAAC;EACH,CAAC;EAGDF,OAAO,CAACG,8BAA8B,GACpC,SAASA,8BAA8BA,CAAA,EAAuB;IAC5D,MAAM,IAAID,KAAK,CACb,gHACF,CAAC;EACH,CAAC;AACL","ignoreList":[]}
1
+ {"version":3,"names":["_t","require","isBinding","isBlockScoped","nodeIsBlockScoped","isExportDeclaration","isExpression","nodeIsExpression","isFlow","nodeIsFlow","isForStatement","isForXStatement","isIdentifier","isImportDeclaration","isImportSpecifier","isJSXIdentifier","isJSXMemberExpression","isMemberExpression","isRestElement","nodeIsRestElement","isReferenced","nodeIsReferenced","isScope","nodeIsScope","isStatement","nodeIsStatement","isVar","nodeIsVar","isVariableDeclaration","react","isForOfStatement","isCompatTag","isReferencedIdentifier","opts","node","parent","parentPath","name","isReferencedMemberExpression","isBindingIdentifier","grandparent","left","init","isUser","_this$node","loc","isGenerated","isPure","constantsOnly","scope","importKind","exportKind","isRestProperty","_this$parentPath","isObjectPattern","isSpreadProperty","_this$parentPath2","isObjectExpression","isForAwaitStatement","await","exports","isExistentialTypeParam","Error","isNumericLiteralTypeAnnotation"],"sources":["../../../src/path/lib/virtual-types-validator.ts"],"sourcesContent":["import type NodePath from \"../index.ts\";\nimport {\n isBinding,\n isBlockScoped as nodeIsBlockScoped,\n isExportDeclaration,\n isExpression as nodeIsExpression,\n isFlow as nodeIsFlow,\n isForStatement,\n isForXStatement,\n isIdentifier,\n isImportDeclaration,\n isImportSpecifier,\n isJSXIdentifier,\n isJSXMemberExpression,\n isMemberExpression,\n isRestElement as nodeIsRestElement,\n isReferenced as nodeIsReferenced,\n isScope as nodeIsScope,\n isStatement as nodeIsStatement,\n isVar as nodeIsVar,\n isVariableDeclaration,\n react,\n isForOfStatement,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nconst { isCompatTag } = react;\nimport type { VirtualTypeAliases } from \"./virtual-types.ts\";\n\ntype Options<Obj> = Partial<{\n [Prop in Exclude<keyof Obj, \"type\">]: Obj[Prop] extends t.Node\n ? t.Node\n : Obj[Prop] extends t.Node[]\n ? t.Node[]\n : Obj[Prop];\n}>;\n\nexport interface VirtualTypeNodePathValidators {\n isBindingIdentifier(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"BindingIdentifier\"]>;\n isBlockScoped(this: NodePath<t.Node | null>): boolean;\n /**\n * @deprecated\n */\n isExistentialTypeParam(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"ExistentialTypeParam\"]>;\n isExpression(this: NodePath<t.Node | null>): this is NodePath<t.Expression>;\n isFlow(this: NodePath<t.Node | null>): this is NodePath<t.Flow>;\n isForAwaitStatement(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"ForAwaitStatement\"]>;\n isGenerated(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"Generated\"]>;\n /**\n * @deprecated\n */\n isNumericLiteralTypeAnnotation(this: NodePath<t.Node | null>): void;\n isPure(): boolean;\n isReferenced(): boolean;\n isReferencedIdentifier<\n Opts extends Options<VirtualTypeAliases[\"ReferencedIdentifier\"]>,\n >(\n this: NodePath<t.Node | null>,\n opts?: Opts,\n ): this is NodePath<VirtualTypeAliases[\"ReferencedIdentifier\"] & Opts>;\n isReferencedMemberExpression(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"ReferencedMemberExpression\"]>;\n isRestProperty(\n this: NodePath<t.Node | null>,\n ): this is NodePath<t.RestProperty>;\n isScope(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"Scope\"]>;\n isSpreadProperty(\n this: NodePath<t.Node | null>,\n ): this is NodePath<t.SpreadProperty>;\n isStatement(this: NodePath<t.Node | null>): this is NodePath<t.Statement>;\n isUser(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"User\"]>;\n isVar(\n this: NodePath<t.Node | null>,\n ): this is NodePath<VirtualTypeAliases[\"Var\"]>;\n}\n\nexport function isReferencedIdentifier(\n this: NodePath<t.Node | null>,\n opts?: Options<VirtualTypeAliases[\"ReferencedIdentifier\"]>,\n): boolean {\n const { node, parent } = this;\n if (isIdentifier(node, opts)) {\n return nodeIsReferenced(node, parent, this.parentPath.parent);\n } else if (isJSXIdentifier(node, opts)) {\n if (!isJSXMemberExpression(parent) && isCompatTag(node.name)) return false;\n return nodeIsReferenced(node, parent, this.parentPath.parent);\n } else {\n // not a JSXIdentifier or an Identifier\n return false;\n }\n}\n\nexport function isReferencedMemberExpression(\n this: NodePath<t.Node | null>,\n): boolean {\n const { node, parent } = this;\n return isMemberExpression(node) && nodeIsReferenced(node, parent);\n}\n\nexport function isBindingIdentifier(this: NodePath<t.Node | null>): boolean {\n const { node, parent } = this;\n const grandparent = this.parentPath.parent;\n return isIdentifier(node) && isBinding(node, parent, grandparent);\n}\n\nexport function isStatement(this: NodePath<t.Node | null>): boolean {\n const { node, parent } = this;\n if (nodeIsStatement(node)) {\n if (isVariableDeclaration(node)) {\n if (isForXStatement(parent, { left: node })) return false;\n if (isForStatement(parent, { init: node })) return false;\n }\n\n return true;\n } else {\n return false;\n }\n}\n\nexport function isExpression(this: NodePath<t.Node | null>): boolean {\n if (this.isIdentifier()) {\n return this.isReferencedIdentifier();\n } else {\n return nodeIsExpression(this.node);\n }\n}\n\nexport function isScope(this: NodePath<t.Node | null>): boolean {\n return nodeIsScope(this.node, this.parent);\n}\n\nexport function isReferenced(this: NodePath<t.Node | null>): boolean {\n return nodeIsReferenced(this.node, this.parent);\n}\n\nexport function isBlockScoped(this: NodePath<t.Node | null>): boolean {\n return nodeIsBlockScoped(this.node);\n}\n\nexport function isVar(this: NodePath<t.Node | null>): boolean {\n return nodeIsVar(this.node);\n}\n\nexport function isUser(this: NodePath<t.Node | null>): boolean {\n return !!this.node?.loc;\n}\n\nexport function isGenerated(this: NodePath<t.Node | null>): boolean {\n return !this.isUser();\n}\n\nexport function isPure(\n this: NodePath<t.Node | null>,\n constantsOnly?: boolean,\n): boolean {\n return this.scope.isPure(this.node, constantsOnly);\n}\n\nexport function isFlow(this: NodePath<t.Node | null>): boolean {\n const { node } = this;\n if (nodeIsFlow(node)) {\n return true;\n } else if (isImportDeclaration(node)) {\n return node.importKind === \"type\" || node.importKind === \"typeof\";\n } else if (isExportDeclaration(node)) {\n return node.exportKind === \"type\";\n } else if (isImportSpecifier(node)) {\n return node.importKind === \"type\" || node.importKind === \"typeof\";\n } else {\n return false;\n }\n}\n\n// TODO: 7.0 Backwards Compat\nexport function isRestProperty(this: NodePath<t.Node | null>): boolean {\n return nodeIsRestElement(this.node) && this.parentPath?.isObjectPattern();\n}\n\nexport function isSpreadProperty(this: NodePath<t.Node | null>): boolean {\n return nodeIsRestElement(this.node) && this.parentPath?.isObjectExpression();\n}\n\nexport function isForAwaitStatement(this: NodePath<t.Node | null>): boolean {\n return isForOfStatement(this.node, { await: true });\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n // eslint-disable-next-line no-restricted-globals\n exports.isExistentialTypeParam = function isExistentialTypeParam(\n this: NodePath,\n ): void {\n throw new Error(\n \"`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.\",\n );\n };\n\n // eslint-disable-next-line no-restricted-globals\n exports.isNumericLiteralTypeAnnotation =\n function isNumericLiteralTypeAnnotation(this: NodePath): void {\n throw new Error(\n \"`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.\",\n );\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAsBsB;EArBpBC,SAAS;EACTC,aAAa,EAAIC,iBAAiB;EAClCC,mBAAmB;EACnBC,YAAY,EAAIC,gBAAgB;EAChCC,MAAM,EAAIC,UAAU;EACpBC,cAAc;EACdC,eAAe;EACfC,YAAY;EACZC,mBAAmB;EACnBC,iBAAiB;EACjBC,eAAe;EACfC,qBAAqB;EACrBC,kBAAkB;EAClBC,aAAa,EAAIC,iBAAiB;EAClCC,YAAY,EAAIC,gBAAgB;EAChCC,OAAO,EAAIC,WAAW;EACtBC,WAAW,EAAIC,eAAe;EAC9BC,KAAK,EAAIC,SAAS;EAClBC,qBAAqB;EACrBC,KAAK;EACLC;AAAgB,IAAA9B,EAAA;AAGlB,MAAM;EAAE+B;AAAY,CAAC,GAAGF,KAAK;AA+DtB,SAASG,sBAAsBA,CAEpCC,IAA0D,EACjD;EACT,MAAM;IAAEC,IAAI;IAAEC;EAAO,CAAC,GAAG,IAAI;EAC7B,IAAIvB,YAAY,CAACsB,IAAI,EAAED,IA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  }).setContext(this.context);
222
222
  return path.replaceWithMultiple(verifiedNodes);
223
223
  }
224
- {
225
- exports.hoist = function hoist(scope = this.scope) {
226
- const hoister = new _hoister.default(this, scope);
227
- return hoister.run();
228
- };
229
- }
224
+ exports.hoist = function hoist(scope = this.scope) {
225
+ const hoister = new _hoister.default(this, scope);
226
+ return hoister.run();
227
+ };
230
228
 
231
229
  //# sourceMappingURL=modification.js.map