immosquare-cleaner 0.1.66 → 0.1.67

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 (1199) hide show
  1. checksums.yaml +4 -4
  2. data/bin/immosquare-cleaner +4 -0
  3. data/lib/immosquare-cleaner/version.rb +1 -1
  4. data/linters/rubocop-3.3.6.yml +93 -0
  5. data/linters/rubocop-3.4.1.yml +0 -3
  6. data/node_modules/.bin/jscodeshift +1 -0
  7. data/node_modules/@babel/compat-data/data/plugins.json +7 -6
  8. data/node_modules/@babel/compat-data/package.json +2 -2
  9. data/node_modules/@babel/core/lib/config/files/configuration.js +0 -3
  10. data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
  11. data/node_modules/@babel/core/lib/config/files/module-types.js +63 -74
  12. data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
  13. data/node_modules/@babel/core/lib/config/files/plugins.js +0 -1
  14. data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
  15. data/node_modules/@babel/core/lib/config/partial.js +1 -1
  16. data/node_modules/@babel/core/lib/config/partial.js.map +1 -1
  17. data/node_modules/@babel/core/lib/index.js +2 -1
  18. data/node_modules/@babel/core/lib/index.js.map +1 -1
  19. data/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  20. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +1 -3
  21. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +1 -1
  22. data/node_modules/@babel/core/lib/transformation/file/file.js +4 -2
  23. data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  24. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  25. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +7 -27
  26. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -1
  27. data/node_modules/@babel/core/package.json +14 -13
  28. data/node_modules/@babel/generator/lib/generators/classes.js +4 -7
  29. data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  30. data/node_modules/@babel/generator/lib/generators/expressions.js +3 -9
  31. data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  32. data/node_modules/@babel/generator/lib/generators/jsx.js +1 -6
  33. data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  34. data/node_modules/@babel/generator/lib/generators/template-literals.js +11 -16
  35. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  36. data/node_modules/@babel/generator/lib/generators/types.js +9 -0
  37. data/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  38. data/node_modules/@babel/generator/lib/generators/typescript.js +18 -36
  39. data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  40. data/node_modules/@babel/generator/lib/node/parentheses.js +3 -40
  41. data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  42. data/node_modules/@babel/generator/lib/printer.js +3 -4
  43. data/node_modules/@babel/generator/lib/printer.js.map +1 -1
  44. data/node_modules/@babel/generator/package.json +5 -5
  45. data/node_modules/@babel/helper-compilation-targets/lib/index.js +1 -1
  46. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
  47. data/node_modules/@babel/helper-compilation-targets/package.json +2 -2
  48. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +9 -1
  49. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
  50. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +0 -9
  51. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
  52. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +1 -1
  53. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
  54. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +8 -8
  55. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
  56. data/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
  57. data/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -1
  58. data/node_modules/@babel/helper-plugin-utils/package.json +2 -2
  59. data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
  60. data/node_modules/@babel/helper-replace-supers/package.json +3 -3
  61. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -1
  62. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -1
  63. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +1 -1
  64. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -1
  65. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +1 -1
  66. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -1
  67. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +3 -7
  68. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -1
  69. data/node_modules/@babel/helpers/lib/helpers-generated.js +3 -3
  70. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
  71. data/node_modules/@babel/helpers/package.json +5 -5
  72. data/node_modules/@babel/parser/lib/index.js +236 -426
  73. data/node_modules/@babel/parser/lib/index.js.map +1 -1
  74. data/node_modules/@babel/parser/package.json +2 -2
  75. data/node_modules/@babel/parser/typings/babel-parser.d.ts +164 -127
  76. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js +0 -6
  77. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -1
  78. data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +4 -4
  79. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +2 -3
  80. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -1
  81. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +3 -3
  82. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js +1 -3
  83. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -1
  84. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js +11 -24
  85. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
  86. data/node_modules/@babel/plugin-transform-typescript/lib/index.js +9 -38
  87. data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
  88. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +0 -2
  89. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
  90. data/node_modules/@babel/plugin-transform-typescript/package.json +5 -5
  91. data/node_modules/@babel/template/lib/options.js.map +1 -1
  92. data/node_modules/@babel/template/lib/parse.js.map +1 -1
  93. data/node_modules/@babel/template/package.json +4 -4
  94. data/node_modules/@babel/traverse/lib/cache.js +5 -4
  95. data/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  96. data/node_modules/@babel/traverse/lib/path/conversion.js +2 -1
  97. data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  98. data/node_modules/@babel/traverse/lib/path/evaluation.js +0 -17
  99. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  100. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  101. data/node_modules/@babel/traverse/lib/path/modification.js +1 -1
  102. data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  103. data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  104. data/node_modules/@babel/traverse/lib/scope/index.js +2 -9
  105. data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  106. data/node_modules/@babel/traverse/lib/visitors.js +1 -1
  107. data/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  108. data/node_modules/@babel/traverse/package.json +6 -6
  109. data/node_modules/@babel/types/lib/asserts/generated/index.js +0 -8
  110. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  111. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  112. data/node_modules/@babel/types/lib/builders/generated/index.js +2858 -22
  113. data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  114. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +255 -267
  115. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  116. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  117. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  118. data/node_modules/@babel/types/lib/definitions/core.js +17 -26
  119. data/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  120. data/node_modules/@babel/types/lib/definitions/flow.js +3 -6
  121. data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  122. data/node_modules/@babel/types/lib/definitions/jsx.js +4 -9
  123. data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  124. data/node_modules/@babel/types/lib/definitions/typescript.js +26 -51
  125. data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  126. data/node_modules/@babel/types/lib/definitions/utils.js +2 -2
  127. data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  128. data/node_modules/@babel/types/lib/index-legacy.d.ts +7 -27
  129. data/node_modules/@babel/types/lib/index.d.ts +1876 -1898
  130. data/node_modules/@babel/types/lib/index.js +21 -10
  131. data/node_modules/@babel/types/lib/index.js.flow +6 -26
  132. data/node_modules/@babel/types/lib/index.js.map +1 -1
  133. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +8 -9
  134. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  135. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
  136. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  137. data/node_modules/@babel/types/lib/validators/generated/index.js +0 -17
  138. data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  139. data/node_modules/@babel/types/package.json +12 -12
  140. data/node_modules/@eslint-community/eslint-utils/index.js +1 -21
  141. data/node_modules/@eslint-community/eslint-utils/index.js.map +1 -1
  142. data/node_modules/@eslint-community/eslint-utils/index.mjs +1 -21
  143. data/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -1
  144. data/node_modules/@eslint-community/eslint-utils/package.json +1 -1
  145. data/node_modules/acorn/CHANGELOG.md +0 -12
  146. data/node_modules/acorn/dist/acorn.js +24 -33
  147. data/node_modules/acorn/dist/acorn.mjs +24 -33
  148. data/node_modules/acorn/package.json +1 -1
  149. data/node_modules/browserslist/index.js +4 -23
  150. data/node_modules/browserslist/node.js +60 -69
  151. data/node_modules/browserslist/package.json +1 -1
  152. data/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -7
  153. data/node_modules/call-bind-apply-helpers/index.d.ts +20 -38
  154. data/node_modules/call-bind-apply-helpers/index.js +1 -1
  155. data/node_modules/call-bind-apply-helpers/package.json +8 -8
  156. data/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  157. data/node_modules/call-bound/CHANGELOG.md +0 -8
  158. data/node_modules/call-bound/index.d.ts +10 -91
  159. data/node_modules/call-bound/index.js +3 -4
  160. data/node_modules/call-bound/package.json +10 -10
  161. data/node_modules/call-bound/test/index.js +4 -11
  162. data/node_modules/call-bound/tsconfig.json +1 -2
  163. data/node_modules/caniuse-lite/data/agents.js +1 -1
  164. data/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  165. data/node_modules/caniuse-lite/data/features/aac.js +1 -1
  166. data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  167. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  168. data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  169. data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  170. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  171. data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  172. data/node_modules/caniuse-lite/data/features/apng.js +1 -1
  173. data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  174. data/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  175. data/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  176. data/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  177. data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  178. data/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  179. data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  180. data/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  181. data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  182. data/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  183. data/node_modules/caniuse-lite/data/features/audio.js +1 -1
  184. data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  185. data/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  186. data/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  187. data/node_modules/caniuse-lite/data/features/av1.js +1 -1
  188. data/node_modules/caniuse-lite/data/features/avif.js +1 -1
  189. data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  190. data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  191. data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  192. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  193. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  194. data/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  195. data/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  196. data/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  197. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  198. data/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  199. data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  200. data/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  201. data/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  202. data/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  203. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  204. data/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  205. data/node_modules/caniuse-lite/data/features/calc.js +1 -1
  206. data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  207. data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  208. data/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  209. data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  210. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  211. data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  212. data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  213. data/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  214. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  215. data/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  216. data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  217. data/node_modules/caniuse-lite/data/features/colr.js +1 -1
  218. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  219. data/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  220. data/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  221. data/node_modules/caniuse-lite/data/features/const.js +1 -1
  222. data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  223. data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  224. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  225. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  226. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  227. data/node_modules/caniuse-lite/data/features/cors.js +1 -1
  228. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  229. data/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  230. data/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  231. data/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  232. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  233. data/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  234. data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  235. data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  236. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  237. data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  238. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  239. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  240. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  241. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  242. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  243. data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  244. data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  245. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  246. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  247. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  248. data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  249. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  250. data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  251. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  252. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  253. data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  254. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  255. data/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  256. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  257. data/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  258. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  259. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  260. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  261. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  262. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  263. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  264. data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  265. data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  266. data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  267. data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  268. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  269. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  270. data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  271. data/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  272. data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  273. data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  274. data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  275. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  276. data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  277. data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  278. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  279. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  280. data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  281. data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  282. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  283. data/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  284. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  285. data/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  286. data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  287. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  288. data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  289. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  290. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  291. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  292. data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  293. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  294. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  295. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  296. data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  297. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  298. data/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  299. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  300. data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  301. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  302. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  303. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  304. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  305. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  306. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  307. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  308. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  309. data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  310. data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  311. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  312. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  313. data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  314. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  315. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  316. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  317. data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  318. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  319. data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  320. data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  321. data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  322. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  323. data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  324. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  325. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  326. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  327. data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  328. data/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  329. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  330. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  331. data/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  332. data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  333. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  334. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  335. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  336. data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  337. data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  338. data/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  339. data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  340. data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  341. data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  342. data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  343. data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  344. data/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  345. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  346. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  347. data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  348. data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  349. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  350. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  351. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  352. data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  353. data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  354. data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  355. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  356. data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  357. data/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  358. data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  359. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  360. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  361. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  362. data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  363. data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  364. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  365. data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  366. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  367. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  368. data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  369. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  370. data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  371. data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  372. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  373. data/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  374. data/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  375. data/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  376. data/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  377. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  378. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  379. data/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  380. data/node_modules/caniuse-lite/data/features/details.js +1 -1
  381. data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  382. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  383. data/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  384. data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  385. data/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  386. data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  387. data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  388. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  389. data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  390. data/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  391. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  392. data/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  393. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  394. data/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  395. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  396. data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  397. data/node_modules/caniuse-lite/data/features/download.js +1 -1
  398. data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  399. data/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  400. data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  401. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  402. data/node_modules/caniuse-lite/data/features/eme.js +1 -1
  403. data/node_modules/caniuse-lite/data/features/eot.js +1 -1
  404. data/node_modules/caniuse-lite/data/features/es5.js +1 -1
  405. data/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  406. data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  407. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  408. data/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  409. data/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  410. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  411. data/node_modules/caniuse-lite/data/features/es6.js +1 -1
  412. data/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  413. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  414. data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  415. data/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  416. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  417. data/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  418. data/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  419. data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  420. data/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  421. data/node_modules/caniuse-lite/data/features/flac.js +1 -1
  422. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  423. data/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  424. data/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  425. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  426. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  427. data/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  428. data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  429. data/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  430. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  431. data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  432. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  433. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  434. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  435. data/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  436. data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  437. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  438. data/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  439. data/node_modules/caniuse-lite/data/features/forms.js +1 -1
  440. data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  441. data/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  442. data/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  443. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  444. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  445. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  446. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  447. data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  448. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  449. data/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  450. data/node_modules/caniuse-lite/data/features/heif.js +1 -1
  451. data/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  452. data/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  453. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  454. data/node_modules/caniuse-lite/data/features/history.js +1 -1
  455. data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  456. data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  457. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  458. data/node_modules/caniuse-lite/data/features/http2.js +1 -1
  459. data/node_modules/caniuse-lite/data/features/http3.js +1 -1
  460. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  461. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  462. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  463. data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  464. data/node_modules/caniuse-lite/data/features/ime.js +1 -1
  465. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  466. data/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  467. data/node_modules/caniuse-lite/data/features/imports.js +1 -1
  468. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  469. data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  470. data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  471. data/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  472. data/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  473. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  474. data/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  475. data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  476. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  477. data/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  478. data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  479. data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  480. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  481. data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  482. data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  483. data/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  484. data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  485. data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  486. data/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  487. data/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  488. data/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  489. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  490. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  491. data/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  492. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  493. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  494. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  495. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  496. data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  497. data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  498. data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  499. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  500. data/node_modules/caniuse-lite/data/features/json.js +1 -1
  501. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  502. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  503. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  504. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  505. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  506. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  507. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  508. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  509. data/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  510. data/node_modules/caniuse-lite/data/features/let.js +1 -1
  511. data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  512. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  513. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  514. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  515. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  516. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  517. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  518. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  519. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  520. data/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  521. data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  522. data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  523. data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  524. data/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  525. data/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  526. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  527. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  528. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  529. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  530. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  531. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  532. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  533. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  534. data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  535. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  536. data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  537. data/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  538. data/node_modules/caniuse-lite/data/features/menu.js +1 -1
  539. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  540. data/node_modules/caniuse-lite/data/features/meter.js +1 -1
  541. data/node_modules/caniuse-lite/data/features/midi.js +1 -1
  542. data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  543. data/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  544. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  545. data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  546. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  547. data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  548. data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  549. data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  550. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  551. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  552. data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  553. data/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  554. data/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  555. data/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  556. data/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  557. data/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  558. data/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  559. data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  560. data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  561. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  562. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  563. data/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  564. data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  565. data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  566. data/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  567. data/node_modules/caniuse-lite/data/features/opus.js +1 -1
  568. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  569. data/node_modules/caniuse-lite/data/features/outline.js +1 -1
  570. data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  571. data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  572. data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  573. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  574. data/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  575. data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  576. data/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  577. data/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  578. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  579. data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  580. data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  581. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  582. data/node_modules/caniuse-lite/data/features/picture.js +1 -1
  583. data/node_modules/caniuse-lite/data/features/ping.js +1 -1
  584. data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  585. data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  586. data/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  587. data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  588. data/node_modules/caniuse-lite/data/features/portals.js +1 -1
  589. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  590. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  591. data/node_modules/caniuse-lite/data/features/progress.js +1 -1
  592. data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  593. data/node_modules/caniuse-lite/data/features/promises.js +1 -1
  594. data/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  595. data/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  596. data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  597. data/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  598. data/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  599. data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  600. data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  601. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  602. data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  603. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  604. data/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  605. data/node_modules/caniuse-lite/data/features/rem.js +1 -1
  606. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  607. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  608. data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  609. data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  610. data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  611. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  612. data/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  613. data/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  614. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  615. data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  616. data/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  617. data/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  618. data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  619. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  620. data/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  621. data/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  622. data/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  623. data/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  624. data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  625. data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  626. data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  627. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  628. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  629. data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  630. data/node_modules/caniuse-lite/data/features/sni.js +1 -1
  631. data/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  632. data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  633. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  634. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  635. data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  636. data/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  637. data/node_modules/caniuse-lite/data/features/stream.js +1 -1
  638. data/node_modules/caniuse-lite/data/features/streams.js +1 -1
  639. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  640. data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  641. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  642. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  643. data/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  644. data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  645. data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  646. data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  647. data/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  648. data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  649. data/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  650. data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  651. data/node_modules/caniuse-lite/data/features/svg.js +1 -1
  652. data/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  653. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  654. data/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  655. data/node_modules/caniuse-lite/data/features/template.js +1 -1
  656. data/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  657. data/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  658. data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  659. data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  660. data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  661. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  662. data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  663. data/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  664. data/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  665. data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  666. data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  667. data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  668. data/node_modules/caniuse-lite/data/features/touch.js +1 -1
  669. data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  670. data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  671. data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  672. data/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  673. data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  674. data/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  675. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  676. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  677. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  678. data/node_modules/caniuse-lite/data/features/url.js +1 -1
  679. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  680. data/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  681. data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  682. data/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  683. data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  684. data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  685. data/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  686. data/node_modules/caniuse-lite/data/features/video.js +1 -1
  687. data/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  688. data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  689. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  690. data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  691. data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  692. data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  693. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  694. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  695. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  696. data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  697. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  698. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  699. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  700. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  701. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  702. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  703. data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  704. data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  705. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  706. data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  707. data/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  708. data/node_modules/caniuse-lite/data/features/wav.js +1 -1
  709. data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  710. data/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  711. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  712. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  713. data/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  714. data/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  715. data/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  716. data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  717. data/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  718. data/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  719. data/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  720. data/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  721. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  722. data/node_modules/caniuse-lite/data/features/webm.js +1 -1
  723. data/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  724. data/node_modules/caniuse-lite/data/features/webp.js +1 -1
  725. data/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  726. data/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  727. data/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  728. data/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  729. data/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  730. data/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  731. data/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  732. data/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  733. data/node_modules/caniuse-lite/data/features/woff.js +1 -1
  734. data/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  735. data/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  736. data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  737. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  738. data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  739. data/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  740. data/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  741. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  742. data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  743. data/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  744. data/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  745. data/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  746. data/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  747. data/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  748. data/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  749. data/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  750. data/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  751. data/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  752. data/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  753. data/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  754. data/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  755. data/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  756. data/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  757. data/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  758. data/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  759. data/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  760. data/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  761. data/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  762. data/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  763. data/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  764. data/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  765. data/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  766. data/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  767. data/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  768. data/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  769. data/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  770. data/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  771. data/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  772. data/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  773. data/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  774. data/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  775. data/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  776. data/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  777. data/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  778. data/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  779. data/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  780. data/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  781. data/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  782. data/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  783. data/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  784. data/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  785. data/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  786. data/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  787. data/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  788. data/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  789. data/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  790. data/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  791. data/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  792. data/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  793. data/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  794. data/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  795. data/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  796. data/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  797. data/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  798. data/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  799. data/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  800. data/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  801. data/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  802. data/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  803. data/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  804. data/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  805. data/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  806. data/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  807. data/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  808. data/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  809. data/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  810. data/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  811. data/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  812. data/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  813. data/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  814. data/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  815. data/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  816. data/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  817. data/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  818. data/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  819. data/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  820. data/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  821. data/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  822. data/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  823. data/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  824. data/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  825. data/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  826. data/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  827. data/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  828. data/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  829. data/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  830. data/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  831. data/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  832. data/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  833. data/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  834. data/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  835. data/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  836. data/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  837. data/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  838. data/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  839. data/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  840. data/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  841. data/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  842. data/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  843. data/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  844. data/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  845. data/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  846. data/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  847. data/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  848. data/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  849. data/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  850. data/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  851. data/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  852. data/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  853. data/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  854. data/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  855. data/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  856. data/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  857. data/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  858. data/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  859. data/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  860. data/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  861. data/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  862. data/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  863. data/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  864. data/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  865. data/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  866. data/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  867. data/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  868. data/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  869. data/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  870. data/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  871. data/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  872. data/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  873. data/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  874. data/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  875. data/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  876. data/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  877. data/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  878. data/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  879. data/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  880. data/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  881. data/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  882. data/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  883. data/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  884. data/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  885. data/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  886. data/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  887. data/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  888. data/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  889. data/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  890. data/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  891. data/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  892. data/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  893. data/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  894. data/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  895. data/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  896. data/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  897. data/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  898. data/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  899. data/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  900. data/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  901. data/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  902. data/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  903. data/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  904. data/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  905. data/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  906. data/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  907. data/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  908. data/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  909. data/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  910. data/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  911. data/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  912. data/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  913. data/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  914. data/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  915. data/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  916. data/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  917. data/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  918. data/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  919. data/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  920. data/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  921. data/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  922. data/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  923. data/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  924. data/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  925. data/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  926. data/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  927. data/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  928. data/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  929. data/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  930. data/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  931. data/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  932. data/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  933. data/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  934. data/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  935. data/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  936. data/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  937. data/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  938. data/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  939. data/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  940. data/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  941. data/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  942. data/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  943. data/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  944. data/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  945. data/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  946. data/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  947. data/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  948. data/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  949. data/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  950. data/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  951. data/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  952. data/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  953. data/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  954. data/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  955. data/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  956. data/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  957. data/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  958. data/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  959. data/node_modules/caniuse-lite/data/regions/US.js +1 -1
  960. data/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  961. data/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  962. data/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  963. data/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  964. data/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  965. data/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  966. data/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  967. data/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  968. data/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  969. data/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  970. data/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  971. data/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  972. data/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  973. data/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  974. data/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  975. data/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  976. data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  977. data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  978. data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  979. data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  980. data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  981. data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  982. data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  983. data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  984. data/node_modules/caniuse-lite/package.json +1 -1
  985. data/node_modules/electron-to-chromium/chromium-versions.js +1 -4
  986. data/node_modules/electron-to-chromium/chromium-versions.json +1 -1
  987. data/node_modules/electron-to-chromium/full-chromium-versions.js +3 -75
  988. data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  989. data/node_modules/electron-to-chromium/full-versions.js +1 -45
  990. data/node_modules/electron-to-chromium/full-versions.json +1 -1
  991. data/node_modules/electron-to-chromium/package.json +1 -1
  992. data/node_modules/electron-to-chromium/versions.js +1 -8
  993. data/node_modules/electron-to-chromium/versions.json +1 -1
  994. data/node_modules/es-object-atoms/CHANGELOG.md +0 -21
  995. data/node_modules/es-object-atoms/README.md +0 -7
  996. data/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +2 -2
  997. data/node_modules/es-object-atoms/ToObject.d.ts +2 -6
  998. data/node_modules/es-object-atoms/package.json +8 -9
  999. data/node_modules/es-object-atoms/test/index.js +1 -11
  1000. data/node_modules/es-shim-unscopables/CHANGELOG.md +0 -8
  1001. data/node_modules/es-shim-unscopables/index.js +1 -2
  1002. data/node_modules/es-shim-unscopables/package.json +11 -20
  1003. data/node_modules/es-shim-unscopables/test/index.js +1 -4
  1004. data/node_modules/es-shim-unscopables/test/with.js +0 -8
  1005. data/node_modules/flatted/index.js +3 -3
  1006. data/node_modules/flatted/min.js +1 -1
  1007. data/node_modules/flatted/package.json +8 -21
  1008. data/node_modules/flatted/python/flatted.py +4 -4
  1009. data/node_modules/flatted/python/test.py +63 -0
  1010. data/node_modules/flow-parser/flow_parser.js +5530 -5550
  1011. data/node_modules/flow-parser/package.json +1 -1
  1012. data/node_modules/for-each/README.md +4 -0
  1013. data/node_modules/for-each/index.js +4 -11
  1014. data/node_modules/for-each/package.json +36 -47
  1015. data/node_modules/for-each/test/test.js +12 -54
  1016. data/node_modules/get-intrinsic/CHANGELOG.md +0 -8
  1017. data/node_modules/get-intrinsic/index.js +0 -1
  1018. data/node_modules/get-intrinsic/package.json +8 -8
  1019. data/node_modules/import-fresh/index.js +1 -2
  1020. data/node_modules/import-fresh/package.json +1 -6
  1021. data/node_modules/import-fresh/readme.md +8 -14
  1022. data/node_modules/is-async-function/CHANGELOG.md +0 -13
  1023. data/node_modules/is-async-function/index.d.ts +2 -4
  1024. data/node_modules/is-async-function/index.js +18 -3
  1025. data/node_modules/is-async-function/package.json +3 -8
  1026. data/node_modules/is-boolean-object/CHANGELOG.md +0 -11
  1027. data/node_modules/is-boolean-object/index.js +1 -1
  1028. data/node_modules/is-boolean-object/package.json +6 -8
  1029. data/node_modules/is-boolean-object/test/index.js +1 -24
  1030. data/node_modules/is-weakref/CHANGELOG.md +0 -8
  1031. data/node_modules/is-weakref/index.d.ts +1 -1
  1032. data/node_modules/is-weakref/index.js +1 -3
  1033. data/node_modules/is-weakref/package.json +6 -6
  1034. data/node_modules/jscodeshift/CHANGELOG.md +226 -0
  1035. data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +3 -0
  1036. data/node_modules/jscodeshift/CONTRIBUTING.md +48 -0
  1037. data/node_modules/{async-function → jscodeshift}/LICENSE +1 -1
  1038. data/node_modules/jscodeshift/README.md +671 -0
  1039. data/node_modules/jscodeshift/bin/jscodeshift.js +182 -0
  1040. data/node_modules/jscodeshift/bin/jscodeshift.sh +12 -0
  1041. data/node_modules/jscodeshift/dist/Collection.js +472 -0
  1042. data/node_modules/jscodeshift/dist/Runner.js +322 -0
  1043. data/node_modules/jscodeshift/dist/Worker.js +210 -0
  1044. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.input.js +1 -0
  1045. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.js +11 -0
  1046. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.output.js +1 -0
  1047. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.input.js +1 -0
  1048. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.js +7 -0
  1049. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.output.js +1 -0
  1050. data/node_modules/jscodeshift/dist/argsParser.js +273 -0
  1051. data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +113 -0
  1052. data/node_modules/jscodeshift/dist/collections/JSXElement.js +221 -0
  1053. data/node_modules/jscodeshift/dist/collections/Node.js +187 -0
  1054. data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +210 -0
  1055. data/node_modules/jscodeshift/dist/collections/index.js +14 -0
  1056. data/node_modules/jscodeshift/dist/core.js +183 -0
  1057. data/node_modules/jscodeshift/dist/getParser.js +25 -0
  1058. data/node_modules/jscodeshift/dist/ignoreFiles.js +68 -0
  1059. data/node_modules/jscodeshift/dist/matchNode.js +40 -0
  1060. data/node_modules/jscodeshift/dist/template.js +173 -0
  1061. data/node_modules/jscodeshift/dist/testUtils.js +173 -0
  1062. data/node_modules/jscodeshift/dist/utils/intersection.js +27 -0
  1063. data/node_modules/jscodeshift/dist/utils/once.js +21 -0
  1064. data/node_modules/jscodeshift/dist/utils/union.js +20 -0
  1065. data/node_modules/jscodeshift/index.js +9 -0
  1066. data/node_modules/jscodeshift/package.json +74 -0
  1067. data/node_modules/jscodeshift/parser/babel5Compat.js +50 -0
  1068. data/node_modules/jscodeshift/parser/babylon.js +57 -0
  1069. data/node_modules/jscodeshift/parser/flow.js +34 -0
  1070. data/node_modules/jscodeshift/parser/ts.js +24 -0
  1071. data/node_modules/jscodeshift/parser/tsOptions.js +46 -0
  1072. data/node_modules/jscodeshift/parser/tsx.js +27 -0
  1073. data/node_modules/jscodeshift/src/Collection.js +472 -0
  1074. data/node_modules/jscodeshift/src/Runner.js +322 -0
  1075. data/node_modules/jscodeshift/src/Worker.js +210 -0
  1076. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.input.js +1 -0
  1077. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.js +11 -0
  1078. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.output.js +1 -0
  1079. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.input.js +1 -0
  1080. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.js +7 -0
  1081. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.output.js +1 -0
  1082. data/node_modules/jscodeshift/src/argsParser.js +273 -0
  1083. data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +113 -0
  1084. data/node_modules/jscodeshift/src/collections/JSXElement.js +221 -0
  1085. data/node_modules/jscodeshift/src/collections/Node.js +187 -0
  1086. data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +210 -0
  1087. data/node_modules/jscodeshift/src/collections/index.js +14 -0
  1088. data/node_modules/jscodeshift/src/core.js +183 -0
  1089. data/node_modules/jscodeshift/src/getParser.js +25 -0
  1090. data/node_modules/jscodeshift/src/ignoreFiles.js +68 -0
  1091. data/node_modules/jscodeshift/src/matchNode.js +40 -0
  1092. data/node_modules/jscodeshift/src/template.js +173 -0
  1093. data/node_modules/jscodeshift/src/testUtils.js +173 -0
  1094. data/node_modules/jscodeshift/src/utils/intersection.js +27 -0
  1095. data/node_modules/jscodeshift/src/utils/once.js +21 -0
  1096. data/node_modules/jscodeshift/src/utils/union.js +20 -0
  1097. data/node_modules/jscodeshift/utils/requirePackage.js +24 -0
  1098. data/node_modules/jscodeshift/utils/testUtils.js +49 -0
  1099. data/node_modules/jscodeshift/website/README.md +44 -0
  1100. data/node_modules/jscodeshift/website/astro.config.mjs +36 -0
  1101. data/node_modules/jscodeshift/website/package.json +17 -0
  1102. data/node_modules/jscodeshift/website/public/favicon.svg +1 -0
  1103. data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
  1104. data/node_modules/jscodeshift/website/src/content/config.ts +6 -0
  1105. data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +406 -0
  1106. data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +3086 -0
  1107. data/node_modules/jscodeshift/website/src/content/docs/index.mdx +15 -0
  1108. data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +45 -0
  1109. data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +161 -0
  1110. data/node_modules/jscodeshift/website/src/env.d.ts +2 -0
  1111. data/node_modules/jscodeshift/website/tsconfig.json +3 -0
  1112. data/node_modules/object-inspect/CHANGELOG.md +0 -8
  1113. data/node_modules/object-inspect/index.js +7 -10
  1114. data/node_modules/object-inspect/package.json +4 -5
  1115. data/node_modules/object-inspect/test/values.js +0 -50
  1116. data/node_modules/possible-typed-array-names/CHANGELOG.md +0 -14
  1117. data/node_modules/possible-typed-array-names/README.md +2 -4
  1118. data/node_modules/possible-typed-array-names/index.d.ts +0 -1
  1119. data/node_modules/possible-typed-array-names/index.js +0 -1
  1120. data/node_modules/possible-typed-array-names/package.json +9 -10
  1121. data/node_modules/possible-typed-array-names/test/index.js +3 -6
  1122. data/node_modules/possible-typed-array-names/tsconfig.json +42 -2
  1123. data/node_modules/recast/lib/lines.d.ts +2 -2
  1124. data/node_modules/recast/lib/printer.js +5 -17
  1125. data/node_modules/recast/package.json +1 -1
  1126. data/node_modules/typescript/README.md +1 -1
  1127. data/node_modules/typescript/lib/_tsc.js +500 -931
  1128. data/node_modules/typescript/lib/_tsserver.js +7 -43
  1129. data/node_modules/typescript/lib/cancellationToken.js +90 -0
  1130. data/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +8 -14
  1131. data/node_modules/typescript/lib/de/diagnosticMessages.generated.json +8 -14
  1132. data/node_modules/typescript/lib/es/diagnosticMessages.generated.json +8 -14
  1133. data/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +8 -14
  1134. data/node_modules/typescript/lib/it/diagnosticMessages.generated.json +8 -14
  1135. data/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +8 -14
  1136. data/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +8 -14
  1137. data/node_modules/typescript/lib/lib.dom.d.ts +142 -769
  1138. data/node_modules/typescript/lib/lib.dom.iterable.d.ts +7 -9
  1139. data/node_modules/typescript/lib/lib.es2015.iterable.d.ts +54 -69
  1140. data/node_modules/typescript/lib/lib.es2020.bigint.d.ts +7 -41
  1141. data/node_modules/typescript/lib/lib.es2023.array.d.ts +24 -24
  1142. data/node_modules/typescript/lib/lib.es5.d.ts +51 -60
  1143. data/node_modules/typescript/lib/lib.esnext.d.ts +0 -2
  1144. data/node_modules/typescript/lib/lib.esnext.iterator.d.ts +1 -1
  1145. data/node_modules/typescript/lib/lib.webworker.d.ts +55 -262
  1146. data/node_modules/typescript/lib/lib.webworker.iterable.d.ts +7 -6
  1147. data/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +8 -14
  1148. data/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +8 -14
  1149. data/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +8 -14
  1150. data/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +8 -14
  1151. data/node_modules/typescript/lib/typescript.d.ts +3 -14
  1152. data/node_modules/typescript/lib/typescript.js +570 -1035
  1153. data/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +8 -14
  1154. data/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +8 -14
  1155. data/node_modules/typescript/package.json +22 -22
  1156. data/node_modules/update-browserslist-db/index.js +7 -5
  1157. data/node_modules/update-browserslist-db/package.json +2 -2
  1158. data/node_modules/which-typed-array/CHANGELOG.md +0 -10
  1159. data/node_modules/which-typed-array/index.js +20 -21
  1160. data/node_modules/which-typed-array/package.json +7 -9
  1161. data/node_modules/which-typed-array/tsconfig.json +1 -1
  1162. metadata +85 -41
  1163. data/node_modules/@babel/generator/lib/generators/deprecated.js +0 -28
  1164. data/node_modules/@babel/generator/lib/generators/deprecated.js.map +0 -1
  1165. data/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -2886
  1166. data/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  1167. data/node_modules/async-function/CHANGELOG.md +0 -16
  1168. data/node_modules/async-function/README.md +0 -51
  1169. data/node_modules/async-function/index.d.mts +0 -3
  1170. data/node_modules/async-function/index.d.ts +0 -13
  1171. data/node_modules/async-function/index.js +0 -8
  1172. data/node_modules/async-function/index.mjs +0 -4
  1173. data/node_modules/async-function/legacy.js +0 -18
  1174. data/node_modules/async-function/package.json +0 -86
  1175. data/node_modules/async-function/require.mjs +0 -5
  1176. data/node_modules/async-function/test/index.js +0 -40
  1177. data/node_modules/async-function/tsconfig.json +0 -9
  1178. data/node_modules/es-object-atoms/isObject.d.ts +0 -3
  1179. data/node_modules/es-object-atoms/isObject.js +0 -6
  1180. data/node_modules/es-shim-unscopables/index.d.ts +0 -8
  1181. data/node_modules/es-shim-unscopables/tsconfig.json +0 -10
  1182. data/node_modules/eslint-plugin-erb/LICENSE +0 -21
  1183. data/node_modules/eslint-plugin-erb/README.md +0 -257
  1184. data/node_modules/eslint-plugin-erb/index.js +0 -3
  1185. data/node_modules/eslint-plugin-erb/lib/autofix.js +0 -44
  1186. data/node_modules/eslint-plugin-erb/lib/cache.js +0 -21
  1187. data/node_modules/eslint-plugin-erb/lib/dummy_replacements_map.js +0 -30
  1188. data/node_modules/eslint-plugin-erb/lib/file_coordinates.js +0 -41
  1189. data/node_modules/eslint-plugin-erb/lib/index.js +0 -50
  1190. data/node_modules/eslint-plugin-erb/lib/offset_calculation.js +0 -50
  1191. data/node_modules/eslint-plugin-erb/lib/offset_map.js +0 -111
  1192. data/node_modules/eslint-plugin-erb/lib/postprocess.js +0 -72
  1193. data/node_modules/eslint-plugin-erb/lib/preprocess.js +0 -113
  1194. data/node_modules/eslint-plugin-erb/package.json +0 -50
  1195. data/node_modules/for-each/CHANGELOG.md +0 -107
  1196. data/node_modules/for-each/index.d.ts +0 -35
  1197. data/node_modules/for-each/tsconfig.json +0 -8
  1198. data/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  1199. data/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
@@ -1 +1 @@
1
- {"version":3,"names":["_buffer","require","n","_t","_tokenMap","generatorFunctions","_deprecated","isExpression","isFunction","isStatement","isClassBody","isTSInterfaceBody","isTSEnumMember","SCIENTIFIC_NOTATION","ZERO_DECIMAL_INTEGER","HAS_NEWLINE","HAS_NEWLINE_OR_BlOCK_COMMENT_END","commentIsNewline","c","type","test","value","needsParens","Printer","constructor","format","map","tokens","originalCode","inForStatementInit","tokenContext","_tokens","_originalCode","_currentNode","_indent","_indentRepeat","_insideAux","_noLineTerminator","_noLineTerminatorAfterNode","_printAuxAfterOnNextUserNode","_printedComments","Set","_endsWithInteger","_endsWithWord","_endsWithDiv","_lastCommentLine","_endsWithInnerRaw","_indentInnerComments","tokenMap","_boundGetRawIdentifier","_getRawIdentifier","bind","_printSemicolonBeforeNextNode","_printSemicolonBeforeNextToken","indent","style","length","_inputMap","_buf","Buffer","enterForStatementInit","enterDelimited","oldInForStatementInit","oldNoLineTerminatorAfterNode","generate","ast","preserveFormat","TokenMap","print","_maybeAddAuxComment","get","compact","concise","dedent","semicolon","force","_appendChar","node","start","end","endMatches","getCurrentLine","indexes","getIndexes","_catchUpTo","loc","_queue","rightBrace","minified","removeLastSemicolon","sourceWithOffset","token","rightParens","space","_space","hasContent","lastCp","getLastChar","word","str","noLineTerminatorAfter","_maybePrintInnerComments","_catchUpToCurrentToken","charCodeAt","_append","number","isNonDecimalLiteral","secondChar","Number","isInteger","maybeNewline","occurrenceCount","lastChar","strFirst","tokenChar","char","String","fromCharCode","newline","i","retainLines","getNewlineCount","j","_newline","endsWith","endsWithCharAndNewline","removeTrailingNewline","exactSource","cb","_catchUp","source","prop","columnOffset","sourceIdentifierName","identifierName","pos","_canMarkIdName","sourcePosition","_sourcePosition","identifierNamePos","findMatching","appendChar","_maybeIndent","append","queue","firstChar","queueIndentation","_getIndent","_shouldIndent","catchUp","line","count","column","index","spacesCount","getCurrentColumn","spaces","slice","replace","repeat","printTerminatorless","trailingCommentsLineOffset","_node$extra","_node$leadingComments","_node$leadingComments2","nodeType","oldConcise","_compact","printMethod","undefined","ReferenceError","JSON","stringify","name","parent","oldInAux","parenthesized","extra","shouldPrintParens","retainFunctionParens","leadingComments","parentType","callee","indentParenthesized","some","oldInForStatementInitWasTrue","isLastChild","_node$trailingComment","trailingComments","_printLeadingComments","_printTrailingComments","enteredPositionlessNode","_printAuxBeforeComment","_printAuxAfterComment","comment","auxiliaryCommentBefore","_printComment","auxiliaryCommentAfter","getPossibleRaw","raw","rawValue","printJoin","nodes","statement","separator","printTrailingSeparator","addNewlines","iterator","_nodes$0$loc","startLine","newlineOpts","nextNodeStartLine","boundSeparator","len","_printNewline","_node$trailingComment2","_nextNode$loc","nextNode","printAndIndentOnComments","printBlock","body","lineOffset","innerComments","_printComments","comments","nextTokenStr","nextTokenOccurrenceCount","_this$tokenMap","printInnerComments","nextToken","hasSpace","printedCommentsCount","size","noIndentInnerCommentsHere","printSequence","printList","items","commaSeparator","shouldPrintTrailingComma","listEnd","listEndIndex","findLastIndex","matchesOriginal","newLine","opts","lastCommentLine","offset","_shouldPrintComment","ignore","has","commentTok","find","add","shouldPrintComment","skipNewLines","noLineTerminator","isBlockComment","printNewLines","lastCharCode","val","adjustMultilineComment","_comment$loc","newlineRegex","RegExp","indentSize","nodeLoc","hasLoc","nodeStartLine","nodeEndLine","lastLine","leadingCommentNewline","shouldPrint","commentStartLine","commentEndLine","Math","max","min","singleLine","shouldSkipNewline","properties","Object","assign","prototype","addDeprecatedGenerators","_default","exports","default","last"],"sources":["../src/printer.ts"],"sourcesContent":["import Buffer, { type Pos } from \"./buffer.ts\";\nimport type { Loc } from \"./buffer.ts\";\nimport * as n from \"./node/index.ts\";\nimport type * as t from \"@babel/types\";\nimport {\n isExpression,\n isFunction,\n isStatement,\n isClassBody,\n isTSInterfaceBody,\n isTSEnumMember,\n} from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\n\nimport { TokenMap } from \"./token-map.ts\";\nimport type { GeneratorOptions } from \"./index.ts\";\nimport * as generatorFunctions from \"./generators/index.ts\";\nimport {\n addDeprecatedGenerators,\n type DeprecatedBabel7ASTTypes,\n} from \"./generators/deprecated.ts\";\nimport type SourceMap from \"./source-map.ts\";\nimport type { TraceMap } from \"@jridgewell/trace-mapping\";\nimport type { Token } from \"@babel/parser\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nconst SCIENTIFIC_NOTATION = /e/i;\nconst ZERO_DECIMAL_INTEGER = /\\.0+$/;\nconst HAS_NEWLINE = /[\\n\\r\\u2028\\u2029]/;\nconst HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\\n\\r\\u2028\\u2029]|\\*\\//;\n\nfunction commentIsNewline(c: t.Comment) {\n return c.type === \"CommentLine\" || HAS_NEWLINE.test(c.value);\n}\n\nconst { needsParens } = n;\n\nconst enum COMMENT_TYPE {\n LEADING,\n INNER,\n TRAILING,\n}\n\nconst enum COMMENT_SKIP_NEWLINE {\n DEFAULT,\n ALL,\n LEADING,\n TRAILING,\n}\n\nconst enum PRINT_COMMENT_HINT {\n SKIP,\n ALLOW,\n DEFER,\n}\n\nexport type Format = {\n shouldPrintComment: (comment: string) => boolean;\n preserveFormat: boolean;\n retainLines: boolean;\n retainFunctionParens: boolean;\n comments: boolean;\n auxiliaryCommentBefore: string;\n auxiliaryCommentAfter: string;\n compact: boolean | \"auto\";\n minified: boolean;\n concise: boolean;\n indent: {\n adjustMultilineComment: boolean;\n style: string;\n };\n /**\n * @deprecated Removed in Babel 8, syntax type is always 'hash'\n */\n recordAndTupleSyntaxType?: GeneratorOptions[\"recordAndTupleSyntaxType\"];\n jsescOption: jsescOptions;\n /**\n * @deprecated Removed in Babel 8, use `jsescOption` instead\n */\n jsonCompatibleStrings?: boolean;\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: GeneratorOptions[\"topicToken\"];\n /**\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n};\n\ninterface AddNewlinesOptions {\n addNewlines(leading: boolean, node: t.Node): number;\n nextNodeStartLine: number;\n}\n\ninterface PrintSequenceOptions extends Partial<AddNewlinesOptions> {\n statement?: boolean;\n indent?: boolean;\n trailingCommentsLineOffset?: number;\n}\n\ninterface PrintListOptions {\n separator?: (this: Printer, occurrenceCount: number, last: boolean) => void;\n iterator?: (node: t.Node, index: number) => void;\n statement?: boolean;\n indent?: boolean;\n printTrailingSeparator?: boolean;\n}\n\nexport type PrintJoinOptions = PrintListOptions & PrintSequenceOptions;\nclass Printer {\n constructor(\n format: Format,\n map: SourceMap,\n tokens?: Token[],\n originalCode?: string,\n ) {\n this.format = format;\n\n this._tokens = tokens;\n this._originalCode = originalCode;\n\n this._indentRepeat = format.indent.style.length;\n\n this._inputMap = map?._inputMap;\n\n this._buf = new Buffer(map, format.indent.style[0]);\n }\n declare _inputMap: TraceMap;\n\n declare format: Format;\n\n inForStatementInit: boolean = false;\n enterForStatementInit() {\n if (this.inForStatementInit) return () => {};\n this.inForStatementInit = true;\n return () => {\n this.inForStatementInit = false;\n };\n }\n\n enterDelimited() {\n const oldInForStatementInit = this.inForStatementInit;\n const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n if (\n oldInForStatementInit === false &&\n oldNoLineTerminatorAfterNode === null\n ) {\n return () => {};\n }\n this.inForStatementInit = false;\n this._noLineTerminatorAfterNode = null;\n return () => {\n this.inForStatementInit = oldInForStatementInit;\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n };\n }\n\n tokenContext: number = 0;\n\n _tokens: Token[] = null;\n _originalCode: string | null = null;\n\n declare _buf: Buffer;\n _currentNode: t.Node = null;\n _indent: number = 0;\n _indentRepeat: number = 0;\n _insideAux: boolean = false;\n _noLineTerminator: boolean = false;\n _noLineTerminatorAfterNode: t.Node | null = null;\n _printAuxAfterOnNextUserNode: boolean = false;\n _printedComments = new Set<t.Comment>();\n _endsWithInteger = false;\n _endsWithWord = false;\n _endsWithDiv = false;\n _lastCommentLine = 0;\n _endsWithInnerRaw: boolean = false;\n _indentInnerComments: boolean = true;\n tokenMap: TokenMap = null;\n\n _boundGetRawIdentifier = this._getRawIdentifier.bind(this);\n\n generate(ast: t.Node) {\n if (this.format.preserveFormat) {\n this.tokenMap = new TokenMap(ast, this._tokens, this._originalCode);\n }\n this.print(ast);\n this._maybeAddAuxComment();\n\n return this._buf.get();\n }\n\n /**\n * Increment indent size.\n */\n\n indent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent++;\n }\n\n /**\n * Decrement indent size.\n */\n\n dedent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent--;\n }\n\n /**\n * If the next token is on the same line, we must first print a semicolon.\n * This option is only used in `preserveFormat` node, for semicolons that\n * might have omitted due to them being absent in the original code (thanks\n * to ASI).\n *\n * We need both *NextToken and *NextNode because we only want to insert the\n * semicolon when the next token starts a new node, and not in cases like\n * foo} (where } is not starting a new node). So we first set *NextNode, and\n * then the print() method will move it to *NextToken.\n */\n _printSemicolonBeforeNextNode: number = -1;\n _printSemicolonBeforeNextToken: number = -1;\n\n /**\n * Add a semicolon to the buffer.\n */\n semicolon(force: boolean = false): void {\n this._maybeAddAuxComment();\n if (force) {\n this._appendChar(charCodes.semicolon);\n this._noLineTerminator = false;\n return;\n }\n if (this.tokenMap) {\n const node = this._currentNode;\n if (node.start != null && node.end != null) {\n if (!this.tokenMap.endMatches(node, \";\")) {\n // no semicolon\n this._printSemicolonBeforeNextNode = this._buf.getCurrentLine();\n return;\n }\n const indexes = this.tokenMap.getIndexes(this._currentNode);\n this._catchUpTo(this._tokens[indexes[indexes.length - 1]].loc.start);\n }\n }\n this._queue(charCodes.semicolon);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a right brace to the buffer.\n */\n\n rightBrace(node: t.Node): void {\n if (this.format.minified) {\n this._buf.removeLastSemicolon();\n }\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\"}\");\n }\n\n rightParens(node: t.Node): void {\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\")\");\n }\n\n /**\n * Add a space to the buffer unless it is compact.\n */\n\n space(force: boolean = false): void {\n const { format } = this;\n if (format.compact || format.preserveFormat) return;\n\n if (force) {\n this._space();\n } else if (this._buf.hasContent()) {\n const lastCp = this.getLastChar();\n if (lastCp !== charCodes.space && lastCp !== charCodes.lineFeed) {\n this._space();\n }\n }\n }\n\n /**\n * Writes a token that can't be safely parsed without taking whitespace into account.\n */\n\n word(str: string, noLineTerminatorAfter: boolean = false): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n // prevent concatenating words and creating // comment out of division and regex\n if (\n this._endsWithWord ||\n (this._endsWithDiv && str.charCodeAt(0) === charCodes.slash)\n ) {\n this._space();\n }\n this._append(str, false);\n\n this._endsWithWord = true;\n this._noLineTerminator = noLineTerminatorAfter;\n }\n\n /**\n * Writes a number token so that we can validate if it is an integer.\n */\n\n number(str: string, number?: number): void {\n // const NON_DECIMAL_LITERAL = /^0[box]/;\n function isNonDecimalLiteral(str: string) {\n if (str.length > 2 && str.charCodeAt(0) === charCodes.digit0) {\n const secondChar = str.charCodeAt(1);\n return (\n secondChar === charCodes.lowercaseB ||\n secondChar === charCodes.lowercaseO ||\n secondChar === charCodes.lowercaseX\n );\n }\n return false;\n }\n this.word(str);\n\n // Integer tokens need special handling because they cannot have '.'s inserted\n // immediately after them.\n this._endsWithInteger =\n Number.isInteger(number) &&\n !isNonDecimalLiteral(str) &&\n !SCIENTIFIC_NOTATION.test(str) &&\n !ZERO_DECIMAL_INTEGER.test(str) &&\n str.charCodeAt(str.length - 1) !== charCodes.dot;\n }\n\n /**\n * Writes a simple token.\n *\n * @param {string} str The string to append.\n * @param {boolean} [maybeNewline=false] Wether `str` might potentially\n * contain a line terminator or not.\n * @param {number} [occurrenceCount=0] The occurrence count of this token in\n * the current node. This is used when printing in `preserveFormat` mode,\n * to know which token we should map to (for example, to disambiguate the\n * commas in an array literal).\n */\n token(str: string, maybeNewline = false, occurrenceCount = 0): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str, occurrenceCount);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str, occurrenceCount);\n\n const lastChar = this.getLastChar();\n const strFirst = str.charCodeAt(0);\n if (\n (lastChar === charCodes.exclamationMark &&\n // space is mandatory to avoid outputting <!--\n // http://javascript.spec.whatwg.org/#comment-syntax\n (str === \"--\" ||\n // Needs spaces to avoid changing a! == 0 to a!== 0\n strFirst === charCodes.equalsTo)) ||\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (strFirst === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (strFirst === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (strFirst === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._append(str, maybeNewline);\n this._noLineTerminator = false;\n }\n\n tokenChar(char: number): void {\n this.tokenContext = 0;\n\n const str = String.fromCharCode(char);\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n const lastChar = this.getLastChar();\n if (\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (char === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (char === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (char === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._appendChar(char);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a newline (or many newlines), maintaining formatting.\n * This function checks the number of newlines in the queue and subtracts them.\n * It currently has some limitations.\n * @see {Buffer#getNewlineCount}\n */\n newline(i: number = 1, force?: boolean): void {\n if (i <= 0) return;\n\n if (!force) {\n if (this.format.retainLines || this.format.compact) return;\n\n if (this.format.concise) {\n this.space();\n return;\n }\n }\n\n if (i > 2) i = 2; // Max two lines\n\n i -= this._buf.getNewlineCount();\n\n for (let j = 0; j < i; j++) {\n this._newline();\n }\n\n return;\n }\n\n endsWith(char: number): boolean {\n return this.getLastChar() === char;\n }\n\n getLastChar(): number {\n return this._buf.getLastChar();\n }\n\n endsWithCharAndNewline(): number {\n return this._buf.endsWithCharAndNewline();\n }\n\n removeTrailingNewline(): void {\n this._buf.removeTrailingNewline();\n }\n\n exactSource(loc: Loc | undefined, cb: () => void) {\n if (!loc) {\n cb();\n return;\n }\n\n this._catchUp(\"start\", loc);\n\n this._buf.exactSource(loc, cb);\n }\n\n source(prop: \"start\" | \"end\", loc: Loc | undefined): void {\n if (!loc) return;\n\n this._catchUp(prop, loc);\n\n this._buf.source(prop, loc);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc | undefined,\n columnOffset: number,\n ): void {\n if (!loc || this.format.preserveFormat) return;\n\n this._catchUp(prop, loc);\n\n this._buf.sourceWithOffset(prop, loc, columnOffset);\n }\n\n sourceIdentifierName(identifierName: string, pos?: Pos): void {\n if (!this._buf._canMarkIdName) return;\n\n const sourcePosition = this._buf._sourcePosition;\n sourcePosition.identifierNamePos = pos;\n sourcePosition.identifierName = identifierName;\n }\n\n _space(): void {\n this._queue(charCodes.space);\n }\n\n _newline(): void {\n this._queue(charCodes.lineFeed);\n }\n\n _catchUpToCurrentToken(str: string, occurrenceCount: number = 0): void {\n // Assert: this.tokenMap\n\n const token = this.tokenMap.findMatching(\n this._currentNode,\n str,\n occurrenceCount,\n );\n if (token) this._catchUpTo(token.loc.start);\n\n if (\n this._printSemicolonBeforeNextToken !== -1 &&\n this._printSemicolonBeforeNextToken === this._buf.getCurrentLine()\n ) {\n this._buf.appendChar(charCodes.semicolon);\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n }\n\n _append(str: string, maybeNewline: boolean): void {\n this._maybeIndent(str.charCodeAt(0));\n\n this._buf.append(str, maybeNewline);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _appendChar(char: number): void {\n this._maybeIndent(char);\n\n this._buf.appendChar(char);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _queue(char: number) {\n this._maybeIndent(char);\n\n this._buf.queue(char);\n\n this._endsWithWord = false;\n this._endsWithInteger = false;\n }\n\n _maybeIndent(firstChar: number): void {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n this._buf.queueIndentation(this._getIndent());\n }\n }\n\n _shouldIndent(firstChar: number) {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n return true;\n }\n }\n\n catchUp(line: number) {\n if (!this.format.retainLines) return;\n\n // catch up to this nodes newline if we're behind\n const count = line - this._buf.getCurrentLine();\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n }\n\n _catchUp(prop: \"start\" | \"end\", loc?: Loc) {\n const { format } = this;\n if (!format.preserveFormat) {\n if (format.retainLines && loc?.[prop]) {\n this.catchUp(loc[prop].line);\n }\n return;\n }\n\n // catch up to this nodes newline if we're behind\n const pos = loc?.[prop];\n if (pos != null) this._catchUpTo(pos);\n }\n\n _catchUpTo({ line, column, index }: Pos) {\n const count = line - this._buf.getCurrentLine();\n if (count > 0 && this._noLineTerminator) {\n // We cannot inject new lines when _noLineTemrinator is set\n // to `true`, or we would generate invalid code.\n return;\n }\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n\n const spacesCount =\n count > 0 ? column : column - this._buf.getCurrentColumn();\n if (spacesCount > 0) {\n const spaces = this._originalCode\n ? this._originalCode\n .slice(index - spacesCount, index)\n // https://tc39.es/ecma262/#sec-white-space\n .replace(/[^\\t\\v\\f\\uFEFF\\p{Space_Separator}]/gu, \" \")\n : \" \".repeat(spacesCount);\n this._append(spaces, false);\n }\n }\n\n /**\n * Get the current indent.\n */\n\n _getIndent(): number {\n return this._indentRepeat * this._indent;\n }\n\n printTerminatorless(node: t.Node) {\n /**\n * Set some state that will be modified if a newline has been inserted before any\n * non-space characters.\n *\n * This is to prevent breaking semantics for terminatorless separator nodes. eg:\n *\n * return foo;\n *\n * returns `foo`. But if we do:\n *\n * return\n * foo;\n *\n * `undefined` will be returned and not `foo` due to the terminator.\n */\n this._noLineTerminator = true;\n this.print(node);\n }\n\n print(\n node: t.Node | null,\n noLineTerminatorAfter?: boolean,\n // trailingCommentsLineOffset also used to check if called from printJoin\n // it will be ignored if `noLineTerminatorAfter||this._noLineTerminator`\n trailingCommentsLineOffset?: number,\n ) {\n if (!node) return;\n\n this._endsWithInnerRaw = false;\n\n const nodeType = node.type;\n const format = this.format;\n\n const oldConcise = format.concise;\n if (\n // @ts-expect-error document _compact AST properties\n node._compact\n ) {\n format.concise = true;\n }\n\n const printMethod =\n this[\n nodeType as Exclude<\n t.Node[\"type\"],\n | DeprecatedBabel7ASTTypes\n // renamed\n | t.DeprecatedAliases[\"type\"]\n >\n ];\n if (printMethod === undefined) {\n throw new ReferenceError(\n `unknown node of type ${JSON.stringify(\n nodeType,\n )} with constructor ${JSON.stringify(node.constructor.name)}`,\n );\n }\n\n const parent = this._currentNode;\n this._currentNode = node;\n\n if (this.tokenMap) {\n this._printSemicolonBeforeNextToken = this._printSemicolonBeforeNextNode;\n }\n\n const oldInAux = this._insideAux;\n this._insideAux = node.loc == null;\n this._maybeAddAuxComment(this._insideAux && !oldInAux);\n\n const parenthesized = node.extra?.parenthesized as boolean | undefined;\n let shouldPrintParens =\n (parenthesized && format.preserveFormat) ||\n (parenthesized &&\n format.retainFunctionParens &&\n nodeType === \"FunctionExpression\") ||\n needsParens(\n node,\n parent,\n this.tokenContext,\n this.inForStatementInit,\n format.preserveFormat ? this._boundGetRawIdentifier : undefined,\n );\n\n if (\n !shouldPrintParens &&\n parenthesized &&\n node.leadingComments?.length &&\n node.leadingComments[0].type === \"CommentBlock\"\n ) {\n const parentType = parent?.type;\n switch (parentType) {\n case \"ExpressionStatement\":\n case \"VariableDeclarator\":\n case \"AssignmentExpression\":\n case \"ReturnStatement\":\n break;\n case \"CallExpression\":\n case \"OptionalCallExpression\":\n case \"NewExpression\":\n if (parent.callee !== node) break;\n // falls through\n default:\n shouldPrintParens = true;\n }\n }\n\n let indentParenthesized = false;\n if (\n !shouldPrintParens &&\n this._noLineTerminator &&\n (node.leadingComments?.some(commentIsNewline) ||\n (this.format.retainLines &&\n node.loc &&\n node.loc.start.line > this._buf.getCurrentLine()))\n ) {\n shouldPrintParens = true;\n indentParenthesized = true;\n }\n\n let oldNoLineTerminatorAfterNode;\n let oldInForStatementInitWasTrue;\n if (!shouldPrintParens) {\n noLineTerminatorAfter ||=\n parent &&\n this._noLineTerminatorAfterNode === parent &&\n n.isLastChild(parent, node);\n if (noLineTerminatorAfter) {\n if (node.trailingComments?.some(commentIsNewline)) {\n if (isExpression(node)) shouldPrintParens = true;\n } else {\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = node;\n }\n }\n }\n\n if (shouldPrintParens) {\n this.token(\"(\");\n if (indentParenthesized) this.indent();\n this._endsWithInnerRaw = false;\n if (this.inForStatementInit) {\n oldInForStatementInitWasTrue = true;\n this.inForStatementInit = false;\n }\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = null;\n }\n\n this._lastCommentLine = 0;\n\n this._printLeadingComments(node, parent);\n\n const loc = nodeType === \"Program\" || nodeType === \"File\" ? null : node.loc;\n\n this.exactSource(\n loc,\n // @ts-expect-error Expected 1 arguments, but got 3.\n printMethod.bind(this, node, parent),\n );\n\n if (shouldPrintParens) {\n this._printTrailingComments(node, parent);\n if (indentParenthesized) {\n this.dedent();\n this.newline();\n }\n this.token(\")\");\n this._noLineTerminator = noLineTerminatorAfter;\n if (oldInForStatementInitWasTrue) this.inForStatementInit = true;\n } else if (noLineTerminatorAfter && !this._noLineTerminator) {\n this._noLineTerminator = true;\n this._printTrailingComments(node, parent);\n } else {\n this._printTrailingComments(node, parent, trailingCommentsLineOffset);\n }\n\n // end\n this._currentNode = parent;\n format.concise = oldConcise;\n this._insideAux = oldInAux;\n\n if (oldNoLineTerminatorAfterNode !== undefined) {\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n }\n\n this._endsWithInnerRaw = false;\n }\n\n _maybeAddAuxComment(enteredPositionlessNode?: boolean) {\n if (enteredPositionlessNode) this._printAuxBeforeComment();\n if (!this._insideAux) this._printAuxAfterComment();\n }\n\n _printAuxBeforeComment() {\n if (this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = true;\n\n const comment = this.format.auxiliaryCommentBefore;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n _printAuxAfterComment() {\n if (!this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = false;\n\n const comment = this.format.auxiliaryCommentAfter;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n getPossibleRaw(\n node:\n | t.StringLiteral\n | t.NumericLiteral\n | t.BigIntLiteral\n | t.DirectiveLiteral\n | t.JSXText,\n ): string | undefined {\n const extra = node.extra;\n if (\n extra?.raw != null &&\n extra.rawValue != null &&\n node.value === extra.rawValue\n ) {\n // @ts-expect-error: The extra.raw of these AST node types must be a string\n return extra.raw;\n }\n }\n\n printJoin(\n nodes: Array<t.Node> | undefined | null,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintJoinOptions[\"separator\"],\n printTrailingSeparator?: boolean,\n addNewlines?: PrintJoinOptions[\"addNewlines\"],\n iterator?: PrintJoinOptions[\"iterator\"],\n trailingCommentsLineOffset?: number,\n ) {\n if (!nodes?.length) return;\n\n if (indent == null && this.format.retainLines) {\n const startLine = nodes[0].loc?.start.line;\n if (startLine != null && startLine !== this._buf.getCurrentLine()) {\n indent = true;\n }\n }\n\n if (indent) this.indent();\n\n const newlineOpts: AddNewlinesOptions = {\n addNewlines: addNewlines,\n nextNodeStartLine: 0,\n };\n\n const boundSeparator = separator?.bind(this);\n\n const len = nodes.length;\n for (let i = 0; i < len; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n if (statement) this._printNewline(i === 0, newlineOpts);\n\n this.print(node, undefined, trailingCommentsLineOffset || 0);\n\n iterator?.(node, i);\n\n if (boundSeparator != null) {\n if (i < len - 1) boundSeparator(i, false);\n else if (printTrailingSeparator) boundSeparator(i, true);\n }\n\n if (statement) {\n if (!node.trailingComments?.length) {\n this._lastCommentLine = 0;\n }\n\n if (i + 1 === len) {\n this.newline(1);\n } else {\n const nextNode = nodes[i + 1];\n newlineOpts.nextNodeStartLine = nextNode.loc?.start.line || 0;\n\n this._printNewline(true, newlineOpts);\n }\n }\n }\n\n if (indent) this.dedent();\n }\n\n printAndIndentOnComments(node: t.Node) {\n const indent = node.leadingComments && node.leadingComments.length > 0;\n if (indent) this.indent();\n this.print(node);\n if (indent) this.dedent();\n }\n\n printBlock(parent: Extract<t.Node, { body: t.Statement }>) {\n const node = parent.body;\n\n if (node.type !== \"EmptyStatement\") {\n this.space();\n }\n\n this.print(node);\n }\n\n _printTrailingComments(node: t.Node, parent?: t.Node, lineOffset?: number) {\n const { innerComments, trailingComments } = node;\n // We print inner comments here, so that if for some reason they couldn't\n // be printed in earlier locations they are still printed *somewhere*,\n // even if at the end of the node.\n if (innerComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n innerComments,\n node,\n parent,\n lineOffset,\n );\n }\n if (trailingComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n trailingComments,\n node,\n parent,\n lineOffset,\n );\n }\n }\n\n _printLeadingComments(node: t.Node, parent: t.Node) {\n const comments = node.leadingComments;\n if (!comments?.length) return;\n this._printComments(COMMENT_TYPE.LEADING, comments, node, parent);\n }\n\n _maybePrintInnerComments(\n nextTokenStr: string,\n nextTokenOccurrenceCount?: number,\n ) {\n if (this._endsWithInnerRaw) {\n this.printInnerComments(\n this.tokenMap?.findMatching(\n this._currentNode,\n nextTokenStr,\n nextTokenOccurrenceCount,\n ),\n );\n }\n this._endsWithInnerRaw = true;\n this._indentInnerComments = true;\n }\n\n printInnerComments(nextToken?: Token) {\n const node = this._currentNode;\n const comments = node.innerComments;\n if (!comments?.length) return;\n\n const hasSpace = this.endsWith(charCodes.space);\n const indent = this._indentInnerComments;\n const printedCommentsCount = this._printedComments.size;\n if (indent) this.indent();\n this._printComments(\n COMMENT_TYPE.INNER,\n comments,\n node,\n undefined,\n undefined,\n nextToken,\n );\n if (hasSpace && printedCommentsCount !== this._printedComments.size) {\n this.space();\n }\n if (indent) this.dedent();\n }\n\n noIndentInnerCommentsHere() {\n this._indentInnerComments = false;\n }\n\n printSequence(\n nodes: t.Node[],\n indent?: boolean,\n trailingCommentsLineOffset?: number,\n addNewlines?: PrintSequenceOptions[\"addNewlines\"],\n ) {\n this.printJoin(\n nodes,\n true,\n indent ?? false,\n undefined,\n undefined,\n addNewlines,\n undefined,\n trailingCommentsLineOffset,\n );\n }\n\n printList(\n items: t.Node[],\n printTrailingSeparator?: boolean,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintListOptions[\"separator\"],\n iterator?: PrintListOptions[\"iterator\"],\n ) {\n this.printJoin(\n items,\n statement,\n indent,\n separator ?? commaSeparator,\n printTrailingSeparator,\n undefined,\n iterator,\n );\n }\n\n shouldPrintTrailingComma(listEnd: string): boolean | null {\n if (!this.tokenMap) return null;\n\n const listEndIndex = this.tokenMap.findLastIndex(this._currentNode, token =>\n this.tokenMap.matchesOriginal(token, listEnd),\n );\n if (listEndIndex <= 0) return null;\n return this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], \",\");\n }\n\n _printNewline(newLine: boolean, opts: AddNewlinesOptions) {\n const format = this.format;\n\n // Fast path since 'this.newline' does nothing when not tracking lines.\n if (format.retainLines || format.compact) return;\n\n // Fast path for concise since 'this.newline' just inserts a space when\n // concise formatting is in use.\n if (format.concise) {\n this.space();\n return;\n }\n\n if (!newLine) {\n return;\n }\n\n const startLine = opts.nextNodeStartLine;\n const lastCommentLine = this._lastCommentLine;\n if (startLine > 0 && lastCommentLine > 0) {\n const offset = startLine - lastCommentLine;\n if (offset >= 0) {\n this.newline(offset || 1);\n return;\n }\n }\n\n // don't add newlines at the beginning of the file\n if (this._buf.hasContent()) {\n // Here is the logic of the original line wrapping according to the node layout, we are not using it now.\n // We currently add at most one newline to each node in the list, ignoring `opts.addNewlines`.\n\n // let lines = 0;\n // if (!leading) lines++; // always include at least a single line after\n // if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0;\n\n // const needs = leading ? needsWhitespaceBefore : needsWhitespaceAfter;\n // if (needs(node, parent)) lines++;\n\n // this.newline(Math.min(2, lines));\n\n this.newline(1);\n }\n }\n\n // Returns `PRINT_COMMENT_HINT.DEFER` if the comment cannot be printed in this position due to\n // line terminators, signaling that the print comments loop can stop and\n // resume printing comments at the next possible position. This happens when\n // printing inner comments, since if we have an inner comment with a multiline\n // there is at least one inner position where line terminators are allowed.\n _shouldPrintComment(\n comment: t.Comment,\n nextToken?: Token,\n ): PRINT_COMMENT_HINT {\n // Some plugins (such as flow-strip-types) use this to mark comments as removed using the AST-root 'comments' property,\n // where they can't manually mutate the AST node comment lists.\n if (comment.ignore) return PRINT_COMMENT_HINT.SKIP;\n\n if (this._printedComments.has(comment)) return PRINT_COMMENT_HINT.SKIP;\n\n if (\n this._noLineTerminator &&\n HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(comment.value)\n ) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n\n if (nextToken && this.tokenMap) {\n const commentTok = this.tokenMap.find(\n this._currentNode,\n token => token.value === comment.value,\n );\n if (commentTok && commentTok.start > nextToken.start) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n }\n\n this._printedComments.add(comment);\n\n if (!this.format.shouldPrintComment(comment.value)) {\n return PRINT_COMMENT_HINT.SKIP;\n }\n\n return PRINT_COMMENT_HINT.ALLOW;\n }\n\n _printComment(comment: t.Comment, skipNewLines: COMMENT_SKIP_NEWLINE) {\n const noLineTerminator = this._noLineTerminator;\n const isBlockComment = comment.type === \"CommentBlock\";\n\n // Add a newline before and after a block comment, unless explicitly\n // disallowed\n const printNewLines =\n isBlockComment &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.ALL &&\n !this._noLineTerminator;\n\n if (\n printNewLines &&\n this._buf.hasContent() &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.LEADING\n ) {\n this.newline(1);\n }\n\n const lastCharCode = this.getLastChar();\n if (\n lastCharCode !== charCodes.leftSquareBracket &&\n lastCharCode !== charCodes.leftCurlyBrace &&\n lastCharCode !== charCodes.leftParenthesis\n ) {\n this.space();\n }\n\n let val;\n if (isBlockComment) {\n val = `/*${comment.value}*/`;\n if (this.format.indent.adjustMultilineComment) {\n const offset = comment.loc?.start.column;\n if (offset) {\n const newlineRegex = new RegExp(\"\\\\n\\\\s{1,\" + offset + \"}\", \"g\");\n val = val.replace(newlineRegex, \"\\n\");\n }\n if (this.format.concise) {\n val = val.replace(/\\n(?!$)/g, `\\n`);\n } else {\n let indentSize = this.format.retainLines\n ? 0\n : this._buf.getCurrentColumn();\n\n if (this._shouldIndent(charCodes.slash) || this.format.retainLines) {\n indentSize += this._getIndent();\n }\n\n val = val.replace(/\\n(?!$)/g, `\\n${\" \".repeat(indentSize)}`);\n }\n }\n } else if (!noLineTerminator) {\n val = `//${comment.value}`;\n } else {\n // It was a single-line comment, so it's guaranteed to not\n // contain newlines and it can be safely printed as a block\n // comment.\n val = `/*${comment.value}*/`;\n }\n\n // Avoid converting a / operator into a line comment by appending /* to it\n if (this._endsWithDiv) this._space();\n\n if (this.tokenMap) {\n const { _printSemicolonBeforeNextToken, _printSemicolonBeforeNextNode } =\n this;\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n this._printSemicolonBeforeNextNode = _printSemicolonBeforeNextNode;\n this._printSemicolonBeforeNextToken = _printSemicolonBeforeNextToken;\n } else {\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n }\n\n if (!isBlockComment && !noLineTerminator) {\n this.newline(1, true);\n }\n\n if (printNewLines && skipNewLines !== COMMENT_SKIP_NEWLINE.TRAILING) {\n this.newline(1);\n }\n }\n\n _printComments(\n type: COMMENT_TYPE,\n comments: readonly t.Comment[],\n node: t.Node,\n parent?: t.Node,\n lineOffset: number = 0,\n nextToken?: Token,\n ) {\n const nodeLoc = node.loc;\n const len = comments.length;\n let hasLoc = !!nodeLoc;\n const nodeStartLine = hasLoc ? nodeLoc.start.line : 0;\n const nodeEndLine = hasLoc ? nodeLoc.end.line : 0;\n let lastLine = 0;\n let leadingCommentNewline = 0;\n\n const maybeNewline = this._noLineTerminator\n ? function () {}\n : this.newline.bind(this);\n\n for (let i = 0; i < len; i++) {\n const comment = comments[i];\n\n const shouldPrint = this._shouldPrintComment(comment, nextToken);\n if (shouldPrint === PRINT_COMMENT_HINT.DEFER) {\n hasLoc = false;\n break;\n }\n if (hasLoc && comment.loc && shouldPrint === PRINT_COMMENT_HINT.ALLOW) {\n const commentStartLine = comment.loc.start.line;\n const commentEndLine = comment.loc.end.line;\n if (type === COMMENT_TYPE.LEADING) {\n let offset = 0;\n if (i === 0) {\n // Because currently we cannot handle blank lines before leading comments,\n // we always wrap before and after multi-line comments.\n if (\n this._buf.hasContent() &&\n (comment.type === \"CommentLine\" ||\n commentStartLine !== commentEndLine)\n ) {\n offset = leadingCommentNewline = 1;\n }\n } else {\n offset = commentStartLine - lastLine;\n }\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(\n Math.max(nodeStartLine - lastLine, leadingCommentNewline),\n );\n lastLine = nodeStartLine;\n }\n } else if (type === COMMENT_TYPE.INNER) {\n const offset =\n commentStartLine - (i === 0 ? nodeStartLine : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(Math.min(1, nodeEndLine - lastLine)); // TODO: Improve here when inner comments processing is stronger\n lastLine = nodeEndLine;\n }\n } else {\n const offset =\n commentStartLine - (i === 0 ? nodeEndLine - lineOffset : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n }\n } else {\n hasLoc = false;\n if (shouldPrint !== PRINT_COMMENT_HINT.ALLOW) {\n continue;\n }\n\n if (len === 1) {\n const singleLine = comment.loc\n ? comment.loc.start.line === comment.loc.end.line\n : !HAS_NEWLINE.test(comment.value);\n\n const shouldSkipNewline =\n singleLine &&\n !isStatement(node) &&\n !isClassBody(parent) &&\n !isTSInterfaceBody(parent) &&\n !isTSEnumMember(node);\n\n if (type === COMMENT_TYPE.LEADING) {\n this._printComment(\n comment,\n (shouldSkipNewline && node.type !== \"ObjectExpression\") ||\n (singleLine && isFunction(parent, { body: node }))\n ? COMMENT_SKIP_NEWLINE.ALL\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else if (shouldSkipNewline && type === COMMENT_TYPE.TRAILING) {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n } else if (\n type === COMMENT_TYPE.INNER &&\n !(node.type === \"ObjectExpression\" && node.properties.length > 1) &&\n node.type !== \"ClassBody\" &&\n node.type !== \"TSInterfaceBody\"\n ) {\n // class X {\n // /*:: a: number*/\n // /*:: b: ?string*/\n // }\n\n this._printComment(\n comment,\n i === 0\n ? COMMENT_SKIP_NEWLINE.LEADING\n : i === len - 1\n ? COMMENT_SKIP_NEWLINE.TRAILING\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n }\n }\n\n if (type === COMMENT_TYPE.TRAILING && hasLoc && lastLine) {\n this._lastCommentLine = lastLine;\n }\n }\n}\n\n// Expose the node type functions and helpers on the prototype for easy usage.\nObject.assign(Printer.prototype, generatorFunctions);\n\nif (!process.env.BABEL_8_BREAKING) {\n addDeprecatedGenerators(Printer);\n}\n\ntype GeneratorFunctions = typeof generatorFunctions;\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface Printer extends GeneratorFunctions {}\nexport default Printer;\n\nfunction commaSeparator(this: Printer, occurrenceCount: number, last: boolean) {\n this.token(\",\", false, occurrenceCount);\n if (!last) this.space();\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,CAAA,GAAAD,OAAA;AAEA,IAAAE,EAAA,GAAAF,OAAA;AAUA,IAAAG,SAAA,GAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAGoC;EAflCM,YAAY;EACZC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,iBAAiB;EACjBC;AAAc,IAAAT,EAAA;AAmBhB,MAAMU,mBAAmB,GAAG,IAAI;AAChC,MAAMC,oBAAoB,GAAG,OAAO;AACpC,MAAMC,WAAW,GAAG,oBAAoB;AACxC,MAAMC,gCAAgC,GAAG,yBAAyB;AAElE,SAASC,gBAAgBA,CAACC,CAAY,EAAE;EACtC,OAAOA,CAAC,CAACC,IAAI,KAAK,aAAa,IAAIJ,WAAW,CAACK,IAAI,CAACF,CAAC,CAACG,KAAK,CAAC;AAC9D;AAEA,MAAM;EAAEC;AAAY,CAAC,GAAGpB,CAAC;AAmFzB,MAAMqB,OAAO,CAAC;EACZC,WAAWA,CACTC,MAAc,EACdC,GAAc,EACdC,MAAgB,EAChBC,YAAqB,EACrB;IAAA,KAgBFC,kBAAkB,GAAY,KAAK;IAAA,KA0BnCC,YAAY,GAAW,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,CAAC;QACH,CAAC,MAAM;UACL,IAAI,CAACjB,aAAa,CAACF,OAAO,GAA8B,CAAC;QAC3D;MACF;IACF;IAEA,IAAI/K,IAAI,MAA0B,IAAIuP,MAAM,IAAIG,QAAQ,EAAE;MACxD,IAAI,CAAChO,gBAAgB,GAAGgO,QAAQ;IAClC;EACF;AACF;AAGAW,MAAM,CAACC,MAAM,CAAClQ,OAAO,CAACmQ,SAAS,EAAErR,kBAAkB,CAAC;AAEjB;EACjC,IAAAsR,mCAAuB,EAACpQ,OAAO,CAAC;AAClC;AAAC,IAAAqQ,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAKcvQ,OAAO;AAEtB,SAASsN,cAAcA,CAAgB9H,eAAuB,EAAEgL,IAAa,EAAE;EAC7E,IAAI,CAACpM,KAAK,CAAC,GAAG,EAAE,KAAK,EAAEoB,eAAe,CAAC;EACvC,IAAI,CAACgL,IAAI,EAAE,IAAI,CAAClM,KAAK,CAAC,CAAC;AACzB","ignoreList":[]}
1
+ {"version":3,"names":["_buffer","require","n","_t","_tokenMap","generatorFunctions","isExpression","isFunction","isStatement","isClassBody","isTSInterfaceBody","isTSEnumDeclaration","SCIENTIFIC_NOTATION","ZERO_DECIMAL_INTEGER","HAS_NEWLINE","HAS_NEWLINE_OR_BlOCK_COMMENT_END","commentIsNewline","c","type","test","value","needsParens","Printer","constructor","format","map","tokens","originalCode","inForStatementInit","tokenContext","_tokens","_originalCode","_currentNode","_indent","_indentRepeat","_insideAux","_noLineTerminator","_noLineTerminatorAfterNode","_printAuxAfterOnNextUserNode","_printedComments","Set","_endsWithInteger","_endsWithWord","_endsWithDiv","_lastCommentLine","_endsWithInnerRaw","_indentInnerComments","tokenMap","_boundGetRawIdentifier","_getRawIdentifier","bind","_printSemicolonBeforeNextNode","_printSemicolonBeforeNextToken","indent","style","length","_inputMap","_buf","Buffer","enterForStatementInit","enterDelimited","oldInForStatementInit","oldNoLineTerminatorAfterNode","generate","ast","preserveFormat","TokenMap","print","_maybeAddAuxComment","get","compact","concise","dedent","semicolon","force","_appendChar","node","start","end","endMatches","getCurrentLine","indexes","getIndexes","_catchUpTo","loc","_queue","rightBrace","minified","removeLastSemicolon","sourceWithOffset","token","rightParens","space","_space","hasContent","lastCp","getLastChar","word","str","noLineTerminatorAfter","_maybePrintInnerComments","_catchUpToCurrentToken","charCodeAt","_append","number","isNonDecimalLiteral","secondChar","Number","isInteger","maybeNewline","occurrenceCount","lastChar","strFirst","tokenChar","char","String","fromCharCode","newline","i","retainLines","getNewlineCount","j","_newline","endsWith","endsWithCharAndNewline","removeTrailingNewline","exactSource","cb","_catchUp","source","prop","columnOffset","sourceIdentifierName","identifierName","pos","_canMarkIdName","sourcePosition","_sourcePosition","identifierNamePos","findMatching","appendChar","_maybeIndent","append","queue","firstChar","queueIndentation","_getIndent","_shouldIndent","catchUp","line","count","column","index","spacesCount","getCurrentColumn","spaces","slice","replace","repeat","printTerminatorless","trailingCommentsLineOffset","_node$extra","_node$leadingComments","_node$leadingComments2","nodeType","oldConcise","_compact","printMethod","undefined","ReferenceError","JSON","stringify","name","parent","oldInAux","parenthesized","extra","shouldPrintParens","retainFunctionParens","leadingComments","parentType","callee","indentParenthesized","some","oldInForStatementInitWasTrue","isLastChild","_node$trailingComment","trailingComments","_printLeadingComments","_printTrailingComments","enteredPositionlessNode","_printAuxBeforeComment","_printAuxAfterComment","comment","auxiliaryCommentBefore","_printComment","auxiliaryCommentAfter","getPossibleRaw","raw","rawValue","printJoin","nodes","statement","separator","printTrailingSeparator","addNewlines","iterator","_nodes$0$loc","startLine","newlineOpts","nextNodeStartLine","boundSeparator","len","_printNewline","_node$trailingComment2","_nextNode$loc","nextNode","printAndIndentOnComments","printBlock","body","lineOffset","innerComments","_printComments","comments","nextTokenStr","nextTokenOccurrenceCount","_this$tokenMap","printInnerComments","nextToken","hasSpace","printedCommentsCount","size","noIndentInnerCommentsHere","printSequence","printList","items","commaSeparator","shouldPrintTrailingComma","listEnd","listEndIndex","findLastIndex","matchesOriginal","newLine","opts","lastCommentLine","offset","_shouldPrintComment","ignore","has","commentTok","find","add","shouldPrintComment","skipNewLines","noLineTerminator","isBlockComment","printNewLines","lastCharCode","val","adjustMultilineComment","_comment$loc","newlineRegex","RegExp","indentSize","nodeLoc","hasLoc","nodeStartLine","nodeEndLine","lastLine","leadingCommentNewline","shouldPrint","commentStartLine","commentEndLine","Math","max","min","singleLine","shouldSkipNewline","properties","Object","assign","prototype","Noop","_default","exports","default","last"],"sources":["../src/printer.ts"],"sourcesContent":["import Buffer, { type Pos } from \"./buffer.ts\";\nimport type { Loc } from \"./buffer.ts\";\nimport * as n from \"./node/index.ts\";\nimport type * as t from \"@babel/types\";\nimport {\n isExpression,\n isFunction,\n isStatement,\n isClassBody,\n isTSInterfaceBody,\n isTSEnumDeclaration,\n} from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\n\nimport { TokenMap } from \"./token-map.ts\";\nimport type { GeneratorOptions } from \"./index.ts\";\nimport * as generatorFunctions from \"./generators/index.ts\";\nimport type SourceMap from \"./source-map.ts\";\nimport type { TraceMap } from \"@jridgewell/trace-mapping\";\nimport type { Token } from \"@babel/parser\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nconst SCIENTIFIC_NOTATION = /e/i;\nconst ZERO_DECIMAL_INTEGER = /\\.0+$/;\nconst HAS_NEWLINE = /[\\n\\r\\u2028\\u2029]/;\nconst HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\\n\\r\\u2028\\u2029]|\\*\\//;\n\nfunction commentIsNewline(c: t.Comment) {\n return c.type === \"CommentLine\" || HAS_NEWLINE.test(c.value);\n}\n\nconst { needsParens } = n;\n\nconst enum COMMENT_TYPE {\n LEADING,\n INNER,\n TRAILING,\n}\n\nconst enum COMMENT_SKIP_NEWLINE {\n DEFAULT,\n ALL,\n LEADING,\n TRAILING,\n}\n\nconst enum PRINT_COMMENT_HINT {\n SKIP,\n ALLOW,\n DEFER,\n}\n\nexport type Format = {\n shouldPrintComment: (comment: string) => boolean;\n preserveFormat: boolean;\n retainLines: boolean;\n retainFunctionParens: boolean;\n comments: boolean;\n auxiliaryCommentBefore: string;\n auxiliaryCommentAfter: string;\n compact: boolean | \"auto\";\n minified: boolean;\n concise: boolean;\n indent: {\n adjustMultilineComment: boolean;\n style: string;\n };\n /**\n * @deprecated Removed in Babel 8, syntax type is always 'hash'\n */\n recordAndTupleSyntaxType?: GeneratorOptions[\"recordAndTupleSyntaxType\"];\n jsescOption: jsescOptions;\n /**\n * @deprecated Removed in Babel 8, use `jsescOption` instead\n */\n jsonCompatibleStrings?: boolean;\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: GeneratorOptions[\"topicToken\"];\n /**\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n};\n\ninterface AddNewlinesOptions {\n addNewlines(leading: boolean, node: t.Node): number;\n nextNodeStartLine: number;\n}\n\ninterface PrintSequenceOptions extends Partial<AddNewlinesOptions> {\n statement?: boolean;\n indent?: boolean;\n trailingCommentsLineOffset?: number;\n}\n\ninterface PrintListOptions {\n separator?: (this: Printer, occurrenceCount: number, last: boolean) => void;\n iterator?: (node: t.Node, index: number) => void;\n statement?: boolean;\n indent?: boolean;\n printTrailingSeparator?: boolean;\n}\n\nexport type PrintJoinOptions = PrintListOptions & PrintSequenceOptions;\nclass Printer {\n constructor(\n format: Format,\n map: SourceMap,\n tokens?: Token[],\n originalCode?: string,\n ) {\n this.format = format;\n\n this._tokens = tokens;\n this._originalCode = originalCode;\n\n this._indentRepeat = format.indent.style.length;\n\n this._inputMap = map?._inputMap;\n\n this._buf = new Buffer(map, format.indent.style[0]);\n }\n declare _inputMap: TraceMap;\n\n declare format: Format;\n\n inForStatementInit: boolean = false;\n enterForStatementInit() {\n if (this.inForStatementInit) return () => {};\n this.inForStatementInit = true;\n return () => {\n this.inForStatementInit = false;\n };\n }\n\n enterDelimited() {\n const oldInForStatementInit = this.inForStatementInit;\n const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n if (\n oldInForStatementInit === false &&\n oldNoLineTerminatorAfterNode === null\n ) {\n return () => {};\n }\n this.inForStatementInit = false;\n this._noLineTerminatorAfterNode = null;\n return () => {\n this.inForStatementInit = oldInForStatementInit;\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n };\n }\n\n tokenContext: number = 0;\n\n _tokens: Token[] = null;\n _originalCode: string | null = null;\n\n declare _buf: Buffer;\n _currentNode: t.Node = null;\n _indent: number = 0;\n _indentRepeat: number = 0;\n _insideAux: boolean = false;\n _noLineTerminator: boolean = false;\n _noLineTerminatorAfterNode: t.Node | null = null;\n _printAuxAfterOnNextUserNode: boolean = false;\n _printedComments = new Set<t.Comment>();\n _endsWithInteger = false;\n _endsWithWord = false;\n _endsWithDiv = false;\n _lastCommentLine = 0;\n _endsWithInnerRaw: boolean = false;\n _indentInnerComments: boolean = true;\n tokenMap: TokenMap = null;\n\n _boundGetRawIdentifier = this._getRawIdentifier.bind(this);\n\n generate(ast: t.Node) {\n if (this.format.preserveFormat) {\n this.tokenMap = new TokenMap(ast, this._tokens, this._originalCode);\n }\n this.print(ast);\n this._maybeAddAuxComment();\n\n return this._buf.get();\n }\n\n /**\n * Increment indent size.\n */\n\n indent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent++;\n }\n\n /**\n * Decrement indent size.\n */\n\n dedent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent--;\n }\n\n /**\n * If the next token is on the same line, we must first print a semicolon.\n * This option is only used in `preserveFormat` node, for semicolons that\n * might have omitted due to them being absent in the original code (thanks\n * to ASI).\n *\n * We need both *NextToken and *NextNode because we only want to insert the\n * semicolon when the next token starts a new node, and not in cases like\n * foo} (where } is not starting a new node). So we first set *NextNode, and\n * then the print() method will move it to *NextToken.\n */\n _printSemicolonBeforeNextNode: number = -1;\n _printSemicolonBeforeNextToken: number = -1;\n\n /**\n * Add a semicolon to the buffer.\n */\n semicolon(force: boolean = false): void {\n this._maybeAddAuxComment();\n if (force) {\n this._appendChar(charCodes.semicolon);\n this._noLineTerminator = false;\n return;\n }\n if (this.tokenMap) {\n const node = this._currentNode;\n if (node.start != null && node.end != null) {\n if (!this.tokenMap.endMatches(node, \";\")) {\n // no semicolon\n this._printSemicolonBeforeNextNode = this._buf.getCurrentLine();\n return;\n }\n const indexes = this.tokenMap.getIndexes(this._currentNode);\n this._catchUpTo(this._tokens[indexes[indexes.length - 1]].loc.start);\n }\n }\n this._queue(charCodes.semicolon);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a right brace to the buffer.\n */\n\n rightBrace(node: t.Node): void {\n if (this.format.minified) {\n this._buf.removeLastSemicolon();\n }\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\"}\");\n }\n\n rightParens(node: t.Node): void {\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\")\");\n }\n\n /**\n * Add a space to the buffer unless it is compact.\n */\n\n space(force: boolean = false): void {\n const { format } = this;\n if (format.compact || format.preserveFormat) return;\n\n if (force) {\n this._space();\n } else if (this._buf.hasContent()) {\n const lastCp = this.getLastChar();\n if (lastCp !== charCodes.space && lastCp !== charCodes.lineFeed) {\n this._space();\n }\n }\n }\n\n /**\n * Writes a token that can't be safely parsed without taking whitespace into account.\n */\n\n word(str: string, noLineTerminatorAfter: boolean = false): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n // prevent concatenating words and creating // comment out of division and regex\n if (\n this._endsWithWord ||\n (this._endsWithDiv && str.charCodeAt(0) === charCodes.slash)\n ) {\n this._space();\n }\n this._append(str, false);\n\n this._endsWithWord = true;\n this._noLineTerminator = noLineTerminatorAfter;\n }\n\n /**\n * Writes a number token so that we can validate if it is an integer.\n */\n\n number(str: string, number?: number): void {\n // const NON_DECIMAL_LITERAL = /^0[box]/;\n function isNonDecimalLiteral(str: string) {\n if (str.length > 2 && str.charCodeAt(0) === charCodes.digit0) {\n const secondChar = str.charCodeAt(1);\n return (\n secondChar === charCodes.lowercaseB ||\n secondChar === charCodes.lowercaseO ||\n secondChar === charCodes.lowercaseX\n );\n }\n return false;\n }\n this.word(str);\n\n // Integer tokens need special handling because they cannot have '.'s inserted\n // immediately after them.\n this._endsWithInteger =\n Number.isInteger(number) &&\n !isNonDecimalLiteral(str) &&\n !SCIENTIFIC_NOTATION.test(str) &&\n !ZERO_DECIMAL_INTEGER.test(str) &&\n str.charCodeAt(str.length - 1) !== charCodes.dot;\n }\n\n /**\n * Writes a simple token.\n *\n * @param {string} str The string to append.\n * @param {boolean} [maybeNewline=false] Wether `str` might potentially\n * contain a line terminator or not.\n * @param {number} [occurrenceCount=0] The occurrence count of this token in\n * the current node. This is used when printing in `preserveFormat` mode,\n * to know which token we should map to (for example, to disambiguate the\n * commas in an array literal).\n */\n token(str: string, maybeNewline = false, occurrenceCount = 0): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str, occurrenceCount);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str, occurrenceCount);\n\n const lastChar = this.getLastChar();\n const strFirst = str.charCodeAt(0);\n if (\n (lastChar === charCodes.exclamationMark &&\n // space is mandatory to avoid outputting <!--\n // http://javascript.spec.whatwg.org/#comment-syntax\n (str === \"--\" ||\n // Needs spaces to avoid changing a! == 0 to a!== 0\n strFirst === charCodes.equalsTo)) ||\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (strFirst === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (strFirst === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (strFirst === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._append(str, maybeNewline);\n this._noLineTerminator = false;\n }\n\n tokenChar(char: number): void {\n this.tokenContext = 0;\n\n const str = String.fromCharCode(char);\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n const lastChar = this.getLastChar();\n if (\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (char === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (char === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (char === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._appendChar(char);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a newline (or many newlines), maintaining formatting.\n * This function checks the number of newlines in the queue and subtracts them.\n * It currently has some limitations.\n * @see {Buffer#getNewlineCount}\n */\n newline(i: number = 1, force?: boolean): void {\n if (i <= 0) return;\n\n if (!force) {\n if (this.format.retainLines || this.format.compact) return;\n\n if (this.format.concise) {\n this.space();\n return;\n }\n }\n\n if (i > 2) i = 2; // Max two lines\n\n i -= this._buf.getNewlineCount();\n\n for (let j = 0; j < i; j++) {\n this._newline();\n }\n\n return;\n }\n\n endsWith(char: number): boolean {\n return this.getLastChar() === char;\n }\n\n getLastChar(): number {\n return this._buf.getLastChar();\n }\n\n endsWithCharAndNewline(): number {\n return this._buf.endsWithCharAndNewline();\n }\n\n removeTrailingNewline(): void {\n this._buf.removeTrailingNewline();\n }\n\n exactSource(loc: Loc | undefined, cb: () => void) {\n if (!loc) {\n cb();\n return;\n }\n\n this._catchUp(\"start\", loc);\n\n this._buf.exactSource(loc, cb);\n }\n\n source(prop: \"start\" | \"end\", loc: Loc | undefined): void {\n if (!loc) return;\n\n this._catchUp(prop, loc);\n\n this._buf.source(prop, loc);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc | undefined,\n columnOffset: number,\n ): void {\n if (!loc || this.format.preserveFormat) return;\n\n this._catchUp(prop, loc);\n\n this._buf.sourceWithOffset(prop, loc, columnOffset);\n }\n\n sourceIdentifierName(identifierName: string, pos?: Pos): void {\n if (!this._buf._canMarkIdName) return;\n\n const sourcePosition = this._buf._sourcePosition;\n sourcePosition.identifierNamePos = pos;\n sourcePosition.identifierName = identifierName;\n }\n\n _space(): void {\n this._queue(charCodes.space);\n }\n\n _newline(): void {\n this._queue(charCodes.lineFeed);\n }\n\n _catchUpToCurrentToken(str: string, occurrenceCount: number = 0): void {\n // Assert: this.tokenMap\n\n const token = this.tokenMap.findMatching(\n this._currentNode,\n str,\n occurrenceCount,\n );\n if (token) this._catchUpTo(token.loc.start);\n\n if (\n this._printSemicolonBeforeNextToken !== -1 &&\n this._printSemicolonBeforeNextToken === this._buf.getCurrentLine()\n ) {\n this._buf.appendChar(charCodes.semicolon);\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n }\n\n _append(str: string, maybeNewline: boolean): void {\n this._maybeIndent(str.charCodeAt(0));\n\n this._buf.append(str, maybeNewline);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _appendChar(char: number): void {\n this._maybeIndent(char);\n\n this._buf.appendChar(char);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _queue(char: number) {\n this._maybeIndent(char);\n\n this._buf.queue(char);\n\n this._endsWithWord = false;\n this._endsWithInteger = false;\n }\n\n _maybeIndent(firstChar: number): void {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n this._buf.queueIndentation(this._getIndent());\n }\n }\n\n _shouldIndent(firstChar: number) {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n return true;\n }\n }\n\n catchUp(line: number) {\n if (!this.format.retainLines) return;\n\n // catch up to this nodes newline if we're behind\n const count = line - this._buf.getCurrentLine();\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n }\n\n _catchUp(prop: \"start\" | \"end\", loc?: Loc) {\n const { format } = this;\n if (!format.preserveFormat) {\n if (format.retainLines && loc?.[prop]) {\n this.catchUp(loc[prop].line);\n }\n return;\n }\n\n // catch up to this nodes newline if we're behind\n const pos = loc?.[prop];\n if (pos != null) this._catchUpTo(pos);\n }\n\n _catchUpTo({ line, column, index }: Pos) {\n const count = line - this._buf.getCurrentLine();\n if (count > 0 && this._noLineTerminator) {\n // We cannot inject new lines when _noLineTemrinator is set\n // to `true`, or we would generate invalid code.\n return;\n }\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n\n const spacesCount =\n count > 0 ? column : column - this._buf.getCurrentColumn();\n if (spacesCount > 0) {\n const spaces = this._originalCode\n ? this._originalCode\n .slice(index - spacesCount, index)\n // https://tc39.es/ecma262/#sec-white-space\n .replace(/[^\\t\\v\\f\\uFEFF\\p{Space_Separator}]/gu, \" \")\n : \" \".repeat(spacesCount);\n this._append(spaces, false);\n }\n }\n\n /**\n * Get the current indent.\n */\n\n _getIndent(): number {\n return this._indentRepeat * this._indent;\n }\n\n printTerminatorless(node: t.Node) {\n /**\n * Set some state that will be modified if a newline has been inserted before any\n * non-space characters.\n *\n * This is to prevent breaking semantics for terminatorless separator nodes. eg:\n *\n * return foo;\n *\n * returns `foo`. But if we do:\n *\n * return\n * foo;\n *\n * `undefined` will be returned and not `foo` due to the terminator.\n */\n this._noLineTerminator = true;\n this.print(node);\n }\n\n print(\n node: t.Node | null,\n noLineTerminatorAfter?: boolean,\n // trailingCommentsLineOffset also used to check if called from printJoin\n // it will be ignored if `noLineTerminatorAfter||this._noLineTerminator`\n trailingCommentsLineOffset?: number,\n ) {\n if (!node) return;\n\n this._endsWithInnerRaw = false;\n\n const nodeType = node.type;\n const format = this.format;\n\n const oldConcise = format.concise;\n if (\n // @ts-expect-error document _compact AST properties\n node._compact\n ) {\n format.concise = true;\n }\n\n const printMethod =\n this[\n nodeType as Exclude<\n t.Node[\"type\"],\n // removed\n | \"Noop\"\n // renamed\n | t.DeprecatedAliases[\"type\"]\n >\n ];\n if (printMethod === undefined) {\n throw new ReferenceError(\n `unknown node of type ${JSON.stringify(\n nodeType,\n )} with constructor ${JSON.stringify(node.constructor.name)}`,\n );\n }\n\n const parent = this._currentNode;\n this._currentNode = node;\n\n if (this.tokenMap) {\n this._printSemicolonBeforeNextToken = this._printSemicolonBeforeNextNode;\n }\n\n const oldInAux = this._insideAux;\n this._insideAux = node.loc == null;\n this._maybeAddAuxComment(this._insideAux && !oldInAux);\n\n const parenthesized = node.extra?.parenthesized as boolean | undefined;\n let shouldPrintParens =\n (parenthesized && format.preserveFormat) ||\n (parenthesized &&\n format.retainFunctionParens &&\n nodeType === \"FunctionExpression\") ||\n needsParens(\n node,\n parent,\n this.tokenContext,\n this.inForStatementInit,\n format.preserveFormat ? this._boundGetRawIdentifier : undefined,\n );\n\n if (\n !shouldPrintParens &&\n parenthesized &&\n node.leadingComments?.length &&\n node.leadingComments[0].type === \"CommentBlock\"\n ) {\n const parentType = parent?.type;\n switch (parentType) {\n case \"ExpressionStatement\":\n case \"VariableDeclarator\":\n case \"AssignmentExpression\":\n case \"ReturnStatement\":\n break;\n case \"CallExpression\":\n case \"OptionalCallExpression\":\n case \"NewExpression\":\n if (parent.callee !== node) break;\n // falls through\n default:\n shouldPrintParens = true;\n }\n }\n\n let indentParenthesized = false;\n if (\n !shouldPrintParens &&\n this._noLineTerminator &&\n (node.leadingComments?.some(commentIsNewline) ||\n (this.format.retainLines &&\n node.loc &&\n node.loc.start.line > this._buf.getCurrentLine()))\n ) {\n shouldPrintParens = true;\n indentParenthesized = true;\n }\n\n let oldNoLineTerminatorAfterNode;\n let oldInForStatementInitWasTrue;\n if (!shouldPrintParens) {\n noLineTerminatorAfter ||=\n parent &&\n this._noLineTerminatorAfterNode === parent &&\n n.isLastChild(parent, node);\n if (noLineTerminatorAfter) {\n if (node.trailingComments?.some(commentIsNewline)) {\n if (isExpression(node)) shouldPrintParens = true;\n } else {\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = node;\n }\n }\n }\n\n if (shouldPrintParens) {\n this.token(\"(\");\n if (indentParenthesized) this.indent();\n this._endsWithInnerRaw = false;\n if (this.inForStatementInit) {\n oldInForStatementInitWasTrue = true;\n this.inForStatementInit = false;\n }\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = null;\n }\n\n this._lastCommentLine = 0;\n\n this._printLeadingComments(node, parent);\n\n const loc = nodeType === \"Program\" || nodeType === \"File\" ? null : node.loc;\n\n this.exactSource(\n loc,\n // @ts-expect-error Expected 1 arguments, but got 3.\n printMethod.bind(this, node, parent),\n );\n\n if (shouldPrintParens) {\n this._printTrailingComments(node, parent);\n if (indentParenthesized) {\n this.dedent();\n this.newline();\n }\n this.token(\")\");\n this._noLineTerminator = noLineTerminatorAfter;\n if (oldInForStatementInitWasTrue) this.inForStatementInit = true;\n } else if (noLineTerminatorAfter && !this._noLineTerminator) {\n this._noLineTerminator = true;\n this._printTrailingComments(node, parent);\n } else {\n this._printTrailingComments(node, parent, trailingCommentsLineOffset);\n }\n\n // end\n this._currentNode = parent;\n format.concise = oldConcise;\n this._insideAux = oldInAux;\n\n if (oldNoLineTerminatorAfterNode !== undefined) {\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n }\n\n this._endsWithInnerRaw = false;\n }\n\n _maybeAddAuxComment(enteredPositionlessNode?: boolean) {\n if (enteredPositionlessNode) this._printAuxBeforeComment();\n if (!this._insideAux) this._printAuxAfterComment();\n }\n\n _printAuxBeforeComment() {\n if (this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = true;\n\n const comment = this.format.auxiliaryCommentBefore;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n _printAuxAfterComment() {\n if (!this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = false;\n\n const comment = this.format.auxiliaryCommentAfter;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n getPossibleRaw(\n node:\n | t.StringLiteral\n | t.NumericLiteral\n | t.BigIntLiteral\n | t.DirectiveLiteral\n | t.JSXText,\n ): string | undefined {\n const extra = node.extra;\n if (\n extra?.raw != null &&\n extra.rawValue != null &&\n node.value === extra.rawValue\n ) {\n // @ts-expect-error: The extra.raw of these AST node types must be a string\n return extra.raw;\n }\n }\n\n printJoin(\n nodes: Array<t.Node> | undefined | null,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintJoinOptions[\"separator\"],\n printTrailingSeparator?: boolean,\n addNewlines?: PrintJoinOptions[\"addNewlines\"],\n iterator?: PrintJoinOptions[\"iterator\"],\n trailingCommentsLineOffset?: number,\n ) {\n if (!nodes?.length) return;\n\n if (indent == null && this.format.retainLines) {\n const startLine = nodes[0].loc?.start.line;\n if (startLine != null && startLine !== this._buf.getCurrentLine()) {\n indent = true;\n }\n }\n\n if (indent) this.indent();\n\n const newlineOpts: AddNewlinesOptions = {\n addNewlines: addNewlines,\n nextNodeStartLine: 0,\n };\n\n const boundSeparator = separator?.bind(this);\n\n const len = nodes.length;\n for (let i = 0; i < len; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n if (statement) this._printNewline(i === 0, newlineOpts);\n\n this.print(node, undefined, trailingCommentsLineOffset || 0);\n\n iterator?.(node, i);\n\n if (boundSeparator != null) {\n if (i < len - 1) boundSeparator(i, false);\n else if (printTrailingSeparator) boundSeparator(i, true);\n }\n\n if (statement) {\n if (!node.trailingComments?.length) {\n this._lastCommentLine = 0;\n }\n\n if (i + 1 === len) {\n this.newline(1);\n } else {\n const nextNode = nodes[i + 1];\n newlineOpts.nextNodeStartLine = nextNode.loc?.start.line || 0;\n\n this._printNewline(true, newlineOpts);\n }\n }\n }\n\n if (indent) this.dedent();\n }\n\n printAndIndentOnComments(node: t.Node) {\n const indent = node.leadingComments && node.leadingComments.length > 0;\n if (indent) this.indent();\n this.print(node);\n if (indent) this.dedent();\n }\n\n printBlock(parent: Extract<t.Node, { body: t.Statement }>) {\n const node = parent.body;\n\n if (node.type !== \"EmptyStatement\") {\n this.space();\n }\n\n this.print(node);\n }\n\n _printTrailingComments(node: t.Node, parent?: t.Node, lineOffset?: number) {\n const { innerComments, trailingComments } = node;\n // We print inner comments here, so that if for some reason they couldn't\n // be printed in earlier locations they are still printed *somewhere*,\n // even if at the end of the node.\n if (innerComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n innerComments,\n node,\n parent,\n lineOffset,\n );\n }\n if (trailingComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n trailingComments,\n node,\n parent,\n lineOffset,\n );\n }\n }\n\n _printLeadingComments(node: t.Node, parent: t.Node) {\n const comments = node.leadingComments;\n if (!comments?.length) return;\n this._printComments(COMMENT_TYPE.LEADING, comments, node, parent);\n }\n\n _maybePrintInnerComments(\n nextTokenStr: string,\n nextTokenOccurrenceCount?: number,\n ) {\n if (this._endsWithInnerRaw) {\n this.printInnerComments(\n this.tokenMap?.findMatching(\n this._currentNode,\n nextTokenStr,\n nextTokenOccurrenceCount,\n ),\n );\n }\n this._endsWithInnerRaw = true;\n this._indentInnerComments = true;\n }\n\n printInnerComments(nextToken?: Token) {\n const node = this._currentNode;\n const comments = node.innerComments;\n if (!comments?.length) return;\n\n const hasSpace = this.endsWith(charCodes.space);\n const indent = this._indentInnerComments;\n const printedCommentsCount = this._printedComments.size;\n if (indent) this.indent();\n this._printComments(\n COMMENT_TYPE.INNER,\n comments,\n node,\n undefined,\n undefined,\n nextToken,\n );\n if (hasSpace && printedCommentsCount !== this._printedComments.size) {\n this.space();\n }\n if (indent) this.dedent();\n }\n\n noIndentInnerCommentsHere() {\n this._indentInnerComments = false;\n }\n\n printSequence(\n nodes: t.Node[],\n indent?: boolean,\n trailingCommentsLineOffset?: number,\n addNewlines?: PrintSequenceOptions[\"addNewlines\"],\n ) {\n this.printJoin(\n nodes,\n true,\n indent ?? false,\n undefined,\n undefined,\n addNewlines,\n undefined,\n trailingCommentsLineOffset,\n );\n }\n\n printList(\n items: t.Node[],\n printTrailingSeparator?: boolean,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintListOptions[\"separator\"],\n iterator?: PrintListOptions[\"iterator\"],\n ) {\n this.printJoin(\n items,\n statement,\n indent,\n separator ?? commaSeparator,\n printTrailingSeparator,\n undefined,\n iterator,\n );\n }\n\n shouldPrintTrailingComma(listEnd: string): boolean | null {\n if (!this.tokenMap) return null;\n\n const listEndIndex = this.tokenMap.findLastIndex(this._currentNode, token =>\n this.tokenMap.matchesOriginal(token, listEnd),\n );\n if (listEndIndex <= 0) return null;\n return this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], \",\");\n }\n\n _printNewline(newLine: boolean, opts: AddNewlinesOptions) {\n const format = this.format;\n\n // Fast path since 'this.newline' does nothing when not tracking lines.\n if (format.retainLines || format.compact) return;\n\n // Fast path for concise since 'this.newline' just inserts a space when\n // concise formatting is in use.\n if (format.concise) {\n this.space();\n return;\n }\n\n if (!newLine) {\n return;\n }\n\n const startLine = opts.nextNodeStartLine;\n const lastCommentLine = this._lastCommentLine;\n if (startLine > 0 && lastCommentLine > 0) {\n const offset = startLine - lastCommentLine;\n if (offset >= 0) {\n this.newline(offset || 1);\n return;\n }\n }\n\n // don't add newlines at the beginning of the file\n if (this._buf.hasContent()) {\n // Here is the logic of the original line wrapping according to the node layout, we are not using it now.\n // We currently add at most one newline to each node in the list, ignoring `opts.addNewlines`.\n\n // let lines = 0;\n // if (!leading) lines++; // always include at least a single line after\n // if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0;\n\n // const needs = leading ? needsWhitespaceBefore : needsWhitespaceAfter;\n // if (needs(node, parent)) lines++;\n\n // this.newline(Math.min(2, lines));\n\n this.newline(1);\n }\n }\n\n // Returns `PRINT_COMMENT_HINT.DEFER` if the comment cannot be printed in this position due to\n // line terminators, signaling that the print comments loop can stop and\n // resume printing comments at the next possible position. This happens when\n // printing inner comments, since if we have an inner comment with a multiline\n // there is at least one inner position where line terminators are allowed.\n _shouldPrintComment(\n comment: t.Comment,\n nextToken?: Token,\n ): PRINT_COMMENT_HINT {\n // Some plugins (such as flow-strip-types) use this to mark comments as removed using the AST-root 'comments' property,\n // where they can't manually mutate the AST node comment lists.\n if (comment.ignore) return PRINT_COMMENT_HINT.SKIP;\n\n if (this._printedComments.has(comment)) return PRINT_COMMENT_HINT.SKIP;\n\n if (\n this._noLineTerminator &&\n HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(comment.value)\n ) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n\n if (nextToken && this.tokenMap) {\n const commentTok = this.tokenMap.find(\n this._currentNode,\n token => token.value === comment.value,\n );\n if (commentTok && commentTok.start > nextToken.start) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n }\n\n this._printedComments.add(comment);\n\n if (!this.format.shouldPrintComment(comment.value)) {\n return PRINT_COMMENT_HINT.SKIP;\n }\n\n return PRINT_COMMENT_HINT.ALLOW;\n }\n\n _printComment(comment: t.Comment, skipNewLines: COMMENT_SKIP_NEWLINE) {\n const noLineTerminator = this._noLineTerminator;\n const isBlockComment = comment.type === \"CommentBlock\";\n\n // Add a newline before and after a block comment, unless explicitly\n // disallowed\n const printNewLines =\n isBlockComment &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.ALL &&\n !this._noLineTerminator;\n\n if (\n printNewLines &&\n this._buf.hasContent() &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.LEADING\n ) {\n this.newline(1);\n }\n\n const lastCharCode = this.getLastChar();\n if (\n lastCharCode !== charCodes.leftSquareBracket &&\n lastCharCode !== charCodes.leftCurlyBrace &&\n lastCharCode !== charCodes.leftParenthesis\n ) {\n this.space();\n }\n\n let val;\n if (isBlockComment) {\n val = `/*${comment.value}*/`;\n if (this.format.indent.adjustMultilineComment) {\n const offset = comment.loc?.start.column;\n if (offset) {\n const newlineRegex = new RegExp(\"\\\\n\\\\s{1,\" + offset + \"}\", \"g\");\n val = val.replace(newlineRegex, \"\\n\");\n }\n if (this.format.concise) {\n val = val.replace(/\\n(?!$)/g, `\\n`);\n } else {\n let indentSize = this.format.retainLines\n ? 0\n : this._buf.getCurrentColumn();\n\n if (this._shouldIndent(charCodes.slash) || this.format.retainLines) {\n indentSize += this._getIndent();\n }\n\n val = val.replace(/\\n(?!$)/g, `\\n${\" \".repeat(indentSize)}`);\n }\n }\n } else if (!noLineTerminator) {\n val = `//${comment.value}`;\n } else {\n // It was a single-line comment, so it's guaranteed to not\n // contain newlines and it can be safely printed as a block\n // comment.\n val = `/*${comment.value}*/`;\n }\n\n // Avoid converting a / operator into a line comment by appending /* to it\n if (this._endsWithDiv) this._space();\n\n if (this.tokenMap) {\n const { _printSemicolonBeforeNextToken, _printSemicolonBeforeNextNode } =\n this;\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n this._printSemicolonBeforeNextNode = _printSemicolonBeforeNextNode;\n this._printSemicolonBeforeNextToken = _printSemicolonBeforeNextToken;\n } else {\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n }\n\n if (!isBlockComment && !noLineTerminator) {\n this.newline(1, true);\n }\n\n if (printNewLines && skipNewLines !== COMMENT_SKIP_NEWLINE.TRAILING) {\n this.newline(1);\n }\n }\n\n _printComments(\n type: COMMENT_TYPE,\n comments: readonly t.Comment[],\n node: t.Node,\n parent?: t.Node,\n lineOffset: number = 0,\n nextToken?: Token,\n ) {\n const nodeLoc = node.loc;\n const len = comments.length;\n let hasLoc = !!nodeLoc;\n const nodeStartLine = hasLoc ? nodeLoc.start.line : 0;\n const nodeEndLine = hasLoc ? nodeLoc.end.line : 0;\n let lastLine = 0;\n let leadingCommentNewline = 0;\n\n const maybeNewline = this._noLineTerminator\n ? function () {}\n : this.newline.bind(this);\n\n for (let i = 0; i < len; i++) {\n const comment = comments[i];\n\n const shouldPrint = this._shouldPrintComment(comment, nextToken);\n if (shouldPrint === PRINT_COMMENT_HINT.DEFER) {\n hasLoc = false;\n break;\n }\n if (hasLoc && comment.loc && shouldPrint === PRINT_COMMENT_HINT.ALLOW) {\n const commentStartLine = comment.loc.start.line;\n const commentEndLine = comment.loc.end.line;\n if (type === COMMENT_TYPE.LEADING) {\n let offset = 0;\n if (i === 0) {\n // Because currently we cannot handle blank lines before leading comments,\n // we always wrap before and after multi-line comments.\n if (\n this._buf.hasContent() &&\n (comment.type === \"CommentLine\" ||\n commentStartLine !== commentEndLine)\n ) {\n offset = leadingCommentNewline = 1;\n }\n } else {\n offset = commentStartLine - lastLine;\n }\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(\n Math.max(nodeStartLine - lastLine, leadingCommentNewline),\n );\n lastLine = nodeStartLine;\n }\n } else if (type === COMMENT_TYPE.INNER) {\n const offset =\n commentStartLine - (i === 0 ? nodeStartLine : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(Math.min(1, nodeEndLine - lastLine)); // TODO: Improve here when inner comments processing is stronger\n lastLine = nodeEndLine;\n }\n } else {\n const offset =\n commentStartLine - (i === 0 ? nodeEndLine - lineOffset : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n }\n } else {\n hasLoc = false;\n if (shouldPrint !== PRINT_COMMENT_HINT.ALLOW) {\n continue;\n }\n\n if (len === 1) {\n const singleLine = comment.loc\n ? comment.loc.start.line === comment.loc.end.line\n : !HAS_NEWLINE.test(comment.value);\n\n const shouldSkipNewline =\n singleLine &&\n !isStatement(node) &&\n !isClassBody(parent) &&\n !isTSInterfaceBody(parent) &&\n !isTSEnumDeclaration(parent);\n\n if (type === COMMENT_TYPE.LEADING) {\n this._printComment(\n comment,\n (shouldSkipNewline && node.type !== \"ObjectExpression\") ||\n (singleLine && isFunction(parent, { body: node }))\n ? COMMENT_SKIP_NEWLINE.ALL\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else if (shouldSkipNewline && type === COMMENT_TYPE.TRAILING) {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n } else if (\n type === COMMENT_TYPE.INNER &&\n !(node.type === \"ObjectExpression\" && node.properties.length > 1) &&\n node.type !== \"ClassBody\" &&\n node.type !== \"TSInterfaceBody\"\n ) {\n // class X {\n // /*:: a: number*/\n // /*:: b: ?string*/\n // }\n\n this._printComment(\n comment,\n i === 0\n ? COMMENT_SKIP_NEWLINE.LEADING\n : i === len - 1\n ? COMMENT_SKIP_NEWLINE.TRAILING\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n }\n }\n\n if (type === COMMENT_TYPE.TRAILING && hasLoc && lastLine) {\n this._lastCommentLine = lastLine;\n }\n }\n}\n\n// Expose the node type functions and helpers on the prototype for easy usage.\nObject.assign(Printer.prototype, generatorFunctions);\n\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 has Noop print method\n Printer.prototype.Noop = function Noop(this: Printer) {};\n}\n\ntype GeneratorFunctions = typeof generatorFunctions;\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface Printer extends GeneratorFunctions {}\nexport default Printer;\n\nfunction commaSeparator(this: Printer, occurrenceCount: number, last: boolean) {\n this.token(\",\", false, occurrenceCount);\n if (!last) this.space();\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,CAAA,GAAAD,OAAA;AAEA,IAAAE,EAAA,GAAAF,OAAA;AAUA,IAAAG,SAAA,GAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AAA4D;EAX1DK,YAAY;EACZC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,iBAAiB;EACjBC;AAAmB,IAAAR,EAAA;AAerB,MAAMS,mBAAmB,GAAG,IAAI;AAChC,MAAMC,oBAAoB,GAAG,OAAO;AACpC,MAAMC,WAAW,GAAG,oBAAoB;AACxC,MAAMC,gCAAgC,GAAG,yBAAyB;AAElE,SAASC,gBAAgBA,CAACC,CAAY,EAAE;EACtC,OAAOA,CAAC,CAACC,IAAI,KAAK,aAAa,IAAIJ,WAAW,CAACK,IAAI,CAACF,CAAC,CAACG,KAAK,CAAC;AAC9D;AAEA,MAAM;EAAEC;AAAY,CAAC,GAAGnB,CAAC;AAmFzB,MAAMoB,OAAO,CAAC;EACZC,WAAWA,CACTC,MAAc,EACdC,GAAc,EACdC,MAAgB,EAChBC,YAAqB,EACrB;IAAA,KAgBFC,kBAAkB,GAAY,KAAK;IAAA,KA0BnCC,YAAY,GAAW,CAAC;IAAA,KAExBC,OAAO,GAAY,IAAI;IAAA,KACvBC,aAAa,GAAkB,IAAI;IAAA,KAGnCC,YAAY,GAAW,IAAI;IAAA,KAC3BC,OAAO,GAAW,CAAC;IAAA,KACnBC,aAAa,GAAW,CAAC;IAAA,KACzBC,UAAU,GAAY,KAAK;IAAA,KAC3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;AACF;AAGAW,MAAM,CAACC,MAAM,CAAClQ,OAAO,CAACmQ,SAAS,EAAEpR,kBAAkB,CAAC;AAEjB;EAEjCiB,OAAO,CAACmQ,SAAS,CAACC,IAAI,GAAG,SAASA,IAAIA,CAAA,EAAgB,CAAC,CAAC;AAC1D;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAKcvQ,OAAO;AAEtB,SAASsN,cAAcA,CAAgB9H,eAAuB,EAAEgL,IAAa,EAAE;EAC7E,IAAI,CAACpM,KAAK,CAAC,GAAG,EAAE,KAAK,EAAEoB,eAAe,CAAC;EACvC,IAAI,CAACgL,IAAI,EAAE,IAAI,CAAClM,KAAK,CAAC,CAAC;AACzB","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/generator",
3
- "version": "7.26.10",
3
+ "version": "7.26.3",
4
4
  "description": "Turns an AST into code.",
5
5
  "author": "The Babel Team (https://babel.dev/team)",
6
6
  "license": "MIT",
@@ -19,16 +19,16 @@
19
19
  "lib"
20
20
  ],
21
21
  "dependencies": {
22
- "@babel/parser": "^7.26.10",
23
- "@babel/types": "^7.26.10",
22
+ "@babel/parser": "^7.26.3",
23
+ "@babel/types": "^7.26.3",
24
24
  "@jridgewell/gen-mapping": "^0.3.5",
25
25
  "@jridgewell/trace-mapping": "^0.3.25",
26
26
  "jsesc": "^3.0.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/core": "^7.26.10",
29
+ "@babel/core": "^7.26.0",
30
30
  "@babel/helper-fixtures": "^7.26.0",
31
- "@babel/plugin-transform-typescript": "^7.26.8",
31
+ "@babel/plugin-transform-typescript": "^7.26.3",
32
32
  "@jridgewell/sourcemap-codec": "^1.4.15",
33
33
  "@types/jsesc": "^2.5.0",
34
34
  "charcodes": "^0.2.0"
@@ -120,7 +120,7 @@ function semverifyTarget(target, value) {
120
120
  }
121
121
  }
122
122
  function nodeTargetParser(value) {
123
- const parsed = value === true || value === "current" ? process.versions.node.split("-")[0] : semverifyTarget("node", value);
123
+ const parsed = value === true || value === "current" ? process.versions.node : semverifyTarget("node", value);
124
124
  return ["node", parsed];
125
125
  }
126
126
  function defaultTargetParser(target, value) {
@@ -1 +1 @@
1
- {"version":3,"names":["_browserslist","require","_helperValidatorOption","_nativeModules","_lruCache","_utils","_targets","_options","_pretty","_debug","_filterItems","ESM_SUPPORT","browserModulesData","v","OptionValidator","validateTargetNames","targets","validTargets","Object","keys","TargetNames","target","Error","formatMessage","findSuggestion","isBrowsersQueryValid","browsers","Array","isArray","every","b","validateBrowsers","invariant","undefined","String","getLowestVersions","reduce","all","browser","browserName","browserVersion","split","browserNameMap","splitVersion","toLowerCase","isSplitUnreleased","isUnreleasedVersion","semverify","version","isUnreleased","getLowestUnreleased","parsedBrowserVersion","semverMin","_","outputDecimalWarning","decimalTargets","length","console","warn","forEach","value","semverifyTarget","nodeTargetParser","parsed","process","versions","node","defaultTargetParser","generateTargets","inputTargets","input","assign","esmodules","resolveTargets","queries","env","resolved","browserslist","mobileToDesktop","targetsCache","LruCache","max","resolveTargetsCached","cacheKey","join","cached","get","set","getTargets","options","_browsers","_browsers2","configPath","onBrowserslistConfigFound","shouldParseBrowsers","hasTargets","shouldSearchForConfig","ignoreBrowserslistConfig","BROWSERSLIST","configFile","BROWSERSLIST_CONFIG","findConfigFile","loadConfig","config","browserslistEnv","map","queryBrowsers","esmSupportVersion","getHighestUnreleased","result","decimalWarnings","sort","push","parsedTarget","parsedValue"],"sources":["../src/index.ts"],"sourcesContent":["import browserslist from \"browserslist\";\nimport { findSuggestion } from \"@babel/helper-validator-option\";\nimport browserModulesData from \"@babel/compat-data/native-modules\";\nimport LruCache from \"lru-cache\";\n\nimport {\n semverify,\n semverMin,\n isUnreleasedVersion,\n getLowestUnreleased,\n getHighestUnreleased,\n} from \"./utils.ts\";\nimport { OptionValidator } from \"@babel/helper-validator-option\";\nimport { browserNameMap } from \"./targets.ts\";\nimport { TargetNames } from \"./options.ts\";\nimport type {\n Target,\n Targets,\n InputTargets,\n Browsers,\n BrowserslistBrowserName,\n TargetsTuple,\n} from \"./types.ts\";\n\nexport type { Target, Targets, InputTargets };\n\nexport { prettifyTargets } from \"./pretty.ts\";\nexport { getInclusionReasons } from \"./debug.ts\";\nexport { default as filterItems, isRequired } from \"./filter-items.ts\";\nexport { unreleasedLabels } from \"./targets.ts\";\nexport { TargetNames };\n\nconst ESM_SUPPORT = browserModulesData[\"es6.module\"];\n\nconst v = new OptionValidator(PACKAGE_JSON.name);\n\nfunction validateTargetNames(targets: Targets): TargetsTuple {\n const validTargets = Object.keys(TargetNames);\n for (const target of Object.keys(targets)) {\n if (!(target in TargetNames)) {\n throw new Error(\n v.formatMessage(`'${target}' is not a valid target\n- Did you mean '${findSuggestion(target, validTargets)}'?`),\n );\n }\n }\n\n return targets;\n}\n\nexport function isBrowsersQueryValid(browsers: unknown): boolean {\n return (\n typeof browsers === \"string\" ||\n (Array.isArray(browsers) && browsers.every(b => typeof b === \"string\"))\n );\n}\n\nfunction validateBrowsers(browsers: Browsers | undefined) {\n v.invariant(\n browsers === undefined || isBrowsersQueryValid(browsers),\n `'${String(browsers)}' is not a valid browserslist query`,\n );\n\n return browsers;\n}\n\nfunction getLowestVersions(browsers: Array<string>): Targets {\n return browsers.reduce(\n (all, browser) => {\n const [browserName, browserVersion] = browser.split(\" \") as [\n BrowserslistBrowserName,\n string,\n ];\n const target = browserNameMap[browserName];\n\n if (!target) {\n return all;\n }\n\n try {\n // Browser version can return as \"10.0-10.2\"\n const splitVersion = browserVersion.split(\"-\")[0].toLowerCase();\n const isSplitUnreleased = isUnreleasedVersion(splitVersion, target);\n\n if (!all[target]) {\n all[target] = isSplitUnreleased\n ? splitVersion\n : semverify(splitVersion);\n return all;\n }\n\n const version = all[target];\n const isUnreleased = isUnreleasedVersion(version, target);\n\n if (isUnreleased && isSplitUnreleased) {\n all[target] = getLowestUnreleased(version, splitVersion, target);\n } else if (isUnreleased) {\n all[target] = semverify(splitVersion);\n } else if (!isUnreleased && !isSplitUnreleased) {\n const parsedBrowserVersion = semverify(splitVersion);\n\n all[target] = semverMin(version, parsedBrowserVersion);\n }\n } catch (_) {}\n\n return all;\n },\n {} as Record<Target, string>,\n );\n}\n\nfunction outputDecimalWarning(\n decimalTargets: Array<{ target: string; value: number }>,\n) {\n if (!decimalTargets.length) {\n return;\n }\n\n console.warn(\"Warning, the following targets are using a decimal version:\\n\");\n decimalTargets.forEach(({ target, value }) =>\n console.warn(` ${target}: ${value}`),\n );\n console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`);\n}\n\nfunction semverifyTarget(target: Target, value: string) {\n try {\n return semverify(value);\n } catch (_) {\n throw new Error(\n v.formatMessage(\n `'${value}' is not a valid value for 'targets.${target}'.`,\n ),\n );\n }\n}\n\n// Parse `node: true` and `node: \"current\"` to version\nfunction nodeTargetParser(value: true | string) {\n const parsed =\n value === true || value === \"current\"\n ? // Align with `browserslist` and strip prerelease tag.\n process.versions.node.split(\"-\")[0]\n : semverifyTarget(\"node\", value);\n return [\"node\", parsed] as const;\n}\n\nfunction defaultTargetParser(\n target: Exclude<Target, \"node\">,\n value: string,\n): readonly [Exclude<Target, \"node\">, string] {\n const version = isUnreleasedVersion(value, target)\n ? value.toLowerCase()\n : semverifyTarget(target, value);\n return [target, version] as const;\n}\n\nfunction generateTargets(inputTargets: InputTargets): Targets {\n const input = { ...inputTargets };\n delete input.esmodules;\n delete input.browsers;\n return input;\n}\n\nfunction resolveTargets(queries: Browsers, env?: string): Targets {\n const resolved = browserslist(queries, {\n mobileToDesktop: true,\n env,\n });\n return getLowestVersions(resolved);\n}\n\nconst targetsCache = new LruCache({ max: 64 });\n\nfunction resolveTargetsCached(queries: Browsers, env?: string): Targets {\n const cacheKey = typeof queries === \"string\" ? queries : queries.join() + env;\n let cached = targetsCache.get(cacheKey) as Targets | undefined;\n if (!cached) {\n cached = resolveTargets(queries, env);\n targetsCache.set(cacheKey, cached);\n }\n return { ...cached };\n}\n\ntype GetTargetsOption = {\n // This is not the path of the config file, but the path where start searching it from\n configPath?: string;\n // The path of the config file\n configFile?: string;\n // The env to pass to browserslist\n browserslistEnv?: string;\n // true to disable config loading\n ignoreBrowserslistConfig?: boolean;\n // custom hook when browserslist config is found\n onBrowserslistConfigFound?: (configFile: string) => void;\n};\n\nexport default function getTargets(\n inputTargets: InputTargets = {},\n options: GetTargetsOption = {},\n): Targets {\n let { browsers, esmodules } = inputTargets;\n const { configPath = \".\", onBrowserslistConfigFound } = options;\n\n validateBrowsers(browsers);\n\n const input = generateTargets(inputTargets);\n let targets = validateTargetNames(input);\n\n const shouldParseBrowsers = !!browsers;\n const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0;\n const shouldSearchForConfig =\n !options.ignoreBrowserslistConfig && !hasTargets;\n\n if (!browsers && shouldSearchForConfig) {\n // https://github.com/browserslist/browserslist/blob/8ae85caa905d130f4ca86f7a998a5b63abbbe582/node.js#L243\n browsers = process.env.BROWSERSLIST;\n if (!browsers) {\n const configFile =\n options.configFile ||\n process.env.BROWSERSLIST_CONFIG ||\n browserslist.findConfigFile(configPath);\n if (configFile != null) {\n onBrowserslistConfigFound?.(configFile);\n browsers = browserslist.loadConfig({\n config: configFile,\n env: options.browserslistEnv,\n });\n }\n }\n\n if (browsers == null) {\n if (process.env.BABEL_8_BREAKING) {\n // In Babel 8, if no targets are passed, we use browserslist's defaults.\n browsers = [\"defaults\"];\n } else {\n // If no targets are passed, we need to overwrite browserslist's defaults\n // so that we enable all transforms (acting like the now deprecated\n // preset-latest).\n browsers = [];\n }\n }\n }\n\n // `esmodules` as a target indicates the specific set of browsers supporting ES Modules.\n // These values OVERRIDE the `browsers` field.\n if (esmodules && (esmodules !== \"intersect\" || !browsers?.length)) {\n browsers = Object.keys(ESM_SUPPORT)\n .map(\n (browser: keyof typeof ESM_SUPPORT) =>\n `${browser} >= ${ESM_SUPPORT[browser]}`,\n )\n .join(\", \");\n esmodules = false;\n }\n\n // If current value of `browsers` is undefined (`ignoreBrowserslistConfig` should be `false`)\n // or an empty array (without any user config, use default config),\n // we don't need to call `resolveTargets` to execute the related methods of `browserslist` library.\n if (browsers?.length) {\n const queryBrowsers = resolveTargetsCached(\n browsers,\n options.browserslistEnv,\n );\n\n if (esmodules === \"intersect\") {\n for (const browser of Object.keys(queryBrowsers) as Target[]) {\n if (browser !== \"deno\" && browser !== \"ie\") {\n const esmSupportVersion =\n ESM_SUPPORT[browser === \"opera_mobile\" ? \"op_mob\" : browser];\n\n if (esmSupportVersion) {\n const version = queryBrowsers[browser];\n queryBrowsers[browser] = getHighestUnreleased(\n version,\n semverify(esmSupportVersion),\n browser,\n );\n } else {\n delete queryBrowsers[browser];\n }\n } else {\n delete queryBrowsers[browser];\n }\n }\n }\n\n targets = Object.assign(queryBrowsers, targets);\n }\n\n // Parse remaining targets\n const result: Targets = {};\n const decimalWarnings = [];\n for (const target of Object.keys(targets).sort() as Target[]) {\n const value = targets[target];\n\n // Warn when specifying minor/patch as a decimal\n if (typeof value === \"number\" && value % 1 !== 0) {\n decimalWarnings.push({ target, value });\n }\n\n const [parsedTarget, parsedValue] =\n target === \"node\"\n ? nodeTargetParser(value)\n : defaultTargetParser(target, value as string);\n\n if (parsedValue) {\n // Merge (lowest wins)\n result[parsedTarget] = parsedValue;\n }\n }\n\n outputDecimalWarning(decimalWarnings);\n\n return result;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAQA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAYA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,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CAAC,GACvBO,mBAAmB,CAAC9C,MAAM,EAAEuC,KAAe,CAAC;IAElD,IAAIsD,WAAW,EAAE;MAEfL,MAAM,CAACI,YAAY,CAAC,GAAGC,WAAW;IACpC;EACF;EAEA5D,oBAAoB,CAACwD,eAAe,CAAC;EAErC,OAAOD,MAAM;AACf","ignoreList":[]}
1
+ {"version":3,"names":["_browserslist","require","_helperValidatorOption","_nativeModules","_lruCache","_utils","_targets","_options","_pretty","_debug","_filterItems","ESM_SUPPORT","browserModulesData","v","OptionValidator","validateTargetNames","targets","validTargets","Object","keys","TargetNames","target","Error","formatMessage","findSuggestion","isBrowsersQueryValid","browsers","Array","isArray","every","b","validateBrowsers","invariant","undefined","String","getLowestVersions","reduce","all","browser","browserName","browserVersion","split","browserNameMap","splitVersion","toLowerCase","isSplitUnreleased","isUnreleasedVersion","semverify","version","isUnreleased","getLowestUnreleased","parsedBrowserVersion","semverMin","_","outputDecimalWarning","decimalTargets","length","console","warn","forEach","value","semverifyTarget","nodeTargetParser","parsed","process","versions","node","defaultTargetParser","generateTargets","inputTargets","input","assign","esmodules","resolveTargets","queries","env","resolved","browserslist","mobileToDesktop","targetsCache","LruCache","max","resolveTargetsCached","cacheKey","join","cached","get","set","getTargets","options","_browsers","_browsers2","configPath","onBrowserslistConfigFound","shouldParseBrowsers","hasTargets","shouldSearchForConfig","ignoreBrowserslistConfig","BROWSERSLIST","configFile","BROWSERSLIST_CONFIG","findConfigFile","loadConfig","config","browserslistEnv","map","queryBrowsers","esmSupportVersion","getHighestUnreleased","result","decimalWarnings","sort","push","parsedTarget","parsedValue"],"sources":["../src/index.ts"],"sourcesContent":["import browserslist from \"browserslist\";\nimport { findSuggestion } from \"@babel/helper-validator-option\";\nimport browserModulesData from \"@babel/compat-data/native-modules\";\nimport LruCache from \"lru-cache\";\n\nimport {\n semverify,\n semverMin,\n isUnreleasedVersion,\n getLowestUnreleased,\n getHighestUnreleased,\n} from \"./utils.ts\";\nimport { OptionValidator } from \"@babel/helper-validator-option\";\nimport { browserNameMap } from \"./targets.ts\";\nimport { TargetNames } from \"./options.ts\";\nimport type {\n Target,\n Targets,\n InputTargets,\n Browsers,\n BrowserslistBrowserName,\n TargetsTuple,\n} from \"./types.ts\";\n\nexport type { Target, Targets, InputTargets };\n\nexport { prettifyTargets } from \"./pretty.ts\";\nexport { getInclusionReasons } from \"./debug.ts\";\nexport { default as filterItems, isRequired } from \"./filter-items.ts\";\nexport { unreleasedLabels } from \"./targets.ts\";\nexport { TargetNames };\n\nconst ESM_SUPPORT = browserModulesData[\"es6.module\"];\n\nconst v = new OptionValidator(PACKAGE_JSON.name);\n\nfunction validateTargetNames(targets: Targets): TargetsTuple {\n const validTargets = Object.keys(TargetNames);\n for (const target of Object.keys(targets)) {\n if (!(target in TargetNames)) {\n throw new Error(\n v.formatMessage(`'${target}' is not a valid target\n- Did you mean '${findSuggestion(target, validTargets)}'?`),\n );\n }\n }\n\n return targets;\n}\n\nexport function isBrowsersQueryValid(browsers: unknown): boolean {\n return (\n typeof browsers === \"string\" ||\n (Array.isArray(browsers) && browsers.every(b => typeof b === \"string\"))\n );\n}\n\nfunction validateBrowsers(browsers: Browsers | undefined) {\n v.invariant(\n browsers === undefined || isBrowsersQueryValid(browsers),\n `'${String(browsers)}' is not a valid browserslist query`,\n );\n\n return browsers;\n}\n\nfunction getLowestVersions(browsers: Array<string>): Targets {\n return browsers.reduce(\n (all, browser) => {\n const [browserName, browserVersion] = browser.split(\" \") as [\n BrowserslistBrowserName,\n string,\n ];\n const target = browserNameMap[browserName];\n\n if (!target) {\n return all;\n }\n\n try {\n // Browser version can return as \"10.0-10.2\"\n const splitVersion = browserVersion.split(\"-\")[0].toLowerCase();\n const isSplitUnreleased = isUnreleasedVersion(splitVersion, target);\n\n if (!all[target]) {\n all[target] = isSplitUnreleased\n ? splitVersion\n : semverify(splitVersion);\n return all;\n }\n\n const version = all[target];\n const isUnreleased = isUnreleasedVersion(version, target);\n\n if (isUnreleased && isSplitUnreleased) {\n all[target] = getLowestUnreleased(version, splitVersion, target);\n } else if (isUnreleased) {\n all[target] = semverify(splitVersion);\n } else if (!isUnreleased && !isSplitUnreleased) {\n const parsedBrowserVersion = semverify(splitVersion);\n\n all[target] = semverMin(version, parsedBrowserVersion);\n }\n } catch (_) {}\n\n return all;\n },\n {} as Record<Target, string>,\n );\n}\n\nfunction outputDecimalWarning(\n decimalTargets: Array<{ target: string; value: number }>,\n) {\n if (!decimalTargets.length) {\n return;\n }\n\n console.warn(\"Warning, the following targets are using a decimal version:\\n\");\n decimalTargets.forEach(({ target, value }) =>\n console.warn(` ${target}: ${value}`),\n );\n console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`);\n}\n\nfunction semverifyTarget(target: Target, value: string) {\n try {\n return semverify(value);\n } catch (_) {\n throw new Error(\n v.formatMessage(\n `'${value}' is not a valid value for 'targets.${target}'.`,\n ),\n );\n }\n}\n\n// Parse `node: true` and `node: \"current\"` to version\nfunction nodeTargetParser(value: true | string) {\n const parsed =\n value === true || value === \"current\"\n ? process.versions.node\n : semverifyTarget(\"node\", value);\n return [\"node\", parsed] as const;\n}\n\nfunction defaultTargetParser(\n target: Exclude<Target, \"node\">,\n value: string,\n): readonly [Exclude<Target, \"node\">, string] {\n const version = isUnreleasedVersion(value, target)\n ? value.toLowerCase()\n : semverifyTarget(target, value);\n return [target, version] as const;\n}\n\nfunction generateTargets(inputTargets: InputTargets): Targets {\n const input = { ...inputTargets };\n delete input.esmodules;\n delete input.browsers;\n return input;\n}\n\nfunction resolveTargets(queries: Browsers, env?: string): Targets {\n const resolved = browserslist(queries, {\n mobileToDesktop: true,\n env,\n });\n return getLowestVersions(resolved);\n}\n\nconst targetsCache = new LruCache({ max: 64 });\n\nfunction resolveTargetsCached(queries: Browsers, env?: string): Targets {\n const cacheKey = typeof queries === \"string\" ? queries : queries.join() + env;\n let cached = targetsCache.get(cacheKey) as Targets | undefined;\n if (!cached) {\n cached = resolveTargets(queries, env);\n targetsCache.set(cacheKey, cached);\n }\n return { ...cached };\n}\n\ntype GetTargetsOption = {\n // This is not the path of the config file, but the path where start searching it from\n configPath?: string;\n // The path of the config file\n configFile?: string;\n // The env to pass to browserslist\n browserslistEnv?: string;\n // true to disable config loading\n ignoreBrowserslistConfig?: boolean;\n // custom hook when browserslist config is found\n onBrowserslistConfigFound?: (configFile: string) => void;\n};\n\nexport default function getTargets(\n inputTargets: InputTargets = {},\n options: GetTargetsOption = {},\n): Targets {\n let { browsers, esmodules } = inputTargets;\n const { configPath = \".\", onBrowserslistConfigFound } = options;\n\n validateBrowsers(browsers);\n\n const input = generateTargets(inputTargets);\n let targets = validateTargetNames(input);\n\n const shouldParseBrowsers = !!browsers;\n const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0;\n const shouldSearchForConfig =\n !options.ignoreBrowserslistConfig && !hasTargets;\n\n if (!browsers && shouldSearchForConfig) {\n // https://github.com/browserslist/browserslist/blob/8ae85caa905d130f4ca86f7a998a5b63abbbe582/node.js#L243\n browsers = process.env.BROWSERSLIST;\n if (!browsers) {\n const configFile =\n options.configFile ||\n process.env.BROWSERSLIST_CONFIG ||\n browserslist.findConfigFile(configPath);\n if (configFile != null) {\n onBrowserslistConfigFound?.(configFile);\n browsers = browserslist.loadConfig({\n config: configFile,\n env: options.browserslistEnv,\n });\n }\n }\n\n if (browsers == null) {\n if (process.env.BABEL_8_BREAKING) {\n // In Babel 8, if no targets are passed, we use browserslist's defaults.\n browsers = [\"defaults\"];\n } else {\n // If no targets are passed, we need to overwrite browserslist's defaults\n // so that we enable all transforms (acting like the now deprecated\n // preset-latest).\n browsers = [];\n }\n }\n }\n\n // `esmodules` as a target indicates the specific set of browsers supporting ES Modules.\n // These values OVERRIDE the `browsers` field.\n if (esmodules && (esmodules !== \"intersect\" || !browsers?.length)) {\n browsers = Object.keys(ESM_SUPPORT)\n .map(\n (browser: keyof typeof ESM_SUPPORT) =>\n `${browser} >= ${ESM_SUPPORT[browser]}`,\n )\n .join(\", \");\n esmodules = false;\n }\n\n // If current value of `browsers` is undefined (`ignoreBrowserslistConfig` should be `false`)\n // or an empty array (without any user config, use default config),\n // we don't need to call `resolveTargets` to execute the related methods of `browserslist` library.\n if (browsers?.length) {\n const queryBrowsers = resolveTargetsCached(\n browsers,\n options.browserslistEnv,\n );\n\n if (esmodules === \"intersect\") {\n for (const browser of Object.keys(queryBrowsers) as Target[]) {\n if (browser !== \"deno\" && browser !== \"ie\") {\n const esmSupportVersion =\n ESM_SUPPORT[browser === \"opera_mobile\" ? \"op_mob\" : browser];\n\n if (esmSupportVersion) {\n const version = queryBrowsers[browser];\n queryBrowsers[browser] = getHighestUnreleased(\n version,\n semverify(esmSupportVersion),\n browser,\n );\n } else {\n delete queryBrowsers[browser];\n }\n } else {\n delete queryBrowsers[browser];\n }\n }\n }\n\n targets = Object.assign(queryBrowsers, targets);\n }\n\n // Parse remaining targets\n const result: Targets = {};\n const decimalWarnings = [];\n for (const target of Object.keys(targets).sort() as Target[]) {\n const value = targets[target];\n\n // Warn when specifying minor/patch as a decimal\n if (typeof value === \"number\" && value % 1 !== 0) {\n decimalWarnings.push({ target, value });\n }\n\n const [parsedTarget, parsedValue] =\n target === \"node\"\n ? nodeTargetParser(value)\n : defaultTargetParser(target, value as string);\n\n if (parsedValue) {\n // Merge (lowest wins)\n result[parsedTarget] = parsedValue;\n }\n }\n\n outputDecimalWarning(decimalWarnings);\n\n return result;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAQA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAYA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ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mB,CAAC9C,MAAM,EAAEuC,KAAe,CAAC;IAElD,IAAIsD,WAAW,EAAE;MAEfL,MAAM,CAACI,YAAY,CAAC,GAAGC,WAAW;IACpC;EACF;EAEA5D,oBAAoB,CAACwD,eAAe,CAAC;EAErC,OAAOD,MAAM;AACf","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/helper-compilation-targets",
3
- "version": "7.26.5",
3
+ "version": "7.25.9",
4
4
  "author": "The Babel Team (https://babel.dev/team)",
5
5
  "license": "MIT",
6
6
  "description": "Helper functions on Babel compilation targets",
@@ -25,7 +25,7 @@
25
25
  "babel-plugin"
26
26
  ],
27
27
  "dependencies": {
28
- "@babel/compat-data": "^7.26.5",
28
+ "@babel/compat-data": "^7.25.9",
29
29
  "@babel/helper-validator-option": "^7.25.9",
30
30
  "browserslist": "^4.24.0",
31
31
  "lru-cache": "^5.1.1",
@@ -4,9 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.buildDecoratedClass = buildDecoratedClass;
7
+ exports.hasDecorators = hasDecorators;
8
+ exports.hasOwnDecorators = hasOwnDecorators;
7
9
  var _core = require("@babel/core");
8
10
  var _helperReplaceSupers = require("@babel/helper-replace-supers");
9
- ;
11
+ function hasOwnDecorators(node) {
12
+ var _node$decorators;
13
+ return !!((_node$decorators = node.decorators) != null && _node$decorators.length);
14
+ }
15
+ function hasDecorators(node) {
16
+ return hasOwnDecorators(node) || node.body.body.some(hasOwnDecorators);
17
+ }
10
18
  function prop(key, value) {
11
19
  if (!value) return null;
12
20
  return _core.types.objectProperty(_core.types.identifier(key), value);