isomorfeus-preact 10.5.7 → 10.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (869) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +28 -1
  3. data/lib/isomorfeus/preact/imports.rb +0 -7
  4. data/lib/isomorfeus-preact.rb +3 -0
  5. data/lib/lucid_app/context.rb +12 -12
  6. data/lib/nano_css.rb +464 -0
  7. data/lib/preact/version.rb +1 -1
  8. data/node_modules/.package-lock.json +0 -230
  9. data/package.json +0 -1
  10. metadata +5 -863
  11. data/node_modules/.bin/loose-envify +0 -12
  12. data/node_modules/.bin/loose-envify.cmd +0 -17
  13. data/node_modules/.bin/loose-envify.ps1 +0 -28
  14. data/node_modules/@babel/runtime/LICENSE +0 -22
  15. data/node_modules/@babel/runtime/README.md +0 -19
  16. data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -99
  17. data/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -6
  18. data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -31
  19. data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -12
  20. data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -6
  21. data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -8
  22. data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -10
  23. data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -57
  24. data/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -16
  25. data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -38
  26. data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -8
  27. data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -8
  28. data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -23
  29. data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -10
  30. data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -14
  31. data/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -8
  32. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -8
  33. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -8
  34. data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -10
  35. data/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -6
  36. data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -11
  37. data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -11
  38. data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -9
  39. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -10
  40. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -8
  41. data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -12
  42. data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -10
  43. data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -9
  44. data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -6
  45. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -14
  46. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -14
  47. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -15
  48. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -9
  49. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -6
  50. data/node_modules/@babel/runtime/helpers/construct.js +0 -26
  51. data/node_modules/@babel/runtime/helpers/createClass.js +0 -18
  52. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -61
  53. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -25
  54. data/node_modules/@babel/runtime/helpers/createSuper.js +0 -25
  55. data/node_modules/@babel/runtime/helpers/decorate.js +0 -401
  56. data/node_modules/@babel/runtime/helpers/defaults.js +0 -17
  57. data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -25
  58. data/node_modules/@babel/runtime/helpers/defineProperty.js +0 -17
  59. data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  60. data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  61. data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  62. data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  63. data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  64. data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  65. data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  66. data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  67. data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -13
  68. data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  69. data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  70. data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  71. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  72. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  73. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  74. data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  75. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  76. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  77. data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  78. data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  79. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  80. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  81. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  82. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  83. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  84. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  85. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  86. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  87. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  88. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  89. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  90. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  91. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  92. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  93. data/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  94. data/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  95. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  96. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  97. data/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  98. data/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  99. data/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  100. data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  101. data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  102. data/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
  103. data/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  104. data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  105. data/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -15
  106. data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  107. data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  108. data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  109. data/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  110. data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  111. data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  112. data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  113. data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  114. data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  115. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  116. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  117. data/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -46
  118. data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  119. data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  120. data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  121. data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  122. data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  123. data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  124. data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -39
  125. data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  126. data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  127. data/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  128. data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  129. data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  130. data/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  131. data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
  132. data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  133. data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  134. data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  135. data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  136. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  137. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  138. data/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  139. data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  140. data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  141. data/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  142. data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  143. data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  144. data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  145. data/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  146. data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  147. data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  148. data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  149. data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -65
  150. data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  151. data/node_modules/@babel/runtime/helpers/extends.js +0 -21
  152. data/node_modules/@babel/runtime/helpers/get.js +0 -27
  153. data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -10
  154. data/node_modules/@babel/runtime/helpers/inherits.js +0 -19
  155. data/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -10
  156. data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -12
  157. data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -6
  158. data/node_modules/@babel/runtime/helpers/instanceof.js +0 -10
  159. data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -8
  160. data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -54
  161. data/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -6
  162. data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -15
  163. data/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -6
  164. data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -32
  165. data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -17
  166. data/node_modules/@babel/runtime/helpers/jsx.js +0 -50
  167. data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -13
  168. data/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -8
  169. data/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -6
  170. data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -6
  171. data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -6
  172. data/node_modules/@babel/runtime/helpers/objectSpread.js +0 -23
  173. data/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -42
  174. data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -23
  175. data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -17
  176. data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -16
  177. data/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -6
  178. data/node_modules/@babel/runtime/helpers/set.js +0 -55
  179. data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -12
  180. data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -10
  181. data/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -14
  182. data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -14
  183. data/node_modules/@babel/runtime/helpers/superPropBase.js +0 -13
  184. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -14
  185. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -11
  186. data/node_modules/@babel/runtime/helpers/tdz.js +0 -6
  187. data/node_modules/@babel/runtime/helpers/temporalRef.js +0 -10
  188. data/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -4
  189. data/node_modules/@babel/runtime/helpers/toArray.js +0 -14
  190. data/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -14
  191. data/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -17
  192. data/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -11
  193. data/node_modules/@babel/runtime/helpers/typeof.js +0 -22
  194. data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -13
  195. data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -10
  196. data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -45
  197. data/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -72
  198. data/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -6
  199. data/node_modules/@babel/runtime/package.json +0 -848
  200. data/node_modules/@babel/runtime/regenerator/index.js +0 -1
  201. data/node_modules/css-in-js-utils/Changelog.md +0 -16
  202. data/node_modules/css-in-js-utils/LICENSE +0 -21
  203. data/node_modules/css-in-js-utils/README.md +0 -241
  204. data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +0 -117
  205. data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +0 -15
  206. data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +0 -15
  207. data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +0 -31
  208. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +0 -19
  209. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +0 -19
  210. data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +0 -43
  211. data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +0 -21
  212. data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +0 -17
  213. data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +0 -19
  214. data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +0 -20
  215. data/node_modules/css-in-js-utils/lib/assignStyle.js +0 -37
  216. data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +0 -15
  217. data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +0 -17
  218. data/node_modules/css-in-js-utils/lib/cssifyObject.js +0 -34
  219. data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +0 -17
  220. data/node_modules/css-in-js-utils/lib/index.js +0 -71
  221. data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +0 -12
  222. data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +0 -12
  223. data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +0 -64
  224. data/node_modules/css-in-js-utils/lib/normalizeProperty.js +0 -21
  225. data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +0 -19
  226. data/node_modules/css-in-js-utils/lib/unprefixProperty.js +0 -13
  227. data/node_modules/css-in-js-utils/lib/unprefixValue.js +0 -16
  228. data/node_modules/css-in-js-utils/package.json +0 -56
  229. data/node_modules/css-tree/CHANGELOG.md +0 -590
  230. data/node_modules/css-tree/LICENSE +0 -19
  231. data/node_modules/css-tree/README.md +0 -130
  232. data/node_modules/css-tree/data/index.js +0 -103
  233. data/node_modules/css-tree/data/patch.json +0 -721
  234. data/node_modules/css-tree/dist/csstree.js +0 -12606
  235. data/node_modules/css-tree/dist/csstree.min.js +0 -1
  236. data/node_modules/css-tree/lib/common/List.js +0 -576
  237. data/node_modules/css-tree/lib/common/OffsetToLocation.js +0 -91
  238. data/node_modules/css-tree/lib/common/SyntaxError.js +0 -82
  239. data/node_modules/css-tree/lib/common/TokenStream.js +0 -219
  240. data/node_modules/css-tree/lib/common/adopt-buffer.js +0 -10
  241. data/node_modules/css-tree/lib/convertor/create.js +0 -28
  242. data/node_modules/css-tree/lib/convertor/index.js +0 -3
  243. data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +0 -14
  244. data/node_modules/css-tree/lib/definition-syntax/generate.js +0 -129
  245. data/node_modules/css-tree/lib/definition-syntax/index.js +0 -6
  246. data/node_modules/css-tree/lib/definition-syntax/parse.js +0 -568
  247. data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +0 -55
  248. data/node_modules/css-tree/lib/definition-syntax/walk.js +0 -52
  249. data/node_modules/css-tree/lib/generator/create.js +0 -66
  250. data/node_modules/css-tree/lib/generator/index.js +0 -4
  251. data/node_modules/css-tree/lib/generator/sourceMap.js +0 -95
  252. data/node_modules/css-tree/lib/index.js +0 -1
  253. data/node_modules/css-tree/lib/lexer/Lexer.js +0 -466
  254. data/node_modules/css-tree/lib/lexer/error.js +0 -127
  255. data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +0 -236
  256. data/node_modules/css-tree/lib/lexer/generic-urange.js +0 -159
  257. data/node_modules/css-tree/lib/lexer/generic.js +0 -585
  258. data/node_modules/css-tree/lib/lexer/index.js +0 -3
  259. data/node_modules/css-tree/lib/lexer/match-graph.js +0 -455
  260. data/node_modules/css-tree/lib/lexer/match.js +0 -639
  261. data/node_modules/css-tree/lib/lexer/prepare-tokens.js +0 -73
  262. data/node_modules/css-tree/lib/lexer/search.js +0 -65
  263. data/node_modules/css-tree/lib/lexer/structure.js +0 -163
  264. data/node_modules/css-tree/lib/lexer/trace.js +0 -79
  265. data/node_modules/css-tree/lib/parser/create.js +0 -304
  266. data/node_modules/css-tree/lib/parser/index.js +0 -4
  267. data/node_modules/css-tree/lib/parser/sequence.js +0 -54
  268. data/node_modules/css-tree/lib/syntax/atrule/font-face.js +0 -8
  269. data/node_modules/css-tree/lib/syntax/atrule/import.js +0 -40
  270. data/node_modules/css-tree/lib/syntax/atrule/index.js +0 -7
  271. data/node_modules/css-tree/lib/syntax/atrule/media.js +0 -12
  272. data/node_modules/css-tree/lib/syntax/atrule/page.js +0 -12
  273. data/node_modules/css-tree/lib/syntax/atrule/supports.js +0 -89
  274. data/node_modules/css-tree/lib/syntax/config/lexer.js +0 -9
  275. data/node_modules/css-tree/lib/syntax/config/mix.js +0 -140
  276. data/node_modules/css-tree/lib/syntax/config/parser.js +0 -25
  277. data/node_modules/css-tree/lib/syntax/config/walker.js +0 -3
  278. data/node_modules/css-tree/lib/syntax/create.js +0 -77
  279. data/node_modules/css-tree/lib/syntax/function/expression.js +0 -7
  280. data/node_modules/css-tree/lib/syntax/function/var.js +0 -43
  281. data/node_modules/css-tree/lib/syntax/index.js +0 -21
  282. data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +0 -297
  283. data/node_modules/css-tree/lib/syntax/node/Atrule.js +0 -107
  284. data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +0 -51
  285. data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +0 -165
  286. data/node_modules/css-tree/lib/syntax/node/Block.js +0 -91
  287. data/node_modules/css-tree/lib/syntax/node/Brackets.js +0 -34
  288. data/node_modules/css-tree/lib/syntax/node/CDC.js +0 -19
  289. data/node_modules/css-tree/lib/syntax/node/CDO.js +0 -19
  290. data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +0 -29
  291. data/node_modules/css-tree/lib/syntax/node/Combinator.js +0 -55
  292. data/node_modules/css-tree/lib/syntax/node/Comment.js +0 -36
  293. data/node_modules/css-tree/lib/syntax/node/Declaration.js +0 -169
  294. data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +0 -49
  295. data/node_modules/css-tree/lib/syntax/node/Dimension.js +0 -29
  296. data/node_modules/css-tree/lib/syntax/node/Function.js +0 -40
  297. data/node_modules/css-tree/lib/syntax/node/Hash.js +0 -26
  298. data/node_modules/css-tree/lib/syntax/node/IdSelector.js +0 -27
  299. data/node_modules/css-tree/lib/syntax/node/Identifier.js +0 -20
  300. data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +0 -76
  301. data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +0 -68
  302. data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +0 -36
  303. data/node_modules/css-tree/lib/syntax/node/Nth.js +0 -51
  304. data/node_modules/css-tree/lib/syntax/node/Number.js +0 -18
  305. data/node_modules/css-tree/lib/syntax/node/Operator.js +0 -21
  306. data/node_modules/css-tree/lib/syntax/node/Parentheses.js +0 -34
  307. data/node_modules/css-tree/lib/syntax/node/Percentage.js +0 -27
  308. data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +0 -61
  309. data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +0 -62
  310. data/node_modules/css-tree/lib/syntax/node/Ratio.js +0 -66
  311. data/node_modules/css-tree/lib/syntax/node/Raw.js +0 -87
  312. data/node_modules/css-tree/lib/syntax/node/Rule.js +0 -54
  313. data/node_modules/css-tree/lib/syntax/node/Selector.js +0 -32
  314. data/node_modules/css-tree/lib/syntax/node/SelectorList.js +0 -39
  315. data/node_modules/css-tree/lib/syntax/node/String.js +0 -18
  316. data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +0 -81
  317. data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +0 -53
  318. data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +0 -173
  319. data/node_modules/css-tree/lib/syntax/node/Url.js +0 -69
  320. data/node_modules/css-tree/lib/syntax/node/Value.js +0 -19
  321. data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +0 -26
  322. data/node_modules/css-tree/lib/syntax/node/index.js +0 -42
  323. data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +0 -9
  324. data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +0 -9
  325. data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +0 -7
  326. data/node_modules/css-tree/lib/syntax/pseudo/dir.js +0 -7
  327. data/node_modules/css-tree/lib/syntax/pseudo/has.js +0 -7
  328. data/node_modules/css-tree/lib/syntax/pseudo/index.js +0 -12
  329. data/node_modules/css-tree/lib/syntax/pseudo/lang.js +0 -7
  330. data/node_modules/css-tree/lib/syntax/pseudo/matches.js +0 -1
  331. data/node_modules/css-tree/lib/syntax/pseudo/not.js +0 -1
  332. data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +0 -1
  333. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +0 -1
  334. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +0 -1
  335. data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +0 -1
  336. data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +0 -7
  337. data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +0 -3
  338. data/node_modules/css-tree/lib/syntax/scope/default.js +0 -87
  339. data/node_modules/css-tree/lib/syntax/scope/index.js +0 -5
  340. data/node_modules/css-tree/lib/syntax/scope/selector.js +0 -80
  341. data/node_modules/css-tree/lib/syntax/scope/value.js +0 -5
  342. data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +0 -249
  343. data/node_modules/css-tree/lib/tokenizer/const.js +0 -40
  344. data/node_modules/css-tree/lib/tokenizer/index.js +0 -591
  345. data/node_modules/css-tree/lib/tokenizer/utils.js +0 -243
  346. data/node_modules/css-tree/lib/utils/clone.js +0 -21
  347. data/node_modules/css-tree/lib/utils/createCustomError.js +0 -17
  348. data/node_modules/css-tree/lib/utils/names.js +0 -104
  349. data/node_modules/css-tree/lib/walker/create.js +0 -284
  350. data/node_modules/css-tree/lib/walker/index.js +0 -4
  351. data/node_modules/css-tree/package.json +0 -60
  352. data/node_modules/csstype/LICENSE +0 -19
  353. data/node_modules/csstype/README.md +0 -271
  354. data/node_modules/csstype/index.d.ts +0 -20496
  355. data/node_modules/csstype/index.js.flow +0 -6313
  356. data/node_modules/csstype/package.json +0 -64
  357. data/node_modules/error-stack-parser/CHANGELOG.md +0 -53
  358. data/node_modules/error-stack-parser/LICENSE +0 -19
  359. data/node_modules/error-stack-parser/README.md +0 -44
  360. data/node_modules/error-stack-parser/dist/error-stack-parser.js +0 -202
  361. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +0 -2
  362. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +0 -1
  363. data/node_modules/error-stack-parser/error-stack-parser.d.ts +0 -66
  364. data/node_modules/error-stack-parser/error-stack-parser.js +0 -202
  365. data/node_modules/error-stack-parser/package.json +0 -63
  366. data/node_modules/fastest-stable-stringify/.eslintrc.yml +0 -26
  367. data/node_modules/fastest-stable-stringify/.travis.yml +0 -7
  368. data/node_modules/fastest-stable-stringify/LICENSE +0 -18
  369. data/node_modules/fastest-stable-stringify/README.md +0 -44
  370. data/node_modules/fastest-stable-stringify/benchmark/index.js +0 -32
  371. data/node_modules/fastest-stable-stringify/benchmark/test.json +0 -215
  372. data/node_modules/fastest-stable-stringify/example/key_cmp.js +0 -7
  373. data/node_modules/fastest-stable-stringify/example/nested.js +0 -3
  374. data/node_modules/fastest-stable-stringify/example/str.js +0 -3
  375. data/node_modules/fastest-stable-stringify/example/value_cmp.js +0 -7
  376. data/node_modules/fastest-stable-stringify/index.js +0 -60
  377. data/node_modules/fastest-stable-stringify/package.json +0 -54
  378. data/node_modules/fastest-stable-stringify/test/bench.js +0 -20
  379. data/node_modules/fastest-stable-stringify/test/nested.js +0 -24
  380. data/node_modules/fastest-stable-stringify/test/str.js +0 -52
  381. data/node_modules/fastest-stable-stringify/test/to-json.js +0 -22
  382. data/node_modules/hyphenate-style-name/LICENSE +0 -28
  383. data/node_modules/hyphenate-style-name/README.md +0 -28
  384. data/node_modules/hyphenate-style-name/index.cjs.js +0 -21
  385. data/node_modules/hyphenate-style-name/index.js +0 -19
  386. data/node_modules/hyphenate-style-name/package.json +0 -42
  387. data/node_modules/inline-style-prefixer/CHANGELOG.md +0 -195
  388. data/node_modules/inline-style-prefixer/LICENSE +0 -22
  389. data/node_modules/inline-style-prefixer/README.md +0 -100
  390. data/node_modules/inline-style-prefixer/es/createPrefixer.js +0 -47
  391. data/node_modules/inline-style-prefixer/es/data.js +0 -12
  392. data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +0 -21
  393. data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +0 -75
  394. data/node_modules/inline-style-prefixer/es/generator/index.js +0 -69
  395. data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +0 -108
  396. data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +0 -38
  397. data/node_modules/inline-style-prefixer/es/index.js +0 -26
  398. data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +0 -7
  399. data/node_modules/inline-style-prefixer/es/plugins/calc.js +0 -11
  400. data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +0 -12
  401. data/node_modules/inline-style-prefixer/es/plugins/cursor.js +0 -16
  402. data/node_modules/inline-style-prefixer/es/plugins/filter.js +0 -12
  403. data/node_modules/inline-style-prefixer/es/plugins/flex.js +0 -10
  404. data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +0 -67
  405. data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +0 -33
  406. data/node_modules/inline-style-prefixer/es/plugins/gradient.js +0 -14
  407. data/node_modules/inline-style-prefixer/es/plugins/grid.js +0 -129
  408. data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +0 -12
  409. data/node_modules/inline-style-prefixer/es/plugins/index.js +0 -17
  410. data/node_modules/inline-style-prefixer/es/plugins/logical.js +0 -35
  411. data/node_modules/inline-style-prefixer/es/plugins/position.js +0 -5
  412. data/node_modules/inline-style-prefixer/es/plugins/sizing.js +0 -26
  413. data/node_modules/inline-style-prefixer/es/plugins/transition.js +0 -75
  414. data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +0 -15
  415. data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +0 -3
  416. data/node_modules/inline-style-prefixer/es/utils/isObject.js +0 -3
  417. data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +0 -22
  418. data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +0 -11
  419. data/node_modules/inline-style-prefixer/lib/createPrefixer.js +0 -66
  420. data/node_modules/inline-style-prefixer/lib/data.js +0 -17
  421. data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +0 -32
  422. data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +0 -86
  423. data/node_modules/inline-style-prefixer/lib/generator/index.js +0 -85
  424. data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +0 -113
  425. data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +0 -43
  426. data/node_modules/inline-style-prefixer/lib/index.js +0 -78
  427. data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +0 -13
  428. data/node_modules/inline-style-prefixer/lib/plugins/calc.js +0 -21
  429. data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +0 -22
  430. data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +0 -22
  431. data/node_modules/inline-style-prefixer/lib/plugins/filter.js +0 -22
  432. data/node_modules/inline-style-prefixer/lib/plugins/flex.js +0 -16
  433. data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +0 -73
  434. data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +0 -39
  435. data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +0 -26
  436. data/node_modules/inline-style-prefixer/lib/plugins/grid.js +0 -136
  437. data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +0 -22
  438. data/node_modules/inline-style-prefixer/lib/plugins/index.js +0 -69
  439. data/node_modules/inline-style-prefixer/lib/plugins/logical.js +0 -41
  440. data/node_modules/inline-style-prefixer/lib/plugins/position.js +0 -11
  441. data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +0 -32
  442. data/node_modules/inline-style-prefixer/lib/plugins/transition.js +0 -92
  443. data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +0 -21
  444. data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +0 -9
  445. data/node_modules/inline-style-prefixer/lib/utils/isObject.js +0 -9
  446. data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +0 -32
  447. data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +0 -17
  448. data/node_modules/inline-style-prefixer/package.json +0 -79
  449. data/node_modules/isobject/LICENSE +0 -21
  450. data/node_modules/isobject/README.md +0 -122
  451. data/node_modules/isobject/index.d.ts +0 -5
  452. data/node_modules/isobject/index.js +0 -12
  453. data/node_modules/isobject/package.json +0 -74
  454. data/node_modules/js-tokens/CHANGELOG.md +0 -151
  455. data/node_modules/js-tokens/LICENSE +0 -21
  456. data/node_modules/js-tokens/README.md +0 -240
  457. data/node_modules/js-tokens/index.js +0 -23
  458. data/node_modules/js-tokens/package.json +0 -30
  459. data/node_modules/loose-envify/LICENSE +0 -21
  460. data/node_modules/loose-envify/README.md +0 -45
  461. data/node_modules/loose-envify/cli.js +0 -16
  462. data/node_modules/loose-envify/custom.js +0 -4
  463. data/node_modules/loose-envify/index.js +0 -3
  464. data/node_modules/loose-envify/loose-envify.js +0 -36
  465. data/node_modules/loose-envify/package.json +0 -36
  466. data/node_modules/loose-envify/replace.js +0 -65
  467. data/node_modules/mdn-data/LICENSE +0 -116
  468. data/node_modules/mdn-data/README.md +0 -56
  469. data/node_modules/mdn-data/api/index.js +0 -3
  470. data/node_modules/mdn-data/api/inheritance.json +0 -2681
  471. data/node_modules/mdn-data/api/inheritance.schema.json +0 -31
  472. data/node_modules/mdn-data/css/at-rules.json +0 -560
  473. data/node_modules/mdn-data/css/at-rules.schema.json +0 -132
  474. data/node_modules/mdn-data/css/definitions.json +0 -77
  475. data/node_modules/mdn-data/css/index.js +0 -8
  476. data/node_modules/mdn-data/css/properties.json +0 -9163
  477. data/node_modules/mdn-data/css/properties.schema.json +0 -402
  478. data/node_modules/mdn-data/css/selectors.json +0 -927
  479. data/node_modules/mdn-data/css/selectors.schema.json +0 -36
  480. data/node_modules/mdn-data/css/syntaxes.json +0 -761
  481. data/node_modules/mdn-data/css/syntaxes.schema.json +0 -15
  482. data/node_modules/mdn-data/css/types.json +0 -265
  483. data/node_modules/mdn-data/css/types.schema.json +0 -32
  484. data/node_modules/mdn-data/css/units.json +0 -199
  485. data/node_modules/mdn-data/css/units.schema.json +0 -28
  486. data/node_modules/mdn-data/index.js +0 -5
  487. data/node_modules/mdn-data/l10n/css.json +0 -1567
  488. data/node_modules/mdn-data/l10n/index.js +0 -3
  489. data/node_modules/mdn-data/package.json +0 -39
  490. data/node_modules/nano-css/.circleci/config.yml +0 -85
  491. data/node_modules/nano-css/.eslintrc.yml +0 -27
  492. data/node_modules/nano-css/.github/FUNDING.yml +0 -3
  493. data/node_modules/nano-css/.github/workflows/nodejs.yml +0 -23
  494. data/node_modules/nano-css/CHANGELOG.md +0 -362
  495. data/node_modules/nano-css/LICENSE +0 -24
  496. data/node_modules/nano-css/README.md +0 -70
  497. data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +0 -25
  498. data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +0 -407
  499. data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +0 -43
  500. data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +0 -6
  501. data/node_modules/nano-css/addon/__tests__/amp.server.test.js +0 -223
  502. data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +0 -5
  503. data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +0 -8
  504. data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +0 -6
  505. data/node_modules/nano-css/addon/__tests__/atoms.test.js +0 -49
  506. data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +0 -12
  507. data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +0 -5
  508. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +0 -8
  509. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +0 -6
  510. data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +0 -219
  511. data/node_modules/nano-css/addon/__tests__/env.js +0 -6
  512. data/node_modules/nano-css/addon/__tests__/extract.server.test.js +0 -159
  513. data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +0 -6
  514. data/node_modules/nano-css/addon/__tests__/index.server.test.js +0 -4
  515. data/node_modules/nano-css/addon/__tests__/index.test.js +0 -257
  516. data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +0 -5
  517. data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +0 -6
  518. data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +0 -4
  519. data/node_modules/nano-css/addon/__tests__/jsx.test.js +0 -33
  520. data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +0 -5
  521. data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +0 -6
  522. data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +0 -4
  523. data/node_modules/nano-css/addon/__tests__/keyframes.test.js +0 -131
  524. data/node_modules/nano-css/addon/__tests__/limit.server.test.js +0 -54
  525. data/node_modules/nano-css/addon/__tests__/nesting.test.js +0 -85
  526. data/node_modules/nano-css/addon/__tests__/prefixer.test.js +0 -121
  527. data/node_modules/nano-css/addon/__tests__/put.dev.test.js +0 -5
  528. data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +0 -6
  529. data/node_modules/nano-css/addon/__tests__/put.server.test.js +0 -4
  530. data/node_modules/nano-css/addon/__tests__/put.test.js +0 -75
  531. data/node_modules/nano-css/addon/__tests__/reset.test.js +0 -38
  532. data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +0 -5
  533. data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +0 -7
  534. data/node_modules/nano-css/addon/__tests__/rule.server.test.js +0 -5
  535. data/node_modules/nano-css/addon/__tests__/rule.test.js +0 -57
  536. data/node_modules/nano-css/addon/__tests__/setup.js +0 -7
  537. data/node_modules/nano-css/addon/__tests__/sheet.test.js +0 -74
  538. data/node_modules/nano-css/addon/__tests__/snake.test.js +0 -124
  539. data/node_modules/nano-css/addon/__tests__/tachyons.test.js +0 -45
  540. data/node_modules/nano-css/addon/__tests__/units.dev.test.js +0 -5
  541. data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +0 -6
  542. data/node_modules/nano-css/addon/__tests__/units.server.test.js +0 -4
  543. data/node_modules/nano-css/addon/__tests__/units.test.js +0 -41
  544. data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +0 -5
  545. data/node_modules/nano-css/addon/__tests__/validate.test.js +0 -69
  546. data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +0 -14
  547. data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +0 -5
  548. data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +0 -6
  549. data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +0 -4
  550. data/node_modules/nano-css/addon/__tests__/virtual.test.js +0 -225
  551. data/node_modules/nano-css/addon/amp.d.ts +0 -5
  552. data/node_modules/nano-css/addon/amp.js +0 -156
  553. data/node_modules/nano-css/addon/animate/fadeIn.js +0 -22
  554. data/node_modules/nano-css/addon/animate/fadeInDown.js +0 -25
  555. data/node_modules/nano-css/addon/animate/fadeInScale.js +0 -25
  556. data/node_modules/nano-css/addon/animate/fadeOut.js +0 -23
  557. data/node_modules/nano-css/addon/animate/fadeOutScale.js +0 -21
  558. data/node_modules/nano-css/addon/array.d.ts +0 -5
  559. data/node_modules/nano-css/addon/array.js +0 -33
  560. data/node_modules/nano-css/addon/atoms.d.ts +0 -243
  561. data/node_modules/nano-css/addon/atoms.js +0 -63
  562. data/node_modules/nano-css/addon/cache.d.ts +0 -8
  563. data/node_modules/nano-css/addon/cache.js +0 -17
  564. data/node_modules/nano-css/addon/component.d.ts +0 -7
  565. data/node_modules/nano-css/addon/component.js +0 -26
  566. data/node_modules/nano-css/addon/cssom.d.ts +0 -17
  567. data/node_modules/nano-css/addon/cssom.js +0 -36
  568. data/node_modules/nano-css/addon/decorator.d.ts +0 -7
  569. data/node_modules/nano-css/addon/decorator.js +0 -43
  570. data/node_modules/nano-css/addon/drule.d.ts +0 -8
  571. data/node_modules/nano-css/addon/drule.js +0 -27
  572. data/node_modules/nano-css/addon/dsheet.d.ts +0 -8
  573. data/node_modules/nano-css/addon/dsheet.js +0 -36
  574. data/node_modules/nano-css/addon/emmet.d.ts +0 -614
  575. data/node_modules/nano-css/addon/emmet.js +0 -177
  576. data/node_modules/nano-css/addon/extract.d.ts +0 -5
  577. data/node_modules/nano-css/addon/extract.js +0 -59
  578. data/node_modules/nano-css/addon/global.d.ts +0 -8
  579. data/node_modules/nano-css/addon/global.js +0 -19
  580. data/node_modules/nano-css/addon/googleFont.d.ts +0 -8
  581. data/node_modules/nano-css/addon/googleFont.js +0 -43
  582. data/node_modules/nano-css/addon/hydrate.d.ts +0 -7
  583. data/node_modules/nano-css/addon/hydrate.js +0 -28
  584. data/node_modules/nano-css/addon/hyperstyle.js +0 -27
  585. data/node_modules/nano-css/addon/important.js +0 -38
  586. data/node_modules/nano-css/addon/jsx.js +0 -60
  587. data/node_modules/nano-css/addon/keyframes.d.ts +0 -34
  588. data/node_modules/nano-css/addon/keyframes.js +0 -61
  589. data/node_modules/nano-css/addon/limit.js +0 -26
  590. data/node_modules/nano-css/addon/nesting.js +0 -37
  591. data/node_modules/nano-css/addon/pipe.js +0 -57
  592. data/node_modules/nano-css/addon/prefixer.js +0 -79
  593. data/node_modules/nano-css/addon/ref.js +0 -87
  594. data/node_modules/nano-css/addon/reset/EricMeyer.js +0 -48
  595. data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +0 -44
  596. data/node_modules/nano-css/addon/reset/Minimalistic.js +0 -16
  597. data/node_modules/nano-css/addon/reset/Minimalistic2.js +0 -17
  598. data/node_modules/nano-css/addon/reset/Minimalistic3.js +0 -18
  599. data/node_modules/nano-css/addon/reset/Normalize.js +0 -83
  600. data/node_modules/nano-css/addon/reset/PoorMan.js +0 -25
  601. data/node_modules/nano-css/addon/reset/ShaunInman.js +0 -42
  602. data/node_modules/nano-css/addon/reset/Siolon.js +0 -34
  603. data/node_modules/nano-css/addon/reset/Tantek.js +0 -31
  604. data/node_modules/nano-css/addon/reset/Tripoli.js +0 -75
  605. data/node_modules/nano-css/addon/reset/Universal.js +0 -23
  606. data/node_modules/nano-css/addon/reset/Yahoo.js +0 -43
  607. data/node_modules/nano-css/addon/reset-font.js +0 -24
  608. data/node_modules/nano-css/addon/rtl.js +0 -15
  609. data/node_modules/nano-css/addon/rule.d.ts +0 -26
  610. data/node_modules/nano-css/addon/rule.js +0 -39
  611. data/node_modules/nano-css/addon/sheet.d.ts +0 -22
  612. data/node_modules/nano-css/addon/sheet.js +0 -45
  613. data/node_modules/nano-css/addon/snake.js +0 -141
  614. data/node_modules/nano-css/addon/sourcemaps.js +0 -96
  615. data/node_modules/nano-css/addon/spread.js +0 -23
  616. data/node_modules/nano-css/addon/stable.js +0 -7
  617. data/node_modules/nano-css/addon/style.js +0 -33
  618. data/node_modules/nano-css/addon/styled.js +0 -161
  619. data/node_modules/nano-css/addon/stylis/plugin-onRule.js +0 -43
  620. data/node_modules/nano-css/addon/stylis.js +0 -28
  621. data/node_modules/nano-css/addon/tachyons.js +0 -215
  622. data/node_modules/nano-css/addon/unitless.js +0 -78
  623. data/node_modules/nano-css/addon/units.d.ts +0 -89
  624. data/node_modules/nano-css/addon/units.js +0 -27
  625. data/node_modules/nano-css/addon/useStyles.js +0 -24
  626. data/node_modules/nano-css/addon/util/cloneElement.js +0 -11
  627. data/node_modules/nano-css/addon/util/transformComponentDynamic.js +0 -50
  628. data/node_modules/nano-css/addon/util/transformComponentStatic.js +0 -26
  629. data/node_modules/nano-css/addon/validate.js +0 -82
  630. data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +0 -159
  631. data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +0 -15
  632. data/node_modules/nano-css/addon/vcssom/cssToTree.js +0 -42
  633. data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +0 -3
  634. data/node_modules/nano-css/addon/vcssom/removeRule.js +0 -15
  635. data/node_modules/nano-css/addon/vcssom.d.ts +0 -72
  636. data/node_modules/nano-css/addon/vcssom.js +0 -97
  637. data/node_modules/nano-css/addon/virtual.js +0 -107
  638. data/node_modules/nano-css/addon/withStyles.js +0 -32
  639. data/node_modules/nano-css/index.d.ts +0 -4
  640. data/node_modules/nano-css/index.js +0 -138
  641. data/node_modules/nano-css/package.json +0 -145
  642. data/node_modules/nano-css/preset/react.js +0 -43
  643. data/node_modules/nano-css/preset/sheet.d.ts +0 -5
  644. data/node_modules/nano-css/preset/sheet.js +0 -27
  645. data/node_modules/nano-css/preset/vdom.js +0 -40
  646. data/node_modules/nano-css/prettier.config.js +0 -13
  647. data/node_modules/nano-css/renovate.json +0 -3
  648. data/node_modules/nano-css/types/common.d.ts +0 -14
  649. data/node_modules/nano-css/types/demo.ts +0 -7
  650. data/node_modules/nano-css/types/nano.d.ts +0 -171
  651. data/node_modules/object-assign/index.js +0 -90
  652. data/node_modules/object-assign/license +0 -21
  653. data/node_modules/object-assign/package.json +0 -42
  654. data/node_modules/object-assign/readme.md +0 -61
  655. data/node_modules/react/LICENSE +0 -21
  656. data/node_modules/react/README.md +0 -13
  657. data/node_modules/react/build-info.json +0 -8
  658. data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1203
  659. data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -9
  660. data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -9
  661. data/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1221
  662. data/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -10
  663. data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -10
  664. data/node_modules/react/cjs/react.development.js +0 -2333
  665. data/node_modules/react/cjs/react.production.min.js +0 -23
  666. data/node_modules/react/index.js +0 -7
  667. data/node_modules/react/jsx-dev-runtime.js +0 -7
  668. data/node_modules/react/jsx-runtime.js +0 -7
  669. data/node_modules/react/package.json +0 -39
  670. data/node_modules/react/umd/react.development.js +0 -3357
  671. data/node_modules/react/umd/react.production.min.js +0 -31
  672. data/node_modules/react/umd/react.profiling.min.js +0 -36
  673. data/node_modules/react-dom/LICENSE +0 -21
  674. data/node_modules/react-dom/README.md +0 -54
  675. data/node_modules/react-dom/build-info.json +0 -8
  676. data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -4342
  677. data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -51
  678. data/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -4383
  679. data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -52
  680. data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -2118
  681. data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -43
  682. data/node_modules/react-dom/cjs/react-dom.development.js +0 -26262
  683. data/node_modules/react-dom/cjs/react-dom.production.min.js +0 -297
  684. data/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -310
  685. data/node_modules/react-dom/index.js +0 -38
  686. data/node_modules/react-dom/package.json +0 -49
  687. data/node_modules/react-dom/profiling.js +0 -38
  688. data/node_modules/react-dom/server.browser.js +0 -7
  689. data/node_modules/react-dom/server.js +0 -3
  690. data/node_modules/react-dom/server.node.js +0 -7
  691. data/node_modules/react-dom/test-utils.js +0 -7
  692. data/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -4341
  693. data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -46
  694. data/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -2136
  695. data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -35
  696. data/node_modules/react-dom/umd/react-dom.development.js +0 -26292
  697. data/node_modules/react-dom/umd/react-dom.production.min.js +0 -245
  698. data/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -252
  699. data/node_modules/regenerator-runtime/LICENSE +0 -21
  700. data/node_modules/regenerator-runtime/README.md +0 -31
  701. data/node_modules/regenerator-runtime/package.json +0 -19
  702. data/node_modules/regenerator-runtime/path.js +0 -11
  703. data/node_modules/regenerator-runtime/runtime.js +0 -754
  704. data/node_modules/rtl-css-js/CHANGELOG.md +0 -5
  705. data/node_modules/rtl-css-js/LICENSE +0 -20
  706. data/node_modules/rtl-css-js/README.md +0 -205
  707. data/node_modules/rtl-css-js/core/package.json +0 -6
  708. data/node_modules/rtl-css-js/core.d.ts +0 -163
  709. data/node_modules/rtl-css-js/core.esm.d.ts +0 -1
  710. data/node_modules/rtl-css-js/core.esm.js +0 -9
  711. data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +0 -509
  712. data/node_modules/rtl-css-js/dist/cjs/core.js +0 -30
  713. data/node_modules/rtl-css-js/dist/cjs/index.js +0 -7
  714. data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +0 -487
  715. data/node_modules/rtl-css-js/dist/esm/core.js +0 -1
  716. data/node_modules/rtl-css-js/dist/esm/index.js +0 -5
  717. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +0 -519
  718. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +0 -1
  719. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +0 -2
  720. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +0 -1
  721. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +0 -496
  722. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +0 -1
  723. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +0 -2
  724. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +0 -1
  725. data/node_modules/rtl-css-js/package.json +0 -66
  726. data/node_modules/rtl-css-js/types.d.ts +0 -8
  727. data/node_modules/scheduler/LICENSE +0 -21
  728. data/node_modules/scheduler/README.md +0 -9
  729. data/node_modules/scheduler/build-info.json +0 -8
  730. data/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
  731. data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
  732. data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
  733. data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
  734. data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
  735. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
  736. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
  737. data/node_modules/scheduler/cjs/scheduler.development.js +0 -646
  738. data/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
  739. data/node_modules/scheduler/index.js +0 -7
  740. data/node_modules/scheduler/package.json +0 -40
  741. data/node_modules/scheduler/tracing-profiling.js +0 -7
  742. data/node_modules/scheduler/tracing.js +0 -7
  743. data/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
  744. data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
  745. data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
  746. data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
  747. data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
  748. data/node_modules/scheduler/umd/scheduler.development.js +0 -152
  749. data/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
  750. data/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
  751. data/node_modules/scheduler/unstable_mock.js +0 -7
  752. data/node_modules/scheduler/unstable_post_task.js +0 -7
  753. data/node_modules/source-map/CHANGELOG.md +0 -301
  754. data/node_modules/source-map/LICENSE +0 -28
  755. data/node_modules/source-map/README.md +0 -742
  756. data/node_modules/source-map/dist/source-map.debug.js +0 -3234
  757. data/node_modules/source-map/dist/source-map.js +0 -3233
  758. data/node_modules/source-map/dist/source-map.min.js +0 -2
  759. data/node_modules/source-map/dist/source-map.min.js.map +0 -1
  760. data/node_modules/source-map/lib/array-set.js +0 -121
  761. data/node_modules/source-map/lib/base64-vlq.js +0 -140
  762. data/node_modules/source-map/lib/base64.js +0 -67
  763. data/node_modules/source-map/lib/binary-search.js +0 -111
  764. data/node_modules/source-map/lib/mapping-list.js +0 -79
  765. data/node_modules/source-map/lib/quick-sort.js +0 -114
  766. data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  767. data/node_modules/source-map/lib/source-map-generator.js +0 -425
  768. data/node_modules/source-map/lib/source-node.js +0 -413
  769. data/node_modules/source-map/lib/util.js +0 -488
  770. data/node_modules/source-map/package.json +0 -73
  771. data/node_modules/source-map/source-map.d.ts +0 -98
  772. data/node_modules/source-map/source-map.js +0 -8
  773. data/node_modules/sourcemap-codec/CHANGELOG.md +0 -64
  774. data/node_modules/sourcemap-codec/LICENSE +0 -21
  775. data/node_modules/sourcemap-codec/README.md +0 -63
  776. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +0 -124
  777. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +0 -1
  778. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -135
  779. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  780. data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -5
  781. data/node_modules/sourcemap-codec/package.json +0 -53
  782. data/node_modules/stack-generator/.eslintrc.yml +0 -32
  783. data/node_modules/stack-generator/CHANGELOG.md +0 -18
  784. data/node_modules/stack-generator/CONTRIBUTING.md +0 -27
  785. data/node_modules/stack-generator/LICENSE +0 -19
  786. data/node_modules/stack-generator/README.md +0 -28
  787. data/node_modules/stack-generator/bower.json +0 -33
  788. data/node_modules/stack-generator/component.json +0 -17
  789. data/node_modules/stack-generator/dist/stack-generator.js +0 -45
  790. data/node_modules/stack-generator/dist/stack-generator.min.js +0 -2
  791. data/node_modules/stack-generator/dist/stack-generator.min.js.map +0 -1
  792. data/node_modules/stack-generator/karma.conf.ci.js +0 -108
  793. data/node_modules/stack-generator/karma.conf.js +0 -26
  794. data/node_modules/stack-generator/package.json +0 -53
  795. data/node_modules/stack-generator/stack-generator.js +0 -45
  796. data/node_modules/stackframe/.eslintrc.yml +0 -29
  797. data/node_modules/stackframe/CHANGELOG.md +0 -39
  798. data/node_modules/stackframe/CONTRIBUTING.md +0 -28
  799. data/node_modules/stackframe/LICENSE +0 -19
  800. data/node_modules/stackframe/README.md +0 -78
  801. data/node_modules/stackframe/bower.json +0 -31
  802. data/node_modules/stackframe/component.json +0 -16
  803. data/node_modules/stackframe/dist/stackframe.js +0 -143
  804. data/node_modules/stackframe/dist/stackframe.min.js +0 -2
  805. data/node_modules/stackframe/dist/stackframe.min.js.map +0 -1
  806. data/node_modules/stackframe/karma.conf.ci.js +0 -105
  807. data/node_modules/stackframe/karma.conf.js +0 -23
  808. data/node_modules/stackframe/package.json +0 -51
  809. data/node_modules/stackframe/stackframe-tests.ts +0 -47
  810. data/node_modules/stackframe/stackframe.d.ts +0 -74
  811. data/node_modules/stackframe/stackframe.js +0 -143
  812. data/node_modules/stacktrace-gps/CHANGELOG.md +0 -60
  813. data/node_modules/stacktrace-gps/LICENSE +0 -19
  814. data/node_modules/stacktrace-gps/README.md +0 -89
  815. data/node_modules/stacktrace-gps/dist/polyfills.js +0 -5
  816. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +0 -2
  817. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +0 -1
  818. data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +0 -342
  819. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +0 -2
  820. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +0 -1
  821. data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +0 -301
  822. data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +0 -28
  823. data/node_modules/stacktrace-gps/node_modules/source-map/README.md +0 -729
  824. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +0 -3056
  825. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +0 -3055
  826. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +0 -2
  827. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +0 -1
  828. data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +0 -104
  829. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +0 -140
  830. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +0 -67
  831. data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +0 -111
  832. data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +0 -79
  833. data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +0 -114
  834. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +0 -1082
  835. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +0 -404
  836. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +0 -407
  837. data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +0 -417
  838. data/node_modules/stacktrace-gps/node_modules/source-map/package.json +0 -71
  839. data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +0 -8
  840. data/node_modules/stacktrace-gps/package.json +0 -66
  841. data/node_modules/stacktrace-gps/stacktrace-gps.js +0 -342
  842. data/node_modules/stacktrace-js/CHANGELOG.md +0 -97
  843. data/node_modules/stacktrace-js/LICENSE +0 -19
  844. data/node_modules/stacktrace-js/README.md +0 -186
  845. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +0 -5405
  846. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +0 -3
  847. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +0 -1
  848. data/node_modules/stacktrace-js/dist/stacktrace.js +0 -3025
  849. data/node_modules/stacktrace-js/dist/stacktrace.min.js +0 -2
  850. data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +0 -1
  851. data/node_modules/stacktrace-js/package.json +0 -82
  852. data/node_modules/stacktrace-js/stacktrace-js.d.ts +0 -134
  853. data/node_modules/stacktrace-js/stacktrace.js +0 -227
  854. data/node_modules/stylis/LICENSE +0 -21
  855. data/node_modules/stylis/README.md +0 -152
  856. data/node_modules/stylis/dist/stylis.mjs +0 -2
  857. data/node_modules/stylis/dist/stylis.mjs.map +0 -1
  858. data/node_modules/stylis/dist/umd/package.json +0 -1
  859. data/node_modules/stylis/dist/umd/stylis.js +0 -2
  860. data/node_modules/stylis/dist/umd/stylis.js.map +0 -1
  861. data/node_modules/stylis/index.js +0 -7
  862. data/node_modules/stylis/package.json +0 -164
  863. data/node_modules/stylis/src/Enum.js +0 -20
  864. data/node_modules/stylis/src/Middleware.js +0 -107
  865. data/node_modules/stylis/src/Parser.js +0 -184
  866. data/node_modules/stylis/src/Prefixer.js +0 -119
  867. data/node_modules/stylis/src/Serializer.js +0 -34
  868. data/node_modules/stylis/src/Tokenizer.js +0 -244
  869. data/node_modules/stylis/src/Utility.js +0 -109
@@ -1,742 +0,0 @@
1
- # Source Map
2
-
3
- [![Build Status](https://travis-ci.org/mozilla/source-map.png?branch=master)](https://travis-ci.org/mozilla/source-map)
4
-
5
- [![NPM](https://nodei.co/npm/source-map.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/source-map)
6
-
7
- This is a library to generate and consume the source map format
8
- [described here][format].
9
-
10
- [format]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
11
-
12
- ## Use with Node
13
-
14
- $ npm install source-map
15
-
16
- ## Use on the Web
17
-
18
- <script src="https://raw.githubusercontent.com/mozilla/source-map/master/dist/source-map.min.js" defer></script>
19
-
20
- --------------------------------------------------------------------------------
21
-
22
- <!-- `npm run toc` to regenerate the Table of Contents -->
23
-
24
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
25
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
26
- ## Table of Contents
27
-
28
- - [Examples](#examples)
29
- - [Consuming a source map](#consuming-a-source-map)
30
- - [Generating a source map](#generating-a-source-map)
31
- - [With SourceNode (high level API)](#with-sourcenode-high-level-api)
32
- - [With SourceMapGenerator (low level API)](#with-sourcemapgenerator-low-level-api)
33
- - [API](#api)
34
- - [SourceMapConsumer](#sourcemapconsumer)
35
- - [new SourceMapConsumer(rawSourceMap)](#new-sourcemapconsumerrawsourcemap)
36
- - [SourceMapConsumer.prototype.computeColumnSpans()](#sourcemapconsumerprototypecomputecolumnspans)
37
- - [SourceMapConsumer.prototype.originalPositionFor(generatedPosition)](#sourcemapconsumerprototypeoriginalpositionforgeneratedposition)
38
- - [SourceMapConsumer.prototype.generatedPositionFor(originalPosition)](#sourcemapconsumerprototypegeneratedpositionfororiginalposition)
39
- - [SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)](#sourcemapconsumerprototypeallgeneratedpositionsfororiginalposition)
40
- - [SourceMapConsumer.prototype.hasContentsOfAllSources()](#sourcemapconsumerprototypehascontentsofallsources)
41
- - [SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])](#sourcemapconsumerprototypesourcecontentforsource-returnnullonmissing)
42
- - [SourceMapConsumer.prototype.eachMapping(callback, context, order)](#sourcemapconsumerprototypeeachmappingcallback-context-order)
43
- - [SourceMapGenerator](#sourcemapgenerator)
44
- - [new SourceMapGenerator([startOfSourceMap])](#new-sourcemapgeneratorstartofsourcemap)
45
- - [SourceMapGenerator.fromSourceMap(sourceMapConsumer)](#sourcemapgeneratorfromsourcemapsourcemapconsumer)
46
- - [SourceMapGenerator.prototype.addMapping(mapping)](#sourcemapgeneratorprototypeaddmappingmapping)
47
- - [SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)](#sourcemapgeneratorprototypesetsourcecontentsourcefile-sourcecontent)
48
- - [SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])](#sourcemapgeneratorprototypeapplysourcemapsourcemapconsumer-sourcefile-sourcemappath)
49
- - [SourceMapGenerator.prototype.toString()](#sourcemapgeneratorprototypetostring)
50
- - [SourceNode](#sourcenode)
51
- - [new SourceNode([line, column, source[, chunk[, name]]])](#new-sourcenodeline-column-source-chunk-name)
52
- - [SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])](#sourcenodefromstringwithsourcemapcode-sourcemapconsumer-relativepath)
53
- - [SourceNode.prototype.add(chunk)](#sourcenodeprototypeaddchunk)
54
- - [SourceNode.prototype.prepend(chunk)](#sourcenodeprototypeprependchunk)
55
- - [SourceNode.prototype.setSourceContent(sourceFile, sourceContent)](#sourcenodeprototypesetsourcecontentsourcefile-sourcecontent)
56
- - [SourceNode.prototype.walk(fn)](#sourcenodeprototypewalkfn)
57
- - [SourceNode.prototype.walkSourceContents(fn)](#sourcenodeprototypewalksourcecontentsfn)
58
- - [SourceNode.prototype.join(sep)](#sourcenodeprototypejoinsep)
59
- - [SourceNode.prototype.replaceRight(pattern, replacement)](#sourcenodeprototypereplacerightpattern-replacement)
60
- - [SourceNode.prototype.toString()](#sourcenodeprototypetostring)
61
- - [SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])](#sourcenodeprototypetostringwithsourcemapstartofsourcemap)
62
-
63
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
64
-
65
- ## Examples
66
-
67
- ### Consuming a source map
68
-
69
- ```js
70
- var rawSourceMap = {
71
- version: 3,
72
- file: 'min.js',
73
- names: ['bar', 'baz', 'n'],
74
- sources: ['one.js', 'two.js'],
75
- sourceRoot: 'http://example.com/www/js/',
76
- mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA'
77
- };
78
-
79
- var smc = new SourceMapConsumer(rawSourceMap);
80
-
81
- console.log(smc.sources);
82
- // [ 'http://example.com/www/js/one.js',
83
- // 'http://example.com/www/js/two.js' ]
84
-
85
- console.log(smc.originalPositionFor({
86
- line: 2,
87
- column: 28
88
- }));
89
- // { source: 'http://example.com/www/js/two.js',
90
- // line: 2,
91
- // column: 10,
92
- // name: 'n' }
93
-
94
- console.log(smc.generatedPositionFor({
95
- source: 'http://example.com/www/js/two.js',
96
- line: 2,
97
- column: 10
98
- }));
99
- // { line: 2, column: 28 }
100
-
101
- smc.eachMapping(function (m) {
102
- // ...
103
- });
104
- ```
105
-
106
- ### Generating a source map
107
-
108
- In depth guide:
109
- [**Compiling to JavaScript, and Debugging with Source Maps**](https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/)
110
-
111
- #### With SourceNode (high level API)
112
-
113
- ```js
114
- function compile(ast) {
115
- switch (ast.type) {
116
- case 'BinaryExpression':
117
- return new SourceNode(
118
- ast.location.line,
119
- ast.location.column,
120
- ast.location.source,
121
- [compile(ast.left), " + ", compile(ast.right)]
122
- );
123
- case 'Literal':
124
- return new SourceNode(
125
- ast.location.line,
126
- ast.location.column,
127
- ast.location.source,
128
- String(ast.value)
129
- );
130
- // ...
131
- default:
132
- throw new Error("Bad AST");
133
- }
134
- }
135
-
136
- var ast = parse("40 + 2", "add.js");
137
- console.log(compile(ast).toStringWithSourceMap({
138
- file: 'add.js'
139
- }));
140
- // { code: '40 + 2',
141
- // map: [object SourceMapGenerator] }
142
- ```
143
-
144
- #### With SourceMapGenerator (low level API)
145
-
146
- ```js
147
- var map = new SourceMapGenerator({
148
- file: "source-mapped.js"
149
- });
150
-
151
- map.addMapping({
152
- generated: {
153
- line: 10,
154
- column: 35
155
- },
156
- source: "foo.js",
157
- original: {
158
- line: 33,
159
- column: 2
160
- },
161
- name: "christopher"
162
- });
163
-
164
- console.log(map.toString());
165
- // '{"version":3,"file":"source-mapped.js","sources":["foo.js"],"names":["christopher"],"mappings":";;;;;;;;;mCAgCEA"}'
166
- ```
167
-
168
- ## API
169
-
170
- Get a reference to the module:
171
-
172
- ```js
173
- // Node.js
174
- var sourceMap = require('source-map');
175
-
176
- // Browser builds
177
- var sourceMap = window.sourceMap;
178
-
179
- // Inside Firefox
180
- const sourceMap = require("devtools/toolkit/sourcemap/source-map.js");
181
- ```
182
-
183
- ### SourceMapConsumer
184
-
185
- A SourceMapConsumer instance represents a parsed source map which we can query
186
- for information about the original file positions by giving it a file position
187
- in the generated source.
188
-
189
- #### new SourceMapConsumer(rawSourceMap)
190
-
191
- The only parameter is the raw source map (either as a string which can be
192
- `JSON.parse`'d, or an object). According to the spec, source maps have the
193
- following attributes:
194
-
195
- * `version`: Which version of the source map spec this map is following.
196
-
197
- * `sources`: An array of URLs to the original source files.
198
-
199
- * `names`: An array of identifiers which can be referenced by individual
200
- mappings.
201
-
202
- * `sourceRoot`: Optional. The URL root from which all sources are relative.
203
-
204
- * `sourcesContent`: Optional. An array of contents of the original source files.
205
-
206
- * `mappings`: A string of base64 VLQs which contain the actual mappings.
207
-
208
- * `file`: Optional. The generated filename this source map is associated with.
209
-
210
- ```js
211
- var consumer = new sourceMap.SourceMapConsumer(rawSourceMapJsonData);
212
- ```
213
-
214
- #### SourceMapConsumer.prototype.computeColumnSpans()
215
-
216
- Compute the last column for each generated mapping. The last column is
217
- inclusive.
218
-
219
- ```js
220
- // Before:
221
- consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" })
222
- // [ { line: 2,
223
- // column: 1 },
224
- // { line: 2,
225
- // column: 10 },
226
- // { line: 2,
227
- // column: 20 } ]
228
-
229
- consumer.computeColumnSpans();
230
-
231
- // After:
232
- consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" })
233
- // [ { line: 2,
234
- // column: 1,
235
- // lastColumn: 9 },
236
- // { line: 2,
237
- // column: 10,
238
- // lastColumn: 19 },
239
- // { line: 2,
240
- // column: 20,
241
- // lastColumn: Infinity } ]
242
-
243
- ```
244
-
245
- #### SourceMapConsumer.prototype.originalPositionFor(generatedPosition)
246
-
247
- Returns the original source, line, and column information for the generated
248
- source's line and column positions provided. The only argument is an object with
249
- the following properties:
250
-
251
- * `line`: The line number in the generated source. Line numbers in
252
- this library are 1-based (note that the underlying source map
253
- specification uses 0-based line numbers -- this library handles the
254
- translation).
255
-
256
- * `column`: The column number in the generated source. Column numbers
257
- in this library are 0-based.
258
-
259
- * `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or
260
- `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest
261
- element that is smaller than or greater than the one we are searching for,
262
- respectively, if the exact element cannot be found. Defaults to
263
- `SourceMapConsumer.GREATEST_LOWER_BOUND`.
264
-
265
- and an object is returned with the following properties:
266
-
267
- * `source`: The original source file, or null if this information is not
268
- available.
269
-
270
- * `line`: The line number in the original source, or null if this information is
271
- not available. The line number is 1-based.
272
-
273
- * `column`: The column number in the original source, or null if this
274
- information is not available. The column number is 0-based.
275
-
276
- * `name`: The original identifier, or null if this information is not available.
277
-
278
- ```js
279
- consumer.originalPositionFor({ line: 2, column: 10 })
280
- // { source: 'foo.coffee',
281
- // line: 2,
282
- // column: 2,
283
- // name: null }
284
-
285
- consumer.originalPositionFor({ line: 99999999999999999, column: 999999999999999 })
286
- // { source: null,
287
- // line: null,
288
- // column: null,
289
- // name: null }
290
- ```
291
-
292
- #### SourceMapConsumer.prototype.generatedPositionFor(originalPosition)
293
-
294
- Returns the generated line and column information for the original source,
295
- line, and column positions provided. The only argument is an object with
296
- the following properties:
297
-
298
- * `source`: The filename of the original source.
299
-
300
- * `line`: The line number in the original source. The line number is
301
- 1-based.
302
-
303
- * `column`: The column number in the original source. The column
304
- number is 0-based.
305
-
306
- and an object is returned with the following properties:
307
-
308
- * `line`: The line number in the generated source, or null. The line
309
- number is 1-based.
310
-
311
- * `column`: The column number in the generated source, or null. The
312
- column number is 0-based.
313
-
314
- ```js
315
- consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 })
316
- // { line: 1,
317
- // column: 56 }
318
- ```
319
-
320
- #### SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)
321
-
322
- Returns all generated line and column information for the original source, line,
323
- and column provided. If no column is provided, returns all mappings
324
- corresponding to a either the line we are searching for or the next closest line
325
- that has any mappings. Otherwise, returns all mappings corresponding to the
326
- given line and either the column we are searching for or the next closest column
327
- that has any offsets.
328
-
329
- The only argument is an object with the following properties:
330
-
331
- * `source`: The filename of the original source.
332
-
333
- * `line`: The line number in the original source. The line number is
334
- 1-based.
335
-
336
- * `column`: Optional. The column number in the original source. The
337
- column number is 0-based.
338
-
339
- and an array of objects is returned, each with the following properties:
340
-
341
- * `line`: The line number in the generated source, or null. The line
342
- number is 1-based.
343
-
344
- * `column`: The column number in the generated source, or null. The
345
- column number is 0-based.
346
-
347
- ```js
348
- consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" })
349
- // [ { line: 2,
350
- // column: 1 },
351
- // { line: 2,
352
- // column: 10 },
353
- // { line: 2,
354
- // column: 20 } ]
355
- ```
356
-
357
- #### SourceMapConsumer.prototype.hasContentsOfAllSources()
358
-
359
- Return true if we have the embedded source content for every source listed in
360
- the source map, false otherwise.
361
-
362
- In other words, if this method returns `true`, then
363
- `consumer.sourceContentFor(s)` will succeed for every source `s` in
364
- `consumer.sources`.
365
-
366
- ```js
367
- // ...
368
- if (consumer.hasContentsOfAllSources()) {
369
- consumerReadyCallback(consumer);
370
- } else {
371
- fetchSources(consumer, consumerReadyCallback);
372
- }
373
- // ...
374
- ```
375
-
376
- #### SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])
377
-
378
- Returns the original source content for the source provided. The only
379
- argument is the URL of the original source file.
380
-
381
- If the source content for the given source is not found, then an error is
382
- thrown. Optionally, pass `true` as the second param to have `null` returned
383
- instead.
384
-
385
- ```js
386
- consumer.sources
387
- // [ "my-cool-lib.clj" ]
388
-
389
- consumer.sourceContentFor("my-cool-lib.clj")
390
- // "..."
391
-
392
- consumer.sourceContentFor("this is not in the source map");
393
- // Error: "this is not in the source map" is not in the source map
394
-
395
- consumer.sourceContentFor("this is not in the source map", true);
396
- // null
397
- ```
398
-
399
- #### SourceMapConsumer.prototype.eachMapping(callback, context, order)
400
-
401
- Iterate over each mapping between an original source/line/column and a
402
- generated line/column in this source map.
403
-
404
- * `callback`: The function that is called with each mapping. Mappings have the
405
- form `{ source, generatedLine, generatedColumn, originalLine, originalColumn,
406
- name }`
407
-
408
- * `context`: Optional. If specified, this object will be the value of `this`
409
- every time that `callback` is called.
410
-
411
- * `order`: Either `SourceMapConsumer.GENERATED_ORDER` or
412
- `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to iterate over
413
- the mappings sorted by the generated file's line/column order or the
414
- original's source/line/column order, respectively. Defaults to
415
- `SourceMapConsumer.GENERATED_ORDER`.
416
-
417
- ```js
418
- consumer.eachMapping(function (m) { console.log(m); })
419
- // ...
420
- // { source: 'illmatic.js',
421
- // generatedLine: 1,
422
- // generatedColumn: 0,
423
- // originalLine: 1,
424
- // originalColumn: 0,
425
- // name: null }
426
- // { source: 'illmatic.js',
427
- // generatedLine: 2,
428
- // generatedColumn: 0,
429
- // originalLine: 2,
430
- // originalColumn: 0,
431
- // name: null }
432
- // ...
433
- ```
434
- ### SourceMapGenerator
435
-
436
- An instance of the SourceMapGenerator represents a source map which is being
437
- built incrementally.
438
-
439
- #### new SourceMapGenerator([startOfSourceMap])
440
-
441
- You may pass an object with the following properties:
442
-
443
- * `file`: The filename of the generated source that this source map is
444
- associated with.
445
-
446
- * `sourceRoot`: A root for all relative URLs in this source map.
447
-
448
- * `skipValidation`: Optional. When `true`, disables validation of mappings as
449
- they are added. This can improve performance but should be used with
450
- discretion, as a last resort. Even then, one should avoid using this flag when
451
- running tests, if possible.
452
-
453
- ```js
454
- var generator = new sourceMap.SourceMapGenerator({
455
- file: "my-generated-javascript-file.js",
456
- sourceRoot: "http://example.com/app/js/"
457
- });
458
- ```
459
-
460
- #### SourceMapGenerator.fromSourceMap(sourceMapConsumer)
461
-
462
- Creates a new `SourceMapGenerator` from an existing `SourceMapConsumer` instance.
463
-
464
- * `sourceMapConsumer` The SourceMap.
465
-
466
- ```js
467
- var generator = sourceMap.SourceMapGenerator.fromSourceMap(consumer);
468
- ```
469
-
470
- #### SourceMapGenerator.prototype.addMapping(mapping)
471
-
472
- Add a single mapping from original source line and column to the generated
473
- source's line and column for this source map being created. The mapping object
474
- should have the following properties:
475
-
476
- * `generated`: An object with the generated line and column positions.
477
-
478
- * `original`: An object with the original line and column positions.
479
-
480
- * `source`: The original source file (relative to the sourceRoot).
481
-
482
- * `name`: An optional original token name for this mapping.
483
-
484
- ```js
485
- generator.addMapping({
486
- source: "module-one.scm",
487
- original: { line: 128, column: 0 },
488
- generated: { line: 3, column: 456 }
489
- })
490
- ```
491
-
492
- #### SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)
493
-
494
- Set the source content for an original source file.
495
-
496
- * `sourceFile` the URL of the original source file.
497
-
498
- * `sourceContent` the content of the source file.
499
-
500
- ```js
501
- generator.setSourceContent("module-one.scm",
502
- fs.readFileSync("path/to/module-one.scm"))
503
- ```
504
-
505
- #### SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])
506
-
507
- Applies a SourceMap for a source file to the SourceMap.
508
- Each mapping to the supplied source file is rewritten using the
509
- supplied SourceMap. Note: The resolution for the resulting mappings
510
- is the minimum of this map and the supplied map.
511
-
512
- * `sourceMapConsumer`: The SourceMap to be applied.
513
-
514
- * `sourceFile`: Optional. The filename of the source file.
515
- If omitted, sourceMapConsumer.file will be used, if it exists.
516
- Otherwise an error will be thrown.
517
-
518
- * `sourceMapPath`: Optional. The dirname of the path to the SourceMap
519
- to be applied. If relative, it is relative to the SourceMap.
520
-
521
- This parameter is needed when the two SourceMaps aren't in the same
522
- directory, and the SourceMap to be applied contains relative source
523
- paths. If so, those relative source paths need to be rewritten
524
- relative to the SourceMap.
525
-
526
- If omitted, it is assumed that both SourceMaps are in the same directory,
527
- thus not needing any rewriting. (Supplying `'.'` has the same effect.)
528
-
529
- #### SourceMapGenerator.prototype.toString()
530
-
531
- Renders the source map being generated to a string.
532
-
533
- ```js
534
- generator.toString()
535
- // '{"version":3,"sources":["module-one.scm"],"names":[],"mappings":"...snip...","file":"my-generated-javascript-file.js","sourceRoot":"http://example.com/app/js/"}'
536
- ```
537
-
538
- ### SourceNode
539
-
540
- SourceNodes provide a way to abstract over interpolating and/or concatenating
541
- snippets of generated JavaScript source code, while maintaining the line and
542
- column information associated between those snippets and the original source
543
- code. This is useful as the final intermediate representation a compiler might
544
- use before outputting the generated JS and source map.
545
-
546
- #### new SourceNode([line, column, source[, chunk[, name]]])
547
-
548
- * `line`: The original line number associated with this source node, or null if
549
- it isn't associated with an original line. The line number is 1-based.
550
-
551
- * `column`: The original column number associated with this source node, or null
552
- if it isn't associated with an original column. The column number
553
- is 0-based.
554
-
555
- * `source`: The original source's filename; null if no filename is provided.
556
-
557
- * `chunk`: Optional. Is immediately passed to `SourceNode.prototype.add`, see
558
- below.
559
-
560
- * `name`: Optional. The original identifier.
561
-
562
- ```js
563
- var node = new SourceNode(1, 2, "a.cpp", [
564
- new SourceNode(3, 4, "b.cpp", "extern int status;\n"),
565
- new SourceNode(5, 6, "c.cpp", "std::string* make_string(size_t n);\n"),
566
- new SourceNode(7, 8, "d.cpp", "int main(int argc, char** argv) {}\n"),
567
- ]);
568
- ```
569
-
570
- #### SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])
571
-
572
- Creates a SourceNode from generated code and a SourceMapConsumer.
573
-
574
- * `code`: The generated code
575
-
576
- * `sourceMapConsumer` The SourceMap for the generated code
577
-
578
- * `relativePath` The optional path that relative sources in `sourceMapConsumer`
579
- should be relative to.
580
-
581
- ```js
582
- var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8"));
583
- var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"),
584
- consumer);
585
- ```
586
-
587
- #### SourceNode.prototype.add(chunk)
588
-
589
- Add a chunk of generated JS to this source node.
590
-
591
- * `chunk`: A string snippet of generated JS code, another instance of
592
- `SourceNode`, or an array where each member is one of those things.
593
-
594
- ```js
595
- node.add(" + ");
596
- node.add(otherNode);
597
- node.add([leftHandOperandNode, " + ", rightHandOperandNode]);
598
- ```
599
-
600
- #### SourceNode.prototype.prepend(chunk)
601
-
602
- Prepend a chunk of generated JS to this source node.
603
-
604
- * `chunk`: A string snippet of generated JS code, another instance of
605
- `SourceNode`, or an array where each member is one of those things.
606
-
607
- ```js
608
- node.prepend("/** Build Id: f783haef86324gf **/\n\n");
609
- ```
610
-
611
- #### SourceNode.prototype.setSourceContent(sourceFile, sourceContent)
612
-
613
- Set the source content for a source file. This will be added to the
614
- `SourceMap` in the `sourcesContent` field.
615
-
616
- * `sourceFile`: The filename of the source file
617
-
618
- * `sourceContent`: The content of the source file
619
-
620
- ```js
621
- node.setSourceContent("module-one.scm",
622
- fs.readFileSync("path/to/module-one.scm"))
623
- ```
624
-
625
- #### SourceNode.prototype.walk(fn)
626
-
627
- Walk over the tree of JS snippets in this node and its children. The walking
628
- function is called once for each snippet of JS and is passed that snippet and
629
- the its original associated source's line/column location.
630
-
631
- * `fn`: The traversal function.
632
-
633
- ```js
634
- var node = new SourceNode(1, 2, "a.js", [
635
- new SourceNode(3, 4, "b.js", "uno"),
636
- "dos",
637
- [
638
- "tres",
639
- new SourceNode(5, 6, "c.js", "quatro")
640
- ]
641
- ]);
642
-
643
- node.walk(function (code, loc) { console.log("WALK:", code, loc); })
644
- // WALK: uno { source: 'b.js', line: 3, column: 4, name: null }
645
- // WALK: dos { source: 'a.js', line: 1, column: 2, name: null }
646
- // WALK: tres { source: 'a.js', line: 1, column: 2, name: null }
647
- // WALK: quatro { source: 'c.js', line: 5, column: 6, name: null }
648
- ```
649
-
650
- #### SourceNode.prototype.walkSourceContents(fn)
651
-
652
- Walk over the tree of SourceNodes. The walking function is called for each
653
- source file content and is passed the filename and source content.
654
-
655
- * `fn`: The traversal function.
656
-
657
- ```js
658
- var a = new SourceNode(1, 2, "a.js", "generated from a");
659
- a.setSourceContent("a.js", "original a");
660
- var b = new SourceNode(1, 2, "b.js", "generated from b");
661
- b.setSourceContent("b.js", "original b");
662
- var c = new SourceNode(1, 2, "c.js", "generated from c");
663
- c.setSourceContent("c.js", "original c");
664
-
665
- var node = new SourceNode(null, null, null, [a, b, c]);
666
- node.walkSourceContents(function (source, contents) { console.log("WALK:", source, ":", contents); })
667
- // WALK: a.js : original a
668
- // WALK: b.js : original b
669
- // WALK: c.js : original c
670
- ```
671
-
672
- #### SourceNode.prototype.join(sep)
673
-
674
- Like `Array.prototype.join` except for SourceNodes. Inserts the separator
675
- between each of this source node's children.
676
-
677
- * `sep`: The separator.
678
-
679
- ```js
680
- var lhs = new SourceNode(1, 2, "a.rs", "my_copy");
681
- var operand = new SourceNode(3, 4, "a.rs", "=");
682
- var rhs = new SourceNode(5, 6, "a.rs", "orig.clone()");
683
-
684
- var node = new SourceNode(null, null, null, [ lhs, operand, rhs ]);
685
- var joinedNode = node.join(" ");
686
- ```
687
-
688
- #### SourceNode.prototype.replaceRight(pattern, replacement)
689
-
690
- Call `String.prototype.replace` on the very right-most source snippet. Useful
691
- for trimming white space from the end of a source node, etc.
692
-
693
- * `pattern`: The pattern to replace.
694
-
695
- * `replacement`: The thing to replace the pattern with.
696
-
697
- ```js
698
- // Trim trailing white space.
699
- node.replaceRight(/\s*$/, "");
700
- ```
701
-
702
- #### SourceNode.prototype.toString()
703
-
704
- Return the string representation of this source node. Walks over the tree and
705
- concatenates all the various snippets together to one string.
706
-
707
- ```js
708
- var node = new SourceNode(1, 2, "a.js", [
709
- new SourceNode(3, 4, "b.js", "uno"),
710
- "dos",
711
- [
712
- "tres",
713
- new SourceNode(5, 6, "c.js", "quatro")
714
- ]
715
- ]);
716
-
717
- node.toString()
718
- // 'unodostresquatro'
719
- ```
720
-
721
- #### SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])
722
-
723
- Returns the string representation of this tree of source nodes, plus a
724
- SourceMapGenerator which contains all the mappings between the generated and
725
- original sources.
726
-
727
- The arguments are the same as those to `new SourceMapGenerator`.
728
-
729
- ```js
730
- var node = new SourceNode(1, 2, "a.js", [
731
- new SourceNode(3, 4, "b.js", "uno"),
732
- "dos",
733
- [
734
- "tres",
735
- new SourceNode(5, 6, "c.js", "quatro")
736
- ]
737
- ]);
738
-
739
- node.toStringWithSourceMap({ file: "my-output-file.js" })
740
- // { code: 'unodostresquatro',
741
- // map: [object SourceMapGenerator] }
742
- ```