condenser 0.2 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1507) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -21
  3. data/lib/condenser.rb +9 -3
  4. data/lib/condenser/build_cache.rb +3 -1
  5. data/lib/condenser/environment.rb +6 -0
  6. data/lib/condenser/minifiers/uglify_minifier.rb +0 -2
  7. data/lib/condenser/processors/babel_processor.rb +12 -8
  8. data/lib/condenser/processors/node_modules/@babel/code-frame/lib/index.js +7 -13
  9. data/lib/condenser/processors/node_modules/@babel/code-frame/package.json +12 -12
  10. data/lib/condenser/processors/node_modules/@babel/{helper-call-delegate → compat-data}/LICENSE +0 -0
  11. data/lib/condenser/processors/node_modules/@babel/compat-data/corejs2-built-ins.js +4 -0
  12. data/lib/condenser/processors/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +4 -0
  13. data/lib/condenser/processors/node_modules/@babel/{preset-env → compat-data}/data/corejs2-built-ins.json +93 -63
  14. data/lib/condenser/processors/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +5 -0
  15. data/lib/condenser/processors/node_modules/@babel/{preset-env/data/built-in-modules.json → compat-data/data/native-modules.json} +5 -2
  16. data/lib/condenser/processors/node_modules/@babel/compat-data/data/overlapping-plugins.json +18 -0
  17. data/lib/condenser/processors/node_modules/@babel/compat-data/data/plugin-bugfixes.json +125 -0
  18. data/lib/condenser/processors/node_modules/@babel/{preset-env → compat-data}/data/plugins.json +137 -103
  19. data/lib/condenser/processors/node_modules/@babel/compat-data/native-modules.js +4 -0
  20. data/lib/condenser/processors/node_modules/@babel/compat-data/overlapping-plugins.js +4 -0
  21. data/lib/condenser/processors/node_modules/@babel/compat-data/package.json +72 -0
  22. data/lib/condenser/processors/node_modules/@babel/compat-data/plugin-bugfixes.js +4 -0
  23. data/lib/condenser/processors/node_modules/@babel/compat-data/plugins.js +4 -0
  24. data/lib/condenser/processors/node_modules/@babel/core/lib/config/caching.js +190 -64
  25. data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-chain.js +26 -26
  26. data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-descriptors.js +4 -4
  27. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/configuration.js +41 -41
  28. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/import.js +10 -0
  29. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/index-browser.js +5 -5
  30. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/module-types.js +96 -0
  31. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/package.js +2 -2
  32. data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/utils.js +16 -8
  33. data/lib/condenser/processors/node_modules/@babel/core/lib/config/full.js +69 -33
  34. data/lib/condenser/processors/node_modules/@babel/core/lib/config/index.js +36 -10
  35. data/lib/condenser/processors/node_modules/@babel/core/lib/config/partial.js +21 -10
  36. data/lib/condenser/processors/node_modules/@babel/core/lib/config/util.js +5 -0
  37. data/lib/condenser/processors/node_modules/@babel/core/lib/config/validation/options.js +11 -3
  38. data/lib/condenser/processors/node_modules/@babel/core/lib/config/validation/plugins.js +5 -1
  39. data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/async.js +89 -0
  40. data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/fs.js +48 -0
  41. data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/resolve.js +35 -0
  42. data/lib/condenser/processors/node_modules/@babel/core/lib/index.js +24 -0
  43. data/lib/condenser/processors/node_modules/@babel/core/lib/parse.js +27 -42
  44. data/lib/condenser/processors/node_modules/@babel/core/lib/parser/index.js +97 -0
  45. data/lib/condenser/processors/node_modules/@babel/core/lib/{transformation → parser}/util/missing-plugin-helper.js +16 -10
  46. data/lib/condenser/processors/node_modules/@babel/core/lib/tools/build-external-helpers.js +4 -1
  47. data/lib/condenser/processors/node_modules/@babel/core/lib/transform-ast.js +27 -33
  48. data/lib/condenser/processors/node_modules/@babel/core/lib/transform-file.js +20 -57
  49. data/lib/condenser/processors/node_modules/@babel/core/lib/transform.js +23 -31
  50. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +2 -1
  51. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/file/file.js +12 -31
  52. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/index.js +7 -18
  53. data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/normalize-file.js +3 -88
  54. data/lib/condenser/processors/node_modules/@babel/core/package.json +17 -15
  55. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/flow.js +5 -0
  56. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/modules.js +2 -2
  57. data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/types.js +68 -1
  58. data/lib/condenser/processors/node_modules/@babel/generator/lib/index.js +2 -1
  59. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/index.js +1 -6
  60. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/parentheses.js +50 -23
  61. data/lib/condenser/processors/node_modules/@babel/generator/lib/node/whitespace.js +11 -2
  62. data/lib/condenser/processors/node_modules/@babel/generator/lib/printer.js +31 -12
  63. data/lib/condenser/processors/node_modules/@babel/generator/package.json +14 -14
  64. data/lib/condenser/processors/node_modules/@babel/helper-annotate-as-pure/package.json +13 -12
  65. data/lib/condenser/processors/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json +13 -13
  66. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/LICENSE +22 -0
  67. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/debug.js +35 -0
  68. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +90 -0
  69. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/index.js +237 -0
  70. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/options.js +23 -0
  71. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/pretty.js +49 -0
  72. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/targets.js +27 -0
  73. data/lib/condenser/processors/node_modules/@babel/{parser → helper-compilation-targets}/lib/types.js +0 -0
  74. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/utils.js +65 -0
  75. data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/package.json +66 -0
  76. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +1 -1
  77. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js +23 -14
  78. data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/package.json +19 -19
  79. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js +6 -1
  80. data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/package.json +16 -15
  81. data/lib/condenser/processors/node_modules/@babel/helper-define-map/package.json +13 -13
  82. data/lib/condenser/processors/node_modules/@babel/helper-explode-assignable-expression/package.json +13 -13
  83. data/lib/condenser/processors/node_modules/@babel/helper-function-name/lib/index.js +3 -1
  84. data/lib/condenser/processors/node_modules/@babel/helper-function-name/package.json +14 -14
  85. data/lib/condenser/processors/node_modules/@babel/helper-get-function-arity/package.json +12 -12
  86. data/lib/condenser/processors/node_modules/@babel/helper-hoist-variables/package.json +12 -13
  87. data/lib/condenser/processors/node_modules/@babel/helper-member-expression-to-functions/package.json +13 -13
  88. data/lib/condenser/processors/node_modules/@babel/helper-module-imports/package.json +14 -14
  89. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +42 -0
  90. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/index.js +16 -2
  91. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +46 -2
  92. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +4 -2
  93. data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/package.json +20 -17
  94. data/lib/condenser/processors/node_modules/@babel/helper-optimise-call-expression/package.json +13 -13
  95. data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/LICENSE +1 -1
  96. data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/lib/index.js +1 -1
  97. data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/package.json +22 -11
  98. data/lib/condenser/processors/node_modules/@babel/helper-regex/lib/index.js +2 -10
  99. data/lib/condenser/processors/node_modules/@babel/helper-regex/package.json +11 -11
  100. data/lib/condenser/processors/node_modules/@babel/helper-remap-async-to-generator/package.json +16 -16
  101. data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/lib/index.js +1 -0
  102. data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/package.json +17 -16
  103. data/lib/condenser/processors/node_modules/@babel/helper-simple-access/package.json +13 -13
  104. data/lib/condenser/processors/node_modules/@babel/helper-split-export-declaration/package.json +13 -13
  105. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  106. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  107. data/lib/condenser/processors/node_modules/@babel/{parser/lib/util → helper-validator-identifier/lib}/identifier.js +26 -48
  108. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  109. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/lib/keyword.js +38 -0
  110. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/package.json +47 -0
  111. data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +75 -0
  112. data/lib/condenser/processors/node_modules/@babel/helper-wrap-function/package.json +15 -15
  113. data/lib/condenser/processors/node_modules/@babel/helpers/lib/helpers.js +166 -26
  114. data/lib/condenser/processors/node_modules/@babel/helpers/lib/index.js +28 -9
  115. data/lib/condenser/processors/node_modules/@babel/helpers/package.json +15 -15
  116. data/lib/condenser/processors/node_modules/@babel/highlight/lib/index.js +12 -34
  117. data/lib/condenser/processors/node_modules/@babel/highlight/package.json +12 -12
  118. data/lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js +5 -6
  119. data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js +6137 -5631
  120. data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js.map +1 -1
  121. data/lib/condenser/processors/node_modules/@babel/parser/package.json +15 -15
  122. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/package.json +16 -16
  123. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-class-properties/package.json +10 -10
  124. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-dynamic-import/package.json +15 -15
  125. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-json-strings/package.json +15 -15
  126. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/LICENSE +22 -0
  127. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/README.md +19 -0
  128. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js +51 -0
  129. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/package.json +55 -0
  130. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/LICENSE +22 -0
  131. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/README.md +19 -0
  132. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js +36 -0
  133. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/package.json +55 -0
  134. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js +67 -8
  135. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/package.json +16 -15
  136. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-catch-binding/package.json +15 -15
  137. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/LICENSE +22 -0
  138. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/README.md +19 -0
  139. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js +120 -0
  140. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/package.json +56 -0
  141. data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/package.json +17 -16
  142. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-async-generators/package.json +12 -13
  143. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-dynamic-import/package.json +12 -13
  144. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-json-strings/package.json +12 -13
  145. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/LICENSE +22 -0
  146. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/README.md +19 -0
  147. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js +22 -0
  148. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json +53 -0
  149. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/LICENSE +22 -0
  150. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/README.md +19 -0
  151. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/lib/index.js +22 -0
  152. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/package.json +54 -0
  153. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-object-rest-spread/package.json +12 -13
  154. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json +12 -13
  155. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/LICENSE +22 -0
  156. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/README.md +19 -0
  157. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js +22 -0
  158. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/package.json +53 -0
  159. data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/package.json +13 -13
  160. data/lib/condenser/processors/node_modules/@babel/plugin-transform-arrow-functions/package.json +15 -15
  161. data/lib/condenser/processors/node_modules/@babel/plugin-transform-async-to-generator/package.json +16 -16
  162. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoped-functions/package.json +14 -14
  163. data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoping/package.json +14 -14
  164. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/inline-createSuper-helpers.js +72 -0
  165. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/transformClass.js +22 -5
  166. data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/package.json +20 -20
  167. data/lib/condenser/processors/node_modules/@babel/plugin-transform-computed-properties/package.json +14 -14
  168. data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/lib/index.js +2 -1
  169. data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/package.json +14 -14
  170. data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/package.json +17 -16
  171. data/lib/condenser/processors/node_modules/@babel/plugin-transform-duplicate-keys/package.json +14 -14
  172. data/lib/condenser/processors/node_modules/@babel/plugin-transform-exponentiation-operator/package.json +15 -15
  173. data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/lib/index.js +79 -167
  174. data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/lib/no-helper-implementation.js +174 -0
  175. data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/package.json +14 -14
  176. data/lib/condenser/processors/node_modules/@babel/plugin-transform-function-name/package.json +15 -15
  177. data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/package.json +14 -14
  178. data/lib/condenser/processors/node_modules/@babel/plugin-transform-member-expression-literals/package.json +14 -14
  179. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/lib/index.js +1 -1
  180. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/package.json +15 -15
  181. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js +1 -1
  182. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/package.json +17 -17
  183. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js +9 -2
  184. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/package.json +17 -16
  185. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/lib/index.js +1 -1
  186. data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/package.json +15 -15
  187. data/lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/package.json +14 -14
  188. data/lib/condenser/processors/node_modules/@babel/plugin-transform-new-target/package.json +16 -16
  189. data/lib/condenser/processors/node_modules/@babel/plugin-transform-object-super/package.json +15 -15
  190. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/index.js +6 -0
  191. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/params.js +93 -39
  192. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/rest.js +16 -3
  193. data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/package.json +16 -16
  194. data/lib/condenser/processors/node_modules/@babel/plugin-transform-property-literals/package.json +14 -14
  195. data/lib/condenser/processors/node_modules/@babel/plugin-transform-regenerator/package.json +14 -14
  196. data/lib/condenser/processors/node_modules/@babel/plugin-transform-reserved-words/package.json +14 -14
  197. data/lib/condenser/processors/node_modules/@babel/plugin-transform-runtime/package.json +16 -16
  198. data/lib/condenser/processors/node_modules/@babel/plugin-transform-shorthand-properties/package.json +14 -14
  199. data/lib/condenser/processors/node_modules/@babel/plugin-transform-spread/package.json +14 -14
  200. data/lib/condenser/processors/node_modules/@babel/plugin-transform-sticky-regex/package.json +15 -15
  201. data/lib/condenser/processors/node_modules/@babel/plugin-transform-template-literals/package.json +15 -15
  202. data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/lib/index.js +9 -1
  203. data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/package.json +18 -14
  204. data/lib/condenser/processors/node_modules/@babel/plugin-transform-unicode-regex/package.json +15 -15
  205. data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-in-modules.js +3 -0
  206. data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-in-modules.json.js +3 -0
  207. data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-ins.js +4 -0
  208. data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-ins.js +3 -0
  209. data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-ins.json.js +3 -0
  210. data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugins.js +3 -0
  211. data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugins.json.js +3 -0
  212. data/lib/condenser/processors/node_modules/@babel/preset-env/data/shipped-proposals.js +22 -9
  213. data/lib/condenser/processors/node_modules/@babel/preset-env/data/unreleased-labels.js +3 -3
  214. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/available-plugins.js +47 -11
  215. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/debug.js +2 -23
  216. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/filter-items.js +3 -68
  217. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/index.js +37 -16
  218. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/normalize-options.js +11 -12
  219. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/options.js +3 -19
  220. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/plugins-compat-data.js +31 -0
  221. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs2/entry-plugin.js +4 -4
  222. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs2/usage-plugin.js +4 -4
  223. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/built-in-definitions.js +4 -4
  224. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js +2 -2
  225. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js +4 -4
  226. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/targets-parser.js +18 -206
  227. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/utils.js +0 -101
  228. data/lib/condenser/processors/node_modules/@babel/preset-env/package.json +69 -65
  229. data/lib/condenser/processors/node_modules/@babel/preset-modules/README.md +168 -0
  230. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/index.js +27 -0
  231. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js +45 -0
  232. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js +36 -0
  233. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js +42 -0
  234. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-jsx-spread/index.js +115 -0
  235. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js +47 -0
  236. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js +42 -0
  237. data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js +75 -0
  238. data/lib/condenser/processors/node_modules/@babel/preset-modules/package.json +128 -0
  239. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/index.js +30 -0
  240. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-async-arrows-in-class/index.js +35 -0
  241. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-edge-default-parameters/index.js +29 -0
  242. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js +31 -0
  243. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-jsx-spread/index.js +111 -0
  244. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-safari-block-shadowing/index.js +39 -0
  245. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-safari-for-shadowing/index.js +38 -0
  246. data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js +88 -0
  247. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/arrayLikeToArray.js +11 -0
  248. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/arrayWithoutHoles.js +3 -7
  249. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/construct.js +1 -12
  250. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createForOfIteratorHelper.js +66 -0
  251. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createForOfIteratorHelperLoose.js +35 -0
  252. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createSuper.js +25 -0
  253. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js +9 -0
  254. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js +2 -7
  255. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/construct.js +1 -14
  256. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createForOfIteratorHelper.js +59 -0
  257. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createForOfIteratorHelperLoose.js +27 -0
  258. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createSuper.js +19 -0
  259. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/isNativeReflectConstruct.js +13 -0
  260. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js +2 -1
  261. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js +2 -4
  262. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimitLoose.js +2 -4
  263. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js +1 -1
  264. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js +1 -1
  265. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js +2 -2
  266. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js +2 -1
  267. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArrayLoose.js +2 -1
  268. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/toArray.js +2 -1
  269. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js +2 -1
  270. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js +2 -0
  271. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js +15 -0
  272. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/isNativeReflectConstruct.js +16 -0
  273. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArray.js +3 -1
  274. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimit.js +3 -4
  275. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimitLoose.js +3 -4
  276. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/maybeArrayLike.js +14 -0
  277. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/nonIterableRest.js +1 -1
  278. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/nonIterableSpread.js +1 -1
  279. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectSpread.js +2 -2
  280. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js +3 -1
  281. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/slicedToArrayLoose.js +3 -1
  282. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/toArray.js +3 -1
  283. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/toConsumableArray.js +3 -1
  284. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/typeof.js +2 -0
  285. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/unsupportedIterableToArray.js +20 -0
  286. data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/package.json +7 -7
  287. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +11 -0
  288. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +3 -7
  289. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/construct.js +1 -12
  290. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +58 -0
  291. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +23 -0
  292. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createSuper.js +23 -0
  293. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
  294. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +2 -7
  295. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/construct.js +1 -14
  296. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +55 -0
  297. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +20 -0
  298. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
  299. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +12 -0
  300. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +1 -1
  301. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -4
  302. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +1 -4
  303. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  304. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +1 -1
  305. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/objectSpread.js +2 -2
  306. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +2 -1
  307. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +2 -1
  308. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/toArray.js +2 -1
  309. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2 -1
  310. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
  311. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  312. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +14 -0
  313. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArray.js +1 -1
  314. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +1 -4
  315. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +1 -4
  316. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/maybeArrayLike.js +12 -0
  317. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/nonIterableRest.js +1 -1
  318. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/nonIterableSpread.js +1 -1
  319. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/objectSpread.js +2 -2
  320. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/slicedToArray.js +3 -1
  321. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +3 -1
  322. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/toArray.js +3 -1
  323. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/toConsumableArray.js +3 -1
  324. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/typeof.js +2 -0
  325. data/lib/condenser/processors/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +12 -0
  326. data/lib/condenser/processors/node_modules/@babel/runtime/package.json +16 -15
  327. data/lib/condenser/processors/node_modules/@babel/template/lib/options.js +1 -1
  328. data/lib/condenser/processors/node_modules/@babel/template/package.json +14 -14
  329. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/comments.js +2 -2
  330. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
  331. data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/removal.js +3 -1
  332. data/lib/condenser/processors/node_modules/@babel/traverse/lib/scope/index.js +190 -87
  333. data/lib/condenser/processors/node_modules/@babel/traverse/lib/visitors.js +4 -0
  334. data/lib/condenser/processors/node_modules/@babel/traverse/package.json +18 -19
  335. data/lib/condenser/processors/node_modules/@babel/types/lib/asserts/generated/index.js +20 -5
  336. data/lib/condenser/processors/node_modules/@babel/types/lib/builders/generated/index.js +20 -5
  337. data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +14 -0
  338. data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneNode.js +36 -13
  339. data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +2 -4
  340. data/lib/condenser/processors/node_modules/@babel/types/lib/constants/index.js +3 -1
  341. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/core.js +171 -40
  342. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/es2015.js +124 -64
  343. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/experimental.js +29 -3
  344. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/flow.js +4 -1
  345. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/index.js +6 -0
  346. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/jsx.js +1 -2
  347. data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/utils.js +87 -21
  348. data/lib/condenser/processors/node_modules/@babel/types/lib/index.d.ts +143 -119
  349. data/lib/condenser/processors/node_modules/@babel/types/lib/index.js +9 -0
  350. data/lib/condenser/processors/node_modules/@babel/types/lib/index.js.flow +137 -116
  351. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/generated/index.js +62 -14
  352. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isReferenced.js +7 -3
  353. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isScope.js +4 -0
  354. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isValidIdentifier.js +11 -9
  355. data/lib/condenser/processors/node_modules/@babel/types/lib/validators/validate.js +9 -0
  356. data/lib/condenser/processors/node_modules/@babel/types/package.json +15 -15
  357. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/docs.js +5 -1
  358. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/flow.js +6 -3
  359. data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/typescript.js +17 -13
  360. data/lib/condenser/processors/node_modules/@types/estree/README.md +16 -16
  361. data/lib/condenser/processors/node_modules/@types/estree/index.d.ts +1 -7
  362. data/lib/condenser/processors/node_modules/@types/estree/package.json +16 -18
  363. data/lib/condenser/processors/node_modules/@types/node/LICENSE +21 -21
  364. data/lib/condenser/processors/node_modules/@types/node/README.md +16 -16
  365. data/lib/condenser/processors/node_modules/@types/node/assert.d.ts +3 -0
  366. data/lib/condenser/processors/node_modules/@types/node/async_hooks.d.ts +115 -0
  367. data/lib/condenser/processors/node_modules/@types/node/child_process.d.ts +2 -2
  368. data/lib/condenser/processors/node_modules/@types/node/cluster.d.ts +2 -6
  369. data/lib/condenser/processors/node_modules/@types/node/crypto.d.ts +6 -6
  370. data/lib/condenser/processors/node_modules/@types/node/dns.d.ts +5 -0
  371. data/lib/condenser/processors/node_modules/@types/node/events.d.ts +31 -21
  372. data/lib/condenser/processors/node_modules/@types/node/fs.d.ts +238 -52
  373. data/lib/condenser/processors/node_modules/@types/node/globals.d.ts +63 -53
  374. data/lib/condenser/processors/node_modules/@types/node/http.d.ts +36 -18
  375. data/lib/condenser/processors/node_modules/@types/node/http2.d.ts +1 -0
  376. data/lib/condenser/processors/node_modules/@types/node/https.d.ts +1 -17
  377. data/lib/condenser/processors/node_modules/@types/node/index.d.ts +9 -7
  378. data/lib/condenser/processors/node_modules/@types/node/module.d.ts +41 -3
  379. data/lib/condenser/processors/node_modules/@types/node/os.d.ts +9 -1
  380. data/lib/condenser/processors/node_modules/@types/node/package.json +25 -13
  381. data/lib/condenser/processors/node_modules/@types/node/perf_hooks.d.ts +27 -10
  382. data/lib/condenser/processors/node_modules/@types/node/querystring.d.ts +2 -3
  383. data/lib/condenser/processors/node_modules/@types/node/readline.d.ts +14 -0
  384. data/lib/condenser/processors/node_modules/@types/node/repl.d.ts +6 -1
  385. data/lib/condenser/processors/node_modules/@types/node/stream.d.ts +35 -11
  386. data/lib/condenser/processors/node_modules/@types/node/tls.d.ts +67 -1
  387. data/lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts +5 -5
  388. data/lib/condenser/processors/node_modules/@types/node/ts3.5/index.d.ts +14 -0
  389. data/lib/condenser/processors/node_modules/@types/node/ts3.5/wasi.d.ts +52 -0
  390. data/lib/condenser/processors/node_modules/@types/node/tty.d.ts +1 -1
  391. data/lib/condenser/processors/node_modules/@types/node/url.d.ts +1 -1
  392. data/lib/condenser/processors/node_modules/@types/node/util.d.ts +20 -12
  393. data/lib/condenser/processors/node_modules/@types/node/vm.d.ts +36 -4
  394. data/lib/condenser/processors/node_modules/@types/node/worker_threads.d.ts +30 -1
  395. data/lib/condenser/processors/node_modules/browserslist/CHANGELOG.md +28 -0
  396. data/lib/condenser/processors/node_modules/browserslist/LICENSE +1 -1
  397. data/lib/condenser/processors/node_modules/browserslist/README.md +7 -5
  398. data/lib/condenser/processors/node_modules/browserslist/cli.js +21 -11
  399. data/lib/condenser/processors/node_modules/browserslist/index.js +90 -5
  400. data/lib/condenser/processors/node_modules/browserslist/node.js +22 -15
  401. data/lib/condenser/processors/node_modules/browserslist/package.json +16 -17
  402. data/lib/condenser/processors/node_modules/browserslist/update-db.js +134 -0
  403. data/lib/condenser/processors/node_modules/caniuse-lite/CHANGELOG.md +24 -0
  404. data/lib/condenser/processors/node_modules/caniuse-lite/data/agents.js +1 -1
  405. data/lib/condenser/processors/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  406. data/lib/condenser/processors/node_modules/caniuse-lite/data/features.js +1 -1
  407. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/aac.js +1 -1
  408. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  409. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  410. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  411. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  412. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  413. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  414. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/apng.js +1 -1
  415. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  416. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  417. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  418. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  419. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  420. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  421. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  422. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  423. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js +1 -1
  424. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  425. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  426. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio.js +1 -1
  427. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  428. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  429. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  430. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/av1.js +1 -1
  431. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/avif.js +1 -0
  432. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  433. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  434. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  435. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  436. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  437. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  438. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  439. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  440. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  441. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  442. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  443. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  444. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  445. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  446. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  447. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  448. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/calc.js +1 -1
  449. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  450. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  451. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  452. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  453. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  454. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  455. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  456. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  457. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clear-site-data-header.js +1 -1
  458. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  459. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  460. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  461. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  462. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  463. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/const.js +1 -1
  464. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  465. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  466. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  467. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  468. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cors.js +1 -1
  469. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  470. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  471. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  472. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  473. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  474. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  475. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  476. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-apply-rule.js +1 -1
  477. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  478. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  479. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  480. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  481. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  482. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  483. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  484. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  485. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  486. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  487. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  488. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  489. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  490. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  491. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  492. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  493. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  494. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  495. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  496. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  497. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  498. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  499. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  500. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  501. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  502. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  503. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  504. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  505. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  506. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  507. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  508. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  509. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  510. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  511. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  512. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  513. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  514. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  515. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  516. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphenate.js +1 -1
  517. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  518. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  519. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  520. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  521. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  522. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  523. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  524. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  525. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  526. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  527. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  528. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  529. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  530. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  531. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  532. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  533. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  534. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  535. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  536. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  537. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  538. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  539. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  540. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  541. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  542. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  543. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  544. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  545. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  546. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  547. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  548. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  549. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  550. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  551. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  552. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  553. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  554. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  555. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  556. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  557. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  558. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  559. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  560. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  561. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  562. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  563. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  564. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  565. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  566. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  567. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  568. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  569. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  570. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  571. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  572. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  573. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  574. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  575. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action-2.js +1 -1
  576. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  577. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  578. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  579. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  580. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  581. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  582. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  583. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  584. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  585. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  586. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  587. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  588. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  589. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  590. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  591. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  592. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  593. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  594. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  595. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  596. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  597. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  598. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  599. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/details.js +1 -1
  600. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  601. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  602. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  603. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  604. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  605. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  606. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  607. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  608. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  609. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  610. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  611. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  612. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  613. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js +1 -1
  614. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  615. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/download.js +1 -1
  616. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  617. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  618. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  619. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  620. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eme.js +1 -1
  621. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eot.js +1 -1
  622. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es5.js +1 -1
  623. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  624. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  625. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  626. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  627. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  628. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  629. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6.js +1 -1
  630. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  631. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  632. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  633. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  634. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  635. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  636. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  637. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  638. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flac.js +1 -1
  639. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  640. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  641. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  642. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  643. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js +1 -1
  644. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  645. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  646. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  647. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  648. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  649. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  650. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  651. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  652. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-east-asian.js +1 -1
  653. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  654. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  655. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  656. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  657. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  658. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/forms.js +1 -1
  659. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  660. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  661. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  662. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  663. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  664. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  665. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  666. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  667. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  668. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  669. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/heif.js +1 -1
  670. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  671. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  672. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  673. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/history.js +1 -1
  674. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  675. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  676. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  677. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http2.js +1 -1
  678. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http3.js +1 -1
  679. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  680. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  681. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  682. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  683. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ime.js +1 -1
  684. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  685. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imports.js +1 -1
  686. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  687. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  688. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  689. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  690. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  691. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  692. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  693. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  694. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  695. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  696. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  697. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  698. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  699. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  700. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  701. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  702. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  703. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  704. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  705. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  706. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  707. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  708. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  709. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  710. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
  711. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  712. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  713. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  714. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  715. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  716. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  717. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/json.js +1 -1
  718. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  719. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  720. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  721. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  722. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  723. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  724. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  725. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  726. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  727. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/let.js +1 -1
  728. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  729. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  730. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  731. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  732. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  733. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  734. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  735. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  736. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  737. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  738. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  739. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  740. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  741. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  742. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  743. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-attribute.js +1 -1
  744. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  745. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-session-api.js +1 -1
  746. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  747. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  748. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  749. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/menu.js +1 -1
  750. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  751. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meter.js +1 -1
  752. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/midi.js +1 -1
  753. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  754. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  755. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  756. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  757. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  758. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  759. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  760. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  761. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  762. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  763. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  764. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/navigator-language.js +1 -1
  765. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  766. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-contains.js +1 -1
  767. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-parentelement.js +1 -1
  768. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  769. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  770. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  771. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  772. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  773. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  774. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  775. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  776. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  777. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  778. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  779. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  780. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  781. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/opus.js +1 -1
  782. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  783. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/outline.js +1 -1
  784. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  785. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  786. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  787. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  788. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  789. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  790. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  791. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  792. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  793. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture.js +1 -1
  794. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ping.js +1 -1
  795. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  796. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  797. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  798. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  799. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  800. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  801. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-class-fields.js +1 -1
  802. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js +1 -1
  803. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/progress.js +1 -1
  804. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  805. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promises.js +1 -1
  806. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  807. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  808. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/public-class-fields.js +1 -1
  809. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  810. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  811. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  812. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  813. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  814. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  815. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  816. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  817. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  818. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rem.js +1 -1
  819. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/replace-all.js +1 -1
  820. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  821. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  822. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  823. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  824. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  825. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  826. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  827. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  828. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  829. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  830. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  831. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  832. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  833. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  834. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  835. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  836. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  837. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  838. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  839. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sha-2.js +1 -1
  840. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  841. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  842. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  843. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  844. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sni.js +1 -1
  845. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  846. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  847. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  848. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  849. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  850. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  851. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js +1 -1
  852. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stream.js +1 -1
  853. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/streams.js +1 -1
  854. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  855. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  856. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  857. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  858. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  859. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  860. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  861. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  862. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  863. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  864. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  865. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg.js +1 -1
  866. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  867. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/symbols.js +1 -1
  868. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  869. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  870. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template.js +1 -1
  871. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  872. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  873. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  874. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  875. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  876. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  877. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-underline-offset.js +1 -1
  878. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  879. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  880. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  881. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  882. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  883. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/token-binding.js +1 -1
  884. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/touch.js +1 -1
  885. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  886. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  887. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  888. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  889. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  890. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  891. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  892. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
  893. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/url.js +1 -1
  894. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  895. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  896. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  897. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  898. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  899. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  900. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/video.js +1 -1
  901. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  902. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  903. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  904. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  905. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wav.js +1 -1
  906. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  907. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  908. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  909. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  910. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  911. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  912. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  913. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  914. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
  915. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  916. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webm.js +1 -1
  917. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webp.js +1 -1
  918. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  919. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  920. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  921. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  922. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  923. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  924. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  925. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff.js +1 -1
  926. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  927. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  928. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  929. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  930. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  931. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  932. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  933. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  934. data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  935. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  936. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  937. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  938. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  939. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  940. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  941. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  942. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  943. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  944. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  945. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  946. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  947. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  948. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  949. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  950. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  951. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  952. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  953. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  954. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  955. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  956. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  957. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  958. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  959. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  960. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  961. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  962. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  963. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  964. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  965. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  966. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  967. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  968. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  969. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  970. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  971. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  972. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  973. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  974. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  975. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  976. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  977. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  978. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  979. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  980. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  981. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  982. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  983. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  984. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  985. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  986. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  987. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  988. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  989. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  990. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  991. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  992. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  993. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  994. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  995. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  996. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  997. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  998. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  999. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  1000. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  1001. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  1002. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  1003. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  1004. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  1005. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  1006. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  1007. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  1008. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  1009. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  1010. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  1011. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  1012. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  1013. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  1014. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  1015. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  1016. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  1017. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  1018. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  1019. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  1020. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  1021. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  1022. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  1023. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  1024. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  1025. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  1026. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  1027. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  1028. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  1029. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  1030. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  1031. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  1032. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  1033. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  1034. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  1035. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  1036. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  1037. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  1038. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  1039. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  1040. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  1041. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  1042. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  1043. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  1044. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  1045. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  1046. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  1047. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  1048. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  1049. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  1050. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  1051. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  1052. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  1053. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  1054. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  1055. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  1056. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  1057. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  1058. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  1059. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  1060. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  1061. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  1062. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  1063. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  1064. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  1065. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  1066. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  1067. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  1068. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  1069. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  1070. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  1071. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  1072. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  1073. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  1074. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  1075. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  1076. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  1077. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  1078. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  1079. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  1080. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  1081. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  1082. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  1083. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  1084. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  1085. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  1086. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  1087. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  1088. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  1089. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  1090. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  1091. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  1092. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  1093. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  1094. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  1095. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  1096. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  1097. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  1098. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  1099. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  1100. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  1101. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  1102. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  1103. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  1104. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  1105. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  1106. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  1107. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  1108. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  1109. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  1110. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  1111. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  1112. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  1113. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  1114. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  1115. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  1116. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  1117. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  1118. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  1119. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  1120. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  1121. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  1122. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  1123. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  1124. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  1125. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  1126. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  1127. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  1128. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  1129. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  1130. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  1131. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  1132. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  1133. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  1134. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  1135. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  1136. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  1137. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  1138. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  1139. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TK.js +1 -1
  1140. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  1141. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  1142. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  1143. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  1144. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  1145. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  1146. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  1147. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  1148. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  1149. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  1150. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  1151. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/US.js +1 -1
  1152. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  1153. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  1154. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  1155. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  1156. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  1157. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  1158. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  1159. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  1160. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  1161. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  1162. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  1163. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  1164. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  1165. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  1166. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  1167. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  1168. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  1169. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  1170. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  1171. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  1172. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  1173. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  1174. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  1175. data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  1176. data/lib/condenser/processors/node_modules/caniuse-lite/package.json +10 -10
  1177. data/lib/condenser/processors/node_modules/core-js-compat/data.json +217 -200
  1178. data/lib/condenser/processors/node_modules/core-js-compat/package.json +12 -12
  1179. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-last-index-of.js +2 -1
  1180. data/lib/condenser/processors/node_modules/core-js-pure/internals/array-method-uses-to-length.js +5 -8
  1181. data/lib/condenser/processors/node_modules/core-js-pure/internals/shared.js +1 -1
  1182. data/lib/condenser/processors/node_modules/core-js-pure/internals/task.js +7 -1
  1183. data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.reduce-right.js +2 -1
  1184. data/lib/condenser/processors/node_modules/core-js-pure/modules/web.url.js +1 -1
  1185. data/lib/condenser/processors/node_modules/core-js-pure/package.json +5 -5
  1186. data/lib/condenser/processors/node_modules/core-js-pure/postinstall.js +3 -1
  1187. data/lib/condenser/processors/node_modules/electron-to-chromium/chromium-versions.js +3 -1
  1188. data/lib/condenser/processors/node_modules/electron-to-chromium/full-chromium-versions.js +142 -0
  1189. data/lib/condenser/processors/node_modules/electron-to-chromium/full-versions.js +92 -0
  1190. data/lib/condenser/processors/node_modules/electron-to-chromium/package.json +11 -11
  1191. data/lib/condenser/processors/node_modules/electron-to-chromium/versions.js +4 -0
  1192. data/lib/condenser/processors/node_modules/esutils/package.json +2 -3
  1193. data/lib/condenser/processors/node_modules/find-up/index.js +48 -0
  1194. data/lib/condenser/processors/node_modules/{acorn/LICENSE → find-up/license} +3 -1
  1195. data/lib/condenser/processors/node_modules/find-up/package.json +85 -0
  1196. data/lib/condenser/processors/node_modules/find-up/readme.md +85 -0
  1197. data/lib/condenser/processors/node_modules/fsevents/LICENSE +22 -0
  1198. data/lib/condenser/processors/node_modules/fsevents/README.md +77 -0
  1199. data/lib/condenser/processors/node_modules/fsevents/fsevents.d.ts +55 -0
  1200. data/lib/condenser/processors/node_modules/fsevents/fsevents.js +77 -0
  1201. data/lib/condenser/processors/node_modules/fsevents/fsevents.node +0 -0
  1202. data/lib/condenser/processors/node_modules/fsevents/package.json +84 -0
  1203. data/lib/condenser/processors/node_modules/gensync/LICENSE +7 -0
  1204. data/lib/condenser/processors/node_modules/gensync/README.md +196 -0
  1205. data/lib/condenser/processors/node_modules/gensync/index.js +366 -0
  1206. data/lib/condenser/processors/node_modules/gensync/index.js.flow +32 -0
  1207. data/lib/condenser/processors/node_modules/gensync/package.json +60 -0
  1208. data/lib/condenser/processors/node_modules/gensync/test/.babelrc +5 -0
  1209. data/lib/condenser/processors/node_modules/gensync/test/index.test.js +475 -0
  1210. data/lib/condenser/processors/node_modules/invariant/package.json +2 -0
  1211. data/lib/condenser/processors/node_modules/json5/CHANGELOG.md +15 -0
  1212. data/lib/condenser/processors/node_modules/json5/README.md +1 -1
  1213. data/lib/condenser/processors/node_modules/json5/dist/index.js +5 -5
  1214. data/lib/condenser/processors/node_modules/json5/dist/index.min.js +1 -1
  1215. data/lib/condenser/processors/node_modules/json5/dist/index.min.mjs +1 -1
  1216. data/lib/condenser/processors/node_modules/json5/dist/index.mjs +5 -5
  1217. data/lib/condenser/processors/node_modules/json5/lib/util.js +5 -5
  1218. data/lib/condenser/processors/node_modules/json5/package.json +11 -11
  1219. data/lib/condenser/processors/node_modules/leven/index.d.ts +21 -0
  1220. data/lib/condenser/processors/node_modules/leven/index.js +77 -0
  1221. data/lib/condenser/processors/node_modules/leven/license +9 -0
  1222. data/lib/condenser/processors/node_modules/leven/package.json +89 -0
  1223. data/lib/condenser/processors/node_modules/leven/readme.md +50 -0
  1224. data/lib/condenser/processors/node_modules/{js-levenshtein → levenary}/LICENSE +3 -2
  1225. data/lib/condenser/processors/node_modules/levenary/README.md +40 -0
  1226. data/lib/condenser/processors/node_modules/levenary/index.d.ts +15 -0
  1227. data/lib/condenser/processors/node_modules/levenary/index.flow.js +15 -0
  1228. data/lib/condenser/processors/node_modules/levenary/index.js +27 -0
  1229. data/lib/condenser/processors/node_modules/levenary/index.mjs +14 -0
  1230. data/lib/condenser/processors/node_modules/levenary/package.json +98 -0
  1231. data/lib/condenser/processors/node_modules/locate-path/index.js +24 -0
  1232. data/lib/condenser/processors/node_modules/locate-path/license +21 -0
  1233. data/lib/condenser/processors/node_modules/locate-path/package.json +79 -0
  1234. data/lib/condenser/processors/node_modules/locate-path/readme.md +99 -0
  1235. data/lib/condenser/processors/node_modules/magic-string/CHANGELOG.md +8 -0
  1236. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js +3 -7
  1237. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -1
  1238. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js +3 -7
  1239. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js.map +1 -1
  1240. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js +3 -7
  1241. data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js.map +1 -1
  1242. data/lib/condenser/processors/node_modules/magic-string/package.json +6 -5
  1243. data/lib/condenser/processors/node_modules/minimist/example/parse.js +1 -1
  1244. data/lib/condenser/processors/node_modules/minimist/index.js +12 -3
  1245. data/lib/condenser/processors/node_modules/minimist/package.json +10 -10
  1246. data/lib/condenser/processors/node_modules/minimist/readme.markdown +18 -14
  1247. data/lib/condenser/processors/node_modules/minimist/test/bool.js +12 -0
  1248. data/lib/condenser/processors/node_modules/minimist/test/proto.js +44 -0
  1249. data/lib/condenser/processors/node_modules/node-releases/data/processed/envs.json +70 -0
  1250. data/lib/condenser/processors/node_modules/node-releases/data/raw/nodejs.json +14 -0
  1251. data/lib/condenser/processors/node_modules/node-releases/data/release-schedule/release-schedule.json +3 -3
  1252. data/lib/condenser/processors/node_modules/node-releases/package.json +14 -13
  1253. data/lib/condenser/processors/node_modules/p-limit/index.js +42 -0
  1254. data/lib/condenser/processors/node_modules/p-limit/license +9 -0
  1255. data/lib/condenser/processors/node_modules/p-limit/package.json +81 -0
  1256. data/lib/condenser/processors/node_modules/p-limit/readme.md +69 -0
  1257. data/lib/condenser/processors/node_modules/p-locate/index.js +31 -0
  1258. data/lib/condenser/processors/node_modules/p-locate/license +21 -0
  1259. data/lib/condenser/processors/node_modules/p-locate/package.json +86 -0
  1260. data/lib/condenser/processors/node_modules/p-locate/readme.md +86 -0
  1261. data/lib/condenser/processors/node_modules/p-try/index.js +4 -0
  1262. data/lib/condenser/processors/node_modules/p-try/license +21 -0
  1263. data/lib/condenser/processors/node_modules/p-try/package.json +75 -0
  1264. data/lib/condenser/processors/node_modules/p-try/readme.md +38 -0
  1265. data/lib/condenser/processors/node_modules/path-exists/index.js +17 -0
  1266. data/lib/condenser/processors/node_modules/path-exists/license +21 -0
  1267. data/lib/condenser/processors/node_modules/path-exists/package.json +72 -0
  1268. data/lib/condenser/processors/node_modules/path-exists/readme.md +50 -0
  1269. data/lib/condenser/processors/node_modules/pkg-up/index.js +5 -0
  1270. data/lib/condenser/processors/node_modules/pkg-up/license +21 -0
  1271. data/lib/condenser/processors/node_modules/pkg-up/package.json +82 -0
  1272. data/lib/condenser/processors/node_modules/pkg-up/readme.md +64 -0
  1273. data/lib/condenser/processors/node_modules/private/package.json +5 -5
  1274. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Alphabetic.js +12 -12
  1275. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Assigned.js +14 -13
  1276. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Case_Ignorable.js +6 -6
  1277. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Cased.js +2 -2
  1278. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Casefolded.js +2 -2
  1279. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Casemapped.js +1 -1
  1280. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Lowercased.js +2 -2
  1281. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_NFKC_Casefolded.js +3 -3
  1282. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Titlecased.js +1 -1
  1283. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Uppercased.js +1 -1
  1284. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Dash.js +1 -1
  1285. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Diacritic.js +3 -2
  1286. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji.js +2 -2
  1287. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji_Modifier_Base.js +1 -1
  1288. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji_Presentation.js +2 -2
  1289. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Extended_Pictographic.js +1 -1
  1290. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Extender.js +1 -1
  1291. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Grapheme_Base.js +14 -14
  1292. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Grapheme_Extend.js +6 -6
  1293. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/ID_Continue.js +13 -12
  1294. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/ID_Start.js +9 -9
  1295. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Ideographic.js +2 -2
  1296. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Lowercase.js +2 -2
  1297. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Sentence_Terminal.js +1 -1
  1298. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Terminal_Punctuation.js +3 -3
  1299. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Unified_Ideograph.js +1 -1
  1300. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Uppercase.js +2 -2
  1301. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/XID_Continue.js +13 -12
  1302. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/XID_Start.js +9 -9
  1303. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Cased_Letter.js +2 -2
  1304. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Dash_Punctuation.js +1 -1
  1305. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Decimal_Number.js +2 -2
  1306. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Letter.js +9 -9
  1307. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Lowercase_Letter.js +2 -2
  1308. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Mark.js +6 -6
  1309. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Modifier_Letter.js +1 -1
  1310. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Modifier_Symbol.js +1 -1
  1311. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Nonspacing_Mark.js +6 -6
  1312. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Number.js +2 -2
  1313. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other.js +10 -10
  1314. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Letter.js +7 -7
  1315. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Number.js +2 -2
  1316. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Punctuation.js +3 -3
  1317. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Symbol.js +2 -2
  1318. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Punctuation.js +3 -3
  1319. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Spacing_Mark.js +3 -3
  1320. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Symbol.js +3 -2
  1321. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Unassigned.js +10 -10
  1322. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Uppercase_Letter.js +2 -2
  1323. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Arabic.js +1 -1
  1324. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Armenian.js +2 -2
  1325. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Bopomofo.js +1 -1
  1326. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Chakma.js +1 -1
  1327. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Chorasmian.js +3 -0
  1328. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Common.js +4 -4
  1329. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Dives_Akuru.js +3 -0
  1330. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Han.js +1 -1
  1331. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Inherited.js +1 -1
  1332. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Khitan_Small_Script.js +3 -0
  1333. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Latin.js +1 -1
  1334. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Lisu.js +1 -1
  1335. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Malayalam.js +1 -1
  1336. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Newa.js +2 -2
  1337. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Oriya.js +1 -1
  1338. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Sharada.js +1 -1
  1339. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Sinhala.js +1 -1
  1340. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Syloti_Nagri.js +1 -1
  1341. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Tangut.js +1 -1
  1342. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Yezidi.js +3 -0
  1343. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Arabic.js +1 -1
  1344. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Bopomofo.js +1 -1
  1345. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Chakma.js +1 -1
  1346. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Chorasmian.js +3 -0
  1347. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Common.js +3 -3
  1348. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Cyrillic.js +1 -1
  1349. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Dives_Akuru.js +3 -0
  1350. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Georgian.js +1 -1
  1351. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Han.js +1 -1
  1352. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Inherited.js +2 -2
  1353. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Khitan_Small_Script.js +3 -0
  1354. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Latin.js +1 -1
  1355. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Lisu.js +1 -1
  1356. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Malayalam.js +1 -1
  1357. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Newa.js +2 -2
  1358. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Oriya.js +1 -1
  1359. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Sharada.js +1 -1
  1360. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Sinhala.js +1 -1
  1361. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Syloti_Nagri.js +1 -1
  1362. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Syriac.js +1 -1
  1363. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Tangut.js +1 -1
  1364. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Yezidi.js +3 -0
  1365. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/index.js +8 -0
  1366. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/package.json +14 -14
  1367. data/lib/condenser/processors/node_modules/regenerate-unicode-properties/unicode-version.js +1 -1
  1368. data/lib/condenser/processors/node_modules/regenerator-runtime/README.md +1 -1
  1369. data/lib/condenser/processors/node_modules/regenerator-runtime/package.json +11 -11
  1370. data/lib/condenser/processors/node_modules/regenerator-runtime/runtime.js +9 -6
  1371. data/lib/condenser/processors/node_modules/regenerator-transform/lib/emit.js +27 -16
  1372. data/lib/condenser/processors/node_modules/regenerator-transform/lib/hoist.js +2 -2
  1373. data/lib/condenser/processors/node_modules/regenerator-transform/lib/leap.js +2 -2
  1374. data/lib/condenser/processors/node_modules/regenerator-transform/lib/meta.js +2 -2
  1375. data/lib/condenser/processors/node_modules/regenerator-transform/lib/replaceShorthandObjectMethod.js +2 -2
  1376. data/lib/condenser/processors/node_modules/regenerator-transform/lib/visit.js +21 -10
  1377. data/lib/condenser/processors/node_modules/regenerator-transform/package.json +20 -15
  1378. data/lib/condenser/processors/node_modules/regenerator-transform/src/emit.js +23 -15
  1379. data/lib/condenser/processors/node_modules/regenerator-transform/src/visit.js +17 -6
  1380. data/lib/condenser/processors/node_modules/regexpu-core/README.md +4 -4
  1381. data/lib/condenser/processors/node_modules/regexpu-core/package.json +17 -17
  1382. data/lib/condenser/processors/node_modules/regexpu-core/rewrite-pattern.js +16 -10
  1383. data/lib/condenser/processors/node_modules/regjsgen/package.json +5 -5
  1384. data/lib/condenser/processors/node_modules/regjsparser/package.json +10 -10
  1385. data/lib/condenser/processors/node_modules/regjsparser/parser.js +16 -4
  1386. data/lib/condenser/processors/node_modules/resolve/.editorconfig +20 -0
  1387. data/lib/condenser/processors/node_modules/resolve/appveyor.yml +1 -0
  1388. data/lib/condenser/processors/node_modules/resolve/index.js +0 -1
  1389. data/lib/condenser/processors/node_modules/resolve/lib/async.js +21 -7
  1390. data/lib/condenser/processors/node_modules/resolve/lib/core.json +1 -1
  1391. data/lib/condenser/processors/node_modules/resolve/lib/sync.js +20 -7
  1392. data/lib/condenser/processors/node_modules/resolve/package.json +8 -8
  1393. data/lib/condenser/processors/node_modules/resolve/readme.markdown +18 -0
  1394. data/lib/condenser/processors/node_modules/resolve/test/resolver.js +32 -0
  1395. data/lib/condenser/processors/node_modules/resolve/test/resolver/baz/package.json +1 -0
  1396. data/lib/condenser/processors/node_modules/resolve/test/resolver_sync.js +29 -0
  1397. data/lib/condenser/processors/node_modules/rollup-plugin-node-resolve/package.json +1 -1
  1398. data/lib/condenser/processors/node_modules/rollup/CHANGELOG.md +344 -0
  1399. data/lib/condenser/processors/node_modules/rollup/LICENSE.md +350 -102
  1400. data/lib/condenser/processors/node_modules/rollup/dist/bin/rollup +1774 -1098
  1401. data/lib/condenser/processors/node_modules/rollup/dist/es/package.json +1 -0
  1402. data/lib/condenser/processors/node_modules/rollup/dist/es/rollup.browser.js +11 -0
  1403. data/lib/condenser/processors/node_modules/rollup/dist/es/rollup.js +15 -0
  1404. data/lib/condenser/processors/node_modules/rollup/dist/{rollup.es.js → es/shared/rollup.js} +16330 -14991
  1405. data/lib/condenser/processors/node_modules/rollup/dist/es/shared/watch.js +7139 -0
  1406. data/lib/condenser/processors/node_modules/rollup/dist/loadConfigFile.js +25 -0
  1407. data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.js +3 -17
  1408. data/lib/condenser/processors/node_modules/rollup/dist/rollup.d.ts +154 -93
  1409. data/lib/condenser/processors/node_modules/rollup/dist/rollup.js +10 -17115
  1410. data/lib/condenser/processors/node_modules/rollup/dist/shared/_events_commonjs-external.js +22 -0
  1411. data/lib/condenser/processors/node_modules/rollup/dist/shared/loadConfigFile.js +560 -0
  1412. data/lib/condenser/processors/node_modules/rollup/dist/shared/mergeOptions.js +67 -0
  1413. data/lib/condenser/processors/node_modules/rollup/dist/shared/rollup.js +18787 -0
  1414. data/lib/condenser/processors/node_modules/rollup/dist/shared/watch.js +7095 -0
  1415. data/lib/condenser/processors/node_modules/rollup/package.json +71 -62
  1416. data/lib/condenser/processors/node_modules/semver/package.json +2 -0
  1417. data/lib/condenser/processors/node_modules/sourcemap-codec/CHANGELOG.md +4 -0
  1418. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +30 -39
  1419. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -1
  1420. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +30 -39
  1421. data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -1
  1422. data/lib/condenser/processors/node_modules/sourcemap-codec/package.json +5 -5
  1423. data/lib/condenser/processors/node_modules/unicode-match-property-value-ecmascript/data/mappings.js +16 -0
  1424. data/lib/condenser/processors/node_modules/unicode-match-property-value-ecmascript/package.json +12 -12
  1425. data/lib/condenser/processors/node_modules/unicode-property-aliases-ecmascript/index.js +6 -0
  1426. data/lib/condenser/processors/node_modules/unicode-property-aliases-ecmascript/package.json +7 -7
  1427. data/lib/condenser/processors/node_processor.rb +8 -0
  1428. data/lib/condenser/processors/package-lock.json +683 -541
  1429. data/lib/condenser/processors/rollup_processor.rb +0 -1
  1430. data/lib/condenser/templating_engine/ejs.rb +19 -0
  1431. data/lib/condenser/transformers/jst_transformer.rb +87 -0
  1432. data/lib/condenser/version.rb +1 -1
  1433. data/test/preprocessor/babel_test.rb +2 -4
  1434. data/test/templates/ejs_test.rb +3 -8
  1435. metadata +204 -85
  1436. data/lib/condenser/processors/node_modules/.bin/acorn +0 -1
  1437. data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/README.md +0 -19
  1438. data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/lib/index.js +0 -70
  1439. data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/package.json +0 -46
  1440. data/lib/condenser/processors/node_modules/@babel/parser/lib/options.js +0 -35
  1441. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js +0 -24
  1442. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/comments.js +0 -198
  1443. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/expression.js +0 -1703
  1444. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/index.js +0 -59
  1445. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/location.js +0 -49
  1446. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/lval.js +0 -364
  1447. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/node.js +0 -89
  1448. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/statement.js +0 -1529
  1449. data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/util.js +0 -228
  1450. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugin-utils.js +0 -91
  1451. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/estree.js +0 -283
  1452. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/flow.js +0 -2690
  1453. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/index.js +0 -516
  1454. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/xhtml.js +0 -263
  1455. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/placeholders.js +0 -204
  1456. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/index.js +0 -2076
  1457. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/scope.js +0 -94
  1458. data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/v8intrinsic.js +0 -43
  1459. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/context.js +0 -102
  1460. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/index.js +0 -1225
  1461. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/state.js +0 -101
  1462. data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/types.js +0 -267
  1463. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/location.js +0 -43
  1464. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scope.js +0 -172
  1465. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scopeflags.js +0 -82
  1466. data/lib/condenser/processors/node_modules/@babel/parser/lib/util/whitespace.js +0 -58
  1467. data/lib/condenser/processors/node_modules/@babel/preset-env/CONTRIBUTING.md +0 -103
  1468. data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-in-features.js +0 -359
  1469. data/lib/condenser/processors/node_modules/@babel/preset-env/data/overlapping-plugins.js +0 -16
  1470. data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugin-features.js +0 -108
  1471. data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/shipped-proposals.js +0 -8
  1472. data/lib/condenser/processors/node_modules/@types/estree/flow.d.ts +0 -174
  1473. data/lib/condenser/processors/node_modules/acorn/CHANGELOG.md +0 -562
  1474. data/lib/condenser/processors/node_modules/acorn/README.md +0 -270
  1475. data/lib/condenser/processors/node_modules/acorn/bin/acorn +0 -4
  1476. data/lib/condenser/processors/node_modules/acorn/dist/acorn.d.ts +0 -209
  1477. data/lib/condenser/processors/node_modules/acorn/dist/acorn.js +0 -5001
  1478. data/lib/condenser/processors/node_modules/acorn/dist/acorn.js.map +0 -1
  1479. data/lib/condenser/processors/node_modules/acorn/dist/acorn.mjs +0 -4970
  1480. data/lib/condenser/processors/node_modules/acorn/dist/acorn.mjs.map +0 -1
  1481. data/lib/condenser/processors/node_modules/acorn/dist/bin.js +0 -64
  1482. data/lib/condenser/processors/node_modules/acorn/package.json +0 -66
  1483. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/LICENSE +0 -21
  1484. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/README.md +0 -16
  1485. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/index.d.ts +0 -548
  1486. data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/package.json +0 -51
  1487. data/lib/condenser/processors/node_modules/js-levenshtein/README.md +0 -59
  1488. data/lib/condenser/processors/node_modules/js-levenshtein/index.js +0 -105
  1489. data/lib/condenser/processors/node_modules/js-levenshtein/package.json +0 -81
  1490. data/lib/condenser/processors/node_modules/node-releases/.idea/encodings.xml +0 -4
  1491. data/lib/condenser/processors/node_modules/node-releases/.idea/inspectionProfiles/Project_Default.xml +0 -8
  1492. data/lib/condenser/processors/node_modules/node-releases/.idea/misc.xml +0 -9
  1493. data/lib/condenser/processors/node_modules/node-releases/.idea/modules.xml +0 -8
  1494. data/lib/condenser/processors/node_modules/node-releases/.idea/node-releases.iml +0 -12
  1495. data/lib/condenser/processors/node_modules/node-releases/.idea/vcs.xml +0 -6
  1496. data/lib/condenser/processors/node_modules/node-releases/.idea/workspace.xml +0 -121
  1497. data/lib/condenser/processors/node_modules/node-releases/node_modules/.bin/semver +0 -1
  1498. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/CHANGELOG.md +0 -70
  1499. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/LICENSE +0 -15
  1500. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/README.md +0 -443
  1501. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/bin/semver.js +0 -174
  1502. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/package.json +0 -60
  1503. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/range.bnf +0 -16
  1504. data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/semver.js +0 -1596
  1505. data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.es.js +0 -25
  1506. data/lib/condenser/processors/node_modules/rollup/dist/shared/index.js +0 -320
  1507. data/lib/condenser/transformers/ejs.rb +0 -100
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v1.28.0
6
- Sat, 04 Jan 2020 20:12:15 GMT - commit b99758b3a4617769f2371540e530536d5c246692
5
+ Rollup.js v2.6.1
6
+ Sun, 12 Apr 2020 21:37:03 GMT - commit e440b709a2861726183d57b4b1f25d049ed1ed6c
7
7
 
8
8
 
9
9
  https://github.com/rollup/rollup
@@ -12,651 +12,1331 @@
12
12
  */
13
13
  'use strict';
14
14
 
15
- var index = require('../shared/index.js');
16
- var rollup_js = require('../rollup.js');
17
- require('util');
15
+ var rollup_js = require('../shared/rollup.js');
18
16
  var path = require('path');
19
- var fs = require('fs');
20
- require('acorn');
21
17
  require('crypto');
22
- var events = require('events');
23
- require('module');
18
+ var fs = require('fs');
19
+ require('events');
20
+ require('util');
21
+ var _events_commonjsExternal = require('../shared/_events_commonjs-external.js');
22
+ var mergeOptions = require('../shared/mergeOptions.js');
23
+ var loadConfigFile_js = require('../shared/loadConfigFile.js');
24
+ var module$1 = require('module');
25
+ require('url');
24
26
  var assert = require('assert');
25
27
 
26
- var help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, esm, iife, umd)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.id <id> ID for AMD module (default is anonymous)\n--amd.define <name> Function to use in place of `define`\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--dynamicImportFunction <name> Rename the dynamic `import()` function\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--no-freeze Do not freeze namespace objects\n--no-indent Don't indent result\n--no-interop Do not include interop block\n--inlineDynamicImports Create single bundle when using dynamic imports\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--namespaceToStringTag Create proper `.toString` methods for namespaces\n--noConflict Generate a noConflict method for UMD globals\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--preferConst Use `const` instead of `var` for exports\n--preserveModules Preserve module structure\n--preserveSymlinks Do not follow symlinks when resolving files\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--strictDeprecations Throw errors for deprecated features\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--no-treeshake.propertyReadSideEffects Ignore property access side-effects\n--treeshake.pureExternalModules Assume side-effect free externals\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
28
+ var help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.id <id> ID for AMD module (default is anonymous)\n--amd.define <name> Function to use in place of `define`\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalLiveBindings Do not generate code to support live bindings\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--no-freeze Do not freeze namespace objects\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--no-indent Don't indent result\n--no-interop Do not include interop block\n--inlineDynamicImports Create single bundle when using dynamic imports\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--namespaceToStringTag Create proper `.toString` methods for namespaces\n--noConflict Generate a noConflict method for UMD globals\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--preferConst Use `const` instead of `var` for exports\n--preserveModules Preserve module structure\n--preserveSymlinks Do not follow symlinks when resolving files\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--no-stdin do not read \"-\" from stdin\n--strictDeprecations Throw errors for deprecated features\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--no-treeshake.propertyReadSideEffects Ignore property access side-effects\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
29
+
30
+ const preserveCamelCase = string => {
31
+ let isLastCharLower = false;
32
+ let isLastCharUpper = false;
33
+ let isLastLastCharUpper = false;
34
+
35
+ for (let i = 0; i < string.length; i++) {
36
+ const character = string[i];
37
+
38
+ if (isLastCharLower && /[a-zA-Z]/.test(character) && character.toUpperCase() === character) {
39
+ string = string.slice(0, i) + '-' + string.slice(i);
40
+ isLastCharLower = false;
41
+ isLastLastCharUpper = isLastCharUpper;
42
+ isLastCharUpper = true;
43
+ i++;
44
+ } else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(character) && character.toLowerCase() === character) {
45
+ string = string.slice(0, i - 1) + '-' + string.slice(i - 1);
46
+ isLastLastCharUpper = isLastCharUpper;
47
+ isLastCharUpper = false;
48
+ isLastCharLower = true;
49
+ } else {
50
+ isLastCharLower = character.toLowerCase() === character && character.toUpperCase() !== character;
51
+ isLastLastCharUpper = isLastCharUpper;
52
+ isLastCharUpper = character.toUpperCase() === character && character.toLowerCase() !== character;
53
+ }
54
+ }
55
+
56
+ return string;
57
+ };
58
+
59
+ const camelCase = (input, options) => {
60
+ if (!(typeof input === 'string' || Array.isArray(input))) {
61
+ throw new TypeError('Expected the input to be `string | string[]`');
62
+ }
63
+
64
+ options = Object.assign({
65
+ pascalCase: false
66
+ }, options);
67
+
68
+ const postProcess = x => options.pascalCase ? x.charAt(0).toUpperCase() + x.slice(1) : x;
69
+
70
+ if (Array.isArray(input)) {
71
+ input = input.map(x => x.trim())
72
+ .filter(x => x.length)
73
+ .join('-');
74
+ } else {
75
+ input = input.trim();
76
+ }
77
+
78
+ if (input.length === 0) {
79
+ return '';
80
+ }
81
+
82
+ if (input.length === 1) {
83
+ return options.pascalCase ? input.toUpperCase() : input.toLowerCase();
84
+ }
85
+
86
+ const hasUpperCase = input !== input.toLowerCase();
87
+
88
+ if (hasUpperCase) {
89
+ input = preserveCamelCase(input);
90
+ }
91
+
92
+ input = input
93
+ .replace(/^[_.\- ]+/, '')
94
+ .toLowerCase()
95
+ .replace(/[_.\- ]+(\w|$)/g, (_, p1) => p1.toUpperCase())
96
+ .replace(/\d+(\w|$)/g, m => m.toUpperCase());
27
97
 
28
- var minimist = function (args, opts) {
29
- if (!opts)
30
- opts = {};
31
- var flags = { bools: {}, strings: {}, unknownFn: null };
32
- if (typeof opts['unknown'] === 'function') {
33
- flags.unknownFn = opts['unknown'];
98
+ return postProcess(input);
99
+ };
100
+
101
+ var camelcase = camelCase;
102
+ // TODO: Remove this for the next major release
103
+ var default_1 = camelCase;
104
+ camelcase.default = default_1;
105
+
106
+ var decamelize = function (str, sep) {
107
+ if (typeof str !== 'string') {
108
+ throw new TypeError('Expected a string');
109
+ }
110
+
111
+ sep = typeof sep === 'undefined' ? '_' : sep;
112
+
113
+ return str
114
+ .replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2')
115
+ .replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2')
116
+ .toLowerCase();
117
+ };
118
+
119
+ // take an un-split argv string and tokenize it.
120
+ var tokenizeArgString = function (argString) {
121
+ if (Array.isArray(argString)) {
122
+ return argString.map(e => typeof e !== 'string' ? e + '' : e)
123
+ }
124
+
125
+ argString = argString.trim();
126
+
127
+ let i = 0;
128
+ let prevC = null;
129
+ let c = null;
130
+ let opening = null;
131
+ const args = [];
132
+
133
+ for (let ii = 0; ii < argString.length; ii++) {
134
+ prevC = c;
135
+ c = argString.charAt(ii);
136
+
137
+ // split on spaces unless we're in quotes.
138
+ if (c === ' ' && !opening) {
139
+ if (!(prevC === ' ')) {
140
+ i++;
141
+ }
142
+ continue
34
143
  }
35
- if (typeof opts['boolean'] === 'boolean' && opts['boolean']) {
36
- flags.allBools = true;
144
+
145
+ // don't split the string if we're in matching
146
+ // opening or closing single and double quotes.
147
+ if (c === opening) {
148
+ opening = null;
149
+ } else if ((c === "'" || c === '"') && !opening) {
150
+ opening = c;
37
151
  }
38
- else {
39
- [].concat(opts['boolean']).filter(Boolean).forEach(function (key) {
40
- flags.bools[key] = true;
41
- });
152
+
153
+ if (!args[i]) args[i] = '';
154
+ args[i] += c;
155
+ }
156
+
157
+ return args
158
+ };
159
+
160
+ function parse (args, opts) {
161
+ opts = Object.assign(Object.create(null), opts);
162
+ // allow a string argument to be passed in rather
163
+ // than an argv array.
164
+ args = tokenizeArgString(args);
165
+
166
+ // aliases might have transitive relationships, normalize this.
167
+ const aliases = combineAliases(Object.assign(Object.create(null), opts.alias));
168
+ const configuration = Object.assign({
169
+ 'boolean-negation': true,
170
+ 'camel-case-expansion': true,
171
+ 'combine-arrays': false,
172
+ 'dot-notation': true,
173
+ 'duplicate-arguments-array': true,
174
+ 'flatten-duplicate-arrays': true,
175
+ 'greedy-arrays': true,
176
+ 'halt-at-non-option': false,
177
+ 'nargs-eats-options': false,
178
+ 'negation-prefix': 'no-',
179
+ 'parse-numbers': true,
180
+ 'populate--': false,
181
+ 'set-placeholder-key': false,
182
+ 'short-option-groups': true,
183
+ 'strip-aliased': false,
184
+ 'strip-dashed': false,
185
+ 'unknown-options-as-args': false
186
+ }, opts.configuration);
187
+ const defaults = Object.assign(Object.create(null), opts.default);
188
+ const configObjects = opts.configObjects || [];
189
+ const envPrefix = opts.envPrefix;
190
+ const notFlagsOption = configuration['populate--'];
191
+ const notFlagsArgv = notFlagsOption ? '--' : '_';
192
+ const newAliases = Object.create(null);
193
+ const defaulted = Object.create(null);
194
+ // allow a i18n handler to be passed in, default to a fake one (util.format).
195
+ const __ = opts.__ || _events_commonjsExternal.require$$1.format;
196
+ const flags = {
197
+ aliases: Object.create(null),
198
+ arrays: Object.create(null),
199
+ bools: Object.create(null),
200
+ strings: Object.create(null),
201
+ numbers: Object.create(null),
202
+ counts: Object.create(null),
203
+ normalize: Object.create(null),
204
+ configs: Object.create(null),
205
+ nargs: Object.create(null),
206
+ coercions: Object.create(null),
207
+ keys: []
208
+ };
209
+ const negative = /^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;
210
+ const negatedBoolean = new RegExp('^--' + configuration['negation-prefix'] + '(.+)')
211
+
212
+ ;[].concat(opts.array).filter(Boolean).forEach(function (opt) {
213
+ const key = opt.key || opt;
214
+
215
+ // assign to flags[bools|strings|numbers]
216
+ const assignment = Object.keys(opt).map(function (key) {
217
+ return ({
218
+ boolean: 'bools',
219
+ string: 'strings',
220
+ number: 'numbers'
221
+ })[key]
222
+ }).filter(Boolean).pop();
223
+
224
+ // assign key to be coerced
225
+ if (assignment) {
226
+ flags[assignment][key] = true;
42
227
  }
43
- var aliases = {};
44
- Object.keys(opts.alias || {}).forEach(function (key) {
45
- aliases[key] = [].concat(opts.alias[key]);
46
- aliases[key].forEach(function (x) {
47
- aliases[x] = [key].concat(aliases[key].filter(function (y) {
48
- return x !== y;
49
- }));
50
- });
228
+
229
+ flags.arrays[key] = true;
230
+ flags.keys.push(key);
231
+ })
232
+
233
+ ;[].concat(opts.boolean).filter(Boolean).forEach(function (key) {
234
+ flags.bools[key] = true;
235
+ flags.keys.push(key);
236
+ })
237
+
238
+ ;[].concat(opts.string).filter(Boolean).forEach(function (key) {
239
+ flags.strings[key] = true;
240
+ flags.keys.push(key);
241
+ })
242
+
243
+ ;[].concat(opts.number).filter(Boolean).forEach(function (key) {
244
+ flags.numbers[key] = true;
245
+ flags.keys.push(key);
246
+ })
247
+
248
+ ;[].concat(opts.count).filter(Boolean).forEach(function (key) {
249
+ flags.counts[key] = true;
250
+ flags.keys.push(key);
251
+ })
252
+
253
+ ;[].concat(opts.normalize).filter(Boolean).forEach(function (key) {
254
+ flags.normalize[key] = true;
255
+ flags.keys.push(key);
256
+ });
257
+
258
+ Object.keys(opts.narg || {}).forEach(function (k) {
259
+ flags.nargs[k] = opts.narg[k];
260
+ flags.keys.push(k);
261
+ });
262
+
263
+ Object.keys(opts.coerce || {}).forEach(function (k) {
264
+ flags.coercions[k] = opts.coerce[k];
265
+ flags.keys.push(k);
266
+ });
267
+
268
+ if (Array.isArray(opts.config) || typeof opts.config === 'string') {
269
+ [].concat(opts.config).filter(Boolean).forEach(function (key) {
270
+ flags.configs[key] = true;
51
271
  });
52
- [].concat(opts.string).filter(Boolean).forEach(function (key) {
53
- flags.strings[key] = true;
54
- if (aliases[key]) {
55
- flags.strings[aliases[key]] = true;
56
- }
272
+ } else {
273
+ Object.keys(opts.config || {}).forEach(function (k) {
274
+ flags.configs[k] = opts.config[k];
57
275
  });
58
- var defaults = opts['default'] || {};
59
- var argv = { _: [] };
60
- Object.keys(flags.bools).forEach(function (key) {
61
- setArg(key, defaults[key] === undefined ? false : defaults[key]);
276
+ }
277
+
278
+ // create a lookup table that takes into account all
279
+ // combinations of aliases: {f: ['foo'], foo: ['f']}
280
+ extendAliases(opts.key, aliases, opts.default, flags.arrays);
281
+
282
+ // apply default values to all aliases.
283
+ Object.keys(defaults).forEach(function (key) {
284
+ (flags.aliases[key] || []).forEach(function (alias) {
285
+ defaults[alias] = defaults[key];
62
286
  });
63
- var notFlags = [];
64
- if (args.indexOf('--') !== -1) {
65
- notFlags = args.slice(args.indexOf('--') + 1);
66
- args = args.slice(0, args.indexOf('--'));
67
- }
68
- function argDefined(key, arg) {
69
- return (flags.allBools && /^--[^=]+$/.test(arg)) ||
70
- flags.strings[key] || flags.bools[key] || aliases[key];
71
- }
72
- function setArg(key, val, arg) {
73
- if (arg && flags.unknownFn && !argDefined(key, arg)) {
74
- if (flags.unknownFn(arg) === false)
75
- return;
287
+ });
288
+
289
+ let error = null;
290
+ checkConfiguration();
291
+
292
+ let notFlags = [];
293
+
294
+ const argv = Object.assign(Object.create(null), { _: [] });
295
+ // TODO(bcoe): for the first pass at removing object prototype we didn't
296
+ // remove all prototypes from objects returned by this API, we might want
297
+ // to gradually move towards doing so.
298
+ const argvReturn = {};
299
+
300
+ for (let i = 0; i < args.length; i++) {
301
+ const arg = args[i];
302
+ let broken;
303
+ let key;
304
+ let letters;
305
+ let m;
306
+ let next;
307
+ let value;
308
+
309
+ // any unknown option (except for end-of-options, "--")
310
+ if (arg !== '--' && isUnknownOptionAsArg(arg)) {
311
+ argv._.push(arg);
312
+ // -- separated by =
313
+ } else if (arg.match(/^--.+=/) || (
314
+ !configuration['short-option-groups'] && arg.match(/^-.+=/)
315
+ )) {
316
+ // Using [\s\S] instead of . because js doesn't support the
317
+ // 'dotall' regex modifier. See:
318
+ // http://stackoverflow.com/a/1068308/13216
319
+ m = arg.match(/^--?([^=]+)=([\s\S]*)$/);
320
+
321
+ // arrays format = '--f=a b c'
322
+ if (checkAllAliases(m[1], flags.arrays)) {
323
+ i = eatArray(i, m[1], args, m[2]);
324
+ } else if (checkAllAliases(m[1], flags.nargs) !== false) {
325
+ // nargs format = '--f=monkey washing cat'
326
+ i = eatNargs(i, m[1], args, m[2]);
327
+ } else {
328
+ setArg(m[1], m[2]);
329
+ }
330
+ } else if (arg.match(negatedBoolean) && configuration['boolean-negation']) {
331
+ key = arg.match(negatedBoolean)[1];
332
+ setArg(key, checkAllAliases(key, flags.arrays) ? [false] : false);
333
+
334
+ // -- separated by space.
335
+ } else if (arg.match(/^--.+/) || (
336
+ !configuration['short-option-groups'] && arg.match(/^-[^-]+/)
337
+ )) {
338
+ key = arg.match(/^--?(.+)/)[1];
339
+
340
+ if (checkAllAliases(key, flags.arrays)) {
341
+ // array format = '--foo a b c'
342
+ i = eatArray(i, key, args);
343
+ } else if (checkAllAliases(key, flags.nargs) !== false) {
344
+ // nargs format = '--foo a b c'
345
+ // should be truthy even if: flags.nargs[key] === 0
346
+ i = eatNargs(i, key, args);
347
+ } else {
348
+ next = args[i + 1];
349
+
350
+ if (next !== undefined && (!next.match(/^-/) ||
351
+ next.match(negative)) &&
352
+ !checkAllAliases(key, flags.bools) &&
353
+ !checkAllAliases(key, flags.counts)) {
354
+ setArg(key, next);
355
+ i++;
356
+ } else if (/^(true|false)$/.test(next)) {
357
+ setArg(key, next);
358
+ i++;
359
+ } else {
360
+ setArg(key, defaultValue(key));
76
361
  }
77
- var value = !flags.strings[key] && isNumber(val)
78
- ? Number(val) : val;
79
- setKey(argv, key.split('.'), value);
80
- (aliases[key] || []).forEach(function (x) {
81
- setKey(argv, x.split('.'), value);
82
- });
83
- }
84
- function setKey(obj, keys, value) {
85
- var o = obj;
86
- keys.slice(0, -1).forEach(function (key) {
87
- if (o[key] === undefined)
88
- o[key] = {};
89
- o = o[key];
90
- });
91
- var key = keys[keys.length - 1];
92
- if (o[key] === undefined || flags.bools[key] || typeof o[key] === 'boolean') {
93
- o[key] = value;
362
+ }
363
+
364
+ // dot-notation flag separated by '='.
365
+ } else if (arg.match(/^-.\..+=/)) {
366
+ m = arg.match(/^-([^=]+)=([\s\S]*)$/);
367
+ setArg(m[1], m[2]);
368
+
369
+ // dot-notation flag separated by space.
370
+ } else if (arg.match(/^-.\..+/) && !arg.match(negative)) {
371
+ next = args[i + 1];
372
+ key = arg.match(/^-(.\..+)/)[1];
373
+
374
+ if (next !== undefined && !next.match(/^-/) &&
375
+ !checkAllAliases(key, flags.bools) &&
376
+ !checkAllAliases(key, flags.counts)) {
377
+ setArg(key, next);
378
+ i++;
379
+ } else {
380
+ setArg(key, defaultValue(key));
381
+ }
382
+ } else if (arg.match(/^-[^-]+/) && !arg.match(negative)) {
383
+ letters = arg.slice(1, -1).split('');
384
+ broken = false;
385
+
386
+ for (let j = 0; j < letters.length; j++) {
387
+ next = arg.slice(j + 2);
388
+
389
+ if (letters[j + 1] && letters[j + 1] === '=') {
390
+ value = arg.slice(j + 3);
391
+ key = letters[j];
392
+
393
+ if (checkAllAliases(key, flags.arrays)) {
394
+ // array format = '-f=a b c'
395
+ i = eatArray(i, key, args, value);
396
+ } else if (checkAllAliases(key, flags.nargs) !== false) {
397
+ // nargs format = '-f=monkey washing cat'
398
+ i = eatNargs(i, key, args, value);
399
+ } else {
400
+ setArg(key, value);
401
+ }
402
+
403
+ broken = true;
404
+ break
94
405
  }
95
- else if (Array.isArray(o[key])) {
96
- o[key].push(value);
406
+
407
+ if (next === '-') {
408
+ setArg(letters[j], next);
409
+ continue
97
410
  }
98
- else {
99
- o[key] = [o[key], value];
411
+
412
+ // current letter is an alphabetic character and next value is a number
413
+ if (/[A-Za-z]/.test(letters[j]) &&
414
+ /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
415
+ setArg(letters[j], next);
416
+ broken = true;
417
+ break
100
418
  }
419
+
420
+ if (letters[j + 1] && letters[j + 1].match(/\W/)) {
421
+ setArg(letters[j], next);
422
+ broken = true;
423
+ break
424
+ } else {
425
+ setArg(letters[j], defaultValue(letters[j]));
426
+ }
427
+ }
428
+
429
+ key = arg.slice(-1)[0];
430
+
431
+ if (!broken && key !== '-') {
432
+ if (checkAllAliases(key, flags.arrays)) {
433
+ // array format = '-f a b c'
434
+ i = eatArray(i, key, args);
435
+ } else if (checkAllAliases(key, flags.nargs) !== false) {
436
+ // nargs format = '-f a b c'
437
+ // should be truthy even if: flags.nargs[key] === 0
438
+ i = eatNargs(i, key, args);
439
+ } else {
440
+ next = args[i + 1];
441
+
442
+ if (next !== undefined && (!/^(-|--)[^-]/.test(next) ||
443
+ next.match(negative)) &&
444
+ !checkAllAliases(key, flags.bools) &&
445
+ !checkAllAliases(key, flags.counts)) {
446
+ setArg(key, next);
447
+ i++;
448
+ } else if (/^(true|false)$/.test(next)) {
449
+ setArg(key, next);
450
+ i++;
451
+ } else {
452
+ setArg(key, defaultValue(key));
453
+ }
454
+ }
455
+ }
456
+ } else if (arg.match(/^-[0-9]$/) &&
457
+ arg.match(negative) &&
458
+ checkAllAliases(arg.slice(1), flags.bools)) {
459
+ // single-digit boolean alias, e.g: xargs -0
460
+ key = arg.slice(1);
461
+ setArg(key, defaultValue(key));
462
+ } else if (arg === '--') {
463
+ notFlags = args.slice(i + 1);
464
+ break
465
+ } else if (configuration['halt-at-non-option']) {
466
+ notFlags = args.slice(i);
467
+ break
468
+ } else {
469
+ argv._.push(maybeCoerceNumber('_', arg));
470
+ }
471
+ }
472
+
473
+ // order of precedence:
474
+ // 1. command line arg
475
+ // 2. value from env var
476
+ // 3. value from config file
477
+ // 4. value from config objects
478
+ // 5. configured default value
479
+ applyEnvVars(argv, true); // special case: check env vars that point to config file
480
+ applyEnvVars(argv, false);
481
+ setConfig(argv);
482
+ setConfigObjects();
483
+ applyDefaultsAndAliases(argv, flags.aliases, defaults, true);
484
+ applyCoercions(argv);
485
+ if (configuration['set-placeholder-key']) setPlaceholderKeys(argv);
486
+
487
+ // for any counts either not in args or without an explicit default, set to 0
488
+ Object.keys(flags.counts).forEach(function (key) {
489
+ if (!hasKey(argv, key.split('.'))) setArg(key, 0);
490
+ });
491
+
492
+ // '--' defaults to undefined.
493
+ if (notFlagsOption && notFlags.length) argv[notFlagsArgv] = [];
494
+ notFlags.forEach(function (key) {
495
+ argv[notFlagsArgv].push(key);
496
+ });
497
+
498
+ if (configuration['camel-case-expansion'] && configuration['strip-dashed']) {
499
+ Object.keys(argv).filter(key => key !== '--' && key.includes('-')).forEach(key => {
500
+ delete argv[key];
501
+ });
502
+ }
503
+
504
+ if (configuration['strip-aliased']) {
505
+ [].concat(...Object.keys(aliases).map(k => aliases[k])).forEach(alias => {
506
+ if (configuration['camel-case-expansion']) {
507
+ delete argv[alias.split('.').map(prop => camelcase(prop)).join('.')];
508
+ }
509
+
510
+ delete argv[alias];
511
+ });
512
+ }
513
+
514
+ // how many arguments should we consume, based
515
+ // on the nargs option?
516
+ function eatNargs (i, key, args, argAfterEqualSign) {
517
+ let ii;
518
+ let toEat = checkAllAliases(key, flags.nargs);
519
+ // NaN has a special meaning for the array type, indicating that one or
520
+ // more values are expected.
521
+ toEat = isNaN(toEat) ? 1 : toEat;
522
+
523
+ if (toEat === 0) {
524
+ if (!isUndefined(argAfterEqualSign)) {
525
+ error = Error(__('Argument unexpected for: %s', key));
526
+ }
527
+ setArg(key, defaultValue(key));
528
+ return i
529
+ }
530
+
531
+ let available = isUndefined(argAfterEqualSign) ? 0 : 1;
532
+ if (configuration['nargs-eats-options']) {
533
+ // classic behavior, yargs eats positional and dash arguments.
534
+ if (args.length - (i + 1) + available < toEat) {
535
+ error = Error(__('Not enough arguments following: %s', key));
536
+ }
537
+ available = toEat;
538
+ } else {
539
+ // nargs will not consume flag arguments, e.g., -abc, --foo,
540
+ // and terminates when one is observed.
541
+ for (ii = i + 1; ii < args.length; ii++) {
542
+ if (!args[ii].match(/^-[^0-9]/) || args[ii].match(negative) || isUnknownOptionAsArg(args[ii])) available++;
543
+ else break
544
+ }
545
+ if (available < toEat) error = Error(__('Not enough arguments following: %s', key));
546
+ }
547
+
548
+ let consumed = Math.min(available, toEat);
549
+ if (!isUndefined(argAfterEqualSign) && consumed > 0) {
550
+ setArg(key, argAfterEqualSign);
551
+ consumed--;
552
+ }
553
+ for (ii = i + 1; ii < (consumed + i + 1); ii++) {
554
+ setArg(key, args[ii]);
555
+ }
556
+
557
+ return (i + consumed)
558
+ }
559
+
560
+ // if an option is an array, eat all non-hyphenated arguments
561
+ // following it... YUM!
562
+ // e.g., --foo apple banana cat becomes ["apple", "banana", "cat"]
563
+ function eatArray (i, key, args, argAfterEqualSign) {
564
+ let argsToSet = [];
565
+ let next = argAfterEqualSign || args[i + 1];
566
+ // If both array and nargs are configured, enforce the nargs count:
567
+ const nargsCount = checkAllAliases(key, flags.nargs);
568
+
569
+ if (checkAllAliases(key, flags.bools) && !(/^(true|false)$/.test(next))) {
570
+ argsToSet.push(true);
571
+ } else if (isUndefined(next) ||
572
+ (isUndefined(argAfterEqualSign) && /^-/.test(next) && !negative.test(next) && !isUnknownOptionAsArg(next))) {
573
+ // for keys without value ==> argsToSet remains an empty []
574
+ // set user default value, if available
575
+ if (defaults[key] !== undefined) {
576
+ const defVal = defaults[key];
577
+ argsToSet = Array.isArray(defVal) ? defVal : [defVal];
578
+ }
579
+ } else {
580
+ // value in --option=value is eaten as is
581
+ if (!isUndefined(argAfterEqualSign)) {
582
+ argsToSet.push(processValue(key, argAfterEqualSign));
583
+ }
584
+ for (let ii = i + 1; ii < args.length; ii++) {
585
+ if ((!configuration['greedy-arrays'] && argsToSet.length > 0) ||
586
+ (nargsCount && argsToSet.length >= nargsCount)) break
587
+ next = args[ii];
588
+ if (/^-/.test(next) && !negative.test(next) && !isUnknownOptionAsArg(next)) break
589
+ i = ii;
590
+ argsToSet.push(processValue(key, next));
591
+ }
101
592
  }
102
- function aliasIsBoolean(key) {
103
- return aliases[key].some(function (x) {
104
- return flags.bools[x];
593
+
594
+ // If both array and nargs are configured, create an error if less than
595
+ // nargs positionals were found. NaN has special meaning, indicating
596
+ // that at least one value is required (more are okay).
597
+ if ((nargsCount && argsToSet.length < nargsCount) ||
598
+ (isNaN(nargsCount) && argsToSet.length === 0)) {
599
+ error = Error(__('Not enough arguments following: %s', key));
600
+ }
601
+
602
+ setArg(key, argsToSet);
603
+ return i
604
+ }
605
+
606
+ function setArg (key, val) {
607
+ if (/-/.test(key) && configuration['camel-case-expansion']) {
608
+ const alias = key.split('.').map(function (prop) {
609
+ return camelcase(prop)
610
+ }).join('.');
611
+ addNewAlias(key, alias);
612
+ }
613
+
614
+ const value = processValue(key, val);
615
+ const splitKey = key.split('.');
616
+ setKey(argv, splitKey, value);
617
+
618
+ // handle populating aliases of the full key
619
+ if (flags.aliases[key]) {
620
+ flags.aliases[key].forEach(function (x) {
621
+ x = x.split('.');
622
+ setKey(argv, x, value);
623
+ });
624
+ }
625
+
626
+ // handle populating aliases of the first element of the dot-notation key
627
+ if (splitKey.length > 1 && configuration['dot-notation']) {
628
+ (flags.aliases[splitKey[0]] || []).forEach(function (x) {
629
+ x = x.split('.');
630
+
631
+ // expand alias with nested objects in key
632
+ const a = [].concat(splitKey);
633
+ a.shift(); // nuke the old key.
634
+ x = x.concat(a);
635
+
636
+ setKey(argv, x, value);
637
+ });
638
+ }
639
+
640
+ // Set normalize getter and setter when key is in 'normalize' but isn't an array
641
+ if (checkAllAliases(key, flags.normalize) && !checkAllAliases(key, flags.arrays)) {
642
+ const keys = [key].concat(flags.aliases[key] || []);
643
+ keys.forEach(function (key) {
644
+ Object.defineProperty(argvReturn, key, {
645
+ enumerable: true,
646
+ get () {
647
+ return val
648
+ },
649
+ set (value) {
650
+ val = typeof value === 'string' ? _events_commonjsExternal.sysPath.normalize(value) : value;
651
+ }
105
652
  });
653
+ });
106
654
  }
107
- for (var i = 0; i < args.length; i++) {
108
- var arg = args[i];
109
- if (/^--.+=/.test(arg)) {
110
- // Using [\s\S] instead of . because js doesn't support the
111
- // 'dotall' regex modifier. See:
112
- // http://stackoverflow.com/a/1068308/13216
113
- var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
114
- var key = m[1];
115
- var value = m[2];
116
- if (flags.bools[key]) {
117
- value = value !== 'false';
118
- }
119
- setArg(key, value, arg);
120
- }
121
- else if (/^--no-.+/.test(arg)) {
122
- var key = arg.match(/^--no-(.+)/)[1];
123
- setArg(key, false, arg);
124
- }
125
- else if (/^--.+/.test(arg)) {
126
- var key = arg.match(/^--(.+)/)[1];
127
- var next = args[i + 1];
128
- if (next !== undefined && !/^-/.test(next)
129
- && !flags.bools[key]
130
- && !flags.allBools
131
- && (aliases[key] ? !aliasIsBoolean(key) : true)) {
132
- setArg(key, next, arg);
133
- i++;
134
- }
135
- else if (/^(true|false)$/.test(next)) {
136
- setArg(key, next === 'true', arg);
137
- i++;
655
+ }
656
+
657
+ function addNewAlias (key, alias) {
658
+ if (!(flags.aliases[key] && flags.aliases[key].length)) {
659
+ flags.aliases[key] = [alias];
660
+ newAliases[alias] = true;
661
+ }
662
+ if (!(flags.aliases[alias] && flags.aliases[alias].length)) {
663
+ addNewAlias(alias, key);
664
+ }
665
+ }
666
+
667
+ function processValue (key, val) {
668
+ // strings may be quoted, clean this up as we assign values.
669
+ if (typeof val === 'string' &&
670
+ (val[0] === "'" || val[0] === '"') &&
671
+ val[val.length - 1] === val[0]
672
+ ) {
673
+ val = val.substring(1, val.length - 1);
674
+ }
675
+
676
+ // handle parsing boolean arguments --foo=true --bar false.
677
+ if (checkAllAliases(key, flags.bools) || checkAllAliases(key, flags.counts)) {
678
+ if (typeof val === 'string') val = val === 'true';
679
+ }
680
+
681
+ let value = Array.isArray(val)
682
+ ? val.map(function (v) { return maybeCoerceNumber(key, v) })
683
+ : maybeCoerceNumber(key, val);
684
+
685
+ // increment a count given as arg (either no value or value parsed as boolean)
686
+ if (checkAllAliases(key, flags.counts) && (isUndefined(value) || typeof value === 'boolean')) {
687
+ value = increment;
688
+ }
689
+
690
+ // Set normalized value when key is in 'normalize' and in 'arrays'
691
+ if (checkAllAliases(key, flags.normalize) && checkAllAliases(key, flags.arrays)) {
692
+ if (Array.isArray(val)) value = val.map(_events_commonjsExternal.sysPath.normalize);
693
+ else value = _events_commonjsExternal.sysPath.normalize(val);
694
+ }
695
+ return value
696
+ }
697
+
698
+ function maybeCoerceNumber (key, value) {
699
+ if (!checkAllAliases(key, flags.strings) && !checkAllAliases(key, flags.bools) && !Array.isArray(value)) {
700
+ const shouldCoerceNumber = isNumber(value) && configuration['parse-numbers'] && (
701
+ Number.isSafeInteger(Math.floor(value))
702
+ );
703
+ if (shouldCoerceNumber || (!isUndefined(value) && checkAllAliases(key, flags.numbers))) value = Number(value);
704
+ }
705
+ return value
706
+ }
707
+
708
+ // set args from config.json file, this should be
709
+ // applied last so that defaults can be applied.
710
+ function setConfig (argv) {
711
+ const configLookup = Object.create(null);
712
+
713
+ // expand defaults/aliases, in-case any happen to reference
714
+ // the config.json file.
715
+ applyDefaultsAndAliases(configLookup, flags.aliases, defaults);
716
+
717
+ Object.keys(flags.configs).forEach(function (configKey) {
718
+ const configPath = argv[configKey] || configLookup[configKey];
719
+ if (configPath) {
720
+ try {
721
+ let config = null;
722
+ const resolvedConfigPath = _events_commonjsExternal.sysPath.resolve(process.cwd(), configPath);
723
+
724
+ if (typeof flags.configs[configKey] === 'function') {
725
+ try {
726
+ config = flags.configs[configKey](resolvedConfigPath);
727
+ } catch (e) {
728
+ config = e;
138
729
  }
139
- else {
140
- setArg(key, flags.strings[key] ? '' : true, arg);
730
+ if (config instanceof Error) {
731
+ error = config;
732
+ return
141
733
  }
734
+ } else {
735
+ config = rollup_js.commonjsRequire();
736
+ }
737
+
738
+ setConfigObject(config);
739
+ } catch (ex) {
740
+ if (argv[configKey]) error = Error(__('Invalid JSON config file: %s', configPath));
142
741
  }
143
- else if (/^-[^-]+/.test(arg)) {
144
- var letters = arg.slice(1, -1).split('');
145
- var broken = false;
146
- for (var j = 0; j < letters.length; j++) {
147
- var next = arg.slice(j + 2);
148
- if (next === '-') {
149
- setArg(letters[j], next, arg);
150
- continue;
151
- }
152
- if (/[A-Za-z]/.test(letters[j]) && /=/.test(next)) {
153
- setArg(letters[j], next.split('=')[1], arg);
154
- broken = true;
155
- break;
156
- }
157
- if (/[A-Za-z]/.test(letters[j])
158
- && /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
159
- setArg(letters[j], next, arg);
160
- broken = true;
161
- break;
162
- }
163
- if (letters[j + 1] && letters[j + 1].match(/\W/)) {
164
- setArg(letters[j], arg.slice(j + 2), arg);
165
- broken = true;
166
- break;
167
- }
168
- else {
169
- setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg);
170
- }
171
- }
172
- var key = arg.slice(-1)[0];
173
- if (!broken && key !== '-') {
174
- if (args[i + 1] && !/^(-|--)[^-]/.test(args[i + 1])
175
- && !flags.bools[key]
176
- && (aliases[key] ? !aliasIsBoolean(key) : true)) {
177
- setArg(key, args[i + 1], arg);
178
- i++;
179
- }
180
- else if (args[i + 1] && /true|false/.test(args[i + 1])) {
181
- setArg(key, args[i + 1] === 'true', arg);
182
- i++;
183
- }
184
- else {
185
- setArg(key, flags.strings[key] ? '' : true, arg);
186
- }
187
- }
742
+ }
743
+ });
744
+ }
745
+
746
+ // set args from config object.
747
+ // it recursively checks nested objects.
748
+ function setConfigObject (config, prev) {
749
+ Object.keys(config).forEach(function (key) {
750
+ const value = config[key];
751
+ const fullKey = prev ? prev + '.' + key : key;
752
+
753
+ // if the value is an inner object and we have dot-notation
754
+ // enabled, treat inner objects in config the same as
755
+ // heavily nested dot notations (foo.bar.apple).
756
+ if (typeof value === 'object' && value !== null && !Array.isArray(value) && configuration['dot-notation']) {
757
+ // if the value is an object but not an array, check nested object
758
+ setConfigObject(value, fullKey);
759
+ } else {
760
+ // setting arguments via CLI takes precedence over
761
+ // values within the config file.
762
+ if (!hasKey(argv, fullKey.split('.')) || (checkAllAliases(fullKey, flags.arrays) && configuration['combine-arrays'])) {
763
+ setArg(fullKey, value);
188
764
  }
189
- else {
190
- if (!flags.unknownFn || flags.unknownFn(arg) !== false) {
191
- argv._.push(flags.strings['_'] || !isNumber(arg) ? arg : Number(arg));
192
- }
193
- if (opts.stopEarly) {
194
- argv._.push.apply(argv._, args.slice(i + 1));
195
- break;
196
- }
765
+ }
766
+ });
767
+ }
768
+
769
+ // set all config objects passed in opts
770
+ function setConfigObjects () {
771
+ if (typeof configObjects === 'undefined') return
772
+ configObjects.forEach(function (configObject) {
773
+ setConfigObject(configObject);
774
+ });
775
+ }
776
+
777
+ function applyEnvVars (argv, configOnly) {
778
+ if (typeof envPrefix === 'undefined') return
779
+
780
+ const prefix = typeof envPrefix === 'string' ? envPrefix : '';
781
+ Object.keys(process.env).forEach(function (envVar) {
782
+ if (prefix === '' || envVar.lastIndexOf(prefix, 0) === 0) {
783
+ // get array of nested keys and convert them to camel case
784
+ const keys = envVar.split('__').map(function (key, i) {
785
+ if (i === 0) {
786
+ key = key.substring(prefix.length);
787
+ }
788
+ return camelcase(key)
789
+ });
790
+
791
+ if (((configOnly && flags.configs[keys.join('.')]) || !configOnly) && !hasKey(argv, keys)) {
792
+ setArg(keys.join('.'), process.env[envVar]);
197
793
  }
198
- }
199
- Object.keys(defaults).forEach(function (key) {
200
- if (!hasKey(argv, key.split('.'))) {
201
- setKey(argv, key.split('.'), defaults[key]);
202
- (aliases[key] || []).forEach(function (x) {
203
- setKey(argv, x.split('.'), defaults[key]);
794
+ }
795
+ });
796
+ }
797
+
798
+ function applyCoercions (argv) {
799
+ let coerce;
800
+ const applied = new Set();
801
+ Object.keys(argv).forEach(function (key) {
802
+ if (!applied.has(key)) { // If we haven't already coerced this option via one of its aliases
803
+ coerce = checkAllAliases(key, flags.coercions);
804
+ if (typeof coerce === 'function') {
805
+ try {
806
+ const value = maybeCoerceNumber(key, coerce(argv[key]))
807
+ ;([].concat(flags.aliases[key] || [], key)).forEach(ali => {
808
+ applied.add(ali);
809
+ argv[ali] = value;
204
810
  });
811
+ } catch (err) {
812
+ error = err;
813
+ }
205
814
  }
815
+ }
206
816
  });
207
- if (opts['--']) {
208
- argv['--'] = new Array();
209
- notFlags.forEach(function (key) {
210
- argv['--'].push(key);
211
- });
212
- }
213
- else {
214
- notFlags.forEach(function (key) {
215
- argv._.push(key);
817
+ }
818
+
819
+ function setPlaceholderKeys (argv) {
820
+ flags.keys.forEach((key) => {
821
+ // don't set placeholder keys for dot notation options 'foo.bar'.
822
+ if (~key.indexOf('.')) return
823
+ if (typeof argv[key] === 'undefined') argv[key] = undefined;
824
+ });
825
+ return argv
826
+ }
827
+
828
+ function applyDefaultsAndAliases (obj, aliases, defaults, canLog = false) {
829
+ Object.keys(defaults).forEach(function (key) {
830
+ if (!hasKey(obj, key.split('.'))) {
831
+ setKey(obj, key.split('.'), defaults[key]);
832
+ if (canLog) defaulted[key] = true
833
+
834
+ ;(aliases[key] || []).forEach(function (x) {
835
+ if (hasKey(obj, x.split('.'))) return
836
+ setKey(obj, x.split('.'), defaults[key]);
216
837
  });
217
- }
218
- return argv;
219
- };
220
- function hasKey(obj, keys) {
221
- var o = obj;
838
+ }
839
+ });
840
+ }
841
+
842
+ function hasKey (obj, keys) {
843
+ let o = obj;
844
+
845
+ if (!configuration['dot-notation']) keys = [keys.join('.')];
846
+
222
847
  keys.slice(0, -1).forEach(function (key) {
223
- o = (o[key] || {});
848
+ o = (o[key] || {});
224
849
  });
225
- var key = keys[keys.length - 1];
226
- return key in o;
227
- }
228
- function isNumber(x) {
229
- if (typeof x === 'number')
230
- return true;
231
- if (/^0x[0-9a-f]+$/i.test(x))
232
- return true;
233
- return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
234
- }
235
850
 
236
- const tc = {
237
- enabled: process.env.FORCE_COLOR ||
238
- process.platform === "win32" ||
239
- (process.stdout.isTTY && process.env.TERM && process.env.TERM !== "dumb")
240
- };
241
- const Styles = (tc.Styles = {});
242
- const defineProp = Object.defineProperty;
243
- const init = (style, open, close, re) => {
244
- let i, len = 1, seq = [(Styles[style] = { open, close, re })];
245
- const fn = s => {
246
- if (tc.enabled) {
247
- for (i = 0, s += ""; i < len; i++) {
248
- style = seq[i];
249
- s =
250
- (open = style.open) +
251
- (~s.indexOf((close = style.close), 4) // skip first \x1b[
252
- ? s.replace(style.re, open)
253
- : s) +
254
- close;
255
- }
256
- len = 1;
851
+ const key = keys[keys.length - 1];
852
+
853
+ if (typeof o !== 'object') return false
854
+ else return key in o
855
+ }
856
+
857
+ function setKey (obj, keys, value) {
858
+ let o = obj;
859
+
860
+ if (!configuration['dot-notation']) keys = [keys.join('.')];
861
+
862
+ keys.slice(0, -1).forEach(function (key, index) {
863
+ // TODO(bcoe): in the next major version of yargs, switch to
864
+ // Object.create(null) for dot notation:
865
+ key = sanitizeKey(key);
866
+
867
+ if (typeof o === 'object' && o[key] === undefined) {
868
+ o[key] = {};
869
+ }
870
+
871
+ if (typeof o[key] !== 'object' || Array.isArray(o[key])) {
872
+ // ensure that o[key] is an array, and that the last item is an empty object.
873
+ if (Array.isArray(o[key])) {
874
+ o[key].push({});
875
+ } else {
876
+ o[key] = [o[key], {}];
257
877
  }
258
- return s;
259
- };
260
- defineProp(tc, style, {
261
- get: () => {
262
- for (let k in Styles)
263
- defineProp(fn, k, {
264
- get: () => ((seq[len++] = Styles[k]), fn)
265
- });
266
- delete tc[style];
267
- return (tc[style] = fn);
268
- },
269
- configurable: true
878
+
879
+ // we want to update the empty object at the end of the o[key] array, so set o to that object
880
+ o = o[key][o[key].length - 1];
881
+ } else {
882
+ o = o[key];
883
+ }
270
884
  });
271
- };
272
- init("reset", "\x1b[0m", "\x1b[0m", /\x1b\[0m/g);
273
- init("bold", "\x1b[1m", "\x1b[22m", /\x1b\[22m/g);
274
- init("dim", "\x1b[2m", "\x1b[22m", /\x1b\[22m/g);
275
- init("italic", "\x1b[3m", "\x1b[23m", /\x1b\[23m/g);
276
- init("underline", "\x1b[4m", "\x1b[24m", /\x1b\[24m/g);
277
- init("inverse", "\x1b[7m", "\x1b[27m", /\x1b\[27m/g);
278
- init("hidden", "\x1b[8m", "\x1b[28m", /\x1b\[28m/g);
279
- init("strikethrough", "\x1b[9m", "\x1b[29m", /\x1b\[29m/g);
280
- init("black", "\x1b[30m", "\x1b[39m", /\x1b\[39m/g);
281
- init("red", "\x1b[31m", "\x1b[39m", /\x1b\[39m/g);
282
- init("green", "\x1b[32m", "\x1b[39m", /\x1b\[39m/g);
283
- init("yellow", "\x1b[33m", "\x1b[39m", /\x1b\[39m/g);
284
- init("blue", "\x1b[34m", "\x1b[39m", /\x1b\[39m/g);
285
- init("magenta", "\x1b[35m", "\x1b[39m", /\x1b\[39m/g);
286
- init("cyan", "\x1b[36m", "\x1b[39m", /\x1b\[39m/g);
287
- init("white", "\x1b[37m", "\x1b[39m", /\x1b\[39m/g);
288
- init("gray", "\x1b[90m", "\x1b[39m", /\x1b\[39m/g);
289
- init("bgBlack", "\x1b[40m", "\x1b[49m", /\x1b\[49m/g);
290
- init("bgRed", "\x1b[41m", "\x1b[49m", /\x1b\[49m/g);
291
- init("bgGreen", "\x1b[42m", "\x1b[49m", /\x1b\[49m/g);
292
- init("bgYellow", "\x1b[43m", "\x1b[49m", /\x1b\[49m/g);
293
- init("bgBlue", "\x1b[44m", "\x1b[49m", /\x1b\[49m/g);
294
- init("bgMagenta", "\x1b[45m", "\x1b[49m", /\x1b\[49m/g);
295
- init("bgCyan", "\x1b[46m", "\x1b[49m", /\x1b\[49m/g);
296
- init("bgWhite", "\x1b[47m", "\x1b[49m", /\x1b\[49m/g);
297
- var turbocolor = tc;
298
-
299
- // @see https://no-color.org
300
- // @see https://www.npmjs.com/package/chalk
301
- if (process.env.FORCE_COLOR === '0' || process.env.NO_COLOR) {
302
- turbocolor.enabled = false;
303
- }
304
- // log to stderr to keep `rollup main.js > bundle.js` from breaking
305
- const stderr = console.error.bind(console);
306
- function handleError(err, recover = false) {
307
- let description = err.message || err;
308
- if (err.name)
309
- description = `${err.name}: ${description}`;
310
- const message = (err.plugin
311
- ? `(plugin ${(err).plugin}) ${description}`
312
- : description) || err;
313
- stderr(turbocolor.bold.red(`[!] ${turbocolor.bold(message.toString())}`));
314
- if (err.url) {
315
- stderr(turbocolor.cyan(err.url));
316
- }
317
- if (err.loc) {
318
- stderr(`${index.relativeId((err.loc.file || err.id))} (${err.loc.line}:${err.loc.column})`);
319
- }
320
- else if (err.id) {
321
- stderr(index.relativeId(err.id));
322
- }
323
- if (err.frame) {
324
- stderr(turbocolor.dim(err.frame));
325
- }
326
- if (err.stack) {
327
- stderr(turbocolor.dim(err.stack));
885
+
886
+ // TODO(bcoe): in the next major version of yargs, switch to
887
+ // Object.create(null) for dot notation:
888
+ const key = sanitizeKey(keys[keys.length - 1]);
889
+
890
+ const isTypeArray = checkAllAliases(keys.join('.'), flags.arrays);
891
+ const isValueArray = Array.isArray(value);
892
+ let duplicate = configuration['duplicate-arguments-array'];
893
+
894
+ // nargs has higher priority than duplicate
895
+ if (!duplicate && checkAllAliases(key, flags.nargs)) {
896
+ duplicate = true;
897
+ if ((!isUndefined(o[key]) && flags.nargs[key] === 1) || (Array.isArray(o[key]) && o[key].length === flags.nargs[key])) {
898
+ o[key] = undefined;
899
+ }
328
900
  }
329
- stderr('');
330
- if (!recover)
331
- process.exit(1);
332
- }
333
901
 
334
- function batchWarnings() {
335
- let deferredWarnings = new Map();
336
- let count = 0;
337
- return {
338
- get count() {
339
- return count;
340
- },
341
- add: (warning) => {
342
- count += 1;
343
- if (warning.code in deferredHandlers) {
344
- if (!deferredWarnings.has(warning.code))
345
- deferredWarnings.set(warning.code, []);
346
- deferredWarnings.get(warning.code).push(warning);
347
- }
348
- else if (warning.code in immediateHandlers) {
349
- immediateHandlers[warning.code](warning);
350
- }
351
- else {
352
- title(warning.message);
353
- if (warning.url)
354
- info(warning.url);
355
- const id = (warning.loc && warning.loc.file) || warning.id;
356
- if (id) {
357
- const loc = warning.loc
358
- ? `${index.relativeId(id)}: (${warning.loc.line}:${warning.loc.column})`
359
- : index.relativeId(id);
360
- stderr(turbocolor.bold(index.relativeId(loc)));
361
- }
362
- if (warning.frame)
363
- info(warning.frame);
902
+ if (value === increment) {
903
+ o[key] = increment(o[key]);
904
+ } else if (Array.isArray(o[key])) {
905
+ if (duplicate && isTypeArray && isValueArray) {
906
+ o[key] = configuration['flatten-duplicate-arrays'] ? o[key].concat(value) : (Array.isArray(o[key][0]) ? o[key] : [o[key]]).concat([value]);
907
+ } else if (!duplicate && Boolean(isTypeArray) === Boolean(isValueArray)) {
908
+ o[key] = value;
909
+ } else {
910
+ o[key] = o[key].concat([value]);
911
+ }
912
+ } else if (o[key] === undefined && isTypeArray) {
913
+ o[key] = isValueArray ? value : [value];
914
+ } else if (duplicate && !(
915
+ o[key] === undefined ||
916
+ checkAllAliases(key, flags.counts) ||
917
+ checkAllAliases(key, flags.bools)
918
+ )) {
919
+ o[key] = [o[key], value];
920
+ } else {
921
+ o[key] = value;
922
+ }
923
+ }
924
+
925
+ // extend the aliases list with inferred aliases.
926
+ function extendAliases (...args) {
927
+ args.forEach(function (obj) {
928
+ Object.keys(obj || {}).forEach(function (key) {
929
+ // short-circuit if we've already added a key
930
+ // to the aliases array, for example it might
931
+ // exist in both 'opts.default' and 'opts.key'.
932
+ if (flags.aliases[key]) return
933
+
934
+ flags.aliases[key] = [].concat(aliases[key] || []);
935
+ // For "--option-name", also set argv.optionName
936
+ flags.aliases[key].concat(key).forEach(function (x) {
937
+ if (/-/.test(x) && configuration['camel-case-expansion']) {
938
+ const c = camelcase(x);
939
+ if (c !== key && flags.aliases[key].indexOf(c) === -1) {
940
+ flags.aliases[key].push(c);
941
+ newAliases[c] = true;
364
942
  }
365
- },
366
- flush: () => {
367
- if (count === 0)
368
- return;
369
- const codes = Array.from(deferredWarnings.keys()).sort((a, b) => deferredWarnings.get(b).length - deferredWarnings.get(a).length);
370
- for (const code of codes) {
371
- deferredHandlers[code](deferredWarnings.get(code));
943
+ }
944
+ });
945
+ // For "--optionName", also set argv['option-name']
946
+ flags.aliases[key].concat(key).forEach(function (x) {
947
+ if (x.length > 1 && /[A-Z]/.test(x) && configuration['camel-case-expansion']) {
948
+ const c = decamelize(x, '-');
949
+ if (c !== key && flags.aliases[key].indexOf(c) === -1) {
950
+ flags.aliases[key].push(c);
951
+ newAliases[c] = true;
372
952
  }
373
- deferredWarnings = new Map();
374
- count = 0;
375
- }
953
+ }
954
+ });
955
+ flags.aliases[key].forEach(function (x) {
956
+ flags.aliases[x] = [key].concat(flags.aliases[key].filter(function (y) {
957
+ return x !== y
958
+ }));
959
+ });
960
+ });
961
+ });
962
+ }
963
+
964
+ // return the 1st set flag for any of a key's aliases (or false if no flag set)
965
+ function checkAllAliases (key, flag) {
966
+ const toCheck = [].concat(flags.aliases[key] || [], key);
967
+ const keys = Object.keys(flag);
968
+ const setAlias = toCheck.find(key => keys.includes(key));
969
+ return setAlias ? flag[setAlias] : false
970
+ }
971
+
972
+ function hasAnyFlag (key) {
973
+ const toCheck = [].concat(Object.keys(flags).map(k => flags[k]));
974
+ return toCheck.some(function (flag) {
975
+ return Array.isArray(flag) ? flag.includes(key) : flag[key]
976
+ })
977
+ }
978
+
979
+ function hasFlagsMatching (arg, ...patterns) {
980
+ const toCheck = [].concat(...patterns);
981
+ return toCheck.some(function (pattern) {
982
+ const match = arg.match(pattern);
983
+ return match && hasAnyFlag(match[1])
984
+ })
985
+ }
986
+
987
+ // based on a simplified version of the short flag group parsing logic
988
+ function hasAllShortFlags (arg) {
989
+ // if this is a negative number, or doesn't start with a single hyphen, it's not a short flag group
990
+ if (arg.match(negative) || !arg.match(/^-[^-]+/)) { return false }
991
+ let hasAllFlags = true;
992
+ let next;
993
+ const letters = arg.slice(1).split('');
994
+ for (let j = 0; j < letters.length; j++) {
995
+ next = arg.slice(j + 2);
996
+
997
+ if (!hasAnyFlag(letters[j])) {
998
+ hasAllFlags = false;
999
+ break
1000
+ }
1001
+
1002
+ if ((letters[j + 1] && letters[j + 1] === '=') ||
1003
+ next === '-' ||
1004
+ (/[A-Za-z]/.test(letters[j]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) ||
1005
+ (letters[j + 1] && letters[j + 1].match(/\W/))) {
1006
+ break
1007
+ }
1008
+ }
1009
+ return hasAllFlags
1010
+ }
1011
+
1012
+ function isUnknownOptionAsArg (arg) {
1013
+ return configuration['unknown-options-as-args'] && isUnknownOption(arg)
1014
+ }
1015
+
1016
+ function isUnknownOption (arg) {
1017
+ // ignore negative numbers
1018
+ if (arg.match(negative)) { return false }
1019
+ // if this is a short option group and all of them are configured, it isn't unknown
1020
+ if (hasAllShortFlags(arg)) { return false }
1021
+ // e.g. '--count=2'
1022
+ const flagWithEquals = /^-+([^=]+?)=[\s\S]*$/;
1023
+ // e.g. '-a' or '--arg'
1024
+ const normalFlag = /^-+([^=]+?)$/;
1025
+ // e.g. '-a-'
1026
+ const flagEndingInHyphen = /^-+([^=]+?)-$/;
1027
+ // e.g. '-abc123'
1028
+ const flagEndingInDigits = /^-+([^=]+?\d+)$/;
1029
+ // e.g. '-a/usr/local'
1030
+ const flagEndingInNonWordCharacters = /^-+([^=]+?)\W+.*$/;
1031
+ // check the different types of flag styles, including negatedBoolean, a pattern defined near the start of the parse method
1032
+ return !hasFlagsMatching(arg, flagWithEquals, negatedBoolean, normalFlag, flagEndingInHyphen, flagEndingInDigits, flagEndingInNonWordCharacters)
1033
+ }
1034
+
1035
+ // make a best effor to pick a default value
1036
+ // for an option based on name and type.
1037
+ function defaultValue (key) {
1038
+ if (!checkAllAliases(key, flags.bools) &&
1039
+ !checkAllAliases(key, flags.counts) &&
1040
+ `${key}` in defaults) {
1041
+ return defaults[key]
1042
+ } else {
1043
+ return defaultForType(guessType(key))
1044
+ }
1045
+ }
1046
+
1047
+ // return a default value, given the type of a flag.,
1048
+ // e.g., key of type 'string' will default to '', rather than 'true'.
1049
+ function defaultForType (type) {
1050
+ const def = {
1051
+ boolean: true,
1052
+ string: '',
1053
+ number: undefined,
1054
+ array: []
376
1055
  };
1056
+
1057
+ return def[type]
1058
+ }
1059
+
1060
+ // given a flag, enforce a default type.
1061
+ function guessType (key) {
1062
+ let type = 'boolean';
1063
+ if (checkAllAliases(key, flags.strings)) type = 'string';
1064
+ else if (checkAllAliases(key, flags.numbers)) type = 'number';
1065
+ else if (checkAllAliases(key, flags.bools)) type = 'boolean';
1066
+ else if (checkAllAliases(key, flags.arrays)) type = 'array';
1067
+ return type
1068
+ }
1069
+
1070
+ function isNumber (x) {
1071
+ if (x === null || x === undefined) return false
1072
+ // if loaded from config, may already be a number.
1073
+ if (typeof x === 'number') return true
1074
+ // hexadecimal.
1075
+ if (/^0x[0-9a-f]+$/i.test(x)) return true
1076
+ // don't treat 0123 as a number; as it drops the leading '0'.
1077
+ if (x.length > 1 && x[0] === '0') return false
1078
+ return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x)
1079
+ }
1080
+
1081
+ function isUndefined (num) {
1082
+ return num === undefined
1083
+ }
1084
+
1085
+ // check user configuration settings for inconsistencies
1086
+ function checkConfiguration () {
1087
+ // count keys should not be set as array/narg
1088
+ Object.keys(flags.counts).find(key => {
1089
+ if (checkAllAliases(key, flags.arrays)) {
1090
+ error = Error(__('Invalid configuration: %s, opts.count excludes opts.array.', key));
1091
+ return true
1092
+ } else if (checkAllAliases(key, flags.nargs)) {
1093
+ error = Error(__('Invalid configuration: %s, opts.count excludes opts.narg.', key));
1094
+ return true
1095
+ }
1096
+ });
1097
+ }
1098
+
1099
+ return {
1100
+ argv: Object.assign(argvReturn, argv),
1101
+ error: error,
1102
+ aliases: Object.assign({}, flags.aliases),
1103
+ newAliases: Object.assign({}, newAliases),
1104
+ defaulted: Object.assign({}, defaulted),
1105
+ configuration: configuration
1106
+ }
377
1107
  }
378
- const immediateHandlers = {
379
- UNKNOWN_OPTION: warning => {
380
- title(`You have passed an unrecognized option`);
381
- stderr(warning.message);
382
- },
383
- MISSING_NODE_BUILTINS: warning => {
384
- title(`Missing shims for Node.js built-ins`);
385
- const detail = warning.modules.length === 1
386
- ? `'${warning.modules[0]}'`
387
- : `${warning
388
- .modules.slice(0, -1)
389
- .map((name) => `'${name}'`)
390
- .join(', ')} and '${warning.modules.slice(-1)}'`;
391
- stderr(`Creating a browser bundle that depends on ${detail}. You might need to include https://www.npmjs.com/package/rollup-plugin-node-builtins`);
392
- }
393
- };
394
- const deferredHandlers = {
395
- CIRCULAR_DEPENDENCY(warnings) {
396
- title(`Circular dependenc${warnings.length > 1 ? 'ies' : 'y'}`);
397
- const displayed = warnings.length > 5 ? warnings.slice(0, 3) : warnings;
398
- for (const warning of displayed) {
399
- stderr(warning.cycle.join(' -> '));
400
- }
401
- if (warnings.length > displayed.length) {
402
- stderr(`...and ${warnings.length - displayed.length} more`);
403
- }
404
- },
405
- EMPTY_BUNDLE(warnings) {
406
- title(`Generated${warnings.length === 1 ? ' an' : ''} empty ${warnings.length > 1 ? 'chunks' : 'chunk'}`);
407
- stderr(warnings.map(warning => warning.chunkName).join(', '));
408
- },
409
- EVAL(warnings) {
410
- title('Use of eval is strongly discouraged');
411
- info('https://rollupjs.org/guide/en/#avoiding-eval');
412
- showTruncatedWarnings(warnings);
413
- },
414
- MISSING_EXPORT(warnings) {
415
- title('Missing exports');
416
- info('https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module');
417
- for (const warning of warnings) {
418
- stderr(turbocolor.bold(warning.importer));
419
- stderr(`${warning.missing} is not exported by ${warning.exporter}`);
420
- stderr(turbocolor.gray(warning.frame));
421
- }
422
- },
423
- MISSING_GLOBAL_NAME(warnings) {
424
- title(`Missing global variable ${warnings.length > 1 ? 'names' : 'name'}`);
425
- stderr(`Use output.globals to specify browser global variable names corresponding to external modules`);
426
- for (const warning of warnings) {
427
- stderr(`${turbocolor.bold(warning.source)} (guessing '${warning.guess}')`);
428
- }
429
- },
430
- MIXED_EXPORTS: (warnings) => {
431
- title('Mixing named and default exports');
432
- info(`https://rollupjs.org/guide/en/#output-exports`);
433
- stderr(turbocolor.bold('The following entry modules are using named and default exports together:'));
434
- const displayedWarnings = warnings.length > 5 ? warnings.slice(0, 3) : warnings;
435
- for (const warning of displayedWarnings) {
436
- stderr(index.relativeId(warning.id));
437
- }
438
- if (displayedWarnings.length < warnings.length) {
439
- stderr(`...and ${warnings.length - displayedWarnings.length} other entry modules`);
440
- }
441
- stderr(`\nConsumers of your bundle will have to use chunk['default'] to access their default export, which may not be what you want. Use \`output.exports: 'named'\` to disable this warning`);
442
- },
443
- NAMESPACE_CONFLICT(warnings) {
444
- title(`Conflicting re-exports`);
445
- for (const warning of warnings) {
446
- stderr(`${turbocolor.bold(index.relativeId(warning.reexporter))} re-exports '${warning.name}' from both ${index.relativeId(warning.sources[0])} and ${index.relativeId(warning.sources[1])} (will be ignored)`);
447
- }
448
- },
449
- NON_EXISTENT_EXPORT(warnings) {
450
- title(`Import of non-existent ${warnings.length > 1 ? 'exports' : 'export'}`);
451
- showTruncatedWarnings(warnings);
452
- },
453
- PLUGIN_WARNING(warnings) {
454
- const nestedByPlugin = nest(warnings, 'plugin');
455
- for (const { key: plugin, items } of nestedByPlugin) {
456
- const nestedByMessage = nest(items, 'message');
457
- let lastUrl = '';
458
- for (const { key: message, items } of nestedByMessage) {
459
- title(`Plugin ${plugin}: ${message}`);
460
- for (const warning of items) {
461
- if (warning.url && warning.url !== lastUrl)
462
- info((lastUrl = warning.url));
463
- if (warning.id) {
464
- let loc = index.relativeId(warning.id);
465
- if (warning.loc) {
466
- loc += `: (${warning.loc.line}:${warning.loc.column})`;
467
- }
468
- stderr(turbocolor.bold(loc));
469
- }
470
- if (warning.frame)
471
- info(warning.frame);
472
- }
473
- }
474
- }
475
- },
476
- SOURCEMAP_BROKEN(warnings) {
477
- title(`Broken sourcemap`);
478
- info('https://rollupjs.org/guide/en/#warning-sourcemap-is-likely-to-be-incorrect');
479
- const plugins = Array.from(new Set(warnings.map(w => w.plugin).filter(Boolean)));
480
- const detail = plugins.length > 1
481
- ? ` (such as ${plugins
482
- .slice(0, -1)
483
- .map(p => `'${p}'`)
484
- .join(', ')} and '${plugins.slice(-1)}')`
485
- : ` (such as '${plugins[0]}')`;
486
- stderr(`Plugins that transform code${detail} should generate accompanying sourcemaps`);
487
- },
488
- THIS_IS_UNDEFINED(warnings) {
489
- title('`this` has been rewritten to `undefined`');
490
- info('https://rollupjs.org/guide/en/#error-this-is-undefined');
491
- showTruncatedWarnings(warnings);
492
- },
493
- UNRESOLVED_IMPORT(warnings) {
494
- title('Unresolved dependencies');
495
- info('https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency');
496
- const dependencies = new Map();
497
- for (const warning of warnings) {
498
- if (!dependencies.has(warning.source))
499
- dependencies.set(warning.source, []);
500
- dependencies.get(warning.source).push(warning.importer);
501
- }
502
- for (const dependency of dependencies.keys()) {
503
- const importers = dependencies.get(dependency);
504
- stderr(`${turbocolor.bold(dependency)} (imported by ${importers.join(', ')})`);
505
- }
506
- },
507
- UNUSED_EXTERNAL_IMPORT(warnings) {
508
- title('Unused external imports');
509
- for (const warning of warnings) {
510
- stderr(`${warning.names} imported from external module '${warning.source}' but never used`);
1108
+
1109
+ // if any aliases reference each other, we should
1110
+ // merge them together.
1111
+ function combineAliases (aliases) {
1112
+ const aliasArrays = [];
1113
+ const combined = Object.create(null);
1114
+ let change = true;
1115
+
1116
+ // turn alias lookup hash {key: ['alias1', 'alias2']} into
1117
+ // a simple array ['key', 'alias1', 'alias2']
1118
+ Object.keys(aliases).forEach(function (key) {
1119
+ aliasArrays.push(
1120
+ [].concat(aliases[key], key)
1121
+ );
1122
+ });
1123
+
1124
+ // combine arrays until zero changes are
1125
+ // made in an iteration.
1126
+ while (change) {
1127
+ change = false;
1128
+ for (let i = 0; i < aliasArrays.length; i++) {
1129
+ for (let ii = i + 1; ii < aliasArrays.length; ii++) {
1130
+ const intersect = aliasArrays[i].filter(function (v) {
1131
+ return aliasArrays[ii].indexOf(v) !== -1
1132
+ });
1133
+
1134
+ if (intersect.length) {
1135
+ aliasArrays[i] = aliasArrays[i].concat(aliasArrays[ii]);
1136
+ aliasArrays.splice(ii, 1);
1137
+ change = true;
1138
+ break
511
1139
  }
1140
+ }
512
1141
  }
513
- };
514
- function title(str) {
515
- stderr(`${turbocolor.bold.yellow('(!)')} ${turbocolor.bold.yellow(str)}`);
516
- }
517
- function info(url) {
518
- stderr(turbocolor.gray(url));
1142
+ }
1143
+
1144
+ // map arrays back to the hash-lookup (de-dupe while
1145
+ // we're at it).
1146
+ aliasArrays.forEach(function (aliasArray) {
1147
+ aliasArray = aliasArray.filter(function (v, i, self) {
1148
+ return self.indexOf(v) === i
1149
+ });
1150
+ combined[aliasArray.pop()] = aliasArray;
1151
+ });
1152
+
1153
+ return combined
519
1154
  }
520
- function nest(array, prop) {
521
- const nested = [];
522
- const lookup = new Map();
523
- for (const item of array) {
524
- const key = item[prop];
525
- if (!lookup.has(key)) {
526
- lookup.set(key, {
527
- items: [],
528
- key
529
- });
530
- nested.push(lookup.get(key));
531
- }
532
- lookup.get(key).items.push(item);
533
- }
534
- return nested;
1155
+
1156
+ // this function should only be called when a count is given as an arg
1157
+ // it is NOT called to set a default value
1158
+ // thus we can start the count at 1 instead of 0
1159
+ function increment (orig) {
1160
+ return orig !== undefined ? orig + 1 : 1
535
1161
  }
536
- function showTruncatedWarnings(warnings) {
537
- const nestedByModule = nest(warnings, 'id');
538
- const displayedByModule = nestedByModule.length > 5 ? nestedByModule.slice(0, 3) : nestedByModule;
539
- for (const { key: id, items } of displayedByModule) {
540
- stderr(turbocolor.bold(index.relativeId(id)));
541
- stderr(turbocolor.gray(items[0].frame));
542
- if (items.length > 1) {
543
- stderr(`...and ${items.length - 1} other ${items.length > 2 ? 'occurrences' : 'occurrence'}`);
544
- }
545
- }
546
- if (nestedByModule.length > displayedByModule.length) {
547
- stderr(`\n...and ${nestedByModule.length - displayedByModule.length} other files`);
548
- }
1162
+
1163
+ function Parser (args, opts) {
1164
+ const result = parse(args.slice(), opts);
1165
+ return result.argv
549
1166
  }
550
1167
 
1168
+ // parse arguments and return detailed
1169
+ // meta information, aliases, etc.
1170
+ Parser.detailed = function (args, opts) {
1171
+ return parse(args.slice(), opts)
1172
+ };
1173
+
1174
+ // TODO(bcoe): in the next major version of yargs, switch to
1175
+ // Object.create(null) for dot notation:
1176
+ function sanitizeKey (key) {
1177
+ if (key === '__proto__') return '___proto___'
1178
+ return key
1179
+ }
1180
+
1181
+ var yargsParser = Parser;
1182
+
551
1183
  var parseMs = milliseconds => {
552
- if (typeof milliseconds !== 'number') {
553
- throw new TypeError('Expected a number');
554
- }
555
- const roundTowardsZero = milliseconds > 0 ? Math.floor : Math.ceil;
556
- return {
557
- days: roundTowardsZero(milliseconds / 86400000),
558
- hours: roundTowardsZero(milliseconds / 3600000) % 24,
559
- minutes: roundTowardsZero(milliseconds / 60000) % 60,
560
- seconds: roundTowardsZero(milliseconds / 1000) % 60,
561
- milliseconds: roundTowardsZero(milliseconds) % 1000,
562
- microseconds: roundTowardsZero(milliseconds * 1000) % 1000,
563
- nanoseconds: roundTowardsZero(milliseconds * 1e6) % 1000
564
- };
1184
+ if (typeof milliseconds !== 'number') {
1185
+ throw new TypeError('Expected a number');
1186
+ }
1187
+
1188
+ const roundTowardsZero = milliseconds > 0 ? Math.floor : Math.ceil;
1189
+
1190
+ return {
1191
+ days: roundTowardsZero(milliseconds / 86400000),
1192
+ hours: roundTowardsZero(milliseconds / 3600000) % 24,
1193
+ minutes: roundTowardsZero(milliseconds / 60000) % 60,
1194
+ seconds: roundTowardsZero(milliseconds / 1000) % 60,
1195
+ milliseconds: roundTowardsZero(milliseconds) % 1000,
1196
+ microseconds: roundTowardsZero(milliseconds * 1000) % 1000,
1197
+ nanoseconds: roundTowardsZero(milliseconds * 1e6) % 1000
1198
+ };
565
1199
  };
566
1200
 
567
- const pluralize = (word, count) => count === 1 ? word : word + 's';
1201
+ const pluralize = (word, count) => count === 1 ? word : `${word}s`;
1202
+
568
1203
  var prettyMs = (milliseconds, options = {}) => {
569
- if (!Number.isFinite(milliseconds)) {
570
- throw new TypeError('Expected a finite number');
571
- }
572
- if (options.colonNotation) {
573
- options.compact = false;
574
- options.formatSubMilliseconds = false;
575
- options.separateMilliseconds = false;
576
- options.verbose = false;
577
- }
578
- if (options.compact) {
579
- options.secondsDecimalDigits = 0;
580
- options.millisecondsDecimalDigits = 0;
581
- }
582
- const result = [];
583
- const add = (value, long, short, valueString) => {
584
- if ((result.length === 0 || !options.colonNotation) && value === 0 && !(options.colonNotation && short === 'm')) {
585
- return;
586
- }
587
- valueString = (valueString || value || '0').toString();
588
- let prefix;
589
- let suffix;
590
- if (options.colonNotation) {
591
- prefix = result.length > 0 ? ':' : '';
592
- suffix = '';
593
- const wholeDigits = valueString.includes('.') ? valueString.split('.')[0].length : valueString.length;
594
- const minLength = result.length > 0 ? 2 : 1;
595
- valueString = '0'.repeat(Math.max(0, minLength - wholeDigits)) + valueString;
596
- }
597
- else {
598
- prefix = '';
599
- suffix = options.verbose ? ' ' + pluralize(long, value) : short;
600
- }
601
- result.push(prefix + valueString + suffix);
602
- };
603
- const secondsDecimalDigits = typeof options.secondsDecimalDigits === 'number' ?
604
- options.secondsDecimalDigits :
605
- 1;
606
- if (secondsDecimalDigits < 1) {
607
- const difference = 1000 - (milliseconds % 1000);
608
- if (difference < 500) {
609
- milliseconds += difference;
610
- }
611
- }
612
- const parsed = parseMs(milliseconds);
613
- add(Math.trunc(parsed.days / 365), 'year', 'y');
614
- add(parsed.days % 365, 'day', 'd');
615
- add(parsed.hours, 'hour', 'h');
616
- add(parsed.minutes, 'minute', 'm');
617
- if (options.separateMilliseconds ||
618
- options.formatSubMilliseconds ||
619
- milliseconds < 1000) {
620
- add(parsed.seconds, 'second', 's');
621
- if (options.formatSubMilliseconds) {
622
- add(parsed.milliseconds, 'millisecond', 'ms');
623
- add(parsed.microseconds, 'microsecond', 'µs');
624
- add(parsed.nanoseconds, 'nanosecond', 'ns');
625
- }
626
- else {
627
- const millisecondsAndBelow = parsed.milliseconds +
628
- (parsed.microseconds / 1000) +
629
- (parsed.nanoseconds / 1e6);
630
- const millisecondsDecimalDigits = typeof options.millisecondsDecimalDigits === 'number' ?
631
- options.millisecondsDecimalDigits :
632
- 0;
633
- const millisecondsString = millisecondsDecimalDigits ?
634
- millisecondsAndBelow.toFixed(millisecondsDecimalDigits) :
635
- Math.ceil(millisecondsAndBelow);
636
- add(parseFloat(millisecondsString, 10), 'millisecond', 'ms', millisecondsString);
637
- }
638
- }
639
- else {
640
- const seconds = (milliseconds / 1000) % 60;
641
- const secondsDecimalDigits = typeof options.secondsDecimalDigits === 'number' ?
642
- options.secondsDecimalDigits :
643
- 1;
644
- const secondsFixed = seconds.toFixed(secondsDecimalDigits);
645
- const secondsString = options.keepDecimalsOnWholeSeconds ?
646
- secondsFixed :
647
- secondsFixed.replace(/\.0+$/, '');
648
- add(parseFloat(secondsString, 10), 'second', 's', secondsString);
649
- }
650
- if (result.length === 0) {
651
- return '0' + (options.verbose ? ' milliseconds' : 'ms');
652
- }
653
- if (options.compact) {
654
- return '~' + result[0];
655
- }
656
- if (typeof options.unitCount === 'number') {
657
- return '~' + result.slice(0, Math.max(options.unitCount, 1)).join(' ');
658
- }
659
- return options.colonNotation ? result.join('') : result.join(' ');
1204
+ if (!Number.isFinite(milliseconds)) {
1205
+ throw new TypeError('Expected a finite number');
1206
+ }
1207
+
1208
+ if (options.colonNotation) {
1209
+ options.compact = false;
1210
+ options.formatSubMilliseconds = false;
1211
+ options.separateMilliseconds = false;
1212
+ options.verbose = false;
1213
+ }
1214
+
1215
+ if (options.compact) {
1216
+ options.secondsDecimalDigits = 0;
1217
+ options.millisecondsDecimalDigits = 0;
1218
+ }
1219
+
1220
+ const result = [];
1221
+
1222
+ const add = (value, long, short, valueString) => {
1223
+ if ((result.length === 0 || !options.colonNotation) && value === 0 && !(options.colonNotation && short === 'm')) {
1224
+ return;
1225
+ }
1226
+
1227
+ valueString = (valueString || value || '0').toString();
1228
+ let prefix;
1229
+ let suffix;
1230
+ if (options.colonNotation) {
1231
+ prefix = result.length > 0 ? ':' : '';
1232
+ suffix = '';
1233
+ const wholeDigits = valueString.includes('.') ? valueString.split('.')[0].length : valueString.length;
1234
+ const minLength = result.length > 0 ? 2 : 1;
1235
+ valueString = '0'.repeat(Math.max(0, minLength - wholeDigits)) + valueString;
1236
+ } else {
1237
+ prefix = '';
1238
+ suffix = options.verbose ? ' ' + pluralize(long, value) : short;
1239
+ }
1240
+
1241
+ result.push(prefix + valueString + suffix);
1242
+ };
1243
+
1244
+ const secondsDecimalDigits =
1245
+ typeof options.secondsDecimalDigits === 'number' ?
1246
+ options.secondsDecimalDigits :
1247
+ 1;
1248
+
1249
+ if (secondsDecimalDigits < 1) {
1250
+ const difference = 1000 - (milliseconds % 1000);
1251
+ if (difference < 500) {
1252
+ milliseconds += difference;
1253
+ }
1254
+ }
1255
+
1256
+ // Round up milliseconds for values lager than 1 minute - 50ms since these
1257
+ // always need to be round up. This fixes issues when rounding seconds
1258
+ // independently of minutes later on.
1259
+ if (
1260
+ milliseconds >= (1000 * 60) - 50 &&
1261
+ !options.separateMilliseconds &&
1262
+ !options.formatSubMilliseconds
1263
+ ) {
1264
+ const difference = 60 - (milliseconds % 60);
1265
+ if (difference <= 50) {
1266
+ milliseconds += difference;
1267
+ }
1268
+ }
1269
+
1270
+ const parsed = parseMs(milliseconds);
1271
+
1272
+ add(Math.trunc(parsed.days / 365), 'year', 'y');
1273
+ add(parsed.days % 365, 'day', 'd');
1274
+ add(parsed.hours, 'hour', 'h');
1275
+ add(parsed.minutes, 'minute', 'm');
1276
+
1277
+ if (
1278
+ options.separateMilliseconds ||
1279
+ options.formatSubMilliseconds ||
1280
+ milliseconds < 1000
1281
+ ) {
1282
+ add(parsed.seconds, 'second', 's');
1283
+ if (options.formatSubMilliseconds) {
1284
+ add(parsed.milliseconds, 'millisecond', 'ms');
1285
+ add(parsed.microseconds, 'microsecond', 'µs');
1286
+ add(parsed.nanoseconds, 'nanosecond', 'ns');
1287
+ } else {
1288
+ const millisecondsAndBelow =
1289
+ parsed.milliseconds +
1290
+ (parsed.microseconds / 1000) +
1291
+ (parsed.nanoseconds / 1e6);
1292
+
1293
+ const millisecondsDecimalDigits =
1294
+ typeof options.millisecondsDecimalDigits === 'number' ?
1295
+ options.millisecondsDecimalDigits :
1296
+ 0;
1297
+
1298
+ const roundedMiliseconds = millisecondsAndBelow >= 1 ?
1299
+ Math.round(millisecondsAndBelow) :
1300
+ Math.ceil(millisecondsAndBelow);
1301
+
1302
+ const millisecondsString = millisecondsDecimalDigits ?
1303
+ millisecondsAndBelow.toFixed(millisecondsDecimalDigits) :
1304
+ roundedMiliseconds;
1305
+
1306
+ add(
1307
+ parseFloat(millisecondsString, 10),
1308
+ 'millisecond',
1309
+ 'ms',
1310
+ millisecondsString
1311
+ );
1312
+ }
1313
+ } else {
1314
+ const seconds = (milliseconds / 1000) % 60;
1315
+ const secondsDecimalDigits =
1316
+ typeof options.secondsDecimalDigits === 'number' ?
1317
+ options.secondsDecimalDigits :
1318
+ 1;
1319
+ const secondsFixed = seconds.toFixed(secondsDecimalDigits);
1320
+ const secondsString = options.keepDecimalsOnWholeSeconds ?
1321
+ secondsFixed :
1322
+ secondsFixed.replace(/\.0+$/, '');
1323
+ add(parseFloat(secondsString, 10), 'second', 's', secondsString);
1324
+ }
1325
+
1326
+ if (result.length === 0) {
1327
+ return '0' + (options.verbose ? ' milliseconds' : 'ms');
1328
+ }
1329
+
1330
+ if (options.compact) {
1331
+ return result[0];
1332
+ }
1333
+
1334
+ if (typeof options.unitCount === 'number') {
1335
+ const separator = options.colonNotation ? '' : ' ';
1336
+ return result.slice(0, Math.max(options.unitCount, 1)).join(separator);
1337
+ }
1338
+
1339
+ return options.colonNotation ? result.join('') : result.join(' ');
660
1340
  };
661
1341
 
662
1342
  let SOURCEMAPPING_URL = 'sourceMa';
@@ -664,27 +1344,29 @@ SOURCEMAPPING_URL += 'ppingURL';
664
1344
  var SOURCEMAPPING_URL$1 = SOURCEMAPPING_URL;
665
1345
 
666
1346
  const BYTE_UNITS = [
667
- 'B',
668
- 'kB',
669
- 'MB',
670
- 'GB',
671
- 'TB',
672
- 'PB',
673
- 'EB',
674
- 'ZB',
675
- 'YB'
1347
+ 'B',
1348
+ 'kB',
1349
+ 'MB',
1350
+ 'GB',
1351
+ 'TB',
1352
+ 'PB',
1353
+ 'EB',
1354
+ 'ZB',
1355
+ 'YB'
676
1356
  ];
1357
+
677
1358
  const BIT_UNITS = [
678
- 'b',
679
- 'kbit',
680
- 'Mbit',
681
- 'Gbit',
682
- 'Tbit',
683
- 'Pbit',
684
- 'Ebit',
685
- 'Zbit',
686
- 'Ybit'
1359
+ 'b',
1360
+ 'kbit',
1361
+ 'Mbit',
1362
+ 'Gbit',
1363
+ 'Tbit',
1364
+ 'Pbit',
1365
+ 'Ebit',
1366
+ 'Zbit',
1367
+ 'Ybit'
687
1368
  ];
1369
+
688
1370
  /*
689
1371
  Formats the given number using `Number#toLocaleString`.
690
1372
  - If locale is a string, the value is expected to be a locale-key (for example: `de`).
@@ -692,56 +1374,64 @@ Formats the given number using `Number#toLocaleString`.
692
1374
  - If no value for locale is specified, the number is returned unmodified.
693
1375
  */
694
1376
  const toLocaleString = (number, locale) => {
695
- let result = number;
696
- if (typeof locale === 'string') {
697
- result = number.toLocaleString(locale);
698
- }
699
- else if (locale === true) {
700
- result = number.toLocaleString();
701
- }
702
- return result;
1377
+ let result = number;
1378
+ if (typeof locale === 'string') {
1379
+ result = number.toLocaleString(locale);
1380
+ } else if (locale === true) {
1381
+ result = number.toLocaleString();
1382
+ }
1383
+
1384
+ return result;
703
1385
  };
1386
+
704
1387
  var prettyBytes = (number, options) => {
705
- if (!Number.isFinite(number)) {
706
- throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
707
- }
708
- options = Object.assign({ bits: false }, options);
709
- const UNITS = options.bits ? BIT_UNITS : BYTE_UNITS;
710
- if (options.signed && number === 0) {
711
- return ' 0 ' + UNITS[0];
712
- }
713
- const isNegative = number < 0;
714
- const prefix = isNegative ? '-' : (options.signed ? '+' : '');
715
- if (isNegative) {
716
- number = -number;
717
- }
718
- if (number < 1) {
719
- const numberString = toLocaleString(number, options.locale);
720
- return prefix + numberString + ' ' + UNITS[0];
721
- }
722
- const exponent = Math.min(Math.floor(Math.log10(number) / 3), UNITS.length - 1);
723
- // eslint-disable-next-line unicorn/prefer-exponentiation-operator
724
- number = Number((number / Math.pow(1000, exponent)).toPrecision(3));
725
- const numberString = toLocaleString(number, options.locale);
726
- const unit = UNITS[exponent];
727
- return prefix + numberString + ' ' + unit;
1388
+ if (!Number.isFinite(number)) {
1389
+ throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
1390
+ }
1391
+
1392
+ options = Object.assign({bits: false}, options);
1393
+ const UNITS = options.bits ? BIT_UNITS : BYTE_UNITS;
1394
+
1395
+ if (options.signed && number === 0) {
1396
+ return ' 0 ' + UNITS[0];
1397
+ }
1398
+
1399
+ const isNegative = number < 0;
1400
+ const prefix = isNegative ? '-' : (options.signed ? '+' : '');
1401
+
1402
+ if (isNegative) {
1403
+ number = -number;
1404
+ }
1405
+
1406
+ if (number < 1) {
1407
+ const numberString = toLocaleString(number, options.locale);
1408
+ return prefix + numberString + ' ' + UNITS[0];
1409
+ }
1410
+
1411
+ const exponent = Math.min(Math.floor(Math.log10(number) / 3), UNITS.length - 1);
1412
+ // eslint-disable-next-line unicorn/prefer-exponentiation-operator
1413
+ number = Number((number / Math.pow(1000, exponent)).toPrecision(3));
1414
+ const numberString = toLocaleString(number, options.locale);
1415
+
1416
+ const unit = UNITS[exponent];
1417
+
1418
+ return prefix + numberString + ' ' + unit;
728
1419
  };
729
1420
 
730
1421
  function printTimings(timings) {
731
1422
  Object.keys(timings).forEach(label => {
732
- const color = label[0] === '#' ? (label[1] !== '#' ? turbocolor.underline : turbocolor.bold) : (text) => text;
1423
+ const appliedColor = label[0] === '#' ? (label[1] !== '#' ? loadConfigFile_js.color.underline : loadConfigFile_js.color.bold) : (text) => text;
733
1424
  const [time, memory, total] = timings[label];
734
1425
  const row = `${label}: ${time.toFixed(0)}ms, ${prettyBytes(memory)} / ${prettyBytes(total)}`;
735
- console.info(color(row));
1426
+ console.info(appliedColor(row));
736
1427
  });
737
1428
  }
738
1429
 
739
- function build(inputOptions, outputOptions, warnings, silent = false) {
1430
+ async function build(inputOptions, warnings, silent = false) {
1431
+ const outputOptions = inputOptions.output;
740
1432
  const useStdout = !outputOptions[0].file && !outputOptions[0].dir;
741
1433
  const start = Date.now();
742
- const files = useStdout
743
- ? ['stdout']
744
- : outputOptions.map(t => index.relativeId(t.file || t.dir));
1434
+ const files = useStdout ? ['stdout'] : outputOptions.map((t) => rollup_js.relativeId(t.file || t.dir));
745
1435
  if (!silent) {
746
1436
  let inputFiles;
747
1437
  if (typeof inputOptions.input === 'string') {
@@ -752,421 +1442,491 @@ function build(inputOptions, outputOptions, warnings, silent = false) {
752
1442
  }
753
1443
  else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
754
1444
  inputFiles = Object.keys(inputOptions.input)
755
- .map(name => inputOptions.input[name])
1445
+ .map((name) => inputOptions.input[name])
756
1446
  .join(', ');
757
1447
  }
758
- stderr(turbocolor.cyan(`\n${turbocolor.bold(inputFiles)} → ${turbocolor.bold(files.join(', '))}...`));
759
- }
760
- return rollup_js.rollup(inputOptions)
761
- .then((bundle) => {
762
- if (useStdout) {
763
- const output = outputOptions[0];
764
- if (output.sourcemap && output.sourcemap !== 'inline') {
765
- handleError({
766
- code: 'MISSING_OUTPUT_OPTION',
767
- message: 'You must specify a --file (-o) option when creating a file with a sourcemap'
768
- });
1448
+ loadConfigFile_js.stderr(loadConfigFile_js.color.cyan(`\n${loadConfigFile_js.color.bold(inputFiles)} → ${loadConfigFile_js.color.bold(files.join(', '))}...`));
1449
+ }
1450
+ const bundle = await rollup_js.rollup(inputOptions);
1451
+ if (useStdout) {
1452
+ const output = outputOptions[0];
1453
+ if (output.sourcemap && output.sourcemap !== 'inline') {
1454
+ loadConfigFile_js.handleError({
1455
+ code: 'ONLY_INLINE_SOURCEMAPS',
1456
+ message: 'Only inline sourcemaps are supported when bundling to stdout.',
1457
+ });
1458
+ }
1459
+ const { output: outputs } = await bundle.generate(output);
1460
+ for (const file of outputs) {
1461
+ let source;
1462
+ if (file.type === 'asset') {
1463
+ source = file.source;
769
1464
  }
770
- return bundle.generate(output).then(({ output: outputs }) => {
771
- for (const file of outputs) {
772
- let source;
773
- if (file.type === 'asset') {
774
- source = file.source;
775
- }
776
- else {
777
- source = file.code;
778
- if (output.sourcemap === 'inline') {
779
- source += `\n//# ${SOURCEMAPPING_URL$1}=${file.map.toUrl()}\n`;
780
- }
781
- }
782
- if (outputs.length > 1)
783
- process.stdout.write('\n' + turbocolor.cyan(turbocolor.bold('//→ ' + file.fileName + ':')) + '\n');
784
- process.stdout.write(source);
1465
+ else {
1466
+ source = file.code;
1467
+ if (output.sourcemap === 'inline') {
1468
+ source += `\n//# ${SOURCEMAPPING_URL$1}=${file.map.toUrl()}\n`;
785
1469
  }
786
- return null;
787
- });
1470
+ }
1471
+ if (outputs.length > 1)
1472
+ process.stdout.write(`\n${loadConfigFile_js.color.cyan(loadConfigFile_js.color.bold(`//→ ${file.fileName}:`))}\n`);
1473
+ process.stdout.write(source);
788
1474
  }
789
- return Promise.all(outputOptions.map(output => bundle.write(output))).then(() => bundle);
790
- })
791
- .then((bundle) => {
792
1475
  if (!silent) {
793
1476
  warnings.flush();
794
- stderr(turbocolor.green(`created ${turbocolor.bold(files.join(', '))} in ${turbocolor.bold(prettyMs(Date.now() - start))}`));
795
- if (bundle && bundle.getTimings) {
796
- printTimings(bundle.getTimings());
797
- }
798
1477
  }
799
- })
800
- .catch((err) => {
1478
+ return;
1479
+ }
1480
+ await Promise.all(outputOptions.map(bundle.write));
1481
+ if (!silent) {
801
1482
  warnings.flush();
802
- handleError(err);
803
- });
804
- }
805
-
806
- function loadConfigFile(configFile, commandOptions = {}) {
807
- const silent = commandOptions.silent || false;
808
- const warnings = batchWarnings();
809
- return rollup_js.rollup({
810
- external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5, id.length) === '.json',
811
- input: configFile,
812
- onwarn: warnings.add,
813
- treeshake: false
814
- })
815
- .then((bundle) => {
816
- if (!silent && warnings.count > 0) {
817
- stderr(turbocolor.bold(`loaded ${index.relativeId(configFile)} with warnings`));
818
- warnings.flush();
1483
+ loadConfigFile_js.stderr(loadConfigFile_js.color.green(`created ${loadConfigFile_js.color.bold(files.join(', '))} in ${loadConfigFile_js.color.bold(prettyMs(Date.now() - start))}`));
1484
+ if (bundle && bundle.getTimings) {
1485
+ printTimings(bundle.getTimings());
819
1486
  }
820
- return bundle.generate({
821
- exports: 'named',
822
- format: 'cjs'
823
- });
824
- })
825
- .then(({ output: [{ code }] }) => {
826
- // temporarily override require
827
- const extension = path.extname(configFile);
828
- const defaultLoader = require.extensions[extension];
829
- require.extensions[extension] = (module, filename) => {
830
- if (filename === configFile) {
831
- module._compile(code, filename);
832
- }
833
- else {
834
- defaultLoader(module, filename);
835
- }
836
- };
837
- delete require.cache[configFile];
838
- return Promise.resolve(require(configFile))
839
- .then(configFileContent => {
840
- if (configFileContent.default)
841
- configFileContent = configFileContent.default;
842
- if (typeof configFileContent === 'function') {
843
- return configFileContent(commandOptions);
844
- }
845
- return configFileContent;
846
- })
847
- .then(configs => {
848
- if (Object.keys(configs).length === 0) {
849
- handleError({
850
- code: 'MISSING_CONFIG',
851
- message: 'Config file must export an options object, or an array of options objects',
852
- url: 'https://rollupjs.org/guide/en/#configuration-files'
853
- });
854
- }
855
- require.extensions[extension] = defaultLoader;
856
- return Array.isArray(configs) ? configs : [configs];
857
- });
858
- });
1487
+ }
859
1488
  }
860
1489
 
861
- const stdinName = '-';
862
- let stdinResult = null;
863
- function stdinPlugin() {
864
- return {
865
- name: 'stdin',
866
- resolveId(id) {
867
- if (id === stdinName) {
868
- return id;
1490
+ var modules = {};
1491
+
1492
+ var getModule = function(dir) {
1493
+ var rootPath = dir ? _events_commonjsExternal.sysPath.resolve(dir) : process.cwd();
1494
+ var rootName = _events_commonjsExternal.sysPath.join(rootPath, '@root');
1495
+ var root = modules[rootName];
1496
+ if (!root) {
1497
+ root = new module$1(rootName);
1498
+ root.filename = rootName;
1499
+ root.paths = module$1._nodeModulePaths(rootPath);
1500
+ modules[rootName] = root;
1501
+ }
1502
+ return root;
1503
+ };
1504
+
1505
+ var requireRelative = function(requested, relativeTo) {
1506
+ var root = getModule(relativeTo);
1507
+ return root.require(requested);
1508
+ };
1509
+
1510
+ requireRelative.resolve = function(requested, relativeTo) {
1511
+ var root = getModule(relativeTo);
1512
+ return module$1._resolveFilename(requested, root);
1513
+ };
1514
+
1515
+ var requireRelative_1 = requireRelative;
1516
+
1517
+ const DEFAULT_CONFIG_BASE = 'rollup.config';
1518
+ function getConfigPath(commandConfig) {
1519
+ const cwd = process.cwd();
1520
+ if (commandConfig === true) {
1521
+ return path.join(cwd, findConfigFileNameInCwd());
1522
+ }
1523
+ if (commandConfig.slice(0, 5) === 'node:') {
1524
+ const pkgName = commandConfig.slice(5);
1525
+ try {
1526
+ return requireRelative_1.resolve(`rollup-config-${pkgName}`, cwd);
1527
+ }
1528
+ catch (err) {
1529
+ try {
1530
+ return requireRelative_1.resolve(pkgName, cwd);
869
1531
  }
870
- },
871
- load(id) {
872
- if (id === stdinName) {
873
- return stdinResult || (stdinResult = readStdin());
1532
+ catch (err) {
1533
+ if (err.code === 'MODULE_NOT_FOUND') {
1534
+ loadConfigFile_js.handleError({
1535
+ code: 'MISSING_EXTERNAL_CONFIG',
1536
+ message: `Could not resolve config file "${commandConfig}"`
1537
+ });
1538
+ }
1539
+ throw err;
874
1540
  }
875
1541
  }
876
- };
1542
+ }
1543
+ return fs.realpathSync(commandConfig);
877
1544
  }
878
- function readStdin() {
879
- return new Promise((resolve, reject) => {
880
- const chunks = [];
881
- process.stdin.setEncoding('utf8');
882
- process.stdin
883
- .on('data', chunk => chunks.push(chunk))
884
- .on('end', () => {
885
- const result = chunks.join('');
886
- resolve(result);
887
- })
888
- .on('error', err => {
889
- reject(err);
890
- });
891
- });
1545
+ function findConfigFileNameInCwd() {
1546
+ const filesInWorkingDir = new Set(fs.readdirSync(process.cwd()));
1547
+ for (const extension of ['mjs', 'cjs']) {
1548
+ const fileName = `${DEFAULT_CONFIG_BASE}.${extension}`;
1549
+ if (filesInWorkingDir.has(fileName))
1550
+ return fileName;
1551
+ }
1552
+ return `${DEFAULT_CONFIG_BASE}.js`;
1553
+ }
1554
+
1555
+ function loadConfigFromCommand(command) {
1556
+ const warnings = loadConfigFile_js.batchWarnings();
1557
+ if (!command.input && (command.stdin || !process.stdin.isTTY)) {
1558
+ command.input = loadConfigFile_js.stdinName;
1559
+ }
1560
+ const options = mergeOptions.mergeOptions({ input: [] }, command, warnings.add);
1561
+ loadConfigFile_js.addCommandPluginsToInputOptions(options, command);
1562
+ return { options: [options], warnings };
892
1563
  }
893
1564
 
894
1565
  var timeZone = date => {
895
- const offset = (date || new Date()).getTimezoneOffset();
896
- const absOffset = Math.abs(offset);
897
- const hours = Math.floor(absOffset / 60);
898
- const minutes = absOffset % 60;
899
- const minutesOut = minutes > 0 ? ':' + ('0' + minutes).slice(-2) : '';
900
- return (offset < 0 ? '+' : '-') + hours + minutesOut;
1566
+ const offset = (date || new Date()).getTimezoneOffset();
1567
+ const absOffset = Math.abs(offset);
1568
+ const hours = Math.floor(absOffset / 60);
1569
+ const minutes = absOffset % 60;
1570
+ const minutesOut = minutes > 0 ? ':' + ('0' + minutes).slice(-2) : '';
1571
+
1572
+ return (offset < 0 ? '+' : '-') + hours + minutesOut;
901
1573
  };
902
1574
 
903
1575
  const dateTime = options => {
904
- options = Object.assign({
905
- date: new Date(),
906
- local: true,
907
- showTimeZone: false,
908
- showMilliseconds: false
909
- }, options);
910
- let { date } = options;
911
- if (options.local) {
912
- // Offset the date so it will return the correct value when getting the ISO string
913
- date = new Date(date.getTime() - (date.getTimezoneOffset() * 60000));
914
- }
915
- let end = '';
916
- if (options.showTimeZone) {
917
- end = ' UTC' + (options.local ? timeZone(date) : '');
918
- }
919
- if (options.showMilliseconds && date.getUTCMilliseconds() > 0) {
920
- end = ` ${date.getUTCMilliseconds()}ms${end}`;
921
- }
922
- return date
923
- .toISOString()
924
- .replace(/T/, ' ')
925
- .replace(/\..+/, end);
1576
+ options = Object.assign({
1577
+ date: new Date(),
1578
+ local: true,
1579
+ showTimeZone: false,
1580
+ showMilliseconds: false
1581
+ }, options);
1582
+
1583
+ let {date} = options;
1584
+
1585
+ if (options.local) {
1586
+ // Offset the date so it will return the correct value when getting the ISO string
1587
+ date = new Date(date.getTime() - (date.getTimezoneOffset() * 60000));
1588
+ }
1589
+
1590
+ let end = '';
1591
+
1592
+ if (options.showTimeZone) {
1593
+ end = ' UTC' + (options.local ? timeZone(date) : '');
1594
+ }
1595
+
1596
+ if (options.showMilliseconds && date.getUTCMilliseconds() > 0) {
1597
+ end = ` ${date.getUTCMilliseconds()}ms${end}`;
1598
+ }
1599
+
1600
+ return date
1601
+ .toISOString()
1602
+ .replace(/T/, ' ')
1603
+ .replace(/\..+/, end);
926
1604
  };
1605
+
927
1606
  var dateTime_1 = dateTime;
928
1607
  // TODO: Remove this for the next major release
929
- var default_1 = dateTime;
930
- dateTime_1.default = default_1;
931
-
932
- var signals = index.createCommonjsModule(function (module) {
933
- // This is not the set of all possible signals.
934
- //
935
- // It IS, however, the set of all signals that trigger
936
- // an exit on either Linux or BSD systems. Linux is a
937
- // superset of the signal names supported on BSD, and
938
- // the unknown signals just fail to register, so we can
939
- // catch that easily enough.
940
- //
941
- // Don't bother with SIGKILL. It's uncatchable, which
942
- // means that we can't fire any callbacks anyway.
943
- //
944
- // If a user does happen to register a handler on a non-
945
- // fatal signal like SIGWINCH or something, and then
946
- // exit, it'll end up firing `process.emit('exit')`, so
947
- // the handler will be fired anyway.
948
- //
949
- // SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised
950
- // artificially, inherently leave the process in a
951
- // state from which it is not safe to try and enter JS
952
- // listeners.
953
- module.exports = [
954
- 'SIGABRT',
955
- 'SIGALRM',
956
- 'SIGHUP',
957
- 'SIGINT',
958
- 'SIGTERM'
959
- ];
960
- if (process.platform !== 'win32') {
961
- module.exports.push('SIGVTALRM', 'SIGXCPU', 'SIGXFSZ', 'SIGUSR2', 'SIGTRAP', 'SIGSYS', 'SIGQUIT', 'SIGIOT'
962
- // should detect profiler and enable/disable accordingly.
963
- // see #21
964
- // 'SIGPROF'
965
- );
966
- }
967
- if (process.platform === 'linux') {
968
- module.exports.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT', 'SIGUNUSED');
969
- }
1608
+ var default_1$1 = dateTime;
1609
+ dateTime_1.default = default_1$1;
1610
+
1611
+ var signals = rollup_js.createCommonjsModule(function (module) {
1612
+ // This is not the set of all possible signals.
1613
+ //
1614
+ // It IS, however, the set of all signals that trigger
1615
+ // an exit on either Linux or BSD systems. Linux is a
1616
+ // superset of the signal names supported on BSD, and
1617
+ // the unknown signals just fail to register, so we can
1618
+ // catch that easily enough.
1619
+ //
1620
+ // Don't bother with SIGKILL. It's uncatchable, which
1621
+ // means that we can't fire any callbacks anyway.
1622
+ //
1623
+ // If a user does happen to register a handler on a non-
1624
+ // fatal signal like SIGWINCH or something, and then
1625
+ // exit, it'll end up firing `process.emit('exit')`, so
1626
+ // the handler will be fired anyway.
1627
+ //
1628
+ // SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised
1629
+ // artificially, inherently leave the process in a
1630
+ // state from which it is not safe to try and enter JS
1631
+ // listeners.
1632
+ module.exports = [
1633
+ 'SIGABRT',
1634
+ 'SIGALRM',
1635
+ 'SIGHUP',
1636
+ 'SIGINT',
1637
+ 'SIGTERM'
1638
+ ];
1639
+
1640
+ if (process.platform !== 'win32') {
1641
+ module.exports.push(
1642
+ 'SIGVTALRM',
1643
+ 'SIGXCPU',
1644
+ 'SIGXFSZ',
1645
+ 'SIGUSR2',
1646
+ 'SIGTRAP',
1647
+ 'SIGSYS',
1648
+ 'SIGQUIT',
1649
+ 'SIGIOT'
1650
+ // should detect profiler and enable/disable accordingly.
1651
+ // see #21
1652
+ // 'SIGPROF'
1653
+ );
1654
+ }
1655
+
1656
+ if (process.platform === 'linux') {
1657
+ module.exports.push(
1658
+ 'SIGIO',
1659
+ 'SIGPOLL',
1660
+ 'SIGPWR',
1661
+ 'SIGSTKFLT',
1662
+ 'SIGUNUSED'
1663
+ );
1664
+ }
970
1665
  });
971
1666
 
972
1667
  // Note: since nyc uses this module to output coverage, any lines
973
1668
  // that are in the direct sync flow of nyc's outputCoverage are
974
1669
  // ignored, since we can never get coverage for them.
1670
+
975
1671
  var signals$1 = signals;
976
- var EE = events;
1672
+ var isWin = /^win/i.test(process.platform);
1673
+
1674
+ var EE = _events_commonjsExternal.require$$0;
977
1675
  /* istanbul ignore if */
978
1676
  if (typeof EE !== 'function') {
979
- EE = EE.EventEmitter;
1677
+ EE = EE.EventEmitter;
980
1678
  }
1679
+
981
1680
  var emitter;
982
1681
  if (process.__signal_exit_emitter__) {
983
- emitter = process.__signal_exit_emitter__;
984
- }
985
- else {
986
- emitter = process.__signal_exit_emitter__ = new EE();
987
- emitter.count = 0;
988
- emitter.emitted = {};
1682
+ emitter = process.__signal_exit_emitter__;
1683
+ } else {
1684
+ emitter = process.__signal_exit_emitter__ = new EE();
1685
+ emitter.count = 0;
1686
+ emitter.emitted = {};
989
1687
  }
1688
+
990
1689
  // Because this emitter is a global, we have to check to see if a
991
1690
  // previous version of this library failed to enable infinite listeners.
992
1691
  // I know what you're about to say. But literally everything about
993
1692
  // signal-exit is a compromise with evil. Get used to it.
994
1693
  if (!emitter.infinite) {
995
- emitter.setMaxListeners(Infinity);
996
- emitter.infinite = true;
1694
+ emitter.setMaxListeners(Infinity);
1695
+ emitter.infinite = true;
997
1696
  }
1697
+
998
1698
  var signalExit = function (cb, opts) {
999
- assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
1000
- if (loaded === false) {
1001
- load();
1002
- }
1003
- var ev = 'exit';
1004
- if (opts && opts.alwaysLast) {
1005
- ev = 'afterexit';
1006
- }
1007
- var remove = function () {
1008
- emitter.removeListener(ev, cb);
1009
- if (emitter.listeners('exit').length === 0 &&
1010
- emitter.listeners('afterexit').length === 0) {
1011
- unload();
1012
- }
1013
- };
1014
- emitter.on(ev, cb);
1015
- return remove;
1699
+ assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
1700
+
1701
+ if (loaded === false) {
1702
+ load();
1703
+ }
1704
+
1705
+ var ev = 'exit';
1706
+ if (opts && opts.alwaysLast) {
1707
+ ev = 'afterexit';
1708
+ }
1709
+
1710
+ var remove = function () {
1711
+ emitter.removeListener(ev, cb);
1712
+ if (emitter.listeners('exit').length === 0 &&
1713
+ emitter.listeners('afterexit').length === 0) {
1714
+ unload();
1715
+ }
1716
+ };
1717
+ emitter.on(ev, cb);
1718
+
1719
+ return remove
1016
1720
  };
1721
+
1017
1722
  var unload_1 = unload;
1018
- function unload() {
1019
- if (!loaded) {
1020
- return;
1021
- }
1022
- loaded = false;
1023
- signals$1.forEach(function (sig) {
1024
- try {
1025
- process.removeListener(sig, sigListeners[sig]);
1026
- }
1027
- catch (er) { }
1028
- });
1029
- process.emit = originalProcessEmit;
1030
- process.reallyExit = originalProcessReallyExit;
1031
- emitter.count -= 1;
1723
+ function unload () {
1724
+ if (!loaded) {
1725
+ return
1726
+ }
1727
+ loaded = false;
1728
+
1729
+ signals$1.forEach(function (sig) {
1730
+ try {
1731
+ process.removeListener(sig, sigListeners[sig]);
1732
+ } catch (er) {}
1733
+ });
1734
+ process.emit = originalProcessEmit;
1735
+ process.reallyExit = originalProcessReallyExit;
1736
+ emitter.count -= 1;
1032
1737
  }
1033
- function emit(event, code, signal) {
1034
- if (emitter.emitted[event]) {
1035
- return;
1036
- }
1037
- emitter.emitted[event] = true;
1038
- emitter.emit(event, code, signal);
1738
+
1739
+ function emit (event, code, signal) {
1740
+ if (emitter.emitted[event]) {
1741
+ return
1742
+ }
1743
+ emitter.emitted[event] = true;
1744
+ emitter.emit(event, code, signal);
1039
1745
  }
1746
+
1040
1747
  // { <signal>: <listener fn>, ... }
1041
1748
  var sigListeners = {};
1042
1749
  signals$1.forEach(function (sig) {
1043
- sigListeners[sig] = function listener() {
1044
- // If there are no other listeners, an exit is coming!
1045
- // Simplest way: remove us and then re-send the signal.
1046
- // We know that this will kill the process, so we can
1047
- // safely emit now.
1048
- var listeners = process.listeners(sig);
1049
- if (listeners.length === emitter.count) {
1050
- unload();
1051
- emit('exit', null, sig);
1052
- /* istanbul ignore next */
1053
- emit('afterexit', null, sig);
1054
- /* istanbul ignore next */
1055
- process.kill(process.pid, sig);
1056
- }
1057
- };
1750
+ sigListeners[sig] = function listener () {
1751
+ // If there are no other listeners, an exit is coming!
1752
+ // Simplest way: remove us and then re-send the signal.
1753
+ // We know that this will kill the process, so we can
1754
+ // safely emit now.
1755
+ var listeners = process.listeners(sig);
1756
+ if (listeners.length === emitter.count) {
1757
+ unload();
1758
+ emit('exit', null, sig);
1759
+ /* istanbul ignore next */
1760
+ emit('afterexit', null, sig);
1761
+ /* istanbul ignore next */
1762
+ if (isWin && sig === 'SIGHUP') {
1763
+ // "SIGHUP" throws an `ENOSYS` error on Windows,
1764
+ // so use a supported signal instead
1765
+ sig = 'SIGINT';
1766
+ }
1767
+ process.kill(process.pid, sig);
1768
+ }
1769
+ };
1058
1770
  });
1771
+
1059
1772
  var signals_1 = function () {
1060
- return signals$1;
1773
+ return signals$1
1061
1774
  };
1775
+
1062
1776
  var load_1 = load;
1777
+
1063
1778
  var loaded = false;
1064
- function load() {
1065
- if (loaded) {
1066
- return;
1779
+
1780
+ function load () {
1781
+ if (loaded) {
1782
+ return
1783
+ }
1784
+ loaded = true;
1785
+
1786
+ // This is the number of onSignalExit's that are in play.
1787
+ // It's important so that we can count the correct number of
1788
+ // listeners on signals, and don't wait for the other one to
1789
+ // handle it instead of us.
1790
+ emitter.count += 1;
1791
+
1792
+ signals$1 = signals$1.filter(function (sig) {
1793
+ try {
1794
+ process.on(sig, sigListeners[sig]);
1795
+ return true
1796
+ } catch (er) {
1797
+ return false
1067
1798
  }
1068
- loaded = true;
1069
- // This is the number of onSignalExit's that are in play.
1070
- // It's important so that we can count the correct number of
1071
- // listeners on signals, and don't wait for the other one to
1072
- // handle it instead of us.
1073
- emitter.count += 1;
1074
- signals$1 = signals$1.filter(function (sig) {
1075
- try {
1076
- process.on(sig, sigListeners[sig]);
1077
- return true;
1078
- }
1079
- catch (er) {
1080
- return false;
1081
- }
1082
- });
1083
- process.emit = processEmit;
1084
- process.reallyExit = processReallyExit;
1799
+ });
1800
+
1801
+ process.emit = processEmit;
1802
+ process.reallyExit = processReallyExit;
1085
1803
  }
1804
+
1086
1805
  var originalProcessReallyExit = process.reallyExit;
1087
- function processReallyExit(code) {
1088
- process.exitCode = code || 0;
1089
- emit('exit', process.exitCode, null);
1090
- /* istanbul ignore next */
1091
- emit('afterexit', process.exitCode, null);
1092
- /* istanbul ignore next */
1093
- originalProcessReallyExit.call(process, process.exitCode);
1806
+ function processReallyExit (code) {
1807
+ process.exitCode = code || 0;
1808
+ emit('exit', process.exitCode, null);
1809
+ /* istanbul ignore next */
1810
+ emit('afterexit', process.exitCode, null);
1811
+ /* istanbul ignore next */
1812
+ originalProcessReallyExit.call(process, process.exitCode);
1094
1813
  }
1814
+
1095
1815
  var originalProcessEmit = process.emit;
1096
- function processEmit(ev, arg) {
1097
- if (ev === 'exit') {
1098
- if (arg !== undefined) {
1099
- process.exitCode = arg;
1100
- }
1101
- var ret = originalProcessEmit.apply(this, arguments);
1102
- emit('exit', process.exitCode, null);
1103
- /* istanbul ignore next */
1104
- emit('afterexit', process.exitCode, null);
1105
- return ret;
1106
- }
1107
- else {
1108
- return originalProcessEmit.apply(this, arguments);
1816
+ function processEmit (ev, arg) {
1817
+ if (ev === 'exit') {
1818
+ if (arg !== undefined) {
1819
+ process.exitCode = arg;
1109
1820
  }
1821
+ var ret = originalProcessEmit.apply(this, arguments);
1822
+ emit('exit', process.exitCode, null);
1823
+ /* istanbul ignore next */
1824
+ emit('afterexit', process.exitCode, null);
1825
+ return ret
1826
+ } else {
1827
+ return originalProcessEmit.apply(this, arguments)
1828
+ }
1110
1829
  }
1111
1830
  signalExit.unload = unload_1;
1112
1831
  signalExit.signals = signals_1;
1113
1832
  signalExit.load = load_1;
1114
1833
 
1115
1834
  const CLEAR_SCREEN = '\u001Bc';
1116
- function getResetScreen(clearScreen) {
1835
+ function getResetScreen(configs, allowClearScreen) {
1836
+ let clearScreen = allowClearScreen;
1837
+ for (const config of configs) {
1838
+ if (config.watch && config.watch.clearScreen === false) {
1839
+ clearScreen = false;
1840
+ }
1841
+ }
1117
1842
  if (clearScreen) {
1118
- return (heading) => stderr(CLEAR_SCREEN + heading);
1843
+ return (heading) => loadConfigFile_js.stderr(CLEAR_SCREEN + heading);
1119
1844
  }
1120
1845
  let firstRun = true;
1121
1846
  return (heading) => {
1122
1847
  if (firstRun) {
1123
- stderr(heading);
1848
+ loadConfigFile_js.stderr(heading);
1124
1849
  firstRun = false;
1125
1850
  }
1126
1851
  };
1127
1852
  }
1128
1853
 
1129
- function watch(configFile, configs, command, silent = false) {
1130
- const isTTY = Boolean(process.stderr.isTTY);
1131
- const warnings = batchWarnings();
1132
- const initialConfigs = processConfigs(configs);
1133
- const clearScreen = initialConfigs.every(config => config.watch.clearScreen !== false);
1134
- const resetScreen = getResetScreen(isTTY && clearScreen);
1854
+ async function watch(command) {
1855
+ process.env.ROLLUP_WATCH = 'true';
1856
+ const isTTY = process.stderr.isTTY;
1857
+ const silent = command.silent;
1858
+ let configs;
1859
+ let warnings;
1135
1860
  let watcher;
1136
1861
  let configWatcher;
1137
- function processConfigs(configs) {
1138
- return configs.map(options => {
1139
- const merged = index.mergeOptions({
1140
- command,
1141
- config: options,
1142
- defaultOnWarnHandler: warnings.add
1143
- });
1144
- const result = Object.assign(Object.assign({}, merged.inputOptions), { output: merged.outputOptions });
1145
- if (!result.watch)
1146
- result.watch = {};
1147
- if (merged.optionError)
1148
- merged.inputOptions.onwarn({
1149
- code: 'UNKNOWN_OPTION',
1150
- message: merged.optionError
1151
- });
1152
- return result;
1862
+ const configFile = command.config ? getConfigPath(command.config) : null;
1863
+ signalExit(close);
1864
+ process.on('uncaughtException', close);
1865
+ if (!process.stdin.isTTY) {
1866
+ process.stdin.on('end', close);
1867
+ process.stdin.resume();
1868
+ }
1869
+ if (configFile) {
1870
+ let reloadingConfig = false;
1871
+ let aborted = false;
1872
+ let configFileData = null;
1873
+ configWatcher = fs.watch(configFile, (event) => {
1874
+ if (event === 'change')
1875
+ reloadConfigFile();
1153
1876
  });
1877
+ await reloadConfigFile();
1878
+ async function reloadConfigFile() {
1879
+ try {
1880
+ const newConfigFileData = fs.readFileSync(configFile, 'utf-8');
1881
+ if (newConfigFileData === configFileData) {
1882
+ return;
1883
+ }
1884
+ if (reloadingConfig) {
1885
+ aborted = true;
1886
+ return;
1887
+ }
1888
+ if (configFileData) {
1889
+ loadConfigFile_js.stderr(`\nReloading updated config...`);
1890
+ }
1891
+ configFileData = newConfigFileData;
1892
+ reloadingConfig = true;
1893
+ ({ options: configs, warnings } = await loadConfigFile_js.loadAndParseConfigFile(configFile, command));
1894
+ reloadingConfig = false;
1895
+ if (aborted) {
1896
+ aborted = false;
1897
+ reloadConfigFile();
1898
+ }
1899
+ else {
1900
+ if (watcher) {
1901
+ watcher.close();
1902
+ }
1903
+ start(configs);
1904
+ }
1905
+ }
1906
+ catch (err) {
1907
+ configs = [];
1908
+ reloadingConfig = false;
1909
+ loadConfigFile_js.handleError(err, true);
1910
+ }
1911
+ }
1912
+ }
1913
+ else {
1914
+ ({ options: configs, warnings } = await loadConfigFromCommand(command));
1915
+ start(configs);
1154
1916
  }
1917
+ // tslint:disable-next-line:no-unnecessary-type-assertion
1918
+ const resetScreen = getResetScreen(configs, isTTY);
1155
1919
  function start(configs) {
1156
1920
  watcher = rollup_js.watch(configs);
1157
1921
  watcher.on('event', (event) => {
1158
1922
  switch (event.code) {
1159
- case 'FATAL':
1160
- handleError(event.error, true);
1161
- process.exit(1);
1162
- break;
1163
1923
  case 'ERROR':
1164
1924
  warnings.flush();
1165
- handleError(event.error, true);
1925
+ loadConfigFile_js.handleError(event.error, true);
1166
1926
  break;
1167
1927
  case 'START':
1168
1928
  if (!silent) {
1169
- resetScreen(turbocolor.underline(`rollup v${index.version}`));
1929
+ resetScreen(loadConfigFile_js.color.underline(`rollup v${rollup_js.version}`));
1170
1930
  }
1171
1931
  break;
1172
1932
  case 'BUNDLE_START':
@@ -1176,36 +1936,28 @@ function watch(configFile, configs, command, silent = false) {
1176
1936
  input = Array.isArray(input)
1177
1937
  ? input.join(', ')
1178
1938
  : Object.keys(input)
1179
- .map(key => input[key])
1939
+ .map((key) => input[key])
1180
1940
  .join(', ');
1181
1941
  }
1182
- stderr(turbocolor.cyan(`bundles ${turbocolor.bold(input)} → ${turbocolor.bold(event.output.map(index.relativeId).join(', '))}...`));
1942
+ loadConfigFile_js.stderr(loadConfigFile_js.color.cyan(`bundles ${loadConfigFile_js.color.bold(input)} → ${loadConfigFile_js.color.bold(event.output.map(rollup_js.relativeId).join(', '))}...`));
1183
1943
  }
1184
1944
  break;
1185
1945
  case 'BUNDLE_END':
1186
1946
  warnings.flush();
1187
1947
  if (!silent)
1188
- stderr(turbocolor.green(`created ${turbocolor.bold(event.output.map(index.relativeId).join(', '))} in ${turbocolor.bold(prettyMs(event.duration))}`));
1948
+ loadConfigFile_js.stderr(loadConfigFile_js.color.green(`created ${loadConfigFile_js.color.bold(event.output.map(rollup_js.relativeId).join(', '))} in ${loadConfigFile_js.color.bold(prettyMs(event.duration))}`));
1189
1949
  if (event.result && event.result.getTimings) {
1190
1950
  printTimings(event.result.getTimings());
1191
1951
  }
1192
1952
  break;
1193
1953
  case 'END':
1194
1954
  if (!silent && isTTY) {
1195
- stderr(`\n[${dateTime_1()}] waiting for changes...`);
1955
+ loadConfigFile_js.stderr(`\n[${dateTime_1()}] waiting for changes...`);
1196
1956
  }
1197
1957
  }
1198
1958
  });
1199
1959
  }
1200
- // catch ctrl+c, kill, and uncaught errors
1201
- const removeOnExit = signalExit(close);
1202
- process.on('uncaughtException', close);
1203
- // only listen to stdin if it is a pipe
1204
- if (!process.stdin.isTTY) {
1205
- process.stdin.on('end', close); // in case we ever support stdin!
1206
- }
1207
- function close(err) {
1208
- removeOnExit();
1960
+ function close(code) {
1209
1961
  process.removeListener('uncaughtException', close);
1210
1962
  // removing a non-existent listener is a no-op
1211
1963
  process.stdin.removeListener('end', close);
@@ -1213,62 +1965,19 @@ function watch(configFile, configs, command, silent = false) {
1213
1965
  watcher.close();
1214
1966
  if (configWatcher)
1215
1967
  configWatcher.close();
1216
- if (err) {
1217
- console.error(err);
1218
- process.exit(1);
1968
+ if (code) {
1969
+ process.exit(code);
1219
1970
  }
1220
1971
  }
1221
- try {
1222
- start(initialConfigs);
1223
- }
1224
- catch (err) {
1225
- close(err);
1226
- return;
1227
- }
1228
- if (configFile && !configFile.startsWith('node:')) {
1229
- let restarting = false;
1230
- let aborted = false;
1231
- let configFileData = fs.readFileSync(configFile, 'utf-8');
1232
- const restart = () => {
1233
- const newConfigFileData = fs.readFileSync(configFile, 'utf-8');
1234
- if (newConfigFileData === configFileData)
1235
- return;
1236
- configFileData = newConfigFileData;
1237
- if (restarting) {
1238
- aborted = true;
1239
- return;
1240
- }
1241
- restarting = true;
1242
- loadConfigFile(configFile, command)
1243
- .then(() => {
1244
- restarting = false;
1245
- if (aborted) {
1246
- aborted = false;
1247
- restart();
1248
- }
1249
- else {
1250
- watcher.close();
1251
- start(initialConfigs);
1252
- }
1253
- })
1254
- .catch((err) => {
1255
- handleError(err, true);
1256
- });
1257
- };
1258
- configWatcher = fs.watch(configFile, (event) => {
1259
- if (event === 'change')
1260
- restart();
1261
- });
1262
- }
1263
1972
  }
1264
1973
 
1265
- function runRollup(command) {
1974
+ async function runRollup(command) {
1266
1975
  let inputSource;
1267
1976
  if (command._.length > 0) {
1268
1977
  if (command.input) {
1269
- handleError({
1978
+ loadConfigFile_js.handleError({
1270
1979
  code: 'DUPLICATE_IMPORT_OPTIONS',
1271
- message: 'use --input, or pass input path as argument'
1980
+ message: 'Either use --input, or pass input path as argument',
1272
1981
  });
1273
1982
  }
1274
1983
  inputSource = command._;
@@ -1287,7 +1996,7 @@ function runRollup(command) {
1287
1996
  const value = input.substr(equalsIndex + 1);
1288
1997
  let key = input.substr(0, equalsIndex);
1289
1998
  if (!key)
1290
- key = index.getAliasName(input);
1999
+ key = rollup_js.getAliasName(input);
1291
2000
  command.input[key] = value;
1292
2001
  });
1293
2002
  }
@@ -1311,78 +2020,45 @@ function runRollup(command) {
1311
2020
  });
1312
2021
  });
1313
2022
  }
1314
- let configFile = command.config === true ? 'rollup.config.js' : command.config;
1315
- if (configFile) {
1316
- if (configFile.slice(0, 5) === 'node:') {
1317
- const pkgName = configFile.slice(5);
2023
+ if (command.watch) {
2024
+ watch(command);
2025
+ }
2026
+ else {
2027
+ try {
2028
+ const { options, warnings } = await getConfigs(command);
1318
2029
  try {
1319
- configFile = index.relative.resolve(`rollup-config-${pkgName}`, process.cwd());
2030
+ for (const inputOptions of options) {
2031
+ await build(inputOptions, warnings, command.silent);
2032
+ }
1320
2033
  }
1321
2034
  catch (err) {
1322
- try {
1323
- configFile = index.relative.resolve(pkgName, process.cwd());
1324
- }
1325
- catch (err) {
1326
- if (err.code === 'MODULE_NOT_FOUND') {
1327
- handleError({
1328
- code: 'MISSING_EXTERNAL_CONFIG',
1329
- message: `Could not resolve config file ${configFile}`
1330
- });
1331
- }
1332
- throw err;
1333
- }
2035
+ warnings.flush();
2036
+ loadConfigFile_js.handleError(err);
1334
2037
  }
1335
2038
  }
1336
- else {
1337
- // find real path of config so it matches what Node provides to callbacks in require.extensions
1338
- configFile = fs.realpathSync(configFile);
1339
- }
1340
- if (command.watch)
1341
- process.env.ROLLUP_WATCH = 'true';
1342
- return loadConfigFile(configFile, command)
1343
- .then(configs => execute(configFile, configs, command))
1344
- .catch(handleError);
1345
- }
1346
- else {
1347
- if (!command.input && (command.stdin || !process.stdin.isTTY)) {
1348
- command.input = stdinName;
2039
+ catch (err) {
2040
+ loadConfigFile_js.handleError(err);
1349
2041
  }
1350
- return execute(configFile, [{ input: [] }], command);
1351
2042
  }
1352
2043
  }
1353
- function execute(configFile, configs, command) {
1354
- return index.__awaiter(this, void 0, void 0, function* () {
1355
- if (command.watch) {
1356
- watch(configFile, configs, command, command.silent);
1357
- }
1358
- else {
1359
- for (const config of configs) {
1360
- const warnings = batchWarnings();
1361
- const { inputOptions, outputOptions, optionError } = index.mergeOptions({
1362
- command,
1363
- config,
1364
- defaultOnWarnHandler: warnings.add
1365
- });
1366
- if (optionError) {
1367
- inputOptions.onwarn({ code: 'UNKNOWN_OPTION', message: optionError });
1368
- }
1369
- if (command.stdin !== false) {
1370
- inputOptions.plugins.push(stdinPlugin());
1371
- }
1372
- yield build(inputOptions, outputOptions, warnings, command.silent);
1373
- }
1374
- }
1375
- });
2044
+ async function getConfigs(command) {
2045
+ if (command.config) {
2046
+ const configFile = getConfigPath(command.config);
2047
+ const { options, warnings } = await loadConfigFile_js.loadAndParseConfigFile(configFile, command);
2048
+ return { options, warnings };
2049
+ }
2050
+ return loadConfigFromCommand(command);
1376
2051
  }
1377
2052
 
1378
- const command = minimist(process.argv.slice(2), {
1379
- alias: index.commandAliases
2053
+ const command = yargsParser(process.argv.slice(2), {
2054
+ alias: mergeOptions.commandAliases,
2055
+ configuration: { 'camel-case-expansion': false }
1380
2056
  });
1381
2057
  if (command.help || (process.argv.length <= 2 && process.stdin.isTTY)) {
1382
- console.log(`\n${help.replace('__VERSION__', index.version)}\n`);
2058
+ console.log(`\n${help.replace('__VERSION__', rollup_js.version)}\n`);
1383
2059
  }
1384
2060
  else if (command.version) {
1385
- console.log(`rollup v${index.version}`);
2061
+ console.log(`rollup v${rollup_js.version}`);
1386
2062
  }
1387
2063
  else {
1388
2064
  try {