condenser 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2405) hide show
  1. checksums.yaml +4 -4
  2. data/lib/condenser/asset.rb +37 -2
  3. data/lib/condenser/environment.rb +15 -0
  4. data/lib/condenser/minifiers/node_modules/.bin/uglifyjs +1 -0
  5. data/lib/condenser/minifiers/node_modules/commander/CHANGELOG.md +419 -0
  6. data/lib/condenser/minifiers/node_modules/commander/LICENSE +22 -0
  7. data/lib/condenser/minifiers/node_modules/commander/Readme.md +428 -0
  8. data/lib/condenser/minifiers/node_modules/commander/index.js +1224 -0
  9. data/lib/condenser/minifiers/node_modules/commander/package.json +70 -0
  10. data/lib/condenser/minifiers/node_modules/commander/typings/index.d.ts +310 -0
  11. data/lib/condenser/minifiers/node_modules/source-map/package.json +1 -1
  12. data/lib/condenser/minifiers/node_modules/uglify-js/LICENSE +1 -1
  13. data/lib/condenser/minifiers/node_modules/uglify-js/README.md +50 -33
  14. data/lib/condenser/minifiers/node_modules/uglify-js/bin/uglifyjs +51 -47
  15. data/lib/condenser/minifiers/node_modules/uglify-js/lib/ast.js +151 -96
  16. data/lib/condenser/minifiers/node_modules/uglify-js/lib/compress.js +3264 -1761
  17. data/lib/condenser/minifiers/node_modules/uglify-js/lib/minify.js +79 -44
  18. data/lib/condenser/minifiers/node_modules/uglify-js/lib/mozilla-ast.js +17 -20
  19. data/lib/condenser/minifiers/node_modules/uglify-js/lib/output.js +350 -384
  20. data/lib/condenser/minifiers/node_modules/uglify-js/lib/parse.js +187 -223
  21. data/lib/condenser/minifiers/node_modules/uglify-js/lib/propmangle.js +45 -55
  22. data/lib/condenser/minifiers/node_modules/uglify-js/lib/scope.js +142 -117
  23. data/lib/condenser/minifiers/node_modules/uglify-js/lib/sourcemap.js +50 -43
  24. data/lib/condenser/minifiers/node_modules/uglify-js/lib/transform.js +52 -81
  25. data/lib/condenser/minifiers/node_modules/uglify-js/lib/utils.js +55 -126
  26. data/lib/condenser/minifiers/node_modules/uglify-js/package.json +10 -11
  27. data/lib/condenser/minifiers/node_modules/uglify-js/tools/domprops.json +1249 -0
  28. data/lib/condenser/minifiers/node_modules/uglify-js/tools/exports.js +3 -3
  29. data/lib/condenser/minifiers/node_modules/uglify-js/tools/node.js +25 -29
  30. data/lib/condenser/minifiers/node_modules/uglify-js/tools/props.html +535 -56
  31. data/lib/condenser/minifiers/package-lock.json +25 -0
  32. data/lib/condenser/pipeline.rb +1 -1
  33. data/lib/condenser/processors/node_modules/{rollup/node_modules/.bin → .bin}/acorn +0 -0
  34. data/lib/condenser/processors/node_modules/@babel/core/lib/config/caching.js +4 -5
  35. data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-chain.js +1 -1
  36. data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-descriptors.js +2 -1
  37. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/configuration.js +27 -36
  38. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/index-browser.js +4 -0
  39. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/index.js +6 -0
  40. data/lib/condenser/processors/node_modules/@babel/core/lib/config/full.js +31 -8
  41. data/lib/condenser/processors/node_modules/@babel/core/lib/config/partial.js +2 -2
  42. data/lib/condenser/processors/node_modules/@babel/core/lib/config/validation/plugins.js +10 -1
  43. data/lib/condenser/processors/node_modules/@babel/core/lib/index.js +3 -1
  44. data/lib/condenser/processors/node_modules/@babel/core/lib/tools/build-external-helpers.js +3 -1
  45. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/file/file.js +8 -3
  46. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/file/generate.js +1 -1
  47. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/file/merge-map.js +14 -22
  48. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/index.js +36 -5
  49. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/normalize-file.js +75 -28
  50. data/lib/condenser/processors/node_modules/@babel/core/package.json +21 -16
  51. data/lib/condenser/processors/node_modules/@babel/generator/lib/buffer.js +1 -14
  52. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/classes.js +6 -45
  53. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/expressions.js +16 -16
  54. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/flow.js +119 -15
  55. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/methods.js +4 -10
  56. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/modules.js +8 -14
  57. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/statements.js +7 -13
  58. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/types.js +8 -22
  59. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/typescript.js +47 -4
  60. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/index.js +9 -14
  61. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/parentheses.js +36 -42
  62. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/whitespace.js +18 -24
  63. data/lib/condenser/processors/node_modules/@babel/generator/lib/printer.js +11 -33
  64. data/lib/condenser/processors/node_modules/@babel/generator/lib/source-map.js +6 -14
  65. data/lib/condenser/processors/node_modules/@babel/generator/package.json +15 -16
  66. data/lib/condenser/processors/node_modules/@babel/helper-annotate-as-pure/LICENSE +1 -1
  67. data/lib/condenser/processors/node_modules/@babel/helper-annotate-as-pure/lib/index.js +4 -10
  68. data/lib/condenser/processors/node_modules/@babel/helper-annotate-as-pure/package.json +15 -11
  69. data/lib/condenser/processors/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/LICENSE +1 -1
  70. data/lib/condenser/processors/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/lib/index.js +7 -21
  71. data/lib/condenser/processors/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json +13 -12
  72. data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/lib/index.js +13 -27
  73. data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/package.json +14 -14
  74. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +23 -47
  75. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +0 -4
  76. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js +139 -150
  77. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +4 -20
  78. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js +13 -29
  79. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js +12 -0
  80. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/package.json +18 -18
  81. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/LICENSE +22 -0
  82. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/README.md +19 -0
  83. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js +27 -0
  84. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js +116 -0
  85. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/lib/util.js +55 -0
  86. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/package.json +68 -0
  87. data/lib/condenser/processors/node_modules/@babel/helper-define-map/lib/index.js +28 -50
  88. data/lib/condenser/processors/node_modules/@babel/helper-define-map/package.json +13 -13
  89. data/lib/condenser/processors/node_modules/@babel/helper-explode-assignable-expression/LICENSE +1 -1
  90. data/lib/condenser/processors/node_modules/@babel/helper-explode-assignable-expression/lib/index.js +17 -23
  91. data/lib/condenser/processors/node_modules/@babel/helper-explode-assignable-expression/package.json +13 -12
  92. data/lib/condenser/processors/node_modules/@babel/helper-function-name/LICENSE +1 -1
  93. data/lib/condenser/processors/node_modules/@babel/helper-function-name/lib/index.js +24 -46
  94. data/lib/condenser/processors/node_modules/@babel/helper-function-name/package.json +14 -13
  95. data/lib/condenser/processors/node_modules/@babel/helper-get-function-arity/LICENSE +1 -1
  96. data/lib/condenser/processors/node_modules/@babel/helper-get-function-arity/lib/index.js +4 -10
  97. data/lib/condenser/processors/node_modules/@babel/helper-get-function-arity/package.json +15 -11
  98. data/lib/condenser/processors/node_modules/@babel/helper-hoist-variables/lib/index.js +5 -11
  99. data/lib/condenser/processors/node_modules/@babel/helper-hoist-variables/package.json +12 -12
  100. data/lib/condenser/processors/node_modules/@babel/helper-member-expression-to-functions/lib/index.js +9 -15
  101. data/lib/condenser/processors/node_modules/@babel/helper-member-expression-to-functions/package.json +12 -12
  102. data/lib/condenser/processors/node_modules/@babel/helper-module-imports/LICENSE +1 -1
  103. data/lib/condenser/processors/node_modules/@babel/helper-module-imports/lib/import-builder.js +31 -45
  104. data/lib/condenser/processors/node_modules/@babel/helper-module-imports/lib/import-injector.js +10 -24
  105. data/lib/condenser/processors/node_modules/@babel/helper-module-imports/package.json +16 -12
  106. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/index.js +32 -70
  107. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +4 -20
  108. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +33 -69
  109. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/package.json +16 -16
  110. data/lib/condenser/processors/node_modules/@babel/helper-optimise-call-expression/LICENSE +1 -1
  111. data/lib/condenser/processors/node_modules/@babel/helper-optimise-call-expression/lib/index.js +6 -12
  112. data/lib/condenser/processors/node_modules/@babel/helper-optimise-call-expression/package.json +15 -11
  113. data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/package.json +1 -0
  114. data/lib/condenser/processors/node_modules/@babel/helper-regex/package.json +3 -5
  115. data/lib/condenser/processors/node_modules/@babel/helper-remap-async-to-generator/LICENSE +1 -1
  116. data/lib/condenser/processors/node_modules/@babel/helper-remap-async-to-generator/lib/index.js +10 -32
  117. data/lib/condenser/processors/node_modules/@babel/helper-remap-async-to-generator/package.json +16 -15
  118. data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/lib/index.js +26 -56
  119. data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/package.json +15 -15
  120. data/lib/condenser/processors/node_modules/@babel/helper-simple-access/LICENSE +1 -1
  121. data/lib/condenser/processors/node_modules/@babel/helper-simple-access/lib/index.js +8 -14
  122. data/lib/condenser/processors/node_modules/@babel/helper-simple-access/package.json +13 -12
  123. data/lib/condenser/processors/node_modules/@babel/helper-split-export-declaration/lib/index.js +8 -14
  124. data/lib/condenser/processors/node_modules/@babel/helper-split-export-declaration/package.json +12 -12
  125. data/lib/condenser/processors/node_modules/@babel/helper-wrap-function/LICENSE +1 -1
  126. data/lib/condenser/processors/node_modules/@babel/helper-wrap-function/lib/index.js +13 -35
  127. data/lib/condenser/processors/node_modules/@babel/helper-wrap-function/package.json +15 -14
  128. data/lib/condenser/processors/node_modules/@babel/helpers/lib/helpers.js +99 -67
  129. data/lib/condenser/processors/node_modules/@babel/helpers/lib/index.js +14 -28
  130. data/lib/condenser/processors/node_modules/@babel/helpers/package.json +15 -15
  131. data/lib/condenser/processors/node_modules/@babel/parser/CHANGELOG.md +13 -13
  132. data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js +1593 -716
  133. data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js.map +1 -0
  134. data/lib/condenser/processors/node_modules/@babel/parser/lib/options.js +35 -0
  135. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js +24 -0
  136. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/comments.js +198 -0
  137. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/expression.js +1703 -0
  138. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/index.js +59 -0
  139. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/location.js +49 -0
  140. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/lval.js +364 -0
  141. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/node.js +89 -0
  142. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/statement.js +1529 -0
  143. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/util.js +228 -0
  144. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugin-utils.js +91 -0
  145. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/estree.js +283 -0
  146. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/flow.js +2690 -0
  147. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/index.js +516 -0
  148. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/xhtml.js +263 -0
  149. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/placeholders.js +204 -0
  150. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/index.js +2076 -0
  151. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/scope.js +94 -0
  152. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/v8intrinsic.js +43 -0
  153. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/context.js +102 -0
  154. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/index.js +1225 -0
  155. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/state.js +101 -0
  156. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/types.js +267 -0
  157. data/lib/condenser/processors/node_modules/@babel/parser/lib/types.js +0 -0
  158. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/identifier.js +99 -0
  159. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/location.js +43 -0
  160. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scope.js +172 -0
  161. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scopeflags.js +82 -0
  162. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/whitespace.js +58 -0
  163. data/lib/condenser/processors/node_modules/@babel/parser/package.json +13 -13
  164. data/lib/condenser/processors/node_modules/@babel/parser/typings/babel-parser.d.ts +29 -18
  165. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/LICENSE +1 -1
  166. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/lib/for-await.js +8 -16
  167. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/lib/index.js +10 -42
  168. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/package.json +15 -14
  169. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-class-properties/lib/index.js +5 -21
  170. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-class-properties/package.json +9 -9
  171. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-dynamic-import/lib/index.js +4 -20
  172. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-dynamic-import/package.json +14 -14
  173. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-json-strings/LICENSE +1 -1
  174. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-json-strings/lib/index.js +4 -20
  175. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-json-strings/package.json +14 -13
  176. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js +109 -100
  177. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/package.json +14 -14
  178. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-catch-binding/LICENSE +1 -1
  179. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-catch-binding/lib/index.js +4 -20
  180. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-catch-binding/package.json +14 -13
  181. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/lib/index.js +8 -53
  182. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/package.json +15 -16
  183. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-async-generators/LICENSE +1 -1
  184. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-async-generators/lib/index.js +2 -10
  185. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-async-generators/package.json +12 -11
  186. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-dynamic-import/LICENSE +1 -1
  187. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js +2 -10
  188. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-dynamic-import/package.json +12 -11
  189. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-json-strings/LICENSE +1 -1
  190. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-json-strings/lib/index.js +2 -10
  191. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-json-strings/package.json +12 -11
  192. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-object-rest-spread/LICENSE +1 -1
  193. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-object-rest-spread/lib/index.js +2 -10
  194. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-object-rest-spread/package.json +12 -11
  195. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-catch-binding/LICENSE +1 -1
  196. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js +2 -10
  197. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json +12 -11
  198. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/LICENSE +22 -0
  199. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/README.md +19 -0
  200. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/lib/index.js +22 -0
  201. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/package.json +53 -0
  202. data/lib/condenser/processors/node_modules/@babel/plugin-transform-arrow-functions/LICENSE +1 -1
  203. data/lib/condenser/processors/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js +2 -10
  204. data/lib/condenser/processors/node_modules/@babel/plugin-transform-arrow-functions/package.json +14 -13
  205. data/lib/condenser/processors/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js +9 -41
  206. data/lib/condenser/processors/node_modules/@babel/plugin-transform-async-to-generator/package.json +15 -15
  207. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoped-functions/LICENSE +1 -1
  208. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoped-functions/lib/index.js +6 -22
  209. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoped-functions/package.json +13 -12
  210. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoping/lib/index.js +78 -109
  211. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoping/lib/tdz.js +10 -18
  212. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoping/package.json +13 -13
  213. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/index.js +12 -60
  214. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/transformClass.js +69 -107
  215. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/package.json +19 -19
  216. data/lib/condenser/processors/node_modules/@babel/plugin-transform-computed-properties/LICENSE +1 -1
  217. data/lib/condenser/processors/node_modules/@babel/plugin-transform-computed-properties/lib/index.js +23 -39
  218. data/lib/condenser/processors/node_modules/@babel/plugin-transform-computed-properties/package.json +13 -12
  219. data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/lib/index.js +75 -91
  220. data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/package.json +13 -13
  221. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/lib/index.js +6 -51
  222. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/package.json +15 -19
  223. data/lib/condenser/processors/node_modules/@babel/plugin-transform-duplicate-keys/lib/index.js +6 -22
  224. data/lib/condenser/processors/node_modules/@babel/plugin-transform-duplicate-keys/package.json +13 -13
  225. data/lib/condenser/processors/node_modules/@babel/plugin-transform-exponentiation-operator/LICENSE +1 -1
  226. data/lib/condenser/processors/node_modules/@babel/plugin-transform-exponentiation-operator/lib/index.js +6 -30
  227. data/lib/condenser/processors/node_modules/@babel/plugin-transform-exponentiation-operator/package.json +14 -13
  228. data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/lib/index.js +36 -52
  229. data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/package.json +13 -13
  230. data/lib/condenser/processors/node_modules/@babel/plugin-transform-function-name/lib/index.js +5 -21
  231. data/lib/condenser/processors/node_modules/@babel/plugin-transform-function-name/package.json +14 -14
  232. data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/LICENSE +1 -1
  233. data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/README.md +1 -1
  234. data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/lib/index.js +2 -10
  235. data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/package.json +13 -12
  236. data/lib/condenser/processors/node_modules/@babel/plugin-transform-member-expression-literals/LICENSE +1 -1
  237. data/lib/condenser/processors/node_modules/@babel/plugin-transform-member-expression-literals/lib/index.js +5 -21
  238. data/lib/condenser/processors/node_modules/@babel/plugin-transform-member-expression-literals/package.json +13 -12
  239. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/lib/index.js +26 -58
  240. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/package.json +14 -14
  241. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js +22 -62
  242. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/package.json +16 -16
  243. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js +56 -86
  244. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/package.json +15 -15
  245. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/LICENSE +1 -1
  246. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/lib/index.js +39 -67
  247. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/package.json +14 -13
  248. data/lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/lib/index.js +6 -47
  249. data/lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/package.json +21 -15
  250. data/lib/condenser/processors/node_modules/@babel/plugin-transform-new-target/lib/index.js +5 -21
  251. data/lib/condenser/processors/node_modules/@babel/plugin-transform-new-target/package.json +15 -15
  252. data/lib/condenser/processors/node_modules/@babel/plugin-transform-object-super/lib/index.js +7 -31
  253. data/lib/condenser/processors/node_modules/@babel/plugin-transform-object-super/package.json +14 -14
  254. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/index.js +2 -10
  255. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/params.js +15 -31
  256. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/rest.js +25 -35
  257. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/package.json +15 -15
  258. data/lib/condenser/processors/node_modules/@babel/plugin-transform-property-literals/LICENSE +1 -1
  259. data/lib/condenser/processors/node_modules/@babel/plugin-transform-property-literals/lib/index.js +5 -21
  260. data/lib/condenser/processors/node_modules/@babel/plugin-transform-property-literals/package.json +13 -12
  261. data/lib/condenser/processors/node_modules/@babel/plugin-transform-regenerator/lib/index.js +2 -10
  262. data/lib/condenser/processors/node_modules/@babel/plugin-transform-regenerator/package.json +13 -13
  263. data/lib/condenser/processors/node_modules/@babel/plugin-transform-reserved-words/LICENSE +1 -1
  264. data/lib/condenser/processors/node_modules/@babel/plugin-transform-reserved-words/lib/index.js +4 -20
  265. data/lib/condenser/processors/node_modules/@babel/plugin-transform-reserved-words/package.json +13 -12
  266. data/lib/condenser/processors/node_modules/@babel/plugin-transform-runtime/lib/helpers.js +5 -21
  267. data/lib/condenser/processors/node_modules/@babel/plugin-transform-runtime/lib/index.js +46 -76
  268. data/lib/condenser/processors/node_modules/@babel/plugin-transform-runtime/package.json +15 -15
  269. data/lib/condenser/processors/node_modules/@babel/plugin-transform-shorthand-properties/LICENSE +1 -1
  270. data/lib/condenser/processors/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js +5 -21
  271. data/lib/condenser/processors/node_modules/@babel/plugin-transform-shorthand-properties/package.json +13 -12
  272. data/lib/condenser/processors/node_modules/@babel/plugin-transform-spread/LICENSE +1 -1
  273. data/lib/condenser/processors/node_modules/@babel/plugin-transform-spread/lib/index.js +20 -36
  274. data/lib/condenser/processors/node_modules/@babel/plugin-transform-spread/package.json +13 -12
  275. data/lib/condenser/processors/node_modules/@babel/plugin-transform-sticky-regex/LICENSE +1 -1
  276. data/lib/condenser/processors/node_modules/@babel/plugin-transform-sticky-regex/lib/index.js +8 -30
  277. data/lib/condenser/processors/node_modules/@babel/plugin-transform-sticky-regex/package.json +13 -12
  278. data/lib/condenser/processors/node_modules/@babel/plugin-transform-template-literals/lib/index.js +19 -35
  279. data/lib/condenser/processors/node_modules/@babel/plugin-transform-template-literals/package.json +14 -14
  280. data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/LICENSE +1 -1
  281. data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/lib/index.js +7 -23
  282. data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/package.json +13 -12
  283. data/lib/condenser/processors/node_modules/@babel/plugin-transform-unicode-regex/lib/index.js +6 -45
  284. data/lib/condenser/processors/node_modules/@babel/plugin-transform-unicode-regex/package.json +15 -16
  285. data/lib/condenser/processors/node_modules/@babel/preset-env/CONTRIBUTING.md +2 -2
  286. data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-in-features.js +25 -1
  287. data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-ins.json +3 -0
  288. data/lib/condenser/processors/node_modules/@babel/preset-env/data/overlapping-plugins.js +16 -0
  289. data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugins.json +6 -0
  290. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/available-plugins.js +132 -42
  291. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/debug.js +10 -10
  292. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/filter-items.js +11 -11
  293. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/index.js +128 -81
  294. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/normalize-options.js +15 -39
  295. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs2/usage-plugin.js +7 -6
  296. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/built-in-definitions.js +2 -2
  297. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js +48 -54
  298. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js +37 -42
  299. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/regenerator/entry-plugin.js +7 -1
  300. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/regenerator/usage-plugin.js +7 -1
  301. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/targets-parser.js +10 -35
  302. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/utils.js +26 -56
  303. data/lib/condenser/processors/node_modules/@babel/preset-env/package.json +57 -57
  304. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/AsyncGenerator.js +1 -1
  305. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/asyncGeneratorDelegate.js +5 -0
  306. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/classStaticPrivateFieldSpecGet.js +4 -0
  307. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/classStaticPrivateFieldSpecSet.js +8 -3
  308. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/AsyncGenerator.js +1 -1
  309. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/asyncGeneratorDelegate.js +5 -0
  310. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/classStaticPrivateFieldSpecGet.js +4 -0
  311. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/classStaticPrivateFieldSpecSet.js +8 -3
  312. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerWarningHelper.js +1 -1
  313. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/interopRequireWildcard.js +46 -16
  314. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js +5 -0
  315. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimitLoose.js +5 -0
  316. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/jsx.js +12 -11
  317. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js +1 -1
  318. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread2.js +2 -2
  319. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/package.json +3 -0
  320. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/tdz.js +3 -0
  321. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/temporalRef.js +2 -5
  322. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/temporalUndefined.js +1 -1
  323. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js +3 -6
  324. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/wrapRegExp.js +4 -4
  325. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/initializerWarningHelper.js +1 -1
  326. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/interopRequireWildcard.js +47 -16
  327. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimit.js +6 -0
  328. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimitLoose.js +6 -0
  329. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/jsx.js +13 -11
  330. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectSpread.js +1 -1
  331. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectSpread2.js +2 -2
  332. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/tdz.js +5 -0
  333. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/temporalRef.js +3 -5
  334. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/temporalUndefined.js +3 -1
  335. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/typeof.js +3 -5
  336. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/wrapRegExp.js +4 -4
  337. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/package.json +6 -6
  338. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/AsyncGenerator.js +1 -1
  339. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +5 -0
  340. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +4 -0
  341. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +8 -3
  342. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +1 -1
  343. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +5 -0
  344. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +4 -0
  345. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +8 -3
  346. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +1 -1
  347. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +45 -16
  348. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +4 -0
  349. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +4 -0
  350. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/jsx.js +10 -10
  351. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/objectSpread.js +1 -1
  352. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +2 -2
  353. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  354. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/tdz.js +3 -0
  355. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/temporalRef.js +2 -5
  356. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +1 -1
  357. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js +3 -5
  358. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +4 -4
  359. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +1 -1
  360. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +45 -16
  361. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +4 -0
  362. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +4 -0
  363. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/jsx.js +10 -10
  364. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/objectSpread.js +1 -1
  365. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/objectSpread2.js +2 -2
  366. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/tdz.js +5 -0
  367. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/temporalRef.js +3 -5
  368. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/temporalUndefined.js +3 -1
  369. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/typeof.js +3 -5
  370. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/wrapRegExp.js +4 -4
  371. data/lib/condenser/processors/node_modules/@babel/runtime/package.json +13 -8
  372. data/lib/condenser/processors/node_modules/@babel/template/lib/index.js +3 -1
  373. data/lib/condenser/processors/node_modules/@babel/template/lib/options.js +1 -1
  374. data/lib/condenser/processors/node_modules/@babel/template/lib/parse.js +16 -38
  375. data/lib/condenser/processors/node_modules/@babel/template/lib/populate.js +20 -26
  376. data/lib/condenser/processors/node_modules/@babel/template/package.json +13 -13
  377. data/lib/condenser/processors/node_modules/@babel/traverse/lib/context.js +4 -10
  378. data/lib/condenser/processors/node_modules/@babel/traverse/lib/index.js +14 -24
  379. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/ancestry.js +5 -11
  380. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/comments.js +5 -11
  381. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/context.js +14 -10
  382. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/conversion.js +72 -107
  383. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/family.js +59 -13
  384. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/index.js +79 -42
  385. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/inference/index.js +20 -26
  386. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +11 -17
  387. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/inference/inferers.js +40 -46
  388. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/introspection.js +122 -70
  389. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/lib/hoister.js +19 -14
  390. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +22 -28
  391. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/modification.js +9 -15
  392. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/removal.js +3 -2
  393. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/replacement.js +27 -49
  394. data/lib/condenser/processors/node_modules/@babel/traverse/lib/scope/index.js +62 -104
  395. data/lib/condenser/processors/node_modules/@babel/traverse/lib/scope/lib/renamer.js +10 -24
  396. data/lib/condenser/processors/node_modules/@babel/traverse/lib/visitors.js +9 -23
  397. data/lib/condenser/processors/node_modules/@babel/traverse/package.json +17 -17
  398. data/lib/condenser/processors/node_modules/@babel/types/lib/asserts/generated/index.js +85 -20
  399. data/lib/condenser/processors/node_modules/@babel/types/lib/builders/builder.js +2 -10
  400. data/lib/condenser/processors/node_modules/@babel/types/lib/builders/generated/index.js +74 -19
  401. data/lib/condenser/processors/node_modules/@babel/types/lib/constants/generated/index.js +5 -1
  402. data/lib/condenser/processors/node_modules/@babel/types/lib/converters/valueToNode.js +4 -20
  403. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/core.js +7 -5
  404. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/es2015.js +13 -7
  405. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/experimental.js +14 -4
  406. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/flow.js +73 -1
  407. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/index.js +9 -17
  408. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/jsx.js +5 -3
  409. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/misc.js +11 -1
  410. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/typescript.js +11 -6
  411. data/lib/condenser/processors/node_modules/@babel/types/lib/index.d.ts +502 -44
  412. data/lib/condenser/processors/node_modules/@babel/types/lib/index.js.flow +182 -40
  413. data/lib/condenser/processors/node_modules/@babel/types/lib/utils/inherit.js +2 -10
  414. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/generated/index.js +232 -24
  415. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isValidIdentifier.js +3 -11
  416. data/lib/condenser/processors/node_modules/@babel/types/package.json +16 -13
  417. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/flow.js +98 -5
  418. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/generateAsserts.js +2 -1
  419. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/typescript.js +175 -17
  420. data/lib/condenser/processors/node_modules/@babel/types/scripts/utils/formatBuilderName.js +2 -1
  421. data/lib/condenser/processors/node_modules/@types/estree/README.md +4 -4
  422. data/lib/condenser/processors/node_modules/@types/estree/flow.d.ts +174 -0
  423. data/lib/condenser/processors/node_modules/@types/estree/index.d.ts +554 -548
  424. data/lib/condenser/processors/node_modules/@types/estree/package.json +16 -15
  425. data/lib/condenser/processors/node_modules/@types/node/README.md +5 -5
  426. data/lib/condenser/processors/node_modules/@types/node/assert.d.ts +4 -6
  427. data/lib/condenser/processors/node_modules/@types/node/async_hooks.d.ts +1 -1
  428. data/lib/condenser/processors/node_modules/@types/node/child_process.d.ts +176 -51
  429. data/lib/condenser/processors/node_modules/@types/node/cluster.d.ts +9 -3
  430. data/lib/condenser/processors/node_modules/@types/node/constants.d.ts +6 -276
  431. data/lib/condenser/processors/node_modules/@types/node/crypto.d.ts +59 -46
  432. data/lib/condenser/processors/node_modules/@types/node/dgram.d.ts +54 -15
  433. data/lib/condenser/processors/node_modules/@types/node/domain.d.ts +5 -5
  434. data/lib/condenser/processors/node_modules/@types/node/events.d.ts +12 -2
  435. data/lib/condenser/processors/node_modules/@types/node/fs.d.ts +208 -47
  436. data/lib/condenser/processors/node_modules/@types/node/globals.d.ts +56 -131
  437. data/lib/condenser/processors/node_modules/@types/node/http.d.ts +18 -9
  438. data/lib/condenser/processors/node_modules/@types/node/http2.d.ts +36 -49
  439. data/lib/condenser/processors/node_modules/@types/node/index.d.ts +8 -25
  440. data/lib/condenser/processors/node_modules/@types/node/module.d.ts +18 -1
  441. data/lib/condenser/processors/node_modules/@types/node/net.d.ts +23 -4
  442. data/lib/condenser/processors/node_modules/@types/node/os.d.ts +157 -127
  443. data/lib/condenser/processors/node_modules/@types/node/package.json +33 -17
  444. data/lib/condenser/processors/node_modules/@types/node/path.d.ts +146 -152
  445. data/lib/condenser/processors/node_modules/@types/node/process.d.ts +12 -0
  446. data/lib/condenser/processors/node_modules/@types/node/querystring.d.ts +1 -4
  447. data/lib/condenser/processors/node_modules/@types/node/readline.d.ts +8 -1
  448. data/lib/condenser/processors/node_modules/@types/node/repl.d.ts +2 -2
  449. data/lib/condenser/processors/node_modules/@types/node/stream.d.ts +18 -1
  450. data/lib/condenser/processors/node_modules/@types/node/tls.d.ts +295 -11
  451. data/lib/condenser/processors/node_modules/@types/node/trace_events.d.ts +3 -3
  452. data/lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts +33 -0
  453. data/lib/condenser/processors/node_modules/@types/node/ts3.2/index.d.ts +1 -5
  454. data/lib/condenser/processors/node_modules/@types/node/ts3.2/util.d.ts +0 -6
  455. data/lib/condenser/processors/node_modules/@types/node/tty.d.ts +2 -1
  456. data/lib/condenser/processors/node_modules/@types/node/url.d.ts +24 -18
  457. data/lib/condenser/processors/node_modules/@types/node/util.d.ts +34 -14
  458. data/lib/condenser/processors/node_modules/@types/node/v8.d.ts +135 -0
  459. data/lib/condenser/processors/node_modules/@types/node/vm.d.ts +15 -0
  460. data/lib/condenser/processors/node_modules/@types/node/worker_threads.d.ts +8 -0
  461. data/lib/condenser/processors/node_modules/@types/node/zlib.d.ts +2 -2
  462. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/CHANGELOG.md +12 -2
  463. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/LICENSE +0 -0
  464. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/README.md +4 -3
  465. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/bin/acorn +0 -0
  466. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/acorn.d.ts +1 -1
  467. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/acorn.js +25 -3
  468. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/acorn.js.map +0 -0
  469. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/acorn.mjs +25 -3
  470. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/acorn.mjs.map +0 -0
  471. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/dist/bin.js +0 -0
  472. data/lib/condenser/processors/node_modules/{rollup/node_modules/acorn → acorn}/package.json +11 -11
  473. data/lib/condenser/processors/node_modules/browserslist/CHANGELOG.md +29 -0
  474. data/lib/condenser/processors/node_modules/browserslist/README.md +52 -38
  475. data/lib/condenser/processors/node_modules/browserslist/index.js +146 -86
  476. data/lib/condenser/processors/node_modules/browserslist/node.js +67 -37
  477. data/lib/condenser/processors/node_modules/browserslist/package.json +20 -9
  478. data/lib/condenser/processors/node_modules/caniuse-lite/CHANGELOG.md +24 -0
  479. data/lib/condenser/processors/node_modules/caniuse-lite/README.md +7 -1
  480. data/lib/condenser/processors/node_modules/caniuse-lite/data/agents.js +1 -1
  481. data/lib/condenser/processors/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  482. data/lib/condenser/processors/node_modules/caniuse-lite/data/features.js +1 -1
  483. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/aac.js +1 -1
  484. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  485. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  486. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  487. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  488. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  489. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  490. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/apng.js +1 -1
  491. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  492. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  493. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  494. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  495. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  496. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  497. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  498. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  499. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js +1 -1
  500. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  501. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  502. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio.js +1 -1
  503. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  504. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  505. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  506. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/av1.js +1 -1
  507. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  508. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  509. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  510. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  511. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  512. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  513. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  514. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  515. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  516. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  517. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  518. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  519. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  520. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  521. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  522. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  523. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/calc.js +1 -1
  524. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  525. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  526. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  527. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  528. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  529. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  530. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  531. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  532. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clear-site-data-header.js +1 -1
  533. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  534. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  535. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  536. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  537. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  538. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/const.js +1 -1
  539. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  540. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  541. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  542. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  543. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cors.js +1 -1
  544. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  545. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  546. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  547. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  548. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  549. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  550. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  551. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-apply-rule.js +1 -1
  552. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  553. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  554. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  555. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  556. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  557. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  558. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  559. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  560. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  561. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  562. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  563. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  564. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  565. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  566. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  567. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  568. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  569. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  570. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  571. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  572. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  573. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  574. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  575. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  576. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  577. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  578. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  579. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  580. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  581. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  582. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  583. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  584. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  585. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  586. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  587. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  588. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  589. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  590. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  591. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphenate.js +1 -1
  592. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  593. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  594. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  595. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  596. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  597. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  598. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  599. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  600. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  601. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  602. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  603. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  604. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  605. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  606. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  607. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  608. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  609. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  610. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  611. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  612. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  613. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  614. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  615. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  616. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  617. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  618. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  619. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  620. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  621. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  622. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  623. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  624. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  625. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  626. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  627. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  628. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  629. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  630. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  631. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  632. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  633. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  634. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  635. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  636. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  637. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  638. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  639. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  640. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  641. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  642. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  643. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  644. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  645. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  646. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  647. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  648. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  649. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  650. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action-2.js +1 -1
  651. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  652. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  653. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  654. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  655. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  656. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  657. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  658. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  659. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  660. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  661. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  662. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  663. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  664. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  665. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  666. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  667. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  668. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  669. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  670. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  671. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  672. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  673. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  674. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/details.js +1 -1
  675. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  676. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  677. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  678. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  679. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  680. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  681. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  682. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  683. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  684. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  685. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  686. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  687. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  688. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js +1 -1
  689. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  690. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/download.js +1 -1
  691. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  692. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  693. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  694. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  695. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eme.js +1 -1
  696. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eot.js +1 -1
  697. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es5.js +1 -1
  698. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  699. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  700. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  701. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  702. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  703. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  704. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6.js +1 -1
  705. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  706. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  707. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  708. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  709. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  710. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  711. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  712. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  713. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flac.js +1 -1
  714. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  715. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  716. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  717. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  718. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js +1 -1
  719. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  720. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  721. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  722. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  723. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  724. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  725. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  726. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  727. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-east-asian.js +1 -1
  728. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  729. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  730. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  731. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  732. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  733. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/forms.js +1 -1
  734. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  735. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  736. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  737. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  738. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  739. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  740. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  741. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  742. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  743. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  744. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/heif.js +1 -1
  745. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  746. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  747. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  748. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/history.js +1 -1
  749. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  750. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  751. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  752. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http2.js +1 -1
  753. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http3.js +1 -0
  754. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  755. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  756. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  757. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  758. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ime.js +1 -1
  759. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  760. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imports.js +1 -1
  761. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  762. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  763. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  764. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  765. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  766. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  767. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  768. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  769. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  770. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  771. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  772. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  773. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  774. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  775. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  776. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  777. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  778. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  779. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  780. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  781. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  782. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  783. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  784. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  785. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  786. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  787. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  788. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  789. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  790. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  791. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/json.js +1 -1
  792. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  793. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  794. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  795. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  796. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  797. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  798. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  799. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  800. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  801. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/let.js +1 -1
  802. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  803. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  804. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  805. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  806. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  807. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  808. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  809. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  810. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  811. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  812. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  813. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  814. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  815. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  816. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  817. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-attribute.js +1 -1
  818. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  819. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-session-api.js +1 -1
  820. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  821. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  822. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  823. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/menu.js +1 -1
  824. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  825. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meter.js +1 -1
  826. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/midi.js +1 -1
  827. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  828. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  829. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  830. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  831. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  832. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  833. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  834. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  835. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  836. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
  837. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  838. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/navigator-language.js +1 -1
  839. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  840. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-contains.js +1 -1
  841. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-parentelement.js +1 -1
  842. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  843. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  844. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  845. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  846. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  847. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  848. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  849. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  850. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  851. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  852. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  853. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  854. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  855. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/opus.js +1 -1
  856. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  857. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/outline.js +1 -1
  858. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  859. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  860. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  861. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  862. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  863. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  864. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  865. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  866. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  867. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture.js +1 -1
  868. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ping.js +1 -1
  869. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  870. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  871. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  872. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  873. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  874. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  875. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-class-fields.js +1 -1
  876. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js +1 -1
  877. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/progress.js +1 -1
  878. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  879. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promises.js +1 -1
  880. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  881. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  882. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/public-class-fields.js +1 -1
  883. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  884. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  885. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  886. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  887. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  888. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  889. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  890. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  891. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  892. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rem.js +1 -1
  893. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/replace-all.js +1 -0
  894. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  895. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  896. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  897. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  898. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  899. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  900. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  901. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  902. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  903. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  904. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  905. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  906. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  907. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  908. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  909. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  910. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  911. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  912. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  913. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sha-2.js +1 -1
  914. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  915. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  916. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  917. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  918. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sni.js +1 -1
  919. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  920. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  921. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  922. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  923. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  924. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  925. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js +1 -1
  926. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stream.js +1 -1
  927. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/streams.js +1 -1
  928. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  929. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  930. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  931. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  932. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  933. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  934. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  935. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  936. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  937. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  938. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  939. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg.js +1 -1
  940. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sxg.js +1 -0
  941. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/symbols.js +1 -1
  942. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  943. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  944. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template.js +1 -1
  945. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  946. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  947. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  948. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  949. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  950. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  951. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-underline-offset.js +1 -0
  952. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  953. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  954. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  955. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  956. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  957. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/token-binding.js +1 -1
  958. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/touch.js +1 -1
  959. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  960. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  961. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  962. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  963. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  964. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  965. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  966. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/url.js +1 -1
  967. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  968. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  969. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  970. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  971. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  972. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  973. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/video.js +1 -1
  974. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  975. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  976. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  977. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  978. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wav.js +1 -1
  979. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  980. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  981. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  982. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  983. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  984. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  985. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  986. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  987. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webhid.js +1 -0
  988. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webm.js +1 -1
  989. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webp.js +1 -1
  990. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  991. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  992. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  993. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  994. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  995. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webxr.js +1 -0
  996. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  997. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff.js +1 -1
  998. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  999. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1000. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1001. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1002. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1003. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1004. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1005. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1006. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1007. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  1008. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  1009. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  1010. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  1011. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  1012. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  1013. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  1014. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  1015. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  1016. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  1017. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  1018. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  1019. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  1020. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  1021. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  1022. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  1023. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  1024. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  1025. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  1026. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  1027. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  1028. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  1029. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  1030. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  1031. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  1032. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  1033. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  1034. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  1035. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  1036. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  1037. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  1038. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  1039. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  1040. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  1041. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  1042. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  1043. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  1044. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  1045. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  1046. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  1047. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  1048. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  1049. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  1050. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  1051. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  1052. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  1053. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  1054. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  1055. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  1056. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  1057. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  1058. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  1059. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  1060. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  1061. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  1062. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  1063. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  1064. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  1065. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  1066. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  1067. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  1068. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  1069. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  1070. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  1071. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  1072. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  1073. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  1074. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  1075. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  1076. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  1077. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  1078. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  1079. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  1080. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  1081. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  1082. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  1083. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  1084. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  1085. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  1086. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  1087. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  1088. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  1089. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  1090. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  1091. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  1092. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  1093. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  1094. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  1095. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  1096. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  1097. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  1098. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  1099. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  1100. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  1101. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  1102. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  1103. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  1104. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  1105. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  1106. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  1107. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  1108. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  1109. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  1110. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  1111. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  1112. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  1113. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  1114. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  1115. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  1116. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  1117. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  1118. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  1119. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  1120. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  1121. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  1122. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  1123. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  1124. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  1125. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  1126. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  1127. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  1128. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  1129. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  1130. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  1131. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  1132. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  1133. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  1134. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  1135. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  1136. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  1137. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  1138. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  1139. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  1140. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  1141. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  1142. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  1143. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  1144. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  1145. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  1146. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  1147. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  1148. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  1149. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  1150. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  1151. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  1152. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  1153. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  1154. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  1155. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  1156. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  1157. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  1158. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  1159. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  1160. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  1161. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  1162. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  1163. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  1164. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  1165. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  1166. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  1167. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  1168. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  1169. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  1170. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  1171. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  1172. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  1173. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  1174. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  1175. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  1176. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  1177. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  1178. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  1179. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  1180. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  1181. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  1182. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  1183. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  1184. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  1185. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  1186. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  1187. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  1188. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  1189. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  1190. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  1191. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  1192. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  1193. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  1194. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  1195. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  1196. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  1197. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  1198. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  1199. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  1200. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  1201. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  1202. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  1203. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  1204. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  1205. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  1206. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  1207. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  1208. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  1209. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  1210. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  1211. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TK.js +1 -1
  1212. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  1213. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  1214. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  1215. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  1216. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  1217. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  1218. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  1219. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  1220. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  1221. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  1222. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  1223. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/US.js +1 -1
  1224. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  1225. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  1226. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  1227. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  1228. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  1229. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  1230. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  1231. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  1232. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  1233. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  1234. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  1235. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  1236. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  1237. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  1238. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  1239. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  1240. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  1241. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  1242. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  1243. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  1244. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  1245. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  1246. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  1247. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  1248. data/lib/condenser/processors/node_modules/caniuse-lite/package.json +10 -10
  1249. data/lib/condenser/processors/node_modules/convert-source-map/package.json +13 -10
  1250. data/lib/condenser/processors/node_modules/core-js-compat/LICENSE +1 -1
  1251. data/lib/condenser/processors/node_modules/core-js-compat/README.md +59 -23
  1252. data/lib/condenser/processors/node_modules/core-js-compat/compat.js +56 -0
  1253. data/lib/condenser/processors/node_modules/core-js-compat/data.json +1632 -1288
  1254. data/lib/condenser/processors/node_modules/core-js-compat/entries.json +5462 -4712
  1255. data/lib/condenser/processors/node_modules/core-js-compat/external.json +12 -0
  1256. data/lib/condenser/processors/node_modules/core-js-compat/get-modules-list-for-target-version.js +5 -4
  1257. data/lib/condenser/processors/node_modules/core-js-compat/helpers.js +29 -0
  1258. data/lib/condenser/processors/node_modules/core-js-compat/index.js +11 -102
  1259. data/lib/condenser/processors/node_modules/core-js-compat/modules-by-versions.json +45 -0
  1260. data/lib/condenser/processors/node_modules/core-js-compat/modules.json +336 -0
  1261. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/CHANGELOG.md +4 -0
  1262. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/README.md +58 -2
  1263. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/bin/semver.js +78 -79
  1264. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/classes/comparator.js +139 -0
  1265. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/classes/index.js +5 -0
  1266. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/classes/range.js +448 -0
  1267. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/classes/semver.js +290 -0
  1268. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/clean.js +6 -0
  1269. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/cmp.js +48 -0
  1270. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/coerce.js +51 -0
  1271. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/compare-build.js +7 -0
  1272. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/compare-loose.js +3 -0
  1273. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/compare.js +5 -0
  1274. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/diff.js +25 -0
  1275. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/eq.js +3 -0
  1276. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/gt.js +3 -0
  1277. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/gte.js +3 -0
  1278. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/inc.js +15 -0
  1279. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/lt.js +3 -0
  1280. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/lte.js +3 -0
  1281. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/major.js +3 -0
  1282. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/minor.js +3 -0
  1283. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/neq.js +3 -0
  1284. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/parse.js +37 -0
  1285. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/patch.js +3 -0
  1286. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/prerelease.js +6 -0
  1287. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/rcompare.js +3 -0
  1288. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/rsort.js +3 -0
  1289. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/satisfies.js +10 -0
  1290. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/sort.js +3 -0
  1291. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/functions/valid.js +6 -0
  1292. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/index.js +64 -0
  1293. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/internal/constants.js +17 -0
  1294. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/internal/debug.js +9 -0
  1295. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/internal/identifiers.js +23 -0
  1296. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/internal/re.js +179 -0
  1297. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/package.json +22 -16
  1298. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/gtr.js +4 -0
  1299. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/intersects.js +7 -0
  1300. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/ltr.js +4 -0
  1301. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/max-satisfying.js +25 -0
  1302. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/min-satisfying.js +24 -0
  1303. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/min-version.js +57 -0
  1304. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/outside.js +80 -0
  1305. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/to-comparators.js +8 -0
  1306. data/lib/condenser/processors/node_modules/core-js-compat/node_modules/semver/ranges/valid.js +11 -0
  1307. data/lib/condenser/processors/node_modules/core-js-compat/package.json +18 -14
  1308. data/lib/condenser/processors/node_modules/core-js-compat/targets-parser.js +72 -0
  1309. data/lib/condenser/processors/node_modules/core-js-pure/LICENSE +1 -1
  1310. data/lib/condenser/processors/node_modules/core-js-pure/configurator.js +7 -0
  1311. data/lib/condenser/processors/node_modules/core-js-pure/es/global-this.js +3 -0
  1312. data/lib/condenser/processors/node_modules/core-js-pure/es/index.js +6 -1
  1313. data/lib/condenser/processors/node_modules/core-js-pure/es/json/index.js +1 -0
  1314. data/lib/condenser/processors/node_modules/core-js-pure/es/json/stringify.js +6 -3
  1315. data/lib/condenser/processors/node_modules/core-js-pure/es/regexp/index.js +2 -0
  1316. data/lib/condenser/processors/node_modules/core-js-pure/es/regexp/sticky.js +5 -0
  1317. data/lib/condenser/processors/node_modules/core-js-pure/es/regexp/test.js +6 -0
  1318. data/lib/condenser/processors/node_modules/core-js-pure/es/string/index.js +1 -0
  1319. data/lib/condenser/processors/node_modules/core-js-pure/es/string/match.js +1 -0
  1320. data/lib/condenser/processors/node_modules/core-js-pure/es/string/replace.js +1 -0
  1321. data/lib/condenser/processors/node_modules/core-js-pure/es/string/search.js +1 -0
  1322. data/lib/condenser/processors/node_modules/core-js-pure/es/string/split.js +1 -0
  1323. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/async-iterator.js +1 -1
  1324. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/has-instance.js +1 -1
  1325. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/is-concat-spreadable.js +1 -1
  1326. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/iterator.js +1 -1
  1327. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/match-all.js +1 -1
  1328. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/match.js +1 -1
  1329. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/replace.js +1 -1
  1330. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/search.js +1 -1
  1331. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/species.js +1 -1
  1332. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/split.js +1 -1
  1333. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/to-primitive.js +1 -1
  1334. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/to-string-tag.js +1 -1
  1335. data/lib/condenser/processors/node_modules/core-js-pure/es/symbol/unscopables.js +1 -1
  1336. data/lib/condenser/processors/node_modules/core-js-pure/features/array-buffer/constructor.js +3 -1
  1337. data/lib/condenser/processors/node_modules/core-js-pure/features/array-buffer/index.js +3 -1
  1338. data/lib/condenser/processors/node_modules/core-js-pure/features/array-buffer/is-view.js +3 -1
  1339. data/lib/condenser/processors/node_modules/core-js-pure/features/array-buffer/slice.js +3 -1
  1340. data/lib/condenser/processors/node_modules/core-js-pure/features/array/concat.js +3 -1
  1341. data/lib/condenser/processors/node_modules/core-js-pure/features/array/copy-within.js +3 -1
  1342. data/lib/condenser/processors/node_modules/core-js-pure/features/array/entries.js +3 -1
  1343. data/lib/condenser/processors/node_modules/core-js-pure/features/array/every.js +3 -1
  1344. data/lib/condenser/processors/node_modules/core-js-pure/features/array/fill.js +3 -1
  1345. data/lib/condenser/processors/node_modules/core-js-pure/features/array/filter.js +3 -1
  1346. data/lib/condenser/processors/node_modules/core-js-pure/features/array/find-index.js +3 -1
  1347. data/lib/condenser/processors/node_modules/core-js-pure/features/array/find.js +3 -1
  1348. data/lib/condenser/processors/node_modules/core-js-pure/features/array/flat-map.js +3 -1
  1349. data/lib/condenser/processors/node_modules/core-js-pure/features/array/flat.js +3 -1
  1350. data/lib/condenser/processors/node_modules/core-js-pure/features/array/for-each.js +3 -1
  1351. data/lib/condenser/processors/node_modules/core-js-pure/features/array/from.js +3 -1
  1352. data/lib/condenser/processors/node_modules/core-js-pure/features/array/includes.js +3 -1
  1353. data/lib/condenser/processors/node_modules/core-js-pure/features/array/index-of.js +3 -1
  1354. data/lib/condenser/processors/node_modules/core-js-pure/features/array/index.js +3 -2
  1355. data/lib/condenser/processors/node_modules/core-js-pure/features/array/is-array.js +3 -1
  1356. data/lib/condenser/processors/node_modules/core-js-pure/features/array/iterator.js +3 -1
  1357. data/lib/condenser/processors/node_modules/core-js-pure/features/array/join.js +3 -1
  1358. data/lib/condenser/processors/node_modules/core-js-pure/features/array/keys.js +3 -1
  1359. data/lib/condenser/processors/node_modules/core-js-pure/features/array/last-index-of.js +3 -1
  1360. data/lib/condenser/processors/node_modules/core-js-pure/features/array/map.js +3 -1
  1361. data/lib/condenser/processors/node_modules/core-js-pure/features/array/of.js +3 -1
  1362. data/lib/condenser/processors/node_modules/core-js-pure/features/array/reduce-right.js +3 -1
  1363. data/lib/condenser/processors/node_modules/core-js-pure/features/array/reduce.js +3 -1
  1364. data/lib/condenser/processors/node_modules/core-js-pure/features/array/reverse.js +3 -1
  1365. data/lib/condenser/processors/node_modules/core-js-pure/features/array/slice.js +3 -1
  1366. data/lib/condenser/processors/node_modules/core-js-pure/features/array/some.js +3 -1
  1367. data/lib/condenser/processors/node_modules/core-js-pure/features/array/sort.js +3 -1
  1368. data/lib/condenser/processors/node_modules/core-js-pure/features/array/splice.js +3 -1
  1369. data/lib/condenser/processors/node_modules/core-js-pure/features/array/values.js +3 -1
  1370. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/concat.js +3 -1
  1371. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/copy-within.js +3 -1
  1372. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/entries.js +3 -1
  1373. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/every.js +3 -1
  1374. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/fill.js +3 -1
  1375. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/filter.js +3 -1
  1376. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/find-index.js +3 -1
  1377. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/find.js +3 -1
  1378. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/flat-map.js +3 -1
  1379. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/flat.js +3 -1
  1380. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/for-each.js +3 -1
  1381. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/includes.js +3 -1
  1382. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/index-of.js +3 -1
  1383. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/index.js +3 -1
  1384. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/iterator.js +3 -1
  1385. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/join.js +3 -1
  1386. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/keys.js +3 -1
  1387. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/last-index-of.js +3 -1
  1388. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/map.js +3 -1
  1389. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/reduce-right.js +3 -1
  1390. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/reduce.js +3 -1
  1391. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/reverse.js +3 -1
  1392. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/slice.js +3 -1
  1393. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/some.js +3 -1
  1394. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/sort.js +3 -1
  1395. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/splice.js +3 -1
  1396. data/lib/condenser/processors/node_modules/core-js-pure/features/array/virtual/values.js +3 -1
  1397. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/as-indexed-pairs.js +10 -0
  1398. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/drop.js +10 -0
  1399. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/every.js +10 -0
  1400. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/filter.js +10 -0
  1401. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/find.js +10 -0
  1402. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/flat-map.js +10 -0
  1403. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/for-each.js +10 -0
  1404. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/from.js +10 -0
  1405. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/index.js +22 -0
  1406. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/map.js +10 -0
  1407. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/reduce.js +10 -0
  1408. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/some.js +10 -0
  1409. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/take.js +10 -0
  1410. data/lib/condenser/processors/node_modules/core-js-pure/features/async-iterator/to-array.js +10 -0
  1411. data/lib/condenser/processors/node_modules/core-js-pure/features/clear-immediate.js +3 -1
  1412. data/lib/condenser/processors/node_modules/core-js-pure/features/data-view/index.js +3 -1
  1413. data/lib/condenser/processors/node_modules/core-js-pure/features/date/index.js +3 -1
  1414. data/lib/condenser/processors/node_modules/core-js-pure/features/date/now.js +3 -1
  1415. data/lib/condenser/processors/node_modules/core-js-pure/features/date/to-iso-string.js +3 -1
  1416. data/lib/condenser/processors/node_modules/core-js-pure/features/date/to-json.js +3 -1
  1417. data/lib/condenser/processors/node_modules/core-js-pure/features/date/to-primitive.js +3 -1
  1418. data/lib/condenser/processors/node_modules/core-js-pure/features/date/to-string.js +3 -1
  1419. data/lib/condenser/processors/node_modules/core-js-pure/features/dom-collections/for-each.js +3 -1
  1420. data/lib/condenser/processors/node_modules/core-js-pure/features/dom-collections/index.js +3 -1
  1421. data/lib/condenser/processors/node_modules/core-js-pure/features/dom-collections/iterator.js +3 -1
  1422. data/lib/condenser/processors/node_modules/core-js-pure/features/function/bind.js +3 -1
  1423. data/lib/condenser/processors/node_modules/core-js-pure/features/function/has-instance.js +3 -1
  1424. data/lib/condenser/processors/node_modules/core-js-pure/features/function/index.js +3 -1
  1425. data/lib/condenser/processors/node_modules/core-js-pure/features/function/name.js +3 -1
  1426. data/lib/condenser/processors/node_modules/core-js-pure/features/function/virtual/bind.js +3 -1
  1427. data/lib/condenser/processors/node_modules/core-js-pure/features/function/virtual/index.js +3 -1
  1428. data/lib/condenser/processors/node_modules/core-js-pure/features/get-iterator-method.js +2 -1
  1429. data/lib/condenser/processors/node_modules/core-js-pure/features/get-iterator.js +2 -1
  1430. data/lib/condenser/processors/node_modules/core-js-pure/features/global-this.js +4 -1
  1431. data/lib/condenser/processors/node_modules/core-js-pure/features/index.js +3 -1
  1432. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/bind.js +3 -1
  1433. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/code-point-at.js +3 -1
  1434. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/concat.js +3 -1
  1435. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/copy-within.js +3 -1
  1436. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/ends-with.js +3 -1
  1437. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/entries.js +3 -1
  1438. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/every.js +3 -1
  1439. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/fill.js +3 -1
  1440. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/filter.js +3 -1
  1441. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/find-index.js +3 -1
  1442. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/find.js +3 -1
  1443. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/flags.js +3 -1
  1444. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/flat-map.js +3 -1
  1445. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/flat.js +3 -1
  1446. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/for-each.js +3 -1
  1447. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/includes.js +3 -1
  1448. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/index-of.js +3 -1
  1449. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/keys.js +3 -1
  1450. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/last-index-of.js +3 -1
  1451. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/map.js +3 -1
  1452. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/match-all.js +6 -1
  1453. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/pad-end.js +3 -1
  1454. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/pad-start.js +3 -1
  1455. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/reduce-right.js +3 -1
  1456. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/reduce.js +3 -1
  1457. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/repeat.js +3 -1
  1458. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/reverse.js +3 -1
  1459. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/slice.js +3 -1
  1460. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/some.js +3 -1
  1461. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/sort.js +3 -1
  1462. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/splice.js +3 -1
  1463. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/starts-with.js +3 -1
  1464. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/trim-end.js +3 -1
  1465. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/trim-left.js +3 -1
  1466. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/trim-right.js +3 -1
  1467. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/trim-start.js +3 -1
  1468. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/trim.js +3 -1
  1469. data/lib/condenser/processors/node_modules/core-js-pure/features/instance/values.js +3 -1
  1470. data/lib/condenser/processors/node_modules/core-js-pure/features/is-iterable.js +2 -1
  1471. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/as-indexed-pairs.js +10 -0
  1472. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/drop.js +9 -0
  1473. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/every.js +9 -0
  1474. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/filter.js +9 -0
  1475. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/find.js +9 -0
  1476. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/flat-map.js +9 -0
  1477. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/for-each.js +9 -0
  1478. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/from.js +9 -0
  1479. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/index.js +21 -0
  1480. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/map.js +9 -0
  1481. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/reduce.js +9 -0
  1482. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/some.js +9 -0
  1483. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/take.js +9 -0
  1484. data/lib/condenser/processors/node_modules/core-js-pure/features/iterator/to-array.js +9 -0
  1485. data/lib/condenser/processors/node_modules/core-js-pure/features/json/index.js +3 -1
  1486. data/lib/condenser/processors/node_modules/core-js-pure/features/json/stringify.js +3 -1
  1487. data/lib/condenser/processors/node_modules/core-js-pure/features/json/to-string-tag.js +3 -1
  1488. data/lib/condenser/processors/node_modules/core-js-pure/features/map/index.js +5 -2
  1489. data/lib/condenser/processors/node_modules/core-js-pure/features/map/update-or-insert.js +1 -0
  1490. data/lib/condenser/processors/node_modules/core-js-pure/features/map/upsert.js +5 -0
  1491. data/lib/condenser/processors/node_modules/core-js-pure/features/math/acosh.js +3 -1
  1492. data/lib/condenser/processors/node_modules/core-js-pure/features/math/asinh.js +3 -1
  1493. data/lib/condenser/processors/node_modules/core-js-pure/features/math/atanh.js +3 -1
  1494. data/lib/condenser/processors/node_modules/core-js-pure/features/math/cbrt.js +3 -1
  1495. data/lib/condenser/processors/node_modules/core-js-pure/features/math/clz32.js +3 -1
  1496. data/lib/condenser/processors/node_modules/core-js-pure/features/math/cosh.js +3 -1
  1497. data/lib/condenser/processors/node_modules/core-js-pure/features/math/expm1.js +3 -1
  1498. data/lib/condenser/processors/node_modules/core-js-pure/features/math/fround.js +3 -1
  1499. data/lib/condenser/processors/node_modules/core-js-pure/features/math/hypot.js +3 -1
  1500. data/lib/condenser/processors/node_modules/core-js-pure/features/math/imul.js +3 -1
  1501. data/lib/condenser/processors/node_modules/core-js-pure/features/math/index.js +7 -5
  1502. data/lib/condenser/processors/node_modules/core-js-pure/features/math/log10.js +3 -1
  1503. data/lib/condenser/processors/node_modules/core-js-pure/features/math/log1p.js +3 -1
  1504. data/lib/condenser/processors/node_modules/core-js-pure/features/math/log2.js +3 -1
  1505. data/lib/condenser/processors/node_modules/core-js-pure/features/math/sign.js +3 -1
  1506. data/lib/condenser/processors/node_modules/core-js-pure/features/math/sinh.js +3 -1
  1507. data/lib/condenser/processors/node_modules/core-js-pure/features/math/tanh.js +3 -1
  1508. data/lib/condenser/processors/node_modules/core-js-pure/features/math/to-string-tag.js +3 -1
  1509. data/lib/condenser/processors/node_modules/core-js-pure/features/math/trunc.js +3 -1
  1510. data/lib/condenser/processors/node_modules/core-js-pure/features/number/constructor.js +3 -1
  1511. data/lib/condenser/processors/node_modules/core-js-pure/features/number/epsilon.js +3 -1
  1512. data/lib/condenser/processors/node_modules/core-js-pure/features/number/index.js +3 -1
  1513. data/lib/condenser/processors/node_modules/core-js-pure/features/number/is-finite.js +3 -1
  1514. data/lib/condenser/processors/node_modules/core-js-pure/features/number/is-integer.js +3 -1
  1515. data/lib/condenser/processors/node_modules/core-js-pure/features/number/is-nan.js +3 -1
  1516. data/lib/condenser/processors/node_modules/core-js-pure/features/number/is-safe-integer.js +3 -1
  1517. data/lib/condenser/processors/node_modules/core-js-pure/features/number/max-safe-integer.js +3 -1
  1518. data/lib/condenser/processors/node_modules/core-js-pure/features/number/min-safe-integer.js +3 -1
  1519. data/lib/condenser/processors/node_modules/core-js-pure/features/number/parse-float.js +3 -1
  1520. data/lib/condenser/processors/node_modules/core-js-pure/features/number/parse-int.js +3 -1
  1521. data/lib/condenser/processors/node_modules/core-js-pure/features/number/to-fixed.js +3 -1
  1522. data/lib/condenser/processors/node_modules/core-js-pure/features/number/to-precision.js +3 -1
  1523. data/lib/condenser/processors/node_modules/core-js-pure/features/number/virtual/index.js +3 -1
  1524. data/lib/condenser/processors/node_modules/core-js-pure/features/number/virtual/to-fixed.js +3 -1
  1525. data/lib/condenser/processors/node_modules/core-js-pure/features/number/virtual/to-precision.js +3 -1
  1526. data/lib/condenser/processors/node_modules/core-js-pure/features/object/assign.js +3 -1
  1527. data/lib/condenser/processors/node_modules/core-js-pure/features/object/create.js +3 -1
  1528. data/lib/condenser/processors/node_modules/core-js-pure/features/object/define-getter.js +3 -1
  1529. data/lib/condenser/processors/node_modules/core-js-pure/features/object/define-properties.js +3 -1
  1530. data/lib/condenser/processors/node_modules/core-js-pure/features/object/define-property.js +3 -1
  1531. data/lib/condenser/processors/node_modules/core-js-pure/features/object/define-setter.js +3 -1
  1532. data/lib/condenser/processors/node_modules/core-js-pure/features/object/entries.js +3 -1
  1533. data/lib/condenser/processors/node_modules/core-js-pure/features/object/freeze.js +3 -1
  1534. data/lib/condenser/processors/node_modules/core-js-pure/features/object/from-entries.js +3 -1
  1535. data/lib/condenser/processors/node_modules/core-js-pure/features/object/get-own-property-descriptor.js +3 -1
  1536. data/lib/condenser/processors/node_modules/core-js-pure/features/object/get-own-property-descriptors.js +3 -1
  1537. data/lib/condenser/processors/node_modules/core-js-pure/features/object/get-own-property-names.js +3 -1
  1538. data/lib/condenser/processors/node_modules/core-js-pure/features/object/get-own-property-symbols.js +3 -1
  1539. data/lib/condenser/processors/node_modules/core-js-pure/features/object/get-prototype-of.js +3 -1
  1540. data/lib/condenser/processors/node_modules/core-js-pure/features/object/index.js +6 -1
  1541. data/lib/condenser/processors/node_modules/core-js-pure/features/object/is-extensible.js +3 -1
  1542. data/lib/condenser/processors/node_modules/core-js-pure/features/object/is-frozen.js +3 -1
  1543. data/lib/condenser/processors/node_modules/core-js-pure/features/object/is-sealed.js +3 -1
  1544. data/lib/condenser/processors/node_modules/core-js-pure/features/object/is.js +3 -1
  1545. data/lib/condenser/processors/node_modules/core-js-pure/features/object/iterate-entries.js +4 -0
  1546. data/lib/condenser/processors/node_modules/core-js-pure/features/object/iterate-keys.js +4 -0
  1547. data/lib/condenser/processors/node_modules/core-js-pure/features/object/iterate-values.js +4 -0
  1548. data/lib/condenser/processors/node_modules/core-js-pure/features/object/keys.js +3 -1
  1549. data/lib/condenser/processors/node_modules/core-js-pure/features/object/lookup-getter.js +3 -1
  1550. data/lib/condenser/processors/node_modules/core-js-pure/features/object/lookup-setter.js +3 -1
  1551. data/lib/condenser/processors/node_modules/core-js-pure/features/object/prevent-extensions.js +3 -1
  1552. data/lib/condenser/processors/node_modules/core-js-pure/features/object/seal.js +3 -1
  1553. data/lib/condenser/processors/node_modules/core-js-pure/features/object/set-prototype-of.js +3 -1
  1554. data/lib/condenser/processors/node_modules/core-js-pure/features/object/to-string.js +3 -1
  1555. data/lib/condenser/processors/node_modules/core-js-pure/features/object/values.js +3 -1
  1556. data/lib/condenser/processors/node_modules/core-js-pure/features/parse-float.js +3 -1
  1557. data/lib/condenser/processors/node_modules/core-js-pure/features/parse-int.js +3 -1
  1558. data/lib/condenser/processors/node_modules/core-js-pure/features/promise/all-settled.js +3 -1
  1559. data/lib/condenser/processors/node_modules/core-js-pure/features/promise/finally.js +3 -1
  1560. data/lib/condenser/processors/node_modules/core-js-pure/features/promise/index.js +3 -2
  1561. data/lib/condenser/processors/node_modules/core-js-pure/features/queue-microtask.js +3 -1
  1562. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/apply.js +3 -1
  1563. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/construct.js +3 -1
  1564. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/define-property.js +3 -1
  1565. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/delete-property.js +3 -1
  1566. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/get-own-property-descriptor.js +3 -1
  1567. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/get-prototype-of.js +3 -1
  1568. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/get.js +3 -1
  1569. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/has.js +3 -1
  1570. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/index.js +3 -2
  1571. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/is-extensible.js +3 -1
  1572. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/own-keys.js +3 -1
  1573. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/prevent-extensions.js +3 -1
  1574. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/set-prototype-of.js +3 -1
  1575. data/lib/condenser/processors/node_modules/core-js-pure/features/reflect/set.js +3 -1
  1576. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/constructor.js +3 -1
  1577. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/flags.js +3 -1
  1578. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/index.js +3 -1
  1579. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/match.js +3 -1
  1580. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/replace.js +3 -1
  1581. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/search.js +3 -1
  1582. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/split.js +3 -1
  1583. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/sticky.js +3 -0
  1584. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/test.js +3 -0
  1585. data/lib/condenser/processors/node_modules/core-js-pure/features/regexp/to-string.js +3 -1
  1586. data/lib/condenser/processors/node_modules/core-js-pure/features/set-immediate.js +3 -1
  1587. data/lib/condenser/processors/node_modules/core-js-pure/features/set-interval.js +3 -1
  1588. data/lib/condenser/processors/node_modules/core-js-pure/features/set-timeout.js +3 -1
  1589. data/lib/condenser/processors/node_modules/core-js-pure/features/set/index.js +3 -2
  1590. data/lib/condenser/processors/node_modules/core-js-pure/features/string/anchor.js +3 -1
  1591. data/lib/condenser/processors/node_modules/core-js-pure/features/string/big.js +3 -1
  1592. data/lib/condenser/processors/node_modules/core-js-pure/features/string/blink.js +3 -1
  1593. data/lib/condenser/processors/node_modules/core-js-pure/features/string/bold.js +3 -1
  1594. data/lib/condenser/processors/node_modules/core-js-pure/features/string/code-point-at.js +3 -1
  1595. data/lib/condenser/processors/node_modules/core-js-pure/features/string/ends-with.js +3 -1
  1596. data/lib/condenser/processors/node_modules/core-js-pure/features/string/fixed.js +3 -1
  1597. data/lib/condenser/processors/node_modules/core-js-pure/features/string/fontcolor.js +3 -1
  1598. data/lib/condenser/processors/node_modules/core-js-pure/features/string/fontsize.js +3 -1
  1599. data/lib/condenser/processors/node_modules/core-js-pure/features/string/from-code-point.js +3 -1
  1600. data/lib/condenser/processors/node_modules/core-js-pure/features/string/includes.js +3 -1
  1601. data/lib/condenser/processors/node_modules/core-js-pure/features/string/index.js +4 -2
  1602. data/lib/condenser/processors/node_modules/core-js-pure/features/string/italics.js +3 -1
  1603. data/lib/condenser/processors/node_modules/core-js-pure/features/string/iterator.js +3 -1
  1604. data/lib/condenser/processors/node_modules/core-js-pure/features/string/link.js +3 -1
  1605. data/lib/condenser/processors/node_modules/core-js-pure/features/string/match-all.js +3 -1
  1606. data/lib/condenser/processors/node_modules/core-js-pure/features/string/match.js +3 -1
  1607. data/lib/condenser/processors/node_modules/core-js-pure/features/string/pad-end.js +3 -1
  1608. data/lib/condenser/processors/node_modules/core-js-pure/features/string/pad-start.js +3 -1
  1609. data/lib/condenser/processors/node_modules/core-js-pure/features/string/raw.js +3 -1
  1610. data/lib/condenser/processors/node_modules/core-js-pure/features/string/repeat.js +3 -1
  1611. data/lib/condenser/processors/node_modules/core-js-pure/features/string/replace.js +3 -1
  1612. data/lib/condenser/processors/node_modules/core-js-pure/features/string/search.js +3 -1
  1613. data/lib/condenser/processors/node_modules/core-js-pure/features/string/small.js +3 -1
  1614. data/lib/condenser/processors/node_modules/core-js-pure/features/string/split.js +3 -1
  1615. data/lib/condenser/processors/node_modules/core-js-pure/features/string/starts-with.js +3 -1
  1616. data/lib/condenser/processors/node_modules/core-js-pure/features/string/strike.js +3 -1
  1617. data/lib/condenser/processors/node_modules/core-js-pure/features/string/sub.js +3 -1
  1618. data/lib/condenser/processors/node_modules/core-js-pure/features/string/sup.js +3 -1
  1619. data/lib/condenser/processors/node_modules/core-js-pure/features/string/trim-end.js +3 -1
  1620. data/lib/condenser/processors/node_modules/core-js-pure/features/string/trim-left.js +3 -1
  1621. data/lib/condenser/processors/node_modules/core-js-pure/features/string/trim-right.js +3 -1
  1622. data/lib/condenser/processors/node_modules/core-js-pure/features/string/trim-start.js +3 -1
  1623. data/lib/condenser/processors/node_modules/core-js-pure/features/string/trim.js +3 -1
  1624. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/anchor.js +3 -1
  1625. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/big.js +3 -1
  1626. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/blink.js +3 -1
  1627. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/bold.js +3 -1
  1628. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/code-point-at.js +3 -1
  1629. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/ends-with.js +3 -1
  1630. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/fixed.js +3 -1
  1631. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/fontcolor.js +3 -1
  1632. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/fontsize.js +3 -1
  1633. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/includes.js +3 -1
  1634. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/index.js +4 -2
  1635. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/italics.js +3 -1
  1636. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/iterator.js +3 -1
  1637. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/link.js +3 -1
  1638. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/match-all.js +3 -1
  1639. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/pad-end.js +3 -1
  1640. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/pad-start.js +3 -1
  1641. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/repeat.js +3 -1
  1642. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/small.js +3 -1
  1643. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/starts-with.js +3 -1
  1644. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/strike.js +3 -1
  1645. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/sub.js +3 -1
  1646. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/sup.js +3 -1
  1647. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/trim-end.js +3 -1
  1648. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/trim-left.js +3 -1
  1649. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/trim-right.js +3 -1
  1650. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/trim-start.js +3 -1
  1651. data/lib/condenser/processors/node_modules/core-js-pure/features/string/virtual/trim.js +3 -1
  1652. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/async-dispose.js +1 -1
  1653. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/async-iterator.js +3 -1
  1654. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/dispose.js +1 -1
  1655. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/for.js +3 -1
  1656. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/has-instance.js +3 -1
  1657. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/index.js +4 -2
  1658. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/is-concat-spreadable.js +3 -1
  1659. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/iterator.js +3 -1
  1660. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/key-for.js +3 -1
  1661. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/match-all.js +3 -1
  1662. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/match.js +3 -1
  1663. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/observable.js +1 -1
  1664. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/pattern-match.js +1 -1
  1665. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/replace-all.js +2 -1
  1666. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/replace.js +3 -1
  1667. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/search.js +3 -1
  1668. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/species.js +3 -1
  1669. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/split.js +3 -1
  1670. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/to-primitive.js +3 -1
  1671. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/to-string-tag.js +3 -1
  1672. data/lib/condenser/processors/node_modules/core-js-pure/features/symbol/unscopables.js +3 -1
  1673. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/float32-array.js +3 -1
  1674. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/float64-array.js +3 -1
  1675. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/index.js +3 -1
  1676. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/int16-array.js +3 -1
  1677. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/int32-array.js +3 -1
  1678. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/int8-array.js +3 -1
  1679. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/uint16-array.js +3 -1
  1680. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/uint32-array.js +3 -1
  1681. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/uint8-array.js +3 -1
  1682. data/lib/condenser/processors/node_modules/core-js-pure/features/typed-array/uint8-clamped-array.js +3 -1
  1683. data/lib/condenser/processors/node_modules/core-js-pure/features/url-search-params/index.js +3 -1
  1684. data/lib/condenser/processors/node_modules/core-js-pure/features/url/index.js +3 -1
  1685. data/lib/condenser/processors/node_modules/core-js-pure/features/url/to-json.js +3 -1
  1686. data/lib/condenser/processors/node_modules/core-js-pure/features/weak-map/index.js +4 -2
  1687. data/lib/condenser/processors/node_modules/core-js-pure/features/weak-map/upsert.js +5 -0
  1688. data/lib/condenser/processors/node_modules/core-js-pure/features/weak-set/index.js +3 -2
  1689. data/lib/condenser/processors/node_modules/core-js-pure/index.js +2 -1
  1690. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-buffer-native.js +1 -0
  1691. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-for-each.js +6 -2
  1692. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-from.js +9 -9
  1693. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-iteration.js +1 -1
  1694. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-last-index-of.js +6 -3
  1695. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-method-has-species-support.js +5 -1
  1696. data/lib/condenser/processors/node_modules/core-js-pure/internals/{sloppy-array-method.js → array-method-is-strict.js} +1 -1
  1697. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-method-uses-to-length.js +30 -0
  1698. data/lib/condenser/processors/node_modules/core-js-pure/internals/async-iterator-create-proxy.js +61 -0
  1699. data/lib/condenser/processors/node_modules/core-js-pure/internals/async-iterator-iteration.js +61 -0
  1700. data/lib/condenser/processors/node_modules/core-js-pure/internals/async-iterator-prototype.js +37 -0
  1701. data/lib/condenser/processors/node_modules/core-js-pure/internals/classof.js +2 -1
  1702. data/lib/condenser/processors/node_modules/core-js-pure/internals/collection-from.js +1 -1
  1703. data/lib/condenser/processors/node_modules/core-js-pure/internals/collection-strong.js +1 -1
  1704. data/lib/condenser/processors/node_modules/core-js-pure/internals/collection.js +14 -9
  1705. data/lib/condenser/processors/node_modules/core-js-pure/internals/{hide.js → create-non-enumerable-property.js} +0 -0
  1706. data/lib/condenser/processors/node_modules/core-js-pure/internals/define-iterator.js +3 -3
  1707. data/lib/condenser/processors/node_modules/core-js-pure/internals/define-well-known-symbol.js +1 -1
  1708. data/lib/condenser/processors/node_modules/core-js-pure/internals/descriptors.js +1 -1
  1709. data/lib/condenser/processors/node_modules/core-js-pure/internals/engine-is-ios.js +3 -0
  1710. data/lib/condenser/processors/node_modules/core-js-pure/internals/{user-agent.js → engine-user-agent.js} +0 -0
  1711. data/lib/condenser/processors/node_modules/core-js-pure/internals/engine-v8-version.js +20 -0
  1712. data/lib/condenser/processors/node_modules/core-js-pure/internals/entry-unbind.js +3 -1
  1713. data/lib/condenser/processors/node_modules/core-js-pure/internals/export.js +9 -5
  1714. data/lib/condenser/processors/node_modules/core-js-pure/internals/flatten-into-array.js +1 -1
  1715. data/lib/condenser/processors/node_modules/core-js-pure/internals/{bind-context.js → function-bind-context.js} +0 -0
  1716. data/lib/condenser/processors/node_modules/core-js-pure/internals/get-async-iterator-method.js +9 -0
  1717. data/lib/condenser/processors/node_modules/core-js-pure/internals/global.js +4 -5
  1718. data/lib/condenser/processors/node_modules/core-js-pure/internals/ieee754.js +88 -0
  1719. data/lib/condenser/processors/node_modules/core-js-pure/internals/inspect-source.js +12 -0
  1720. data/lib/condenser/processors/node_modules/core-js-pure/internals/internal-state.js +2 -2
  1721. data/lib/condenser/processors/node_modules/core-js-pure/internals/iterate.js +5 -4
  1722. data/lib/condenser/processors/node_modules/core-js-pure/internals/iterator-create-proxy.js +51 -0
  1723. data/lib/condenser/processors/node_modules/core-js-pure/internals/iterators-core.js +4 -2
  1724. data/lib/condenser/processors/node_modules/core-js-pure/internals/map-upsert.js +23 -0
  1725. data/lib/condenser/processors/node_modules/core-js-pure/internals/microtask.js +3 -3
  1726. data/lib/condenser/processors/node_modules/core-js-pure/internals/native-url.js +13 -4
  1727. data/lib/condenser/processors/node_modules/core-js-pure/internals/native-weak-map.js +2 -2
  1728. data/lib/condenser/processors/node_modules/core-js-pure/internals/{parse-float.js → number-parse-float.js} +4 -4
  1729. data/lib/condenser/processors/node_modules/core-js-pure/internals/{parse-int.js → number-parse-int.js} +4 -4
  1730. data/lib/condenser/processors/node_modules/core-js-pure/internals/object-assign.js +12 -1
  1731. data/lib/condenser/processors/node_modules/core-js-pure/internals/object-create.js +48 -19
  1732. data/lib/condenser/processors/node_modules/core-js-pure/internals/object-iterator.js +37 -0
  1733. data/lib/condenser/processors/node_modules/core-js-pure/internals/{forced-object-prototype-accessors-methods.js → object-prototype-accessors-forced.js} +0 -0
  1734. data/lib/condenser/processors/node_modules/core-js-pure/internals/object-to-string.js +3 -8
  1735. data/lib/condenser/processors/node_modules/core-js-pure/internals/redefine.js +2 -2
  1736. data/lib/condenser/processors/node_modules/core-js-pure/internals/regexp-sticky-helpers.js +1 -0
  1737. data/lib/condenser/processors/node_modules/core-js-pure/internals/set-global.js +2 -2
  1738. data/lib/condenser/processors/node_modules/core-js-pure/internals/set-to-string-tag.js +5 -3
  1739. data/lib/condenser/processors/node_modules/core-js-pure/internals/shared-store.js +7 -0
  1740. data/lib/condenser/processors/node_modules/core-js-pure/internals/shared.js +3 -7
  1741. data/lib/condenser/processors/node_modules/core-js-pure/internals/{forced-string-html-method.js → string-html-forced.js} +0 -0
  1742. data/lib/condenser/processors/node_modules/core-js-pure/internals/{webkit-string-pad-bug.js → string-pad-webkit-bug.js} +1 -1
  1743. data/lib/condenser/processors/node_modules/core-js-pure/internals/{punycode-to-ascii.js → string-punycode-to-ascii.js} +0 -0
  1744. data/lib/condenser/processors/node_modules/core-js-pure/internals/{forced-string-trim-method.js → string-trim-forced.js} +0 -0
  1745. data/lib/condenser/processors/node_modules/core-js-pure/internals/task.js +4 -2
  1746. data/lib/condenser/processors/node_modules/core-js-pure/internals/to-absolute-index.js +1 -1
  1747. data/lib/condenser/processors/node_modules/core-js-pure/internals/to-positive-integer.js +7 -0
  1748. data/lib/condenser/processors/node_modules/core-js-pure/internals/to-string-tag-support.js +8 -0
  1749. data/lib/condenser/processors/node_modules/core-js-pure/internals/{typed-arrays-constructors-requires-wrappers.js → typed-array-constructors-require-wrappers.js} +1 -1
  1750. data/lib/condenser/processors/node_modules/core-js-pure/internals/use-symbol-as-uid.js +7 -0
  1751. data/lib/condenser/processors/node_modules/core-js-pure/internals/well-known-symbol-wrapped.js +3 -0
  1752. data/lib/condenser/processors/node_modules/core-js-pure/internals/well-known-symbol.js +8 -3
  1753. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.concat.js +5 -1
  1754. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.every.js +6 -2
  1755. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.filter.js +6 -1
  1756. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.find-index.js +4 -1
  1757. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.find.js +4 -1
  1758. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.includes.js +4 -1
  1759. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.index-of.js +5 -3
  1760. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.join.js +3 -3
  1761. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.map.js +6 -1
  1762. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.reduce-right.js +6 -2
  1763. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.reduce.js +6 -2
  1764. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.reverse.js +1 -0
  1765. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.slice.js +6 -2
  1766. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.some.js +6 -2
  1767. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.sort.js +5 -5
  1768. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.splice.js +5 -1
  1769. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.global-this.js +8 -0
  1770. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.json.stringify.js +32 -0
  1771. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.map.js +3 -3
  1772. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.number.parse-float.js +1 -1
  1773. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.number.parse-int.js +1 -1
  1774. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js +1 -1
  1775. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-setter.js +1 -1
  1776. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.object.lookup-getter.js +1 -1
  1777. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.object.lookup-setter.js +1 -1
  1778. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.parse-float.js +1 -1
  1779. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.parse-int.js +1 -1
  1780. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.promise.finally.js +7 -1
  1781. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.promise.js +29 -21
  1782. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.reflect.set.js +10 -1
  1783. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.regexp.sticky.js +1 -0
  1784. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.regexp.test.js +1 -0
  1785. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.set.js +2 -2
  1786. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.anchor.js +1 -1
  1787. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.big.js +1 -1
  1788. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.blink.js +1 -1
  1789. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.bold.js +1 -1
  1790. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.ends-with.js +10 -1
  1791. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.fixed.js +1 -1
  1792. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.fontcolor.js +1 -1
  1793. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.fontsize.js +1 -1
  1794. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.italics.js +1 -1
  1795. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.link.js +1 -1
  1796. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.match-all.js +23 -8
  1797. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.pad-end.js +1 -1
  1798. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.pad-start.js +1 -1
  1799. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.small.js +1 -1
  1800. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.starts-with.js +10 -1
  1801. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.strike.js +1 -1
  1802. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.sub.js +1 -1
  1803. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.sup.js +1 -1
  1804. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim-end.js +1 -1
  1805. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim-start.js +1 -1
  1806. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.string.trim.js +1 -1
  1807. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.symbol.js +46 -34
  1808. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.weak-map.js +3 -3
  1809. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.weak-set.js +3 -3
  1810. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.aggregate-error.js +19 -3
  1811. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.as-indexed-pairs.js +27 -0
  1812. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.constructor.js +29 -0
  1813. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.drop.js +41 -0
  1814. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.every.js +10 -0
  1815. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.filter.js +42 -0
  1816. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.find.js +10 -0
  1817. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.flat-map.js +67 -0
  1818. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.for-each.js +10 -0
  1819. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.from.js +30 -0
  1820. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.map.js +30 -0
  1821. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.reduce.js +46 -0
  1822. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.some.js +10 -0
  1823. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.take.js +22 -0
  1824. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.async-iterator.to-array.js +10 -0
  1825. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.global-this.js +2 -8
  1826. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.as-indexed-pairs.js +20 -0
  1827. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.constructor.js +48 -0
  1828. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.drop.js +30 -0
  1829. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.every.js +16 -0
  1830. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.filter.js +30 -0
  1831. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.find.js +16 -0
  1832. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.flat-map.js +46 -0
  1833. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.for-each.js +11 -0
  1834. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.from.js +32 -0
  1835. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.map.js +23 -0
  1836. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.reduce.js +25 -0
  1837. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.some.js +16 -0
  1838. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.take.js +25 -0
  1839. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.iterator.to-array.js +15 -0
  1840. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.every.js +1 -1
  1841. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.filter.js +1 -1
  1842. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.find-key.js +1 -1
  1843. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.find.js +1 -1
  1844. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.map-keys.js +1 -1
  1845. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.map-values.js +1 -1
  1846. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.reduce.js +9 -8
  1847. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.some.js +1 -1
  1848. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.update-or-insert.js +5 -12
  1849. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.map.upsert.js +10 -0
  1850. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.iaddh.js +1 -0
  1851. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.imulh.js +1 -0
  1852. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.isubh.js +1 -0
  1853. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.signbit.js +1 -2
  1854. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.umulh.js +1 -0
  1855. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.number.from-string.js +1 -1
  1856. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.object.iterate-entries.js +11 -0
  1857. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.object.iterate-keys.js +11 -0
  1858. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.object.iterate-values.js +11 -0
  1859. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.observable.js +2 -2
  1860. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.every.js +1 -1
  1861. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.filter.js +1 -1
  1862. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.find.js +1 -1
  1863. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.map.js +1 -1
  1864. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.reduce.js +9 -8
  1865. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.set.some.js +1 -1
  1866. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.string.match-all.js +0 -1
  1867. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.string.replace-all.js +17 -20
  1868. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.symbol.replace-all.js +1 -2
  1869. data/lib/condenser/processors/node_modules/core-js-pure/modules/esnext.weak-map.upsert.js +10 -0
  1870. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.dom-collections.iterator.js +4 -3
  1871. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.immediate.js +2 -1
  1872. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.timers.js +1 -1
  1873. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.url-search-params.js +42 -6
  1874. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.url.js +1 -2
  1875. data/lib/condenser/processors/node_modules/core-js-pure/package.json +12 -6
  1876. data/lib/condenser/processors/node_modules/core-js-pure/postinstall.js +56 -0
  1877. data/lib/condenser/processors/node_modules/core-js-pure/proposals/global-this.js +2 -1
  1878. data/lib/condenser/processors/node_modules/core-js-pure/proposals/iterator-helpers.js +28 -0
  1879. data/lib/condenser/processors/node_modules/core-js-pure/proposals/map-update-or-insert.js +2 -1
  1880. data/lib/condenser/processors/node_modules/core-js-pure/proposals/map-upsert.js +5 -0
  1881. data/lib/condenser/processors/node_modules/core-js-pure/proposals/object-iteration.js +3 -0
  1882. data/lib/condenser/processors/node_modules/core-js-pure/stable/array-buffer/constructor.js +3 -1
  1883. data/lib/condenser/processors/node_modules/core-js-pure/stable/array-buffer/index.js +3 -1
  1884. data/lib/condenser/processors/node_modules/core-js-pure/stable/array-buffer/is-view.js +3 -1
  1885. data/lib/condenser/processors/node_modules/core-js-pure/stable/array-buffer/slice.js +3 -1
  1886. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/concat.js +3 -1
  1887. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/copy-within.js +3 -1
  1888. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/entries.js +3 -1
  1889. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/every.js +3 -1
  1890. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/fill.js +3 -1
  1891. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/filter.js +3 -1
  1892. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/find-index.js +3 -1
  1893. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/find.js +3 -1
  1894. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/flat-map.js +3 -1
  1895. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/flat.js +3 -1
  1896. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/for-each.js +3 -1
  1897. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/from.js +3 -1
  1898. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/includes.js +3 -1
  1899. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/index-of.js +3 -1
  1900. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/index.js +3 -1
  1901. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/is-array.js +3 -1
  1902. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/iterator.js +3 -1
  1903. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/join.js +3 -1
  1904. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/keys.js +3 -1
  1905. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/last-index-of.js +3 -1
  1906. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/map.js +3 -1
  1907. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/of.js +3 -1
  1908. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/reduce-right.js +3 -1
  1909. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/reduce.js +3 -1
  1910. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/reverse.js +3 -1
  1911. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/slice.js +3 -1
  1912. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/some.js +3 -1
  1913. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/sort.js +3 -1
  1914. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/splice.js +3 -1
  1915. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/values.js +3 -1
  1916. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/concat.js +3 -1
  1917. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/copy-within.js +3 -1
  1918. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/entries.js +3 -1
  1919. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/every.js +3 -1
  1920. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/fill.js +3 -1
  1921. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/filter.js +3 -1
  1922. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/find-index.js +3 -1
  1923. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/find.js +3 -1
  1924. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/flat-map.js +3 -1
  1925. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/flat.js +3 -1
  1926. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/for-each.js +3 -1
  1927. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/includes.js +3 -1
  1928. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/index-of.js +3 -1
  1929. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/index.js +3 -1
  1930. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/iterator.js +3 -1
  1931. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/join.js +3 -1
  1932. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/keys.js +3 -1
  1933. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/last-index-of.js +3 -1
  1934. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/map.js +3 -1
  1935. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/reduce-right.js +3 -1
  1936. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/reduce.js +3 -1
  1937. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/reverse.js +3 -1
  1938. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/slice.js +3 -1
  1939. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/some.js +3 -1
  1940. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/sort.js +3 -1
  1941. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/splice.js +3 -1
  1942. data/lib/condenser/processors/node_modules/core-js-pure/stable/array/virtual/values.js +3 -1
  1943. data/lib/condenser/processors/node_modules/core-js-pure/stable/clear-immediate.js +2 -1
  1944. data/lib/condenser/processors/node_modules/core-js-pure/stable/data-view/index.js +3 -1
  1945. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/index.js +3 -1
  1946. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/now.js +3 -1
  1947. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/to-iso-string.js +3 -1
  1948. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/to-json.js +3 -1
  1949. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/to-primitive.js +3 -1
  1950. data/lib/condenser/processors/node_modules/core-js-pure/stable/date/to-string.js +3 -1
  1951. data/lib/condenser/processors/node_modules/core-js-pure/stable/dom-collections/for-each.js +3 -1
  1952. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/bind.js +3 -1
  1953. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/has-instance.js +3 -1
  1954. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/index.js +3 -1
  1955. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/name.js +3 -1
  1956. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/virtual/bind.js +3 -1
  1957. data/lib/condenser/processors/node_modules/core-js-pure/stable/function/virtual/index.js +3 -1
  1958. data/lib/condenser/processors/node_modules/core-js-pure/stable/global-this.js +2 -2
  1959. data/lib/condenser/processors/node_modules/core-js-pure/stable/index.js +2 -1
  1960. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/bind.js +3 -1
  1961. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/code-point-at.js +3 -1
  1962. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/concat.js +3 -1
  1963. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/copy-within.js +3 -1
  1964. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/ends-with.js +3 -1
  1965. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/every.js +3 -1
  1966. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/fill.js +3 -1
  1967. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/filter.js +3 -1
  1968. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/find-index.js +3 -1
  1969. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/find.js +3 -1
  1970. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/flags.js +3 -1
  1971. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/flat-map.js +3 -1
  1972. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/flat.js +3 -1
  1973. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/includes.js +3 -1
  1974. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/index-of.js +3 -1
  1975. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/last-index-of.js +3 -1
  1976. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/map.js +3 -1
  1977. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/match-all.js +3 -1
  1978. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/pad-end.js +3 -1
  1979. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/pad-start.js +3 -1
  1980. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/reduce-right.js +3 -1
  1981. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/reduce.js +3 -1
  1982. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/repeat.js +3 -1
  1983. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/reverse.js +3 -1
  1984. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/slice.js +3 -1
  1985. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/some.js +3 -1
  1986. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/sort.js +3 -1
  1987. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/splice.js +3 -1
  1988. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/starts-with.js +3 -1
  1989. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/trim-end.js +3 -1
  1990. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/trim-left.js +3 -1
  1991. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/trim-right.js +3 -1
  1992. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/trim-start.js +3 -1
  1993. data/lib/condenser/processors/node_modules/core-js-pure/stable/instance/trim.js +3 -1
  1994. data/lib/condenser/processors/node_modules/core-js-pure/stable/json/index.js +3 -1
  1995. data/lib/condenser/processors/node_modules/core-js-pure/stable/json/stringify.js +3 -1
  1996. data/lib/condenser/processors/node_modules/core-js-pure/stable/json/to-string-tag.js +3 -1
  1997. data/lib/condenser/processors/node_modules/core-js-pure/stable/map/index.js +3 -1
  1998. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/acosh.js +3 -1
  1999. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/asinh.js +3 -1
  2000. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/atanh.js +3 -1
  2001. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/cbrt.js +3 -1
  2002. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/clz32.js +3 -1
  2003. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/cosh.js +3 -1
  2004. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/expm1.js +3 -1
  2005. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/fround.js +3 -1
  2006. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/hypot.js +3 -1
  2007. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/imul.js +3 -1
  2008. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/index.js +3 -1
  2009. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/log10.js +3 -1
  2010. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/log1p.js +3 -1
  2011. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/log2.js +3 -1
  2012. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/sign.js +3 -1
  2013. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/sinh.js +3 -1
  2014. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/tanh.js +3 -1
  2015. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/to-string-tag.js +3 -1
  2016. data/lib/condenser/processors/node_modules/core-js-pure/stable/math/trunc.js +3 -1
  2017. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/constructor.js +3 -1
  2018. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/epsilon.js +3 -1
  2019. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/index.js +3 -1
  2020. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/is-finite.js +3 -1
  2021. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/is-integer.js +3 -1
  2022. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/is-nan.js +3 -1
  2023. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/is-safe-integer.js +3 -1
  2024. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/max-safe-integer.js +3 -1
  2025. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/min-safe-integer.js +3 -1
  2026. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/parse-float.js +3 -1
  2027. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/parse-int.js +3 -1
  2028. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/to-fixed.js +3 -1
  2029. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/to-precision.js +3 -1
  2030. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/virtual/index.js +3 -1
  2031. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/virtual/to-fixed.js +3 -1
  2032. data/lib/condenser/processors/node_modules/core-js-pure/stable/number/virtual/to-precision.js +3 -1
  2033. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/assign.js +3 -1
  2034. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/create.js +3 -1
  2035. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/define-getter.js +3 -1
  2036. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/define-properties.js +3 -1
  2037. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/define-property.js +3 -1
  2038. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/define-setter.js +3 -1
  2039. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/entries.js +3 -1
  2040. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/freeze.js +3 -1
  2041. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/from-entries.js +3 -1
  2042. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/get-own-property-descriptor.js +3 -1
  2043. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/get-own-property-descriptors.js +3 -1
  2044. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/get-own-property-names.js +3 -1
  2045. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/get-own-property-symbols.js +3 -1
  2046. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/get-prototype-of.js +3 -1
  2047. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/index.js +3 -1
  2048. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/is-extensible.js +3 -1
  2049. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/is-frozen.js +3 -1
  2050. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/is-sealed.js +3 -1
  2051. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/is.js +3 -1
  2052. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/keys.js +3 -1
  2053. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/lookup-getter.js +3 -1
  2054. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/lookup-setter.js +3 -1
  2055. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/prevent-extensions.js +3 -1
  2056. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/seal.js +3 -1
  2057. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/set-prototype-of.js +3 -1
  2058. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/to-string.js +3 -1
  2059. data/lib/condenser/processors/node_modules/core-js-pure/stable/object/values.js +3 -1
  2060. data/lib/condenser/processors/node_modules/core-js-pure/stable/parse-float.js +3 -1
  2061. data/lib/condenser/processors/node_modules/core-js-pure/stable/parse-int.js +3 -1
  2062. data/lib/condenser/processors/node_modules/core-js-pure/stable/promise/all-settled.js +3 -1
  2063. data/lib/condenser/processors/node_modules/core-js-pure/stable/promise/finally.js +3 -1
  2064. data/lib/condenser/processors/node_modules/core-js-pure/stable/promise/index.js +3 -1
  2065. data/lib/condenser/processors/node_modules/core-js-pure/stable/queue-microtask.js +3 -1
  2066. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/apply.js +3 -1
  2067. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/construct.js +3 -1
  2068. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/define-property.js +3 -1
  2069. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/delete-property.js +3 -1
  2070. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/get-own-property-descriptor.js +3 -1
  2071. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/get-prototype-of.js +3 -1
  2072. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/get.js +3 -1
  2073. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/has.js +3 -1
  2074. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/index.js +3 -1
  2075. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/is-extensible.js +3 -1
  2076. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/own-keys.js +3 -1
  2077. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/prevent-extensions.js +3 -1
  2078. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/set-prototype-of.js +3 -1
  2079. data/lib/condenser/processors/node_modules/core-js-pure/stable/reflect/set.js +3 -1
  2080. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/constructor.js +3 -1
  2081. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/flags.js +3 -1
  2082. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/index.js +3 -1
  2083. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/match.js +3 -1
  2084. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/replace.js +3 -1
  2085. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/search.js +3 -1
  2086. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/split.js +3 -1
  2087. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/sticky.js +3 -0
  2088. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/test.js +3 -0
  2089. data/lib/condenser/processors/node_modules/core-js-pure/stable/regexp/to-string.js +3 -1
  2090. data/lib/condenser/processors/node_modules/core-js-pure/stable/set-immediate.js +2 -1
  2091. data/lib/condenser/processors/node_modules/core-js-pure/stable/set-interval.js +2 -1
  2092. data/lib/condenser/processors/node_modules/core-js-pure/stable/set-timeout.js +2 -1
  2093. data/lib/condenser/processors/node_modules/core-js-pure/stable/set/index.js +3 -1
  2094. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/anchor.js +3 -1
  2095. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/big.js +3 -1
  2096. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/blink.js +3 -1
  2097. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/bold.js +3 -1
  2098. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/code-point-at.js +3 -1
  2099. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/ends-with.js +3 -1
  2100. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/fixed.js +3 -1
  2101. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/fontcolor.js +3 -1
  2102. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/fontsize.js +3 -1
  2103. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/from-code-point.js +3 -1
  2104. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/includes.js +3 -1
  2105. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/index.js +3 -1
  2106. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/italics.js +3 -1
  2107. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/iterator.js +3 -1
  2108. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/link.js +3 -1
  2109. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/match-all.js +3 -1
  2110. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/match.js +3 -1
  2111. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/pad-end.js +3 -1
  2112. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/pad-start.js +3 -1
  2113. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/raw.js +3 -1
  2114. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/repeat.js +3 -1
  2115. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/replace.js +3 -1
  2116. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/search.js +3 -1
  2117. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/small.js +3 -1
  2118. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/split.js +3 -1
  2119. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/starts-with.js +3 -1
  2120. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/strike.js +3 -1
  2121. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/sub.js +3 -1
  2122. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/sup.js +3 -1
  2123. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/trim-end.js +3 -1
  2124. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/trim-left.js +3 -1
  2125. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/trim-right.js +3 -1
  2126. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/trim-start.js +3 -1
  2127. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/trim.js +3 -1
  2128. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/anchor.js +3 -1
  2129. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/big.js +3 -1
  2130. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/blink.js +3 -1
  2131. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/bold.js +3 -1
  2132. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/code-point-at.js +3 -1
  2133. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/ends-with.js +3 -1
  2134. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/fixed.js +3 -1
  2135. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/fontcolor.js +3 -1
  2136. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/fontsize.js +3 -1
  2137. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/includes.js +3 -1
  2138. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/index.js +3 -1
  2139. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/italics.js +3 -1
  2140. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/iterator.js +3 -1
  2141. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/link.js +3 -1
  2142. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/match-all.js +3 -1
  2143. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/pad-end.js +3 -1
  2144. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/pad-start.js +3 -1
  2145. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/repeat.js +3 -1
  2146. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/small.js +3 -1
  2147. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/starts-with.js +3 -1
  2148. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/strike.js +3 -1
  2149. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/sub.js +3 -1
  2150. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/sup.js +3 -1
  2151. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/trim-end.js +3 -1
  2152. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/trim-left.js +3 -1
  2153. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/trim-right.js +3 -1
  2154. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/trim-start.js +3 -1
  2155. data/lib/condenser/processors/node_modules/core-js-pure/stable/string/virtual/trim.js +3 -1
  2156. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/async-iterator.js +3 -1
  2157. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/for.js +3 -1
  2158. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/has-instance.js +3 -1
  2159. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/index.js +3 -1
  2160. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/is-concat-spreadable.js +3 -1
  2161. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/iterator.js +3 -1
  2162. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/key-for.js +3 -1
  2163. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/match-all.js +3 -1
  2164. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/match.js +3 -1
  2165. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/replace.js +3 -1
  2166. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/search.js +3 -1
  2167. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/species.js +3 -1
  2168. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/split.js +3 -1
  2169. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/to-primitive.js +3 -1
  2170. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/to-string-tag.js +3 -1
  2171. data/lib/condenser/processors/node_modules/core-js-pure/stable/symbol/unscopables.js +3 -1
  2172. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/float32-array.js +3 -1
  2173. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/float64-array.js +3 -1
  2174. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/index.js +3 -1
  2175. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/int16-array.js +3 -1
  2176. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/int32-array.js +3 -1
  2177. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/int8-array.js +3 -1
  2178. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/uint16-array.js +3 -1
  2179. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/uint32-array.js +3 -1
  2180. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/uint8-array.js +3 -1
  2181. data/lib/condenser/processors/node_modules/core-js-pure/stable/typed-array/uint8-clamped-array.js +3 -1
  2182. data/lib/condenser/processors/node_modules/core-js-pure/stable/url-search-params/index.js +3 -1
  2183. data/lib/condenser/processors/node_modules/core-js-pure/stable/url/index.js +3 -1
  2184. data/lib/condenser/processors/node_modules/core-js-pure/stable/weak-map/index.js +3 -1
  2185. data/lib/condenser/processors/node_modules/core-js-pure/stable/weak-set/index.js +3 -1
  2186. data/lib/condenser/processors/node_modules/core-js-pure/stage/0.js +2 -1
  2187. data/lib/condenser/processors/node_modules/core-js-pure/stage/1.js +3 -2
  2188. data/lib/condenser/processors/node_modules/core-js-pure/stage/2.js +4 -3
  2189. data/lib/condenser/processors/node_modules/core-js-pure/stage/3.js +4 -2
  2190. data/lib/condenser/processors/node_modules/core-js-pure/stage/4.js +3 -1
  2191. data/lib/condenser/processors/node_modules/core-js-pure/stage/index.js +3 -1
  2192. data/lib/condenser/processors/node_modules/core-js-pure/stage/pre.js +2 -1
  2193. data/lib/condenser/processors/node_modules/core-js-pure/web/dom-collections.js +2 -1
  2194. data/lib/condenser/processors/node_modules/core-js-pure/web/immediate.js +2 -1
  2195. data/lib/condenser/processors/node_modules/core-js-pure/web/index.js +2 -1
  2196. data/lib/condenser/processors/node_modules/core-js-pure/web/timers.js +2 -1
  2197. data/lib/condenser/processors/node_modules/electron-to-chromium/README.md +11 -1
  2198. data/lib/condenser/processors/node_modules/electron-to-chromium/chromium-versions.js +3 -1
  2199. data/lib/condenser/processors/node_modules/electron-to-chromium/full-chromium-versions.js +142 -0
  2200. data/lib/condenser/processors/node_modules/electron-to-chromium/full-versions.js +102 -0
  2201. data/lib/condenser/processors/node_modules/electron-to-chromium/package.json +11 -11
  2202. data/lib/condenser/processors/node_modules/electron-to-chromium/versions.js +3 -0
  2203. data/lib/condenser/processors/node_modules/has-symbols/.eslintrc +2 -1
  2204. data/lib/condenser/processors/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  2205. data/lib/condenser/processors/node_modules/has-symbols/.github/workflows/rebase.yml +15 -0
  2206. data/lib/condenser/processors/node_modules/has-symbols/.travis.yml +9 -110
  2207. data/lib/condenser/processors/node_modules/has-symbols/CHANGELOG.md +34 -3
  2208. data/lib/condenser/processors/node_modules/has-symbols/package.json +26 -15
  2209. data/lib/condenser/processors/node_modules/has-symbols/shams.js +1 -1
  2210. data/lib/condenser/processors/node_modules/is-reference/CHANGELOG.md +4 -0
  2211. data/lib/condenser/processors/node_modules/is-reference/dist/is-reference.es.js +4 -2
  2212. data/lib/condenser/processors/node_modules/is-reference/dist/is-reference.js +4 -2
  2213. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/LICENSE +21 -0
  2214. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/README.md +16 -0
  2215. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/index.d.ts +548 -0
  2216. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/package.json +51 -0
  2217. data/lib/condenser/processors/node_modules/is-reference/package.json +5 -5
  2218. data/lib/condenser/processors/node_modules/json5/CHANGELOG.md +14 -0
  2219. data/lib/condenser/processors/node_modules/json5/README.md +1 -1
  2220. data/lib/condenser/processors/node_modules/json5/dist/index.js +30 -8
  2221. data/lib/condenser/processors/node_modules/json5/dist/index.min.js +1 -1
  2222. data/lib/condenser/processors/node_modules/json5/dist/index.min.mjs +1 -1
  2223. data/lib/condenser/processors/node_modules/json5/dist/index.mjs +8 -1
  2224. data/lib/condenser/processors/node_modules/json5/lib/stringify.js +8 -1
  2225. data/lib/condenser/processors/node_modules/json5/package.json +18 -17
  2226. data/lib/condenser/processors/node_modules/magic-string/CHANGELOG.md +8 -0
  2227. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js +27 -8
  2228. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -1
  2229. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js +26 -8
  2230. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js.map +1 -1
  2231. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js +27 -8
  2232. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js.map +1 -1
  2233. data/lib/condenser/processors/node_modules/magic-string/index.d.ts +6 -1
  2234. data/lib/condenser/processors/node_modules/magic-string/package.json +5 -5
  2235. data/lib/condenser/processors/node_modules/node-releases/.idea/workspace.xml +58 -92
  2236. data/lib/condenser/processors/node_modules/node-releases/data/processed/envs.json +368 -135
  2237. data/lib/condenser/processors/node_modules/node-releases/data/raw/nodejs.json +19 -0
  2238. data/lib/condenser/processors/node_modules/node-releases/data/release-schedule/release-schedule.json +8 -8
  2239. data/lib/condenser/processors/node_modules/node-releases/node_modules/.bin/semver +1 -0
  2240. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/CHANGELOG.md +70 -0
  2241. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/LICENSE +15 -0
  2242. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/README.md +443 -0
  2243. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/bin/semver.js +174 -0
  2244. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/package.json +60 -0
  2245. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/range.bnf +16 -0
  2246. data/lib/condenser/processors/node_modules/{core-js-compat → node-releases}/node_modules/semver/semver.js +0 -0
  2247. data/lib/condenser/processors/node_modules/node-releases/package.json +11 -11
  2248. data/lib/condenser/processors/node_modules/regexpu-core/package.json +13 -15
  2249. data/lib/condenser/processors/node_modules/regexpu-core/rewrite-pattern.js +14 -14
  2250. data/lib/condenser/processors/node_modules/regjsgen/LICENSE +1 -1
  2251. data/lib/condenser/processors/node_modules/regjsgen/README.md +12 -5
  2252. data/lib/condenser/processors/node_modules/regjsgen/package.json +9 -9
  2253. data/lib/condenser/processors/node_modules/regjsgen/regjsgen.js +3 -3
  2254. data/lib/condenser/processors/node_modules/regjsparser/package.json +5 -5
  2255. data/lib/condenser/processors/node_modules/regjsparser/parser.js +20 -3
  2256. data/lib/condenser/processors/node_modules/resolve/.travis.yml +5 -305
  2257. data/lib/condenser/processors/node_modules/resolve/index.js +2 -3
  2258. data/lib/condenser/processors/node_modules/resolve/lib/async.js +52 -45
  2259. data/lib/condenser/processors/node_modules/resolve/lib/core.json +1 -0
  2260. data/lib/condenser/processors/node_modules/resolve/lib/is-core.js +5 -0
  2261. data/lib/condenser/processors/node_modules/resolve/lib/sync.js +10 -10
  2262. data/lib/condenser/processors/node_modules/resolve/package.json +13 -9
  2263. data/lib/condenser/processors/node_modules/resolve/readme.markdown +3 -2
  2264. data/lib/condenser/processors/node_modules/resolve/test/core.js +3 -0
  2265. data/lib/condenser/processors/node_modules/resolve/test/filter.js +1 -1
  2266. data/lib/condenser/processors/node_modules/resolve/test/filter_sync.js +12 -5
  2267. data/lib/condenser/processors/node_modules/resolve/test/resolver.js +2 -2
  2268. data/lib/condenser/processors/node_modules/resolve/test/resolver_sync.js +2 -2
  2269. data/lib/condenser/processors/node_modules/resolve/test/symlinks.js +90 -1
  2270. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/CHANGELOG.md +5 -0
  2271. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/README.md +6 -4
  2272. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js +6 -2
  2273. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js.map +1 -1
  2274. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.es.js +7 -3
  2275. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.es.js.map +1 -1
  2276. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/package.json +6 -6
  2277. data/lib/condenser/processors/node_modules/rollup-plugin-commonjs/src/index.js +8 -2
  2278. data/lib/condenser/processors/node_modules/rollup-pluginutils/CHANGELOG.md +4 -0
  2279. data/lib/condenser/processors/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +1 -1
  2280. data/lib/condenser/processors/node_modules/rollup-pluginutils/dist/pluginutils.es.js +1 -1
  2281. data/lib/condenser/processors/node_modules/rollup-pluginutils/package.json +7 -7
  2282. data/lib/condenser/processors/node_modules/rollup-pluginutils/src/attachScopes.ts +1 -1
  2283. data/lib/condenser/processors/node_modules/rollup/CHANGELOG.md +406 -0
  2284. data/lib/condenser/processors/node_modules/rollup/LICENSE.md +27 -29
  2285. data/lib/condenser/processors/node_modules/rollup/README.md +5 -5
  2286. data/lib/condenser/processors/node_modules/rollup/dist/bin/rollup +240 -209
  2287. data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.es.js +17 -3
  2288. data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.js +17 -3
  2289. data/lib/condenser/processors/node_modules/rollup/dist/rollup.d.ts +58 -28
  2290. data/lib/condenser/processors/node_modules/rollup/dist/rollup.es.js +6317 -9944
  2291. data/lib/condenser/processors/node_modules/rollup/dist/rollup.js +6811 -10485
  2292. data/lib/condenser/processors/node_modules/rollup/dist/shared/index.js +61 -12
  2293. data/lib/condenser/processors/node_modules/rollup/package.json +43 -40
  2294. data/lib/condenser/processors/node_modules/semver/package.json +1 -2
  2295. data/lib/condenser/processors/node_modules/sourcemap-codec/CHANGELOG.md +4 -0
  2296. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -0
  2297. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  2298. data/lib/condenser/processors/node_modules/sourcemap-codec/package.json +6 -5
  2299. data/lib/condenser/processors/node_processor.rb +3 -0
  2300. data/lib/condenser/processors/package-lock.json +472 -456
  2301. data/lib/condenser/templating_engine/erb.rb +4 -2
  2302. data/lib/condenser/transformers/ejs.rb +6 -4
  2303. data/lib/condenser/transformers/sass_transformer.rb +4 -2
  2304. data/lib/condenser/version.rb +1 -1
  2305. data/test/minifiers/uglify_minifier_test.rb +2 -2
  2306. data/test/preprocessor/babel_test.rb +29 -15
  2307. data/test/templates/ejs_test.rb +21 -0
  2308. data/test/test_helper.rb +1 -2
  2309. metadata +386 -142
  2310. data/lib/condenser/processors/node_modules/.bin/regexp-tree +0 -1
  2311. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/src/index.js +0 -32
  2312. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/options.json +0 -10
  2313. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/script-extensions/input.js +0 -1
  2314. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/script-extensions/output.js +0 -1
  2315. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/simple/input.js +0 -1
  2316. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/simple/output.js +0 -1
  2317. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-10/input.js +0 -1
  2318. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-10/output.js +0 -1
  2319. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-11/input.js +0 -1
  2320. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-11/output.js +0 -1
  2321. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-12/input.js +0 -1
  2322. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/unicode-12/output.js +0 -1
  2323. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/options.json +0 -10
  2324. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/script-extensions/input.js +0 -1
  2325. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/script-extensions/output.js +0 -1
  2326. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/simple/input.js +0 -1
  2327. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/simple/output.js +0 -1
  2328. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-10/input.js +0 -1
  2329. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-10/output.js +0 -1
  2330. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-11/input.js +0 -1
  2331. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-11/output.js +0 -1
  2332. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-12/input.js +0 -1
  2333. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-12/output.js +0 -1
  2334. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/test/index.js +0 -2
  2335. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/src/index.js +0 -25
  2336. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/fixtures/dotall-regex/options.json +0 -3
  2337. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/fixtures/dotall-regex/simple/input.js +0 -2
  2338. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/fixtures/dotall-regex/simple/output.js +0 -2
  2339. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/fixtures/dotall-regex/with-unicode-flag/input.js +0 -2
  2340. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/fixtures/dotall-regex/with-unicode-flag/output.js +0 -2
  2341. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/test/index.js +0 -2
  2342. data/lib/condenser/processors/node_modules/@babel/preset-env/CHANGELOG.md +0 -668
  2343. data/lib/condenser/processors/node_modules/@babel/preset-env/yarn-error.log +0 -57
  2344. data/lib/condenser/processors/node_modules/core-js-pure/internals/function-to-string.js +0 -3
  2345. data/lib/condenser/processors/node_modules/core-js-pure/internals/wrapped-well-known-symbol.js +0 -1
  2346. data/lib/condenser/processors/node_modules/core-js-pure/scripts/postinstall.js +0 -24
  2347. data/lib/condenser/processors/node_modules/has-symbols/.npmignore +0 -37
  2348. data/lib/condenser/processors/node_modules/regexp-tree/LICENSE +0 -21
  2349. data/lib/condenser/processors/node_modules/regexp-tree/README.md +0 -2085
  2350. data/lib/condenser/processors/node_modules/regexp-tree/bin/regexp-tree +0 -5
  2351. data/lib/condenser/processors/node_modules/regexp-tree/dist/bin/regexp-tree.js +0 -16
  2352. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/index.js +0 -50
  2353. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js +0 -123
  2354. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-dotall-s-transform.js +0 -69
  2355. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-named-capturing-groups-transform.js +0 -59
  2356. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-x-flag-transform.js +0 -23
  2357. data/lib/condenser/processors/node_modules/regexp-tree/dist/compat-transpiler/transforms/index.js +0 -17
  2358. data/lib/condenser/processors/node_modules/regexp-tree/dist/generator/index.js +0 -177
  2359. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-minimizer.js +0 -412
  2360. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js +0 -380
  2361. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/index.js +0 -59
  2362. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/builders.js +0 -227
  2363. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-from-regexp.js +0 -94
  2364. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-state.js +0 -220
  2365. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js +0 -234
  2366. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/special-symbols.js +0 -22
  2367. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js +0 -81
  2368. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/table-printer.js +0 -27
  2369. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/transforms/char-plus-to-star-transform.js +0 -35
  2370. data/lib/condenser/processors/node_modules/regexp-tree/dist/interpreter/finite-automaton/transforms/index.js +0 -10
  2371. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/index.js +0 -83
  2372. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-case-insensitive-lowercase-transform.js +0 -110
  2373. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-merge-transform.js +0 -339
  2374. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-to-chars-transform.js +0 -30
  2375. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-class-remove-duplicates-transform.js +0 -33
  2376. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-meta-transform.js +0 -211
  2377. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-single-char-transform.js +0 -71
  2378. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-code-to-simple-char-transform.js +0 -84
  2379. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-escape-unescape-transform.js +0 -143
  2380. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js +0 -27
  2381. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/combine-repeating-patterns-transform.js +0 -195
  2382. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/disjunction-remove-duplicates-transform.js +0 -44
  2383. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/group-single-chars-to-char-class.js +0 -92
  2384. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/index.js +0 -56
  2385. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/quantifier-range-to-symbol-transform.js +0 -74
  2386. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/quantifiers-merge-transform.js +0 -113
  2387. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/remove-empty-group-transform.js +0 -34
  2388. data/lib/condenser/processors/node_modules/regexp-tree/dist/optimizer/transforms/ungroup-transform.js +0 -55
  2389. data/lib/condenser/processors/node_modules/regexp-tree/dist/parser/generated/regexp-tree.js +0 -1405
  2390. data/lib/condenser/processors/node_modules/regexp-tree/dist/parser/index.js +0 -28
  2391. data/lib/condenser/processors/node_modules/regexp-tree/dist/parser/unicode/parser-unicode-properties.js +0 -379
  2392. data/lib/condenser/processors/node_modules/regexp-tree/dist/regexp-tree.js +0 -178
  2393. data/lib/condenser/processors/node_modules/regexp-tree/dist/transform/index.js +0 -138
  2394. data/lib/condenser/processors/node_modules/regexp-tree/dist/transform/utils.js +0 -88
  2395. data/lib/condenser/processors/node_modules/regexp-tree/dist/traverse/index.js +0 -313
  2396. data/lib/condenser/processors/node_modules/regexp-tree/dist/traverse/node-path.js +0 -426
  2397. data/lib/condenser/processors/node_modules/regexp-tree/dist/utils/clone.js +0 -29
  2398. data/lib/condenser/processors/node_modules/regexp-tree/index.d.ts +0 -294
  2399. data/lib/condenser/processors/node_modules/regexp-tree/index.js +0 -8
  2400. data/lib/condenser/processors/node_modules/regexp-tree/package.json +0 -70
  2401. data/lib/condenser/processors/node_modules/resolve/.editorconfig +0 -20
  2402. data/lib/condenser/processors/node_modules/trim-right/index.js +0 -10
  2403. data/lib/condenser/processors/node_modules/trim-right/license +0 -21
  2404. data/lib/condenser/processors/node_modules/trim-right/package.json +0 -69
  2405. data/lib/condenser/processors/node_modules/trim-right/readme.md +0 -30
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Tags:**
4
4
  > - :boom: [Breaking Change]
5
- > - :eyeglasses: [Spec Compliancy]
5
+ > - :eyeglasses: [Spec Compliance]
6
6
  > - :rocket: [New Feature]
7
7
  > - :bug: [Bug Fix]
8
8
  > - :memo: [Documentation]
@@ -56,7 +56,7 @@ See the [Babel Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.m
56
56
 
57
57
  ## 7.0.0-beta.7 (2017-03-22)
58
58
 
59
- ### Spec Compliancy
59
+ ### Spec Compliance
60
60
  * Remove babylon plugin for template revision since it's stage-4 (#426) (Henry Zhu)
61
61
 
62
62
  ### Bug Fix
@@ -200,7 +200,7 @@ declare module "C" {
200
200
  }
201
201
  ```
202
202
 
203
- ### :eyeglasses: Spec Compliancy
203
+ ### :eyeglasses: Spec Compliance
204
204
 
205
205
  Forbid semicolons after decorators in classes ([#352](https://github.com/babel/babylon/pull/352)) (Kevin Gibbons)
206
206
 
@@ -305,7 +305,7 @@ AST spec: fix casing of `RegExpLiteral` ([#318](https://github.com/babel/babylon
305
305
 
306
306
  ## 6.15.0 (2017-01-10)
307
307
 
308
- ### :eyeglasses: Spec Compliancy
308
+ ### :eyeglasses: Spec Compliance
309
309
 
310
310
  Add support for Flow shorthand import type ([#267](https://github.com/babel/babylon/pull/267)) (Jeff Morrison)
311
311
 
@@ -411,7 +411,7 @@ Will include all parser plugins instead of specifying each one individually. Use
411
411
 
412
412
  ## 6.14.0 (2016-11-16)
413
413
 
414
- ### :eyeglasses: Spec Compliancy
414
+ ### :eyeglasses: Spec Compliance
415
415
 
416
416
  Throw error for reserved words `enum` and `await` ([#195](https://github.com/babel/babylon/pull/195)) (Kai Cataldo)
417
417
 
@@ -491,7 +491,7 @@ With that test case, there was a ~95ms savings by removing the need for node to
491
491
 
492
492
  ## v6.13.0 (2016-10-21)
493
493
 
494
- ### :eyeglasses: Spec Compliancy
494
+ ### :eyeglasses: Spec Compliance
495
495
 
496
496
  Property variance type annotations for Flow plugin ([#161](https://github.com/babel/babylon/pull/161)) (Sam Goldman)
497
497
 
@@ -549,7 +549,7 @@ Fixes two tests that are failing after the merge of #172 ([#177](https://github.
549
549
 
550
550
  ## v6.12.0 (2016-10-14)
551
551
 
552
- ### :eyeglasses: Spec Compliancy
552
+ ### :eyeglasses: Spec Compliance
553
553
 
554
554
  Implement import() syntax ([#163](https://github.com/babel/babylon/pull/163)) (Jordan Gensler)
555
555
 
@@ -643,7 +643,7 @@ export const { foo: [ ,, qux7 ] } = bar;
643
643
 
644
644
  ## v6.11.5 (2016-10-12)
645
645
 
646
- ### :eyeglasses: Spec Compliancy
646
+ ### :eyeglasses: Spec Compliance
647
647
 
648
648
  Fix: Check for duplicate named exports in exported destructuring assignments ([#144](https://github.com/babel/babylon/pull/144)) (Kai Cataldo)
649
649
 
@@ -689,7 +689,7 @@ Temporary rollback for erroring on trailing comma with spread (#154) (Henry Zhu)
689
689
 
690
690
  ## v6.11.3 (2016-10-01)
691
691
 
692
- ### :eyeglasses: Spec Compliancy
692
+ ### :eyeglasses: Spec Compliance
693
693
 
694
694
  Add static errors for object rest (#149) ([@danez](https://github.com/danez))
695
695
 
@@ -782,7 +782,7 @@ export toString from './toString';
782
782
 
783
783
  ## 6.11.0 (2016-09-22)
784
784
 
785
- ### Spec Compliancy (will break CI)
785
+ ### Spec Compliance (will break CI)
786
786
 
787
787
  - Disallow duplicate named exports ([#107](https://github.com/babel/babylon/pull/107)) @kaicataldo
788
788
 
@@ -862,9 +862,9 @@ for (+i in {});
862
862
 
863
863
  ## 6.10.0 (2016-09-19)
864
864
 
865
- > We plan to include some spec compliancy bugs in patch versions. An example was the multiple default exports issue.
865
+ > We plan to include some spec compliance bugs in patch versions. An example was the multiple default exports issue.
866
866
 
867
- ### Spec Compliancy
867
+ ### Spec Compliance
868
868
 
869
869
  * Implement ES2016 check for simple parameter list in strict mode ([#106](https://github.com/babel/babylon/pull/106)) (Timothy Gu)
870
870
 
@@ -1023,7 +1023,7 @@ declare module "foo" {
1023
1023
  - The existential type `*` is not a valid type parameter.
1024
1024
  - The existential type `*` is a primary type
1025
1025
 
1026
- ### Spec Compliancy
1026
+ ### Spec Compliance
1027
1027
  - The param list for type parameter declarations now consists of `TypeParameter` nodes
1028
1028
  - New `TypeParameter` AST Node (replaces using the `Identifier` node before)
1029
1029
 
@@ -138,26 +138,30 @@ const types = {
138
138
  }),
139
139
  pipeline: createBinop("|>", 0),
140
140
  nullishCoalescing: createBinop("??", 1),
141
- logicalOR: createBinop("||", 1),
142
- logicalAND: createBinop("&&", 2),
143
- bitwiseOR: createBinop("|", 3),
144
- bitwiseXOR: createBinop("^", 4),
145
- bitwiseAND: createBinop("&", 5),
146
- equality: createBinop("==/!=/===/!==", 6),
147
- relational: createBinop("</>/<=/>=", 7),
148
- bitShift: createBinop("<</>>/>>>", 8),
141
+ logicalOR: createBinop("||", 2),
142
+ logicalAND: createBinop("&&", 3),
143
+ bitwiseOR: createBinop("|", 4),
144
+ bitwiseXOR: createBinop("^", 5),
145
+ bitwiseAND: createBinop("&", 6),
146
+ equality: createBinop("==/!=/===/!==", 7),
147
+ relational: createBinop("</>/<=/>=", 8),
148
+ bitShift: createBinop("<</>>/>>>", 9),
149
149
  plusMin: new TokenType("+/-", {
150
150
  beforeExpr,
151
- binop: 9,
151
+ binop: 10,
152
152
  prefix,
153
153
  startsExpr
154
154
  }),
155
- modulo: createBinop("%", 10),
156
- star: createBinop("*", 10),
157
- slash: createBinop("/", 10),
158
- exponent: new TokenType("**", {
155
+ modulo: new TokenType("%", {
159
156
  beforeExpr,
160
157
  binop: 11,
158
+ startsExpr
159
+ }),
160
+ star: createBinop("*", 11),
161
+ slash: createBinop("/", 11),
162
+ exponent: new TokenType("**", {
163
+ beforeExpr,
164
+ binop: 12,
161
165
  rightAssociative: true
162
166
  }),
163
167
  _break: createKeyword("break"),
@@ -232,11 +236,11 @@ const types = {
232
236
  }),
233
237
  _in: createKeyword("in", {
234
238
  beforeExpr,
235
- binop: 7
239
+ binop: 8
236
240
  }),
237
241
  _instanceof: createKeyword("instanceof", {
238
242
  beforeExpr,
239
- binop: 7
243
+ binop: 8
240
244
  }),
241
245
  _typeof: createKeyword("typeof", {
242
246
  beforeExpr,
@@ -255,17 +259,18 @@ const types = {
255
259
  })
256
260
  };
257
261
 
258
- const SCOPE_OTHER = 0b000000000,
259
- SCOPE_PROGRAM = 0b000000001,
260
- SCOPE_FUNCTION = 0b000000010,
261
- SCOPE_ASYNC = 0b000000100,
262
- SCOPE_GENERATOR = 0b000001000,
263
- SCOPE_ARROW = 0b000010000,
264
- SCOPE_SIMPLE_CATCH = 0b000100000,
265
- SCOPE_SUPER = 0b001000000,
266
- SCOPE_DIRECT_SUPER = 0b010000000,
267
- SCOPE_CLASS = 0b100000000,
268
- SCOPE_VAR = SCOPE_PROGRAM | SCOPE_FUNCTION;
262
+ const SCOPE_OTHER = 0b0000000000,
263
+ SCOPE_PROGRAM = 0b0000000001,
264
+ SCOPE_FUNCTION = 0b0000000010,
265
+ SCOPE_ASYNC = 0b0000000100,
266
+ SCOPE_GENERATOR = 0b0000001000,
267
+ SCOPE_ARROW = 0b0000010000,
268
+ SCOPE_SIMPLE_CATCH = 0b0000100000,
269
+ SCOPE_SUPER = 0b0001000000,
270
+ SCOPE_DIRECT_SUPER = 0b0010000000,
271
+ SCOPE_CLASS = 0b0100000000,
272
+ SCOPE_TS_MODULE = 0b1000000000,
273
+ SCOPE_VAR = SCOPE_PROGRAM | SCOPE_FUNCTION | SCOPE_TS_MODULE;
269
274
  function functionFlags(isAsync, isGenerator) {
270
275
  return SCOPE_FUNCTION | (isAsync ? SCOPE_ASYNC : 0) | (isGenerator ? SCOPE_GENERATOR : 0);
271
276
  }
@@ -286,11 +291,11 @@ const BIND_CLASS = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_
286
291
  BIND_TS_INTERFACE = 0 | BIND_KIND_TYPE | 0 | BIND_FLAGS_CLASS,
287
292
  BIND_TS_TYPE = 0 | BIND_KIND_TYPE | 0 | 0,
288
293
  BIND_TS_ENUM = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_TS_ENUM,
289
- BIND_TS_FN_TYPE = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY,
294
+ BIND_TS_AMBIENT = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY,
290
295
  BIND_NONE = 0 | 0 | 0 | BIND_FLAGS_NONE,
291
296
  BIND_OUTSIDE = BIND_KIND_VALUE | 0 | 0 | BIND_FLAGS_NONE,
292
297
  BIND_TS_CONST_ENUM = BIND_TS_ENUM | BIND_FLAGS_TS_CONST_ENUM,
293
- BIND_TS_NAMESPACE = BIND_TS_FN_TYPE;
298
+ BIND_TS_NAMESPACE = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY;
294
299
 
295
300
  function isSimpleProperty(node) {
296
301
  return node != null && node.type === "Property" && node.kind === "init" && node.method === false;
@@ -315,6 +320,13 @@ var estree = (superClass => class extends superClass {
315
320
  return node;
316
321
  }
317
322
 
323
+ estreeParseBigIntLiteral(value) {
324
+ const bigInt = typeof BigInt !== "undefined" ? BigInt(value) : null;
325
+ const node = this.estreeParseLiteral(bigInt);
326
+ node.bigint = String(node.value || value);
327
+ return node;
328
+ }
329
+
318
330
  estreeParseLiteral(value) {
319
331
  return this.parseLiteral(value, "Literal");
320
332
  }
@@ -354,27 +366,25 @@ var estree = (superClass => class extends superClass {
354
366
  } else {
355
367
  this.raise(start, "setter must have exactly one formal parameter");
356
368
  }
357
- }
358
-
359
- if (prop.kind === "set" && prop.value.params[0].type === "RestElement") {
369
+ } else if (prop.kind === "set" && prop.value.params[0].type === "RestElement") {
360
370
  this.raise(start, "setter function argument must not be a rest parameter");
361
371
  }
362
372
  }
363
373
 
364
- checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription) {
374
+ checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription, disallowLetBinding) {
365
375
  switch (expr.type) {
366
376
  case "ObjectPattern":
367
377
  expr.properties.forEach(prop => {
368
- this.checkLVal(prop.type === "Property" ? prop.value : prop, bindingType, checkClashes, "object destructuring pattern");
378
+ this.checkLVal(prop.type === "Property" ? prop.value : prop, bindingType, checkClashes, "object destructuring pattern", disallowLetBinding);
369
379
  });
370
380
  break;
371
381
 
372
382
  default:
373
- super.checkLVal(expr, bindingType, checkClashes, contextDescription);
383
+ super.checkLVal(expr, bindingType, checkClashes, contextDescription, disallowLetBinding);
374
384
  }
375
385
  }
376
386
 
377
- checkPropClash(prop, propHash) {
387
+ checkDuplicatedProto(prop, protoRef) {
378
388
  if (prop.type === "SpreadElement" || prop.computed || prop.method || prop.shorthand) {
379
389
  return;
380
390
  }
@@ -383,11 +393,11 @@ var estree = (superClass => class extends superClass {
383
393
  const name = key.type === "Identifier" ? key.name : String(key.value);
384
394
 
385
395
  if (name === "__proto__" && prop.kind === "init") {
386
- if (propHash.proto) {
387
- this.raise(key.start, "Redefinition of __proto__ property");
396
+ if (protoRef.used && !protoRef.start) {
397
+ protoRef.start = key.start;
388
398
  }
389
399
 
390
- propHash.proto = true;
400
+ protoRef.used = true;
391
401
  }
392
402
  }
393
403
 
@@ -440,13 +450,16 @@ var estree = (superClass => class extends superClass {
440
450
 
441
451
  parseExprAtom(refShorthandDefaultPos) {
442
452
  switch (this.state.type) {
443
- case types.regexp:
444
- return this.estreeParseRegExpLiteral(this.state.value);
445
-
446
453
  case types.num:
447
454
  case types.string:
448
455
  return this.estreeParseLiteral(this.state.value);
449
456
 
457
+ case types.regexp:
458
+ return this.estreeParseRegExpLiteral(this.state.value);
459
+
460
+ case types.bigint:
461
+ return this.estreeParseBigIntLiteral(this.state.value);
462
+
450
463
  case types._null:
451
464
  return this.estreeParseLiteral(null);
452
465
 
@@ -518,14 +531,35 @@ var estree = (superClass => class extends superClass {
518
531
 
519
532
  toAssignableObjectExpressionProp(prop, isBinding, isLast) {
520
533
  if (prop.kind === "get" || prop.kind === "set") {
521
- this.raise(prop.key.start, "Object pattern can't contain getter or setter");
534
+ throw this.raise(prop.key.start, "Object pattern can't contain getter or setter");
522
535
  } else if (prop.method) {
523
- this.raise(prop.key.start, "Object pattern can't contain methods");
536
+ throw this.raise(prop.key.start, "Object pattern can't contain methods");
524
537
  } else {
525
538
  super.toAssignableObjectExpressionProp(prop, isBinding, isLast);
526
539
  }
527
540
  }
528
541
 
542
+ finishCallExpression(node, optional) {
543
+ super.finishCallExpression(node, optional);
544
+
545
+ if (node.callee.type === "Import") {
546
+ node.type = "ImportExpression";
547
+ node.source = node.arguments[0];
548
+ delete node.arguments;
549
+ delete node.callee;
550
+ }
551
+
552
+ return node;
553
+ }
554
+
555
+ toReferencedListDeep(exprList, isParenthesizedExpr) {
556
+ if (!exprList) {
557
+ return;
558
+ }
559
+
560
+ super.toReferencedListDeep(exprList, isParenthesizedExpr);
561
+ }
562
+
529
563
  });
530
564
 
531
565
  const lineBreak = /\r\n?|[\n\u2028\u2029]/;
@@ -667,15 +701,18 @@ const reservedWords = {
667
701
  strictBind: ["eval", "arguments"]
668
702
  };
669
703
  const reservedWordsStrictSet = new Set(reservedWords.strict);
670
- const reservedWordsStrictBindSet = new Set(reservedWords.strict.concat(reservedWords.strictBind));
704
+ const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
671
705
  const isReservedWord = (word, inModule) => {
672
706
  return inModule && word === "await" || word === "enum";
673
707
  };
674
708
  function isStrictReservedWord(word, inModule) {
675
709
  return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
676
710
  }
711
+ function isStrictBindOnlyReservedWord(word) {
712
+ return reservedWordsStrictBindSet.has(word);
713
+ }
677
714
  function isStrictBindReservedWord(word, inModule) {
678
- return isReservedWord(word, inModule) || reservedWordsStrictBindSet.has(word);
715
+ return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
679
716
  }
680
717
  function isKeyword(word) {
681
718
  return keywords.has(word);
@@ -732,7 +769,7 @@ function isIdentifierChar(code) {
732
769
  return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
733
770
  }
734
771
 
735
- const reservedTypes = ["any", "bool", "boolean", "empty", "false", "mixed", "null", "number", "static", "string", "true", "typeof", "void", "interface", "extends", "_"];
772
+ const reservedTypes = new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]);
736
773
 
737
774
  function isEsModuleType(bodyElement) {
738
775
  return bodyElement.type === "DeclareExportAllDeclaration" || bodyElement.type === "DeclareExportDeclaration" && (!bodyElement.declaration || bodyElement.declaration.type !== "TypeAlias" && bodyElement.declaration.type !== "InterfaceDeclaration");
@@ -775,6 +812,10 @@ var flow = (superClass => class extends superClass {
775
812
  return this.getPluginOption("flow", "all") || this.flowPragma === "flow";
776
813
  }
777
814
 
815
+ shouldParseEnums() {
816
+ return !!this.getPluginOption("flow", "enums");
817
+ }
818
+
778
819
  finishToken(type, val) {
779
820
  if (type !== types.string && type !== types.semi && type !== types.interpreterDirective) {
780
821
  if (this.flowPragma === undefined) {
@@ -896,7 +937,7 @@ var flow = (superClass => class extends superClass {
896
937
  return this.flowParseDeclareModuleExports(node);
897
938
  } else {
898
939
  if (insideModule) {
899
- this.unexpected(this.state.lastTokStart, "`declare module` cannot be used inside another `declare module`");
940
+ this.raise(this.state.lastTokStart, "`declare module` cannot be used inside another `declare module`");
900
941
  }
901
942
 
902
943
  return this.flowParseDeclareModule(node);
@@ -917,6 +958,7 @@ var flow = (superClass => class extends superClass {
917
958
  flowParseDeclareVariable(node) {
918
959
  this.next();
919
960
  node.id = this.flowParseTypeAnnotatableIdentifier(true);
961
+ this.scope.declareName(node.id.name, BIND_VAR, node.id.start);
920
962
  this.semicolon();
921
963
  return this.finishNode(node, "DeclareVariable");
922
964
  }
@@ -941,7 +983,7 @@ var flow = (superClass => class extends superClass {
941
983
  this.next();
942
984
 
943
985
  if (!this.isContextual("type") && !this.match(types._typeof)) {
944
- this.unexpected(this.state.lastTokStart, "Imports within a `declare module` body must always be `import type` or `import typeof`");
986
+ this.raise(this.state.lastTokStart, "Imports within a `declare module` body must always be `import type` or `import typeof`");
945
987
  }
946
988
 
947
989
  this.parseImport(bodyNode);
@@ -962,16 +1004,16 @@ var flow = (superClass => class extends superClass {
962
1004
  body.forEach(bodyElement => {
963
1005
  if (isEsModuleType(bodyElement)) {
964
1006
  if (kind === "CommonJS") {
965
- this.unexpected(bodyElement.start, errorMessage);
1007
+ this.raise(bodyElement.start, errorMessage);
966
1008
  }
967
1009
 
968
1010
  kind = "ES";
969
1011
  } else if (bodyElement.type === "DeclareModuleExports") {
970
1012
  if (hasModuleExport) {
971
- this.unexpected(bodyElement.start, "Duplicate `declare module.exports` statement");
1013
+ this.raise(bodyElement.start, "Duplicate `declare module.exports` statement");
972
1014
  }
973
1015
 
974
- if (kind === "ES") this.unexpected(bodyElement.start, errorMessage);
1016
+ if (kind === "ES") this.raise(bodyElement.start, errorMessage);
975
1017
  kind = "CommonJS";
976
1018
  hasModuleExport = true;
977
1019
  }
@@ -1050,7 +1092,8 @@ var flow = (superClass => class extends superClass {
1050
1092
  }
1051
1093
 
1052
1094
  flowParseInterfaceish(node, isClass = false) {
1053
- node.id = this.flowParseRestrictedIdentifier(!isClass);
1095
+ node.id = this.flowParseRestrictedIdentifier(!isClass, true);
1096
+ this.scope.declareName(node.id.name, isClass ? BIND_FUNCTION : BIND_LEXICAL, node.id.start);
1054
1097
 
1055
1098
  if (this.isRelational("<")) {
1056
1099
  node.typeParameters = this.flowParseTypeParameterDeclaration();
@@ -1113,23 +1156,28 @@ var flow = (superClass => class extends superClass {
1113
1156
 
1114
1157
  checkNotUnderscore(word) {
1115
1158
  if (word === "_") {
1116
- throw this.unexpected(null, "`_` is only allowed as a type argument to call or new");
1159
+ this.raise(this.state.start, "`_` is only allowed as a type argument to call or new");
1117
1160
  }
1118
1161
  }
1119
1162
 
1120
- checkReservedType(word, startLoc) {
1121
- if (reservedTypes.indexOf(word) > -1) {
1163
+ checkReservedType(word, startLoc, declaration) {
1164
+ if (!reservedTypes.has(word)) return;
1165
+
1166
+ if (declaration) {
1122
1167
  this.raise(startLoc, `Cannot overwrite reserved type ${word}`);
1168
+ return;
1123
1169
  }
1170
+
1171
+ this.raise(startLoc, `Unexpected reserved type ${word}`);
1124
1172
  }
1125
1173
 
1126
- flowParseRestrictedIdentifier(liberal) {
1127
- this.checkReservedType(this.state.value, this.state.start);
1174
+ flowParseRestrictedIdentifier(liberal, declaration) {
1175
+ this.checkReservedType(this.state.value, this.state.start, declaration);
1128
1176
  return this.parseIdentifier(liberal);
1129
1177
  }
1130
1178
 
1131
1179
  flowParseTypeAlias(node) {
1132
- node.id = this.flowParseRestrictedIdentifier();
1180
+ node.id = this.flowParseRestrictedIdentifier(false, true);
1133
1181
  this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start);
1134
1182
 
1135
1183
  if (this.isRelational("<")) {
@@ -1145,7 +1193,7 @@ var flow = (superClass => class extends superClass {
1145
1193
 
1146
1194
  flowParseOpaqueType(node, declare) {
1147
1195
  this.expectContextual("type");
1148
- node.id = this.flowParseRestrictedIdentifier(true);
1196
+ node.id = this.flowParseRestrictedIdentifier(true, true);
1149
1197
  this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start);
1150
1198
 
1151
1199
  if (this.isRelational("<")) {
@@ -1184,7 +1232,7 @@ var flow = (superClass => class extends superClass {
1184
1232
  node.default = this.flowParseType();
1185
1233
  } else {
1186
1234
  if (requireDefault) {
1187
- this.unexpected(nodeStart, "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.");
1235
+ this.raise(nodeStart, "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.");
1188
1236
  }
1189
1237
  }
1190
1238
 
@@ -1399,6 +1447,7 @@ var flow = (superClass => class extends superClass {
1399
1447
  while (!this.match(endDelim)) {
1400
1448
  let isStatic = false;
1401
1449
  let protoStart = null;
1450
+ let inexactStart = null;
1402
1451
  const node = this.startNode();
1403
1452
 
1404
1453
  if (allowProto && this.isContextual("proto")) {
@@ -1458,16 +1507,21 @@ var flow = (superClass => class extends superClass {
1458
1507
  }
1459
1508
  }
1460
1509
 
1461
- const propOrInexact = this.flowParseObjectTypeProperty(node, isStatic, protoStart, variance, kind, allowSpread, allowInexact);
1510
+ const propOrInexact = this.flowParseObjectTypeProperty(node, isStatic, protoStart, variance, kind, allowSpread, allowInexact != null ? allowInexact : !exact);
1462
1511
 
1463
1512
  if (propOrInexact === null) {
1464
1513
  inexact = true;
1514
+ inexactStart = this.state.lastTokStart;
1465
1515
  } else {
1466
1516
  nodeStart.properties.push(propOrInexact);
1467
1517
  }
1468
1518
  }
1469
1519
 
1470
1520
  this.flowObjectTypeSemicolon();
1521
+
1522
+ if (inexactStart && !this.match(types.braceR) && !this.match(types.braceBarR)) {
1523
+ this.raise(inexactStart, "Explicit inexact syntax must appear at the end of an inexact object");
1524
+ }
1471
1525
  }
1472
1526
 
1473
1527
  this.expect(endDelim);
@@ -1482,33 +1536,33 @@ var flow = (superClass => class extends superClass {
1482
1536
  }
1483
1537
 
1484
1538
  flowParseObjectTypeProperty(node, isStatic, protoStart, variance, kind, allowSpread, allowInexact) {
1485
- if (this.match(types.ellipsis)) {
1486
- if (!allowSpread) {
1487
- this.unexpected(null, "Spread operator cannot appear in class or interface definitions");
1488
- }
1539
+ if (this.eat(types.ellipsis)) {
1540
+ const isInexactToken = this.match(types.comma) || this.match(types.semi) || this.match(types.braceR) || this.match(types.braceBarR);
1489
1541
 
1490
- if (protoStart != null) {
1491
- this.unexpected(protoStart);
1492
- }
1542
+ if (isInexactToken) {
1543
+ if (!allowSpread) {
1544
+ this.raise(this.state.lastTokStart, "Explicit inexact syntax cannot appear in class or interface definitions");
1545
+ } else if (!allowInexact) {
1546
+ this.raise(this.state.lastTokStart, "Explicit inexact syntax cannot appear inside an explicit exact object type");
1547
+ }
1493
1548
 
1494
- if (variance) {
1495
- this.unexpected(variance.start, "Spread properties cannot have variance");
1496
- }
1549
+ if (variance) {
1550
+ this.raise(variance.start, "Explicit inexact syntax cannot have variance");
1551
+ }
1497
1552
 
1498
- this.expect(types.ellipsis);
1499
- const isInexactToken = this.eat(types.comma) || this.eat(types.semi);
1553
+ return null;
1554
+ }
1500
1555
 
1501
- if (this.match(types.braceR)) {
1502
- if (allowInexact) return null;
1503
- this.unexpected(null, "Explicit inexact syntax is only allowed inside inexact objects");
1556
+ if (!allowSpread) {
1557
+ this.raise(this.state.lastTokStart, "Spread operator cannot appear in class or interface definitions");
1504
1558
  }
1505
1559
 
1506
- if (this.match(types.braceBarR)) {
1507
- this.unexpected(null, "Explicit inexact syntax cannot appear inside an explicit exact object type");
1560
+ if (protoStart != null) {
1561
+ this.unexpected(protoStart);
1508
1562
  }
1509
1563
 
1510
- if (isInexactToken) {
1511
- this.unexpected(null, "Explicit inexact syntax must appear at the end of an inexact object");
1564
+ if (variance) {
1565
+ this.raise(variance.start, "Spread properties cannot have variance");
1512
1566
  }
1513
1567
 
1514
1568
  node.argument = this.flowParseType();
@@ -1580,12 +1634,12 @@ var flow = (superClass => class extends superClass {
1580
1634
  flowParseQualifiedTypeIdentifier(startPos, startLoc, id) {
1581
1635
  startPos = startPos || this.state.start;
1582
1636
  startLoc = startLoc || this.state.startLoc;
1583
- let node = id || this.parseIdentifier();
1637
+ let node = id || this.flowParseRestrictedIdentifier(true);
1584
1638
 
1585
1639
  while (this.eat(types.dot)) {
1586
1640
  const node2 = this.startNodeAt(startPos, startLoc);
1587
1641
  node2.qualification = node;
1588
- node2.id = this.parseIdentifier();
1642
+ node2.id = this.flowParseRestrictedIdentifier(true);
1589
1643
  node = this.finishNode(node2, "QualifiedTypeIdentifier");
1590
1644
  }
1591
1645
 
@@ -1823,7 +1877,7 @@ var flow = (superClass => class extends superClass {
1823
1877
  return this.parseLiteral(-this.state.value, "BigIntLiteralTypeAnnotation", node.start, node.loc.start);
1824
1878
  }
1825
1879
 
1826
- this.unexpected(null, `Unexpected token, expected "number" or "bigint"`);
1880
+ throw this.raise(this.state.start, `Unexpected token, expected "number" or "bigint"`);
1827
1881
  }
1828
1882
 
1829
1883
  this.unexpected();
@@ -2017,6 +2071,10 @@ var flow = (superClass => class extends superClass {
2017
2071
  const node = this.startNode();
2018
2072
  this.next();
2019
2073
  return this.flowParseInterface(node);
2074
+ } else if (this.shouldParseEnums() && this.isContextual("enum")) {
2075
+ const node = this.startNode();
2076
+ this.next();
2077
+ return this.flowParseEnumDeclaration(node);
2020
2078
  } else {
2021
2079
  const stmt = super.parseStatement(context, topLevel);
2022
2080
 
@@ -2049,34 +2107,40 @@ var flow = (superClass => class extends superClass {
2049
2107
  }
2050
2108
 
2051
2109
  shouldParseExportDeclaration() {
2052
- return this.isContextual("type") || this.isContextual("interface") || this.isContextual("opaque") || super.shouldParseExportDeclaration();
2110
+ return this.isContextual("type") || this.isContextual("interface") || this.isContextual("opaque") || this.shouldParseEnums() && this.isContextual("enum") || super.shouldParseExportDeclaration();
2053
2111
  }
2054
2112
 
2055
2113
  isExportDefaultSpecifier() {
2056
- if (this.match(types.name) && (this.state.value === "type" || this.state.value === "interface" || this.state.value === "opaque")) {
2114
+ if (this.match(types.name) && (this.state.value === "type" || this.state.value === "interface" || this.state.value === "opaque" || this.shouldParseEnums() && this.state.value === "enum")) {
2057
2115
  return false;
2058
2116
  }
2059
2117
 
2060
2118
  return super.isExportDefaultSpecifier();
2061
2119
  }
2062
2120
 
2121
+ parseExportDefaultExpression() {
2122
+ if (this.shouldParseEnums() && this.isContextual("enum")) {
2123
+ const node = this.startNode();
2124
+ this.next();
2125
+ return this.flowParseEnumDeclaration(node);
2126
+ }
2127
+
2128
+ return super.parseExportDefaultExpression();
2129
+ }
2130
+
2063
2131
  parseConditional(expr, noIn, startPos, startLoc, refNeedsArrowPos) {
2064
2132
  if (!this.match(types.question)) return expr;
2065
2133
 
2066
2134
  if (refNeedsArrowPos) {
2067
- const state = this.state.clone();
2135
+ const result = this.tryParse(() => super.parseConditional(expr, noIn, startPos, startLoc));
2068
2136
 
2069
- try {
2070
- return super.parseConditional(expr, noIn, startPos, startLoc);
2071
- } catch (err) {
2072
- if (err instanceof SyntaxError) {
2073
- this.state = state;
2074
- refNeedsArrowPos.start = err.pos || this.state.start;
2075
- return expr;
2076
- } else {
2077
- throw err;
2078
- }
2137
+ if (!result.node) {
2138
+ refNeedsArrowPos.start = result.error.pos || this.state.start;
2139
+ return expr;
2079
2140
  }
2141
+
2142
+ if (result.error) this.state = result.failState;
2143
+ return result.node;
2080
2144
  }
2081
2145
 
2082
2146
  this.expect(types.question);
@@ -2119,10 +2183,9 @@ var flow = (superClass => class extends superClass {
2119
2183
  failed
2120
2184
  } = this.tryParseConditionalConsequent());
2121
2185
  }
2122
-
2123
- this.getArrowLikeExpressions(consequent, true);
2124
2186
  }
2125
2187
 
2188
+ this.getArrowLikeExpressions(consequent, true);
2126
2189
  this.state.noArrowAt = originalNoArrowAt;
2127
2190
  this.expect(types.colon);
2128
2191
  node.test = expr;
@@ -2151,10 +2214,7 @@ var flow = (superClass => class extends superClass {
2151
2214
 
2152
2215
  if (node.type === "ArrowFunctionExpression") {
2153
2216
  if (node.typeParameters || !node.returnType) {
2154
- this.toAssignableList(node.params, true, "arrow function parameters");
2155
- this.scope.enter(functionFlags(false, false) | SCOPE_ARROW);
2156
- super.checkParams(node, false, true);
2157
- this.scope.exit();
2217
+ this.finishArrowValidation(node);
2158
2218
  } else {
2159
2219
  arrows.push(node);
2160
2220
  }
@@ -2167,21 +2227,20 @@ var flow = (superClass => class extends superClass {
2167
2227
  }
2168
2228
 
2169
2229
  if (disallowInvalid) {
2170
- for (let i = 0; i < arrows.length; i++) {
2171
- this.toAssignableList(node.params, true, "arrow function parameters");
2172
- }
2173
-
2230
+ arrows.forEach(node => this.finishArrowValidation(node));
2174
2231
  return [arrows, []];
2175
2232
  }
2176
2233
 
2177
- return partition(arrows, node => {
2178
- try {
2179
- this.toAssignableList(node.params, true, "arrow function parameters");
2180
- return true;
2181
- } catch (err) {
2182
- return false;
2183
- }
2184
- });
2234
+ return partition(arrows, node => node.params.every(param => this.isAssignable(param, true)));
2235
+ }
2236
+
2237
+ finishArrowValidation(node) {
2238
+ var _node$extra;
2239
+
2240
+ this.toAssignableList(node.params, true, "arrow function parameters", (_node$extra = node.extra) == null ? void 0 : _node$extra.trailingComma);
2241
+ this.scope.enter(functionFlags(false, false) | SCOPE_ARROW);
2242
+ super.checkParams(node, false, true);
2243
+ this.scope.exit();
2185
2244
  }
2186
2245
 
2187
2246
  forwardNoArrowParamsConversionAt(node, parse) {
@@ -2257,6 +2316,11 @@ var flow = (superClass => class extends superClass {
2257
2316
  const declarationNode = this.startNode();
2258
2317
  this.next();
2259
2318
  return this.flowParseInterface(declarationNode);
2319
+ } else if (this.shouldParseEnums() && this.isContextual("enum")) {
2320
+ node.exportKind = "value";
2321
+ const declarationNode = this.startNode();
2322
+ this.next();
2323
+ return this.flowParseEnumDeclaration(declarationNode);
2260
2324
  } else {
2261
2325
  return super.parseExportDeclaration(node);
2262
2326
  }
@@ -2309,6 +2373,47 @@ var flow = (superClass => class extends superClass {
2309
2373
  }
2310
2374
  }
2311
2375
 
2376
+ isAssignable(node, isBinding) {
2377
+ switch (node.type) {
2378
+ case "Identifier":
2379
+ case "ObjectPattern":
2380
+ case "ArrayPattern":
2381
+ case "AssignmentPattern":
2382
+ return true;
2383
+
2384
+ case "ObjectExpression":
2385
+ {
2386
+ const last = node.properties.length - 1;
2387
+ return node.properties.every((prop, i) => {
2388
+ return prop.type !== "ObjectMethod" && (i === last || prop.type === "SpreadElement") && this.isAssignable(prop);
2389
+ });
2390
+ }
2391
+
2392
+ case "ObjectProperty":
2393
+ return this.isAssignable(node.value);
2394
+
2395
+ case "SpreadElement":
2396
+ return this.isAssignable(node.argument);
2397
+
2398
+ case "ArrayExpression":
2399
+ return node.elements.every(element => this.isAssignable(element));
2400
+
2401
+ case "AssignmentExpression":
2402
+ return node.operator === "=";
2403
+
2404
+ case "ParenthesizedExpression":
2405
+ case "TypeCastExpression":
2406
+ return this.isAssignable(node.expression);
2407
+
2408
+ case "MemberExpression":
2409
+ case "OptionalMemberExpression":
2410
+ return !isBinding;
2411
+
2412
+ default:
2413
+ return false;
2414
+ }
2415
+ }
2416
+
2312
2417
  toAssignable(node, isBinding, contextDescription) {
2313
2418
  if (node.type === "TypeCastExpression") {
2314
2419
  return super.toAssignable(this.typeCastToParameter(node), isBinding, contextDescription);
@@ -2317,7 +2422,7 @@ var flow = (superClass => class extends superClass {
2317
2422
  }
2318
2423
  }
2319
2424
 
2320
- toAssignableList(exprList, isBinding, contextDescription) {
2425
+ toAssignableList(exprList, isBinding, contextDescription, trailingCommaPos) {
2321
2426
  for (let i = 0; i < exprList.length; i++) {
2322
2427
  const expr = exprList[i];
2323
2428
 
@@ -2326,7 +2431,7 @@ var flow = (superClass => class extends superClass {
2326
2431
  }
2327
2432
  }
2328
2433
 
2329
- return super.toAssignableList(exprList, isBinding, contextDescription);
2434
+ return super.toAssignableList(exprList, isBinding, contextDescription, trailingCommaPos);
2330
2435
  }
2331
2436
 
2332
2437
  toReferencedList(exprList, isParenthesizedExpr) {
@@ -2459,7 +2564,7 @@ var flow = (superClass => class extends superClass {
2459
2564
  parseAssignableListItemTypes(param) {
2460
2565
  if (this.eat(types.question)) {
2461
2566
  if (param.type !== "Identifier") {
2462
- throw this.raise(param.start, "A binding pattern parameter cannot be optional in an implementation signature.");
2567
+ this.raise(param.start, "A binding pattern parameter cannot be optional in an implementation signature.");
2463
2568
  }
2464
2569
 
2465
2570
  param.optional = true;
@@ -2492,7 +2597,7 @@ var flow = (superClass => class extends superClass {
2492
2597
  }
2493
2598
 
2494
2599
  parseImportSpecifierLocal(node, specifier, type, contextDescription) {
2495
- specifier.local = hasTypeImportKind(node) ? this.flowParseRestrictedIdentifier(true) : this.parseIdentifier();
2600
+ specifier.local = hasTypeImportKind(node) ? this.flowParseRestrictedIdentifier(true, true) : this.parseIdentifier();
2496
2601
  this.checkLVal(specifier.local, BIND_LEXICAL, undefined, contextDescription);
2497
2602
  node.specifiers.push(this.finishNode(specifier, type));
2498
2603
  }
@@ -2574,7 +2679,7 @@ var flow = (superClass => class extends superClass {
2574
2679
  }
2575
2680
 
2576
2681
  if (nodeIsTypeImport || specifierIsTypeImport) {
2577
- this.checkReservedType(specifier.local.name, specifier.local.start);
2682
+ this.checkReservedType(specifier.local.name, specifier.local.start, true);
2578
2683
  }
2579
2684
 
2580
2685
  if (isBinding && !nodeIsTypeImport && !specifierIsTypeImport) {
@@ -2620,49 +2725,50 @@ var flow = (superClass => class extends superClass {
2620
2725
  }
2621
2726
 
2622
2727
  parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos) {
2623
- let jsxError = null;
2728
+ let state = null;
2729
+ let jsx;
2624
2730
 
2625
2731
  if (this.hasPlugin("jsx") && (this.match(types.jsxTagStart) || this.isRelational("<"))) {
2626
- const state = this.state.clone();
2627
-
2628
- try {
2629
- return super.parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos);
2630
- } catch (err) {
2631
- if (err instanceof SyntaxError) {
2632
- this.state = state;
2633
- const cLength = this.state.context.length;
2634
-
2635
- if (this.state.context[cLength - 1] === types$1.j_oTag) {
2636
- this.state.context.length -= 2;
2637
- }
2732
+ state = this.state.clone();
2733
+ jsx = this.tryParse(() => super.parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos), state);
2734
+ if (!jsx.error) return jsx.node;
2735
+ const {
2736
+ context
2737
+ } = this.state;
2638
2738
 
2639
- jsxError = err;
2640
- } else {
2641
- throw err;
2642
- }
2739
+ if (context[context.length - 1] === types$1.j_oTag) {
2740
+ context.length -= 2;
2741
+ } else if (context[context.length - 1] === types$1.j_expr) {
2742
+ context.length -= 1;
2643
2743
  }
2644
2744
  }
2645
2745
 
2646
- if (jsxError != null || this.isRelational("<")) {
2647
- let arrowExpression;
2746
+ if (jsx && jsx.error || this.isRelational("<")) {
2747
+ state = state || this.state.clone();
2648
2748
  let typeParameters;
2649
-
2650
- try {
2749
+ const arrow = this.tryParse(() => {
2651
2750
  typeParameters = this.flowParseTypeParameterDeclaration();
2652
- arrowExpression = this.forwardNoArrowParamsConversionAt(typeParameters, () => super.parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos));
2751
+ const arrowExpression = this.forwardNoArrowParamsConversionAt(typeParameters, () => super.parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos));
2653
2752
  arrowExpression.typeParameters = typeParameters;
2654
2753
  this.resetStartLocationFromNode(arrowExpression, typeParameters);
2655
- } catch (err) {
2656
- throw jsxError || err;
2754
+ return arrowExpression;
2755
+ }, state);
2756
+ const arrowExpression = arrow.node && arrow.node.type === "ArrowFunctionExpression" ? arrow.node : null;
2757
+ if (!arrow.error && arrowExpression) return arrowExpression;
2758
+
2759
+ if (jsx && jsx.node) {
2760
+ this.state = jsx.failState;
2761
+ return jsx.node;
2657
2762
  }
2658
2763
 
2659
- if (arrowExpression.type === "ArrowFunctionExpression") {
2764
+ if (arrowExpression) {
2765
+ this.state = arrow.failState;
2660
2766
  return arrowExpression;
2661
- } else if (jsxError != null) {
2662
- throw jsxError;
2663
- } else {
2664
- this.raise(typeParameters.start, "Expected an arrow function after this type parameter declaration");
2665
2767
  }
2768
+
2769
+ if (jsx && jsx.thrown) throw jsx.error;
2770
+ if (arrow.thrown) throw arrow.error;
2771
+ throw this.raise(typeParameters.start, "Expected an arrow function after this type parameter declaration");
2666
2772
  }
2667
2773
 
2668
2774
  return super.parseMaybeAssign(noIn, refShorthandDefaultPos, afterLeftParse, refNeedsArrowPos);
@@ -2670,9 +2776,7 @@ var flow = (superClass => class extends superClass {
2670
2776
 
2671
2777
  parseArrow(node) {
2672
2778
  if (this.match(types.colon)) {
2673
- const state = this.state.clone();
2674
-
2675
- try {
2779
+ const result = this.tryParse(() => {
2676
2780
  const oldNoAnonFunctionType = this.state.noAnonFunctionType;
2677
2781
  this.state.noAnonFunctionType = true;
2678
2782
  const typeNode = this.startNode();
@@ -2680,14 +2784,11 @@ var flow = (superClass => class extends superClass {
2680
2784
  this.state.noAnonFunctionType = oldNoAnonFunctionType;
2681
2785
  if (this.canInsertSemicolon()) this.unexpected();
2682
2786
  if (!this.match(types.arrow)) this.unexpected();
2683
- node.returnType = typeNode.typeAnnotation ? this.finishNode(typeNode, "TypeAnnotation") : null;
2684
- } catch (err) {
2685
- if (err instanceof SyntaxError) {
2686
- this.state = state;
2687
- } else {
2688
- throw err;
2689
- }
2690
- }
2787
+ return typeNode;
2788
+ });
2789
+ if (result.thrown) return null;
2790
+ if (result.error) this.state = result.failState;
2791
+ node.returnType = result.node.typeAnnotation ? this.finishNode(result.node, "TypeAnnotation") : null;
2691
2792
  }
2692
2793
 
2693
2794
  return super.parseArrow(node);
@@ -2710,7 +2811,7 @@ var flow = (superClass => class extends superClass {
2710
2811
  return;
2711
2812
  }
2712
2813
 
2713
- return super.checkParams(node, allowDuplicates, isArrowFunction);
2814
+ return super.checkParams(...arguments);
2714
2815
  }
2715
2816
 
2716
2817
  parseParenAndDistinguishExpression(canBeArrow) {
@@ -2726,28 +2827,28 @@ var flow = (superClass => class extends superClass {
2726
2827
  base = this.finishNode(node, "CallExpression");
2727
2828
  } else if (base.type === "Identifier" && base.name === "async" && this.isRelational("<")) {
2728
2829
  const state = this.state.clone();
2729
- let error;
2830
+ const arrow = this.tryParse(abort => this.parseAsyncArrowWithTypeParameters(startPos, startLoc) || abort(), state);
2831
+ if (!arrow.error && !arrow.aborted) return arrow.node;
2832
+ const result = this.tryParse(() => super.parseSubscripts(base, startPos, startLoc, noCalls), state);
2833
+ if (result.node && !result.error) return result.node;
2730
2834
 
2731
- try {
2732
- const node = this.parseAsyncArrowWithTypeParameters(startPos, startLoc);
2733
- if (node) return node;
2734
- } catch (e) {
2735
- error = e;
2835
+ if (arrow.node) {
2836
+ this.state = arrow.failState;
2837
+ return arrow.node;
2736
2838
  }
2737
2839
 
2738
- this.state = state;
2739
-
2740
- try {
2741
- return super.parseSubscripts(base, startPos, startLoc, noCalls);
2742
- } catch (e) {
2743
- throw error || e;
2840
+ if (result.node) {
2841
+ this.state = result.failState;
2842
+ return result.node;
2744
2843
  }
2844
+
2845
+ throw arrow.error || result.error;
2745
2846
  }
2746
2847
 
2747
2848
  return super.parseSubscripts(base, startPos, startLoc, noCalls);
2748
2849
  }
2749
2850
 
2750
- parseSubscript(base, startPos, startLoc, noCalls, subscriptState, maybeAsyncArrow) {
2851
+ parseSubscript(base, startPos, startLoc, noCalls, subscriptState) {
2751
2852
  if (this.match(types.questionDot) && this.isLookaheadRelational("<")) {
2752
2853
  this.expectPlugin("optionalChaining");
2753
2854
  subscriptState.optionalChainMember = true;
@@ -2764,50 +2865,32 @@ var flow = (superClass => class extends superClass {
2764
2865
  this.expect(types.parenL);
2765
2866
  node.arguments = this.parseCallExpressionArguments(types.parenR, false);
2766
2867
  node.optional = true;
2767
- return this.finishNode(node, "OptionalCallExpression");
2868
+ return this.finishCallExpression(node, true);
2768
2869
  } else if (!noCalls && this.shouldParseTypes() && this.isRelational("<")) {
2769
2870
  const node = this.startNodeAt(startPos, startLoc);
2770
2871
  node.callee = base;
2771
- const state = this.state.clone();
2772
-
2773
- try {
2872
+ const result = this.tryParse(() => {
2774
2873
  node.typeArguments = this.flowParseTypeParameterInstantiationCallOrNew();
2775
2874
  this.expect(types.parenL);
2776
2875
  node.arguments = this.parseCallExpressionArguments(types.parenR, false);
2876
+ if (subscriptState.optionalChainMember) node.optional = false;
2877
+ return this.finishCallExpression(node, subscriptState.optionalChainMember);
2878
+ });
2777
2879
 
2778
- if (subscriptState.optionalChainMember) {
2779
- node.optional = false;
2780
- return this.finishNode(node, "OptionalCallExpression");
2781
- }
2782
-
2783
- return this.finishNode(node, "CallExpression");
2784
- } catch (e) {
2785
- if (e instanceof SyntaxError) {
2786
- this.state = state;
2787
- } else {
2788
- throw e;
2789
- }
2880
+ if (result.node) {
2881
+ if (result.error) this.state = result.failState;
2882
+ return result.node;
2790
2883
  }
2791
2884
  }
2792
2885
 
2793
- return super.parseSubscript(base, startPos, startLoc, noCalls, subscriptState, maybeAsyncArrow);
2886
+ return super.parseSubscript(base, startPos, startLoc, noCalls, subscriptState);
2794
2887
  }
2795
2888
 
2796
2889
  parseNewArguments(node) {
2797
2890
  let targs = null;
2798
2891
 
2799
2892
  if (this.shouldParseTypes() && this.isRelational("<")) {
2800
- const state = this.state.clone();
2801
-
2802
- try {
2803
- targs = this.flowParseTypeParameterInstantiationCallOrNew();
2804
- } catch (e) {
2805
- if (e instanceof SyntaxError) {
2806
- this.state = state;
2807
- } else {
2808
- throw e;
2809
- }
2810
- }
2893
+ targs = this.tryParse(() => this.flowParseTypeParameterInstantiationCallOrNew()).node;
2811
2894
  }
2812
2895
 
2813
2896
  node.typeArguments = targs;
@@ -2848,71 +2931,509 @@ var flow = (superClass => class extends superClass {
2848
2931
  parseTopLevel(file, program) {
2849
2932
  const fileNode = super.parseTopLevel(file, program);
2850
2933
 
2851
- if (this.state.hasFlowComment) {
2852
- this.unexpected(null, "Unterminated flow-comment");
2853
- }
2934
+ if (this.state.hasFlowComment) {
2935
+ this.raise(this.state.pos, "Unterminated flow-comment");
2936
+ }
2937
+
2938
+ return fileNode;
2939
+ }
2940
+
2941
+ skipBlockComment() {
2942
+ if (this.hasPlugin("flowComments") && this.skipFlowComment()) {
2943
+ if (this.state.hasFlowComment) {
2944
+ this.unexpected(null, "Cannot have a flow comment inside another flow comment");
2945
+ }
2946
+
2947
+ this.hasFlowCommentCompletion();
2948
+ this.state.pos += this.skipFlowComment();
2949
+ this.state.hasFlowComment = true;
2950
+ return;
2951
+ }
2952
+
2953
+ if (this.state.hasFlowComment) {
2954
+ const end = this.input.indexOf("*-/", this.state.pos += 2);
2955
+
2956
+ if (end === -1) {
2957
+ throw this.raise(this.state.pos - 2, "Unterminated comment");
2958
+ }
2959
+
2960
+ this.state.pos = end + 3;
2961
+ return;
2962
+ }
2963
+
2964
+ super.skipBlockComment();
2965
+ }
2966
+
2967
+ skipFlowComment() {
2968
+ const {
2969
+ pos
2970
+ } = this.state;
2971
+ let shiftToFirstNonWhiteSpace = 2;
2972
+
2973
+ while ([32, 9].includes(this.input.charCodeAt(pos + shiftToFirstNonWhiteSpace))) {
2974
+ shiftToFirstNonWhiteSpace++;
2975
+ }
2976
+
2977
+ const ch2 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos);
2978
+ const ch3 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos + 1);
2979
+
2980
+ if (ch2 === 58 && ch3 === 58) {
2981
+ return shiftToFirstNonWhiteSpace + 2;
2982
+ }
2983
+
2984
+ if (this.input.slice(shiftToFirstNonWhiteSpace + pos, shiftToFirstNonWhiteSpace + pos + 12) === "flow-include") {
2985
+ return shiftToFirstNonWhiteSpace + 12;
2986
+ }
2987
+
2988
+ if (ch2 === 58 && ch3 !== 58) {
2989
+ return shiftToFirstNonWhiteSpace;
2990
+ }
2991
+
2992
+ return false;
2993
+ }
2994
+
2995
+ hasFlowCommentCompletion() {
2996
+ const end = this.input.indexOf("*/", this.state.pos);
2997
+
2998
+ if (end === -1) {
2999
+ throw this.raise(this.state.pos, "Unterminated comment");
3000
+ }
3001
+ }
3002
+
3003
+ flowEnumErrorBooleanMemberNotInitialized(pos, {
3004
+ enumName,
3005
+ memberName
3006
+ }) {
3007
+ this.raise(pos, `Boolean enum members need to be initialized. Use either \`${memberName} = true,\` ` + `or \`${memberName} = false,\` in enum \`${enumName}\`.`);
3008
+ }
3009
+
3010
+ flowEnumErrorInvalidMemberName(pos, {
3011
+ enumName,
3012
+ memberName
3013
+ }) {
3014
+ const suggestion = memberName[0].toUpperCase() + memberName.slice(1);
3015
+ this.raise(pos, `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using ` + `\`${memberName}\`, consider using \`${suggestion}\`, in enum \`${enumName}\`.`);
3016
+ }
3017
+
3018
+ flowEnumErrorDuplicateMemberName(pos, {
3019
+ enumName,
3020
+ memberName
3021
+ }) {
3022
+ this.raise(pos, `Enum member names need to be unique, but the name \`${memberName}\` has already been used ` + `before in enum \`${enumName}\`.`);
3023
+ }
3024
+
3025
+ flowEnumErrorInconsistentMemberValues(pos, {
3026
+ enumName
3027
+ }) {
3028
+ this.raise(pos, `Enum \`${enumName}\` has inconsistent member initializers. Either use no initializers, or ` + `consistently use literals (either booleans, numbers, or strings) for all member initializers.`);
3029
+ }
3030
+
3031
+ flowEnumErrorInvalidExplicitType(pos, {
3032
+ enumName,
3033
+ suppliedType
3034
+ }) {
3035
+ const suggestion = `Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in ` + `enum \`${enumName}\`.`;
3036
+ const message = suppliedType === null ? `Supplied enum type is not valid. ${suggestion}` : `Enum type \`${suppliedType}\` is not valid. ${suggestion}`;
3037
+ return this.raise(pos, message);
3038
+ }
3039
+
3040
+ flowEnumErrorInvalidMemberInitializer(pos, {
3041
+ enumName,
3042
+ explicitType,
3043
+ memberName
3044
+ }) {
3045
+ let message = null;
3046
+
3047
+ switch (explicitType) {
3048
+ case "boolean":
3049
+ case "number":
3050
+ case "string":
3051
+ message = `Enum \`${enumName}\` has type \`${explicitType}\`, so the initializer of ` + `\`${memberName}\` needs to be a ${explicitType} literal.`;
3052
+ break;
3053
+
3054
+ case "symbol":
3055
+ message = `Symbol enum members cannot be initialized. Use \`${memberName},\` in ` + `enum \`${enumName}\`.`;
3056
+ break;
3057
+
3058
+ default:
3059
+ message = `The enum member initializer for \`${memberName}\` needs to be a literal (either ` + `a boolean, number, or string) in enum \`${enumName}\`.`;
3060
+ }
3061
+
3062
+ return this.raise(pos, message);
3063
+ }
3064
+
3065
+ flowEnumErrorNumberMemberNotInitialized(pos, {
3066
+ enumName,
3067
+ memberName
3068
+ }) {
3069
+ this.raise(pos, `Number enum members need to be initialized, e.g. \`${memberName} = 1\` in enum \`${enumName}\`.`);
3070
+ }
3071
+
3072
+ flowEnumErrorStringMemberInconsistentlyInitailized(pos, {
3073
+ enumName
3074
+ }) {
3075
+ this.raise(pos, `String enum members need to consistently either all use initializers, or use no initializers, ` + `in enum \`${enumName}\`.`);
3076
+ }
3077
+
3078
+ flowEnumMemberInit() {
3079
+ const startPos = this.state.start;
3080
+
3081
+ const endOfInit = () => this.match(types.comma) || this.match(types.braceR);
3082
+
3083
+ switch (this.state.type) {
3084
+ case types.num:
3085
+ {
3086
+ const literal = this.parseLiteral(this.state.value, "NumericLiteral");
3087
+
3088
+ if (endOfInit()) {
3089
+ return {
3090
+ type: "number",
3091
+ pos: literal.start,
3092
+ value: literal
3093
+ };
3094
+ }
3095
+
3096
+ return {
3097
+ type: "invalid",
3098
+ pos: startPos
3099
+ };
3100
+ }
3101
+
3102
+ case types.string:
3103
+ {
3104
+ const literal = this.parseLiteral(this.state.value, "StringLiteral");
3105
+
3106
+ if (endOfInit()) {
3107
+ return {
3108
+ type: "string",
3109
+ pos: literal.start,
3110
+ value: literal
3111
+ };
3112
+ }
3113
+
3114
+ return {
3115
+ type: "invalid",
3116
+ pos: startPos
3117
+ };
3118
+ }
3119
+
3120
+ case types._true:
3121
+ case types._false:
3122
+ {
3123
+ const literal = this.parseBooleanLiteral();
3124
+
3125
+ if (endOfInit()) {
3126
+ return {
3127
+ type: "boolean",
3128
+ pos: literal.start,
3129
+ value: literal
3130
+ };
3131
+ }
3132
+
3133
+ return {
3134
+ type: "invalid",
3135
+ pos: startPos
3136
+ };
3137
+ }
3138
+
3139
+ default:
3140
+ return {
3141
+ type: "invalid",
3142
+ pos: startPos
3143
+ };
3144
+ }
3145
+ }
3146
+
3147
+ flowEnumMemberRaw() {
3148
+ const pos = this.state.start;
3149
+ const id = this.parseIdentifier(true);
3150
+ const init = this.eat(types.eq) ? this.flowEnumMemberInit() : {
3151
+ type: "none",
3152
+ pos
3153
+ };
3154
+ return {
3155
+ id,
3156
+ init
3157
+ };
3158
+ }
3159
+
3160
+ flowEnumCheckExplicitTypeMismatch(pos, context, expectedType) {
3161
+ const {
3162
+ explicitType
3163
+ } = context;
3164
+
3165
+ if (explicitType === null) {
3166
+ return;
3167
+ }
3168
+
3169
+ if (explicitType !== expectedType) {
3170
+ this.flowEnumErrorInvalidMemberInitializer(pos, context);
3171
+ }
3172
+ }
3173
+
3174
+ flowEnumMembers({
3175
+ enumName,
3176
+ explicitType
3177
+ }) {
3178
+ const seenNames = new Set();
3179
+ const members = {
3180
+ booleanMembers: [],
3181
+ numberMembers: [],
3182
+ stringMembers: [],
3183
+ defaultedMembers: []
3184
+ };
3185
+
3186
+ while (!this.match(types.braceR)) {
3187
+ const memberNode = this.startNode();
3188
+ const {
3189
+ id,
3190
+ init
3191
+ } = this.flowEnumMemberRaw();
3192
+ const memberName = id.name;
3193
+
3194
+ if (memberName === "") {
3195
+ continue;
3196
+ }
3197
+
3198
+ if (/^[a-z]/.test(memberName)) {
3199
+ this.flowEnumErrorInvalidMemberName(id.start, {
3200
+ enumName,
3201
+ memberName
3202
+ });
3203
+ }
3204
+
3205
+ if (seenNames.has(memberName)) {
3206
+ this.flowEnumErrorDuplicateMemberName(id.start, {
3207
+ enumName,
3208
+ memberName
3209
+ });
3210
+ }
3211
+
3212
+ seenNames.add(memberName);
3213
+ const context = {
3214
+ enumName,
3215
+ explicitType,
3216
+ memberName
3217
+ };
3218
+ memberNode.id = id;
3219
+
3220
+ switch (init.type) {
3221
+ case "boolean":
3222
+ {
3223
+ this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "boolean");
3224
+ memberNode.init = init.value;
3225
+ members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
3226
+ break;
3227
+ }
3228
+
3229
+ case "number":
3230
+ {
3231
+ this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "number");
3232
+ memberNode.init = init.value;
3233
+ members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
3234
+ break;
3235
+ }
3236
+
3237
+ case "string":
3238
+ {
3239
+ this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "string");
3240
+ memberNode.init = init.value;
3241
+ members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
3242
+ break;
3243
+ }
3244
+
3245
+ case "invalid":
3246
+ {
3247
+ throw this.flowEnumErrorInvalidMemberInitializer(init.pos, context);
3248
+ }
3249
+
3250
+ case "none":
3251
+ {
3252
+ switch (explicitType) {
3253
+ case "boolean":
3254
+ this.flowEnumErrorBooleanMemberNotInitialized(init.pos, context);
3255
+ break;
3256
+
3257
+ case "number":
3258
+ this.flowEnumErrorNumberMemberNotInitialized(init.pos, context);
3259
+ break;
3260
+
3261
+ default:
3262
+ members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
3263
+ }
3264
+ }
3265
+ }
3266
+
3267
+ if (!this.match(types.braceR)) {
3268
+ this.expect(types.comma);
3269
+ }
3270
+ }
3271
+
3272
+ return members;
3273
+ }
3274
+
3275
+ flowEnumStringMembers(initializedMembers, defaultedMembers, {
3276
+ enumName
3277
+ }) {
3278
+ if (initializedMembers.length === 0) {
3279
+ return defaultedMembers;
3280
+ } else if (defaultedMembers.length === 0) {
3281
+ return initializedMembers;
3282
+ } else if (defaultedMembers.length > initializedMembers.length) {
3283
+ for (let _i = 0; _i < initializedMembers.length; _i++) {
3284
+ const member = initializedMembers[_i];
3285
+ this.flowEnumErrorStringMemberInconsistentlyInitailized(member.start, {
3286
+ enumName
3287
+ });
3288
+ }
3289
+
3290
+ return defaultedMembers;
3291
+ } else {
3292
+ for (let _i2 = 0; _i2 < defaultedMembers.length; _i2++) {
3293
+ const member = defaultedMembers[_i2];
3294
+ this.flowEnumErrorStringMemberInconsistentlyInitailized(member.start, {
3295
+ enumName
3296
+ });
3297
+ }
2854
3298
 
2855
- return fileNode;
3299
+ return initializedMembers;
3300
+ }
2856
3301
  }
2857
3302
 
2858
- skipBlockComment() {
2859
- if (this.hasPlugin("flowComments") && this.skipFlowComment()) {
2860
- if (this.state.hasFlowComment) {
2861
- this.unexpected(null, "Cannot have a flow comment inside another flow comment");
3303
+ flowEnumParseExplicitType({
3304
+ enumName
3305
+ }) {
3306
+ if (this.eatContextual("of")) {
3307
+ if (!this.match(types.name)) {
3308
+ throw this.flowEnumErrorInvalidExplicitType(this.state.start, {
3309
+ enumName,
3310
+ suppliedType: null
3311
+ });
2862
3312
  }
2863
3313
 
2864
- this.hasFlowCommentCompletion();
2865
- this.state.pos += this.skipFlowComment();
2866
- this.state.hasFlowComment = true;
2867
- return;
2868
- }
3314
+ const {
3315
+ value
3316
+ } = this.state;
3317
+ this.next();
2869
3318
 
2870
- if (this.state.hasFlowComment) {
2871
- const end = this.input.indexOf("*-/", this.state.pos += 2);
2872
- if (end === -1) this.raise(this.state.pos - 2, "Unterminated comment");
2873
- this.state.pos = end + 3;
2874
- return;
3319
+ if (value !== "boolean" && value !== "number" && value !== "string" && value !== "symbol") {
3320
+ this.flowEnumErrorInvalidExplicitType(this.state.start, {
3321
+ enumName,
3322
+ suppliedType: value
3323
+ });
3324
+ }
3325
+
3326
+ return value;
2875
3327
  }
2876
3328
 
2877
- super.skipBlockComment();
3329
+ return null;
2878
3330
  }
2879
3331
 
2880
- skipFlowComment() {
2881
- const {
2882
- pos
2883
- } = this.state;
2884
- let shiftToFirstNonWhiteSpace = 2;
2885
-
2886
- while ([32, 9].includes(this.input.charCodeAt(pos + shiftToFirstNonWhiteSpace))) {
2887
- shiftToFirstNonWhiteSpace++;
2888
- }
3332
+ flowEnumBody(node, {
3333
+ enumName,
3334
+ nameLoc
3335
+ }) {
3336
+ const explicitType = this.flowEnumParseExplicitType({
3337
+ enumName
3338
+ });
3339
+ this.expect(types.braceL);
3340
+ const members = this.flowEnumMembers({
3341
+ enumName,
3342
+ explicitType
3343
+ });
2889
3344
 
2890
- const ch2 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos);
2891
- const ch3 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos + 1);
3345
+ switch (explicitType) {
3346
+ case "boolean":
3347
+ node.explicitType = true;
3348
+ node.members = members.booleanMembers;
3349
+ this.expect(types.braceR);
3350
+ return this.finishNode(node, "EnumBooleanBody");
2892
3351
 
2893
- if (ch2 === 58 && ch3 === 58) {
2894
- return shiftToFirstNonWhiteSpace + 2;
2895
- }
3352
+ case "number":
3353
+ node.explicitType = true;
3354
+ node.members = members.numberMembers;
3355
+ this.expect(types.braceR);
3356
+ return this.finishNode(node, "EnumNumberBody");
2896
3357
 
2897
- if (this.input.slice(shiftToFirstNonWhiteSpace + pos, shiftToFirstNonWhiteSpace + pos + 12) === "flow-include") {
2898
- return shiftToFirstNonWhiteSpace + 12;
2899
- }
3358
+ case "string":
3359
+ node.explicitType = true;
3360
+ node.members = this.flowEnumStringMembers(members.stringMembers, members.defaultedMembers, {
3361
+ enumName
3362
+ });
3363
+ this.expect(types.braceR);
3364
+ return this.finishNode(node, "EnumStringBody");
2900
3365
 
2901
- if (ch2 === 58 && ch3 !== 58) {
2902
- return shiftToFirstNonWhiteSpace;
2903
- }
3366
+ case "symbol":
3367
+ node.members = members.defaultedMembers;
3368
+ this.expect(types.braceR);
3369
+ return this.finishNode(node, "EnumSymbolBody");
2904
3370
 
2905
- return false;
2906
- }
3371
+ default:
3372
+ {
3373
+ const empty = () => {
3374
+ node.members = [];
3375
+ this.expect(types.braceR);
3376
+ return this.finishNode(node, "EnumStringBody");
3377
+ };
3378
+
3379
+ node.explicitType = false;
3380
+ const boolsLen = members.booleanMembers.length;
3381
+ const numsLen = members.numberMembers.length;
3382
+ const strsLen = members.stringMembers.length;
3383
+ const defaultedLen = members.defaultedMembers.length;
3384
+
3385
+ if (!boolsLen && !numsLen && !strsLen && !defaultedLen) {
3386
+ return empty();
3387
+ } else if (!boolsLen && !numsLen) {
3388
+ node.members = this.flowEnumStringMembers(members.stringMembers, members.defaultedMembers, {
3389
+ enumName
3390
+ });
3391
+ this.expect(types.braceR);
3392
+ return this.finishNode(node, "EnumStringBody");
3393
+ } else if (!numsLen && !strsLen && boolsLen >= defaultedLen) {
3394
+ for (let _i3 = 0, _members$defaultedMem = members.defaultedMembers; _i3 < _members$defaultedMem.length; _i3++) {
3395
+ const member = _members$defaultedMem[_i3];
3396
+ this.flowEnumErrorBooleanMemberNotInitialized(member.start, {
3397
+ enumName,
3398
+ memberName: member.id.name
3399
+ });
3400
+ }
2907
3401
 
2908
- hasFlowCommentCompletion() {
2909
- const end = this.input.indexOf("*/", this.state.pos);
3402
+ node.members = members.booleanMembers;
3403
+ this.expect(types.braceR);
3404
+ return this.finishNode(node, "EnumBooleanBody");
3405
+ } else if (!boolsLen && !strsLen && numsLen >= defaultedLen) {
3406
+ for (let _i4 = 0, _members$defaultedMem2 = members.defaultedMembers; _i4 < _members$defaultedMem2.length; _i4++) {
3407
+ const member = _members$defaultedMem2[_i4];
3408
+ this.flowEnumErrorNumberMemberNotInitialized(member.start, {
3409
+ enumName,
3410
+ memberName: member.id.name
3411
+ });
3412
+ }
2910
3413
 
2911
- if (end === -1) {
2912
- this.raise(this.state.pos, "Unterminated comment");
3414
+ node.members = members.numberMembers;
3415
+ this.expect(types.braceR);
3416
+ return this.finishNode(node, "EnumNumberBody");
3417
+ } else {
3418
+ this.flowEnumErrorInconsistentMemberValues(nameLoc, {
3419
+ enumName
3420
+ });
3421
+ return empty();
3422
+ }
3423
+ }
2913
3424
  }
2914
3425
  }
2915
3426
 
3427
+ flowParseEnumDeclaration(node) {
3428
+ const id = this.parseIdentifier();
3429
+ node.id = id;
3430
+ node.body = this.flowEnumBody(this.startNode(), {
3431
+ enumName: id.name,
3432
+ nameLoc: id.start
3433
+ });
3434
+ return this.finishNode(node, "EnumDeclaration");
3435
+ }
3436
+
2916
3437
  });
2917
3438
 
2918
3439
  const entities = {
@@ -3229,7 +3750,7 @@ var jsx = (superClass => class extends superClass {
3229
3750
 
3230
3751
  for (;;) {
3231
3752
  if (this.state.pos >= this.length) {
3232
- this.raise(this.state.start, "Unterminated JSX contents");
3753
+ throw this.raise(this.state.start, "Unterminated JSX contents");
3233
3754
  }
3234
3755
 
3235
3756
  const ch = this.input.charCodeAt(this.state.pos);
@@ -3291,7 +3812,7 @@ var jsx = (superClass => class extends superClass {
3291
3812
 
3292
3813
  for (;;) {
3293
3814
  if (this.state.pos >= this.length) {
3294
- this.raise(this.state.start, "Unterminated string constant");
3815
+ throw this.raise(this.state.start, "Unterminated string constant");
3295
3816
  }
3296
3817
 
3297
3818
  const ch = this.input.charCodeAt(this.state.pos);
@@ -3399,6 +3920,10 @@ var jsx = (superClass => class extends superClass {
3399
3920
  const startLoc = this.state.startLoc;
3400
3921
  let node = this.jsxParseNamespacedName();
3401
3922
 
3923
+ if (node.type === "JSXNamespacedName") {
3924
+ return node;
3925
+ }
3926
+
3402
3927
  while (this.eat(types.dot)) {
3403
3928
  const newNode = this.startNodeAt(startPos, startLoc);
3404
3929
  newNode.object = node;
@@ -3419,11 +3944,11 @@ var jsx = (superClass => class extends superClass {
3419
3944
  node = this.jsxParseExpressionContainer(node);
3420
3945
 
3421
3946
  if (node.expression.type === "JSXEmptyExpression") {
3422
- throw this.raise(node.start, "JSX attributes must only be assigned a non-empty expression");
3423
- } else {
3424
- return node;
3947
+ this.raise(node.start, "JSX attributes must only be assigned a non-empty expression");
3425
3948
  }
3426
3949
 
3950
+ return node;
3951
+
3427
3952
  case types.jsxTagStart:
3428
3953
  case types.string:
3429
3954
  return this.parseExprAtom();
@@ -3575,8 +4100,8 @@ var jsx = (superClass => class extends superClass {
3575
4100
 
3576
4101
  node.children = children;
3577
4102
 
3578
- if (this.match(types.relational) && this.state.value === "<") {
3579
- this.raise(this.state.start, "Adjacent JSX elements must be wrapped in an enclosing tag. " + "Did you want a JSX fragment <>...</>?");
4103
+ if (this.isRelational("<")) {
4104
+ throw this.raise(this.state.start, "Adjacent JSX elements must be wrapped in an enclosing tag. " + "Did you want a JSX fragment <>...</>?");
3580
4105
  }
3581
4106
 
3582
4107
  return isFragment(openingElement) ? this.finishNode(node, "JSXFragment") : this.finishNode(node, "JSXElement");
@@ -3694,6 +4219,10 @@ class ScopeHandler {
3694
4219
  return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0;
3695
4220
  }
3696
4221
 
4222
+ get inClass() {
4223
+ return (this.currentThisScope().flags & SCOPE_CLASS) > 0;
4224
+ }
4225
+
3697
4226
  get inNonArrowFunction() {
3698
4227
  return (this.currentThisScope().flags & SCOPE_FUNCTION) > 0;
3699
4228
  }
@@ -3961,6 +4490,24 @@ var typescript = (superClass => class extends superClass {
3961
4490
  return undefined;
3962
4491
  }
3963
4492
 
4493
+ tsParseModifiers(allowedModifiers) {
4494
+ const modifiers = Object.create(null);
4495
+
4496
+ while (true) {
4497
+ const startPos = this.state.start;
4498
+ const modifier = this.tsParseModifier(allowedModifiers);
4499
+ if (!modifier) break;
4500
+
4501
+ if (Object.hasOwnProperty.call(modifiers, modifier)) {
4502
+ this.raise(startPos, `Duplicate modifier: '${modifier}'`);
4503
+ }
4504
+
4505
+ modifiers[modifier] = true;
4506
+ }
4507
+
4508
+ return modifiers;
4509
+ }
4510
+
3964
4511
  tsIsListTerminator(kind) {
3965
4512
  switch (kind) {
3966
4513
  case "EnumMembers":
@@ -4054,7 +4601,7 @@ var typescript = (superClass => class extends superClass {
4054
4601
  this.expect(types.parenL);
4055
4602
 
4056
4603
  if (!this.match(types.string)) {
4057
- throw this.unexpected(null, "Argument in a type import must be a string literal");
4604
+ this.raise(this.state.start, "Argument in a type import must be a string literal");
4058
4605
  }
4059
4606
 
4060
4607
  node.argument = this.parseExprAtom();
@@ -4172,9 +4719,9 @@ var typescript = (superClass => class extends superClass {
4172
4719
  }
4173
4720
 
4174
4721
  tsParseBindingListForSignature() {
4175
- return this.parseBindingList(types.parenR).map(pattern => {
4722
+ return this.parseBindingList(types.parenR, 41).map(pattern => {
4176
4723
  if (pattern.type !== "Identifier" && pattern.type !== "RestElement" && pattern.type !== "ObjectPattern" && pattern.type !== "ArrayPattern") {
4177
- throw this.unexpected(pattern.start, `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${pattern.type}`);
4724
+ this.raise(pattern.start, "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern," + `instead got ${pattern.type}`);
4178
4725
  }
4179
4726
 
4180
4727
  return pattern;
@@ -4359,7 +4906,11 @@ var typescript = (superClass => class extends superClass {
4359
4906
  const restNode = this.startNode();
4360
4907
  this.next();
4361
4908
  restNode.typeAnnotation = this.tsParseType();
4362
- this.checkCommaAfterRest();
4909
+
4910
+ if (this.match(types.comma) && this.lookaheadCharCode() !== 93) {
4911
+ this.raiseRestNotLast(this.state.start);
4912
+ }
4913
+
4363
4914
  return this.finishNode(restNode, "TSRestType");
4364
4915
  }
4365
4916
 
@@ -4417,13 +4968,23 @@ var typescript = (superClass => class extends superClass {
4417
4968
  const templateNode = this.parseTemplate(false);
4418
4969
 
4419
4970
  if (templateNode.expressions.length > 0) {
4420
- throw this.raise(templateNode.expressions[0].start, "Template literal types cannot have any substitution");
4971
+ this.raise(templateNode.expressions[0].start, "Template literal types cannot have any substitution");
4421
4972
  }
4422
4973
 
4423
4974
  node.literal = templateNode;
4424
4975
  return this.finishNode(node, "TSLiteralType");
4425
4976
  }
4426
4977
 
4978
+ tsParseThisTypeOrThisTypePredicate() {
4979
+ const thisKeyword = this.tsParseThisTypeNode();
4980
+
4981
+ if (this.isContextual("is") && !this.hasPrecedingLineBreak()) {
4982
+ return this.tsParseThisTypePredicate(thisKeyword);
4983
+ } else {
4984
+ return thisKeyword;
4985
+ }
4986
+ }
4987
+
4427
4988
  tsParseNonArrayType() {
4428
4989
  switch (this.state.type) {
4429
4990
  case types.name:
@@ -4432,7 +4993,7 @@ var typescript = (superClass => class extends superClass {
4432
4993
  {
4433
4994
  const type = this.match(types._void) ? "TSVoidKeyword" : this.match(types._null) ? "TSNullKeyword" : keywordTypeFromName(this.state.value);
4434
4995
 
4435
- if (type !== undefined && this.lookahead().type !== types.dot) {
4996
+ if (type !== undefined && this.lookaheadCharCode() !== 46) {
4436
4997
  const node = this.startNode();
4437
4998
  this.next();
4438
4999
  return this.finishNode(node, type);
@@ -4462,15 +5023,7 @@ var typescript = (superClass => class extends superClass {
4462
5023
  break;
4463
5024
 
4464
5025
  case types._this:
4465
- {
4466
- const thisKeyword = this.tsParseThisTypeNode();
4467
-
4468
- if (this.isContextual("is") && !this.hasPrecedingLineBreak()) {
4469
- return this.tsParseThisTypePredicate(thisKeyword);
4470
- } else {
4471
- return thisKeyword;
4472
- }
4473
- }
5026
+ return this.tsParseThisTypeOrThisTypePredicate();
4474
5027
 
4475
5028
  case types._typeof:
4476
5029
  return this.tsParseTypeQuery();
@@ -4659,16 +5212,43 @@ var typescript = (superClass => class extends superClass {
4659
5212
  return this.tsInType(() => {
4660
5213
  const t = this.startNode();
4661
5214
  this.expect(returnToken);
5215
+ const asserts = this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));
5216
+
5217
+ if (asserts && this.match(types._this)) {
5218
+ let thisTypePredicate = this.tsParseThisTypeOrThisTypePredicate();
5219
+
5220
+ if (thisTypePredicate.type === "TSThisType") {
5221
+ const node = this.startNodeAtNode(t);
5222
+ node.parameterName = thisTypePredicate;
5223
+ node.asserts = true;
5224
+ thisTypePredicate = this.finishNode(node, "TSTypePredicate");
5225
+ } else {
5226
+ thisTypePredicate.asserts = true;
5227
+ }
5228
+
5229
+ t.typeAnnotation = thisTypePredicate;
5230
+ return this.finishNode(t, "TSTypeAnnotation");
5231
+ }
5232
+
4662
5233
  const typePredicateVariable = this.tsIsIdentifier() && this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));
4663
5234
 
4664
5235
  if (!typePredicateVariable) {
4665
- return this.tsParseTypeAnnotation(false, t);
5236
+ if (!asserts) {
5237
+ return this.tsParseTypeAnnotation(false, t);
5238
+ }
5239
+
5240
+ const node = this.startNodeAtNode(t);
5241
+ node.parameterName = this.parseIdentifier();
5242
+ node.asserts = asserts;
5243
+ t.typeAnnotation = this.finishNode(node, "TSTypePredicate");
5244
+ return this.finishNode(t, "TSTypeAnnotation");
4666
5245
  }
4667
5246
 
4668
5247
  const type = this.tsParseTypeAnnotation(false);
4669
- const node = this.startNodeAtNode(typePredicateVariable);
5248
+ const node = this.startNodeAtNode(t);
4670
5249
  node.parameterName = typePredicateVariable;
4671
5250
  node.typeAnnotation = type;
5251
+ node.asserts = asserts;
4672
5252
  t.typeAnnotation = this.finishNode(node, "TSTypePredicate");
4673
5253
  return this.finishNode(t, "TSTypeAnnotation");
4674
5254
  });
@@ -4695,6 +5275,25 @@ var typescript = (superClass => class extends superClass {
4695
5275
  }
4696
5276
  }
4697
5277
 
5278
+ tsParseTypePredicateAsserts() {
5279
+ if (!this.match(types.name) || this.state.value !== "asserts" || this.hasPrecedingLineBreak()) {
5280
+ return false;
5281
+ }
5282
+
5283
+ const containsEsc = this.state.containsEsc;
5284
+ this.next();
5285
+
5286
+ if (!this.match(types.name) && !this.match(types._this)) {
5287
+ return false;
5288
+ }
5289
+
5290
+ if (containsEsc) {
5291
+ this.raise(this.state.lastTokStart, "Escape sequence in keyword asserts");
5292
+ }
5293
+
5294
+ return true;
5295
+ }
5296
+
4698
5297
  tsParseTypeAnnotation(eatColon = true, t = this.startNode()) {
4699
5298
  this.tsInType(() => {
4700
5299
  if (eatColon) this.expect(types.colon);
@@ -4873,7 +5472,9 @@ var typescript = (superClass => class extends superClass {
4873
5472
  this.tsParseModuleOrNamespaceDeclaration(inner, true);
4874
5473
  node.body = inner;
4875
5474
  } else {
5475
+ this.scope.enter(SCOPE_TS_MODULE);
4876
5476
  node.body = this.tsParseModuleBlock();
5477
+ this.scope.exit();
4877
5478
  }
4878
5479
 
4879
5480
  return this.finishNode(node, "TSModuleDeclaration");
@@ -4890,7 +5491,9 @@ var typescript = (superClass => class extends superClass {
4890
5491
  }
4891
5492
 
4892
5493
  if (this.match(types.braceL)) {
5494
+ this.scope.enter(SCOPE_TS_MODULE);
4893
5495
  node.body = this.tsParseModuleBlock();
5496
+ this.scope.exit();
4894
5497
  } else {
4895
5498
  this.semicolon();
4896
5499
  }
@@ -4901,6 +5504,7 @@ var typescript = (superClass => class extends superClass {
4901
5504
  tsParseImportEqualsDeclaration(node, isExport) {
4902
5505
  node.isExport = isExport || false;
4903
5506
  node.id = this.parseIdentifier();
5507
+ this.checkLVal(node.id, BIND_LEXICAL, undefined, "import equals declaration");
4904
5508
  this.expect(types.eq);
4905
5509
  node.moduleReference = this.tsParseModuleReference();
4906
5510
  this.semicolon();
@@ -4908,7 +5512,7 @@ var typescript = (superClass => class extends superClass {
4908
5512
  }
4909
5513
 
4910
5514
  tsIsExternalModuleReference() {
4911
- return this.isContextual("require") && this.lookahead().type === types.parenL;
5515
+ return this.isContextual("require") && this.lookaheadCharCode() === 40;
4912
5516
  }
4913
5517
 
4914
5518
  tsParseModuleReference() {
@@ -4937,18 +5541,10 @@ var typescript = (superClass => class extends superClass {
4937
5541
  }
4938
5542
 
4939
5543
  tsTryParseAndCatch(f) {
4940
- const state = this.state.clone();
4941
-
4942
- try {
4943
- return f();
4944
- } catch (e) {
4945
- if (e instanceof SyntaxError) {
4946
- this.state = state;
4947
- return undefined;
4948
- }
4949
-
4950
- throw e;
4951
- }
5544
+ const result = this.tryParse(abort => f() || abort());
5545
+ if (result.aborted || !result.node) return undefined;
5546
+ if (result.error) this.state = result.failState;
5547
+ return result.node;
4952
5548
  }
4953
5549
 
4954
5550
  tsTryParse(f) {
@@ -4981,6 +5577,7 @@ var typescript = (superClass => class extends superClass {
4981
5577
  return this.parseFunctionStatement(nany, false, true);
4982
5578
 
4983
5579
  case types._class:
5580
+ nany.declare = true;
4984
5581
  return this.parseClass(nany, true, false);
4985
5582
 
4986
5583
  case types._const:
@@ -5027,10 +5624,12 @@ var typescript = (superClass => class extends superClass {
5027
5624
 
5028
5625
  case "global":
5029
5626
  if (this.match(types.braceL)) {
5627
+ this.scope.enter(SCOPE_TS_MODULE);
5030
5628
  const mod = node;
5031
5629
  mod.global = true;
5032
5630
  mod.id = expr;
5033
5631
  mod.body = this.tsParseModuleBlock();
5632
+ this.scope.exit();
5034
5633
  return this.finishNode(mod, "TSModuleDeclaration");
5035
5634
  }
5036
5635
 
@@ -5190,7 +5789,7 @@ var typescript = (superClass => class extends superClass {
5190
5789
  if (readonly) pp.readonly = readonly;
5191
5790
 
5192
5791
  if (elt.type !== "Identifier" && elt.type !== "AssignmentPattern") {
5193
- throw this.raise(pp.start, "A parameter property may not be declared using a binding pattern.");
5792
+ this.raise(pp.start, "A parameter property may not be declared using a binding pattern.");
5194
5793
  }
5195
5794
 
5196
5795
  pp.parameter = elt;
@@ -5219,15 +5818,15 @@ var typescript = (superClass => class extends superClass {
5219
5818
  super.parseFunctionBodyAndFinish(node, type, isMethod);
5220
5819
  }
5221
5820
 
5222
- checkFunctionStatementId(node) {
5821
+ registerFunctionStatementId(node) {
5223
5822
  if (!node.body && node.id) {
5224
- this.checkLVal(node.id, BIND_TS_FN_TYPE, null, "function name");
5823
+ this.checkLVal(node.id, BIND_TS_AMBIENT, null, "function name");
5225
5824
  } else {
5226
- super.checkFunctionStatementId(...arguments);
5825
+ super.registerFunctionStatementId(...arguments);
5227
5826
  }
5228
5827
  }
5229
5828
 
5230
- parseSubscript(base, startPos, startLoc, noCalls, state, maybeAsyncArrow) {
5829
+ parseSubscript(base, startPos, startLoc, noCalls, state) {
5231
5830
  if (!this.hasPrecedingLineBreak() && this.match(types.bang)) {
5232
5831
  this.state.exprAllowed = false;
5233
5832
  this.next();
@@ -5254,7 +5853,7 @@ var typescript = (superClass => class extends superClass {
5254
5853
  if (!noCalls && this.eat(types.parenL)) {
5255
5854
  node.arguments = this.parseCallExpressionArguments(types.parenR, false);
5256
5855
  node.typeParameters = typeArguments;
5257
- return this.finishCallExpression(node);
5856
+ return this.finishCallExpression(node, state.optionalChainMember);
5258
5857
  } else if (this.match(types.backQuote)) {
5259
5858
  return this.parseTaggedTemplateExpression(startPos, startLoc, base, state, typeArguments);
5260
5859
  }
@@ -5265,7 +5864,7 @@ var typescript = (superClass => class extends superClass {
5265
5864
  if (result) return result;
5266
5865
  }
5267
5866
 
5268
- return super.parseSubscript(base, startPos, startLoc, noCalls, state, maybeAsyncArrow);
5867
+ return super.parseSubscript(base, startPos, startLoc, noCalls, state);
5269
5868
  }
5270
5869
 
5271
5870
  parseNewArguments(node) {
@@ -5383,42 +5982,25 @@ var typescript = (superClass => class extends superClass {
5383
5982
  }
5384
5983
 
5385
5984
  parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper) {
5386
- const methodOrProp = member;
5387
- const prop = member;
5388
- const propOrIdx = member;
5389
- let abstract = false,
5390
- readonly = false;
5391
- const mod = this.tsParseModifier(["abstract", "readonly"]);
5392
-
5393
- switch (mod) {
5394
- case "readonly":
5395
- readonly = true;
5396
- abstract = !!this.tsParseModifier(["abstract"]);
5397
- break;
5985
+ const modifiers = this.tsParseModifiers(["abstract", "readonly", "declare"]);
5986
+ Object.assign(member, modifiers);
5987
+ const idx = this.tsTryParseIndexSignature(member);
5398
5988
 
5399
- case "abstract":
5400
- abstract = true;
5401
- readonly = !!this.tsParseModifier(["readonly"]);
5402
- break;
5403
- }
5989
+ if (idx) {
5990
+ classBody.body.push(idx);
5404
5991
 
5405
- if (abstract) methodOrProp.abstract = true;
5406
- if (readonly) propOrIdx.readonly = true;
5992
+ if (modifiers.abstract) {
5993
+ this.raise(member.start, "Index signatures cannot have the 'abstract' modifier");
5994
+ }
5407
5995
 
5408
- if (!abstract && !isStatic && !methodOrProp.accessibility) {
5409
- const idx = this.tsTryParseIndexSignature(member);
5996
+ if (isStatic) {
5997
+ this.raise(member.start, "Index signatures cannot have the 'static' modifier");
5998
+ }
5410
5999
 
5411
- if (idx) {
5412
- classBody.body.push(idx);
5413
- return;
6000
+ if (member.accessibility) {
6001
+ this.raise(member.start, `Index signatures cannot have an accessibility modifier ('${member.accessibility}')`);
5414
6002
  }
5415
- }
5416
6003
 
5417
- if (readonly) {
5418
- methodOrProp.static = isStatic;
5419
- this.parseClassPropertyName(prop);
5420
- this.parsePostMemberNameModifiers(methodOrProp);
5421
- this.pushClassProperty(classBody, prop);
5422
6004
  return;
5423
6005
  }
5424
6006
 
@@ -5428,6 +6010,14 @@ var typescript = (superClass => class extends superClass {
5428
6010
  parsePostMemberNameModifiers(methodOrProp) {
5429
6011
  const optional = this.eat(types.question);
5430
6012
  if (optional) methodOrProp.optional = true;
6013
+
6014
+ if (methodOrProp.readonly && this.match(types.parenL)) {
6015
+ this.raise(methodOrProp.start, "Class methods cannot have the 'readonly' modifier");
6016
+ }
6017
+
6018
+ if (methodOrProp.declare && this.match(types.parenL)) {
6019
+ this.raise(methodOrProp.start, "Class methods cannot have the 'declare' modifier");
6020
+ }
5431
6021
  }
5432
6022
 
5433
6023
  parseExpressionStatement(node, expr) {
@@ -5445,19 +6035,15 @@ var typescript = (superClass => class extends superClass {
5445
6035
  return super.parseConditional(expr, noIn, startPos, startLoc, refNeedsArrowPos);
5446
6036
  }
5447
6037
 
5448
- const state = this.state.clone();
5449
-
5450
- try {
5451
- return super.parseConditional(expr, noIn, startPos, startLoc);
5452
- } catch (err) {
5453
- if (!(err instanceof SyntaxError)) {
5454
- throw err;
5455
- }
6038
+ const result = this.tryParse(() => super.parseConditional(expr, noIn, startPos, startLoc));
5456
6039
 
5457
- this.state = state;
5458
- refNeedsArrowPos.start = err.pos || this.state.start;
6040
+ if (!result.node) {
6041
+ refNeedsArrowPos.start = result.error.pos || this.state.start;
5459
6042
  return expr;
5460
6043
  }
6044
+
6045
+ if (result.error) this.state = result.failState;
6046
+ return result.node;
5461
6047
  }
5462
6048
 
5463
6049
  parseParenItem(node, startPos, startLoc) {
@@ -5505,21 +6091,43 @@ var typescript = (superClass => class extends superClass {
5505
6091
  return;
5506
6092
  }
5507
6093
 
5508
- super.parseClassId(...arguments);
6094
+ super.parseClassId(node, isStatement, optionalId, node.declare ? BIND_TS_AMBIENT : BIND_CLASS);
5509
6095
  const typeParameters = this.tsTryParseTypeParameters();
5510
6096
  if (typeParameters) node.typeParameters = typeParameters;
5511
6097
  }
5512
6098
 
5513
- parseClassProperty(node) {
6099
+ parseClassPropertyAnnotation(node) {
5514
6100
  if (!node.optional && this.eat(types.bang)) {
5515
6101
  node.definite = true;
5516
6102
  }
5517
6103
 
5518
6104
  const type = this.tsTryParseTypeAnnotation();
5519
6105
  if (type) node.typeAnnotation = type;
6106
+ }
6107
+
6108
+ parseClassProperty(node) {
6109
+ this.parseClassPropertyAnnotation(node);
6110
+
6111
+ if (node.declare && this.match(types.equal)) {
6112
+ this.raise(this.state.start, "'declare' class fields cannot have an initializer");
6113
+ }
6114
+
5520
6115
  return super.parseClassProperty(node);
5521
6116
  }
5522
6117
 
6118
+ parseClassPrivateProperty(node) {
6119
+ if (node.abstract) {
6120
+ this.raise(node.start, "Private elements cannot have the 'abstract' modifier.");
6121
+ }
6122
+
6123
+ if (node.accessibility) {
6124
+ this.raise(node.start, `Private elements cannot have an accessibility modifier ('${node.accessibility}')`);
6125
+ }
6126
+
6127
+ this.parseClassPropertyAnnotation(node);
6128
+ return super.parseClassPrivateProperty(node);
6129
+ }
6130
+
5523
6131
  pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) {
5524
6132
  const typeParameters = this.tsTryParseTypeParameters();
5525
6133
  if (typeParameters) method.typeParameters = typeParameters;
@@ -5580,65 +6188,73 @@ var typescript = (superClass => class extends superClass {
5580
6188
  }
5581
6189
 
5582
6190
  parseMaybeAssign(...args) {
5583
- let jsxError;
6191
+ let state;
6192
+ let jsx;
6193
+ let typeCast;
5584
6194
 
5585
6195
  if (this.match(types.jsxTagStart)) {
5586
- const context = this.curContext();
5587
- assert(context === types$1.j_oTag);
5588
- assert(this.state.context[this.state.context.length - 2] === types$1.j_expr);
5589
- const state = this.state.clone();
5590
-
5591
- try {
5592
- return super.parseMaybeAssign(...args);
5593
- } catch (err) {
5594
- if (!(err instanceof SyntaxError)) {
5595
- throw err;
5596
- }
6196
+ state = this.state.clone();
6197
+ jsx = this.tryParse(() => super.parseMaybeAssign(...args), state);
6198
+ if (!jsx.error) return jsx.node;
6199
+ const {
6200
+ context
6201
+ } = this.state;
5597
6202
 
5598
- this.state = state;
5599
- assert(this.curContext() === types$1.j_oTag);
5600
- this.state.context.pop();
5601
- assert(this.curContext() === types$1.j_expr);
5602
- this.state.context.pop();
5603
- jsxError = err;
6203
+ if (context[context.length - 1] === types$1.j_oTag) {
6204
+ context.length -= 2;
6205
+ } else if (context[context.length - 1] === types$1.j_expr) {
6206
+ context.length -= 1;
5604
6207
  }
5605
6208
  }
5606
6209
 
5607
- if (jsxError === undefined && !this.isRelational("<")) {
6210
+ if (!(jsx && jsx.error) && !this.isRelational("<")) {
5608
6211
  return super.parseMaybeAssign(...args);
5609
6212
  }
5610
6213
 
5611
- let arrowExpression;
5612
6214
  let typeParameters;
5613
- const state = this.state.clone();
5614
-
5615
- try {
6215
+ state = state || this.state.clone();
6216
+ const arrow = this.tryParse(abort => {
5616
6217
  typeParameters = this.tsParseTypeParameters();
5617
- arrowExpression = super.parseMaybeAssign(...args);
6218
+ const expr = super.parseMaybeAssign(...args);
5618
6219
 
5619
- if (arrowExpression.type !== "ArrowFunctionExpression" || arrowExpression.extra && arrowExpression.extra.parenthesized) {
5620
- this.unexpected();
5621
- }
5622
- } catch (err) {
5623
- if (!(err instanceof SyntaxError)) {
5624
- throw err;
6220
+ if (expr.type !== "ArrowFunctionExpression" || expr.extra && expr.extra.parenthesized) {
6221
+ abort();
5625
6222
  }
5626
6223
 
5627
- if (jsxError) {
5628
- throw jsxError;
6224
+ if (typeParameters && typeParameters.params.length !== 0) {
6225
+ this.resetStartLocationFromNode(expr, typeParameters);
5629
6226
  }
5630
6227
 
6228
+ expr.typeParameters = typeParameters;
6229
+ return expr;
6230
+ }, state);
6231
+ if (!arrow.error && !arrow.aborted) return arrow.node;
6232
+
6233
+ if (!jsx) {
5631
6234
  assert(!this.hasPlugin("jsx"));
5632
- this.state = state;
5633
- return super.parseMaybeAssign(...args);
6235
+ typeCast = this.tryParse(() => super.parseMaybeAssign(...args), state);
6236
+ if (!typeCast.error) return typeCast.node;
5634
6237
  }
5635
6238
 
5636
- if (typeParameters && typeParameters.params.length !== 0) {
5637
- this.resetStartLocationFromNode(arrowExpression, typeParameters);
6239
+ if (jsx && jsx.node) {
6240
+ this.state = jsx.failState;
6241
+ return jsx.node;
5638
6242
  }
5639
6243
 
5640
- arrowExpression.typeParameters = typeParameters;
5641
- return arrowExpression;
6244
+ if (arrow.node) {
6245
+ this.state = arrow.failState;
6246
+ return arrow.node;
6247
+ }
6248
+
6249
+ if (typeCast && typeCast.node) {
6250
+ this.state = typeCast.failState;
6251
+ return typeCast.node;
6252
+ }
6253
+
6254
+ if (jsx && jsx.thrown) throw jsx.error;
6255
+ if (arrow.thrown) throw arrow.error;
6256
+ if (typeCast && typeCast.thrown) throw typeCast.error;
6257
+ throw jsx && jsx.error || arrow.error || typeCast && typeCast.error;
5642
6258
  }
5643
6259
 
5644
6260
  parseMaybeUnary(refShorthandDefaultPos) {
@@ -5651,23 +6267,16 @@ var typescript = (superClass => class extends superClass {
5651
6267
 
5652
6268
  parseArrow(node) {
5653
6269
  if (this.match(types.colon)) {
5654
- const state = this.state.clone();
5655
-
5656
- try {
6270
+ const result = this.tryParse(abort => {
5657
6271
  const returnType = this.tsParseTypeOrTypePredicateAnnotation(types.colon);
6272
+ if (this.canInsertSemicolon() || !this.match(types.arrow)) abort();
6273
+ return returnType;
6274
+ });
6275
+ if (result.aborted) return;
5658
6276
 
5659
- if (this.canInsertSemicolon() || !this.match(types.arrow)) {
5660
- this.state = state;
5661
- return undefined;
5662
- }
5663
-
5664
- node.returnType = returnType;
5665
- } catch (err) {
5666
- if (err instanceof SyntaxError) {
5667
- this.state = state;
5668
- } else {
5669
- throw err;
5670
- }
6277
+ if (!result.thrown) {
6278
+ if (result.error) this.state = result.failState;
6279
+ node.returnType = result.node;
5671
6280
  }
5672
6281
  }
5673
6282
 
@@ -5677,7 +6286,7 @@ var typescript = (superClass => class extends superClass {
5677
6286
  parseAssignableListItemTypes(param) {
5678
6287
  if (this.eat(types.question)) {
5679
6288
  if (param.type !== "Identifier") {
5680
- throw this.raise(param.start, "A binding pattern parameter cannot be optional in an implementation signature.");
6289
+ this.raise(param.start, "A binding pattern parameter cannot be optional in an implementation signature.");
5681
6290
  }
5682
6291
 
5683
6292
  param.optional = true;
@@ -5781,7 +6390,7 @@ var typescript = (superClass => class extends superClass {
5781
6390
  }
5782
6391
  }
5783
6392
 
5784
- toAssignableList(exprList, isBinding, contextDescription) {
6393
+ toAssignableList(exprList, isBinding) {
5785
6394
  for (let i = 0; i < exprList.length; i++) {
5786
6395
  const expr = exprList[i];
5787
6396
  if (!expr) continue;
@@ -5793,12 +6402,17 @@ var typescript = (superClass => class extends superClass {
5793
6402
 
5794
6403
  case "TSAsExpression":
5795
6404
  case "TSTypeAssertion":
5796
- this.raise(expr.start, "Unexpected type cast in parameter position.");
6405
+ if (!isBinding) {
6406
+ exprList[i] = this.typeCastToParameter(expr);
6407
+ } else {
6408
+ this.raise(expr.start, "Unexpected type cast in parameter position.");
6409
+ }
6410
+
5797
6411
  break;
5798
6412
  }
5799
6413
  }
5800
6414
 
5801
- return super.toAssignableList(exprList, isBinding, contextDescription);
6415
+ return super.toAssignableList(...arguments);
5802
6416
  }
5803
6417
 
5804
6418
  typeCastToParameter(node) {
@@ -6036,6 +6650,33 @@ var placeholders = (superClass => class extends superClass {
6036
6650
 
6037
6651
  });
6038
6652
 
6653
+ var v8intrinsic = (superClass => class extends superClass {
6654
+ parseV8Intrinsic() {
6655
+ if (this.match(types.modulo)) {
6656
+ const v8IntrinsicStart = this.state.start;
6657
+ const node = this.startNode();
6658
+ this.eat(types.modulo);
6659
+
6660
+ if (this.match(types.name)) {
6661
+ const name = this.parseIdentifierName(this.state.start);
6662
+ const identifier = this.createIdentifier(node, name);
6663
+ identifier.type = "V8IntrinsicIdentifier";
6664
+
6665
+ if (this.match(types.parenL)) {
6666
+ return identifier;
6667
+ }
6668
+ }
6669
+
6670
+ this.unexpected(v8IntrinsicStart);
6671
+ }
6672
+ }
6673
+
6674
+ parseExprAtom() {
6675
+ return this.parseV8Intrinsic() || super.parseExprAtom(...arguments);
6676
+ }
6677
+
6678
+ });
6679
+
6039
6680
  function hasPlugin(plugins, name) {
6040
6681
  return plugins.some(plugin => {
6041
6682
  if (Array.isArray(plugin)) {
@@ -6080,6 +6721,10 @@ function validatePlugins(plugins) {
6080
6721
  throw new Error("Cannot combine flow and typescript plugins.");
6081
6722
  }
6082
6723
 
6724
+ if (hasPlugin(plugins, "placeholders") && hasPlugin(plugins, "v8intrinsic")) {
6725
+ throw new Error("Cannot combine placeholders and v8intrinsic plugins.");
6726
+ }
6727
+
6083
6728
  if (hasPlugin(plugins, "pipelineOperator") && !PIPELINE_PROPOSALS.includes(getPluginOption(plugins, "pipelineOperator", "proposal"))) {
6084
6729
  throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: " + PIPELINE_PROPOSALS.map(p => `'${p}'`).join(", "));
6085
6730
  }
@@ -6089,6 +6734,7 @@ const mixinPlugins = {
6089
6734
  jsx,
6090
6735
  flow,
6091
6736
  typescript,
6737
+ v8intrinsic,
6092
6738
  placeholders
6093
6739
  };
6094
6740
  const mixinPluginNames = Object.keys(mixinPlugins);
@@ -6106,7 +6752,8 @@ const defaultOptions = {
6106
6752
  strictMode: null,
6107
6753
  ranges: false,
6108
6754
  tokens: false,
6109
- createParenthesizedExpressions: false
6755
+ createParenthesizedExpressions: false,
6756
+ errorRecovery: false
6110
6757
  };
6111
6758
  function getOptions(opts) {
6112
6759
  const options = {};
@@ -6150,27 +6797,81 @@ function getLineInfo(input, offset) {
6150
6797
  class BaseParser {
6151
6798
  constructor() {
6152
6799
  this.sawUnambiguousESM = false;
6800
+ this.ambiguousScriptDifferentAst = false;
6153
6801
  }
6154
6802
 
6155
6803
  hasPlugin(name) {
6156
6804
  return this.plugins.has(name);
6157
6805
  }
6158
6806
 
6159
- getPluginOption(plugin, name) {
6160
- if (this.hasPlugin(plugin)) return this.plugins.get(plugin)[name];
6161
- }
6807
+ getPluginOption(plugin, name) {
6808
+ if (this.hasPlugin(plugin)) return this.plugins.get(plugin)[name];
6809
+ }
6810
+
6811
+ }
6812
+
6813
+ function last(stack) {
6814
+ return stack[stack.length - 1];
6815
+ }
6816
+
6817
+ class CommentsParser extends BaseParser {
6818
+ addComment(comment) {
6819
+ if (this.filename) comment.loc.filename = this.filename;
6820
+ this.state.trailingComments.push(comment);
6821
+ this.state.leadingComments.push(comment);
6822
+ }
6823
+
6824
+ adjustCommentsAfterTrailingComma(node, elements, takeAllComments) {
6825
+ if (this.state.leadingComments.length === 0) {
6826
+ return;
6827
+ }
6828
+
6829
+ let lastElement = null;
6830
+ let i = elements.length;
6831
+
6832
+ while (lastElement === null && i > 0) {
6833
+ lastElement = elements[--i];
6834
+ }
6835
+
6836
+ if (lastElement === null) {
6837
+ return;
6838
+ }
6839
+
6840
+ for (let j = 0; j < this.state.leadingComments.length; j++) {
6841
+ if (this.state.leadingComments[j].end < this.state.commentPreviousNode.end) {
6842
+ this.state.leadingComments.splice(j, 1);
6843
+ j--;
6844
+ }
6845
+ }
6846
+
6847
+ const newTrailingComments = [];
6848
+
6849
+ for (let i = 0; i < this.state.leadingComments.length; i++) {
6850
+ const leadingComment = this.state.leadingComments[i];
6851
+
6852
+ if (leadingComment.end < node.end) {
6853
+ newTrailingComments.push(leadingComment);
6854
+
6855
+ if (!takeAllComments) {
6856
+ this.state.leadingComments.splice(i, 1);
6857
+ i--;
6858
+ }
6859
+ } else {
6860
+ if (node.trailingComments === undefined) {
6861
+ node.trailingComments = [];
6862
+ }
6162
6863
 
6163
- }
6864
+ node.trailingComments.push(leadingComment);
6865
+ }
6866
+ }
6164
6867
 
6165
- function last(stack) {
6166
- return stack[stack.length - 1];
6167
- }
6868
+ if (takeAllComments) this.state.leadingComments = [];
6168
6869
 
6169
- class CommentsParser extends BaseParser {
6170
- addComment(comment) {
6171
- if (this.filename) comment.loc.filename = this.filename;
6172
- this.state.trailingComments.push(comment);
6173
- this.state.leadingComments.push(comment);
6870
+ if (newTrailingComments.length > 0) {
6871
+ lastElement.trailingComments = newTrailingComments;
6872
+ } else if (lastElement.trailingComments !== undefined) {
6873
+ lastElement.trailingComments = [];
6874
+ }
6174
6875
  }
6175
6876
 
6176
6877
  processComment(node) {
@@ -6204,44 +6905,30 @@ class CommentsParser extends BaseParser {
6204
6905
 
6205
6906
  if (!lastChild && firstChild) lastChild = firstChild;
6206
6907
 
6207
- if (firstChild && this.state.leadingComments.length > 0) {
6208
- const lastComment = last(this.state.leadingComments);
6908
+ if (firstChild) {
6909
+ switch (node.type) {
6910
+ case "ObjectExpression":
6911
+ this.adjustCommentsAfterTrailingComma(node, node.properties);
6912
+ break;
6209
6913
 
6210
- if (firstChild.type === "ObjectProperty") {
6211
- if (lastComment.start >= node.start) {
6212
- if (this.state.commentPreviousNode) {
6213
- for (j = 0; j < this.state.leadingComments.length; j++) {
6214
- if (this.state.leadingComments[j].end < this.state.commentPreviousNode.end) {
6215
- this.state.leadingComments.splice(j, 1);
6216
- j--;
6217
- }
6218
- }
6914
+ case "ObjectPattern":
6915
+ this.adjustCommentsAfterTrailingComma(node, node.properties, true);
6916
+ break;
6219
6917
 
6220
- if (this.state.leadingComments.length > 0) {
6221
- firstChild.trailingComments = this.state.leadingComments;
6222
- this.state.leadingComments = [];
6223
- }
6224
- }
6225
- }
6226
- } else if (node.type === "CallExpression" && node.arguments && node.arguments.length) {
6227
- const lastArg = last(node.arguments);
6918
+ case "CallExpression":
6919
+ this.adjustCommentsAfterTrailingComma(node, node.arguments);
6920
+ break;
6228
6921
 
6229
- if (lastArg && lastComment.start >= lastArg.start && lastComment.end <= node.end) {
6230
- if (this.state.commentPreviousNode) {
6231
- for (j = 0; j < this.state.leadingComments.length; j++) {
6232
- if (this.state.leadingComments[j].end < this.state.commentPreviousNode.end) {
6233
- this.state.leadingComments.splice(j, 1);
6234
- j--;
6235
- }
6236
- }
6922
+ case "ArrayExpression":
6923
+ this.adjustCommentsAfterTrailingComma(node, node.elements);
6924
+ break;
6237
6925
 
6238
- if (this.state.leadingComments.length > 0) {
6239
- lastArg.trailingComments = this.state.leadingComments;
6240
- this.state.leadingComments = [];
6241
- }
6242
- }
6243
- }
6926
+ case "ArrayPattern":
6927
+ this.adjustCommentsAfterTrailingComma(node, node.elements, true);
6928
+ break;
6244
6929
  }
6930
+ } else if (this.state.commentPreviousNode && (this.state.commentPreviousNode.type === "ImportSpecifier" && node.type !== "ImportSpecifier" || this.state.commentPreviousNode.type === "ExportSpecifier" && node.type !== "ExportSpecifier")) {
6931
+ this.adjustCommentsAfterTrailingComma(node, [this.state.commentPreviousNode], true);
6245
6932
  }
6246
6933
 
6247
6934
  if (lastChild) {
@@ -6334,17 +7021,22 @@ class LocationParser extends CommentsParser {
6334
7021
  err.code = code;
6335
7022
  }
6336
7023
 
6337
- throw err;
7024
+ if (this.options.errorRecovery) {
7025
+ if (!this.isLookahead) this.state.errors.push(err);
7026
+ return err;
7027
+ } else {
7028
+ throw err;
7029
+ }
6338
7030
  }
6339
7031
 
6340
7032
  }
6341
7033
 
6342
7034
  class State {
6343
7035
  constructor() {
7036
+ this.errors = [];
6344
7037
  this.potentialArrowAt = -1;
6345
7038
  this.noArrowAt = [];
6346
7039
  this.noArrowParamsConversionAt = [];
6347
- this.commaAfterSpreadAt = -1;
6348
7040
  this.inParameters = false;
6349
7041
  this.maybeInArrowParameters = false;
6350
7042
  this.inPipeline = false;
@@ -6363,8 +7055,8 @@ class State {
6363
7055
  this.classLevel = 0;
6364
7056
  this.labels = [];
6365
7057
  this.decoratorStack = [[]];
6366
- this.yieldPos = 0;
6367
- this.awaitPos = 0;
7058
+ this.yieldPos = -1;
7059
+ this.awaitPos = -1;
6368
7060
  this.tokens = [];
6369
7061
  this.comments = [];
6370
7062
  this.trailingComments = [];
@@ -6454,8 +7146,12 @@ class Tokenizer extends LocationParser {
6454
7146
  }
6455
7147
 
6456
7148
  next() {
6457
- if (this.options.tokens && !this.isLookahead) {
6458
- this.state.tokens.push(new Token(this.state));
7149
+ if (!this.isLookahead) {
7150
+ this.checkKeywordEscapes();
7151
+
7152
+ if (this.options.tokens) {
7153
+ this.state.tokens.push(new Token(this.state));
7154
+ }
6459
7155
  }
6460
7156
 
6461
7157
  this.state.lastTokEnd = this.state.end;
@@ -6489,6 +7185,17 @@ class Tokenizer extends LocationParser {
6489
7185
  return curr;
6490
7186
  }
6491
7187
 
7188
+ nextTokenStart() {
7189
+ const thisTokEnd = this.state.pos;
7190
+ skipWhiteSpace.lastIndex = thisTokEnd;
7191
+ const skip = skipWhiteSpace.exec(this.input);
7192
+ return thisTokEnd + skip[0].length;
7193
+ }
7194
+
7195
+ lookaheadCharCode() {
7196
+ return this.input.charCodeAt(this.nextTokenStart());
7197
+ }
7198
+
6492
7199
  setStrict(strict) {
6493
7200
  this.state.strict = strict;
6494
7201
  if (!this.match(types.num) && !this.match(types.string)) return;
@@ -6542,8 +7249,8 @@ class Tokenizer extends LocationParser {
6542
7249
  skipBlockComment() {
6543
7250
  const startLoc = this.state.curPosition();
6544
7251
  const start = this.state.pos;
6545
- const end = this.input.indexOf("*/", this.state.pos += 2);
6546
- if (end === -1) this.raise(this.state.pos - 2, "Unterminated comment");
7252
+ const end = this.input.indexOf("*/", this.state.pos + 2);
7253
+ if (end === -1) throw this.raise(start, "Unterminated comment");
6547
7254
  this.state.pos = end + 2;
6548
7255
  lineBreakG.lastIndex = start;
6549
7256
  let match;
@@ -6563,7 +7270,7 @@ class Tokenizer extends LocationParser {
6563
7270
  let ch = this.input.charCodeAt(this.state.pos += startSkip);
6564
7271
 
6565
7272
  if (this.state.pos < this.length) {
6566
- while (ch !== 10 && ch !== 13 && ch !== 8232 && ch !== 8233 && ++this.state.pos < this.length) {
7273
+ while (!isNewLine(ch) && ++this.state.pos < this.length) {
6567
7274
  ch = this.input.charCodeAt(this.state.pos);
6568
7275
  }
6569
7276
  }
@@ -6641,7 +7348,7 @@ class Tokenizer extends LocationParser {
6641
7348
  const next = this.input.charCodeAt(nextPos);
6642
7349
 
6643
7350
  if (next >= 48 && next <= 57) {
6644
- this.raise(this.state.pos, "Unexpected digit after hash token");
7351
+ throw this.raise(this.state.pos, "Unexpected digit after hash token");
6645
7352
  }
6646
7353
 
6647
7354
  if ((this.hasPlugin("classPrivateProperties") || this.hasPlugin("classPrivateMethods")) && this.state.classLevel > 0) {
@@ -6651,7 +7358,7 @@ class Tokenizer extends LocationParser {
6651
7358
  } else if (this.getPluginOption("pipelineOperator", "proposal") === "smart") {
6652
7359
  this.finishOp(types.hash, 1);
6653
7360
  } else {
6654
- this.raise(this.state.pos, "Unexpected character '#'");
7361
+ throw this.raise(this.state.pos, "Unexpected character '#'");
6655
7362
  }
6656
7363
  }
6657
7364
 
@@ -6663,9 +7370,7 @@ class Tokenizer extends LocationParser {
6663
7370
  return;
6664
7371
  }
6665
7372
 
6666
- const next2 = this.input.charCodeAt(this.state.pos + 2);
6667
-
6668
- if (next === 46 && next2 === 46) {
7373
+ if (next === 46 && this.input.charCodeAt(this.state.pos + 2) === 46) {
6669
7374
  this.state.pos += 3;
6670
7375
  this.finishToken(types.ellipsis);
6671
7376
  } else {
@@ -6697,7 +7402,7 @@ class Tokenizer extends LocationParser {
6697
7402
  let ch = this.input.charCodeAt(this.state.pos);
6698
7403
  if (ch !== 33) return false;
6699
7404
 
6700
- while (ch !== 10 && ch !== 13 && ch !== 8232 && ch !== 8233 && ++this.state.pos < this.length) {
7405
+ while (!isNewLine(ch) && ++this.state.pos < this.length) {
6701
7406
  ch = this.input.charCodeAt(this.state.pos);
6702
7407
  }
6703
7408
 
@@ -7012,7 +7717,7 @@ class Tokenizer extends LocationParser {
7012
7717
 
7013
7718
  }
7014
7719
 
7015
- this.raise(this.state.pos, `Unexpected character '${String.fromCodePoint(code)}'`);
7720
+ throw this.raise(this.state.pos, `Unexpected character '${String.fromCodePoint(code)}'`);
7016
7721
  }
7017
7722
 
7018
7723
  finishOp(type, size) {
@@ -7027,13 +7732,13 @@ class Tokenizer extends LocationParser {
7027
7732
 
7028
7733
  for (;;) {
7029
7734
  if (this.state.pos >= this.length) {
7030
- this.raise(start, "Unterminated regular expression");
7735
+ throw this.raise(start, "Unterminated regular expression");
7031
7736
  }
7032
7737
 
7033
7738
  const ch = this.input.charAt(this.state.pos);
7034
7739
 
7035
7740
  if (lineBreak.test(ch)) {
7036
- this.raise(start, "Unterminated regular expression");
7741
+ throw this.raise(start, "Unterminated regular expression");
7037
7742
  }
7038
7743
 
7039
7744
  if (escaped) {
@@ -7065,14 +7770,14 @@ class Tokenizer extends LocationParser {
7065
7770
  if (mods.indexOf(char) > -1) {
7066
7771
  this.raise(this.state.pos + 1, "Duplicate regular expression flag");
7067
7772
  }
7068
-
7069
- ++this.state.pos;
7070
- mods += char;
7071
7773
  } else if (isIdentifierChar(charCode) || charCode === 92) {
7072
7774
  this.raise(this.state.pos + 1, "Invalid regular expression flag");
7073
7775
  } else {
7074
7776
  break;
7075
7777
  }
7778
+
7779
+ ++this.state.pos;
7780
+ mods += char;
7076
7781
  }
7077
7782
 
7078
7783
  this.finishToken(types.regexp, {
@@ -7081,10 +7786,11 @@ class Tokenizer extends LocationParser {
7081
7786
  });
7082
7787
  }
7083
7788
 
7084
- readInt(radix, len) {
7789
+ readInt(radix, len, forceLen, allowNumSeparator = true) {
7085
7790
  const start = this.state.pos;
7086
7791
  const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct;
7087
7792
  const allowedSiblings = radix === 16 ? allowedNumericSeparatorSiblings.hex : radix === 10 ? allowedNumericSeparatorSiblings.dec : radix === 8 ? allowedNumericSeparatorSiblings.oct : allowedNumericSeparatorSiblings.bin;
7793
+ let invalid = false;
7088
7794
  let total = 0;
7089
7795
 
7090
7796
  for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) {
@@ -7092,16 +7798,18 @@ class Tokenizer extends LocationParser {
7092
7798
  let val;
7093
7799
 
7094
7800
  if (this.hasPlugin("numericSeparator")) {
7095
- const prev = this.input.charCodeAt(this.state.pos - 1);
7096
- const next = this.input.charCodeAt(this.state.pos + 1);
7097
-
7098
7801
  if (code === 95) {
7802
+ const prev = this.input.charCodeAt(this.state.pos - 1);
7803
+ const next = this.input.charCodeAt(this.state.pos + 1);
7804
+
7099
7805
  if (allowedSiblings.indexOf(next) === -1) {
7100
- this.raise(this.state.pos, "Invalid or unexpected token");
7806
+ this.raise(this.state.pos, "A numeric separator is only allowed between two digits");
7807
+ } else if (forbiddenSiblings.indexOf(prev) > -1 || forbiddenSiblings.indexOf(next) > -1 || Number.isNaN(next)) {
7808
+ this.raise(this.state.pos, "A numeric separator is only allowed between two digits");
7101
7809
  }
7102
7810
 
7103
- if (forbiddenSiblings.indexOf(prev) > -1 || forbiddenSiblings.indexOf(next) > -1 || Number.isNaN(next)) {
7104
- this.raise(this.state.pos, "Invalid or unexpected token");
7811
+ if (!allowNumSeparator) {
7812
+ this.raise(this.state.pos, "Numeric separators are not allowed inside unicode escape sequences or hex escape sequences");
7105
7813
  }
7106
7814
 
7107
7815
  ++this.state.pos;
@@ -7119,12 +7827,23 @@ class Tokenizer extends LocationParser {
7119
7827
  val = Infinity;
7120
7828
  }
7121
7829
 
7122
- if (val >= radix) break;
7830
+ if (val >= radix) {
7831
+ if (this.options.errorRecovery && val <= 9) {
7832
+ val = 0;
7833
+ this.raise(this.state.start + i + 2, "Expected number in radix " + radix);
7834
+ } else if (forceLen) {
7835
+ val = 0;
7836
+ invalid = true;
7837
+ } else {
7838
+ break;
7839
+ }
7840
+ }
7841
+
7123
7842
  ++this.state.pos;
7124
7843
  total = total * radix + val;
7125
7844
  }
7126
7845
 
7127
- if (this.state.pos === start || len != null && this.state.pos - start !== len) {
7846
+ if (this.state.pos === start || len != null && this.state.pos - start !== len || invalid) {
7128
7847
  return null;
7129
7848
  }
7130
7849
 
@@ -7149,7 +7868,7 @@ class Tokenizer extends LocationParser {
7149
7868
  }
7150
7869
 
7151
7870
  if (isIdentifierStart(this.input.codePointAt(this.state.pos))) {
7152
- this.raise(this.state.pos, "Identifier directly after number");
7871
+ throw this.raise(this.state.pos, "Identifier directly after number");
7153
7872
  }
7154
7873
 
7155
7874
  if (isBigInt) {
@@ -7165,6 +7884,7 @@ class Tokenizer extends LocationParser {
7165
7884
  const start = this.state.pos;
7166
7885
  let isFloat = false;
7167
7886
  let isBigInt = false;
7887
+ let isNonOctalDecimalInt = false;
7168
7888
 
7169
7889
  if (!startsWithDot && this.readInt(10) === null) {
7170
7890
  this.raise(start, "Invalid number");
@@ -7179,6 +7899,7 @@ class Tokenizer extends LocationParser {
7179
7899
 
7180
7900
  if (/[89]/.test(this.input.slice(start, this.state.pos))) {
7181
7901
  octal = false;
7902
+ isNonOctalDecimalInt = true;
7182
7903
  }
7183
7904
  }
7184
7905
 
@@ -7203,16 +7924,27 @@ class Tokenizer extends LocationParser {
7203
7924
  next = this.input.charCodeAt(this.state.pos);
7204
7925
  }
7205
7926
 
7927
+ if (this.hasPlugin("numericSeparator") && (octal || isNonOctalDecimalInt)) {
7928
+ const underscorePos = this.input.slice(start, this.state.pos).indexOf("_");
7929
+
7930
+ if (underscorePos > 0) {
7931
+ this.raise(underscorePos + start, "Numeric separator can not be used after leading 0");
7932
+ }
7933
+ }
7934
+
7206
7935
  if (this.hasPlugin("bigInt")) {
7207
7936
  if (next === 110) {
7208
- if (isFloat || octal) this.raise(start, "Invalid BigIntLiteral");
7937
+ if (isFloat || octal || isNonOctalDecimalInt) {
7938
+ this.raise(start, "Invalid BigIntLiteral");
7939
+ }
7940
+
7209
7941
  ++this.state.pos;
7210
7942
  isBigInt = true;
7211
7943
  }
7212
7944
  }
7213
7945
 
7214
7946
  if (isIdentifierStart(this.input.codePointAt(this.state.pos))) {
7215
- this.raise(this.state.pos, "Identifier directly after number");
7947
+ throw this.raise(this.state.pos, "Identifier directly after number");
7216
7948
  }
7217
7949
 
7218
7950
  const str = this.input.slice(start, this.state.pos).replace(/[_n]/g, "");
@@ -7232,7 +7964,7 @@ class Tokenizer extends LocationParser {
7232
7964
 
7233
7965
  if (ch === 123) {
7234
7966
  const codePos = ++this.state.pos;
7235
- code = this.readHexChar(this.input.indexOf("}", this.state.pos) - this.state.pos, throwOnInvalid);
7967
+ code = this.readHexChar(this.input.indexOf("}", this.state.pos) - this.state.pos, true, throwOnInvalid);
7236
7968
  ++this.state.pos;
7237
7969
 
7238
7970
  if (code === null) {
@@ -7246,7 +7978,7 @@ class Tokenizer extends LocationParser {
7246
7978
  }
7247
7979
  }
7248
7980
  } else {
7249
- code = this.readHexChar(4, throwOnInvalid);
7981
+ code = this.readHexChar(4, false, throwOnInvalid);
7250
7982
  }
7251
7983
 
7252
7984
  return code;
@@ -7258,7 +7990,7 @@ class Tokenizer extends LocationParser {
7258
7990
 
7259
7991
  for (;;) {
7260
7992
  if (this.state.pos >= this.length) {
7261
- this.raise(this.state.start, "Unterminated string constant");
7993
+ throw this.raise(this.state.start, "Unterminated string constant");
7262
7994
  }
7263
7995
 
7264
7996
  const ch = this.input.charCodeAt(this.state.pos);
@@ -7272,7 +8004,7 @@ class Tokenizer extends LocationParser {
7272
8004
  ++this.state.pos;
7273
8005
  ++this.state.curLine;
7274
8006
  } else if (isNewLine(ch)) {
7275
- this.raise(this.state.start, "Unterminated string constant");
8007
+ throw this.raise(this.state.start, "Unterminated string constant");
7276
8008
  } else {
7277
8009
  ++this.state.pos;
7278
8010
  }
@@ -7289,7 +8021,7 @@ class Tokenizer extends LocationParser {
7289
8021
 
7290
8022
  for (;;) {
7291
8023
  if (this.state.pos >= this.length) {
7292
- this.raise(this.state.start, "Unterminated template");
8024
+ throw this.raise(this.state.start, "Unterminated template");
7293
8025
  }
7294
8026
 
7295
8027
  const ch = this.input.charCodeAt(this.state.pos);
@@ -7365,7 +8097,7 @@ class Tokenizer extends LocationParser {
7365
8097
 
7366
8098
  case 120:
7367
8099
  {
7368
- const code = this.readHexChar(2, throwOnInvalid);
8100
+ const code = this.readHexChar(2, false, throwOnInvalid);
7369
8101
  return code === null ? null : String.fromCharCode(code);
7370
8102
  }
7371
8103
 
@@ -7400,6 +8132,14 @@ class Tokenizer extends LocationParser {
7400
8132
  case 8233:
7401
8133
  return "";
7402
8134
 
8135
+ case 56:
8136
+ case 57:
8137
+ if (inTemplate) {
8138
+ const codePos = this.state.pos - 1;
8139
+ this.state.invalidTemplateEscapePosition = codePos;
8140
+ return null;
8141
+ }
8142
+
7403
8143
  default:
7404
8144
  if (ch >= 48 && ch <= 55) {
7405
8145
  const codePos = this.state.pos - 1;
@@ -7433,9 +8173,9 @@ class Tokenizer extends LocationParser {
7433
8173
  }
7434
8174
  }
7435
8175
 
7436
- readHexChar(len, throwOnInvalid) {
8176
+ readHexChar(len, forceLen, throwOnInvalid) {
7437
8177
  const codePos = this.state.pos;
7438
- const n = this.readInt(16, len);
8178
+ const n = this.readInt(16, len, forceLen, false);
7439
8179
 
7440
8180
  if (n === null) {
7441
8181
  if (throwOnInvalid) {
@@ -7470,16 +8210,20 @@ class Tokenizer extends LocationParser {
7470
8210
 
7471
8211
  if (this.input.charCodeAt(++this.state.pos) !== 117) {
7472
8212
  this.raise(this.state.pos, "Expecting Unicode escape sequence \\uXXXX");
8213
+ continue;
7473
8214
  }
7474
8215
 
7475
8216
  ++this.state.pos;
7476
8217
  const esc = this.readCodePoint(true);
7477
8218
 
7478
- if (!identifierCheck(esc, true)) {
7479
- this.raise(escStart, "Invalid Unicode escape");
8219
+ if (esc !== null) {
8220
+ if (!identifierCheck(esc)) {
8221
+ this.raise(escStart, "Invalid Unicode escape");
8222
+ }
8223
+
8224
+ word += String.fromCodePoint(esc);
7480
8225
  }
7481
8226
 
7482
- word += String.fromCodePoint(esc);
7483
8227
  chunkStart = this.state.pos;
7484
8228
  } else {
7485
8229
  break;
@@ -7497,10 +8241,6 @@ class Tokenizer extends LocationParser {
7497
8241
  const word = this.readWord1();
7498
8242
  const type = keywords.get(word) || types.name;
7499
8243
 
7500
- if (type.keyword && this.state.containsEsc) {
7501
- this.raise(this.state.pos, `Escape sequence in keyword ${word}`);
7502
- }
7503
-
7504
8244
  if (this.state.isIterator && (!this.isIterator(word) || !this.state.inType)) {
7505
8245
  this.raise(this.state.pos, `Invalid identifier ${word}`);
7506
8246
  }
@@ -7508,6 +8248,14 @@ class Tokenizer extends LocationParser {
7508
8248
  this.finishToken(type, word);
7509
8249
  }
7510
8250
 
8251
+ checkKeywordEscapes() {
8252
+ const kw = this.state.type.keyword;
8253
+
8254
+ if (kw && this.state.containsEsc) {
8255
+ this.raise(this.state.start, `Escape sequence in keyword ${kw}`);
8256
+ }
8257
+ }
8258
+
7511
8259
  braceIsBlock(prevType) {
7512
8260
  const parent = this.curContext();
7513
8261
 
@@ -7570,8 +8318,18 @@ class UtilParser extends Tokenizer {
7570
8318
  }
7571
8319
 
7572
8320
  isLookaheadRelational(op) {
7573
- const l = this.lookahead();
7574
- return l.type === types.relational && l.value === op;
8321
+ const next = this.nextTokenStart();
8322
+
8323
+ if (this.input.charAt(next) === op) {
8324
+ if (next + 1 === this.input.length) {
8325
+ return true;
8326
+ }
8327
+
8328
+ const afterNext = this.input.charCodeAt(next + 1);
8329
+ return afterNext !== op.charCodeAt(0) && afterNext !== 61;
8330
+ }
8331
+
8332
+ return false;
7575
8333
  }
7576
8334
 
7577
8335
  expectRelational(op) {
@@ -7595,9 +8353,14 @@ class UtilParser extends Tokenizer {
7595
8353
  return this.match(types.name) && this.state.value === name && !this.state.containsEsc;
7596
8354
  }
7597
8355
 
8356
+ isUnparsedContextual(nameStart, name) {
8357
+ const nameEnd = nameStart + name.length;
8358
+ return this.input.slice(nameStart, nameEnd) === name && (nameEnd === this.input.length || !isIdentifierChar(this.input.charCodeAt(nameEnd)));
8359
+ }
8360
+
7598
8361
  isLookaheadContextual(name) {
7599
- const l = this.lookahead();
7600
- return l.type === types.name && l.value === name;
8362
+ const next = this.nextTokenStart();
8363
+ return this.isUnparsedContextual(next, name);
7601
8364
  }
7602
8365
 
7603
8366
  eatContextual(name) {
@@ -7661,11 +8424,11 @@ class UtilParser extends Tokenizer {
7661
8424
  }
7662
8425
 
7663
8426
  checkYieldAwaitInDefaultParams() {
7664
- if (this.state.yieldPos && (!this.state.awaitPos || this.state.yieldPos < this.state.awaitPos)) {
8427
+ if (this.state.yieldPos !== -1 && (this.state.awaitPos === -1 || this.state.yieldPos < this.state.awaitPos)) {
7665
8428
  this.raise(this.state.yieldPos, "Yield cannot be used as name inside a generator function");
7666
8429
  }
7667
8430
 
7668
- if (this.state.awaitPos) {
8431
+ if (this.state.awaitPos !== -1) {
7669
8432
  this.raise(this.state.awaitPos, "Await cannot be used as name inside an async function");
7670
8433
  }
7671
8434
  }
@@ -7689,6 +8452,64 @@ class UtilParser extends Tokenizer {
7689
8452
  return false;
7690
8453
  }
7691
8454
 
8455
+ tryParse(fn, oldState = this.state.clone()) {
8456
+ const abortSignal = {
8457
+ node: null
8458
+ };
8459
+
8460
+ try {
8461
+ const node = fn((node = null) => {
8462
+ abortSignal.node = node;
8463
+ throw abortSignal;
8464
+ });
8465
+
8466
+ if (this.state.errors.length > oldState.errors.length) {
8467
+ const failState = this.state;
8468
+ this.state = oldState;
8469
+ return {
8470
+ node,
8471
+ error: failState.errors[oldState.errors.length],
8472
+ thrown: false,
8473
+ aborted: false,
8474
+ failState
8475
+ };
8476
+ }
8477
+
8478
+ return {
8479
+ node,
8480
+ error: null,
8481
+ thrown: false,
8482
+ aborted: false,
8483
+ failState: null
8484
+ };
8485
+ } catch (error) {
8486
+ const failState = this.state;
8487
+ this.state = oldState;
8488
+
8489
+ if (error instanceof SyntaxError) {
8490
+ return {
8491
+ node: null,
8492
+ error,
8493
+ thrown: true,
8494
+ aborted: false,
8495
+ failState
8496
+ };
8497
+ }
8498
+
8499
+ if (error === abortSignal) {
8500
+ return {
8501
+ node: abortSignal.node,
8502
+ error: null,
8503
+ thrown: false,
8504
+ aborted: true,
8505
+ failState
8506
+ };
8507
+ }
8508
+
8509
+ throw error;
8510
+ }
8511
+ }
8512
+
7692
8513
  }
7693
8514
 
7694
8515
  class Node {
@@ -7763,9 +8584,25 @@ class NodeUtils extends UtilParser {
7763
8584
 
7764
8585
  }
7765
8586
 
8587
+ const unwrapParenthesizedExpression = node => {
8588
+ return node.type === "ParenthesizedExpression" ? unwrapParenthesizedExpression(node.expression) : node;
8589
+ };
8590
+
7766
8591
  class LValParser extends NodeUtils {
7767
8592
  toAssignable(node, isBinding, contextDescription) {
8593
+ var _node$extra3;
8594
+
7768
8595
  if (node) {
8596
+ var _node$extra;
8597
+
8598
+ if (this.options.createParenthesizedExpressions && node.type === "ParenthesizedExpression" || ((_node$extra = node.extra) == null ? void 0 : _node$extra.parenthesized)) {
8599
+ const parenthesized = unwrapParenthesizedExpression(node);
8600
+
8601
+ if (parenthesized.type !== "Identifier" && parenthesized.type !== "MemberExpression") {
8602
+ this.raise(node.start, "Invalid parenthesized assignment pattern");
8603
+ }
8604
+ }
8605
+
7769
8606
  switch (node.type) {
7770
8607
  case "Identifier":
7771
8608
  case "ObjectPattern":
@@ -7777,9 +8614,15 @@ class LValParser extends NodeUtils {
7777
8614
  node.type = "ObjectPattern";
7778
8615
 
7779
8616
  for (let i = 0, length = node.properties.length, last = length - 1; i < length; i++) {
8617
+ var _node$extra2;
8618
+
7780
8619
  const prop = node.properties[i];
7781
8620
  const isLast = i === last;
7782
8621
  this.toAssignableObjectExpressionProp(prop, isBinding, isLast);
8622
+
8623
+ if (isLast && prop.type === "RestElement" && ((_node$extra2 = node.extra) == null ? void 0 : _node$extra2.trailingComma)) {
8624
+ this.raiseRestNotLast(node.extra.trailingComma);
8625
+ }
7783
8626
  }
7784
8627
 
7785
8628
  break;
@@ -7799,31 +8642,22 @@ class LValParser extends NodeUtils {
7799
8642
 
7800
8643
  case "ArrayExpression":
7801
8644
  node.type = "ArrayPattern";
7802
- this.toAssignableList(node.elements, isBinding, contextDescription);
8645
+ this.toAssignableList(node.elements, isBinding, contextDescription, (_node$extra3 = node.extra) == null ? void 0 : _node$extra3.trailingComma);
7803
8646
  break;
7804
8647
 
7805
8648
  case "AssignmentExpression":
7806
- if (node.operator === "=") {
7807
- node.type = "AssignmentPattern";
7808
- delete node.operator;
7809
- } else {
8649
+ if (node.operator !== "=") {
7810
8650
  this.raise(node.left.end, "Only '=' operator can be used for specifying default value.");
7811
8651
  }
7812
8652
 
8653
+ node.type = "AssignmentPattern";
8654
+ delete node.operator;
8655
+ this.toAssignable(node.left, isBinding, contextDescription);
7813
8656
  break;
7814
8657
 
7815
8658
  case "ParenthesizedExpression":
7816
8659
  node.expression = this.toAssignable(node.expression, isBinding, contextDescription);
7817
8660
  break;
7818
-
7819
- case "MemberExpression":
7820
- if (!isBinding) break;
7821
-
7822
- default:
7823
- {
7824
- const message = "Invalid left-hand side" + (contextDescription ? " in " + contextDescription : "expression");
7825
- this.raise(node.start, message);
7826
- }
7827
8661
  }
7828
8662
  }
7829
8663
 
@@ -7841,7 +8675,7 @@ class LValParser extends NodeUtils {
7841
8675
  }
7842
8676
  }
7843
8677
 
7844
- toAssignableList(exprList, isBinding, contextDescription) {
8678
+ toAssignableList(exprList, isBinding, contextDescription, trailingCommaPos) {
7845
8679
  let end = exprList.length;
7846
8680
 
7847
8681
  if (end) {
@@ -7858,6 +8692,10 @@ class LValParser extends NodeUtils {
7858
8692
  this.unexpected(arg.start);
7859
8693
  }
7860
8694
 
8695
+ if (trailingCommaPos) {
8696
+ this.raiseTrailingCommaAfterRest(trailingCommaPos);
8697
+ }
8698
+
7861
8699
  --end;
7862
8700
  }
7863
8701
  }
@@ -7891,19 +8729,12 @@ class LValParser extends NodeUtils {
7891
8729
  this.toReferencedListDeep(expr.elements);
7892
8730
  }
7893
8731
  }
7894
-
7895
- return exprList;
7896
8732
  }
7897
8733
 
7898
8734
  parseSpread(refShorthandDefaultPos, refNeedsArrowPos) {
7899
8735
  const node = this.startNode();
7900
8736
  this.next();
7901
8737
  node.argument = this.parseMaybeAssign(false, refShorthandDefaultPos, undefined, refNeedsArrowPos);
7902
-
7903
- if (this.state.commaAfterSpreadAt === -1 && this.match(types.comma)) {
7904
- this.state.commaAfterSpreadAt = this.state.start;
7905
- }
7906
-
7907
8738
  return this.finishNode(node, "SpreadElement");
7908
8739
  }
7909
8740
 
@@ -7920,7 +8751,7 @@ class LValParser extends NodeUtils {
7920
8751
  {
7921
8752
  const node = this.startNode();
7922
8753
  this.next();
7923
- node.elements = this.parseBindingList(types.bracketR, true);
8754
+ node.elements = this.parseBindingList(types.bracketR, 93, true);
7924
8755
  return this.finishNode(node, "ArrayPattern");
7925
8756
  }
7926
8757
 
@@ -7931,7 +8762,7 @@ class LValParser extends NodeUtils {
7931
8762
  return this.parseIdentifier();
7932
8763
  }
7933
8764
 
7934
- parseBindingList(close, allowEmpty, allowModifiers) {
8765
+ parseBindingList(close, closeCharCode, allowEmpty, allowModifiers) {
7935
8766
  const elts = [];
7936
8767
  let first = true;
7937
8768
 
@@ -7948,7 +8779,7 @@ class LValParser extends NodeUtils {
7948
8779
  break;
7949
8780
  } else if (this.match(types.ellipsis)) {
7950
8781
  elts.push(this.parseAssignableListItemTypes(this.parseRestBinding()));
7951
- this.checkCommaAfterRest();
8782
+ this.checkCommaAfterRest(closeCharCode);
7952
8783
  this.expect(close);
7953
8784
  break;
7954
8785
  } else {
@@ -7996,10 +8827,10 @@ class LValParser extends NodeUtils {
7996
8827
  return this.finishNode(node, "AssignmentPattern");
7997
8828
  }
7998
8829
 
7999
- checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription) {
8830
+ checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription, disallowLetBinding, strictModeChanged = false) {
8000
8831
  switch (expr.type) {
8001
8832
  case "Identifier":
8002
- if (this.state.strict && isStrictBindReservedWord(expr.name, this.inModule)) {
8833
+ if (this.state.strict && (strictModeChanged ? isStrictBindReservedWord(expr.name, this.inModule) : isStrictBindOnlyReservedWord(expr.name))) {
8003
8834
  this.raise(expr.start, `${bindingType === BIND_NONE ? "Assigning to" : "Binding"} '${expr.name}' in strict mode`);
8004
8835
  }
8005
8836
 
@@ -8013,7 +8844,7 @@ class LValParser extends NodeUtils {
8013
8844
  }
8014
8845
  }
8015
8846
 
8016
- if (bindingType === BIND_LEXICAL && expr.name === "let") {
8847
+ if (disallowLetBinding && expr.name === "let") {
8017
8848
  this.raise(expr.start, "'let' is not allowed to be used as a name in 'let' or 'const' declarations.");
8018
8849
  }
8019
8850
 
@@ -8033,8 +8864,8 @@ class LValParser extends NodeUtils {
8033
8864
  case "ObjectPattern":
8034
8865
  for (let _i2 = 0, _expr$properties = expr.properties; _i2 < _expr$properties.length; _i2++) {
8035
8866
  let prop = _expr$properties[_i2];
8036
- if (prop.type === "ObjectProperty") prop = prop.value;
8037
- this.checkLVal(prop, bindingType, checkClashes, "object destructuring pattern");
8867
+ if (prop.type === "ObjectProperty") prop = prop.value;else if (prop.type === "ObjectMethod") continue;
8868
+ this.checkLVal(prop, bindingType, checkClashes, "object destructuring pattern", disallowLetBinding);
8038
8869
  }
8039
8870
 
8040
8871
  break;
@@ -8044,7 +8875,7 @@ class LValParser extends NodeUtils {
8044
8875
  const elem = _expr$elements[_i3];
8045
8876
 
8046
8877
  if (elem) {
8047
- this.checkLVal(elem, bindingType, checkClashes, "array destructuring pattern");
8878
+ this.checkLVal(elem, bindingType, checkClashes, "array destructuring pattern", disallowLetBinding);
8048
8879
  }
8049
8880
  }
8050
8881
 
@@ -8076,30 +8907,28 @@ class LValParser extends NodeUtils {
8076
8907
  }
8077
8908
  }
8078
8909
 
8079
- checkCommaAfterRest() {
8910
+ checkCommaAfterRest(close) {
8080
8911
  if (this.match(types.comma)) {
8081
- this.raiseRestNotLast(this.state.start);
8912
+ if (this.lookaheadCharCode() === close) {
8913
+ this.raiseTrailingCommaAfterRest(this.state.start);
8914
+ } else {
8915
+ this.raiseRestNotLast(this.state.start);
8916
+ }
8082
8917
  }
8083
8918
  }
8084
8919
 
8085
- checkCommaAfterRestFromSpread() {
8086
- if (this.state.commaAfterSpreadAt > -1) {
8087
- this.raiseRestNotLast(this.state.commaAfterSpreadAt);
8088
- }
8920
+ raiseRestNotLast(pos) {
8921
+ throw this.raise(pos, `Rest element must be last element`);
8089
8922
  }
8090
8923
 
8091
- raiseRestNotLast(pos) {
8092
- this.raise(pos, `Rest element must be last element`);
8924
+ raiseTrailingCommaAfterRest(pos) {
8925
+ this.raise(pos, `Unexpected trailing comma after rest element`);
8093
8926
  }
8094
8927
 
8095
8928
  }
8096
8929
 
8097
- const unwrapParenthesizedExpression = node => {
8098
- return node.type === "ParenthesizedExpression" ? unwrapParenthesizedExpression(node.expression) : node;
8099
- };
8100
-
8101
8930
  class ExpressionParser extends LValParser {
8102
- checkPropClash(prop, propHash) {
8931
+ checkDuplicatedProto(prop, protoRef) {
8103
8932
  if (prop.type === "SpreadElement" || prop.computed || prop.kind || prop.shorthand) {
8104
8933
  return;
8105
8934
  }
@@ -8108,11 +8937,11 @@ class ExpressionParser extends LValParser {
8108
8937
  const name = key.type === "Identifier" ? key.name : String(key.value);
8109
8938
 
8110
8939
  if (name === "__proto__") {
8111
- if (propHash.proto) {
8112
- this.raise(key.start, "Redefinition of __proto__ property");
8940
+ if (protoRef.used && !protoRef.start) {
8941
+ protoRef.start = key.start;
8113
8942
  }
8114
8943
 
8115
- propHash.proto = true;
8944
+ protoRef.used = true;
8116
8945
  }
8117
8946
  }
8118
8947
 
@@ -8126,6 +8955,7 @@ class ExpressionParser extends LValParser {
8126
8955
  }
8127
8956
 
8128
8957
  expr.comments = this.state.comments;
8958
+ expr.errors = this.state.errors;
8129
8959
  return expr;
8130
8960
  }
8131
8961
 
@@ -8167,8 +8997,6 @@ class ExpressionParser extends LValParser {
8167
8997
  }
8168
8998
  }
8169
8999
 
8170
- const oldCommaAfterSpreadAt = this.state.commaAfterSpreadAt;
8171
- this.state.commaAfterSpreadAt = -1;
8172
9000
  let failOnShorthandAssign;
8173
9001
 
8174
9002
  if (refShorthandDefaultPos) {
@@ -8205,23 +9033,12 @@ class ExpressionParser extends LValParser {
8205
9033
  }
8206
9034
 
8207
9035
  node.left = this.match(types.eq) ? this.toAssignable(left, undefined, "assignment expression") : left;
8208
- refShorthandDefaultPos.start = 0;
8209
- this.checkLVal(left, undefined, undefined, "assignment expression");
8210
- const maybePattern = unwrapParenthesizedExpression(left);
8211
- let patternErrorMsg;
8212
-
8213
- if (maybePattern.type === "ObjectPattern") {
8214
- patternErrorMsg = "`({a}) = 0` use `({a} = 0)`";
8215
- } else if (maybePattern.type === "ArrayPattern") {
8216
- patternErrorMsg = "`([a]) = 0` use `([a] = 0)`";
8217
- }
8218
9036
 
8219
- if (patternErrorMsg && (left.extra && left.extra.parenthesized || left.type === "ParenthesizedExpression")) {
8220
- this.raise(maybePattern.start, `You're trying to assign to a parenthesized expression, eg. instead of ${patternErrorMsg}`);
9037
+ if (refShorthandDefaultPos.start >= node.left.start) {
9038
+ refShorthandDefaultPos.start = 0;
8221
9039
  }
8222
9040
 
8223
- if (patternErrorMsg) this.checkCommaAfterRestFromSpread();
8224
- this.state.commaAfterSpreadAt = oldCommaAfterSpreadAt;
9041
+ this.checkLVal(left, undefined, undefined, "assignment expression");
8225
9042
  this.next();
8226
9043
  node.right = this.parseMaybeAssign(noIn);
8227
9044
  return this.finishNode(node, "AssignmentExpression");
@@ -8229,7 +9046,6 @@ class ExpressionParser extends LValParser {
8229
9046
  this.unexpected(refShorthandDefaultPos.start);
8230
9047
  }
8231
9048
 
8232
- this.state.commaAfterSpreadAt = oldCommaAfterSpreadAt;
8233
9049
  return left;
8234
9050
  }
8235
9051
 
@@ -8315,6 +9131,15 @@ class ExpressionParser extends LValParser {
8315
9131
  }
8316
9132
 
8317
9133
  node.right = this.parseExprOpRightExpr(op, prec, noIn);
9134
+
9135
+ if (op === types.nullishCoalescing) {
9136
+ if (left.type === "LogicalExpression" && left.operator !== "??" && !(left.extra && left.extra.parenthesized)) {
9137
+ throw this.raise(left.start, `Nullish coalescing operator(??) requires parens when mixing with logical operators`);
9138
+ } else if (node.right.type === "LogicalExpression" && node.right.operator !== "??" && !(node.right.extra && node.right.extra.parenthesized)) {
9139
+ throw this.raise(node.right.start, `Nullish coalescing operator(??) requires parens when mixing with logical operators`);
9140
+ }
9141
+ }
9142
+
8318
9143
  this.finishNode(node, op === types.logicalOR || op === types.logicalAND || op === types.nullishCoalescing ? "LogicalExpression" : "BinaryExpression");
8319
9144
  return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, noIn);
8320
9145
  }
@@ -8353,7 +9178,7 @@ class ExpressionParser extends LValParser {
8353
9178
  }
8354
9179
 
8355
9180
  parseMaybeUnary(refShorthandDefaultPos) {
8356
- if (this.isContextual("await") && (this.scope.inAsync || !this.scope.inFunction && this.options.allowAwaitOutsideFunction)) {
9181
+ if (this.isContextual("await") && this.isAwaitAllowed()) {
8357
9182
  return this.parseAwait();
8358
9183
  } else if (this.state.type.prefix) {
8359
9184
  const node = this.startNode();
@@ -8423,20 +9248,21 @@ class ExpressionParser extends LValParser {
8423
9248
  }
8424
9249
 
8425
9250
  parseSubscripts(base, startPos, startLoc, noCalls) {
8426
- const maybeAsyncArrow = this.atPossibleAsync(base);
8427
9251
  const state = {
8428
9252
  optionalChainMember: false,
9253
+ maybeAsyncArrow: this.atPossibleAsync(base),
8429
9254
  stop: false
8430
9255
  };
8431
9256
 
8432
9257
  do {
8433
- base = this.parseSubscript(base, startPos, startLoc, noCalls, state, maybeAsyncArrow);
9258
+ base = this.parseSubscript(base, startPos, startLoc, noCalls, state);
9259
+ state.maybeAsyncArrow = false;
8434
9260
  } while (!state.stop);
8435
9261
 
8436
9262
  return base;
8437
9263
  }
8438
9264
 
8439
- parseSubscript(base, startPos, startLoc, noCalls, state, maybeAsyncArrow) {
9265
+ parseSubscript(base, startPos, startLoc, noCalls, state) {
8440
9266
  if (!noCalls && this.eat(types.doubleColon)) {
8441
9267
  const node = this.startNodeAt(startPos, startLoc);
8442
9268
  node.object = base;
@@ -8447,7 +9273,7 @@ class ExpressionParser extends LValParser {
8447
9273
  this.expectPlugin("optionalChaining");
8448
9274
  state.optionalChainMember = true;
8449
9275
 
8450
- if (noCalls && this.lookahead().type === types.parenL) {
9276
+ if (noCalls && this.lookaheadCharCode() === 40) {
8451
9277
  state.stop = true;
8452
9278
  return base;
8453
9279
  }
@@ -8466,7 +9292,7 @@ class ExpressionParser extends LValParser {
8466
9292
  node.callee = base;
8467
9293
  node.arguments = this.parseCallExpressionArguments(types.parenR, false);
8468
9294
  node.optional = true;
8469
- return this.finishNode(node, "OptionalCallExpression");
9295
+ return this.finishCallExpression(node, true);
8470
9296
  } else {
8471
9297
  node.object = base;
8472
9298
  node.property = this.parseIdentifier(true);
@@ -8480,6 +9306,10 @@ class ExpressionParser extends LValParser {
8480
9306
  node.property = this.parseMaybePrivateName();
8481
9307
  node.computed = false;
8482
9308
 
9309
+ if (node.property.type === "PrivateName" && node.object.type === "Super") {
9310
+ this.raise(startPos, "Private fields can't be accessed on super");
9311
+ }
9312
+
8483
9313
  if (state.optionalChainMember) {
8484
9314
  node.optional = false;
8485
9315
  return this.finishNode(node, "OptionalMemberExpression");
@@ -8504,36 +9334,30 @@ class ExpressionParser extends LValParser {
8504
9334
  const oldYieldPos = this.state.yieldPos;
8505
9335
  const oldAwaitPos = this.state.awaitPos;
8506
9336
  this.state.maybeInArrowParameters = true;
8507
- this.state.yieldPos = 0;
8508
- this.state.awaitPos = 0;
9337
+ this.state.yieldPos = -1;
9338
+ this.state.awaitPos = -1;
8509
9339
  this.next();
8510
9340
  let node = this.startNodeAt(startPos, startLoc);
8511
9341
  node.callee = base;
8512
- const oldCommaAfterSpreadAt = this.state.commaAfterSpreadAt;
8513
- this.state.commaAfterSpreadAt = -1;
8514
- node.arguments = this.parseCallExpressionArguments(types.parenR, maybeAsyncArrow, base.type === "Import", base.type !== "Super");
8515
-
8516
- if (!state.optionalChainMember) {
8517
- this.finishCallExpression(node);
8518
- } else {
8519
- this.finishOptionalCallExpression(node);
8520
- }
9342
+ node.arguments = this.parseCallExpressionArguments(types.parenR, state.maybeAsyncArrow, base.type === "Import", base.type !== "Super", node);
9343
+ this.finishCallExpression(node, state.optionalChainMember);
8521
9344
 
8522
- if (maybeAsyncArrow && this.shouldParseAsyncArrow()) {
9345
+ if (state.maybeAsyncArrow && this.shouldParseAsyncArrow()) {
8523
9346
  state.stop = true;
8524
- this.checkCommaAfterRestFromSpread();
8525
9347
  node = this.parseAsyncArrowFromCallExpression(this.startNodeAt(startPos, startLoc), node);
8526
9348
  this.checkYieldAwaitInDefaultParams();
8527
9349
  this.state.yieldPos = oldYieldPos;
8528
9350
  this.state.awaitPos = oldAwaitPos;
8529
9351
  } else {
8530
9352
  this.toReferencedListDeep(node.arguments);
8531
- this.state.yieldPos = oldYieldPos || this.state.yieldPos;
8532
- this.state.awaitPos = oldAwaitPos || this.state.awaitPos;
9353
+ if (oldYieldPos !== -1) this.state.yieldPos = oldYieldPos;
9354
+
9355
+ if (!this.isAwaitAllowed() && !oldMaybeInArrowParameters || oldAwaitPos !== -1) {
9356
+ this.state.awaitPos = oldAwaitPos;
9357
+ }
8533
9358
  }
8534
9359
 
8535
9360
  this.state.maybeInArrowParameters = oldMaybeInArrowParameters;
8536
- this.state.commaAfterSpreadAt = oldCommaAfterSpreadAt;
8537
9361
  return node;
8538
9362
  } else if (this.match(types.backQuote)) {
8539
9363
  return this.parseTaggedTemplateExpression(startPos, startLoc, base, state);
@@ -8560,39 +9384,23 @@ class ExpressionParser extends LValParser {
8560
9384
  return base.type === "Identifier" && base.name === "async" && this.state.lastTokEnd === base.end && !this.canInsertSemicolon() && this.input.slice(base.start, base.end) === "async";
8561
9385
  }
8562
9386
 
8563
- finishCallExpression(node) {
8564
- if (node.callee.type === "Import") {
8565
- if (node.arguments.length !== 1) {
8566
- this.raise(node.start, "import() requires exactly one argument");
8567
- }
8568
-
8569
- const importArg = node.arguments[0];
8570
-
8571
- if (importArg && importArg.type === "SpreadElement") {
8572
- this.raise(importArg.start, "... is not allowed in import()");
8573
- }
8574
- }
8575
-
8576
- return this.finishNode(node, "CallExpression");
8577
- }
8578
-
8579
- finishOptionalCallExpression(node) {
9387
+ finishCallExpression(node, optional) {
8580
9388
  if (node.callee.type === "Import") {
8581
9389
  if (node.arguments.length !== 1) {
8582
9390
  this.raise(node.start, "import() requires exactly one argument");
8583
- }
8584
-
8585
- const importArg = node.arguments[0];
9391
+ } else {
9392
+ const importArg = node.arguments[0];
8586
9393
 
8587
- if (importArg && importArg.type === "SpreadElement") {
8588
- this.raise(importArg.start, "... is not allowed in import()");
9394
+ if (importArg && importArg.type === "SpreadElement") {
9395
+ this.raise(importArg.start, "... is not allowed in import()");
9396
+ }
8589
9397
  }
8590
9398
  }
8591
9399
 
8592
- return this.finishNode(node, "OptionalCallExpression");
9400
+ return this.finishNode(node, optional ? "OptionalCallExpression" : "CallExpression");
8593
9401
  }
8594
9402
 
8595
- parseCallExpressionArguments(close, possibleAsyncArrow, dynamicImport, allowPlaceholder) {
9403
+ parseCallExpressionArguments(close, possibleAsyncArrow, dynamicImport, allowPlaceholder, nodeForExtra) {
8596
9404
  const elts = [];
8597
9405
  let innerParenStart;
8598
9406
  let first = true;
@@ -8605,11 +9413,16 @@ class ExpressionParser extends LValParser {
8605
9413
  } else {
8606
9414
  this.expect(types.comma);
8607
9415
 
8608
- if (this.eat(close)) {
9416
+ if (this.match(close)) {
8609
9417
  if (dynamicImport) {
8610
9418
  this.raise(this.state.lastTokStart, "Trailing comma is disallowed inside import(...) arguments");
8611
9419
  }
8612
9420
 
9421
+ if (nodeForExtra) {
9422
+ this.addExtra(nodeForExtra, "trailingComma", this.state.lastTokStart);
9423
+ }
9424
+
9425
+ this.next();
8613
9426
  break;
8614
9427
  }
8615
9428
  }
@@ -8638,8 +9451,10 @@ class ExpressionParser extends LValParser {
8638
9451
  }
8639
9452
 
8640
9453
  parseAsyncArrowFromCallExpression(node, call) {
9454
+ var _call$extra;
9455
+
8641
9456
  this.expect(types.arrow);
8642
- this.parseArrowExpression(node, call.arguments, true);
9457
+ this.parseArrowExpression(node, call.arguments, true, (_call$extra = call.extra) == null ? void 0 : _call$extra.trailingComma);
8643
9458
  return node;
8644
9459
  }
8645
9460
 
@@ -8656,19 +9471,17 @@ class ExpressionParser extends LValParser {
8656
9471
 
8657
9472
  switch (this.state.type) {
8658
9473
  case types._super:
8659
- if (!this.scope.allowSuper && !this.options.allowSuperOutsideMethod) {
8660
- this.raise(this.state.start, "super is only allowed in object methods and classes");
8661
- }
8662
-
8663
9474
  node = this.startNode();
8664
9475
  this.next();
8665
9476
 
8666
9477
  if (this.match(types.parenL) && !this.scope.allowDirectSuper && !this.options.allowSuperOutsideMethod) {
8667
9478
  this.raise(node.start, "super() is only valid inside a class constructor of a subclass. " + "Maybe a typo in the method name ('constructor') or not extending another class?");
9479
+ } else if (!this.scope.allowSuper && !this.options.allowSuperOutsideMethod) {
9480
+ this.raise(node.start, "super is only allowed in object methods and classes");
8668
9481
  }
8669
9482
 
8670
9483
  if (!this.match(types.parenL) && !this.match(types.bracketL) && !this.match(types.dot)) {
8671
- this.unexpected();
9484
+ this.raise(node.start, "super can only be used with function calls (i.e. super()) or " + "in property accesses (i.e. super.prop or super[prop])");
8672
9485
  }
8673
9486
 
8674
9487
  return this.finishNode(node, "Super");
@@ -8701,6 +9514,13 @@ class ExpressionParser extends LValParser {
8701
9514
  const id = this.parseIdentifier();
8702
9515
 
8703
9516
  if (!containsEsc && id.name === "async" && this.match(types._function) && !this.canInsertSemicolon()) {
9517
+ const last = this.state.context.length - 1;
9518
+
9519
+ if (this.state.context[last] !== types$1.functionStatement) {
9520
+ throw new Error("Internal error");
9521
+ }
9522
+
9523
+ this.state.context[last] = types$1.functionExpression;
8704
9524
  this.next();
8705
9525
  return this.parseFunction(node, undefined, true);
8706
9526
  } else if (canBeArrow && !containsEsc && id.name === "async" && this.match(types.name) && !this.canInsertSemicolon()) {
@@ -8767,7 +9587,7 @@ class ExpressionParser extends LValParser {
8767
9587
  this.state.inFSharpPipelineDirectBody = false;
8768
9588
  node = this.startNode();
8769
9589
  this.next();
8770
- node.elements = this.parseExprList(types.bracketR, true, refShorthandDefaultPos);
9590
+ node.elements = this.parseExprList(types.bracketR, true, refShorthandDefaultPos, node);
8771
9591
 
8772
9592
  if (!this.state.maybeInArrowParameters) {
8773
9593
  this.toReferencedList(node.elements);
@@ -8828,12 +9648,12 @@ class ExpressionParser extends LValParser {
8828
9648
 
8829
9649
  this.next();
8830
9650
 
8831
- if (this.primaryTopicReferenceIsAllowedInCurrentTopicContext()) {
8832
- this.registerTopicReference();
8833
- return this.finishNode(node, "PipelinePrimaryTopicReference");
8834
- } else {
8835
- throw this.raise(node.start, `Topic reference was used in a lexical context without topic binding`);
9651
+ if (!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()) {
9652
+ this.raise(node.start, `Topic reference was used in a lexical context without topic binding`);
8836
9653
  }
9654
+
9655
+ this.registerTopicReference();
9656
+ return this.finishNode(node, "PipelinePrimaryTopicReference");
8837
9657
  }
8838
9658
  }
8839
9659
 
@@ -8904,17 +9724,18 @@ class ExpressionParser extends LValParser {
8904
9724
 
8905
9725
  if (this.isContextual("meta")) {
8906
9726
  this.expectPlugin("importMeta");
9727
+
9728
+ if (!this.inModule) {
9729
+ this.raise(id.start, `import.meta may appear only with 'sourceType: "module"'`, {
9730
+ code: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
9731
+ });
9732
+ }
9733
+
9734
+ this.sawUnambiguousESM = true;
8907
9735
  } else if (!this.hasPlugin("importMeta")) {
8908
9736
  this.raise(id.start, `Dynamic imports require a parameter: import('a.js')`);
8909
9737
  }
8910
9738
 
8911
- if (!this.inModule) {
8912
- this.raise(id.start, `import.meta may appear only with 'sourceType: "module"'`, {
8913
- code: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
8914
- });
8915
- }
8916
-
8917
- this.sawUnambiguousESM = true;
8918
9739
  return this.parseMetaProperty(node, id, "meta");
8919
9740
  }
8920
9741
 
@@ -8939,8 +9760,8 @@ class ExpressionParser extends LValParser {
8939
9760
  const oldAwaitPos = this.state.awaitPos;
8940
9761
  const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody;
8941
9762
  this.state.maybeInArrowParameters = true;
8942
- this.state.yieldPos = 0;
8943
- this.state.awaitPos = 0;
9763
+ this.state.yieldPos = -1;
9764
+ this.state.awaitPos = -1;
8944
9765
  this.state.inFSharpPipelineDirectBody = false;
8945
9766
  const innerStartPos = this.state.start;
8946
9767
  const innerStartLoc = this.state.startLoc;
@@ -8972,7 +9793,7 @@ class ExpressionParser extends LValParser {
8972
9793
  const spreadNodeStartLoc = this.state.startLoc;
8973
9794
  spreadStart = this.state.start;
8974
9795
  exprList.push(this.parseParenItem(this.parseRestBinding(), spreadNodeStartPos, spreadNodeStartLoc));
8975
- this.checkCommaAfterRest();
9796
+ this.checkCommaAfterRest(41);
8976
9797
  break;
8977
9798
  } else {
8978
9799
  exprList.push(this.parseMaybeAssign(false, refShorthandDefaultPos, this.parseParenItem, refNeedsArrowPos));
@@ -9003,8 +9824,8 @@ class ExpressionParser extends LValParser {
9003
9824
  return arrowNode;
9004
9825
  }
9005
9826
 
9006
- this.state.yieldPos = oldYieldPos || this.state.yieldPos;
9007
- this.state.awaitPos = oldAwaitPos || this.state.awaitPos;
9827
+ if (oldYieldPos !== -1) this.state.yieldPos = oldYieldPos;
9828
+ if (oldAwaitPos !== -1) this.state.awaitPos = oldAwaitPos;
9008
9829
 
9009
9830
  if (!exprList.length) {
9010
9831
  this.unexpected(this.state.lastTokStart);
@@ -9056,7 +9877,9 @@ class ExpressionParser extends LValParser {
9056
9877
 
9057
9878
  parseNew() {
9058
9879
  const node = this.startNode();
9059
- const meta = this.parseIdentifier(true);
9880
+ let meta = this.startNode();
9881
+ this.next();
9882
+ meta = this.createIdentifier(meta, "new");
9060
9883
 
9061
9884
  if (this.eat(types.dot)) {
9062
9885
  const metaProp = this.parseMetaProperty(node, meta, "target");
@@ -9148,11 +9971,16 @@ class ExpressionParser extends LValParser {
9148
9971
  first = false;
9149
9972
  } else {
9150
9973
  this.expect(types.comma);
9151
- if (this.eat(types.braceR)) break;
9974
+
9975
+ if (this.match(types.braceR)) {
9976
+ this.addExtra(node, "trailingComma", this.state.lastTokStart);
9977
+ this.next();
9978
+ break;
9979
+ }
9152
9980
  }
9153
9981
 
9154
9982
  const prop = this.parseObjectMember(isPattern, refShorthandDefaultPos);
9155
- if (!isPattern) this.checkPropClash(prop, propHash);
9983
+ if (!isPattern) this.checkDuplicatedProto(prop, propHash);
9156
9984
 
9157
9985
  if (prop.shorthand) {
9158
9986
  this.addExtra(prop, "shorthand", true);
@@ -9161,6 +9989,10 @@ class ExpressionParser extends LValParser {
9161
9989
  node.properties.push(prop);
9162
9990
  }
9163
9991
 
9992
+ if (!this.match(types.eq) && propHash.start !== undefined) {
9993
+ this.raise(propHash.start, "Redefinition of __proto__ property");
9994
+ }
9995
+
9164
9996
  return this.finishNode(node, isPattern ? "ObjectPattern" : "ObjectExpression");
9165
9997
  }
9166
9998
 
@@ -9174,10 +10006,10 @@ class ExpressionParser extends LValParser {
9174
10006
  if (this.match(types.at)) {
9175
10007
  if (this.hasPlugin("decorators")) {
9176
10008
  this.raise(this.state.start, "Stage 2 decorators disallow object literal property decorators");
9177
- } else {
9178
- while (this.match(types.at)) {
9179
- decorators.push(this.parseDecorator());
9180
- }
10009
+ }
10010
+
10011
+ while (this.match(types.at)) {
10012
+ decorators.push(this.parseDecorator());
9181
10013
  }
9182
10014
  }
9183
10015
 
@@ -9193,7 +10025,7 @@ class ExpressionParser extends LValParser {
9193
10025
  if (isPattern) {
9194
10026
  this.next();
9195
10027
  prop.argument = this.parseIdentifier();
9196
- this.checkCommaAfterRest();
10028
+ this.checkCommaAfterRest(125);
9197
10029
  return this.finishNode(prop, "RestElement");
9198
10030
  }
9199
10031
 
@@ -9337,8 +10169,8 @@ class ExpressionParser extends LValParser {
9337
10169
  parseMethod(node, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope = false) {
9338
10170
  const oldYieldPos = this.state.yieldPos;
9339
10171
  const oldAwaitPos = this.state.awaitPos;
9340
- this.state.yieldPos = 0;
9341
- this.state.awaitPos = 0;
10172
+ this.state.yieldPos = -1;
10173
+ this.state.awaitPos = -1;
9342
10174
  this.initFunction(node, isAsync);
9343
10175
  node.generator = !!isGenerator;
9344
10176
  const allowModifiers = isConstructor;
@@ -9352,16 +10184,16 @@ class ExpressionParser extends LValParser {
9352
10184
  return node;
9353
10185
  }
9354
10186
 
9355
- parseArrowExpression(node, params, isAsync) {
10187
+ parseArrowExpression(node, params, isAsync, trailingCommaPos) {
9356
10188
  this.scope.enter(functionFlags(isAsync, false) | SCOPE_ARROW);
9357
10189
  this.initFunction(node, isAsync);
9358
10190
  const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;
9359
10191
  const oldYieldPos = this.state.yieldPos;
9360
10192
  const oldAwaitPos = this.state.awaitPos;
9361
10193
  this.state.maybeInArrowParameters = false;
9362
- this.state.yieldPos = 0;
9363
- this.state.awaitPos = 0;
9364
- if (params) this.setArrowFunctionParameters(node, params);
10194
+ this.state.yieldPos = -1;
10195
+ this.state.awaitPos = -1;
10196
+ if (params) this.setArrowFunctionParameters(node, params, trailingCommaPos);
9365
10197
  this.parseFunctionBody(node, true);
9366
10198
  this.scope.exit();
9367
10199
  this.state.maybeInArrowParameters = oldMaybeInArrowParameters;
@@ -9370,8 +10202,8 @@ class ExpressionParser extends LValParser {
9370
10202
  return this.finishNode(node, "ArrowFunctionExpression");
9371
10203
  }
9372
10204
 
9373
- setArrowFunctionParameters(node, params) {
9374
- node.params = this.toAssignableList(params, true, "arrow function parameters");
10205
+ setArrowFunctionParameters(node, params, trailingCommaPos) {
10206
+ node.params = this.toAssignableList(params, true, "arrow function parameters", trailingCommaPos);
9375
10207
  }
9376
10208
 
9377
10209
  isStrictBody(node) {
@@ -9404,7 +10236,7 @@ class ExpressionParser extends LValParser {
9404
10236
 
9405
10237
  if (isExpression) {
9406
10238
  node.body = this.parseMaybeAssign();
9407
- this.checkParams(node, false, allowExpression);
10239
+ this.checkParams(node, false, allowExpression, false);
9408
10240
  } else {
9409
10241
  const nonSimple = !this.isSimpleParamList(node.params);
9410
10242
 
@@ -9420,7 +10252,7 @@ class ExpressionParser extends LValParser {
9420
10252
  const oldLabels = this.state.labels;
9421
10253
  this.state.labels = [];
9422
10254
  if (useStrict) this.state.strict = true;
9423
- this.checkParams(node, !oldStrict && !useStrict && !allowExpression && !isMethod && !nonSimple, allowExpression);
10255
+ this.checkParams(node, !oldStrict && !useStrict && !allowExpression && !isMethod && !nonSimple, allowExpression, !oldStrict && useStrict);
9424
10256
  node.body = this.parseBlock(true, false);
9425
10257
  this.state.labels = oldLabels;
9426
10258
  }
@@ -9428,7 +10260,7 @@ class ExpressionParser extends LValParser {
9428
10260
  this.state.inParameters = oldInParameters;
9429
10261
 
9430
10262
  if (this.state.strict && node.id) {
9431
- this.checkLVal(node.id, BIND_OUTSIDE, undefined, "function name");
10263
+ this.checkLVal(node.id, BIND_OUTSIDE, undefined, "function name", undefined, !oldStrict && useStrict);
9432
10264
  }
9433
10265
 
9434
10266
  this.state.strict = oldStrict;
@@ -9442,15 +10274,15 @@ class ExpressionParser extends LValParser {
9442
10274
  return true;
9443
10275
  }
9444
10276
 
9445
- checkParams(node, allowDuplicates, isArrowFunction) {
10277
+ checkParams(node, allowDuplicates, isArrowFunction, strictModeChanged = true) {
9446
10278
  const nameHash = Object.create(null);
9447
10279
 
9448
10280
  for (let i = 0; i < node.params.length; i++) {
9449
- this.checkLVal(node.params[i], BIND_VAR, allowDuplicates ? null : nameHash, "function paramter list");
10281
+ this.checkLVal(node.params[i], BIND_VAR, allowDuplicates ? null : nameHash, "function parameter list", undefined, strictModeChanged);
9450
10282
  }
9451
10283
  }
9452
10284
 
9453
- parseExprList(close, allowEmpty, refShorthandDefaultPos) {
10285
+ parseExprList(close, allowEmpty, refShorthandDefaultPos, nodeForExtra) {
9454
10286
  const elts = [];
9455
10287
  let first = true;
9456
10288
 
@@ -9459,7 +10291,15 @@ class ExpressionParser extends LValParser {
9459
10291
  first = false;
9460
10292
  } else {
9461
10293
  this.expect(types.comma);
9462
- if (this.eat(close)) break;
10294
+
10295
+ if (this.match(close)) {
10296
+ if (nodeForExtra) {
10297
+ this.addExtra(nodeForExtra, "trailingComma", this.state.lastTokStart);
10298
+ }
10299
+
10300
+ this.next();
10301
+ break;
10302
+ }
9463
10303
  }
9464
10304
 
9465
10305
  elts.push(this.parseExprListItem(allowEmpty, refShorthandDefaultPos));
@@ -9521,7 +10361,9 @@ class ExpressionParser extends LValParser {
9521
10361
  throw this.unexpected();
9522
10362
  }
9523
10363
 
9524
- if (!liberal) {
10364
+ if (liberal) {
10365
+ this.state.type = types.name;
10366
+ } else {
9525
10367
  this.checkReservedWord(name, this.state.start, !!this.state.type.keyword, false);
9526
10368
  }
9527
10369
 
@@ -9532,18 +10374,28 @@ class ExpressionParser extends LValParser {
9532
10374
  checkReservedWord(word, startLoc, checkKeywords, isBinding) {
9533
10375
  if (this.scope.inGenerator && word === "yield") {
9534
10376
  this.raise(startLoc, "Can not use 'yield' as identifier inside a generator");
10377
+ return;
9535
10378
  }
9536
10379
 
9537
- if (this.scope.inAsync && word === "await") {
9538
- this.raise(startLoc, "Can not use 'await' as identifier inside an async function");
10380
+ if (word === "await") {
10381
+ if (this.scope.inAsync) {
10382
+ this.raise(startLoc, "Can not use 'await' as identifier inside an async function");
10383
+ return;
10384
+ }
10385
+
10386
+ if (this.state.awaitPos === -1 && (this.state.maybeInArrowParameters || this.isAwaitAllowed())) {
10387
+ this.state.awaitPos = this.state.start;
10388
+ }
9539
10389
  }
9540
10390
 
9541
- if (this.state.inClassProperty && word === "arguments") {
10391
+ if (this.scope.inClass && !this.scope.inNonArrowFunction && word === "arguments") {
9542
10392
  this.raise(startLoc, "'arguments' is not allowed in class field initializer");
10393
+ return;
9543
10394
  }
9544
10395
 
9545
10396
  if (checkKeywords && isKeyword(word)) {
9546
10397
  this.raise(startLoc, `Unexpected keyword '${word}'`);
10398
+ return;
9547
10399
  }
9548
10400
 
9549
10401
  const reservedTest = !this.state.strict ? isReservedWord : isBinding ? isStrictBindReservedWord : isStrictReservedWord;
@@ -9551,28 +10403,41 @@ class ExpressionParser extends LValParser {
9551
10403
  if (reservedTest(word, this.inModule)) {
9552
10404
  if (!this.scope.inAsync && word === "await") {
9553
10405
  this.raise(startLoc, "Can not use keyword 'await' outside an async function");
10406
+ } else {
10407
+ this.raise(startLoc, `Unexpected reserved word '${word}'`);
9554
10408
  }
9555
-
9556
- this.raise(startLoc, `Unexpected reserved word '${word}'`);
9557
10409
  }
9558
10410
  }
9559
10411
 
9560
- parseAwait() {
9561
- if (!this.state.awaitPos) {
9562
- this.state.awaitPos = this.state.start;
9563
- }
10412
+ isAwaitAllowed() {
10413
+ if (this.scope.inFunction) return this.scope.inAsync;
10414
+ if (this.options.allowAwaitOutsideFunction) return true;
10415
+ if (this.hasPlugin("topLevelAwait")) return this.inModule;
10416
+ return false;
10417
+ }
9564
10418
 
10419
+ parseAwait() {
9565
10420
  const node = this.startNode();
9566
10421
  this.next();
9567
10422
 
9568
10423
  if (this.state.inParameters) {
9569
10424
  this.raise(node.start, "await is not allowed in async function parameters");
10425
+ } else if (this.state.awaitPos === -1) {
10426
+ this.state.awaitPos = node.start;
9570
10427
  }
9571
10428
 
9572
- if (this.match(types.star)) {
10429
+ if (this.eat(types.star)) {
9573
10430
  this.raise(node.start, "await* has been removed from the async functions proposal. Use Promise.all() instead.");
9574
10431
  }
9575
10432
 
10433
+ if (!this.scope.inFunction && !this.options.allowAwaitOutsideFunction) {
10434
+ if (this.hasPrecedingLineBreak() || this.match(types.plusMin) || this.match(types.parenL) || this.match(types.bracketL) || this.match(types.backQuote) || this.match(types.regexp) || this.match(types.slash) || this.hasPlugin("v8intrinsic") && this.match(types.modulo)) {
10435
+ this.ambiguousScriptDifferentAst = true;
10436
+ } else {
10437
+ this.sawUnambiguousESM = true;
10438
+ }
10439
+ }
10440
+
9576
10441
  if (!this.state.soloAwait) {
9577
10442
  node.argument = this.parseMaybeUnary();
9578
10443
  }
@@ -9581,19 +10446,17 @@ class ExpressionParser extends LValParser {
9581
10446
  }
9582
10447
 
9583
10448
  parseYield(noIn) {
9584
- if (!this.state.yieldPos) {
9585
- this.state.yieldPos = this.state.start;
9586
- }
9587
-
9588
10449
  const node = this.startNode();
9589
10450
 
9590
10451
  if (this.state.inParameters) {
9591
10452
  this.raise(node.start, "yield is not allowed in generator parameters");
10453
+ } else if (this.state.yieldPos === -1) {
10454
+ this.state.yieldPos = node.start;
9592
10455
  }
9593
10456
 
9594
10457
  this.next();
9595
10458
 
9596
- if (this.match(types.semi) || !this.match(types.star) && !this.state.type.startsExpr || this.canInsertSemicolon()) {
10459
+ if (this.match(types.semi) || !this.match(types.star) && !this.state.type.startsExpr || this.hasPrecedingLineBreak()) {
9597
10460
  node.delegate = false;
9598
10461
  node.argument = null;
9599
10462
  } else {
@@ -9607,7 +10470,7 @@ class ExpressionParser extends LValParser {
9607
10470
  checkPipelineAtInfixOperator(left, leftStartPos) {
9608
10471
  if (this.getPluginOption("pipelineOperator", "proposal") === "smart") {
9609
10472
  if (left.type === "SequenceExpression") {
9610
- throw this.raise(leftStartPos, `Pipeline head should not be a comma-separated sequence expression`);
10473
+ this.raise(leftStartPos, `Pipeline head should not be a comma-separated sequence expression`);
9611
10474
  }
9612
10475
  }
9613
10476
  }
@@ -9622,7 +10485,7 @@ class ExpressionParser extends LValParser {
9622
10485
  if (this.match(types.arrow)) {
9623
10486
  throw this.raise(this.state.start, `Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized`);
9624
10487
  } else if (pipelineStyle === "PipelineTopicExpression" && childExpression.type === "SequenceExpression") {
9625
- throw this.raise(startPos, `Pipeline body may not be a comma-separated sequence expression`);
10488
+ this.raise(startPos, `Pipeline body may not be a comma-separated sequence expression`);
9626
10489
  }
9627
10490
  }
9628
10491
 
@@ -9644,14 +10507,14 @@ class ExpressionParser extends LValParser {
9644
10507
 
9645
10508
  case "PipelineTopicExpression":
9646
10509
  if (!this.topicReferenceWasUsedInCurrentTopicContext()) {
9647
- throw this.raise(startPos, `Pipeline is in topic style but does not use topic reference`);
10510
+ this.raise(startPos, `Pipeline is in topic style but does not use topic reference`);
9648
10511
  }
9649
10512
 
9650
10513
  bodyNode.expression = childExpression;
9651
10514
  break;
9652
10515
 
9653
10516
  default:
9654
- throw this.raise(startPos, `Unknown pipeline style ${pipelineStyle}`);
10517
+ throw new Error(`Internal @babel/parser error: Unknown pipeline style (${pipelineStyle})`);
9655
10518
  }
9656
10519
 
9657
10520
  return this.finishNode(bodyNode, pipelineStyle);
@@ -9799,9 +10662,7 @@ class StatementParser extends ExpressionParser {
9799
10662
  return false;
9800
10663
  }
9801
10664
 
9802
- skipWhiteSpace.lastIndex = this.state.pos;
9803
- const skip = skipWhiteSpace.exec(this.input);
9804
- const next = this.state.pos + skip[0].length;
10665
+ const next = this.nextTokenStart();
9805
10666
  const nextCh = this.input.charCodeAt(next);
9806
10667
  if (nextCh === 91) return true;
9807
10668
  if (context) return false;
@@ -9854,7 +10715,7 @@ class StatementParser extends ExpressionParser {
9854
10715
  return this.parseForStatement(node);
9855
10716
 
9856
10717
  case types._function:
9857
- if (this.lookahead().type === types.dot) break;
10718
+ if (this.lookaheadCharCode() === 46) break;
9858
10719
 
9859
10720
  if (context) {
9860
10721
  if (this.state.strict) {
@@ -9890,7 +10751,7 @@ class StatementParser extends ExpressionParser {
9890
10751
  kind = kind || this.state.value;
9891
10752
 
9892
10753
  if (context && kind !== "var") {
9893
- this.unexpected(this.state.start, "Lexical declaration cannot appear in a single-statement context");
10754
+ this.raise(this.state.start, "Lexical declaration cannot appear in a single-statement context");
9894
10755
  }
9895
10756
 
9896
10757
  return this.parseVarStatement(node, kind);
@@ -9910,9 +10771,9 @@ class StatementParser extends ExpressionParser {
9910
10771
  case types._export:
9911
10772
  case types._import:
9912
10773
  {
9913
- const nextToken = this.lookahead();
10774
+ const nextTokenCharCode = this.lookaheadCharCode();
9914
10775
 
9915
- if (nextToken.type === types.parenL || nextToken.type === types.dot) {
10776
+ if (nextTokenCharCode === 40 || nextTokenCharCode === 46) {
9916
10777
  break;
9917
10778
  }
9918
10779
 
@@ -9945,7 +10806,7 @@ class StatementParser extends ExpressionParser {
9945
10806
  {
9946
10807
  if (this.isAsyncFunction()) {
9947
10808
  if (context) {
9948
- this.unexpected(null, "Async functions can only be declared at the top level or inside a block");
10809
+ this.raise(this.state.start, "Async functions can only be declared at the top level or inside a block");
9949
10810
  }
9950
10811
 
9951
10812
  this.next();
@@ -10003,7 +10864,7 @@ class StatementParser extends ExpressionParser {
10003
10864
  this.raise(this.state.start, "Using the export keyword between a decorator and a class is not allowed. " + "Please use `export @dec class` instead.");
10004
10865
  }
10005
10866
  } else if (!this.canHaveLeadingDecorator()) {
10006
- this.raise(this.state.start, "Leading decorators must be attached to a class declaration");
10867
+ throw this.raise(this.state.start, "Leading decorators must be attached to a class declaration");
10007
10868
  }
10008
10869
  }
10009
10870
 
@@ -10116,7 +10977,7 @@ class StatementParser extends ExpressionParser {
10116
10977
  this.state.labels.push(loopLabel);
10117
10978
  let awaitAt = -1;
10118
10979
 
10119
- if ((this.scope.inAsync || !this.scope.inFunction && this.options.allowAwaitOutsideFunction) && this.eatContextual("await")) {
10980
+ if (this.isAwaitAllowed() && this.eatContextual("await")) {
10120
10981
  awaitAt = this.state.lastTokStart;
10121
10982
  }
10122
10983
 
@@ -10499,7 +11360,7 @@ class StatementParser extends ExpressionParser {
10499
11360
 
10500
11361
  parseVarId(decl, kind) {
10501
11362
  decl.id = this.parseBindingAtom();
10502
- this.checkLVal(decl.id, kind === "var" ? BIND_VAR : BIND_LEXICAL, undefined, "variable declaration");
11363
+ this.checkLVal(decl.id, kind === "var" ? BIND_VAR : BIND_LEXICAL, undefined, "variable declaration", kind !== "var");
10503
11364
  }
10504
11365
 
10505
11366
  parseFunction(node, statement = FUNC_NO_FLAGS, isAsync = false) {
@@ -10509,7 +11370,7 @@ class StatementParser extends ExpressionParser {
10509
11370
  this.initFunction(node, isAsync);
10510
11371
 
10511
11372
  if (this.match(types.star) && isHangingStatement) {
10512
- this.unexpected(this.state.start, "Generators can only be declared at the top level or inside a block");
11373
+ this.raise(this.state.start, "Generators can only be declared at the top level or inside a block");
10513
11374
  }
10514
11375
 
10515
11376
  node.generator = this.eat(types.star);
@@ -10518,12 +11379,14 @@ class StatementParser extends ExpressionParser {
10518
11379
  node.id = this.parseFunctionId(requireId);
10519
11380
  }
10520
11381
 
11382
+ const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;
10521
11383
  const oldInClassProperty = this.state.inClassProperty;
10522
11384
  const oldYieldPos = this.state.yieldPos;
10523
11385
  const oldAwaitPos = this.state.awaitPos;
11386
+ this.state.maybeInArrowParameters = false;
10524
11387
  this.state.inClassProperty = false;
10525
- this.state.yieldPos = 0;
10526
- this.state.awaitPos = 0;
11388
+ this.state.yieldPos = -1;
11389
+ this.state.awaitPos = -1;
10527
11390
  this.scope.enter(functionFlags(node.async, node.generator));
10528
11391
 
10529
11392
  if (!isStatement) {
@@ -10537,9 +11400,10 @@ class StatementParser extends ExpressionParser {
10537
11400
  this.scope.exit();
10538
11401
 
10539
11402
  if (isStatement && !isHangingStatement) {
10540
- this.checkFunctionStatementId(node);
11403
+ this.registerFunctionStatementId(node);
10541
11404
  }
10542
11405
 
11406
+ this.state.maybeInArrowParameters = oldMaybeInArrowParameters;
10543
11407
  this.state.inClassProperty = oldInClassProperty;
10544
11408
  this.state.yieldPos = oldYieldPos;
10545
11409
  this.state.awaitPos = oldAwaitPos;
@@ -10554,14 +11418,14 @@ class StatementParser extends ExpressionParser {
10554
11418
  const oldInParameters = this.state.inParameters;
10555
11419
  this.state.inParameters = true;
10556
11420
  this.expect(types.parenL);
10557
- node.params = this.parseBindingList(types.parenR, false, allowModifiers);
11421
+ node.params = this.parseBindingList(types.parenR, 41, false, allowModifiers);
10558
11422
  this.state.inParameters = oldInParameters;
10559
11423
  this.checkYieldAwaitInDefaultParams();
10560
11424
  }
10561
11425
 
10562
- checkFunctionStatementId(node) {
11426
+ registerFunctionStatementId(node) {
10563
11427
  if (!node.id) return;
10564
- this.checkLVal(node.id, this.state.strict || node.generator || node.async ? this.scope.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION, null, "function name");
11428
+ this.scope.declareName(node.id.name, this.state.strict || node.generator || node.async ? this.scope.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION, node.id.start);
10565
11429
  }
10566
11430
 
10567
11431
  parseClass(node, isStatement, optionalId) {
@@ -10601,7 +11465,7 @@ class StatementParser extends ExpressionParser {
10601
11465
  while (!this.eat(types.braceR)) {
10602
11466
  if (this.eat(types.semi)) {
10603
11467
  if (decorators.length > 0) {
10604
- this.raise(this.state.lastTokEnd, "Decorators must not be followed by a semicolon");
11468
+ throw this.raise(this.state.lastTokEnd, "Decorators must not be followed by a semicolon");
10605
11469
  }
10606
11470
 
10607
11471
  continue;
@@ -10629,7 +11493,7 @@ class StatementParser extends ExpressionParser {
10629
11493
  });
10630
11494
 
10631
11495
  if (decorators.length) {
10632
- this.raise(this.state.start, "You have trailing decorators with no method");
11496
+ throw this.raise(this.state.start, "You have trailing decorators with no method");
10633
11497
  }
10634
11498
 
10635
11499
  this.state.classLevel--;
@@ -10698,6 +11562,7 @@ class StatementParser extends ExpressionParser {
10698
11562
  const key = this.parseClassPropertyName(member);
10699
11563
  const isPrivate = key.type === "PrivateName";
10700
11564
  const isSimple = key.type === "Identifier";
11565
+ const maybeQuestionTokenStart = this.state.start;
10701
11566
  this.parsePostMemberNameModifiers(publicMember);
10702
11567
 
10703
11568
  if (this.isClassMethod()) {
@@ -10714,10 +11579,6 @@ class StatementParser extends ExpressionParser {
10714
11579
  if (isConstructor) {
10715
11580
  publicMethod.kind = "constructor";
10716
11581
 
10717
- if (publicMethod.decorators) {
10718
- this.raise(publicMethod.start, "You can't attach decorators to a class constructor");
10719
- }
10720
-
10721
11582
  if (state.hadConstructor && !this.hasPlugin("typescript")) {
10722
11583
  this.raise(key.start, "Duplicate constructor in the same class");
10723
11584
  }
@@ -10735,8 +11596,14 @@ class StatementParser extends ExpressionParser {
10735
11596
  }
10736
11597
  } else if (isSimple && key.name === "async" && !containsEsc && !this.isLineTerminator()) {
10737
11598
  const isGenerator = this.eat(types.star);
11599
+
11600
+ if (publicMember.optional) {
11601
+ this.unexpected(maybeQuestionTokenStart);
11602
+ }
11603
+
10738
11604
  method.kind = "method";
10739
11605
  this.parseClassPropertyName(method);
11606
+ this.parsePostMemberNameModifiers(publicMember);
10740
11607
 
10741
11608
  if (method.key.type === "PrivateName") {
10742
11609
  this.pushClassPrivateMethod(classBody, privateMethod, isGenerator, true);
@@ -10788,8 +11655,8 @@ class StatementParser extends ExpressionParser {
10788
11655
  }
10789
11656
 
10790
11657
  pushClassProperty(classBody, prop) {
10791
- if (this.isNonstaticConstructor(prop)) {
10792
- this.raise(prop.key.start, "Classes may not have a non-static field named 'constructor'");
11658
+ if (!prop.computed && (prop.key.name === "constructor" || prop.key.value === "constructor")) {
11659
+ this.raise(prop.key.start, "Classes may not have a field named 'constructor'");
10793
11660
  }
10794
11661
 
10795
11662
  classBody.body.push(this.parseClassProperty(prop));
@@ -10847,12 +11714,12 @@ class StatementParser extends ExpressionParser {
10847
11714
  return this.finishNode(node, "ClassProperty");
10848
11715
  }
10849
11716
 
10850
- parseClassId(node, isStatement, optionalId) {
11717
+ parseClassId(node, isStatement, optionalId, bindingType = BIND_CLASS) {
10851
11718
  if (this.match(types.name)) {
10852
11719
  node.id = this.parseIdentifier();
10853
11720
 
10854
11721
  if (isStatement) {
10855
- this.checkLVal(node.id, BIND_CLASS, undefined, "class name");
11722
+ this.checkLVal(node.id, bindingType, undefined, "class name");
10856
11723
  }
10857
11724
  } else {
10858
11725
  if (optionalId || !isStatement) {
@@ -10929,7 +11796,6 @@ class StatementParser extends ExpressionParser {
10929
11796
  maybeParseExportNamespaceSpecifier(node) {
10930
11797
  if (this.isContextual("as")) {
10931
11798
  if (!node.specifiers) node.specifiers = [];
10932
- this.expectPlugin("exportNamespaceFrom");
10933
11799
  const specifier = this.startNodeAt(this.state.lastTokStart, this.state.lastTokStartLoc);
10934
11800
  this.next();
10935
11801
  specifier.exported = this.parseIdentifier(true);
@@ -10955,10 +11821,10 @@ class StatementParser extends ExpressionParser {
10955
11821
  maybeParseExportDeclaration(node) {
10956
11822
  if (this.shouldParseExportDeclaration()) {
10957
11823
  if (this.isContextual("async")) {
10958
- const next = this.lookahead();
11824
+ const next = this.nextTokenStart();
10959
11825
 
10960
- if (next.type !== types._function) {
10961
- this.unexpected(next.start, `Unexpected token, expected "function"`);
11826
+ if (!this.isUnparsedContextual(next, "function")) {
11827
+ this.unexpected(next, `Unexpected token, expected "function"`);
10962
11828
  }
10963
11829
  }
10964
11830
 
@@ -10973,14 +11839,8 @@ class StatementParser extends ExpressionParser {
10973
11839
 
10974
11840
  isAsyncFunction() {
10975
11841
  if (!this.isContextual("async")) return false;
10976
- const {
10977
- pos
10978
- } = this.state;
10979
- skipWhiteSpace.lastIndex = pos;
10980
- const skip = skipWhiteSpace.exec(this.input);
10981
- if (!skip || !skip.length) return false;
10982
- const next = pos + skip[0].length;
10983
- return !lineBreak.test(this.input.slice(pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.length || !isIdentifierChar(this.input.charCodeAt(next + 8)));
11842
+ const next = this.nextTokenStart();
11843
+ return !lineBreak.test(this.input.slice(this.state.pos, next)) && this.isUnparsedContextual(next, "function");
10984
11844
  }
10985
11845
 
10986
11846
  parseExportDefaultExpression() {
@@ -10999,13 +11859,13 @@ class StatementParser extends ExpressionParser {
10999
11859
  return this.parseClass(expr, true, true);
11000
11860
  } else if (this.match(types.at)) {
11001
11861
  if (this.hasPlugin("decorators") && this.getPluginOption("decorators", "decoratorsBeforeExport")) {
11002
- this.unexpected(this.state.start, "Decorators must be placed *before* the 'export' keyword." + " You can set the 'decoratorsBeforeExport' option to false to use" + " the 'export @decorator class {}' syntax");
11862
+ this.raise(this.state.start, "Decorators must be placed *before* the 'export' keyword." + " You can set the 'decoratorsBeforeExport' option to false to use" + " the 'export @decorator class {}' syntax");
11003
11863
  }
11004
11864
 
11005
11865
  this.parseDecorators(false);
11006
11866
  return this.parseClass(expr, true, true);
11007
11867
  } else if (this.match(types._const) || this.match(types._var) || this.isLet()) {
11008
- return this.raise(this.state.start, "Only expressions, functions or classes are allowed as the `default` export.");
11868
+ throw this.raise(this.state.start, "Only expressions, functions or classes are allowed as the `default` export.");
11009
11869
  } else {
11010
11870
  const res = this.parseMaybeAssign();
11011
11871
  this.semicolon();
@@ -11026,8 +11886,8 @@ class StatementParser extends ExpressionParser {
11026
11886
  return false;
11027
11887
  }
11028
11888
 
11029
- const lookahead = this.lookahead();
11030
- return lookahead.type === types.comma || lookahead.type === types.name && lookahead.value === "from";
11889
+ const next = this.nextTokenStart();
11890
+ return this.input.charCodeAt(next) === 44 || this.isUnparsedContextual(next, "from");
11031
11891
  }
11032
11892
 
11033
11893
  parseExportFrom(node, expect) {
@@ -11129,7 +11989,7 @@ class StatementParser extends ExpressionParser {
11129
11989
 
11130
11990
  checkDuplicateExports(node, name) {
11131
11991
  if (this.state.exportedIdentifiers.indexOf(name) > -1) {
11132
- throw this.raise(node.start, name === "default" ? "Only one default export allowed per module." : `\`${name}\` has already been exported. Exported identifiers must be unique.`);
11992
+ this.raise(node.start, name === "default" ? "Only one default export allowed per module." : `\`${name}\` has already been exported. Exported identifiers must be unique.`);
11133
11993
  }
11134
11994
 
11135
11995
  this.state.exportedIdentifiers.push(name);
@@ -11218,7 +12078,7 @@ class StatementParser extends ExpressionParser {
11218
12078
  first = false;
11219
12079
  } else {
11220
12080
  if (this.eat(types.colon)) {
11221
- this.unexpected(null, "ES2015 named imports do not destructure. " + "Use another statement for destructuring after the import.");
12081
+ throw this.raise(this.state.start, "ES2015 named imports do not destructure. " + "Use another statement for destructuring after the import.");
11222
12082
  }
11223
12083
 
11224
12084
  this.expect(types.comma);
@@ -11267,7 +12127,10 @@ class Parser extends StatementParser {
11267
12127
  const file = this.startNode();
11268
12128
  const program = this.startNode();
11269
12129
  this.nextToken();
11270
- return this.parseTopLevel(file, program);
12130
+ file.errors = null;
12131
+ this.parseTopLevel(file, program);
12132
+ file.errors = this.state.errors;
12133
+ return file;
11271
12134
  }
11272
12135
 
11273
12136
  }
@@ -11292,13 +12155,26 @@ function parse(input, options) {
11292
12155
  options.sourceType = "module";
11293
12156
  const parser = getParser(options, input);
11294
12157
  const ast = parser.parse();
11295
- if (!parser.sawUnambiguousESM) ast.program.sourceType = "script";
12158
+
12159
+ if (parser.sawUnambiguousESM) {
12160
+ return ast;
12161
+ }
12162
+
12163
+ if (parser.ambiguousScriptDifferentAst) {
12164
+ try {
12165
+ options.sourceType = "script";
12166
+ return getParser(options, input).parse();
12167
+ } catch (_unused) {}
12168
+ } else {
12169
+ ast.program.sourceType = "script";
12170
+ }
12171
+
11296
12172
  return ast;
11297
12173
  } catch (moduleError) {
11298
12174
  try {
11299
12175
  options.sourceType = "script";
11300
12176
  return getParser(options, input).parse();
11301
- } catch (scriptError) {}
12177
+ } catch (_unused2) {}
11302
12178
 
11303
12179
  throw moduleError;
11304
12180
  }
@@ -11351,3 +12227,4 @@ function getParserClass(pluginsFromOptions) {
11351
12227
  exports.parse = parse;
11352
12228
  exports.parseExpression = parseExpression;
11353
12229
  exports.tokTypes = types;
12230
+ //# sourceMappingURL=index.js.map