@zipify/wysiwyg 1.2.1-0 → 1.2.1

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 (1151) hide show
  1. package/.github/actions/lint-css/action.yaml +1 -3
  2. package/dist/cli.js +3 -3
  3. package/dist/wysiwyg.css +24 -25
  4. package/dist/wysiwyg.mjs +626 -601
  5. package/jest.config.js +3 -0
  6. package/lib/components/base/Modal.vue +21 -2
  7. package/lib/components/base/__tests__/Modal.test.js +1 -0
  8. package/lib/components/toolbar/controls/link/LinkControl.vue +18 -7
  9. package/lib/components/toolbar/controls/link/LinkControlHeader.vue +1 -1
  10. package/lib/components/toolbar/controls/link/__tests__/LinkControl.test.js +7 -7
  11. package/lib/components/toolbar/controls/link/composables/useLink.js +3 -1
  12. package/lib/composables/__tests__/__snapshots__/useEditor.test.js.snap +1 -1
  13. package/lib/composables/useEditor.js +4 -3
  14. package/lib/extensions/FontFamily.js +2 -3
  15. package/lib/extensions/FontWeight.js +2 -0
  16. package/lib/extensions/StylePreset.js +33 -3
  17. package/lib/extensions/TextDecoration.js +1 -6
  18. package/lib/extensions/__tests__/FontFamily.test.js +3 -1
  19. package/lib/extensions/__tests__/FontWeight.test.js +8 -0
  20. package/lib/extensions/__tests__/StylePreset.test.js +52 -2
  21. package/lib/extensions/__tests__/TextDecoration.test.js +2 -62
  22. package/lib/extensions/__tests__/__snapshots__/Alignment.test.js.snap +2 -2
  23. package/lib/extensions/__tests__/__snapshots__/BackgroundColor.test.js.snap +1 -1
  24. package/lib/extensions/__tests__/__snapshots__/FontColor.test.js.snap +1 -1
  25. package/lib/extensions/__tests__/__snapshots__/FontFamily.test.js.snap +1 -1
  26. package/lib/extensions/__tests__/__snapshots__/FontSize.test.js.snap +2 -2
  27. package/lib/extensions/__tests__/__snapshots__/FontStyle.test.js.snap +1 -1
  28. package/lib/extensions/__tests__/__snapshots__/FontWeight.test.js.snap +26 -1
  29. package/lib/extensions/__tests__/__snapshots__/LineHeight.test.js.snap +2 -2
  30. package/lib/extensions/__tests__/__snapshots__/Margin.test.js.snap +2 -2
  31. package/lib/extensions/__tests__/__snapshots__/StylePreset.test.js.snap +22 -2
  32. package/lib/extensions/__tests__/__snapshots__/TextDecoration.test.js.snap +3 -3
  33. package/lib/extensions/index.js +9 -4
  34. package/package.json +23 -28
  35. package/config/build/lambda.config.js +0 -39
  36. package/dist/lambda-to-json.zip +0 -0
  37. package/lib/components/toolbar/controls/link/LinkControlApply.vue +0 -35
  38. package/lib/entry-lambda-to-json.js +0 -8
  39. package/node_modules_lambda/.bin/acorn +0 -4
  40. package/node_modules_lambda/.bin/escodegen +0 -77
  41. package/node_modules_lambda/.bin/esgenerate +0 -64
  42. package/node_modules_lambda/.bin/esparse +0 -139
  43. package/node_modules_lambda/.bin/esvalidate +0 -236
  44. package/node_modules_lambda/.package-lock.json +0 -602
  45. package/node_modules_lambda/@tootallnate/once/LICENSE +0 -21
  46. package/node_modules_lambda/@tootallnate/once/README.md +0 -93
  47. package/node_modules_lambda/@tootallnate/once/dist/index.d.ts +0 -7
  48. package/node_modules_lambda/@tootallnate/once/dist/index.js +0 -24
  49. package/node_modules_lambda/@tootallnate/once/dist/index.js.map +0 -1
  50. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.d.ts +0 -231
  51. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js +0 -3
  52. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
  53. package/node_modules_lambda/@tootallnate/once/dist/types.d.ts +0 -17
  54. package/node_modules_lambda/@tootallnate/once/dist/types.js +0 -3
  55. package/node_modules_lambda/@tootallnate/once/dist/types.js.map +0 -1
  56. package/node_modules_lambda/@tootallnate/once/package.json +0 -52
  57. package/node_modules_lambda/abab/LICENSE.md +0 -13
  58. package/node_modules_lambda/abab/README.md +0 -51
  59. package/node_modules_lambda/abab/index.d.ts +0 -2
  60. package/node_modules_lambda/abab/index.js +0 -9
  61. package/node_modules_lambda/abab/lib/atob.js +0 -101
  62. package/node_modules_lambda/abab/lib/btoa.js +0 -62
  63. package/node_modules_lambda/abab/package.json +0 -42
  64. package/node_modules_lambda/acorn/CHANGELOG.md +0 -798
  65. package/node_modules_lambda/acorn/LICENSE +0 -21
  66. package/node_modules_lambda/acorn/README.md +0 -273
  67. package/node_modules_lambda/acorn/bin/acorn +0 -4
  68. package/node_modules_lambda/acorn/dist/acorn.d.ts +0 -252
  69. package/node_modules_lambda/acorn/dist/acorn.js +0 -5608
  70. package/node_modules_lambda/acorn/dist/acorn.mjs +0 -5577
  71. package/node_modules_lambda/acorn/dist/acorn.mjs.d.ts +0 -2
  72. package/node_modules_lambda/acorn/dist/bin.js +0 -91
  73. package/node_modules_lambda/acorn/package.json +0 -50
  74. package/node_modules_lambda/acorn-globals/LICENSE +0 -19
  75. package/node_modules_lambda/acorn-globals/README.md +0 -81
  76. package/node_modules_lambda/acorn-globals/index.js +0 -179
  77. package/node_modules_lambda/acorn-globals/node_modules/.bin/acorn +0 -4
  78. package/node_modules_lambda/acorn-globals/node_modules/acorn/CHANGELOG.md +0 -620
  79. package/node_modules_lambda/acorn-globals/node_modules/acorn/LICENSE +0 -21
  80. package/node_modules_lambda/acorn-globals/node_modules/acorn/README.md +0 -269
  81. package/node_modules_lambda/acorn-globals/node_modules/acorn/bin/acorn +0 -4
  82. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.d.ts +0 -209
  83. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js +0 -5186
  84. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js.map +0 -1
  85. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs +0 -5155
  86. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  87. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +0 -1
  88. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/bin.js +0 -64
  89. package/node_modules_lambda/acorn-globals/node_modules/acorn/package.json +0 -35
  90. package/node_modules_lambda/acorn-globals/package.json +0 -35
  91. package/node_modules_lambda/acorn-walk/CHANGELOG.md +0 -131
  92. package/node_modules_lambda/acorn-walk/LICENSE +0 -19
  93. package/node_modules_lambda/acorn-walk/README.md +0 -126
  94. package/node_modules_lambda/acorn-walk/dist/walk.d.ts +0 -112
  95. package/node_modules_lambda/acorn-walk/dist/walk.js +0 -463
  96. package/node_modules_lambda/acorn-walk/dist/walk.js.map +0 -1
  97. package/node_modules_lambda/acorn-walk/dist/walk.mjs +0 -443
  98. package/node_modules_lambda/acorn-walk/dist/walk.mjs.map +0 -1
  99. package/node_modules_lambda/acorn-walk/package.json +0 -34
  100. package/node_modules_lambda/agent-base/README.md +0 -145
  101. package/node_modules_lambda/agent-base/dist/src/index.d.ts +0 -78
  102. package/node_modules_lambda/agent-base/dist/src/index.js +0 -203
  103. package/node_modules_lambda/agent-base/dist/src/index.js.map +0 -1
  104. package/node_modules_lambda/agent-base/dist/src/promisify.d.ts +0 -4
  105. package/node_modules_lambda/agent-base/dist/src/promisify.js +0 -18
  106. package/node_modules_lambda/agent-base/dist/src/promisify.js.map +0 -1
  107. package/node_modules_lambda/agent-base/package.json +0 -64
  108. package/node_modules_lambda/agent-base/src/index.ts +0 -345
  109. package/node_modules_lambda/agent-base/src/promisify.ts +0 -33
  110. package/node_modules_lambda/asynckit/LICENSE +0 -21
  111. package/node_modules_lambda/asynckit/README.md +0 -233
  112. package/node_modules_lambda/asynckit/bench.js +0 -76
  113. package/node_modules_lambda/asynckit/index.js +0 -6
  114. package/node_modules_lambda/asynckit/lib/abort.js +0 -29
  115. package/node_modules_lambda/asynckit/lib/async.js +0 -34
  116. package/node_modules_lambda/asynckit/lib/defer.js +0 -26
  117. package/node_modules_lambda/asynckit/lib/iterate.js +0 -75
  118. package/node_modules_lambda/asynckit/lib/readable_asynckit.js +0 -91
  119. package/node_modules_lambda/asynckit/lib/readable_parallel.js +0 -25
  120. package/node_modules_lambda/asynckit/lib/readable_serial.js +0 -25
  121. package/node_modules_lambda/asynckit/lib/readable_serial_ordered.js +0 -29
  122. package/node_modules_lambda/asynckit/lib/state.js +0 -37
  123. package/node_modules_lambda/asynckit/lib/streamify.js +0 -141
  124. package/node_modules_lambda/asynckit/lib/terminator.js +0 -29
  125. package/node_modules_lambda/asynckit/package.json +0 -63
  126. package/node_modules_lambda/asynckit/parallel.js +0 -43
  127. package/node_modules_lambda/asynckit/serial.js +0 -17
  128. package/node_modules_lambda/asynckit/serialOrdered.js +0 -75
  129. package/node_modules_lambda/asynckit/stream.js +0 -21
  130. package/node_modules_lambda/browser-process-hrtime/LICENSE +0 -9
  131. package/node_modules_lambda/browser-process-hrtime/README.md +0 -27
  132. package/node_modules_lambda/browser-process-hrtime/index.d.ts +0 -4
  133. package/node_modules_lambda/browser-process-hrtime/index.js +0 -28
  134. package/node_modules_lambda/browser-process-hrtime/package.json +0 -15
  135. package/node_modules_lambda/combined-stream/License +0 -19
  136. package/node_modules_lambda/combined-stream/Readme.md +0 -138
  137. package/node_modules_lambda/combined-stream/lib/combined_stream.js +0 -208
  138. package/node_modules_lambda/combined-stream/package.json +0 -25
  139. package/node_modules_lambda/combined-stream/yarn.lock +0 -17
  140. package/node_modules_lambda/cssom/LICENSE.txt +0 -20
  141. package/node_modules_lambda/cssom/README.mdown +0 -67
  142. package/node_modules_lambda/cssom/lib/CSSConditionRule.js +0 -25
  143. package/node_modules_lambda/cssom/lib/CSSDocumentRule.js +0 -39
  144. package/node_modules_lambda/cssom/lib/CSSFontFaceRule.js +0 -36
  145. package/node_modules_lambda/cssom/lib/CSSGroupingRule.js +0 -68
  146. package/node_modules_lambda/cssom/lib/CSSHostRule.js +0 -37
  147. package/node_modules_lambda/cssom/lib/CSSImportRule.js +0 -132
  148. package/node_modules_lambda/cssom/lib/CSSKeyframeRule.js +0 -37
  149. package/node_modules_lambda/cssom/lib/CSSKeyframesRule.js +0 -39
  150. package/node_modules_lambda/cssom/lib/CSSMediaRule.js +0 -53
  151. package/node_modules_lambda/cssom/lib/CSSOM.js +0 -3
  152. package/node_modules_lambda/cssom/lib/CSSRule.js +0 -43
  153. package/node_modules_lambda/cssom/lib/CSSStyleDeclaration.js +0 -148
  154. package/node_modules_lambda/cssom/lib/CSSStyleRule.js +0 -190
  155. package/node_modules_lambda/cssom/lib/CSSStyleSheet.js +0 -88
  156. package/node_modules_lambda/cssom/lib/CSSSupportsRule.js +0 -36
  157. package/node_modules_lambda/cssom/lib/CSSValue.js +0 -43
  158. package/node_modules_lambda/cssom/lib/CSSValueExpression.js +0 -344
  159. package/node_modules_lambda/cssom/lib/MatcherList.js +0 -62
  160. package/node_modules_lambda/cssom/lib/MediaList.js +0 -61
  161. package/node_modules_lambda/cssom/lib/StyleSheet.js +0 -17
  162. package/node_modules_lambda/cssom/lib/clone.js +0 -74
  163. package/node_modules_lambda/cssom/lib/index.js +0 -23
  164. package/node_modules_lambda/cssom/lib/parse.js +0 -465
  165. package/node_modules_lambda/cssom/package.json +0 -18
  166. package/node_modules_lambda/cssstyle/LICENSE +0 -20
  167. package/node_modules_lambda/cssstyle/README.md +0 -15
  168. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.js +0 -260
  169. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.test.js +0 -556
  170. package/node_modules_lambda/cssstyle/lib/allExtraProperties.js +0 -67
  171. package/node_modules_lambda/cssstyle/lib/allProperties.js +0 -462
  172. package/node_modules_lambda/cssstyle/lib/allWebkitProperties.js +0 -194
  173. package/node_modules_lambda/cssstyle/lib/constants.js +0 -6
  174. package/node_modules_lambda/cssstyle/lib/implementedProperties.js +0 -90
  175. package/node_modules_lambda/cssstyle/lib/named_colors.json +0 -152
  176. package/node_modules_lambda/cssstyle/lib/parsers.js +0 -722
  177. package/node_modules_lambda/cssstyle/lib/parsers.test.js +0 -139
  178. package/node_modules_lambda/cssstyle/lib/properties/azimuth.js +0 -67
  179. package/node_modules_lambda/cssstyle/lib/properties/background.js +0 -19
  180. package/node_modules_lambda/cssstyle/lib/properties/backgroundAttachment.js +0 -24
  181. package/node_modules_lambda/cssstyle/lib/properties/backgroundColor.js +0 -36
  182. package/node_modules_lambda/cssstyle/lib/properties/backgroundImage.js +0 -32
  183. package/node_modules_lambda/cssstyle/lib/properties/backgroundPosition.js +0 -58
  184. package/node_modules_lambda/cssstyle/lib/properties/backgroundRepeat.js +0 -32
  185. package/node_modules_lambda/cssstyle/lib/properties/border.js +0 -33
  186. package/node_modules_lambda/cssstyle/lib/properties/borderBottom.js +0 -17
  187. package/node_modules_lambda/cssstyle/lib/properties/borderBottomColor.js +0 -16
  188. package/node_modules_lambda/cssstyle/lib/properties/borderBottomStyle.js +0 -21
  189. package/node_modules_lambda/cssstyle/lib/properties/borderBottomWidth.js +0 -16
  190. package/node_modules_lambda/cssstyle/lib/properties/borderCollapse.js +0 -26
  191. package/node_modules_lambda/cssstyle/lib/properties/borderColor.js +0 -30
  192. package/node_modules_lambda/cssstyle/lib/properties/borderLeft.js +0 -17
  193. package/node_modules_lambda/cssstyle/lib/properties/borderLeftColor.js +0 -16
  194. package/node_modules_lambda/cssstyle/lib/properties/borderLeftStyle.js +0 -21
  195. package/node_modules_lambda/cssstyle/lib/properties/borderLeftWidth.js +0 -16
  196. package/node_modules_lambda/cssstyle/lib/properties/borderRight.js +0 -17
  197. package/node_modules_lambda/cssstyle/lib/properties/borderRightColor.js +0 -16
  198. package/node_modules_lambda/cssstyle/lib/properties/borderRightStyle.js +0 -21
  199. package/node_modules_lambda/cssstyle/lib/properties/borderRightWidth.js +0 -16
  200. package/node_modules_lambda/cssstyle/lib/properties/borderSpacing.js +0 -41
  201. package/node_modules_lambda/cssstyle/lib/properties/borderStyle.js +0 -38
  202. package/node_modules_lambda/cssstyle/lib/properties/borderTop.js +0 -17
  203. package/node_modules_lambda/cssstyle/lib/properties/borderTopColor.js +0 -16
  204. package/node_modules_lambda/cssstyle/lib/properties/borderTopStyle.js +0 -21
  205. package/node_modules_lambda/cssstyle/lib/properties/borderTopWidth.js +0 -17
  206. package/node_modules_lambda/cssstyle/lib/properties/borderWidth.js +0 -46
  207. package/node_modules_lambda/cssstyle/lib/properties/bottom.js +0 -14
  208. package/node_modules_lambda/cssstyle/lib/properties/clear.js +0 -16
  209. package/node_modules_lambda/cssstyle/lib/properties/clip.js +0 -47
  210. package/node_modules_lambda/cssstyle/lib/properties/color.js +0 -14
  211. package/node_modules_lambda/cssstyle/lib/properties/cssFloat.js +0 -12
  212. package/node_modules_lambda/cssstyle/lib/properties/flex.js +0 -45
  213. package/node_modules_lambda/cssstyle/lib/properties/flexBasis.js +0 -28
  214. package/node_modules_lambda/cssstyle/lib/properties/flexGrow.js +0 -19
  215. package/node_modules_lambda/cssstyle/lib/properties/flexShrink.js +0 -19
  216. package/node_modules_lambda/cssstyle/lib/properties/float.js +0 -12
  217. package/node_modules_lambda/cssstyle/lib/properties/floodColor.js +0 -14
  218. package/node_modules_lambda/cssstyle/lib/properties/font.js +0 -43
  219. package/node_modules_lambda/cssstyle/lib/properties/fontFamily.js +0 -33
  220. package/node_modules_lambda/cssstyle/lib/properties/fontSize.js +0 -38
  221. package/node_modules_lambda/cssstyle/lib/properties/fontStyle.js +0 -18
  222. package/node_modules_lambda/cssstyle/lib/properties/fontVariant.js +0 -18
  223. package/node_modules_lambda/cssstyle/lib/properties/fontWeight.js +0 -33
  224. package/node_modules_lambda/cssstyle/lib/properties/height.js +0 -24
  225. package/node_modules_lambda/cssstyle/lib/properties/left.js +0 -14
  226. package/node_modules_lambda/cssstyle/lib/properties/lightingColor.js +0 -14
  227. package/node_modules_lambda/cssstyle/lib/properties/lineHeight.js +0 -26
  228. package/node_modules_lambda/cssstyle/lib/properties/margin.js +0 -68
  229. package/node_modules_lambda/cssstyle/lib/properties/marginBottom.js +0 -13
  230. package/node_modules_lambda/cssstyle/lib/properties/marginLeft.js +0 -13
  231. package/node_modules_lambda/cssstyle/lib/properties/marginRight.js +0 -13
  232. package/node_modules_lambda/cssstyle/lib/properties/marginTop.js +0 -13
  233. package/node_modules_lambda/cssstyle/lib/properties/opacity.js +0 -14
  234. package/node_modules_lambda/cssstyle/lib/properties/outlineColor.js +0 -14
  235. package/node_modules_lambda/cssstyle/lib/properties/padding.js +0 -61
  236. package/node_modules_lambda/cssstyle/lib/properties/paddingBottom.js +0 -13
  237. package/node_modules_lambda/cssstyle/lib/properties/paddingLeft.js +0 -13
  238. package/node_modules_lambda/cssstyle/lib/properties/paddingRight.js +0 -13
  239. package/node_modules_lambda/cssstyle/lib/properties/paddingTop.js +0 -13
  240. package/node_modules_lambda/cssstyle/lib/properties/right.js +0 -14
  241. package/node_modules_lambda/cssstyle/lib/properties/stopColor.js +0 -14
  242. package/node_modules_lambda/cssstyle/lib/properties/textLineThroughColor.js +0 -14
  243. package/node_modules_lambda/cssstyle/lib/properties/textOverlineColor.js +0 -14
  244. package/node_modules_lambda/cssstyle/lib/properties/textUnderlineColor.js +0 -14
  245. package/node_modules_lambda/cssstyle/lib/properties/top.js +0 -14
  246. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
  247. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
  248. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
  249. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
  250. package/node_modules_lambda/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
  251. package/node_modules_lambda/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
  252. package/node_modules_lambda/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
  253. package/node_modules_lambda/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
  254. package/node_modules_lambda/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
  255. package/node_modules_lambda/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
  256. package/node_modules_lambda/cssstyle/lib/properties/width.js +0 -24
  257. package/node_modules_lambda/cssstyle/lib/properties.js +0 -1833
  258. package/node_modules_lambda/cssstyle/lib/utils/colorSpace.js +0 -21
  259. package/node_modules_lambda/cssstyle/lib/utils/getBasicPropertyDescriptor.js +0 -14
  260. package/node_modules_lambda/cssstyle/node_modules/cssom/LICENSE.txt +0 -20
  261. package/node_modules_lambda/cssstyle/node_modules/cssom/README.mdown +0 -67
  262. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
  263. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
  264. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSHostRule.js +0 -37
  265. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSImportRule.js +0 -132
  266. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
  267. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
  268. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +0 -41
  269. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSOM.js +0 -3
  270. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSRule.js +0 -43
  271. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
  272. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +0 -190
  273. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
  274. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
  275. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValue.js +0 -43
  276. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +0 -344
  277. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MatcherList.js +0 -62
  278. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MediaList.js +0 -61
  279. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/StyleSheet.js +0 -17
  280. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/clone.js +0 -82
  281. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/index.js +0 -21
  282. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/parse.js +0 -464
  283. package/node_modules_lambda/cssstyle/node_modules/cssom/package.json +0 -18
  284. package/node_modules_lambda/cssstyle/package.json +0 -72
  285. package/node_modules_lambda/data-urls/LICENSE.txt +0 -7
  286. package/node_modules_lambda/data-urls/README.md +0 -62
  287. package/node_modules_lambda/data-urls/lib/parser.js +0 -69
  288. package/node_modules_lambda/data-urls/lib/utils.js +0 -18
  289. package/node_modules_lambda/data-urls/node_modules/whatwg-url/LICENSE.txt +0 -21
  290. package/node_modules_lambda/data-urls/node_modules/whatwg-url/README.md +0 -106
  291. package/node_modules_lambda/data-urls/node_modules/whatwg-url/index.js +0 -27
  292. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/Function.js +0 -42
  293. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL-impl.js +0 -209
  294. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL.js +0 -442
  295. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  296. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams.js +0 -472
  297. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/VoidFunction.js +0 -26
  298. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/encoding.js +0 -16
  299. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/infra.js +0 -26
  300. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/percent-encoding.js +0 -142
  301. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/url-state-machine.js +0 -1244
  302. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/urlencoded.js +0 -106
  303. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/utils.js +0 -190
  304. package/node_modules_lambda/data-urls/node_modules/whatwg-url/package.json +0 -58
  305. package/node_modules_lambda/data-urls/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
  306. package/node_modules_lambda/data-urls/package.json +0 -54
  307. package/node_modules_lambda/debug/LICENSE +0 -20
  308. package/node_modules_lambda/debug/README.md +0 -481
  309. package/node_modules_lambda/debug/package.json +0 -59
  310. package/node_modules_lambda/debug/src/browser.js +0 -269
  311. package/node_modules_lambda/debug/src/common.js +0 -274
  312. package/node_modules_lambda/debug/src/index.js +0 -10
  313. package/node_modules_lambda/debug/src/node.js +0 -263
  314. package/node_modules_lambda/decimal.js/CHANGELOG.md +0 -231
  315. package/node_modules_lambda/decimal.js/LICENCE.md +0 -23
  316. package/node_modules_lambda/decimal.js/README.md +0 -246
  317. package/node_modules_lambda/decimal.js/decimal.d.ts +0 -300
  318. package/node_modules_lambda/decimal.js/decimal.js +0 -4934
  319. package/node_modules_lambda/decimal.js/decimal.mjs +0 -4898
  320. package/node_modules_lambda/decimal.js/package.json +0 -40
  321. package/node_modules_lambda/deep-is/.travis.yml +0 -5
  322. package/node_modules_lambda/deep-is/LICENSE +0 -22
  323. package/node_modules_lambda/deep-is/README.markdown +0 -70
  324. package/node_modules_lambda/deep-is/example/cmp.js +0 -11
  325. package/node_modules_lambda/deep-is/index.js +0 -102
  326. package/node_modules_lambda/deep-is/package.json +0 -58
  327. package/node_modules_lambda/deep-is/test/NaN.js +0 -16
  328. package/node_modules_lambda/deep-is/test/cmp.js +0 -23
  329. package/node_modules_lambda/deep-is/test/neg-vs-pos-0.js +0 -15
  330. package/node_modules_lambda/delayed-stream/License +0 -19
  331. package/node_modules_lambda/delayed-stream/Makefile +0 -7
  332. package/node_modules_lambda/delayed-stream/Readme.md +0 -141
  333. package/node_modules_lambda/delayed-stream/lib/delayed_stream.js +0 -107
  334. package/node_modules_lambda/delayed-stream/package.json +0 -27
  335. package/node_modules_lambda/domexception/LICENSE.txt +0 -21
  336. package/node_modules_lambda/domexception/README.md +0 -31
  337. package/node_modules_lambda/domexception/index.js +0 -7
  338. package/node_modules_lambda/domexception/lib/DOMException-impl.js +0 -22
  339. package/node_modules_lambda/domexception/lib/DOMException.js +0 -222
  340. package/node_modules_lambda/domexception/lib/Function.js +0 -42
  341. package/node_modules_lambda/domexception/lib/VoidFunction.js +0 -26
  342. package/node_modules_lambda/domexception/lib/legacy-error-codes.json +0 -24
  343. package/node_modules_lambda/domexception/lib/utils.js +0 -190
  344. package/node_modules_lambda/domexception/package.json +0 -42
  345. package/node_modules_lambda/domexception/webidl2js-wrapper.js +0 -15
  346. package/node_modules_lambda/escodegen/LICENSE.BSD +0 -21
  347. package/node_modules_lambda/escodegen/README.md +0 -84
  348. package/node_modules_lambda/escodegen/bin/escodegen.js +0 -77
  349. package/node_modules_lambda/escodegen/bin/esgenerate.js +0 -64
  350. package/node_modules_lambda/escodegen/escodegen.js +0 -2647
  351. package/node_modules_lambda/escodegen/node_modules/estraverse/.jshintrc +0 -16
  352. package/node_modules_lambda/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
  353. package/node_modules_lambda/escodegen/node_modules/estraverse/README.md +0 -153
  354. package/node_modules_lambda/escodegen/node_modules/estraverse/estraverse.js +0 -805
  355. package/node_modules_lambda/escodegen/node_modules/estraverse/gulpfile.js +0 -70
  356. package/node_modules_lambda/escodegen/node_modules/estraverse/package.json +0 -40
  357. package/node_modules_lambda/escodegen/node_modules/levn/LICENSE +0 -22
  358. package/node_modules_lambda/escodegen/node_modules/levn/README.md +0 -196
  359. package/node_modules_lambda/escodegen/node_modules/levn/lib/cast.js +0 -298
  360. package/node_modules_lambda/escodegen/node_modules/levn/lib/coerce.js +0 -285
  361. package/node_modules_lambda/escodegen/node_modules/levn/lib/index.js +0 -22
  362. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse-string.js +0 -113
  363. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse.js +0 -102
  364. package/node_modules_lambda/escodegen/node_modules/levn/package.json +0 -47
  365. package/node_modules_lambda/escodegen/node_modules/optionator/CHANGELOG.md +0 -56
  366. package/node_modules_lambda/escodegen/node_modules/optionator/LICENSE +0 -22
  367. package/node_modules_lambda/escodegen/node_modules/optionator/README.md +0 -238
  368. package/node_modules_lambda/escodegen/node_modules/optionator/lib/help.js +0 -260
  369. package/node_modules_lambda/escodegen/node_modules/optionator/lib/index.js +0 -465
  370. package/node_modules_lambda/escodegen/node_modules/optionator/lib/util.js +0 -54
  371. package/node_modules_lambda/escodegen/node_modules/optionator/package.json +0 -44
  372. package/node_modules_lambda/escodegen/node_modules/prelude-ls/CHANGELOG.md +0 -99
  373. package/node_modules_lambda/escodegen/node_modules/prelude-ls/LICENSE +0 -22
  374. package/node_modules_lambda/escodegen/node_modules/prelude-ls/README.md +0 -15
  375. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Func.js +0 -65
  376. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/List.js +0 -686
  377. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Num.js +0 -130
  378. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Obj.js +0 -154
  379. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Str.js +0 -92
  380. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/index.js +0 -178
  381. package/node_modules_lambda/escodegen/node_modules/prelude-ls/package.json +0 -52
  382. package/node_modules_lambda/escodegen/node_modules/source-map/CHANGELOG.md +0 -301
  383. package/node_modules_lambda/escodegen/node_modules/source-map/LICENSE +0 -28
  384. package/node_modules_lambda/escodegen/node_modules/source-map/README.md +0 -742
  385. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.debug.js +0 -3234
  386. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.js +0 -3233
  387. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js +0 -2
  388. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js.map +0 -1
  389. package/node_modules_lambda/escodegen/node_modules/source-map/lib/array-set.js +0 -121
  390. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64-vlq.js +0 -140
  391. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64.js +0 -67
  392. package/node_modules_lambda/escodegen/node_modules/source-map/lib/binary-search.js +0 -111
  393. package/node_modules_lambda/escodegen/node_modules/source-map/lib/mapping-list.js +0 -79
  394. package/node_modules_lambda/escodegen/node_modules/source-map/lib/quick-sort.js +0 -114
  395. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  396. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-generator.js +0 -425
  397. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-node.js +0 -413
  398. package/node_modules_lambda/escodegen/node_modules/source-map/lib/util.js +0 -488
  399. package/node_modules_lambda/escodegen/node_modules/source-map/package.json +0 -73
  400. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.d.ts +0 -98
  401. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.js +0 -8
  402. package/node_modules_lambda/escodegen/node_modules/type-check/LICENSE +0 -22
  403. package/node_modules_lambda/escodegen/node_modules/type-check/README.md +0 -210
  404. package/node_modules_lambda/escodegen/node_modules/type-check/lib/check.js +0 -126
  405. package/node_modules_lambda/escodegen/node_modules/type-check/lib/index.js +0 -16
  406. package/node_modules_lambda/escodegen/node_modules/type-check/lib/parse-type.js +0 -196
  407. package/node_modules_lambda/escodegen/node_modules/type-check/package.json +0 -40
  408. package/node_modules_lambda/escodegen/package.json +0 -62
  409. package/node_modules_lambda/esprima/ChangeLog +0 -235
  410. package/node_modules_lambda/esprima/LICENSE.BSD +0 -21
  411. package/node_modules_lambda/esprima/README.md +0 -46
  412. package/node_modules_lambda/esprima/bin/esparse.js +0 -139
  413. package/node_modules_lambda/esprima/bin/esvalidate.js +0 -236
  414. package/node_modules_lambda/esprima/dist/esprima.js +0 -6709
  415. package/node_modules_lambda/esprima/package.json +0 -112
  416. package/node_modules_lambda/esutils/LICENSE.BSD +0 -19
  417. package/node_modules_lambda/esutils/README.md +0 -174
  418. package/node_modules_lambda/esutils/lib/ast.js +0 -144
  419. package/node_modules_lambda/esutils/lib/code.js +0 -135
  420. package/node_modules_lambda/esutils/lib/keyword.js +0 -165
  421. package/node_modules_lambda/esutils/lib/utils.js +0 -33
  422. package/node_modules_lambda/esutils/package.json +0 -44
  423. package/node_modules_lambda/fast-levenshtein/LICENSE.md +0 -25
  424. package/node_modules_lambda/fast-levenshtein/README.md +0 -104
  425. package/node_modules_lambda/fast-levenshtein/levenshtein.js +0 -136
  426. package/node_modules_lambda/fast-levenshtein/package.json +0 -39
  427. package/node_modules_lambda/form-data/License +0 -19
  428. package/node_modules_lambda/form-data/README.md.bak +0 -358
  429. package/node_modules_lambda/form-data/Readme.md +0 -358
  430. package/node_modules_lambda/form-data/index.d.ts +0 -62
  431. package/node_modules_lambda/form-data/lib/browser.js +0 -2
  432. package/node_modules_lambda/form-data/lib/form_data.js +0 -501
  433. package/node_modules_lambda/form-data/lib/populate.js +0 -10
  434. package/node_modules_lambda/form-data/package.json +0 -68
  435. package/node_modules_lambda/html-encoding-sniffer/LICENSE.txt +0 -7
  436. package/node_modules_lambda/html-encoding-sniffer/README.md +0 -40
  437. package/node_modules_lambda/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -295
  438. package/node_modules_lambda/html-encoding-sniffer/package.json +0 -31
  439. package/node_modules_lambda/http-proxy-agent/README.md +0 -74
  440. package/node_modules_lambda/http-proxy-agent/dist/agent.d.ts +0 -32
  441. package/node_modules_lambda/http-proxy-agent/dist/agent.js +0 -145
  442. package/node_modules_lambda/http-proxy-agent/dist/agent.js.map +0 -1
  443. package/node_modules_lambda/http-proxy-agent/dist/index.d.ts +0 -21
  444. package/node_modules_lambda/http-proxy-agent/dist/index.js +0 -14
  445. package/node_modules_lambda/http-proxy-agent/dist/index.js.map +0 -1
  446. package/node_modules_lambda/http-proxy-agent/package.json +0 -57
  447. package/node_modules_lambda/https-proxy-agent/README.md +0 -137
  448. package/node_modules_lambda/https-proxy-agent/dist/agent.d.ts +0 -30
  449. package/node_modules_lambda/https-proxy-agent/dist/agent.js +0 -177
  450. package/node_modules_lambda/https-proxy-agent/dist/agent.js.map +0 -1
  451. package/node_modules_lambda/https-proxy-agent/dist/index.d.ts +0 -23
  452. package/node_modules_lambda/https-proxy-agent/dist/index.js +0 -14
  453. package/node_modules_lambda/https-proxy-agent/dist/index.js.map +0 -1
  454. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  455. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  456. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  457. package/node_modules_lambda/https-proxy-agent/package.json +0 -56
  458. package/node_modules_lambda/is-potential-custom-element-name/LICENSE-MIT.txt +0 -20
  459. package/node_modules_lambda/is-potential-custom-element-name/README.md +0 -40
  460. package/node_modules_lambda/is-potential-custom-element-name/index.js +0 -9
  461. package/node_modules_lambda/is-potential-custom-element-name/package.json +0 -35
  462. package/node_modules_lambda/jsdom/LICENSE.txt +0 -22
  463. package/node_modules_lambda/jsdom/README.md +0 -522
  464. package/node_modules_lambda/jsdom/lib/api.js +0 -333
  465. package/node_modules_lambda/jsdom/lib/jsdom/browser/Window.js +0 -933
  466. package/node_modules_lambda/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
  467. package/node_modules_lambda/jsdom/lib/jsdom/browser/js-globals.json +0 -307
  468. package/node_modules_lambda/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  469. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/html.js +0 -224
  470. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/index.js +0 -37
  471. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
  472. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
  473. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
  474. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -95
  475. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
  476. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
  477. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
  478. package/node_modules_lambda/jsdom/lib/jsdom/level2/style.js +0 -57
  479. package/node_modules_lambda/jsdom/lib/jsdom/level3/xpath.js +0 -1874
  480. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
  481. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -69
  482. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
  483. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
  484. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes.js +0 -312
  485. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
  486. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
  487. package/node_modules_lambda/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
  488. package/node_modules_lambda/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -265
  489. package/node_modules_lambda/jsdom/lib/jsdom/living/documents.js +0 -15
  490. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -58
  491. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -29
  492. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
  493. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
  494. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -45
  495. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
  496. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
  497. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
  498. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
  499. package/node_modules_lambda/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
  500. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -18
  501. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -405
  502. package/node_modules_lambda/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
  503. package/node_modules_lambda/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
  504. package/node_modules_lambda/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
  505. package/node_modules_lambda/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
  506. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
  507. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -49
  508. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
  509. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
  510. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
  511. package/node_modules_lambda/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
  512. package/node_modules_lambda/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
  513. package/node_modules_lambda/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
  514. package/node_modules_lambda/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
  515. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -170
  516. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-list.js +0 -54
  517. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
  518. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
  519. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
  520. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
  521. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
  522. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortController.js +0 -143
  523. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -184
  524. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -171
  525. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -44
  526. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
  527. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Attr.js +0 -217
  528. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BarProp.js +0 -117
  529. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
  530. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Blob.js +0 -203
  531. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -30
  532. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
  533. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -109
  534. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
  535. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -453
  536. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -168
  537. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -65
  538. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Comment.js +0 -120
  539. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -219
  540. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
  541. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -34
  542. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
  543. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -206
  544. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
  545. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -237
  546. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
  547. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -323
  548. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -563
  549. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Document.js +0 -3593
  550. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -334
  551. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
  552. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -252
  553. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Element.js +0 -1718
  554. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
  555. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -29
  556. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
  557. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -192
  558. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -92
  559. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Event.js +0 -430
  560. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -36
  561. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventInit.js +0 -58
  562. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
  563. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
  564. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -221
  565. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -259
  566. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/External.js +0 -130
  567. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/File.js +0 -177
  568. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileList.js +0 -324
  569. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -33
  570. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileReader.js +0 -468
  571. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -144
  572. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
  573. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FormData.js +0 -452
  574. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Function.js +0 -42
  575. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -31
  576. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -1023
  577. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -822
  578. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -110
  579. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
  580. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -193
  581. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -877
  582. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -522
  583. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -304
  584. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -378
  585. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
  586. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
  587. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -125
  588. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
  589. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
  590. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
  591. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
  592. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -2549
  593. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -371
  594. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -329
  595. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -236
  596. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -501
  597. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -494
  598. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -708
  599. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -320
  600. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -110
  601. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
  602. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
  603. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -670
  604. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -870
  605. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1875
  606. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -199
  607. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -179
  608. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -166
  609. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -542
  610. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -168
  611. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -546
  612. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -888
  613. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
  614. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -276
  615. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -365
  616. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -207
  617. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -281
  618. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -921
  619. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -197
  620. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -376
  621. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -537
  622. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -392
  623. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
  624. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -276
  625. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -110
  626. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -158
  627. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -218
  628. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -166
  629. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -459
  630. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -1013
  631. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -192
  632. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -330
  633. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -110
  634. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -207
  635. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
  636. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -700
  637. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -364
  638. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -799
  639. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -414
  640. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -346
  641. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -123
  642. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1171
  643. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
  644. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
  645. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -356
  646. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -197
  647. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -109
  648. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -329
  649. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -157
  650. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -50
  651. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Headers.js +0 -408
  652. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/History.js +0 -266
  653. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -168
  654. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -68
  655. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -445
  656. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -116
  657. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Location.js +0 -404
  658. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -317
  659. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -100
  660. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeType.js +0 -156
  661. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -352
  662. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -499
  663. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -111
  664. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -34
  665. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -178
  666. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -121
  667. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -229
  668. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -553
  669. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Navigator.js +0 -326
  670. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Node.js +0 -763
  671. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -75
  672. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -207
  673. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeList.js +0 -328
  674. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -42
  675. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -56
  676. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -144
  677. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -35
  678. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Performance.js +0 -142
  679. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Plugin.js +0 -385
  680. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -362
  681. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -144
  682. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  683. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -122
  684. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -170
  685. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -65
  686. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Range.js +0 -641
  687. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -149
  688. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
  689. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -2227
  690. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -139
  691. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -132
  692. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -737
  693. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -537
  694. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -109
  695. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Screen.js +0 -180
  696. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
  697. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
  698. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -14
  699. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
  700. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
  701. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Selection.js +0 -569
  702. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
  703. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -187
  704. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
  705. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
  706. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -123
  707. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -72
  708. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Storage.js +0 -423
  709. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -318
  710. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -99
  711. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -326
  712. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
  713. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Text.js +0 -170
  714. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
  715. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -222
  716. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
  717. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -255
  718. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
  719. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -62
  720. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -249
  721. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
  722. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -26
  723. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -476
  724. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -191
  725. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -71
  726. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -109
  727. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -655
  728. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -334
  729. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -14
  730. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -109
  731. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -132
  732. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/utils.js +0 -190
  733. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -15
  734. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
  735. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-element.js +0 -320
  736. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
  737. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -270
  738. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
  739. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/details.js +0 -15
  740. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -54
  741. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/events.js +0 -24
  742. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
  743. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -306
  744. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
  745. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/http-request.js +0 -254
  746. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
  747. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
  748. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/json.js +0 -12
  749. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
  750. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -15
  751. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/node.js +0 -68
  752. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
  753. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
  754. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/page-transition-event.js +0 -9
  755. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
  756. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
  757. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
  758. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/strings.js +0 -148
  759. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -114
  760. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -113
  761. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
  762. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
  763. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/text.js +0 -19
  764. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
  765. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -65
  766. package/node_modules_lambda/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -25
  767. package/node_modules_lambda/jsdom/lib/jsdom/living/interfaces.js +0 -217
  768. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
  769. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
  770. package/node_modules_lambda/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
  771. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
  772. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
  773. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
  774. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  775. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  776. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  777. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  778. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  779. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
  780. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
  781. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
  782. package/node_modules_lambda/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  783. package/node_modules_lambda/jsdom/lib/jsdom/living/node-type.js +0 -16
  784. package/node_modules_lambda/jsdom/lib/jsdom/living/node.js +0 -331
  785. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
  786. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
  787. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
  788. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
  789. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
  790. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
  791. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
  792. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -946
  793. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
  794. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
  795. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
  796. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -582
  797. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -25
  798. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  799. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -95
  800. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
  801. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
  802. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  803. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  804. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
  805. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
  806. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
  807. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
  808. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
  809. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  810. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  811. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
  812. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
  813. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  814. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  815. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  816. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -160
  817. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
  818. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
  819. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  820. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -232
  821. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -261
  822. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
  823. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  824. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  825. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  826. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  827. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -371
  828. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  829. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -132
  830. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1129
  831. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  832. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
  833. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
  834. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -101
  835. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  836. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
  837. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
  838. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  839. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  840. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
  841. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  842. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
  843. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
  844. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  845. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
  846. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
  847. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -85
  848. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
  849. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  850. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  851. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
  852. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  853. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -74
  854. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  855. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -265
  856. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
  857. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
  858. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
  859. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  860. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -74
  861. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  862. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
  863. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  864. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
  865. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
  866. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
  867. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
  868. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -272
  869. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  870. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  871. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
  872. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  873. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  874. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
  875. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
  876. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1159
  877. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
  878. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  879. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
  880. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
  881. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  882. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
  883. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
  884. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -42
  885. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
  886. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
  887. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -40
  888. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
  889. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
  890. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
  891. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  892. package/node_modules_lambda/jsdom/lib/jsdom/living/post-message.js +0 -39
  893. package/node_modules_lambda/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
  894. package/node_modules_lambda/jsdom/lib/jsdom/living/range/Range-impl.js +0 -897
  895. package/node_modules_lambda/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
  896. package/node_modules_lambda/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
  897. package/node_modules_lambda/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -342
  898. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -38
  899. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
  900. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
  901. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
  902. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -127
  903. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
  904. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
  905. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +0 -175
  906. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
  907. package/node_modules_lambda/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
  908. package/node_modules_lambda/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
  909. package/node_modules_lambda/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
  910. package/node_modules_lambda/jsdom/lib/jsdom/living/window/History-impl.js +0 -134
  911. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Location-impl.js +0 -238
  912. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
  913. package/node_modules_lambda/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
  914. package/node_modules_lambda/jsdom/lib/jsdom/living/window/navigation.js +0 -85
  915. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -171
  916. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1023
  917. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
  918. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
  919. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -60
  920. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -438
  921. package/node_modules_lambda/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
  922. package/node_modules_lambda/jsdom/lib/jsdom/utils.js +0 -165
  923. package/node_modules_lambda/jsdom/lib/jsdom/virtual-console.js +0 -34
  924. package/node_modules_lambda/jsdom/lib/jsdom/vm-shim.js +0 -106
  925. package/node_modules_lambda/jsdom/package.json +0 -116
  926. package/node_modules_lambda/mime-db/HISTORY.md +0 -507
  927. package/node_modules_lambda/mime-db/LICENSE +0 -23
  928. package/node_modules_lambda/mime-db/README.md +0 -100
  929. package/node_modules_lambda/mime-db/db.json +0 -8519
  930. package/node_modules_lambda/mime-db/index.js +0 -12
  931. package/node_modules_lambda/mime-db/package.json +0 -60
  932. package/node_modules_lambda/mime-types/HISTORY.md +0 -397
  933. package/node_modules_lambda/mime-types/LICENSE +0 -23
  934. package/node_modules_lambda/mime-types/README.md +0 -113
  935. package/node_modules_lambda/mime-types/index.js +0 -188
  936. package/node_modules_lambda/mime-types/package.json +0 -44
  937. package/node_modules_lambda/ms/index.js +0 -162
  938. package/node_modules_lambda/ms/license.md +0 -21
  939. package/node_modules_lambda/ms/package.json +0 -37
  940. package/node_modules_lambda/ms/readme.md +0 -60
  941. package/node_modules_lambda/nwsapi/LICENSE +0 -22
  942. package/node_modules_lambda/nwsapi/README.md +0 -132
  943. package/node_modules_lambda/nwsapi/dist/lint.log +0 -0
  944. package/node_modules_lambda/nwsapi/package.json +0 -38
  945. package/node_modules_lambda/nwsapi/src/modules/nwsapi-jquery.js +0 -135
  946. package/node_modules_lambda/nwsapi/src/modules/nwsapi-traversal.js +0 -90
  947. package/node_modules_lambda/nwsapi/src/nwsapi.js +0 -1800
  948. package/node_modules_lambda/parse5/LICENSE +0 -19
  949. package/node_modules_lambda/parse5/README.md +0 -38
  950. package/node_modules_lambda/parse5/lib/common/doctype.js +0 -162
  951. package/node_modules_lambda/parse5/lib/common/error-codes.js +0 -65
  952. package/node_modules_lambda/parse5/lib/common/foreign-content.js +0 -265
  953. package/node_modules_lambda/parse5/lib/common/html.js +0 -272
  954. package/node_modules_lambda/parse5/lib/common/unicode.js +0 -109
  955. package/node_modules_lambda/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  956. package/node_modules_lambda/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  957. package/node_modules_lambda/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  958. package/node_modules_lambda/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  959. package/node_modules_lambda/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  960. package/node_modules_lambda/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  961. package/node_modules_lambda/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  962. package/node_modules_lambda/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  963. package/node_modules_lambda/parse5/lib/index.js +0 -29
  964. package/node_modules_lambda/parse5/lib/parser/formatting-element-list.js +0 -181
  965. package/node_modules_lambda/parse5/lib/parser/index.js +0 -2956
  966. package/node_modules_lambda/parse5/lib/parser/open-element-stack.js +0 -482
  967. package/node_modules_lambda/parse5/lib/serializer/index.js +0 -176
  968. package/node_modules_lambda/parse5/lib/tokenizer/index.js +0 -2196
  969. package/node_modules_lambda/parse5/lib/tokenizer/named-entity-data.js +0 -5
  970. package/node_modules_lambda/parse5/lib/tokenizer/preprocessor.js +0 -159
  971. package/node_modules_lambda/parse5/lib/tree-adapters/default.js +0 -221
  972. package/node_modules_lambda/parse5/lib/utils/merge-options.js +0 -13
  973. package/node_modules_lambda/parse5/lib/utils/mixin.js +0 -39
  974. package/node_modules_lambda/parse5/package.json +0 -35
  975. package/node_modules_lambda/psl/LICENSE +0 -9
  976. package/node_modules_lambda/psl/README.md +0 -215
  977. package/node_modules_lambda/psl/browserstack-logo.svg +0 -90
  978. package/node_modules_lambda/psl/data/rules.json +0 -8834
  979. package/node_modules_lambda/psl/dist/psl.js +0 -9645
  980. package/node_modules_lambda/psl/dist/psl.min.js +0 -1
  981. package/node_modules_lambda/psl/index.js +0 -269
  982. package/node_modules_lambda/psl/package.json +0 -44
  983. package/node_modules_lambda/punycode/LICENSE-MIT.txt +0 -20
  984. package/node_modules_lambda/punycode/README.md +0 -122
  985. package/node_modules_lambda/punycode/package.json +0 -58
  986. package/node_modules_lambda/punycode/punycode.es6.js +0 -441
  987. package/node_modules_lambda/punycode/punycode.js +0 -440
  988. package/node_modules_lambda/safer-buffer/LICENSE +0 -21
  989. package/node_modules_lambda/safer-buffer/Porting-Buffer.md +0 -268
  990. package/node_modules_lambda/safer-buffer/Readme.md +0 -156
  991. package/node_modules_lambda/safer-buffer/dangerous.js +0 -58
  992. package/node_modules_lambda/safer-buffer/package.json +0 -34
  993. package/node_modules_lambda/safer-buffer/safer.js +0 -77
  994. package/node_modules_lambda/safer-buffer/tests.js +0 -406
  995. package/node_modules_lambda/saxes/README.md +0 -323
  996. package/node_modules_lambda/saxes/package.json +0 -70
  997. package/node_modules_lambda/saxes/saxes.d.ts +0 -635
  998. package/node_modules_lambda/saxes/saxes.js +0 -2064
  999. package/node_modules_lambda/saxes/saxes.js.map +0 -1
  1000. package/node_modules_lambda/symbol-tree/LICENSE +0 -21
  1001. package/node_modules_lambda/symbol-tree/README.md +0 -545
  1002. package/node_modules_lambda/symbol-tree/lib/SymbolTree.js +0 -838
  1003. package/node_modules_lambda/symbol-tree/lib/SymbolTreeNode.js +0 -54
  1004. package/node_modules_lambda/symbol-tree/lib/TreeIterator.js +0 -69
  1005. package/node_modules_lambda/symbol-tree/lib/TreePosition.js +0 -11
  1006. package/node_modules_lambda/symbol-tree/package.json +0 -47
  1007. package/node_modules_lambda/tough-cookie/LICENSE +0 -12
  1008. package/node_modules_lambda/tough-cookie/README.md +0 -582
  1009. package/node_modules_lambda/tough-cookie/lib/cookie.js +0 -1671
  1010. package/node_modules_lambda/tough-cookie/lib/memstore.js +0 -190
  1011. package/node_modules_lambda/tough-cookie/lib/pathMatch.js +0 -61
  1012. package/node_modules_lambda/tough-cookie/lib/permuteDomain.js +0 -70
  1013. package/node_modules_lambda/tough-cookie/lib/pubsuffix-psl.js +0 -38
  1014. package/node_modules_lambda/tough-cookie/lib/store.js +0 -76
  1015. package/node_modules_lambda/tough-cookie/lib/version.js +0 -2
  1016. package/node_modules_lambda/tough-cookie/package.json +0 -109
  1017. package/node_modules_lambda/tr46/LICENSE.md +0 -21
  1018. package/node_modules_lambda/tr46/README.md +0 -78
  1019. package/node_modules_lambda/tr46/index.js +0 -298
  1020. package/node_modules_lambda/tr46/lib/mappingTable.json +0 -1
  1021. package/node_modules_lambda/tr46/lib/regexes.js +0 -29
  1022. package/node_modules_lambda/tr46/lib/statusMapping.js +0 -11
  1023. package/node_modules_lambda/tr46/package.json +0 -47
  1024. package/node_modules_lambda/universalify/LICENSE +0 -20
  1025. package/node_modules_lambda/universalify/README.md +0 -76
  1026. package/node_modules_lambda/universalify/index.js +0 -25
  1027. package/node_modules_lambda/universalify/package.json +0 -34
  1028. package/node_modules_lambda/w3c-hr-time/CHANGELOG.md +0 -19
  1029. package/node_modules_lambda/w3c-hr-time/LICENSE.md +0 -21
  1030. package/node_modules_lambda/w3c-hr-time/README.md +0 -130
  1031. package/node_modules_lambda/w3c-hr-time/index.js +0 -11
  1032. package/node_modules_lambda/w3c-hr-time/lib/calculate-clock-offset.js +0 -39
  1033. package/node_modules_lambda/w3c-hr-time/lib/clock-is-accurate.js +0 -61
  1034. package/node_modules_lambda/w3c-hr-time/lib/global-monotonic-clock.js +0 -10
  1035. package/node_modules_lambda/w3c-hr-time/lib/performance.js +0 -53
  1036. package/node_modules_lambda/w3c-hr-time/lib/utils.js +0 -11
  1037. package/node_modules_lambda/w3c-hr-time/package.json +0 -26
  1038. package/node_modules_lambda/w3c-xmlserializer/LICENSE.md +0 -25
  1039. package/node_modules_lambda/w3c-xmlserializer/README.md +0 -41
  1040. package/node_modules_lambda/w3c-xmlserializer/lib/attributes.js +0 -125
  1041. package/node_modules_lambda/w3c-xmlserializer/lib/constants.js +0 -44
  1042. package/node_modules_lambda/w3c-xmlserializer/lib/serialize.js +0 -365
  1043. package/node_modules_lambda/w3c-xmlserializer/package.json +0 -33
  1044. package/node_modules_lambda/webidl-conversions/LICENSE.md +0 -12
  1045. package/node_modules_lambda/webidl-conversions/README.md +0 -99
  1046. package/node_modules_lambda/webidl-conversions/lib/index.js +0 -450
  1047. package/node_modules_lambda/webidl-conversions/package.json +0 -35
  1048. package/node_modules_lambda/whatwg-encoding/LICENSE.txt +0 -7
  1049. package/node_modules_lambda/whatwg-encoding/README.md +0 -50
  1050. package/node_modules_lambda/whatwg-encoding/lib/labels-to-names.json +0 -216
  1051. package/node_modules_lambda/whatwg-encoding/lib/supported-names.json +0 -37
  1052. package/node_modules_lambda/whatwg-encoding/lib/whatwg-encoding.js +0 -47
  1053. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  1054. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/Changelog.md +0 -212
  1055. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/LICENSE +0 -21
  1056. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/README.md +0 -130
  1057. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1058. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1059. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +0 -23
  1060. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +0 -198
  1061. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1062. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1063. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1064. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1065. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1066. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1067. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1068. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1069. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1070. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1071. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1072. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1073. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1074. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1075. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1076. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.d.ts +0 -41
  1077. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.js +0 -180
  1078. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +0 -109
  1079. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/package.json +0 -44
  1080. package/node_modules_lambda/whatwg-encoding/package.json +0 -33
  1081. package/node_modules_lambda/whatwg-mimetype/LICENSE.txt +0 -7
  1082. package/node_modules_lambda/whatwg-mimetype/README.md +0 -101
  1083. package/node_modules_lambda/whatwg-mimetype/lib/mime-type-parameters.js +0 -70
  1084. package/node_modules_lambda/whatwg-mimetype/lib/mime-type.js +0 -127
  1085. package/node_modules_lambda/whatwg-mimetype/lib/parser.js +0 -105
  1086. package/node_modules_lambda/whatwg-mimetype/lib/serializer.js +0 -25
  1087. package/node_modules_lambda/whatwg-mimetype/lib/utils.js +0 -60
  1088. package/node_modules_lambda/whatwg-mimetype/package.json +0 -47
  1089. package/node_modules_lambda/whatwg-url/LICENSE.txt +0 -21
  1090. package/node_modules_lambda/whatwg-url/README.md +0 -105
  1091. package/node_modules_lambda/whatwg-url/index.js +0 -25
  1092. package/node_modules_lambda/whatwg-url/lib/Function.js +0 -42
  1093. package/node_modules_lambda/whatwg-url/lib/URL-impl.js +0 -217
  1094. package/node_modules_lambda/whatwg-url/lib/URL.js +0 -442
  1095. package/node_modules_lambda/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  1096. package/node_modules_lambda/whatwg-url/lib/URLSearchParams.js +0 -472
  1097. package/node_modules_lambda/whatwg-url/lib/VoidFunction.js +0 -26
  1098. package/node_modules_lambda/whatwg-url/lib/encoding.js +0 -16
  1099. package/node_modules_lambda/whatwg-url/lib/infra.js +0 -26
  1100. package/node_modules_lambda/whatwg-url/lib/percent-encoding.js +0 -142
  1101. package/node_modules_lambda/whatwg-url/lib/url-state-machine.js +0 -1234
  1102. package/node_modules_lambda/whatwg-url/lib/urlencoded.js +0 -106
  1103. package/node_modules_lambda/whatwg-url/lib/utils.js +0 -190
  1104. package/node_modules_lambda/whatwg-url/package.json +0 -58
  1105. package/node_modules_lambda/whatwg-url/webidl2js-wrapper.js +0 -7
  1106. package/node_modules_lambda/word-wrap/LICENSE +0 -21
  1107. package/node_modules_lambda/word-wrap/README.md +0 -182
  1108. package/node_modules_lambda/word-wrap/index.d.ts +0 -50
  1109. package/node_modules_lambda/word-wrap/index.js +0 -46
  1110. package/node_modules_lambda/word-wrap/package.json +0 -77
  1111. package/node_modules_lambda/ws/LICENSE +0 -19
  1112. package/node_modules_lambda/ws/README.md +0 -495
  1113. package/node_modules_lambda/ws/browser.js +0 -8
  1114. package/node_modules_lambda/ws/index.js +0 -13
  1115. package/node_modules_lambda/ws/lib/buffer-util.js +0 -127
  1116. package/node_modules_lambda/ws/lib/constants.js +0 -12
  1117. package/node_modules_lambda/ws/lib/event-target.js +0 -266
  1118. package/node_modules_lambda/ws/lib/extension.js +0 -203
  1119. package/node_modules_lambda/ws/lib/limiter.js +0 -55
  1120. package/node_modules_lambda/ws/lib/permessage-deflate.js +0 -511
  1121. package/node_modules_lambda/ws/lib/receiver.js +0 -618
  1122. package/node_modules_lambda/ws/lib/sender.js +0 -478
  1123. package/node_modules_lambda/ws/lib/stream.js +0 -159
  1124. package/node_modules_lambda/ws/lib/subprotocol.js +0 -62
  1125. package/node_modules_lambda/ws/lib/validation.js +0 -125
  1126. package/node_modules_lambda/ws/lib/websocket-server.js +0 -535
  1127. package/node_modules_lambda/ws/lib/websocket.js +0 -1296
  1128. package/node_modules_lambda/ws/package.json +0 -61
  1129. package/node_modules_lambda/ws/wrapper.mjs +0 -8
  1130. package/node_modules_lambda/xml-name-validator/LICENSE.txt +0 -176
  1131. package/node_modules_lambda/xml-name-validator/README.md +0 -35
  1132. package/node_modules_lambda/xml-name-validator/lib/xml-name-validator.js +0 -9
  1133. package/node_modules_lambda/xml-name-validator/package.json +0 -30
  1134. package/node_modules_lambda/xmlchars/LICENSE +0 -18
  1135. package/node_modules_lambda/xmlchars/README.md +0 -33
  1136. package/node_modules_lambda/xmlchars/package.json +0 -51
  1137. package/node_modules_lambda/xmlchars/xml/1.0/ed4.d.ts +0 -31
  1138. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js +0 -44
  1139. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js.map +0 -1
  1140. package/node_modules_lambda/xmlchars/xml/1.0/ed5.d.ts +0 -51
  1141. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js +0 -105
  1142. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js.map +0 -1
  1143. package/node_modules_lambda/xmlchars/xml/1.1/ed2.d.ts +0 -73
  1144. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js +0 -145
  1145. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js.map +0 -1
  1146. package/node_modules_lambda/xmlchars/xmlchars.d.ts +0 -170
  1147. package/node_modules_lambda/xmlchars/xmlchars.js +0 -191
  1148. package/node_modules_lambda/xmlchars/xmlchars.js.map +0 -1
  1149. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.d.ts +0 -28
  1150. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js +0 -65
  1151. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js.map +0 -1
@@ -1,1145 +0,0 @@
1
- /* -*- Mode: js; js-indent-level: 2; -*- */
2
- /*
3
- * Copyright 2011 Mozilla Foundation and contributors
4
- * Licensed under the New BSD license. See LICENSE or:
5
- * http://opensource.org/licenses/BSD-3-Clause
6
- */
7
-
8
- var util = require('./util');
9
- var binarySearch = require('./binary-search');
10
- var ArraySet = require('./array-set').ArraySet;
11
- var base64VLQ = require('./base64-vlq');
12
- var quickSort = require('./quick-sort').quickSort;
13
-
14
- function SourceMapConsumer(aSourceMap, aSourceMapURL) {
15
- var sourceMap = aSourceMap;
16
- if (typeof aSourceMap === 'string') {
17
- sourceMap = util.parseSourceMapInput(aSourceMap);
18
- }
19
-
20
- return sourceMap.sections != null
21
- ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
22
- : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
23
- }
24
-
25
- SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
26
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
27
- }
28
-
29
- /**
30
- * The version of the source mapping spec that we are consuming.
31
- */
32
- SourceMapConsumer.prototype._version = 3;
33
-
34
- // `__generatedMappings` and `__originalMappings` are arrays that hold the
35
- // parsed mapping coordinates from the source map's "mappings" attribute. They
36
- // are lazily instantiated, accessed via the `_generatedMappings` and
37
- // `_originalMappings` getters respectively, and we only parse the mappings
38
- // and create these arrays once queried for a source location. We jump through
39
- // these hoops because there can be many thousands of mappings, and parsing
40
- // them is expensive, so we only want to do it if we must.
41
- //
42
- // Each object in the arrays is of the form:
43
- //
44
- // {
45
- // generatedLine: The line number in the generated code,
46
- // generatedColumn: The column number in the generated code,
47
- // source: The path to the original source file that generated this
48
- // chunk of code,
49
- // originalLine: The line number in the original source that
50
- // corresponds to this chunk of generated code,
51
- // originalColumn: The column number in the original source that
52
- // corresponds to this chunk of generated code,
53
- // name: The name of the original symbol which generated this chunk of
54
- // code.
55
- // }
56
- //
57
- // All properties except for `generatedLine` and `generatedColumn` can be
58
- // `null`.
59
- //
60
- // `_generatedMappings` is ordered by the generated positions.
61
- //
62
- // `_originalMappings` is ordered by the original positions.
63
-
64
- SourceMapConsumer.prototype.__generatedMappings = null;
65
- Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
66
- configurable: true,
67
- enumerable: true,
68
- get: function () {
69
- if (!this.__generatedMappings) {
70
- this._parseMappings(this._mappings, this.sourceRoot);
71
- }
72
-
73
- return this.__generatedMappings;
74
- }
75
- });
76
-
77
- SourceMapConsumer.prototype.__originalMappings = null;
78
- Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
79
- configurable: true,
80
- enumerable: true,
81
- get: function () {
82
- if (!this.__originalMappings) {
83
- this._parseMappings(this._mappings, this.sourceRoot);
84
- }
85
-
86
- return this.__originalMappings;
87
- }
88
- });
89
-
90
- SourceMapConsumer.prototype._charIsMappingSeparator =
91
- function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
92
- var c = aStr.charAt(index);
93
- return c === ";" || c === ",";
94
- };
95
-
96
- /**
97
- * Parse the mappings in a string in to a data structure which we can easily
98
- * query (the ordered arrays in the `this.__generatedMappings` and
99
- * `this.__originalMappings` properties).
100
- */
101
- SourceMapConsumer.prototype._parseMappings =
102
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
103
- throw new Error("Subclasses must implement _parseMappings");
104
- };
105
-
106
- SourceMapConsumer.GENERATED_ORDER = 1;
107
- SourceMapConsumer.ORIGINAL_ORDER = 2;
108
-
109
- SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
110
- SourceMapConsumer.LEAST_UPPER_BOUND = 2;
111
-
112
- /**
113
- * Iterate over each mapping between an original source/line/column and a
114
- * generated line/column in this source map.
115
- *
116
- * @param Function aCallback
117
- * The function that is called with each mapping.
118
- * @param Object aContext
119
- * Optional. If specified, this object will be the value of `this` every
120
- * time that `aCallback` is called.
121
- * @param aOrder
122
- * Either `SourceMapConsumer.GENERATED_ORDER` or
123
- * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
124
- * iterate over the mappings sorted by the generated file's line/column
125
- * order or the original's source/line/column order, respectively. Defaults to
126
- * `SourceMapConsumer.GENERATED_ORDER`.
127
- */
128
- SourceMapConsumer.prototype.eachMapping =
129
- function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
130
- var context = aContext || null;
131
- var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
132
-
133
- var mappings;
134
- switch (order) {
135
- case SourceMapConsumer.GENERATED_ORDER:
136
- mappings = this._generatedMappings;
137
- break;
138
- case SourceMapConsumer.ORIGINAL_ORDER:
139
- mappings = this._originalMappings;
140
- break;
141
- default:
142
- throw new Error("Unknown order of iteration.");
143
- }
144
-
145
- var sourceRoot = this.sourceRoot;
146
- mappings.map(function (mapping) {
147
- var source = mapping.source === null ? null : this._sources.at(mapping.source);
148
- source = util.computeSourceURL(sourceRoot, source, this._sourceMapURL);
149
- return {
150
- source: source,
151
- generatedLine: mapping.generatedLine,
152
- generatedColumn: mapping.generatedColumn,
153
- originalLine: mapping.originalLine,
154
- originalColumn: mapping.originalColumn,
155
- name: mapping.name === null ? null : this._names.at(mapping.name)
156
- };
157
- }, this).forEach(aCallback, context);
158
- };
159
-
160
- /**
161
- * Returns all generated line and column information for the original source,
162
- * line, and column provided. If no column is provided, returns all mappings
163
- * corresponding to a either the line we are searching for or the next
164
- * closest line that has any mappings. Otherwise, returns all mappings
165
- * corresponding to the given line and either the column we are searching for
166
- * or the next closest column that has any offsets.
167
- *
168
- * The only argument is an object with the following properties:
169
- *
170
- * - source: The filename of the original source.
171
- * - line: The line number in the original source. The line number is 1-based.
172
- * - column: Optional. the column number in the original source.
173
- * The column number is 0-based.
174
- *
175
- * and an array of objects is returned, each with the following properties:
176
- *
177
- * - line: The line number in the generated source, or null. The
178
- * line number is 1-based.
179
- * - column: The column number in the generated source, or null.
180
- * The column number is 0-based.
181
- */
182
- SourceMapConsumer.prototype.allGeneratedPositionsFor =
183
- function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
184
- var line = util.getArg(aArgs, 'line');
185
-
186
- // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
187
- // returns the index of the closest mapping less than the needle. By
188
- // setting needle.originalColumn to 0, we thus find the last mapping for
189
- // the given line, provided such a mapping exists.
190
- var needle = {
191
- source: util.getArg(aArgs, 'source'),
192
- originalLine: line,
193
- originalColumn: util.getArg(aArgs, 'column', 0)
194
- };
195
-
196
- needle.source = this._findSourceIndex(needle.source);
197
- if (needle.source < 0) {
198
- return [];
199
- }
200
-
201
- var mappings = [];
202
-
203
- var index = this._findMapping(needle,
204
- this._originalMappings,
205
- "originalLine",
206
- "originalColumn",
207
- util.compareByOriginalPositions,
208
- binarySearch.LEAST_UPPER_BOUND);
209
- if (index >= 0) {
210
- var mapping = this._originalMappings[index];
211
-
212
- if (aArgs.column === undefined) {
213
- var originalLine = mapping.originalLine;
214
-
215
- // Iterate until either we run out of mappings, or we run into
216
- // a mapping for a different line than the one we found. Since
217
- // mappings are sorted, this is guaranteed to find all mappings for
218
- // the line we found.
219
- while (mapping && mapping.originalLine === originalLine) {
220
- mappings.push({
221
- line: util.getArg(mapping, 'generatedLine', null),
222
- column: util.getArg(mapping, 'generatedColumn', null),
223
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
224
- });
225
-
226
- mapping = this._originalMappings[++index];
227
- }
228
- } else {
229
- var originalColumn = mapping.originalColumn;
230
-
231
- // Iterate until either we run out of mappings, or we run into
232
- // a mapping for a different line than the one we were searching for.
233
- // Since mappings are sorted, this is guaranteed to find all mappings for
234
- // the line we are searching for.
235
- while (mapping &&
236
- mapping.originalLine === line &&
237
- mapping.originalColumn == originalColumn) {
238
- mappings.push({
239
- line: util.getArg(mapping, 'generatedLine', null),
240
- column: util.getArg(mapping, 'generatedColumn', null),
241
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
242
- });
243
-
244
- mapping = this._originalMappings[++index];
245
- }
246
- }
247
- }
248
-
249
- return mappings;
250
- };
251
-
252
- exports.SourceMapConsumer = SourceMapConsumer;
253
-
254
- /**
255
- * A BasicSourceMapConsumer instance represents a parsed source map which we can
256
- * query for information about the original file positions by giving it a file
257
- * position in the generated source.
258
- *
259
- * The first parameter is the raw source map (either as a JSON string, or
260
- * already parsed to an object). According to the spec, source maps have the
261
- * following attributes:
262
- *
263
- * - version: Which version of the source map spec this map is following.
264
- * - sources: An array of URLs to the original source files.
265
- * - names: An array of identifiers which can be referrenced by individual mappings.
266
- * - sourceRoot: Optional. The URL root from which all sources are relative.
267
- * - sourcesContent: Optional. An array of contents of the original source files.
268
- * - mappings: A string of base64 VLQs which contain the actual mappings.
269
- * - file: Optional. The generated file this source map is associated with.
270
- *
271
- * Here is an example source map, taken from the source map spec[0]:
272
- *
273
- * {
274
- * version : 3,
275
- * file: "out.js",
276
- * sourceRoot : "",
277
- * sources: ["foo.js", "bar.js"],
278
- * names: ["src", "maps", "are", "fun"],
279
- * mappings: "AA,AB;;ABCDE;"
280
- * }
281
- *
282
- * The second parameter, if given, is a string whose value is the URL
283
- * at which the source map was found. This URL is used to compute the
284
- * sources array.
285
- *
286
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
287
- */
288
- function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
289
- var sourceMap = aSourceMap;
290
- if (typeof aSourceMap === 'string') {
291
- sourceMap = util.parseSourceMapInput(aSourceMap);
292
- }
293
-
294
- var version = util.getArg(sourceMap, 'version');
295
- var sources = util.getArg(sourceMap, 'sources');
296
- // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
297
- // requires the array) to play nice here.
298
- var names = util.getArg(sourceMap, 'names', []);
299
- var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);
300
- var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);
301
- var mappings = util.getArg(sourceMap, 'mappings');
302
- var file = util.getArg(sourceMap, 'file', null);
303
-
304
- // Once again, Sass deviates from the spec and supplies the version as a
305
- // string rather than a number, so we use loose equality checking here.
306
- if (version != this._version) {
307
- throw new Error('Unsupported version: ' + version);
308
- }
309
-
310
- if (sourceRoot) {
311
- sourceRoot = util.normalize(sourceRoot);
312
- }
313
-
314
- sources = sources
315
- .map(String)
316
- // Some source maps produce relative source paths like "./foo.js" instead of
317
- // "foo.js". Normalize these first so that future comparisons will succeed.
318
- // See bugzil.la/1090768.
319
- .map(util.normalize)
320
- // Always ensure that absolute sources are internally stored relative to
321
- // the source root, if the source root is absolute. Not doing this would
322
- // be particularly problematic when the source root is a prefix of the
323
- // source (valid, but why??). See github issue #199 and bugzil.la/1188982.
324
- .map(function (source) {
325
- return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
326
- ? util.relative(sourceRoot, source)
327
- : source;
328
- });
329
-
330
- // Pass `true` below to allow duplicate names and sources. While source maps
331
- // are intended to be compressed and deduplicated, the TypeScript compiler
332
- // sometimes generates source maps with duplicates in them. See Github issue
333
- // #72 and bugzil.la/889492.
334
- this._names = ArraySet.fromArray(names.map(String), true);
335
- this._sources = ArraySet.fromArray(sources, true);
336
-
337
- this._absoluteSources = this._sources.toArray().map(function (s) {
338
- return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
339
- });
340
-
341
- this.sourceRoot = sourceRoot;
342
- this.sourcesContent = sourcesContent;
343
- this._mappings = mappings;
344
- this._sourceMapURL = aSourceMapURL;
345
- this.file = file;
346
- }
347
-
348
- BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
349
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
350
-
351
- /**
352
- * Utility function to find the index of a source. Returns -1 if not
353
- * found.
354
- */
355
- BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
356
- var relativeSource = aSource;
357
- if (this.sourceRoot != null) {
358
- relativeSource = util.relative(this.sourceRoot, relativeSource);
359
- }
360
-
361
- if (this._sources.has(relativeSource)) {
362
- return this._sources.indexOf(relativeSource);
363
- }
364
-
365
- // Maybe aSource is an absolute URL as returned by |sources|. In
366
- // this case we can't simply undo the transform.
367
- var i;
368
- for (i = 0; i < this._absoluteSources.length; ++i) {
369
- if (this._absoluteSources[i] == aSource) {
370
- return i;
371
- }
372
- }
373
-
374
- return -1;
375
- };
376
-
377
- /**
378
- * Create a BasicSourceMapConsumer from a SourceMapGenerator.
379
- *
380
- * @param SourceMapGenerator aSourceMap
381
- * The source map that will be consumed.
382
- * @param String aSourceMapURL
383
- * The URL at which the source map can be found (optional)
384
- * @returns BasicSourceMapConsumer
385
- */
386
- BasicSourceMapConsumer.fromSourceMap =
387
- function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
388
- var smc = Object.create(BasicSourceMapConsumer.prototype);
389
-
390
- var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
391
- var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
392
- smc.sourceRoot = aSourceMap._sourceRoot;
393
- smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),
394
- smc.sourceRoot);
395
- smc.file = aSourceMap._file;
396
- smc._sourceMapURL = aSourceMapURL;
397
- smc._absoluteSources = smc._sources.toArray().map(function (s) {
398
- return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
399
- });
400
-
401
- // Because we are modifying the entries (by converting string sources and
402
- // names to indices into the sources and names ArraySets), we have to make
403
- // a copy of the entry or else bad things happen. Shared mutable state
404
- // strikes again! See github issue #191.
405
-
406
- var generatedMappings = aSourceMap._mappings.toArray().slice();
407
- var destGeneratedMappings = smc.__generatedMappings = [];
408
- var destOriginalMappings = smc.__originalMappings = [];
409
-
410
- for (var i = 0, length = generatedMappings.length; i < length; i++) {
411
- var srcMapping = generatedMappings[i];
412
- var destMapping = new Mapping;
413
- destMapping.generatedLine = srcMapping.generatedLine;
414
- destMapping.generatedColumn = srcMapping.generatedColumn;
415
-
416
- if (srcMapping.source) {
417
- destMapping.source = sources.indexOf(srcMapping.source);
418
- destMapping.originalLine = srcMapping.originalLine;
419
- destMapping.originalColumn = srcMapping.originalColumn;
420
-
421
- if (srcMapping.name) {
422
- destMapping.name = names.indexOf(srcMapping.name);
423
- }
424
-
425
- destOriginalMappings.push(destMapping);
426
- }
427
-
428
- destGeneratedMappings.push(destMapping);
429
- }
430
-
431
- quickSort(smc.__originalMappings, util.compareByOriginalPositions);
432
-
433
- return smc;
434
- };
435
-
436
- /**
437
- * The version of the source mapping spec that we are consuming.
438
- */
439
- BasicSourceMapConsumer.prototype._version = 3;
440
-
441
- /**
442
- * The list of original sources.
443
- */
444
- Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {
445
- get: function () {
446
- return this._absoluteSources.slice();
447
- }
448
- });
449
-
450
- /**
451
- * Provide the JIT with a nice shape / hidden class.
452
- */
453
- function Mapping() {
454
- this.generatedLine = 0;
455
- this.generatedColumn = 0;
456
- this.source = null;
457
- this.originalLine = null;
458
- this.originalColumn = null;
459
- this.name = null;
460
- }
461
-
462
- /**
463
- * Parse the mappings in a string in to a data structure which we can easily
464
- * query (the ordered arrays in the `this.__generatedMappings` and
465
- * `this.__originalMappings` properties).
466
- */
467
- BasicSourceMapConsumer.prototype._parseMappings =
468
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
469
- var generatedLine = 1;
470
- var previousGeneratedColumn = 0;
471
- var previousOriginalLine = 0;
472
- var previousOriginalColumn = 0;
473
- var previousSource = 0;
474
- var previousName = 0;
475
- var length = aStr.length;
476
- var index = 0;
477
- var cachedSegments = {};
478
- var temp = {};
479
- var originalMappings = [];
480
- var generatedMappings = [];
481
- var mapping, str, segment, end, value;
482
-
483
- while (index < length) {
484
- if (aStr.charAt(index) === ';') {
485
- generatedLine++;
486
- index++;
487
- previousGeneratedColumn = 0;
488
- }
489
- else if (aStr.charAt(index) === ',') {
490
- index++;
491
- }
492
- else {
493
- mapping = new Mapping();
494
- mapping.generatedLine = generatedLine;
495
-
496
- // Because each offset is encoded relative to the previous one,
497
- // many segments often have the same encoding. We can exploit this
498
- // fact by caching the parsed variable length fields of each segment,
499
- // allowing us to avoid a second parse if we encounter the same
500
- // segment again.
501
- for (end = index; end < length; end++) {
502
- if (this._charIsMappingSeparator(aStr, end)) {
503
- break;
504
- }
505
- }
506
- str = aStr.slice(index, end);
507
-
508
- segment = cachedSegments[str];
509
- if (segment) {
510
- index += str.length;
511
- } else {
512
- segment = [];
513
- while (index < end) {
514
- base64VLQ.decode(aStr, index, temp);
515
- value = temp.value;
516
- index = temp.rest;
517
- segment.push(value);
518
- }
519
-
520
- if (segment.length === 2) {
521
- throw new Error('Found a source, but no line and column');
522
- }
523
-
524
- if (segment.length === 3) {
525
- throw new Error('Found a source and line, but no column');
526
- }
527
-
528
- cachedSegments[str] = segment;
529
- }
530
-
531
- // Generated column.
532
- mapping.generatedColumn = previousGeneratedColumn + segment[0];
533
- previousGeneratedColumn = mapping.generatedColumn;
534
-
535
- if (segment.length > 1) {
536
- // Original source.
537
- mapping.source = previousSource + segment[1];
538
- previousSource += segment[1];
539
-
540
- // Original line.
541
- mapping.originalLine = previousOriginalLine + segment[2];
542
- previousOriginalLine = mapping.originalLine;
543
- // Lines are stored 0-based
544
- mapping.originalLine += 1;
545
-
546
- // Original column.
547
- mapping.originalColumn = previousOriginalColumn + segment[3];
548
- previousOriginalColumn = mapping.originalColumn;
549
-
550
- if (segment.length > 4) {
551
- // Original name.
552
- mapping.name = previousName + segment[4];
553
- previousName += segment[4];
554
- }
555
- }
556
-
557
- generatedMappings.push(mapping);
558
- if (typeof mapping.originalLine === 'number') {
559
- originalMappings.push(mapping);
560
- }
561
- }
562
- }
563
-
564
- quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);
565
- this.__generatedMappings = generatedMappings;
566
-
567
- quickSort(originalMappings, util.compareByOriginalPositions);
568
- this.__originalMappings = originalMappings;
569
- };
570
-
571
- /**
572
- * Find the mapping that best matches the hypothetical "needle" mapping that
573
- * we are searching for in the given "haystack" of mappings.
574
- */
575
- BasicSourceMapConsumer.prototype._findMapping =
576
- function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
577
- aColumnName, aComparator, aBias) {
578
- // To return the position we are searching for, we must first find the
579
- // mapping for the given position and then return the opposite position it
580
- // points to. Because the mappings are sorted, we can use binary search to
581
- // find the best mapping.
582
-
583
- if (aNeedle[aLineName] <= 0) {
584
- throw new TypeError('Line must be greater than or equal to 1, got '
585
- + aNeedle[aLineName]);
586
- }
587
- if (aNeedle[aColumnName] < 0) {
588
- throw new TypeError('Column must be greater than or equal to 0, got '
589
- + aNeedle[aColumnName]);
590
- }
591
-
592
- return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
593
- };
594
-
595
- /**
596
- * Compute the last column for each generated mapping. The last column is
597
- * inclusive.
598
- */
599
- BasicSourceMapConsumer.prototype.computeColumnSpans =
600
- function SourceMapConsumer_computeColumnSpans() {
601
- for (var index = 0; index < this._generatedMappings.length; ++index) {
602
- var mapping = this._generatedMappings[index];
603
-
604
- // Mappings do not contain a field for the last generated columnt. We
605
- // can come up with an optimistic estimate, however, by assuming that
606
- // mappings are contiguous (i.e. given two consecutive mappings, the
607
- // first mapping ends where the second one starts).
608
- if (index + 1 < this._generatedMappings.length) {
609
- var nextMapping = this._generatedMappings[index + 1];
610
-
611
- if (mapping.generatedLine === nextMapping.generatedLine) {
612
- mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
613
- continue;
614
- }
615
- }
616
-
617
- // The last mapping for each line spans the entire line.
618
- mapping.lastGeneratedColumn = Infinity;
619
- }
620
- };
621
-
622
- /**
623
- * Returns the original source, line, and column information for the generated
624
- * source's line and column positions provided. The only argument is an object
625
- * with the following properties:
626
- *
627
- * - line: The line number in the generated source. The line number
628
- * is 1-based.
629
- * - column: The column number in the generated source. The column
630
- * number is 0-based.
631
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
632
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
633
- * closest element that is smaller than or greater than the one we are
634
- * searching for, respectively, if the exact element cannot be found.
635
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
636
- *
637
- * and an object is returned with the following properties:
638
- *
639
- * - source: The original source file, or null.
640
- * - line: The line number in the original source, or null. The
641
- * line number is 1-based.
642
- * - column: The column number in the original source, or null. The
643
- * column number is 0-based.
644
- * - name: The original identifier, or null.
645
- */
646
- BasicSourceMapConsumer.prototype.originalPositionFor =
647
- function SourceMapConsumer_originalPositionFor(aArgs) {
648
- var needle = {
649
- generatedLine: util.getArg(aArgs, 'line'),
650
- generatedColumn: util.getArg(aArgs, 'column')
651
- };
652
-
653
- var index = this._findMapping(
654
- needle,
655
- this._generatedMappings,
656
- "generatedLine",
657
- "generatedColumn",
658
- util.compareByGeneratedPositionsDeflated,
659
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
660
- );
661
-
662
- if (index >= 0) {
663
- var mapping = this._generatedMappings[index];
664
-
665
- if (mapping.generatedLine === needle.generatedLine) {
666
- var source = util.getArg(mapping, 'source', null);
667
- if (source !== null) {
668
- source = this._sources.at(source);
669
- source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
670
- }
671
- var name = util.getArg(mapping, 'name', null);
672
- if (name !== null) {
673
- name = this._names.at(name);
674
- }
675
- return {
676
- source: source,
677
- line: util.getArg(mapping, 'originalLine', null),
678
- column: util.getArg(mapping, 'originalColumn', null),
679
- name: name
680
- };
681
- }
682
- }
683
-
684
- return {
685
- source: null,
686
- line: null,
687
- column: null,
688
- name: null
689
- };
690
- };
691
-
692
- /**
693
- * Return true if we have the source content for every source in the source
694
- * map, false otherwise.
695
- */
696
- BasicSourceMapConsumer.prototype.hasContentsOfAllSources =
697
- function BasicSourceMapConsumer_hasContentsOfAllSources() {
698
- if (!this.sourcesContent) {
699
- return false;
700
- }
701
- return this.sourcesContent.length >= this._sources.size() &&
702
- !this.sourcesContent.some(function (sc) { return sc == null; });
703
- };
704
-
705
- /**
706
- * Returns the original source content. The only argument is the url of the
707
- * original source file. Returns null if no original source content is
708
- * available.
709
- */
710
- BasicSourceMapConsumer.prototype.sourceContentFor =
711
- function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
712
- if (!this.sourcesContent) {
713
- return null;
714
- }
715
-
716
- var index = this._findSourceIndex(aSource);
717
- if (index >= 0) {
718
- return this.sourcesContent[index];
719
- }
720
-
721
- var relativeSource = aSource;
722
- if (this.sourceRoot != null) {
723
- relativeSource = util.relative(this.sourceRoot, relativeSource);
724
- }
725
-
726
- var url;
727
- if (this.sourceRoot != null
728
- && (url = util.urlParse(this.sourceRoot))) {
729
- // XXX: file:// URIs and absolute paths lead to unexpected behavior for
730
- // many users. We can help them out when they expect file:// URIs to
731
- // behave like it would if they were running a local HTTP server. See
732
- // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
733
- var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
734
- if (url.scheme == "file"
735
- && this._sources.has(fileUriAbsPath)) {
736
- return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]
737
- }
738
-
739
- if ((!url.path || url.path == "/")
740
- && this._sources.has("/" + relativeSource)) {
741
- return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
742
- }
743
- }
744
-
745
- // This function is used recursively from
746
- // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
747
- // don't want to throw if we can't find the source - we just want to
748
- // return null, so we provide a flag to exit gracefully.
749
- if (nullOnMissing) {
750
- return null;
751
- }
752
- else {
753
- throw new Error('"' + relativeSource + '" is not in the SourceMap.');
754
- }
755
- };
756
-
757
- /**
758
- * Returns the generated line and column information for the original source,
759
- * line, and column positions provided. The only argument is an object with
760
- * the following properties:
761
- *
762
- * - source: The filename of the original source.
763
- * - line: The line number in the original source. The line number
764
- * is 1-based.
765
- * - column: The column number in the original source. The column
766
- * number is 0-based.
767
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
768
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
769
- * closest element that is smaller than or greater than the one we are
770
- * searching for, respectively, if the exact element cannot be found.
771
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
772
- *
773
- * and an object is returned with the following properties:
774
- *
775
- * - line: The line number in the generated source, or null. The
776
- * line number is 1-based.
777
- * - column: The column number in the generated source, or null.
778
- * The column number is 0-based.
779
- */
780
- BasicSourceMapConsumer.prototype.generatedPositionFor =
781
- function SourceMapConsumer_generatedPositionFor(aArgs) {
782
- var source = util.getArg(aArgs, 'source');
783
- source = this._findSourceIndex(source);
784
- if (source < 0) {
785
- return {
786
- line: null,
787
- column: null,
788
- lastColumn: null
789
- };
790
- }
791
-
792
- var needle = {
793
- source: source,
794
- originalLine: util.getArg(aArgs, 'line'),
795
- originalColumn: util.getArg(aArgs, 'column')
796
- };
797
-
798
- var index = this._findMapping(
799
- needle,
800
- this._originalMappings,
801
- "originalLine",
802
- "originalColumn",
803
- util.compareByOriginalPositions,
804
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
805
- );
806
-
807
- if (index >= 0) {
808
- var mapping = this._originalMappings[index];
809
-
810
- if (mapping.source === needle.source) {
811
- return {
812
- line: util.getArg(mapping, 'generatedLine', null),
813
- column: util.getArg(mapping, 'generatedColumn', null),
814
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
815
- };
816
- }
817
- }
818
-
819
- return {
820
- line: null,
821
- column: null,
822
- lastColumn: null
823
- };
824
- };
825
-
826
- exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
827
-
828
- /**
829
- * An IndexedSourceMapConsumer instance represents a parsed source map which
830
- * we can query for information. It differs from BasicSourceMapConsumer in
831
- * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
832
- * input.
833
- *
834
- * The first parameter is a raw source map (either as a JSON string, or already
835
- * parsed to an object). According to the spec for indexed source maps, they
836
- * have the following attributes:
837
- *
838
- * - version: Which version of the source map spec this map is following.
839
- * - file: Optional. The generated file this source map is associated with.
840
- * - sections: A list of section definitions.
841
- *
842
- * Each value under the "sections" field has two fields:
843
- * - offset: The offset into the original specified at which this section
844
- * begins to apply, defined as an object with a "line" and "column"
845
- * field.
846
- * - map: A source map definition. This source map could also be indexed,
847
- * but doesn't have to be.
848
- *
849
- * Instead of the "map" field, it's also possible to have a "url" field
850
- * specifying a URL to retrieve a source map from, but that's currently
851
- * unsupported.
852
- *
853
- * Here's an example source map, taken from the source map spec[0], but
854
- * modified to omit a section which uses the "url" field.
855
- *
856
- * {
857
- * version : 3,
858
- * file: "app.js",
859
- * sections: [{
860
- * offset: {line:100, column:10},
861
- * map: {
862
- * version : 3,
863
- * file: "section.js",
864
- * sources: ["foo.js", "bar.js"],
865
- * names: ["src", "maps", "are", "fun"],
866
- * mappings: "AAAA,E;;ABCDE;"
867
- * }
868
- * }],
869
- * }
870
- *
871
- * The second parameter, if given, is a string whose value is the URL
872
- * at which the source map was found. This URL is used to compute the
873
- * sources array.
874
- *
875
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
876
- */
877
- function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
878
- var sourceMap = aSourceMap;
879
- if (typeof aSourceMap === 'string') {
880
- sourceMap = util.parseSourceMapInput(aSourceMap);
881
- }
882
-
883
- var version = util.getArg(sourceMap, 'version');
884
- var sections = util.getArg(sourceMap, 'sections');
885
-
886
- if (version != this._version) {
887
- throw new Error('Unsupported version: ' + version);
888
- }
889
-
890
- this._sources = new ArraySet();
891
- this._names = new ArraySet();
892
-
893
- var lastOffset = {
894
- line: -1,
895
- column: 0
896
- };
897
- this._sections = sections.map(function (s) {
898
- if (s.url) {
899
- // The url field will require support for asynchronicity.
900
- // See https://github.com/mozilla/source-map/issues/16
901
- throw new Error('Support for url field in sections not implemented.');
902
- }
903
- var offset = util.getArg(s, 'offset');
904
- var offsetLine = util.getArg(offset, 'line');
905
- var offsetColumn = util.getArg(offset, 'column');
906
-
907
- if (offsetLine < lastOffset.line ||
908
- (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
909
- throw new Error('Section offsets must be ordered and non-overlapping.');
910
- }
911
- lastOffset = offset;
912
-
913
- return {
914
- generatedOffset: {
915
- // The offset fields are 0-based, but we use 1-based indices when
916
- // encoding/decoding from VLQ.
917
- generatedLine: offsetLine + 1,
918
- generatedColumn: offsetColumn + 1
919
- },
920
- consumer: new SourceMapConsumer(util.getArg(s, 'map'), aSourceMapURL)
921
- }
922
- });
923
- }
924
-
925
- IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
926
- IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
927
-
928
- /**
929
- * The version of the source mapping spec that we are consuming.
930
- */
931
- IndexedSourceMapConsumer.prototype._version = 3;
932
-
933
- /**
934
- * The list of original sources.
935
- */
936
- Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {
937
- get: function () {
938
- var sources = [];
939
- for (var i = 0; i < this._sections.length; i++) {
940
- for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
941
- sources.push(this._sections[i].consumer.sources[j]);
942
- }
943
- }
944
- return sources;
945
- }
946
- });
947
-
948
- /**
949
- * Returns the original source, line, and column information for the generated
950
- * source's line and column positions provided. The only argument is an object
951
- * with the following properties:
952
- *
953
- * - line: The line number in the generated source. The line number
954
- * is 1-based.
955
- * - column: The column number in the generated source. The column
956
- * number is 0-based.
957
- *
958
- * and an object is returned with the following properties:
959
- *
960
- * - source: The original source file, or null.
961
- * - line: The line number in the original source, or null. The
962
- * line number is 1-based.
963
- * - column: The column number in the original source, or null. The
964
- * column number is 0-based.
965
- * - name: The original identifier, or null.
966
- */
967
- IndexedSourceMapConsumer.prototype.originalPositionFor =
968
- function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
969
- var needle = {
970
- generatedLine: util.getArg(aArgs, 'line'),
971
- generatedColumn: util.getArg(aArgs, 'column')
972
- };
973
-
974
- // Find the section containing the generated position we're trying to map
975
- // to an original position.
976
- var sectionIndex = binarySearch.search(needle, this._sections,
977
- function(needle, section) {
978
- var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
979
- if (cmp) {
980
- return cmp;
981
- }
982
-
983
- return (needle.generatedColumn -
984
- section.generatedOffset.generatedColumn);
985
- });
986
- var section = this._sections[sectionIndex];
987
-
988
- if (!section) {
989
- return {
990
- source: null,
991
- line: null,
992
- column: null,
993
- name: null
994
- };
995
- }
996
-
997
- return section.consumer.originalPositionFor({
998
- line: needle.generatedLine -
999
- (section.generatedOffset.generatedLine - 1),
1000
- column: needle.generatedColumn -
1001
- (section.generatedOffset.generatedLine === needle.generatedLine
1002
- ? section.generatedOffset.generatedColumn - 1
1003
- : 0),
1004
- bias: aArgs.bias
1005
- });
1006
- };
1007
-
1008
- /**
1009
- * Return true if we have the source content for every source in the source
1010
- * map, false otherwise.
1011
- */
1012
- IndexedSourceMapConsumer.prototype.hasContentsOfAllSources =
1013
- function IndexedSourceMapConsumer_hasContentsOfAllSources() {
1014
- return this._sections.every(function (s) {
1015
- return s.consumer.hasContentsOfAllSources();
1016
- });
1017
- };
1018
-
1019
- /**
1020
- * Returns the original source content. The only argument is the url of the
1021
- * original source file. Returns null if no original source content is
1022
- * available.
1023
- */
1024
- IndexedSourceMapConsumer.prototype.sourceContentFor =
1025
- function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
1026
- for (var i = 0; i < this._sections.length; i++) {
1027
- var section = this._sections[i];
1028
-
1029
- var content = section.consumer.sourceContentFor(aSource, true);
1030
- if (content) {
1031
- return content;
1032
- }
1033
- }
1034
- if (nullOnMissing) {
1035
- return null;
1036
- }
1037
- else {
1038
- throw new Error('"' + aSource + '" is not in the SourceMap.');
1039
- }
1040
- };
1041
-
1042
- /**
1043
- * Returns the generated line and column information for the original source,
1044
- * line, and column positions provided. The only argument is an object with
1045
- * the following properties:
1046
- *
1047
- * - source: The filename of the original source.
1048
- * - line: The line number in the original source. The line number
1049
- * is 1-based.
1050
- * - column: The column number in the original source. The column
1051
- * number is 0-based.
1052
- *
1053
- * and an object is returned with the following properties:
1054
- *
1055
- * - line: The line number in the generated source, or null. The
1056
- * line number is 1-based.
1057
- * - column: The column number in the generated source, or null.
1058
- * The column number is 0-based.
1059
- */
1060
- IndexedSourceMapConsumer.prototype.generatedPositionFor =
1061
- function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
1062
- for (var i = 0; i < this._sections.length; i++) {
1063
- var section = this._sections[i];
1064
-
1065
- // Only consider this section if the requested source is in the list of
1066
- // sources of the consumer.
1067
- if (section.consumer._findSourceIndex(util.getArg(aArgs, 'source')) === -1) {
1068
- continue;
1069
- }
1070
- var generatedPosition = section.consumer.generatedPositionFor(aArgs);
1071
- if (generatedPosition) {
1072
- var ret = {
1073
- line: generatedPosition.line +
1074
- (section.generatedOffset.generatedLine - 1),
1075
- column: generatedPosition.column +
1076
- (section.generatedOffset.generatedLine === generatedPosition.line
1077
- ? section.generatedOffset.generatedColumn - 1
1078
- : 0)
1079
- };
1080
- return ret;
1081
- }
1082
- }
1083
-
1084
- return {
1085
- line: null,
1086
- column: null
1087
- };
1088
- };
1089
-
1090
- /**
1091
- * Parse the mappings in a string in to a data structure which we can easily
1092
- * query (the ordered arrays in the `this.__generatedMappings` and
1093
- * `this.__originalMappings` properties).
1094
- */
1095
- IndexedSourceMapConsumer.prototype._parseMappings =
1096
- function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1097
- this.__generatedMappings = [];
1098
- this.__originalMappings = [];
1099
- for (var i = 0; i < this._sections.length; i++) {
1100
- var section = this._sections[i];
1101
- var sectionMappings = section.consumer._generatedMappings;
1102
- for (var j = 0; j < sectionMappings.length; j++) {
1103
- var mapping = sectionMappings[j];
1104
-
1105
- var source = section.consumer._sources.at(mapping.source);
1106
- source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
1107
- this._sources.add(source);
1108
- source = this._sources.indexOf(source);
1109
-
1110
- var name = null;
1111
- if (mapping.name) {
1112
- name = section.consumer._names.at(mapping.name);
1113
- this._names.add(name);
1114
- name = this._names.indexOf(name);
1115
- }
1116
-
1117
- // The mappings coming from the consumer for the section have
1118
- // generated positions relative to the start of the section, so we
1119
- // need to offset them to be relative to the start of the concatenated
1120
- // generated file.
1121
- var adjustedMapping = {
1122
- source: source,
1123
- generatedLine: mapping.generatedLine +
1124
- (section.generatedOffset.generatedLine - 1),
1125
- generatedColumn: mapping.generatedColumn +
1126
- (section.generatedOffset.generatedLine === mapping.generatedLine
1127
- ? section.generatedOffset.generatedColumn - 1
1128
- : 0),
1129
- originalLine: mapping.originalLine,
1130
- originalColumn: mapping.originalColumn,
1131
- name: name
1132
- };
1133
-
1134
- this.__generatedMappings.push(adjustedMapping);
1135
- if (typeof adjustedMapping.originalLine === 'number') {
1136
- this.__originalMappings.push(adjustedMapping);
1137
- }
1138
- }
1139
- }
1140
-
1141
- quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
1142
- quickSort(this.__originalMappings, util.compareByOriginalPositions);
1143
- };
1144
-
1145
- exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;