@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":["_gensync","data","require","_async","_util","synchronize","gen","gensync","sync","genTrue","makeWeakCache","handler","makeCachedFunction","WeakMap","makeWeakCacheSync","makeStrongCache","Map","makeStrongCacheSync","CallCache","callCacheSync","callCacheAsync","futureCache","cachedFunction","arg","asyncContext","isAsync","callCache","cached","getCachedValueOrWait","valid","value","cache","CacheConfigurator","handlerResult","finishLock","isIterableIterator","onFirstPause","setupAsyncLocks","updateFunctionCache","delete","release","getCachedValue","cachedValue","get","waitFor","promise","config","Lock","configured","forever","deactivate","mode","set","validator","push","constructor","_active","_never","_forever","_invalidate","_configured","_pairs","_data","simple","makeSimpleConfigurator","Error","never","using","key","fn","maybeAsync","isThenable","then","invalidate","pairs","cacheFn","val","assertSimpleType","cb","released","_resolve","Promise","resolve"],"sources":["../../src/config/caching.ts"],"sourcesContent":["import gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport {\n maybeAsync,\n isAsync,\n onFirstPause,\n waitFor,\n isThenable,\n} from \"../gensync-utils/async.ts\";\nimport { isIterableIterator } from \"./util.ts\";\n\nexport type { CacheConfigurator };\n\nexport type SimpleCacheConfigurator = {\n (forever: boolean): void;\n <T extends SimpleType>(handler: () => T): T;\n\n forever: () => void;\n never: () => void;\n using: <T extends SimpleType>(handler: () => T) => T;\n invalidate: <T extends SimpleType>(handler: () => T) => T;\n};\n\nexport type CacheEntry<ResultT, SideChannel> = Array<{\n value: ResultT;\n valid: (channel: SideChannel) => Handler<boolean>;\n}>;\n\nconst synchronize = <ArgsT extends unknown[], ResultT>(\n gen: (...args: ArgsT) => Handler<ResultT>,\n): ((...args: ArgsT) => ResultT) => {\n return gensync(gen).sync;\n};\n\n// eslint-disable-next-line require-yield\nfunction* genTrue() {\n return true;\n}\n\nexport function makeWeakCache<ArgT extends object, ResultT, SideChannel>(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n return makeCachedFunction<ArgT, ResultT, SideChannel>(WeakMap, handler);\n}\n\nexport function makeWeakCacheSync<ArgT extends object, ResultT, SideChannel>(\n handler: (arg: ArgT, cache?: CacheConfigurator<SideChannel>) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeWeakCache<ArgT, ResultT, SideChannel>(handler),\n );\n}\n\nexport function makeStrongCache<ArgT, ResultT, SideChannel>(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n return makeCachedFunction<ArgT, ResultT, SideChannel>(Map, handler);\n}\n\nexport function makeStrongCacheSync<ArgT, ResultT, SideChannel>(\n handler: (arg: ArgT, cache?: CacheConfigurator<SideChannel>) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeStrongCache<ArgT, ResultT, SideChannel>(handler),\n );\n}\n\n/* NOTE: Part of the logic explained in this comment is explained in the\n * getCachedValueOrWait and setupAsyncLocks functions.\n *\n * > There are only two hard things in Computer Science: cache invalidation and naming things.\n * > -- Phil Karlton\n *\n * I don't know if Phil was also thinking about handling a cache whose invalidation function is\n * defined asynchronously is considered, but it is REALLY hard to do correctly.\n *\n * The implemented logic (only when gensync is run asynchronously) is the following:\n * 1. If there is a valid cache associated to the current \"arg\" parameter,\n * a. RETURN the cached value\n * 3. If there is a FinishLock associated to the current \"arg\" parameter representing a valid cache,\n * a. Wait for that lock to be released\n * b. RETURN the value associated with that lock\n * 5. Start executing the function to be cached\n * a. If it pauses on a promise, then\n * i. Let FinishLock be a new lock\n * ii. Store FinishLock as associated to the current \"arg\" parameter\n * iii. Wait for the function to finish executing\n * iv. Release FinishLock\n * v. Send the function result to anyone waiting on FinishLock\n * 6. Store the result in the cache\n * 7. RETURN the result\n */\nfunction makeCachedFunction<ArgT, ResultT, SideChannel>(\n CallCache: new <Cached>() => CacheMap<ArgT, Cached, SideChannel>,\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n const callCacheSync = new CallCache<ResultT>();\n const callCacheAsync = new CallCache<ResultT>();\n const futureCache = new CallCache<Lock<ResultT>>();\n\n return function* cachedFunction(arg: ArgT, data: SideChannel) {\n const asyncContext = yield* isAsync();\n const callCache = asyncContext ? callCacheAsync : callCacheSync;\n\n const cached = yield* getCachedValueOrWait<ArgT, ResultT, SideChannel>(\n asyncContext,\n callCache,\n futureCache,\n arg,\n data,\n );\n if (cached.valid) return cached.value;\n\n const cache = new CacheConfigurator(data);\n\n const handlerResult: Handler<ResultT> | ResultT = handler(arg, cache);\n\n let finishLock: Lock<ResultT>;\n let value: ResultT;\n\n if (isIterableIterator(handlerResult)) {\n value = yield* onFirstPause(handlerResult, () => {\n finishLock = setupAsyncLocks(cache, futureCache, arg);\n });\n } else {\n value = handlerResult;\n }\n\n updateFunctionCache(callCache, cache, arg, value);\n\n if (finishLock) {\n futureCache.delete(arg);\n finishLock.release(value);\n }\n\n return value;\n };\n}\n\ntype CacheMap<ArgT, ResultT, SideChannel> =\n | Map<ArgT, CacheEntry<ResultT, SideChannel>>\n // @ts-expect-error todo(flow->ts): add `extends object` constraint to ArgT\n | WeakMap<ArgT, CacheEntry<ResultT, SideChannel>>;\n\nfunction* getCachedValue<ArgT, ResultT, SideChannel>(\n cache: CacheMap<ArgT, ResultT, SideChannel>,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cachedValue: CacheEntry<ResultT, SideChannel> | void = cache.get(arg);\n\n if (cachedValue) {\n for (const { value, valid } of cachedValue) {\n if (yield* valid(data)) return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction* getCachedValueOrWait<ArgT, ResultT, SideChannel>(\n asyncContext: boolean,\n callCache: CacheMap<ArgT, ResultT, SideChannel>,\n futureCache: CacheMap<ArgT, Lock<ResultT>, SideChannel>,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cached = yield* getCachedValue(callCache, arg, data);\n if (cached.valid) {\n return cached;\n }\n\n if (asyncContext) {\n const cached = yield* getCachedValue(futureCache, arg, data);\n if (cached.valid) {\n const value = yield* waitFor<ResultT>(cached.value.promise);\n return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction setupAsyncLocks<ArgT, ResultT, SideChannel>(\n config: CacheConfigurator<SideChannel>,\n futureCache: CacheMap<ArgT, Lock<ResultT>, SideChannel>,\n arg: ArgT,\n): Lock<ResultT> {\n const finishLock = new Lock<ResultT>();\n\n updateFunctionCache(futureCache, config, arg, finishLock);\n\n return finishLock;\n}\n\nfunction updateFunctionCache<\n ArgT,\n ResultT,\n SideChannel,\n Cache extends CacheMap<ArgT, ResultT, SideChannel>,\n>(\n cache: Cache,\n config: CacheConfigurator<SideChannel>,\n arg: ArgT,\n value: ResultT,\n) {\n if (!config.configured()) config.forever();\n\n let cachedValue: CacheEntry<ResultT, SideChannel> | void = cache.get(arg);\n\n config.deactivate();\n\n switch (config.mode()) {\n case \"forever\":\n cachedValue = [{ value, valid: genTrue }];\n cache.set(arg, cachedValue);\n break;\n case \"invalidate\":\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n break;\n case \"valid\":\n if (cachedValue) {\n cachedValue.push({ value, valid: config.validator() });\n } else {\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n }\n }\n}\n\nclass CacheConfigurator<SideChannel = void> {\n _active: boolean = true;\n _never: boolean = false;\n _forever: boolean = false;\n _invalidate: boolean = false;\n\n _configured: boolean = false;\n\n _pairs: Array<\n [cachedValue: unknown, handler: (data: SideChannel) => Handler<unknown>]\n > = [];\n\n _data: SideChannel;\n\n constructor(data: SideChannel) {\n this._data = data;\n }\n\n simple() {\n return makeSimpleConfigurator(this);\n }\n\n mode() {\n if (this._never) return \"never\";\n if (this._forever) return \"forever\";\n if (this._invalidate) return \"invalidate\";\n return \"valid\";\n }\n\n forever() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never) {\n throw new Error(\"Caching has already been configured with .never()\");\n }\n this._forever = true;\n this._configured = true;\n }\n\n never() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._forever) {\n throw new Error(\"Caching has already been configured with .forever()\");\n }\n this._never = true;\n this._configured = true;\n }\n\n using<T>(handler: (data: SideChannel) => T): T {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never || this._forever) {\n throw new Error(\n \"Caching has already been configured with .never or .forever()\",\n );\n }\n this._configured = true;\n\n const key = handler(this._data);\n\n const fn = maybeAsync(\n handler,\n `You appear to be using an async cache handler, but Babel has been called synchronously`,\n );\n\n if (isThenable(key)) {\n // @ts-expect-error todo(flow->ts): improve function return type annotation\n return key.then((key: unknown) => {\n this._pairs.push([key, fn]);\n return key;\n });\n }\n\n this._pairs.push([key, fn]);\n return key;\n }\n\n invalidate<T>(handler: (data: SideChannel) => T): T {\n this._invalidate = true;\n return this.using(handler);\n }\n\n validator(): (data: SideChannel) => Handler<boolean> {\n const pairs = this._pairs;\n return function* (data: SideChannel) {\n for (const [key, fn] of pairs) {\n if (key !== (yield* fn(data))) return false;\n }\n return true;\n };\n }\n\n deactivate() {\n this._active = false;\n }\n\n configured() {\n return this._configured;\n }\n}\n\nfunction makeSimpleConfigurator(\n cache: CacheConfigurator<any>,\n): SimpleCacheConfigurator {\n function cacheFn(val: any) {\n if (typeof val === \"boolean\") {\n if (val) cache.forever();\n else cache.never();\n return;\n }\n\n return cache.using(() => assertSimpleType(val()));\n }\n cacheFn.forever = () => cache.forever();\n cacheFn.never = () => cache.never();\n cacheFn.using = (cb: () => SimpleType) =>\n cache.using(() => assertSimpleType(cb()));\n cacheFn.invalidate = (cb: () => SimpleType) =>\n cache.invalidate(() => assertSimpleType(cb()));\n\n return cacheFn as any;\n}\n\n// Types are limited here so that in the future these values can be used\n// as part of Babel's caching logic.\nexport type SimpleType =\n | string\n | boolean\n | number\n | null\n | void\n | Promise<SimpleType>;\nexport function assertSimpleType(value: unknown): SimpleType {\n if (isThenable(value)) {\n throw new Error(\n `You appear to be using an async cache handler, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously handle your caching logic.`,\n );\n }\n\n if (\n value != null &&\n typeof value !== \"string\" &&\n typeof value !== \"boolean\" &&\n typeof value !== \"number\"\n ) {\n throw new Error(\n \"Cache keys must be either string, boolean, number, null, or undefined.\",\n );\n }\n // @ts-expect-error Type 'unknown' is not assignable to type 'SimpleType'. This can be removed\n // when strictNullCheck is enabled\n return value;\n}\n\nclass Lock<T> {\n released: boolean = false;\n promise: Promise<T>;\n _resolve: (value: T) => void;\n\n constructor() {\n this.promise = new Promise(resolve => {\n this._resolve = resolve;\n });\n }\n\n release(value: T) {\n this.released = true;\n this._resolve(value);\n }\n}\n"],"mappings":";;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAA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ACC,EAAE,CAAC,CAAC,CAAC,CAAC;EAEhD,OAAOH,OAAO;AAChB;AAWO,SAASE,gBAAgBA,CAAC/C,KAAc,EAAc;EAC3D,IAAI,IAAAyC,iBAAU,EAACzC,KAAK,CAAC,EAAE;IACrB,MAAM,IAAImC,KAAK,CACb,iDAAiD,GAC/C,wDAAwD,GACxD,6CAA6C,GAC7C,oEAAoE,GACpE,iFACJ,CAAC;EACH;EAEA,IACEnC,KAAK,IAAI,IAAI,IACb,OAAOA,KAAK,KAAK,QAAQ,IACzB,OAAOA,KAAK,KAAK,SAAS,IAC1B,OAAOA,KAAK,KAAK,QAAQ,EACzB;IACA,MAAM,IAAImC,KAAK,CACb,wEACF,CAAC;EACH;EAGA,OAAOnC,KAAK;AACd;AAEA,MAAMiB,IAAI,CAAI;EAKZQ,WAAWA,CAAA,EAAG;IAAA,KAJdwB,QAAQ,GAAY,KAAK;IAAA,KACzBlC,OAAO;IAAA,KACPmC,QAAQ;IAGN,IAAI,CAACnC,OAAO,GAAG,IAAIoC,OAAO,CAACC,OAAO,IAAI;MACpC,IAAI,CAACF,QAAQ,GAAGE,OAAO;IACzB,CAAC,CAAC;EACJ;EAEA1C,OAAOA,CAACV,KAAQ,EAAE;IAChB,IAAI,CAACiD,QAAQ,GAAG,IAAI;IACpB,IAAI,CAACC,QAAQ,CAAClD,KAAK,CAAC;EACtB;AACF;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_gensync","data","require","_async","_util","synchronize","gen","gensync","sync","genTrue","makeWeakCache","handler","makeCachedFunction","WeakMap","makeWeakCacheSync","makeStrongCache","Map","makeStrongCacheSync","CallCache","callCacheSync","callCacheAsync","futureCache","cachedFunction","arg","asyncContext","isAsync","callCache","cached","getCachedValueOrWait","valid","value","cache","CacheConfigurator","handlerResult","finishLock","isIterableIterator","onFirstPause","setupAsyncLocks","updateFunctionCache","delete","release","getCachedValue","cachedValue","get","waitFor","promise","config","Lock","configured","forever","deactivate","mode","set","validator","push","constructor","_active","_never","_forever","_invalidate","_configured","_pairs","_data","simple","makeSimpleConfigurator","Error","never","using","key","fn","maybeAsync","isThenable","then","invalidate","pairs","cacheFn","val","assertSimpleType","cb","released","_resolve","Promise","resolve"],"sources":["../../src/config/caching.ts"],"sourcesContent":["import gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport {\n maybeAsync,\n isAsync,\n onFirstPause,\n waitFor,\n isThenable,\n} from \"../gensync-utils/async.ts\";\nimport { isIterableIterator } from \"./util.ts\";\n\nexport type { CacheConfigurator };\n\nexport type SimpleCacheConfigurator = {\n (forever: boolean): void;\n <T extends SimpleType>(handler: () => T): T;\n\n forever: () => void;\n never: () => void;\n using: <T extends SimpleType>(handler: () => T) => T;\n invalidate: <T extends SimpleType>(handler: () => T) => T;\n};\n\nexport type CacheEntry<ResultT, SideChannel> = {\n value: ResultT;\n valid: (channel: SideChannel) => Handler<boolean>;\n}[];\n\nconst synchronize = <ArgsT extends unknown[], ResultT>(\n gen: (...args: ArgsT) => Handler<ResultT>,\n): ((...args: ArgsT) => ResultT) => {\n return gensync(gen).sync;\n};\n\n// eslint-disable-next-line require-yield\nfunction* genTrue() {\n return true;\n}\n\nexport function makeWeakCache<ArgT extends object, ResultT, SideChannel>(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n return makeCachedFunction<ArgT, ResultT, SideChannel>(WeakMap, handler);\n}\n\nexport function makeWeakCacheSync<ArgT extends object, ResultT, SideChannel>(\n handler: (arg: ArgT, cache?: CacheConfigurator<SideChannel>) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeWeakCache<ArgT, ResultT, SideChannel>(handler),\n );\n}\n\nexport function makeStrongCache<ArgT, ResultT, SideChannel>(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n return makeCachedFunction<ArgT, ResultT, SideChannel>(Map, handler);\n}\n\nexport function makeStrongCacheSync<ArgT, ResultT, SideChannel>(\n handler: (arg: ArgT, cache?: CacheConfigurator<SideChannel>) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeStrongCache<ArgT, ResultT, SideChannel>(handler),\n );\n}\n\n/* NOTE: Part of the logic explained in this comment is explained in the\n * getCachedValueOrWait and setupAsyncLocks functions.\n *\n * > There are only two hard things in Computer Science: cache invalidation and naming things.\n * > -- Phil Karlton\n *\n * I don't know if Phil was also thinking about handling a cache whose invalidation function is\n * defined asynchronously is considered, but it is REALLY hard to do correctly.\n *\n * The implemented logic (only when gensync is run asynchronously) is the following:\n * 1. If there is a valid cache associated to the current \"arg\" parameter,\n * a. RETURN the cached value\n * 3. If there is a FinishLock associated to the current \"arg\" parameter representing a valid cache,\n * a. Wait for that lock to be released\n * b. RETURN the value associated with that lock\n * 5. Start executing the function to be cached\n * a. If it pauses on a promise, then\n * i. Let FinishLock be a new lock\n * ii. Store FinishLock as associated to the current \"arg\" parameter\n * iii. Wait for the function to finish executing\n * iv. Release FinishLock\n * v. Send the function result to anyone waiting on FinishLock\n * 6. Store the result in the cache\n * 7. RETURN the result\n */\nfunction makeCachedFunction<ArgT, ResultT, SideChannel>(\n CallCache: new <Cached>() => CacheMap<ArgT, Cached, SideChannel>,\n handler: (\n arg: ArgT,\n cache: CacheConfigurator<SideChannel>,\n ) => Handler<ResultT> | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler<ResultT> {\n const callCacheSync = new CallCache<ResultT>();\n const callCacheAsync = new CallCache<ResultT>();\n const futureCache = new CallCache<Lock<ResultT>>();\n\n return function* cachedFunction(arg: ArgT, data: SideChannel) {\n const asyncContext = yield* isAsync();\n const callCache = asyncContext ? callCacheAsync : callCacheSync;\n\n const cached = yield* getCachedValueOrWait<ArgT, ResultT, SideChannel>(\n asyncContext,\n callCache,\n futureCache,\n arg,\n data,\n );\n if (cached.valid) return cached.value;\n\n const cache = new CacheConfigurator(data);\n\n const handlerResult: Handler<ResultT> | ResultT = handler(arg, cache);\n\n let finishLock: Lock<ResultT>;\n let value: ResultT;\n\n if (isIterableIterator(handlerResult)) {\n value = yield* onFirstPause(handlerResult, () => {\n finishLock = setupAsyncLocks(cache, futureCache, arg);\n });\n } else {\n value = handlerResult;\n }\n\n updateFunctionCache(callCache, cache, arg, value);\n\n if (finishLock) {\n futureCache.delete(arg);\n finishLock.release(value);\n }\n\n return value;\n };\n}\n\ntype CacheMap<ArgT, ResultT, SideChannel> =\n | Map<ArgT, CacheEntry<ResultT, SideChannel>>\n // @ts-expect-error todo(flow->ts): add `extends object` constraint to ArgT\n | WeakMap<ArgT, CacheEntry<ResultT, SideChannel>>;\n\nfunction* getCachedValue<ArgT, ResultT, SideChannel>(\n cache: CacheMap<ArgT, ResultT, SideChannel>,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cachedValue: CacheEntry<ResultT, SideChannel> | void = cache.get(arg);\n\n if (cachedValue) {\n for (const { value, valid } of cachedValue) {\n if (yield* valid(data)) return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction* getCachedValueOrWait<ArgT, ResultT, SideChannel>(\n asyncContext: boolean,\n callCache: CacheMap<ArgT, ResultT, SideChannel>,\n futureCache: CacheMap<ArgT, Lock<ResultT>, SideChannel>,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cached = yield* getCachedValue(callCache, arg, data);\n if (cached.valid) {\n return cached;\n }\n\n if (asyncContext) {\n const cached = yield* getCachedValue(futureCache, arg, data);\n if (cached.valid) {\n const value = yield* waitFor<ResultT>(cached.value.promise);\n return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction setupAsyncLocks<ArgT, ResultT, SideChannel>(\n config: CacheConfigurator<SideChannel>,\n futureCache: CacheMap<ArgT, Lock<ResultT>, SideChannel>,\n arg: ArgT,\n): Lock<ResultT> {\n const finishLock = new Lock<ResultT>();\n\n updateFunctionCache(futureCache, config, arg, finishLock);\n\n return finishLock;\n}\n\nfunction updateFunctionCache<\n ArgT,\n ResultT,\n SideChannel,\n Cache extends CacheMap<ArgT, ResultT, SideChannel>,\n>(\n cache: Cache,\n config: CacheConfigurator<SideChannel>,\n arg: ArgT,\n value: ResultT,\n) {\n if (!config.configured()) config.forever();\n\n let cachedValue: CacheEntry<ResultT, SideChannel> | void = cache.get(arg);\n\n config.deactivate();\n\n switch (config.mode()) {\n case \"forever\":\n cachedValue = [{ value, valid: genTrue }];\n cache.set(arg, cachedValue);\n break;\n case \"invalidate\":\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n break;\n case \"valid\":\n if (cachedValue) {\n cachedValue.push({ value, valid: config.validator() });\n } else {\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n }\n }\n}\n\nclass CacheConfigurator<SideChannel = void> {\n _active: boolean = true;\n _never: boolean = false;\n _forever: boolean = false;\n _invalidate: boolean = false;\n\n _configured: boolean = false;\n\n _pairs: [\n cachedValue: unknown,\n handler: (data: SideChannel) => Handler<unknown>,\n ][] = [];\n\n _data: SideChannel;\n\n constructor(data: SideChannel) {\n this._data = data;\n }\n\n simple() {\n return makeSimpleConfigurator(this);\n }\n\n mode() {\n if (this._never) return \"never\";\n if (this._forever) return \"forever\";\n if (this._invalidate) return \"invalidate\";\n return \"valid\";\n }\n\n forever() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never) {\n throw new Error(\"Caching has already been configured with .never()\");\n }\n this._forever = true;\n this._configured = true;\n }\n\n never() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._forever) {\n throw new Error(\"Caching has already been configured with .forever()\");\n }\n this._never = true;\n this._configured = true;\n }\n\n using<T>(handler: (data: SideChannel) => T): T {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never || this._forever) {\n throw new Error(\n \"Caching has already been configured with .never or .forever()\",\n );\n }\n this._configured = true;\n\n const key = handler(this._data);\n\n const fn = maybeAsync(\n handler,\n `You appear to be using an async cache handler, but Babel has been called synchronously`,\n );\n\n if (isThenable(key)) {\n // @ts-expect-error todo(flow->ts): improve function return type annotation\n return key.then((key: unknown) => {\n this._pairs.push([key, fn]);\n return key;\n });\n }\n\n this._pairs.push([key, fn]);\n return key;\n }\n\n invalidate<T>(handler: (data: SideChannel) => T): T {\n this._invalidate = true;\n return this.using(handler);\n }\n\n validator(): (data: SideChannel) => Handler<boolean> {\n const pairs = this._pairs;\n return function* (data: SideChannel) {\n for (const [key, fn] of pairs) {\n if (key !== (yield* fn(data))) return false;\n }\n return true;\n };\n }\n\n deactivate() {\n this._active = false;\n }\n\n configured() {\n return this._configured;\n }\n}\n\nfunction makeSimpleConfigurator(\n cache: CacheConfigurator<any>,\n): SimpleCacheConfigurator {\n function cacheFn(val: any) {\n if (typeof val === \"boolean\") {\n if (val) cache.forever();\n else cache.never();\n return;\n }\n\n return cache.using(() => assertSimpleType(val()));\n }\n cacheFn.forever = () => cache.forever();\n cacheFn.never = () => cache.never();\n cacheFn.using = (cb: () => SimpleType) =>\n cache.using(() => assertSimpleType(cb()));\n cacheFn.invalidate = (cb: () => SimpleType) =>\n cache.invalidate(() => assertSimpleType(cb()));\n\n return cacheFn as any;\n}\n\n// Types are limited here so that in the future these values can be used\n// as part of Babel's caching logic.\nexport type SimpleType =\n | string\n | boolean\n | number\n | null\n | void\n | Promise<SimpleType>;\nexport function assertSimpleType(value: unknown): SimpleType {\n if (isThenable(value)) {\n throw new Error(\n `You appear to be using an async cache handler, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously handle your caching logic.`,\n );\n }\n\n if (\n value != null &&\n typeof value !== \"string\" &&\n typeof value !== \"boolean\" &&\n typeof value !== \"number\"\n ) {\n throw new Error(\n \"Cache keys must be either string, boolean, number, null, or undefined.\",\n );\n }\n // @ts-expect-error Type 'unknown' is not assignable to type 'SimpleType'. This can be removed\n // when strictNullCheck is enabled\n return value;\n}\n\nclass Lock<T> {\n released: boolean = false;\n promise: Promise<T>;\n _resolve: (value: T) => void;\n\n constructor() {\n this.promise = new Promise(resolve => {\n this._resolve = resolve;\n });\n }\n\n release(value: T) {\n this.released = true;\n this._resolve(value);\n }\n}\n"],"mappings":";;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAOA,IAAAE,KAAA,GAAAF,OAAA;AAmBA,MAAMG,WAAW,GACfC,GAAyC,IACP;EAClC,OAAOC,SAAMA,CAAC,CAACD,GAAG,CAAC,CAACE,IAAI;AAC1B,CAAC;AAGD,UAAUC,OAAOA,CAAA,EAAG;EAClB,OAAO,IAAI;AACb;AAEO,SAASC,aAAaA,CAC3BC,OAG+B,EACqB;EACpD,OAAOC,kBAAkB,CAA6BC,OAAO,EAAEF,OAAO,CAAC;AACzE;AAEO,SAASG,iBAAiBA,CAC/BH,OAAuE,EAC3B;EAC5C,OAAON,WAAW,CAChBK,aAAa,CAA6BC,OAAO,CACnD,CAAC;AACH;AAEO,SAASI,eAAeA,CAC7BJ,OAG+B,EACqB;EACpD,OAAOC,kBAAkB,CAA6BI,GAAG,EAAEL,OAAO,CAAC;AACrE;AAEO,SAASM,mBAAmBA,CACjCN,OAAuE,EAC3B;EAC5C,OAAON,WAAW,CAChBU,eAAe,CAA6BJ,OAAO,CACrD,CAAC;AACH;AA2BA,SAASC,kBAAkBA,CACzBM,SAAgE,EAChEP,OAG+B,E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V,KAAQ,EAAE;IAChB,IAAI,CAACiD,QAAQ,GAAG,IAAI;IACpB,IAAI,CAACC,QAAQ,CAAClD,KAAK,CAAC;EACtB;AACF;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_path","data","require","_debug","_options","_patternToRegex","_printer","_rewriteStackTrace","_configError","_index","_caching","_configDescriptors","debug","buildDebug","buildPresetChain","arg","context","chain","buildPresetChainWalker","plugins","dedupDescriptors","presets","options","map","o","createConfigChainOptions","files","Set","exports","makeChainWalker","root","preset","loadPresetDescriptors","env","envName","loadPresetEnvDescriptors","overrides","index","loadPresetOverridesDescriptors","overridesEnv","loadPresetOverridesEnvDescriptors","createLogger","makeWeakCacheSync","buildRootDescriptors","alias","createUncachedDescriptors","makeStrongCacheSync","buildEnvDescriptors","buildOverrideDescriptors","buildOverrideEnvDescriptors","buildRootChain","opts","configReport","babelRcReport","programmaticLogger","ConfigPrinter","programmaticChain","loadProgrammaticChain","dirname","cwd","undefined","programmaticReport","output","configFile","loadConfig","caller","findRootConfig","babelrc","babelrcRoots","babelrcRootsDirectory","configFileChain","emptyChain","configFileLogger","validatedFile","validateConfigFile","result","loadFileChain","mergeChain","ignoreFile","babelrcFile","isIgnored","fileChain","filename","pkgData","findPackageData","babelrcLoadEnabled","ignore","config","findRelativeConfig","add","filepath","shouldIgnore","validateBabelrcFile","babelrcLogger","showConfig","console","log","filter","x","join","fileHandling","absoluteRoot","directories","includes","babelrcPatterns","Array","isArray","pat","path","resolve","length","some","pathPatternToRegex","directory","matchPattern","file","validate","validateExtendFile","input","createCachedDescriptors","baseLogger","buildProgrammaticLogger","loadFileChainWalker","loadFileDescriptors","loadFileEnvDescriptors","loadFileOverridesDescriptors","loadFileOverridesEnvDescriptors","buildFileLogger","configure","ChainFormatter","Config","descriptors","_","_context$caller","Programmatic","callerName","name","_options$env","_options$overrides","Error","_options$overrides2","_override$env","override","chainWalker","flattenedConfigs","rootOpts","configIsApplicable","push","envOpts","forEach","overrideOps","overrideEnvOpts","only","logger","mergeExtendsChain","mergeChainOpts","extends","has","from","delete","target","source","Object","assign","passPerPreset","test","include","exclude","hasOwnProperty","call","sourceMaps","sourceMap","items","Map","item","value","fnKey","nameMap","get","set","desc","ownPass","reduce","acc","configName","configFieldIsApplicable","patterns","matchesPatterns","ignoreListReplacer","_key","RegExp","String","_context$filename","message","JSON","stringify","_context$filename2","pattern","pathToTest","endHiddenCallStack","ConfigError"],"sources":["../../src/config/config-chain.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-use-before-define */\n\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { validate } from \"./validation/options.ts\";\nimport type {\n ConfigApplicableTest,\n BabelrcSearch,\n CallerMetadata,\n MatchItem,\n InputOptions,\n ConfigChainOptions,\n} from \"./validation/options.ts\";\nimport pathPatternToRegex from \"./pattern-to-regex.ts\";\nimport { ConfigPrinter, ChainFormatter } from \"./printer.ts\";\nimport type { ReadonlyDeepArray } from \"./helpers/deep-array.ts\";\n\nimport { endHiddenCallStack } from \"../errors/rewrite-stack-trace.ts\";\nimport ConfigError from \"../errors/config-error.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\nconst debug = buildDebug(\"babel:config:config-chain\");\n\nimport {\n findPackageData,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n} from \"./files/index.ts\";\nimport type { ConfigFile, IgnoreFile, FilePackageData } from \"./files/index.ts\";\n\nimport { makeWeakCacheSync, makeStrongCacheSync } from \"./caching.ts\";\n\nimport {\n createCachedDescriptors,\n createUncachedDescriptors,\n} from \"./config-descriptors.ts\";\nimport type {\n UnloadedDescriptor,\n OptionsAndDescriptors,\n ValidatedFile,\n} from \"./config-descriptors.ts\";\n\nexport type ConfigChain = {\n plugins: Array<UnloadedDescriptor<PluginAPI>>;\n presets: Array<UnloadedDescriptor<PresetAPI>>;\n options: Array<ConfigChainOptions>;\n files: Set<string>;\n};\n\nexport type PresetInstance = {\n options: InputOptions;\n alias: string;\n dirname: string;\n externalDependencies: ReadonlyDeepArray<string>;\n};\n\nexport type ConfigContext = {\n filename: string | undefined;\n cwd: string;\n root: string;\n envName: string;\n caller: CallerMetadata | undefined;\n showConfig: boolean;\n};\n\n/**\n * Build a config chain for a given preset.\n */\nexport function* buildPresetChain(\n arg: PresetInstance,\n context: any,\n): Handler<ConfigChain | null> {\n const chain = yield* buildPresetChainWalker(arg, context);\n if (!chain) return null;\n\n return {\n plugins: dedupDescriptors(chain.plugins),\n presets: dedupDescriptors(chain.presets),\n options: chain.options.map(o => createConfigChainOptions(o)),\n files: new Set(),\n };\n}\n\nexport const buildPresetChainWalker = makeChainWalker<PresetInstance>({\n root: preset => loadPresetDescriptors(preset),\n env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),\n overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),\n overridesEnv: (preset, index, envName) =>\n loadPresetOverridesEnvDescriptors(preset)(index)(envName),\n createLogger: () => () => {}, // Currently we don't support logging how preset is expanded\n});\nconst loadPresetDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n buildRootDescriptors(preset, preset.alias, createUncachedDescriptors),\n);\nconst loadPresetEnvDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadPresetOverridesDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadPresetOverridesEnvDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nexport type FileHandling = \"transpile\" | \"ignored\" | \"unsupported\";\nexport type RootConfigChain = ConfigChain & {\n babelrc: ConfigFile | undefined;\n config: ConfigFile | undefined;\n ignore: IgnoreFile | undefined;\n fileHandling: FileHandling;\n files: Set<string>;\n};\n\n/**\n * Build a config chain for Babel's full root configuration.\n */\nexport function* buildRootChain(\n opts: InputOptions,\n context: ConfigContext,\n): Handler<RootConfigChain | null> {\n let configReport, babelRcReport;\n const programmaticLogger = new ConfigPrinter();\n const programmaticChain = yield* loadProgrammaticChain(\n {\n options: opts,\n dirname: context.cwd,\n },\n context,\n undefined,\n programmaticLogger,\n );\n if (!programmaticChain) return null;\n const programmaticReport = yield* programmaticLogger.output();\n\n let configFile;\n if (typeof opts.configFile === \"string\") {\n configFile = yield* loadConfig(\n opts.configFile,\n context.cwd,\n context.envName,\n context.caller,\n );\n } else if (opts.configFile !== false) {\n configFile = yield* findRootConfig(\n context.root,\n context.envName,\n context.caller,\n );\n }\n\n let { babelrc, babelrcRoots } = opts;\n let babelrcRootsDirectory = context.cwd;\n\n const configFileChain = emptyChain();\n const configFileLogger = new ConfigPrinter();\n if (configFile) {\n const validatedFile = validateConfigFile(configFile);\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n configFileLogger,\n );\n if (!result) return null;\n configReport = yield* configFileLogger.output();\n\n // Allow config files to toggle `.babelrc` resolution on and off and\n // specify where the roots are.\n if (babelrc === undefined) {\n babelrc = validatedFile.options.babelrc;\n }\n if (babelrcRoots === undefined) {\n babelrcRootsDirectory = validatedFile.dirname;\n babelrcRoots = validatedFile.options.babelrcRoots;\n }\n\n mergeChain(configFileChain, result);\n }\n\n let ignoreFile, babelrcFile;\n let isIgnored = false;\n const fileChain = emptyChain();\n // resolve all .babelrc files\n if (\n (babelrc === true || babelrc === undefined) &&\n typeof context.filename === \"string\"\n ) {\n const pkgData = yield* findPackageData(context.filename);\n\n if (\n pkgData &&\n babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)\n ) {\n ({ ignore: ignoreFile, config: babelrcFile } = yield* findRelativeConfig(\n pkgData,\n context.envName,\n context.caller,\n ));\n\n if (ignoreFile) {\n fileChain.files.add(ignoreFile.filepath);\n }\n\n if (\n ignoreFile &&\n shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)\n ) {\n isIgnored = true;\n }\n\n if (babelrcFile && !isIgnored) {\n const validatedFile = validateBabelrcFile(babelrcFile);\n const babelrcLogger = new ConfigPrinter();\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n babelrcLogger,\n );\n if (!result) {\n isIgnored = true;\n } else {\n babelRcReport = yield* babelrcLogger.output();\n mergeChain(fileChain, result);\n }\n }\n\n if (babelrcFile && isIgnored) {\n fileChain.files.add(babelrcFile.filepath);\n }\n }\n }\n\n if (context.showConfig) {\n console.log(\n `Babel configs on \"${context.filename}\" (ascending priority):\\n` +\n // print config by the order of ascending priority\n [configReport, babelRcReport, programmaticReport]\n .filter(x => !!x)\n .join(\"\\n\\n\") +\n \"\\n-----End Babel configs-----\",\n );\n }\n // Insert file chain in front so programmatic options have priority\n // over configuration file chain items.\n const chain = mergeChain(\n mergeChain(mergeChain(emptyChain(), configFileChain), fileChain),\n programmaticChain,\n );\n\n return {\n plugins: isIgnored ? [] : dedupDescriptors(chain.plugins),\n presets: isIgnored ? [] : dedupDescriptors(chain.presets),\n options: isIgnored\n ? []\n : chain.options.map(o => createConfigChainOptions(o)),\n fileHandling: isIgnored ? \"ignored\" : \"transpile\",\n ignore: ignoreFile || undefined,\n babelrc: babelrcFile || undefined,\n config: configFile || undefined,\n files: chain.files,\n };\n}\n\nfunction babelrcLoadEnabled(\n context: ConfigContext,\n pkgData: FilePackageData,\n babelrcRoots: BabelrcSearch | undefined,\n babelrcRootsDirectory: string,\n): boolean {\n if (typeof babelrcRoots === \"boolean\") return babelrcRoots;\n\n const absoluteRoot = context.root;\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcRoots === undefined) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n let babelrcPatterns = babelrcRoots;\n if (!Array.isArray(babelrcPatterns)) {\n babelrcPatterns = [babelrcPatterns];\n }\n babelrcPatterns = babelrcPatterns.map(pat => {\n return typeof pat === \"string\"\n ? path.resolve(babelrcRootsDirectory, pat)\n : pat;\n });\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n return babelrcPatterns.some(pat => {\n if (typeof pat === \"string\") {\n pat = pathPatternToRegex(pat, babelrcRootsDirectory);\n }\n\n return pkgData.directories.some(directory => {\n return matchPattern(pat, babelrcRootsDirectory, directory, context);\n });\n });\n}\n\nconst validateConfigFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"configfile\", file.options, file.filepath),\n }),\n);\n\nconst validateBabelrcFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"babelrcfile\", file.options, file.filepath),\n }),\n);\n\nconst validateExtendFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"extendsfile\", file.options, file.filepath),\n }),\n);\n\n/**\n * Build a config chain for just the programmatic options passed into Babel.\n */\nconst loadProgrammaticChain = makeChainWalker({\n root: input => buildRootDescriptors(input, \"base\", createCachedDescriptors),\n env: (input, envName) =>\n buildEnvDescriptors(input, \"base\", createCachedDescriptors, envName),\n overrides: (input, index) =>\n buildOverrideDescriptors(input, \"base\", createCachedDescriptors, index),\n overridesEnv: (input, index, envName) =>\n buildOverrideEnvDescriptors(\n input,\n \"base\",\n createCachedDescriptors,\n index,\n envName,\n ),\n createLogger: (input, context, baseLogger) =>\n buildProgrammaticLogger(input, context, baseLogger),\n});\n\n/**\n * Build a config chain for a given file.\n */\nconst loadFileChainWalker = makeChainWalker<ValidatedFile>({\n root: file => loadFileDescriptors(file),\n env: (file, envName) => loadFileEnvDescriptors(file)(envName),\n overrides: (file, index) => loadFileOverridesDescriptors(file)(index),\n overridesEnv: (file, index, envName) =>\n loadFileOverridesEnvDescriptors(file)(index)(envName),\n createLogger: (file, context, baseLogger) =>\n buildFileLogger(file.filepath, context, baseLogger),\n});\n\nfunction* loadFileChain(\n input: ValidatedFile,\n context: ConfigContext,\n files: Set<ConfigFile>,\n baseLogger: ConfigPrinter,\n) {\n const chain = yield* loadFileChainWalker(input, context, files, baseLogger);\n chain?.files.add(input.filepath);\n\n return chain;\n}\n\nconst loadFileDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n buildRootDescriptors(file, file.filepath, createUncachedDescriptors),\n);\nconst loadFileEnvDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadFileOverridesDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadFileOverridesEnvDescriptors = makeWeakCacheSync(\n (file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nfunction buildFileLogger(\n filepath: string,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Config, {\n filepath,\n });\n}\n\nfunction buildRootDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n) {\n return descriptors(dirname, options, alias);\n}\n\nfunction buildProgrammaticLogger(\n _: unknown,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Programmatic, {\n callerName: context.caller?.name,\n });\n}\n\nfunction buildEnvDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n envName: string,\n) {\n const opts = options.env?.[envName];\n return opts ? descriptors(dirname, opts, `${alias}.env[\"${envName}\"]`) : null;\n}\n\nfunction buildOverrideDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n) {\n const opts = options.overrides?.[index];\n if (!opts) throw new Error(\"Assertion failure - missing override\");\n\n return descriptors(dirname, opts, `${alias}.overrides[${index}]`);\n}\n\nfunction buildOverrideEnvDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n envName: string,\n) {\n const override = options.overrides?.[index];\n if (!override) throw new Error(\"Assertion failure - missing override\");\n\n const opts = override.env?.[envName];\n return opts\n ? descriptors(\n dirname,\n opts,\n `${alias}.overrides[${index}].env[\"${envName}\"]`,\n )\n : null;\n}\n\nfunction makeChainWalker<\n ArgT extends {\n options: InputOptions;\n dirname: string;\n filepath?: string;\n },\n>({\n root,\n env,\n overrides,\n overridesEnv,\n createLogger,\n}: {\n root: (configEntry: ArgT) => OptionsAndDescriptors;\n env: (configEntry: ArgT, env: string) => OptionsAndDescriptors | null;\n overrides: (configEntry: ArgT, index: number) => OptionsAndDescriptors;\n overridesEnv: (\n configEntry: ArgT,\n index: number,\n env: string,\n ) => OptionsAndDescriptors | null;\n createLogger: (\n configEntry: ArgT,\n context: ConfigContext,\n printer: ConfigPrinter | void,\n ) => (\n opts: OptionsAndDescriptors,\n index?: number | null,\n env?: string | null,\n ) => void;\n}): (\n configEntry: ArgT,\n context: ConfigContext,\n files?: Set<ConfigFile>,\n baseLogger?: ConfigPrinter,\n) => Handler<ConfigChain | null> {\n return function* chainWalker(input, context, files = new Set(), baseLogger) {\n const { dirname } = input;\n\n const flattenedConfigs: Array<{\n config: OptionsAndDescriptors;\n index: number | undefined | null;\n envName: string | undefined | null;\n }> = [];\n\n const rootOpts = root(input);\n if (configIsApplicable(rootOpts, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: rootOpts,\n envName: undefined,\n index: undefined,\n });\n\n const envOpts = env(input, context.envName);\n if (\n envOpts &&\n configIsApplicable(envOpts, dirname, context, input.filepath)\n ) {\n flattenedConfigs.push({\n config: envOpts,\n envName: context.envName,\n index: undefined,\n });\n }\n\n (rootOpts.options.overrides || []).forEach((_, index) => {\n const overrideOps = overrides(input, index);\n if (configIsApplicable(overrideOps, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: overrideOps,\n index,\n envName: undefined,\n });\n\n const overrideEnvOpts = overridesEnv(input, index, context.envName);\n if (\n overrideEnvOpts &&\n configIsApplicable(\n overrideEnvOpts,\n dirname,\n context,\n input.filepath,\n )\n ) {\n flattenedConfigs.push({\n config: overrideEnvOpts,\n index,\n envName: context.envName,\n });\n }\n }\n });\n }\n\n // Process 'ignore' and 'only' before 'extends' items are processed so\n // that we don't do extra work loading extended configs if a file is\n // ignored.\n if (\n flattenedConfigs.some(\n ({\n config: {\n options: { ignore, only },\n },\n }) => shouldIgnore(context, ignore, only, dirname),\n )\n ) {\n return null;\n }\n\n const chain = emptyChain();\n const logger = createLogger(input, context, baseLogger);\n\n for (const { config, index, envName } of flattenedConfigs) {\n if (\n !(yield* mergeExtendsChain(\n chain,\n config.options,\n dirname,\n context,\n files,\n baseLogger,\n ))\n ) {\n return null;\n }\n\n logger(config, index, envName);\n yield* mergeChainOpts(chain, config);\n }\n return chain;\n };\n}\n\nfunction* mergeExtendsChain(\n chain: ConfigChain,\n opts: InputOptions,\n dirname: string,\n context: ConfigContext,\n files: Set<ConfigFile>,\n baseLogger?: ConfigPrinter,\n): Handler<boolean> {\n if (opts.extends === undefined) return true;\n\n const file = yield* loadConfig(\n opts.extends,\n dirname,\n context.envName,\n context.caller,\n );\n\n if (files.has(file)) {\n throw new Error(\n `Configuration cycle detected loading ${file.filepath}.\\n` +\n `File already loaded following the config chain:\\n` +\n Array.from(files, file => ` - ${file.filepath}`).join(\"\\n\"),\n );\n }\n\n files.add(file);\n const fileChain = yield* loadFileChain(\n validateExtendFile(file),\n context,\n files,\n baseLogger,\n );\n files.delete(file);\n\n if (!fileChain) return false;\n\n mergeChain(chain, fileChain);\n\n return true;\n}\n\nfunction mergeChain(target: ConfigChain, source: ConfigChain): ConfigChain {\n target.options.push(...source.options);\n target.plugins.push(...source.plugins);\n target.presets.push(...source.presets);\n for (const file of source.files) {\n target.files.add(file);\n }\n\n return target;\n}\n\nfunction* mergeChainOpts(\n target: ConfigChain,\n { options, plugins, presets }: OptionsAndDescriptors,\n): Handler<ConfigChain> {\n target.options.push(options);\n target.plugins.push(...(yield* plugins()));\n target.presets.push(...(yield* presets()));\n\n return target;\n}\n\nfunction emptyChain(): ConfigChain {\n return {\n options: [],\n presets: [],\n plugins: [],\n files: new Set(),\n };\n}\n\nfunction createConfigChainOptions(opts: InputOptions): ConfigChainOptions {\n const options = {\n ...opts,\n };\n delete options.extends;\n delete options.env;\n delete options.overrides;\n delete options.plugins;\n delete options.presets;\n delete options.passPerPreset;\n delete options.ignore;\n delete options.only;\n delete options.test;\n delete options.include;\n delete options.exclude;\n\n // \"sourceMap\" is just aliased to sourceMap, so copy it over as\n // we merge the options together.\n if (Object.hasOwn(options, \"sourceMap\")) {\n options.sourceMaps = options.sourceMap;\n delete options.sourceMap;\n }\n return options;\n}\n\nfunction dedupDescriptors<API>(\n items: Array<UnloadedDescriptor<API>>,\n): Array<UnloadedDescriptor<API>> {\n const map: Map<\n Function,\n Map<string | void, { value: UnloadedDescriptor<API> }>\n > = new Map();\n\n const descriptors = [];\n\n for (const item of items) {\n if (typeof item.value === \"function\") {\n const fnKey = item.value;\n let nameMap = map.get(fnKey);\n if (!nameMap) {\n nameMap = new Map();\n map.set(fnKey, nameMap);\n }\n let desc = nameMap.get(item.name);\n if (!desc) {\n desc = { value: item };\n descriptors.push(desc);\n\n // Treat passPerPreset presets as unique, skipping them\n // in the merge processing steps.\n if (!item.ownPass) nameMap.set(item.name, desc);\n } else {\n desc.value = item;\n }\n } else {\n descriptors.push({ value: item });\n }\n }\n\n return descriptors.reduce((acc, desc) => {\n acc.push(desc.value);\n return acc;\n }, []);\n}\n\nfunction configIsApplicable(\n { options }: OptionsAndDescriptors,\n dirname: string,\n context: ConfigContext,\n configName: string,\n): boolean {\n return (\n (options.test === undefined ||\n configFieldIsApplicable(context, options.test, dirname, configName)) &&\n (options.include === undefined ||\n configFieldIsApplicable(context, options.include, dirname, configName)) &&\n (options.exclude === undefined ||\n !configFieldIsApplicable(context, options.exclude, dirname, configName))\n );\n}\n\nfunction configFieldIsApplicable(\n context: ConfigContext,\n test: ConfigApplicableTest,\n dirname: string,\n configName: string,\n): boolean {\n const patterns = Array.isArray(test) ? test : [test];\n\n return matchesPatterns(context, patterns, dirname, configName);\n}\n\n/**\n * Print the ignoreList-values in a more helpful way than the default.\n */\nfunction ignoreListReplacer(\n _key: string,\n value: MatchItem[] | MatchItem,\n): MatchItem[] | MatchItem | string {\n if (value instanceof RegExp) {\n return String(value);\n }\n\n return value;\n}\n\n/**\n * Tests if a filename should be ignored based on \"ignore\" and \"only\" options.\n */\nfunction shouldIgnore(\n context: ConfigContext,\n ignore: MatchItem[] | undefined | null,\n only: MatchItem[] | undefined | null,\n dirname: string,\n): boolean {\n if (ignore && matchesPatterns(context, ignore, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it matches one of \\`ignore: ${JSON.stringify(\n ignore,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n if (only && !matchesPatterns(context, only, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it fails to match one of \\`only: ${JSON.stringify(\n only,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n return false;\n}\n\n/**\n * Returns result of calling function with filename if pattern is a function.\n * Otherwise returns result of matching pattern Regex with filename.\n */\nfunction matchesPatterns(\n context: ConfigContext,\n patterns: MatchItem[],\n dirname: string,\n configName?: string,\n): boolean {\n return patterns.some(pattern =>\n matchPattern(pattern, dirname, context.filename, context, configName),\n );\n}\n\nfunction matchPattern(\n pattern: MatchItem,\n dirname: string,\n pathToTest: string | undefined,\n context: ConfigContext,\n configName?: string,\n): boolean {\n if (typeof pattern === \"function\") {\n return !!endHiddenCallStack(pattern)(pathToTest, {\n dirname,\n envName: context.envName,\n caller: context.caller,\n });\n }\n\n if (typeof pathToTest !== \"string\") {\n throw new ConfigError(\n `Configuration contains string/RegExp pattern, but no filename was passed to Babel`,\n configName,\n );\n }\n\n if (typeof pattern === \"string\") {\n pattern = pathPatternToRegex(pattern, dirname);\n }\n return pattern.test(pathToTest);\n}\n"],"mappings":";;;;;;;;AAEA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAG,QAAA,GAAAF,OAAA;AASA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAGA,IAAAK,kBAAA,GAAAL,OAAA;AACA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3I,OAAe,EACf4I,UAA8B,EAC9BtL,OAAsB,EACtBwK,UAAmB,EACV;EACT,IAAI,OAAOa,OAAO,KAAK,UAAU,EAAE;IACjC,OAAO,CAAC,CAAC,IAAAE,qCAAkB,EAACF,OAAO,CAAC,CAACC,UAAU,EAAE;MAC/C5I,OAAO;MACPxB,OAAO,EAAElB,OAAO,CAACkB,OAAO;MACxB+B,MAAM,EAAEjD,OAAO,CAACiD;IAClB,CAAC,CAAC;EACJ;EAEA,IAAI,OAAOqI,UAAU,KAAK,QAAQ,EAAE;IAClC,MAAM,IAAIE,oBAAW,CACnB,mFAAmF,EACnFhB,UACF,CAAC;EACH;EAEA,IAAI,OAAOa,OAAO,KAAK,QAAQ,EAAE;IAC/BA,OAAO,GAAG,IAAArF,uBAAkB,EAACqF,OAAO,EAAE3I,OAAO,CAAC;EAChD;EACA,OAAO2I,OAAO,CAAChC,IAAI,CAACiC,UAAU,CAAC;AACjC;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_path","data","require","_debug","_options","_patternToRegex","_printer","_rewriteStackTrace","_configError","_index","_caching","_configDescriptors","debug","buildDebug","buildPresetChain","arg","context","chain","buildPresetChainWalker","plugins","dedupDescriptors","presets","options","map","o","createConfigChainOptions","files","Set","exports","makeChainWalker","root","preset","loadPresetDescriptors","env","envName","loadPresetEnvDescriptors","overrides","index","loadPresetOverridesDescriptors","overridesEnv","loadPresetOverridesEnvDescriptors","createLogger","makeWeakCacheSync","buildRootDescriptors","alias","createUncachedDescriptors","makeStrongCacheSync","buildEnvDescriptors","buildOverrideDescriptors","buildOverrideEnvDescriptors","buildRootChain","opts","configReport","babelRcReport","programmaticLogger","ConfigPrinter","programmaticChain","loadProgrammaticChain","dirname","cwd","undefined","programmaticReport","output","configFile","loadConfig","caller","findRootConfig","babelrc","babelrcRoots","babelrcRootsDirectory","configFileChain","emptyChain","configFileLogger","validatedFile","validateConfigFile","result","loadFileChain","mergeChain","ignoreFile","babelrcFile","isIgnored","fileChain","filename","pkgData","findPackageData","babelrcLoadEnabled","ignore","config","findRelativeConfig","add","filepath","shouldIgnore","validateBabelrcFile","babelrcLogger","showConfig","console","log","filter","x","join","fileHandling","absoluteRoot","directories","includes","babelrcPatterns","Array","isArray","pat","path","resolve","length","some","pathPatternToRegex","directory","matchPattern","file","validate","validateExtendFile","input","createCachedDescriptors","baseLogger","buildProgrammaticLogger","loadFileChainWalker","loadFileDescriptors","loadFileEnvDescriptors","loadFileOverridesDescriptors","loadFileOverridesEnvDescriptors","buildFileLogger","configure","ChainFormatter","Config","descriptors","_","_context$caller","Programmatic","callerName","name","_options$env","_options$overrides","Error","_options$overrides2","_override$env","override","chainWalker","flattenedConfigs","rootOpts","configIsApplicable","push","envOpts","forEach","overrideOps","overrideEnvOpts","only","logger","mergeExtendsChain","mergeChainOpts","extends","has","from","delete","target","source","Object","assign","passPerPreset","test","include","exclude","hasOwnProperty","call","sourceMaps","sourceMap","items","Map","item","value","fnKey","nameMap","get","set","desc","ownPass","reduce","acc","configName","configFieldIsApplicable","patterns","matchesPatterns","ignoreListReplacer","_key","RegExp","String","_context$filename","message","JSON","stringify","_context$filename2","pattern","pathToTest","endHiddenCallStack","ConfigError"],"sources":["../../src/config/config-chain.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-use-before-define */\n\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { validate } from \"./validation/options.ts\";\nimport type {\n ConfigApplicableTest,\n BabelrcSearch,\n CallerMetadata,\n MatchItem,\n InputOptions,\n ConfigChainOptions,\n} from \"./validation/options.ts\";\nimport pathPatternToRegex from \"./pattern-to-regex.ts\";\nimport { ConfigPrinter, ChainFormatter } from \"./printer.ts\";\nimport type { ReadonlyDeepArray } from \"./helpers/deep-array.ts\";\n\nimport { endHiddenCallStack } from \"../errors/rewrite-stack-trace.ts\";\nimport ConfigError from \"../errors/config-error.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\nconst debug = buildDebug(\"babel:config:config-chain\");\n\nimport {\n findPackageData,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n} from \"./files/index.ts\";\nimport type { ConfigFile, IgnoreFile, FilePackageData } from \"./files/index.ts\";\n\nimport { makeWeakCacheSync, makeStrongCacheSync } from \"./caching.ts\";\n\nimport {\n createCachedDescriptors,\n createUncachedDescriptors,\n} from \"./config-descriptors.ts\";\nimport type {\n UnloadedDescriptor,\n OptionsAndDescriptors,\n ValidatedFile,\n} from \"./config-descriptors.ts\";\n\nexport type ConfigChain = {\n plugins: UnloadedDescriptor<PluginAPI>[];\n presets: UnloadedDescriptor<PresetAPI>[];\n options: ConfigChainOptions[];\n files: Set<string>;\n};\n\nexport type PresetInstance = {\n options: InputOptions;\n alias: string;\n dirname: string;\n externalDependencies: ReadonlyDeepArray<string>;\n};\n\nexport type ConfigContext = {\n filename: string | undefined;\n cwd: string;\n root: string;\n envName: string;\n caller: CallerMetadata | undefined;\n showConfig: boolean;\n};\n\n/**\n * Build a config chain for a given preset.\n */\nexport function* buildPresetChain(\n arg: PresetInstance,\n context: any,\n): Handler<ConfigChain | null> {\n const chain = yield* buildPresetChainWalker(arg, context);\n if (!chain) return null;\n\n return {\n plugins: dedupDescriptors(chain.plugins),\n presets: dedupDescriptors(chain.presets),\n options: chain.options.map(o => createConfigChainOptions(o)),\n files: new Set(),\n };\n}\n\nexport const buildPresetChainWalker = makeChainWalker<PresetInstance>({\n root: preset => loadPresetDescriptors(preset),\n env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),\n overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),\n overridesEnv: (preset, index, envName) =>\n loadPresetOverridesEnvDescriptors(preset)(index)(envName),\n createLogger: () => () => {}, // Currently we don't support logging how preset is expanded\n});\nconst loadPresetDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n buildRootDescriptors(preset, preset.alias, createUncachedDescriptors),\n);\nconst loadPresetEnvDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadPresetOverridesDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadPresetOverridesEnvDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nexport type FileHandling = \"transpile\" | \"ignored\" | \"unsupported\";\nexport type RootConfigChain = ConfigChain & {\n babelrc: ConfigFile | undefined;\n config: ConfigFile | undefined;\n ignore: IgnoreFile | undefined;\n fileHandling: FileHandling;\n files: Set<string>;\n};\n\n/**\n * Build a config chain for Babel's full root configuration.\n */\nexport function* buildRootChain(\n opts: InputOptions,\n context: ConfigContext,\n): Handler<RootConfigChain | null> {\n let configReport, babelRcReport;\n const programmaticLogger = new ConfigPrinter();\n const programmaticChain = yield* loadProgrammaticChain(\n {\n options: opts,\n dirname: context.cwd,\n },\n context,\n undefined,\n programmaticLogger,\n );\n if (!programmaticChain) return null;\n const programmaticReport = yield* programmaticLogger.output();\n\n let configFile;\n if (typeof opts.configFile === \"string\") {\n configFile = yield* loadConfig(\n opts.configFile,\n context.cwd,\n context.envName,\n context.caller,\n );\n } else if (opts.configFile !== false) {\n configFile = yield* findRootConfig(\n context.root,\n context.envName,\n context.caller,\n );\n }\n\n let { babelrc, babelrcRoots } = opts;\n let babelrcRootsDirectory = context.cwd;\n\n const configFileChain = emptyChain();\n const configFileLogger = new ConfigPrinter();\n if (configFile) {\n const validatedFile = validateConfigFile(configFile);\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n configFileLogger,\n );\n if (!result) return null;\n configReport = yield* configFileLogger.output();\n\n // Allow config files to toggle `.babelrc` resolution on and off and\n // specify where the roots are.\n if (babelrc === undefined) {\n babelrc = validatedFile.options.babelrc;\n }\n if (babelrcRoots === undefined) {\n babelrcRootsDirectory = validatedFile.dirname;\n babelrcRoots = validatedFile.options.babelrcRoots;\n }\n\n mergeChain(configFileChain, result);\n }\n\n let ignoreFile, babelrcFile;\n let isIgnored = false;\n const fileChain = emptyChain();\n // resolve all .babelrc files\n if (\n (babelrc === true || babelrc === undefined) &&\n typeof context.filename === \"string\"\n ) {\n const pkgData = yield* findPackageData(context.filename);\n\n if (\n pkgData &&\n babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)\n ) {\n ({ ignore: ignoreFile, config: babelrcFile } = yield* findRelativeConfig(\n pkgData,\n context.envName,\n context.caller,\n ));\n\n if (ignoreFile) {\n fileChain.files.add(ignoreFile.filepath);\n }\n\n if (\n ignoreFile &&\n shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)\n ) {\n isIgnored = true;\n }\n\n if (babelrcFile && !isIgnored) {\n const validatedFile = validateBabelrcFile(babelrcFile);\n const babelrcLogger = new ConfigPrinter();\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n babelrcLogger,\n );\n if (!result) {\n isIgnored = true;\n } else {\n babelRcReport = yield* babelrcLogger.output();\n mergeChain(fileChain, result);\n }\n }\n\n if (babelrcFile && isIgnored) {\n fileChain.files.add(babelrcFile.filepath);\n }\n }\n }\n\n if (context.showConfig) {\n console.log(\n `Babel configs on \"${context.filename}\" (ascending priority):\\n` +\n // print config by the order of ascending priority\n [configReport, babelRcReport, programmaticReport]\n .filter(x => !!x)\n .join(\"\\n\\n\") +\n \"\\n-----End Babel configs-----\",\n );\n }\n // Insert file chain in front so programmatic options have priority\n // over configuration file chain items.\n const chain = mergeChain(\n mergeChain(mergeChain(emptyChain(), configFileChain), fileChain),\n programmaticChain,\n );\n\n return {\n plugins: isIgnored ? [] : dedupDescriptors(chain.plugins),\n presets: isIgnored ? [] : dedupDescriptors(chain.presets),\n options: isIgnored\n ? []\n : chain.options.map(o => createConfigChainOptions(o)),\n fileHandling: isIgnored ? \"ignored\" : \"transpile\",\n ignore: ignoreFile || undefined,\n babelrc: babelrcFile || undefined,\n config: configFile || undefined,\n files: chain.files,\n };\n}\n\nfunction babelrcLoadEnabled(\n context: ConfigContext,\n pkgData: FilePackageData,\n babelrcRoots: BabelrcSearch | undefined,\n babelrcRootsDirectory: string,\n): boolean {\n if (typeof babelrcRoots === \"boolean\") return babelrcRoots;\n\n const absoluteRoot = context.root;\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcRoots === undefined) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n let babelrcPatterns = babelrcRoots;\n if (!Array.isArray(babelrcPatterns)) {\n babelrcPatterns = [babelrcPatterns];\n }\n babelrcPatterns = babelrcPatterns.map(pat => {\n return typeof pat === \"string\"\n ? path.resolve(babelrcRootsDirectory, pat)\n : pat;\n });\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n return babelrcPatterns.some(pat => {\n if (typeof pat === \"string\") {\n pat = pathPatternToRegex(pat, babelrcRootsDirectory);\n }\n\n return pkgData.directories.some(directory => {\n return matchPattern(pat, babelrcRootsDirectory, directory, context);\n });\n });\n}\n\nconst validateConfigFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"configfile\", file.options, file.filepath),\n }),\n);\n\nconst validateBabelrcFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"babelrcfile\", file.options, file.filepath),\n }),\n);\n\nconst validateExtendFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"extendsfile\", file.options, file.filepath),\n }),\n);\n\n/**\n * Build a config chain for just the programmatic options passed into Babel.\n */\nconst loadProgrammaticChain = makeChainWalker({\n root: input => buildRootDescriptors(input, \"base\", createCachedDescriptors),\n env: (input, envName) =>\n buildEnvDescriptors(input, \"base\", createCachedDescriptors, envName),\n overrides: (input, index) =>\n buildOverrideDescriptors(input, \"base\", createCachedDescriptors, index),\n overridesEnv: (input, index, envName) =>\n buildOverrideEnvDescriptors(\n input,\n \"base\",\n createCachedDescriptors,\n index,\n envName,\n ),\n createLogger: (input, context, baseLogger) =>\n buildProgrammaticLogger(input, context, baseLogger),\n});\n\n/**\n * Build a config chain for a given file.\n */\nconst loadFileChainWalker = makeChainWalker<ValidatedFile>({\n root: file => loadFileDescriptors(file),\n env: (file, envName) => loadFileEnvDescriptors(file)(envName),\n overrides: (file, index) => loadFileOverridesDescriptors(file)(index),\n overridesEnv: (file, index, envName) =>\n loadFileOverridesEnvDescriptors(file)(index)(envName),\n createLogger: (file, context, baseLogger) =>\n buildFileLogger(file.filepath, context, baseLogger),\n});\n\nfunction* loadFileChain(\n input: ValidatedFile,\n context: ConfigContext,\n files: Set<ConfigFile>,\n baseLogger: ConfigPrinter,\n) {\n const chain = yield* loadFileChainWalker(input, context, files, baseLogger);\n chain?.files.add(input.filepath);\n\n return chain;\n}\n\nconst loadFileDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n buildRootDescriptors(file, file.filepath, createUncachedDescriptors),\n);\nconst loadFileEnvDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadFileOverridesDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadFileOverridesEnvDescriptors = makeWeakCacheSync(\n (file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nfunction buildFileLogger(\n filepath: string,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Config, {\n filepath,\n });\n}\n\nfunction buildRootDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n) {\n return descriptors(dirname, options, alias);\n}\n\nfunction buildProgrammaticLogger(\n _: unknown,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Programmatic, {\n callerName: context.caller?.name,\n });\n}\n\nfunction buildEnvDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n envName: string,\n) {\n const opts = options.env?.[envName];\n return opts ? descriptors(dirname, opts, `${alias}.env[\"${envName}\"]`) : null;\n}\n\nfunction buildOverrideDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n) {\n const opts = options.overrides?.[index];\n if (!opts) throw new Error(\"Assertion failure - missing override\");\n\n return descriptors(dirname, opts, `${alias}.overrides[${index}]`);\n}\n\nfunction buildOverrideEnvDescriptors(\n { dirname, options }: Partial<ValidatedFile>,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n envName: string,\n) {\n const override = options.overrides?.[index];\n if (!override) throw new Error(\"Assertion failure - missing override\");\n\n const opts = override.env?.[envName];\n return opts\n ? descriptors(\n dirname,\n opts,\n `${alias}.overrides[${index}].env[\"${envName}\"]`,\n )\n : null;\n}\n\nfunction makeChainWalker<\n ArgT extends {\n options: InputOptions;\n dirname: string;\n filepath?: string;\n },\n>({\n root,\n env,\n overrides,\n overridesEnv,\n createLogger,\n}: {\n root: (configEntry: ArgT) => OptionsAndDescriptors;\n env: (configEntry: ArgT, env: string) => OptionsAndDescriptors | null;\n overrides: (configEntry: ArgT, index: number) => OptionsAndDescriptors;\n overridesEnv: (\n configEntry: ArgT,\n index: number,\n env: string,\n ) => OptionsAndDescriptors | null;\n createLogger: (\n configEntry: ArgT,\n context: ConfigContext,\n printer: ConfigPrinter | void,\n ) => (\n opts: OptionsAndDescriptors,\n index?: number | null,\n env?: string | null,\n ) => void;\n}): (\n configEntry: ArgT,\n context: ConfigContext,\n files?: Set<ConfigFile>,\n baseLogger?: ConfigPrinter,\n) => Handler<ConfigChain | null> {\n return function* chainWalker(input, context, files = new Set(), baseLogger) {\n const { dirname } = input;\n\n const flattenedConfigs: {\n config: OptionsAndDescriptors;\n index: number | undefined | null;\n envName: string | undefined | null;\n }[] = [];\n\n const rootOpts = root(input);\n if (configIsApplicable(rootOpts, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: rootOpts,\n envName: undefined,\n index: undefined,\n });\n\n const envOpts = env(input, context.envName);\n if (\n envOpts &&\n configIsApplicable(envOpts, dirname, context, input.filepath)\n ) {\n flattenedConfigs.push({\n config: envOpts,\n envName: context.envName,\n index: undefined,\n });\n }\n\n (rootOpts.options.overrides || []).forEach((_, index) => {\n const overrideOps = overrides(input, index);\n if (configIsApplicable(overrideOps, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: overrideOps,\n index,\n envName: undefined,\n });\n\n const overrideEnvOpts = overridesEnv(input, index, context.envName);\n if (\n overrideEnvOpts &&\n configIsApplicable(\n overrideEnvOpts,\n dirname,\n context,\n input.filepath,\n )\n ) {\n flattenedConfigs.push({\n config: overrideEnvOpts,\n index,\n envName: context.envName,\n });\n }\n }\n });\n }\n\n // Process 'ignore' and 'only' before 'extends' items are processed so\n // that we don't do extra work loading extended configs if a file is\n // ignored.\n if (\n flattenedConfigs.some(\n ({\n config: {\n options: { ignore, only },\n },\n }) => shouldIgnore(context, ignore, only, dirname),\n )\n ) {\n return null;\n }\n\n const chain = emptyChain();\n const logger = createLogger(input, context, baseLogger);\n\n for (const { config, index, envName } of flattenedConfigs) {\n if (\n !(yield* mergeExtendsChain(\n chain,\n config.options,\n dirname,\n context,\n files,\n baseLogger,\n ))\n ) {\n return null;\n }\n\n logger(config, index, envName);\n yield* mergeChainOpts(chain, config);\n }\n return chain;\n };\n}\n\nfunction* mergeExtendsChain(\n chain: ConfigChain,\n opts: InputOptions,\n dirname: string,\n context: ConfigContext,\n files: Set<ConfigFile>,\n baseLogger?: ConfigPrinter,\n): Handler<boolean> {\n if (opts.extends === undefined) return true;\n\n const file = yield* loadConfig(\n opts.extends,\n dirname,\n context.envName,\n context.caller,\n );\n\n if (files.has(file)) {\n throw new Error(\n `Configuration cycle detected loading ${file.filepath}.\\n` +\n `File already loaded following the config chain:\\n` +\n Array.from(files, file => ` - ${file.filepath}`).join(\"\\n\"),\n );\n }\n\n files.add(file);\n const fileChain = yield* loadFileChain(\n validateExtendFile(file),\n context,\n files,\n baseLogger,\n );\n files.delete(file);\n\n if (!fileChain) return false;\n\n mergeChain(chain, fileChain);\n\n return true;\n}\n\nfunction mergeChain(target: ConfigChain, source: ConfigChain): ConfigChain {\n target.options.push(...source.options);\n target.plugins.push(...source.plugins);\n target.presets.push(...source.presets);\n for (const file of source.files) {\n target.files.add(file);\n }\n\n return target;\n}\n\nfunction* mergeChainOpts(\n target: ConfigChain,\n { options, plugins, presets }: OptionsAndDescriptors,\n): Handler<ConfigChain> {\n target.options.push(options);\n target.plugins.push(...(yield* plugins()));\n target.presets.push(...(yield* presets()));\n\n return target;\n}\n\nfunction emptyChain(): ConfigChain {\n return {\n options: [],\n presets: [],\n plugins: [],\n files: new Set(),\n };\n}\n\nfunction createConfigChainOptions(opts: InputOptions): ConfigChainOptions {\n const options = {\n ...opts,\n };\n delete options.extends;\n delete options.env;\n delete options.overrides;\n delete options.plugins;\n delete options.presets;\n delete options.passPerPreset;\n delete options.ignore;\n delete options.only;\n delete options.test;\n delete options.include;\n delete options.exclude;\n\n // \"sourceMap\" is just aliased to sourceMap, so copy it over as\n // we merge the options together.\n if (Object.hasOwn(options, \"sourceMap\")) {\n options.sourceMaps = options.sourceMap;\n delete options.sourceMap;\n }\n return options;\n}\n\nfunction dedupDescriptors<API>(\n items: UnloadedDescriptor<API>[],\n): UnloadedDescriptor<API>[] {\n const map = new Map<\n Function,\n Map<string | void, { value: UnloadedDescriptor<API> }>\n >();\n\n const descriptors = [];\n\n for (const item of items) {\n if (typeof item.value === \"function\") {\n const fnKey = item.value;\n let nameMap = map.get(fnKey);\n if (!nameMap) {\n nameMap = new Map();\n map.set(fnKey, nameMap);\n }\n let desc = nameMap.get(item.name);\n if (!desc) {\n desc = { value: item };\n descriptors.push(desc);\n\n // Treat passPerPreset presets as unique, skipping them\n // in the merge processing steps.\n if (!item.ownPass) nameMap.set(item.name, desc);\n } else {\n desc.value = item;\n }\n } else {\n descriptors.push({ value: item });\n }\n }\n\n return descriptors.reduce((acc, desc) => {\n acc.push(desc.value);\n return acc;\n }, []);\n}\n\nfunction configIsApplicable(\n { options }: OptionsAndDescriptors,\n dirname: string,\n context: ConfigContext,\n configName: string,\n): boolean {\n return (\n (options.test === undefined ||\n configFieldIsApplicable(context, options.test, dirname, configName)) &&\n (options.include === undefined ||\n configFieldIsApplicable(context, options.include, dirname, configName)) &&\n (options.exclude === undefined ||\n !configFieldIsApplicable(context, options.exclude, dirname, configName))\n );\n}\n\nfunction configFieldIsApplicable(\n context: ConfigContext,\n test: ConfigApplicableTest,\n dirname: string,\n configName: string,\n): boolean {\n const patterns = Array.isArray(test) ? test : [test];\n\n return matchesPatterns(context, patterns, dirname, configName);\n}\n\n/**\n * Print the ignoreList-values in a more helpful way than the default.\n */\nfunction ignoreListReplacer(\n _key: string,\n value: MatchItem[] | MatchItem,\n): MatchItem[] | MatchItem | string {\n if (value instanceof RegExp) {\n return String(value);\n }\n\n return value;\n}\n\n/**\n * Tests if a filename should be ignored based on \"ignore\" and \"only\" options.\n */\nfunction shouldIgnore(\n context: ConfigContext,\n ignore: MatchItem[] | undefined | null,\n only: MatchItem[] | undefined | null,\n dirname: string,\n): boolean {\n if (ignore && matchesPatterns(context, ignore, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it matches one of \\`ignore: ${JSON.stringify(\n ignore,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n if (only && !matchesPatterns(context, only, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it fails to match one of \\`only: ${JSON.stringify(\n only,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n return false;\n}\n\n/**\n * Returns result of calling function with filename if pattern is a function.\n * Otherwise returns result of matching pattern Regex with filename.\n */\nfunction matchesPatterns(\n context: ConfigContext,\n patterns: MatchItem[],\n dirname: string,\n configName?: string,\n): boolean {\n return patterns.some(pattern =>\n matchPattern(pattern, dirname, context.filename, context, configName),\n );\n}\n\nfunction matchPattern(\n pattern: MatchItem,\n dirname: string,\n pathToTest: string | undefined,\n context: ConfigContext,\n configName?: string,\n): boolean {\n if (typeof pattern === \"function\") {\n return !!endHiddenCallStack(pattern)(pathToTest, {\n dirname,\n envName: context.envName,\n caller: context.caller,\n });\n }\n\n if (typeof pathToTest !== \"string\") {\n throw new ConfigError(\n `Configuration contains string/RegExp pattern, but no filename was passed to Babel`,\n configName,\n );\n }\n\n if (typeof pattern === \"string\") {\n pattern = pathPatternToRegex(pattern, dir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L,OAAO,CAAC;IACd,IAAIjL,OAAO,CAAC8E,UAAU,EAAE;MACtBC,OAAO,CAACC,GAAG,CAACiG,OAAO,CAAC;IACtB;IACA,OAAO,IAAI;EACb;EAEA,OAAO,KAAK;AACd;AAMA,SAASN,eAAeA,CACtB3K,OAAsB,EACtB0K,QAAqB,EACrBhI,OAAe,EACf8H,UAAmB,EACV;EACT,OAAOE,QAAQ,CAAC3E,IAAI,CAACsF,OAAO,IAC1BnF,YAAY,CAACmF,OAAO,EAAE3I,OAAO,EAAE1C,OAAO,CAACkE,QAAQ,EAAElE,OAAO,EAAEwK,UAAU,CACtE,CAAC;AACH;AAEA,SAAStE,YAAYA,CACnBmF,OAAkB,EAClB3I,OAAe,EACf4I,UAA8B,EAC9BtL,OAAsB,EACtBwK,UAAmB,EACV;EACT,IAAI,OAAOa,OAAO,KAAK,UAAU,EAAE;IACjC,OAAO,CAAC,CAAC,IAAAE,qCAAkB,EAACF,OAAO,CAAC,CAACC,UAAU,EAAE;MAC/C5I,OAAO;MACPxB,OAAO,EAAElB,OAAO,CAACkB,OAAO;MACxB+B,MAAM,EAAEjD,OAAO,CAACiD;IAClB,CAAC,CAAC;EACJ;EAEA,IAAI,OAAOqI,UAAU,KAAK,QAAQ,EAAE;IAClC,MAAM,IAAIE,oBAAW,CACnB,mFAAmF,EACnFhB,UACF,CAAC;EACH;EAEA,IAAI,OAAOa,OAAO,KAAK,QAAQ,EAAE;IAC/BA,OAAO,GAAG,IAAArF,uBAAkB,EAACqF,OAAO,EAAE3I,OAAO,CAAC;EAChD;EACA,OAAO2I,OAAO,CAAChC,IAAI,CAACiC,UAAU,CAAC;AACjC;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_gensync","data","require","_functional","_index","_item","_caching","_resolveTargets","isEqualDescriptor","a","b","_a$file","_b$file","_a$file2","_b$file2","name","value","options","dirname","alias","ownPass","file","request","resolved","handlerOf","optionsWithResolvedBrowserslistConfigFile","browserslistConfigFile","resolveBrowserslistConfigFile","createCachedDescriptors","plugins","presets","passPerPreset","createCachedPluginDescriptors","createCachedPresetDescriptors","createUncachedDescriptors","once","createPluginDescriptors","createPresetDescriptors","PRESET_DESCRIPTOR_CACHE","WeakMap","makeWeakCacheSync","items","cache","using","dir","makeStrongCacheSync","makeStrongCache","descriptors","map","desc","loadCachedDescriptor","PLUGIN_DESCRIPTOR_CACHE","DEFAULT_OPTIONS","cacheByOptions","get","set","possibilities","includes","matches","filter","possibility","length","push","createDescriptors","type","gensync","all","item","index","createDescriptor","assertNoDuplicates","pair","getItemDescriptor","Array","isArray","undefined","filepath","Error","resolver","loadPlugin","loadPreset","String","__esModule","default","Map","nameMap","Set","has","conflicts","i","JSON","stringify","join","add"],"sources":["../../src/config/config-descriptors.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\nimport { once } from \"../gensync-utils/functional.ts\";\n\nimport { loadPlugin, loadPreset } from \"./files/index.ts\";\n\nimport { getItemDescriptor } from \"./item.ts\";\n\nimport {\n makeWeakCacheSync,\n makeStrongCacheSync,\n makeStrongCache,\n} from \"./caching.ts\";\nimport type { CacheConfigurator } from \"./caching.ts\";\n\nimport type {\n PluginItem,\n InputOptions,\n PresetItem,\n} from \"./validation/options.ts\";\n\nimport { resolveBrowserslistConfigFile } from \"./resolve-targets.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\n// Represents a config object and functions to lazily load the descriptors\n// for the plugins and presets so we don't load the plugins/presets unless\n// the options object actually ends up being applicable.\nexport type OptionsAndDescriptors = {\n options: InputOptions;\n plugins: () => Handler<Array<UnloadedDescriptor<PluginAPI>>>;\n presets: () => Handler<Array<UnloadedDescriptor<PresetAPI>>>;\n};\n\n// Represents a plugin or presets at a given location in a config object.\n// At this point these have been resolved to a specific object or function,\n// but have not yet been executed to call functions with options.\nexport interface UnloadedDescriptor<API, Options = object | undefined> {\n name: string | undefined;\n value: object | ((api: API, options: Options, dirname: string) => unknown);\n options: Options;\n dirname: string;\n alias: string;\n ownPass?: boolean;\n file?: {\n request: string;\n resolved: string;\n };\n}\n\nfunction isEqualDescriptor<API>(\n a: UnloadedDescriptor<API>,\n b: UnloadedDescriptor<API>,\n): boolean {\n return (\n a.name === b.name &&\n a.value === b.value &&\n a.options === b.options &&\n a.dirname === b.dirname &&\n a.alias === b.alias &&\n a.ownPass === b.ownPass &&\n a.file?.request === b.file?.request &&\n a.file?.resolved === b.file?.resolved\n );\n}\n\nexport type ValidatedFile = {\n filepath: string;\n dirname: string;\n options: InputOptions;\n};\n\n// eslint-disable-next-line require-yield\nfunction* handlerOf<T>(value: T): Handler<T> {\n return value;\n}\n\nfunction optionsWithResolvedBrowserslistConfigFile(\n options: InputOptions,\n dirname: string,\n): InputOptions {\n if (typeof options.browserslistConfigFile === \"string\") {\n options.browserslistConfigFile = resolveBrowserslistConfigFile(\n options.browserslistConfigFile,\n dirname,\n );\n }\n return options;\n}\n\n/**\n * Create a set of descriptors from a given options object, preserving\n * descriptor identity based on the identity of the plugin/preset arrays\n * themselves, and potentially on the identity of the plugins/presets + options.\n */\nexport function createCachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n const { plugins, presets, passPerPreset } = options;\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n plugins: plugins\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPluginDescriptors(plugins, dirname)(alias)\n : () => handlerOf([]),\n presets: presets\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPresetDescriptors(presets, dirname)(alias)(\n !!passPerPreset,\n )\n : () => handlerOf([]),\n };\n}\n\n/**\n * Create a set of descriptors from a given options object, with consistent\n * identity for the descriptors, but not caching based on any specific identity.\n */\nexport function createUncachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n // The returned result here is cached to represent a config object in\n // memory, so we build and memoize the descriptors to ensure the same\n // values are returned consistently.\n plugins: once(() =>\n createPluginDescriptors(options.plugins || [], dirname, alias),\n ),\n presets: once(() =>\n createPresetDescriptors(\n options.presets || [],\n dirname,\n alias,\n !!options.passPerPreset,\n ),\n ),\n };\n}\n\nconst PRESET_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPresetDescriptors = makeWeakCacheSync(\n (items: PresetItem[], cache: CacheConfigurator<string>) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCacheSync((alias: string) =>\n makeStrongCache(function* (\n passPerPreset: boolean,\n ): Handler<Array<UnloadedDescriptor<PresetAPI>>> {\n const descriptors = yield* createPresetDescriptors(\n items,\n dirname,\n alias,\n passPerPreset,\n );\n return descriptors.map(\n // Items are cached using the overall preset array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc),\n );\n }),\n );\n },\n);\n\nconst PLUGIN_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPluginDescriptors = makeWeakCacheSync(\n (items: PluginItem[], cache: CacheConfigurator<string>) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCache(function* (\n alias: string,\n ): Handler<Array<UnloadedDescriptor<PluginAPI>>> {\n const descriptors = yield* createPluginDescriptors(items, dirname, alias);\n return descriptors.map(\n // Items are cached using the overall plugin array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc),\n );\n });\n },\n);\n\n/**\n * When no options object is given in a descriptor, this object is used\n * as a WeakMap key in order to have consistent identity.\n */\nconst DEFAULT_OPTIONS = {};\n\n/**\n * Given the cache and a descriptor, returns a matching descriptor from the\n * cache, or else returns the input descriptor and adds it to the cache for\n * next time.\n */\nfunction loadCachedDescriptor<API>(\n cache: WeakMap<\n object | Function,\n WeakMap<object, Array<UnloadedDescriptor<API>>>\n >,\n desc: UnloadedDescriptor<API>,\n) {\n const { value, options = DEFAULT_OPTIONS } = desc;\n if (options === false) return desc;\n\n let cacheByOptions = cache.get(value);\n if (!cacheByOptions) {\n cacheByOptions = new WeakMap();\n cache.set(value, cacheByOptions);\n }\n\n let possibilities = cacheByOptions.get(options);\n if (!possibilities) {\n possibilities = [];\n cacheByOptions.set(options, possibilities);\n }\n\n if (!possibilities.includes(desc)) {\n const matches = possibilities.filter(possibility =>\n isEqualDescriptor(possibility, desc),\n );\n if (matches.length > 0) {\n return matches[0];\n }\n\n possibilities.push(desc);\n }\n\n return desc;\n}\n\nfunction* createPresetDescriptors(\n items: PresetItem[],\n dirname: string,\n alias: string,\n passPerPreset: boolean,\n): Handler<Array<UnloadedDescriptor<PresetAPI>>> {\n return yield* createDescriptors(\n \"preset\",\n items,\n dirname,\n alias,\n passPerPreset,\n );\n}\n\nfunction* createPluginDescriptors(\n items: PluginItem[],\n dirname: string,\n alias: string,\n): Handler<Array<UnloadedDescriptor<PluginAPI>>> {\n return yield* createDescriptors(\"plugin\", items, dirname, alias);\n}\n\nfunction* createDescriptors<const Type extends \"plugin\" | \"preset\">(\n type: Type,\n items: Type extends \"plugin\" ? PluginItem[] : PresetItem[],\n dirname: string,\n alias: string,\n ownPass?: boolean,\n): Handler<\n Array<UnloadedDescriptor<Type extends \"plugin\" ? PluginAPI : PresetAPI>>\n> {\n const descriptors = yield* gensync.all(\n items.map((item, index) =>\n createDescriptor(item, dirname, {\n type,\n alias: `${alias}$${index}`,\n ownPass: !!ownPass,\n }),\n ),\n );\n\n assertNoDuplicates(descriptors);\n\n return descriptors;\n}\n\n/**\n * Given a plugin/preset item, resolve it into a standard format.\n */\nexport function* createDescriptor<API>(\n pair: PluginItem | PresetItem,\n dirname: string,\n {\n type,\n alias,\n ownPass,\n }: {\n type?: \"plugin\" | \"preset\";\n alias: string;\n ownPass?: boolean;\n },\n): Handler<UnloadedDescriptor<API>> {\n const desc = getItemDescriptor(pair);\n if (desc) {\n return desc;\n }\n\n let name;\n let options;\n let value = pair;\n if (Array.isArray(value)) {\n if (value.length === 3) {\n [value, options, name] = value;\n } else {\n [value, options] = value;\n }\n }\n\n let file = undefined;\n let filepath = null;\n if (typeof value === \"string\") {\n if (typeof type !== \"string\") {\n throw new Error(\n \"To resolve a string-based item, the type of item must be given\",\n );\n }\n const resolver = type === \"plugin\" ? loadPlugin : loadPreset;\n const request = value;\n\n // @ts-expect-error value must be a PluginItem\n ({ filepath, value } = yield* resolver(value, dirname));\n\n file = {\n request,\n resolved: filepath,\n };\n }\n\n if (!value) {\n throw new Error(`Unexpected falsy value: ${String(value)}`);\n }\n\n // @ts-expect-error Handle transpiled ES6 modules.\n if (typeof value === \"object\" && value.__esModule) {\n // @ts-expect-error Handle transpiled ES6 modules.\n if (value.default) {\n // @ts-expect-error Handle transpiled ES6 modules.\n value = value.default;\n } else {\n throw new Error(\"Must export a default export when using ES6 modules.\");\n }\n }\n\n if (typeof value !== \"object\" && typeof value !== \"function\") {\n throw new Error(\n `Unsupported format: ${typeof value}. Expected an object or a function.`,\n );\n }\n\n if (filepath !== null && typeof value === \"object\" && value) {\n // We allow object values for plugins/presets nested directly within a\n // config object, because it can be useful to define them in nested\n // configuration contexts.\n throw new Error(\n `Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`,\n );\n }\n\n return {\n name,\n alias: filepath || alias,\n value,\n options,\n dirname,\n ownPass,\n file,\n };\n}\n\nfunction assertNoDuplicates<API>(items: Array<UnloadedDescriptor<API>>): void {\n const map = new Map();\n\n for (const item of items) {\n if (typeof item.value !== \"function\") continue;\n\n let nameMap = map.get(item.value);\n if (!nameMap) {\n nameMap = new Set();\n map.set(item.value, nameMap);\n }\n\n if (nameMap.has(item.name)) {\n const conflicts = items.filter(i => i.value === item.value);\n throw new Error(\n [\n `Duplicate plugin/preset detected.`,\n `If you'd like to use two separate instances of a plugin,`,\n `they need separate names, e.g.`,\n ``,\n ` plugins: [`,\n ` ['some-plugin', {}],`,\n ` ['some-plugin', {}, 'some unique name'],`,\n ` ]`,\n ``,\n `Duplicates detected are:`,\n `${JSON.stringify(conflicts, null, 2)}`,\n ].join(\"\\n\"),\n );\n }\n\n nameMap.add(item.name);\n }\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAE,WAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAH,OAAA;AAEA,IAAAI,QAAA,GAAAJ,OAAA;AAaA,IAAAK,eAAA,GAAAL,OAAA;AA4BA,SAASM,iBAAiBA,CACxBC,CAA0B,EAC1BC,CAA0B,EACjB;EAAA,IAAAC,OAAA,EAAAC,OAAA,EAAAC,QAAA,EAAAC,QAAA;EACT,OACEL,CAAC,CAACM,IAAI,KAAKL,CAAC,CAACK,IAAI,IACjBN,CAAC,CAACO,KAAK,KAAKN,CAAC,CAACM,KAAK,IACnBP,CAAC,CAACQ,OAAO,KAAKP,CAAC,CAACO,OAAO,IACvBR,CAAC,CAACS,OAAO,KAAKR,CAAC,CAACQ,OAAO,IACvBT,CAAC,CAACU,KAAK,KAAKT,CAAC,CAACS,KAAK,IACnBV,CAAC,CAACW,OAAO,KAAKV,CAAC,CAACU,OAAO,IACvB,EAAAT,OAAA,GAAAF,CAAC,CAACY,IAAI,qBAANV,OAAA,CAAQW,OAAO,QAAAV,OAAA,GAAKF,CAAC,CAACW,IAAI,qBAANT,OAAA,CAAQU,OAAO,KACnC,EAAAT,QAAA,GAAAJ,CAAC,CAACY,IAAI,qBAANR,QAAA,CAAQU,QAAQ,QAAAT,QAAA,GAAKJ,CAAC,CAACW,IAAI,qBAANP,QAAA,CAAQS,QAAQ;AAEzC;AASA,UAAU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KAAK,CAAC;IACjC,IAAI,CAACqE,OAAO,EAAE;MACZA,OAAO,GAAG,IAAIC,GAAG,CAAC,CAAC;MACnBtC,GAAG,CAACO,GAAG,CAACY,IAAI,CAACnD,KAAK,EAAEqE,OAAO,CAAC;IAC9B;IAEA,IAAIA,OAAO,CAACE,GAAG,CAACpB,IAAI,CAACpD,IAAI,CAAC,EAAE;MAC1B,MAAMyE,SAAS,GAAG/C,KAAK,CAACkB,MAAM,CAAC8B,CAAC,IAAIA,CAAC,CAACzE,KAAK,KAAKmD,IAAI,CAACnD,KAAK,CAAC;MAC3D,MAAM,IAAI6D,KAAK,CACb,CACE,mCAAmC,EACnC,0DAA0D,EAC1D,gCAAgC,EAChC,EAAE,EACF,cAAc,EACd,0BAA0B,EAC1B,8CAA8C,EAC9C,KAAK,EACL,EAAE,EACF,0BAA0B,EAC1B,GAAGa,IAAI,CAACC,SAAS,CAACH,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CACxC,CAACI,IAAI,CAAC,IAAI,CACb,CAAC;IACH;IAEAP,OAAO,CAACQ,GAAG,CAAC1B,IAAI,CAACpD,IAAI,CAAC;EACxB;AACF;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_gensync","data","require","_functional","_index","_item","_caching","_resolveTargets","isEqualDescriptor","a","b","_a$file","_b$file","_a$file2","_b$file2","name","value","options","dirname","alias","ownPass","file","request","resolved","handlerOf","optionsWithResolvedBrowserslistConfigFile","browserslistConfigFile","resolveBrowserslistConfigFile","createCachedDescriptors","plugins","presets","passPerPreset","createCachedPluginDescriptors","createCachedPresetDescriptors","createUncachedDescriptors","once","createPluginDescriptors","createPresetDescriptors","PRESET_DESCRIPTOR_CACHE","WeakMap","makeWeakCacheSync","items","cache","using","dir","makeStrongCacheSync","makeStrongCache","descriptors","map","desc","loadCachedDescriptor","PLUGIN_DESCRIPTOR_CACHE","DEFAULT_OPTIONS","cacheByOptions","get","set","possibilities","includes","matches","filter","possibility","length","push","createDescriptors","type","gensync","all","item","index","createDescriptor","assertNoDuplicates","pair","getItemDescriptor","Array","isArray","undefined","filepath","Error","resolver","loadPlugin","loadPreset","String","__esModule","default","Map","nameMap","Set","has","conflicts","i","JSON","stringify","join","add"],"sources":["../../src/config/config-descriptors.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\nimport { once } from \"../gensync-utils/functional.ts\";\n\nimport { loadPlugin, loadPreset } from \"./files/index.ts\";\n\nimport { getItemDescriptor } from \"./item.ts\";\n\nimport {\n makeWeakCacheSync,\n makeStrongCacheSync,\n makeStrongCache,\n} from \"./caching.ts\";\nimport type { CacheConfigurator } from \"./caching.ts\";\n\nimport type {\n PluginItem,\n InputOptions,\n PresetItem,\n} from \"./validation/options.ts\";\n\nimport { resolveBrowserslistConfigFile } from \"./resolve-targets.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\n// Represents a config object and functions to lazily load the descriptors\n// for the plugins and presets so we don't load the plugins/presets unless\n// the options object actually ends up being applicable.\nexport type OptionsAndDescriptors = {\n options: InputOptions;\n plugins: () => Handler<UnloadedDescriptor<PluginAPI>[]>;\n presets: () => Handler<UnloadedDescriptor<PresetAPI>[]>;\n};\n\n// Represents a plugin or presets at a given location in a config object.\n// At this point these have been resolved to a specific object or function,\n// but have not yet been executed to call functions with options.\nexport interface UnloadedDescriptor<API, Options = object | undefined> {\n name: string | undefined;\n value: object | ((api: API, options: Options, dirname: string) => unknown);\n options: Options;\n dirname: string;\n alias: string;\n ownPass?: boolean;\n file?: {\n request: string;\n resolved: string;\n };\n}\n\nfunction isEqualDescriptor<API>(\n a: UnloadedDescriptor<API>,\n b: UnloadedDescriptor<API>,\n): boolean {\n return (\n a.name === b.name &&\n a.value === b.value &&\n a.options === b.options &&\n a.dirname === b.dirname &&\n a.alias === b.alias &&\n a.ownPass === b.ownPass &&\n a.file?.request === b.file?.request &&\n a.file?.resolved === b.file?.resolved\n );\n}\n\nexport type ValidatedFile = {\n filepath: string;\n dirname: string;\n options: InputOptions;\n};\n\n// eslint-disable-next-line require-yield\nfunction* handlerOf<T>(value: T): Handler<T> {\n return value;\n}\n\nfunction optionsWithResolvedBrowserslistConfigFile(\n options: InputOptions,\n dirname: string,\n): InputOptions {\n if (typeof options.browserslistConfigFile === \"string\") {\n options.browserslistConfigFile = resolveBrowserslistConfigFile(\n options.browserslistConfigFile,\n dirname,\n );\n }\n return options;\n}\n\n/**\n * Create a set of descriptors from a given options object, preserving\n * descriptor identity based on the identity of the plugin/preset arrays\n * themselves, and potentially on the identity of the plugins/presets + options.\n */\nexport function createCachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n const { plugins, presets, passPerPreset } = options;\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n plugins: plugins\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPluginDescriptors(plugins, dirname)(alias)\n : () => handlerOf([]),\n presets: presets\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPresetDescriptors(presets, dirname)(alias)(\n !!passPerPreset,\n )\n : () => handlerOf([]),\n };\n}\n\n/**\n * Create a set of descriptors from a given options object, with consistent\n * identity for the descriptors, but not caching based on any specific identity.\n */\nexport function createUncachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n // The returned result here is cached to represent a config object in\n // memory, so we build and memoize the descriptors to ensure the same\n // values are returned consistently.\n plugins: once(() =>\n createPluginDescriptors(options.plugins || [], dirname, alias),\n ),\n presets: once(() =>\n createPresetDescriptors(\n options.presets || [],\n dirname,\n alias,\n !!options.passPerPreset,\n ),\n ),\n };\n}\n\nconst PRESET_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPresetDescriptors = makeWeakCacheSync(\n (items: PresetItem[], cache: CacheConfigurator<string>) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCacheSync((alias: string) =>\n makeStrongCache(function* (\n passPerPreset: boolean,\n ): Handler<UnloadedDescriptor<PresetAPI>[]> {\n const descriptors = yield* createPresetDescriptors(\n items,\n dirname,\n alias,\n passPerPreset,\n );\n return descriptors.map(\n // Items are cached using the overall preset array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc),\n );\n }),\n );\n },\n);\n\nconst PLUGIN_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPluginDescriptors = makeWeakCacheSync(\n (items: PluginItem[], cache: CacheConfigurator<string>) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCache(function* (\n alias: string,\n ): Handler<UnloadedDescriptor<PluginAPI>[]> {\n const descriptors = yield* createPluginDescriptors(items, dirname, alias);\n return descriptors.map(\n // Items are cached using the overall plugin array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc),\n );\n });\n },\n);\n\n/**\n * When no options object is given in a descriptor, this object is used\n * as a WeakMap key in order to have consistent identity.\n */\nconst DEFAULT_OPTIONS = {};\n\n/**\n * Given the cache and a descriptor, returns a matching descriptor from the\n * cache, or else returns the input descriptor and adds it to the cache for\n * next time.\n */\nfunction loadCachedDescriptor<API>(\n cache: WeakMap<object | Function, WeakMap<object, UnloadedDescriptor<API>[]>>,\n desc: UnloadedDescriptor<API>,\n) {\n const { value, options = DEFAULT_OPTIONS } = desc;\n if (options === false) return desc;\n\n let cacheByOptions = cache.get(value);\n if (!cacheByOptions) {\n cacheByOptions = new WeakMap();\n cache.set(value, cacheByOptions);\n }\n\n let possibilities = cacheByOptions.get(options);\n if (!possibilities) {\n possibilities = [];\n cacheByOptions.set(options, possibilities);\n }\n\n if (!possibilities.includes(desc)) {\n const matches = possibilities.filter(possibility =>\n isEqualDescriptor(possibility, desc),\n );\n if (matches.length > 0) {\n return matches[0];\n }\n\n possibilities.push(desc);\n }\n\n return desc;\n}\n\nfunction* createPresetDescriptors(\n items: PresetItem[],\n dirname: string,\n alias: string,\n passPerPreset: boolean,\n): Handler<UnloadedDescriptor<PresetAPI>[]> {\n return yield* createDescriptors(\n \"preset\",\n items,\n dirname,\n alias,\n passPerPreset,\n );\n}\n\nfunction* createPluginDescriptors(\n items: PluginItem[],\n dirname: string,\n alias: string,\n): Handler<UnloadedDescriptor<PluginAPI>[]> {\n return yield* createDescriptors(\"plugin\", items, dirname, alias);\n}\n\nfunction* createDescriptors<const Type extends \"plugin\" | \"preset\">(\n type: Type,\n items: Type extends \"plugin\" ? PluginItem[] : PresetItem[],\n dirname: string,\n alias: string,\n ownPass?: boolean,\n): Handler<\n UnloadedDescriptor<Type extends \"plugin\" ? PluginAPI : PresetAPI>[]\n> {\n const descriptors = yield* gensync.all(\n items.map((item, index) =>\n createDescriptor(item, dirname, {\n type,\n alias: `${alias}$${index}`,\n ownPass: !!ownPass,\n }),\n ),\n );\n\n assertNoDuplicates(descriptors);\n\n return descriptors;\n}\n\n/**\n * Given a plugin/preset item, resolve it into a standard format.\n */\nexport function* createDescriptor<API>(\n pair: PluginItem | PresetItem,\n dirname: string,\n {\n type,\n alias,\n ownPass,\n }: {\n type?: \"plugin\" | \"preset\";\n alias: string;\n ownPass?: boolean;\n },\n): Handler<UnloadedDescriptor<API>> {\n const desc = getItemDescriptor(pair);\n if (desc) {\n return desc;\n }\n\n let name;\n let options;\n let value = pair;\n if (Array.isArray(value)) {\n if (value.length === 3) {\n [value, options, name] = value;\n } else {\n [value, options] = value;\n }\n }\n\n let file = undefined;\n let filepath = null;\n if (typeof value === \"string\") {\n if (typeof type !== \"string\") {\n throw new Error(\n \"To resolve a string-based item, the type of item must be given\",\n );\n }\n const resolver = type === \"plugin\" ? loadPlugin : loadPreset;\n const request = value;\n\n // @ts-expect-error value must be a PluginItem\n ({ filepath, value } = yield* resolver(value, dirname));\n\n file = {\n request,\n resolved: filepath,\n };\n }\n\n if (!value) {\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n throw new Error(`Unexpected falsy value: ${String(value)}`);\n }\n\n // @ts-expect-error Handle transpiled ES6 modules.\n if (typeof value === \"object\" && value.__esModule) {\n // @ts-expect-error Handle transpiled ES6 modules.\n if (value.default) {\n // @ts-expect-error Handle transpiled ES6 modules.\n value = value.default;\n } else {\n throw new Error(\"Must export a default export when using ES6 modules.\");\n }\n }\n\n if (typeof value !== \"object\" && typeof value !== \"function\") {\n throw new Error(\n `Unsupported format: ${typeof value}. Expected an object or a function.`,\n );\n }\n\n if (filepath !== null && typeof value === \"object\" && value) {\n // We allow object values for plugins/presets nested directly within a\n // config object, because it can be useful to define them in nested\n // configuration contexts.\n throw new Error(\n `Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`,\n );\n }\n\n return {\n name,\n alias: filepath || alias,\n value,\n options,\n dirname,\n ownPass,\n file,\n };\n}\n\nfunction assertNoDuplicates<API>(items: UnloadedDescriptor<API>[]): void {\n const map = new Map();\n\n for (const item of items) {\n if (typeof item.value !== \"function\") continue;\n\n let nameMap = map.get(item.value);\n if (!nameMap) {\n nameMap = new Set();\n map.set(item.value, nameMap);\n }\n\n if (nameMap.has(item.name)) {\n const conflicts = items.filter(i => i.value === item.value);\n throw new Error(\n [\n `Duplicate plugin/preset detected.`,\n `If you'd like to use two separate instances of a plugin,`,\n `they need separate names, e.g.`,\n ``,\n ` plugins: [`,\n ` ['some-plugin', {}],`,\n ` ['some-plugin', {}, 'some unique name'],`,\n ` ]`,\n ``,\n `Duplicates detected are:`,\n `${JSON.stringify(conflicts, null, 2)}`,\n ].join(\"\\n\"),\n );\n }\n\n nameMap.add(item.name);\n }\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OA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AAIA,CAAC,CAACzE,KAAK,KAAKmD,IAAI,CAACnD,KAAK,CAAC;MAC3D,MAAM,IAAI6D,KAAK,CACb,CACE,mCAAmC,EACnC,0DAA0D,EAC1D,gCAAgC,EAChC,EAAE,EACF,cAAc,EACd,0BAA0B,EAC1B,8CAA8C,EAC9C,KAAK,EACL,EAAE,EACF,0BAA0B,EAC1B,GAAGa,IAAI,CAACC,SAAS,CAACH,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CACxC,CAACI,IAAI,CAAC,IAAI,CACb,CAAC;IACH;IAEAP,OAAO,CAACQ,GAAG,CAAC1B,IAAI,CAACpD,IAAI,CAAC;EACxB;AACF;AAAC","ignoreList":[]}
@@ -139,7 +139,7 @@ const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) =>
139
139
  const ignoreDir = _path().dirname(filepath);
140
140
  const ignorePatterns = content.split("\n").map(line => line.replace(/#.*$/, "").trim()).filter(Boolean);
141
141
  for (const pattern of ignorePatterns) {
142
- if (pattern[0] === "!") {
142
+ if (pattern.startsWith("!")) {
143
143
  throw new _configError.default(`Negation of file paths is not supported.`, filepath);
144
144
  }
145
145
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_debug","data","require","_fs","_path","_json","_gensync","_caching","_configApi","_utils","_moduleTypes","_patternToRegex","_configError","fs","_rewriteStackTrace","_async","debug","buildDebug","ROOT_CONFIG_FILENAMES","exports","RELATIVE_CONFIG_FILENAMES","BABELIGNORE_FILENAME","runConfig","makeWeakCache","options","cache","endHiddenCallStack","makeConfigAPI","cacheNeedsConfiguration","configured","readConfigCode","filepath","nodeFs","existsSync","loadCodeDefault","isAsync","Array","isArray","ConfigError","then","catch","throwConfigError","buildConfigFileObject","cfboaf","WeakMap","configFilesByFilepath","get","set","Map","configFile","dirname","path","packageToBabelConfig","makeWeakCacheSync","file","babel","undefined","readConfigJSON5","makeStaticFileCache","content","json5","parse","err","message","$schema","readIgnoreConfig","ignoreDir","ignorePatterns","split","map","line","replace","trim","filter","Boolean","pattern","ignore","pathPatternToRegex","findConfigUpwards","rootDir","filename","join","nextDir","findRelativeConfig","packageData","envName","caller","config","loc","directories","_packageData$pkg","loadOneConfig","pkg","ignoreLoc","findRootConfig","names","previousConfig","configs","gensync","all","readConfig","reduce","basename","loadConfig","name","v","w","process","versions","node","resolve","r","paths","b","M","f","_findPath","_nodeModulePaths","concat","Error","code","conf","ext","extname","resolveShowConfigPath","targetPath","env","BABEL_SHOW_CONFIG_FOR","absolutePath","stats","stat","isFile"],"sources":["../../../src/config/files/configuration.ts"],"sourcesContent":["import buildDebug from \"debug\";\nimport nodeFs from \"node:fs\";\nimport path from \"node:path\";\nimport json5 from \"json5\";\nimport gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport { makeWeakCache, makeWeakCacheSync } from \"../caching.ts\";\nimport type { CacheConfigurator } from \"../caching.ts\";\nimport { makeConfigAPI } from \"../helpers/config-api.ts\";\nimport type { ConfigAPI } from \"../helpers/config-api.ts\";\nimport { makeStaticFileCache } from \"./utils.ts\";\nimport loadCodeDefault from \"./module-types.ts\";\nimport pathPatternToRegex from \"../pattern-to-regex.ts\";\nimport type { FilePackageData, RelativeConfig, ConfigFile } from \"./types.ts\";\nimport type { CallerMetadata, InputOptions } from \"../validation/options.ts\";\nimport ConfigError from \"../../errors/config-error.ts\";\n\nimport * as fs from \"../../gensync-utils/fs.ts\";\n\nimport { createRequire } from \"node:module\";\nimport { endHiddenCallStack } from \"../../errors/rewrite-stack-trace.ts\";\nimport { isAsync } from \"../../gensync-utils/async.ts\";\nconst require = createRequire(import.meta.url);\n\nconst debug = buildDebug(\"babel:config:loading:files:configuration\");\n\nexport const ROOT_CONFIG_FILENAMES = [\n \"babel.config.js\",\n \"babel.config.cjs\",\n \"babel.config.mjs\",\n \"babel.config.json\",\n \"babel.config.cts\",\n \"babel.config.ts\",\n \"babel.config.mts\",\n];\nconst RELATIVE_CONFIG_FILENAMES = [\n \".babelrc\",\n \".babelrc.js\",\n \".babelrc.cjs\",\n \".babelrc.mjs\",\n \".babelrc.json\",\n \".babelrc.cts\",\n];\n\nconst BABELIGNORE_FILENAME = \".babelignore\";\n\ntype ConfigCacheData = {\n envName: string;\n caller: CallerMetadata | undefined;\n};\n\nconst runConfig = makeWeakCache(function* runConfig(\n options: Function,\n cache: CacheConfigurator<ConfigCacheData>,\n): Handler<{\n options: InputOptions | null;\n cacheNeedsConfiguration: boolean;\n}> {\n // if we want to make it possible to use async configs\n yield* [];\n\n return {\n options: endHiddenCallStack(options as any as (api: ConfigAPI) => unknown)(\n makeConfigAPI(cache),\n ),\n cacheNeedsConfiguration: !cache.configured(),\n };\n});\n\nfunction* readConfigCode(\n filepath: string,\n data: ConfigCacheData,\n): Handler<ConfigFile | null> {\n if (!nodeFs.existsSync(filepath)) return null;\n\n let options = yield* loadCodeDefault(\n filepath,\n (yield* isAsync()) ? \"auto\" : \"require\",\n \"You appear to be using a native ECMAScript module configuration \" +\n \"file, which is only supported when running Babel asynchronously \" +\n \"or when using the Node.js `--experimental-require-module` flag.\",\n \"You appear to be using a configuration file that contains top-level \" +\n \"await, which is only supported when running Babel asynchronously.\",\n );\n\n let cacheNeedsConfiguration = false;\n if (typeof options === \"function\") {\n ({ options, cacheNeedsConfiguration } = yield* runConfig(options, data));\n }\n\n if (!options || typeof options !== \"object\" || Array.isArray(options)) {\n throw new ConfigError(\n `Configuration should be an exported JavaScript object.`,\n filepath,\n );\n }\n\n // @ts-expect-error todo(flow->ts)\n if (typeof options.then === \"function\") {\n // @ts-expect-error We use ?. in case options is a thenable but not a promise\n options.catch?.(() => {});\n throw new ConfigError(\n `You appear to be using an async configuration, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously return your config.`,\n filepath,\n );\n }\n\n if (cacheNeedsConfiguration) throwConfigError(filepath);\n\n return buildConfigFileObject(options, filepath);\n}\n\n// We cache the generated ConfigFile object rather than creating a new one\n// every time, so that it can be used as a cache key in other functions.\nconst cfboaf /* configFilesByOptionsAndFilepath */ = new WeakMap<\n InputOptions,\n Map<string, ConfigFile>\n>();\nfunction buildConfigFileObject(\n options: InputOptions,\n filepath: string,\n): ConfigFile {\n let configFilesByFilepath = cfboaf.get(options);\n if (!configFilesByFilepath) {\n cfboaf.set(options, (configFilesByFilepath = new Map()));\n }\n\n let configFile = configFilesByFilepath.get(filepath);\n if (!configFile) {\n configFile = {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n configFilesByFilepath.set(filepath, configFile);\n }\n\n return configFile;\n}\n\nconst packageToBabelConfig = makeWeakCacheSync(\n (file: ConfigFile): ConfigFile | null => {\n const babel: unknown = file.options.babel;\n\n if (babel === undefined) return null;\n\n if (typeof babel !== \"object\" || Array.isArray(babel) || babel === null) {\n throw new ConfigError(`.babel property must be an object`, file.filepath);\n }\n\n return {\n filepath: file.filepath,\n dirname: file.dirname,\n options: babel,\n };\n },\n);\n\nconst readConfigJSON5 = makeStaticFileCache((filepath, content): ConfigFile => {\n let options;\n try {\n options = json5.parse(content);\n } catch (err) {\n throw new ConfigError(\n `Error while parsing config - ${err.message}`,\n filepath,\n );\n }\n\n if (!options) throw new ConfigError(`No config detected`, filepath);\n\n if (typeof options !== \"object\") {\n throw new ConfigError(`Config returned typeof ${typeof options}`, filepath);\n }\n if (Array.isArray(options)) {\n throw new ConfigError(`Expected config object but found array`, filepath);\n }\n\n delete options.$schema;\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n});\n\nconst readIgnoreConfig = makeStaticFileCache((filepath, content) => {\n const ignoreDir = path.dirname(filepath);\n const ignorePatterns = content\n .split(\"\\n\")\n .map(line =>\n line.replace(process.env.BABEL_8_BREAKING ? /^#.*$/ : /#.*$/, \"\").trim(),\n )\n .filter(Boolean);\n\n for (const pattern of ignorePatterns) {\n if (pattern[0] === \"!\") {\n throw new ConfigError(\n `Negation of file paths is not supported.`,\n filepath,\n );\n }\n }\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n ignore: ignorePatterns.map(pattern =>\n pathPatternToRegex(pattern, ignoreDir),\n ),\n };\n});\n\nexport function findConfigUpwards(rootDir: string): string | null {\n let dirname = rootDir;\n for (;;) {\n for (const filename of ROOT_CONFIG_FILENAMES) {\n if (nodeFs.existsSync(path.join(dirname, filename))) {\n return dirname;\n }\n }\n\n const nextDir = path.dirname(dirname);\n if (dirname === nextDir) break;\n dirname = nextDir;\n }\n\n return null;\n}\n\nexport function* findRelativeConfig(\n packageData: FilePackageData,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<RelativeConfig> {\n let config = null;\n let ignore = null;\n\n const dirname = path.dirname(packageData.filepath);\n\n for (const loc of packageData.directories) {\n if (!config) {\n config = yield* loadOneConfig(\n RELATIVE_CONFIG_FILENAMES,\n loc,\n envName,\n caller,\n packageData.pkg?.dirname === loc\n ? packageToBabelConfig(packageData.pkg)\n : null,\n );\n }\n\n if (!ignore) {\n const ignoreLoc = path.join(loc, BABELIGNORE_FILENAME);\n ignore = yield* readIgnoreConfig(ignoreLoc);\n\n if (ignore) {\n debug(\"Found ignore %o from %o.\", ignore.filepath, dirname);\n }\n }\n }\n\n return { config, ignore };\n}\n\nexport function findRootConfig(\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile | null> {\n return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller);\n}\n\nfunction* loadOneConfig(\n names: string[],\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n previousConfig: ConfigFile | null = null,\n): Handler<ConfigFile | null> {\n const configs = yield* gensync.all(\n names.map(filename =>\n readConfig(path.join(dirname, filename), envName, caller),\n ),\n );\n const config = configs.reduce((previousConfig: ConfigFile | null, config) => {\n if (config && previousConfig) {\n throw new ConfigError(\n `Multiple configuration files found. Please remove one:\\n` +\n ` - ${path.basename(previousConfig.filepath)}\\n` +\n ` - ${config.filepath}\\n` +\n `from ${dirname}`,\n );\n }\n\n return config || previousConfig;\n }, previousConfig);\n\n if (config) {\n debug(\"Found configuration %o from %o.\", config.filepath, dirname);\n }\n return config;\n}\n\nexport function* loadConfig(\n name: string,\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile> {\n const filepath = require.resolve(name, { paths: [dirname] });\n\n const conf = yield* readConfig(filepath, envName, caller);\n if (!conf) {\n throw new ConfigError(\n `Config file contains no configuration data`,\n filepath,\n );\n }\n\n debug(\"Loaded config %o from %o.\", name, dirname);\n return conf;\n}\n\n/**\n * Read the given config file, returning the result. Returns null if no config was found, but will\n * throw if there are parsing errors while loading a config.\n */\nfunction readConfig(\n filepath: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile | null> {\n const ext = path.extname(filepath);\n switch (ext) {\n case \".js\":\n case \".cjs\":\n case \".mjs\":\n case \".ts\":\n case \".cts\":\n case \".mts\":\n return readConfigCode(filepath, { envName, caller });\n default:\n return readConfigJSON5(filepath);\n }\n}\n\nexport function* resolveShowConfigPath(\n dirname: string,\n): Handler<string | null> {\n const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;\n if (targetPath != null) {\n const absolutePath = path.resolve(dirname, targetPath);\n const stats = yield* fs.stat(absolutePath);\n if (!stats.isFile()) {\n throw new Error(\n `${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`,\n );\n }\n return absolutePath;\n }\n return null;\n}\n\nfunction throwConfigError(filepath: string): never {\n throw new ConfigError(\n `\\\nCaching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === \"production\");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === \"production\");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,\n filepath,\n );\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,IAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,SAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,QAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAM,QAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AAEA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AAGA,IAAAU,YAAA,GAAAV,OAAA;AAEA,IAAAW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,UAAU,CAAC;IACtD,MAAMI,KAAK,GAAG,OAAOpH,EAAE,CAACqH,IAAI,CAACF,YAAY,CAAC;IAC1C,IAAI,CAACC,KAAK,CAACE,MAAM,CAAC,CAAC,EAAE;MACnB,MAAM,IAAIZ,KAAK,CACb,GAAGS,YAAY,sFACjB,CAAC;IACH;IACA,OAAOA,YAAY;EACrB;EACA,OAAO,IAAI;AACb;AAEA,SAASvF,gBAAgBA,CAACV,QAAgB,EAAS;EACjD,MAAM,IAAIO,oBAAW,CACnB;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,EACCP,QACF,CAAC;AACH;AAAC","ignoreList":[]}
1
+ {"version":3,"names":["_debug","data","require","_fs","_path","_json","_gensync","_caching","_configApi","_utils","_moduleTypes","_patternToRegex","_configError","fs","_rewriteStackTrace","_async","debug","buildDebug","ROOT_CONFIG_FILENAMES","exports","RELATIVE_CONFIG_FILENAMES","BABELIGNORE_FILENAME","runConfig","makeWeakCache","options","cache","endHiddenCallStack","makeConfigAPI","cacheNeedsConfiguration","configured","readConfigCode","filepath","nodeFs","existsSync","loadCodeDefault","isAsync","Array","isArray","ConfigError","then","catch","throwConfigError","buildConfigFileObject","cfboaf","WeakMap","configFilesByFilepath","get","set","Map","configFile","dirname","path","packageToBabelConfig","makeWeakCacheSync","file","babel","undefined","readConfigJSON5","makeStaticFileCache","content","json5","parse","err","message","$schema","readIgnoreConfig","ignoreDir","ignorePatterns","split","map","line","replace","trim","filter","Boolean","pattern","startsWith","ignore","pathPatternToRegex","findConfigUpwards","rootDir","filename","join","nextDir","findRelativeConfig","packageData","envName","caller","config","loc","directories","_packageData$pkg","loadOneConfig","pkg","ignoreLoc","findRootConfig","names","previousConfig","configs","gensync","all","readConfig","reduce","basename","loadConfig","name","v","w","process","versions","node","resolve","r","paths","b","M","f","_findPath","_nodeModulePaths","concat","Error","code","conf","ext","extname","resolveShowConfigPath","targetPath","env","BABEL_SHOW_CONFIG_FOR","absolutePath","stats","stat","isFile"],"sources":["../../../src/config/files/configuration.ts"],"sourcesContent":["import buildDebug from \"debug\";\nimport nodeFs from \"node:fs\";\nimport path from \"node:path\";\nimport json5 from \"json5\";\nimport gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport { makeWeakCache, makeWeakCacheSync } from \"../caching.ts\";\nimport type { CacheConfigurator } from \"../caching.ts\";\nimport { makeConfigAPI } from \"../helpers/config-api.ts\";\nimport type { ConfigAPI } from \"../helpers/config-api.ts\";\nimport { makeStaticFileCache } from \"./utils.ts\";\nimport loadCodeDefault from \"./module-types.ts\";\nimport pathPatternToRegex from \"../pattern-to-regex.ts\";\nimport type { FilePackageData, RelativeConfig, ConfigFile } from \"./types.ts\";\nimport type { CallerMetadata, InputOptions } from \"../validation/options.ts\";\nimport ConfigError from \"../../errors/config-error.ts\";\n\nimport * as fs from \"../../gensync-utils/fs.ts\";\n\nimport { createRequire } from \"node:module\";\nimport { endHiddenCallStack } from \"../../errors/rewrite-stack-trace.ts\";\nimport { isAsync } from \"../../gensync-utils/async.ts\";\nconst require = createRequire(import.meta.url);\n\nconst debug = buildDebug(\"babel:config:loading:files:configuration\");\n\nexport const ROOT_CONFIG_FILENAMES = [\n \"babel.config.js\",\n \"babel.config.cjs\",\n \"babel.config.mjs\",\n \"babel.config.json\",\n \"babel.config.cts\",\n \"babel.config.ts\",\n \"babel.config.mts\",\n];\nconst RELATIVE_CONFIG_FILENAMES = [\n \".babelrc\",\n \".babelrc.js\",\n \".babelrc.cjs\",\n \".babelrc.mjs\",\n \".babelrc.json\",\n \".babelrc.cts\",\n];\n\nconst BABELIGNORE_FILENAME = \".babelignore\";\n\ntype ConfigCacheData = {\n envName: string;\n caller: CallerMetadata | undefined;\n};\n\nconst runConfig = makeWeakCache(function* runConfig(\n options: Function,\n cache: CacheConfigurator<ConfigCacheData>,\n): Handler<{\n options: InputOptions | null;\n cacheNeedsConfiguration: boolean;\n}> {\n // if we want to make it possible to use async configs\n yield* [];\n\n return {\n options: endHiddenCallStack(options as any as (api: ConfigAPI) => unknown)(\n makeConfigAPI(cache),\n ),\n cacheNeedsConfiguration: !cache.configured(),\n };\n});\n\nfunction* readConfigCode(\n filepath: string,\n data: ConfigCacheData,\n): Handler<ConfigFile | null> {\n if (!nodeFs.existsSync(filepath)) return null;\n\n let options = yield* loadCodeDefault(\n filepath,\n (yield* isAsync()) ? \"auto\" : \"require\",\n \"You appear to be using a native ECMAScript module configuration \" +\n \"file, which is only supported when running Babel asynchronously \" +\n \"or when using the Node.js `--experimental-require-module` flag.\",\n \"You appear to be using a configuration file that contains top-level \" +\n \"await, which is only supported when running Babel asynchronously.\",\n );\n\n let cacheNeedsConfiguration = false;\n if (typeof options === \"function\") {\n ({ options, cacheNeedsConfiguration } = yield* runConfig(options, data));\n }\n\n if (!options || typeof options !== \"object\" || Array.isArray(options)) {\n throw new ConfigError(\n `Configuration should be an exported JavaScript object.`,\n filepath,\n );\n }\n\n // @ts-expect-error todo(flow->ts)\n if (typeof options.then === \"function\") {\n // @ts-expect-error We use ?. in case options is a thenable but not a promise\n options.catch?.(() => {});\n throw new ConfigError(\n `You appear to be using an async configuration, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously return your config.`,\n filepath,\n );\n }\n\n if (cacheNeedsConfiguration) throwConfigError(filepath);\n\n return buildConfigFileObject(options, filepath);\n}\n\n// We cache the generated ConfigFile object rather than creating a new one\n// every time, so that it can be used as a cache key in other functions.\nconst cfboaf /* configFilesByOptionsAndFilepath */ = new WeakMap<\n InputOptions,\n Map<string, ConfigFile>\n>();\nfunction buildConfigFileObject(\n options: InputOptions,\n filepath: string,\n): ConfigFile {\n let configFilesByFilepath = cfboaf.get(options);\n if (!configFilesByFilepath) {\n cfboaf.set(options, (configFilesByFilepath = new Map()));\n }\n\n let configFile = configFilesByFilepath.get(filepath);\n if (!configFile) {\n configFile = {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n configFilesByFilepath.set(filepath, configFile);\n }\n\n return configFile;\n}\n\nconst packageToBabelConfig = makeWeakCacheSync(\n (file: ConfigFile): ConfigFile | null => {\n const babel: unknown = file.options.babel;\n\n if (babel === undefined) return null;\n\n if (typeof babel !== \"object\" || Array.isArray(babel) || babel === null) {\n throw new ConfigError(`.babel property must be an object`, file.filepath);\n }\n\n return {\n filepath: file.filepath,\n dirname: file.dirname,\n options: babel,\n };\n },\n);\n\nconst readConfigJSON5 = makeStaticFileCache((filepath, content): ConfigFile => {\n let options;\n try {\n options = json5.parse(content);\n } catch (err) {\n throw new ConfigError(\n `Error while parsing config - ${err.message}`,\n filepath,\n );\n }\n\n if (!options) throw new ConfigError(`No config detected`, filepath);\n\n if (typeof options !== \"object\") {\n throw new ConfigError(`Config returned typeof ${typeof options}`, filepath);\n }\n if (Array.isArray(options)) {\n throw new ConfigError(`Expected config object but found array`, filepath);\n }\n\n delete options.$schema;\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n});\n\nconst readIgnoreConfig = makeStaticFileCache((filepath, content) => {\n const ignoreDir = path.dirname(filepath);\n const ignorePatterns = content\n .split(\"\\n\")\n .map(line =>\n line.replace(process.env.BABEL_8_BREAKING ? /^#.*$/ : /#.*$/, \"\").trim(),\n )\n .filter(Boolean);\n\n for (const pattern of ignorePatterns) {\n if (pattern.startsWith(\"!\")) {\n throw new ConfigError(\n `Negation of file paths is not supported.`,\n filepath,\n );\n }\n }\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n ignore: ignorePatterns.map(pattern =>\n pathPatternToRegex(pattern, ignoreDir),\n ),\n };\n});\n\nexport function findConfigUpwards(rootDir: string): string | null {\n let dirname = rootDir;\n for (;;) {\n for (const filename of ROOT_CONFIG_FILENAMES) {\n if (nodeFs.existsSync(path.join(dirname, filename))) {\n return dirname;\n }\n }\n\n const nextDir = path.dirname(dirname);\n if (dirname === nextDir) break;\n dirname = nextDir;\n }\n\n return null;\n}\n\nexport function* findRelativeConfig(\n packageData: FilePackageData,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<RelativeConfig> {\n let config = null;\n let ignore = null;\n\n const dirname = path.dirname(packageData.filepath);\n\n for (const loc of packageData.directories) {\n if (!config) {\n config = yield* loadOneConfig(\n RELATIVE_CONFIG_FILENAMES,\n loc,\n envName,\n caller,\n packageData.pkg?.dirname === loc\n ? packageToBabelConfig(packageData.pkg)\n : null,\n );\n }\n\n if (!ignore) {\n const ignoreLoc = path.join(loc, BABELIGNORE_FILENAME);\n ignore = yield* readIgnoreConfig(ignoreLoc);\n\n if (ignore) {\n debug(\"Found ignore %o from %o.\", ignore.filepath, dirname);\n }\n }\n }\n\n return { config, ignore };\n}\n\nexport function findRootConfig(\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile | null> {\n return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller);\n}\n\nfunction* loadOneConfig(\n names: string[],\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n previousConfig: ConfigFile | null = null,\n): Handler<ConfigFile | null> {\n const configs = yield* gensync.all(\n names.map(filename =>\n readConfig(path.join(dirname, filename), envName, caller),\n ),\n );\n const config = configs.reduce((previousConfig: ConfigFile | null, config) => {\n if (config && previousConfig) {\n throw new ConfigError(\n `Multiple configuration files found. Please remove one:\\n` +\n ` - ${path.basename(previousConfig.filepath)}\\n` +\n ` - ${config.filepath}\\n` +\n `from ${dirname}`,\n );\n }\n\n return config || previousConfig;\n }, previousConfig);\n\n if (config) {\n debug(\"Found configuration %o from %o.\", config.filepath, dirname);\n }\n return config;\n}\n\nexport function* loadConfig(\n name: string,\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile> {\n const filepath = require.resolve(name, { paths: [dirname] });\n\n const conf = yield* readConfig(filepath, envName, caller);\n if (!conf) {\n throw new ConfigError(\n `Config file contains no configuration data`,\n filepath,\n );\n }\n\n debug(\"Loaded config %o from %o.\", name, dirname);\n return conf;\n}\n\n/**\n * Read the given config file, returning the result. Returns null if no config was found, but will\n * throw if there are parsing errors while loading a config.\n */\nfunction readConfig(\n filepath: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler<ConfigFile | null> {\n const ext = path.extname(filepath);\n switch (ext) {\n case \".js\":\n case \".cjs\":\n case \".mjs\":\n case \".ts\":\n case \".cts\":\n case \".mts\":\n return readConfigCode(filepath, { envName, caller });\n default:\n return readConfigJSON5(filepath);\n }\n}\n\nexport function* resolveShowConfigPath(\n dirname: string,\n): Handler<string | null> {\n const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;\n if (targetPath != null) {\n const absolutePath = path.resolve(dirname, targetPath);\n const stats = yield* fs.stat(absolutePath);\n if (!stats.isFile()) {\n throw new Error(\n `${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`,\n );\n }\n return absolutePath;\n }\n return null;\n}\n\nfunction throwConfigError(filepath: string): never {\n throw new ConfigError(\n `\\\nCaching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === \"production\");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === \"production\");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,\n filepath,\n );\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,IAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,SAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,QAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAM,QAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AAEA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AAGA,IAAAU,YAAA,GAAAV,OAAA;AAEA,IAAAW,EAAA,GAAAX,OAAA;AAEAA,OAAA;AACA,IAAAY,kBAAA,GAAAZ,OAAA;AACA,IAAAa,MAAA,GAAAb,OAAA;AAGA,MAAMc,KAAK,GAAGC,OAASA,CAAC,CAAC,0CAA0C,CAAC;AAE7D,MAAMC,qBAAqB,GAAAC,OAAA,CAAAD,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IACH;IACA,OAAOA,YAAY;EACrB;EACA,OAAO,IAAI;AACb;AAEA,SAASxF,gBAAgBA,CAACV,QAAgB,EAAS;EACjD,MAAM,IAAIO,oBAAW,CACnB;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,EACCP,QACF,CAAC;AACH;AAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_package","require","_configuration","_plugins"],"sources":["../../../src/config/files/index.ts"],"sourcesContent":["type indexBrowserType = typeof import(\"./index-browser\");\ntype indexType = typeof import(\"./index\");\n\n// Kind of gross, but essentially asserting that the exports of this module are the same as the\n// exports of index-browser, since this file may be replaced at bundle time with index-browser.\n({}) as any as indexBrowserType as indexType;\n\nexport { findPackageData } from \"./package.ts\";\n\nexport {\n findConfigUpwards,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n resolveShowConfigPath,\n ROOT_CONFIG_FILENAMES,\n} from \"./configuration.ts\";\nexport type {\n ConfigFile,\n IgnoreFile,\n RelativeConfig,\n FilePackageData,\n} from \"./types.ts\";\nexport {\n loadPlugin,\n loadPreset,\n resolvePlugin,\n resolvePreset,\n} from \"./plugins.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AAcA,IAAAE,QAAA,GAAAF,OAAA;AAlBA,CAAC,CAAC,CAAC;AAA0C","ignoreList":[]}
1
+ {"version":3,"names":["_package","require","_configuration","_plugins"],"sources":["../../../src/config/files/index.ts"],"sourcesContent":["type indexBrowserType = typeof import(\"./index-browser\");\ntype indexType = typeof import(\"./index\");\n\n// Kind of gross, but essentially asserting that the exports of this module are the same as the\n// exports of index-browser, since this file may be replaced at bundle time with index-browser.\n// eslint-disable-next-line @typescript-eslint/no-unused-expressions\n({}) as any as indexBrowserType as indexType;\n\nexport { findPackageData } from \"./package.ts\";\n\nexport {\n findConfigUpwards,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n resolveShowConfigPath,\n ROOT_CONFIG_FILENAMES,\n} from \"./configuration.ts\";\nexport type {\n ConfigFile,\n IgnoreFile,\n RelativeConfig,\n FilePackageData,\n} from \"./types.ts\";\nexport {\n loadPlugin,\n loadPreset,\n resolvePlugin,\n resolvePreset,\n} from \"./plugins.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AAcA,IAAAE,QAAA,GAAAF,OAAA;AAlBA,CAAC,CAAC,CAAC;AAA0C","ignoreList":[]}