@zipify/wysiwyg 1.2.0 → 1.2.1-2

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 (1153) 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 +641 -618
  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 +22 -10
  9. package/lib/components/toolbar/controls/link/LinkControlHeader.vue +3 -3
  10. package/lib/components/toolbar/controls/link/__tests__/LinkControl.test.js +8 -8
  11. package/lib/components/toolbar/controls/link/__tests__/LinkControlHeader.test.js +1 -1
  12. package/lib/components/toolbar/controls/link/composables/useLink.js +10 -6
  13. package/lib/composables/__tests__/__snapshots__/useEditor.test.js.snap +1 -1
  14. package/lib/composables/useEditor.js +4 -3
  15. package/lib/enums/TextSettings.js +2 -0
  16. package/lib/extensions/FontStyle.js +2 -2
  17. package/lib/extensions/FontWeight.js +2 -0
  18. package/lib/extensions/Link.js +13 -15
  19. package/lib/extensions/StylePreset.js +33 -3
  20. package/lib/extensions/TextDecoration.js +6 -12
  21. package/lib/extensions/__tests__/FontFamily.test.js +7 -6
  22. package/lib/extensions/__tests__/FontWeight.test.js +19 -10
  23. package/lib/extensions/__tests__/StylePreset.test.js +52 -2
  24. package/lib/extensions/__tests__/TextDecoration.test.js +11 -40
  25. package/lib/extensions/__tests__/__snapshots__/Alignment.test.js.snap +2 -2
  26. package/lib/extensions/__tests__/__snapshots__/BackgroundColor.test.js.snap +1 -1
  27. package/lib/extensions/__tests__/__snapshots__/FontColor.test.js.snap +1 -1
  28. package/lib/extensions/__tests__/__snapshots__/FontFamily.test.js.snap +19 -1
  29. package/lib/extensions/__tests__/__snapshots__/FontSize.test.js.snap +2 -2
  30. package/lib/extensions/__tests__/__snapshots__/FontStyle.test.js.snap +17 -1
  31. package/lib/extensions/__tests__/__snapshots__/FontWeight.test.js.snap +26 -1
  32. package/lib/extensions/__tests__/__snapshots__/LineHeight.test.js.snap +2 -2
  33. package/lib/extensions/__tests__/__snapshots__/Margin.test.js.snap +2 -2
  34. package/lib/extensions/__tests__/__snapshots__/StylePreset.test.js.snap +22 -2
  35. package/lib/extensions/__tests__/__snapshots__/TextDecoration.test.js.snap +3 -46
  36. package/package.json +23 -28
  37. package/config/build/lambda.config.js +0 -39
  38. package/dist/lambda-to-json.zip +0 -0
  39. package/lib/components/toolbar/controls/link/LinkControlApply.vue +0 -35
  40. package/lib/entry-lambda-to-json.js +0 -8
  41. package/node_modules_lambda/.bin/acorn +0 -4
  42. package/node_modules_lambda/.bin/escodegen +0 -77
  43. package/node_modules_lambda/.bin/esgenerate +0 -64
  44. package/node_modules_lambda/.bin/esparse +0 -139
  45. package/node_modules_lambda/.bin/esvalidate +0 -236
  46. package/node_modules_lambda/.package-lock.json +0 -602
  47. package/node_modules_lambda/@tootallnate/once/LICENSE +0 -21
  48. package/node_modules_lambda/@tootallnate/once/README.md +0 -93
  49. package/node_modules_lambda/@tootallnate/once/dist/index.d.ts +0 -7
  50. package/node_modules_lambda/@tootallnate/once/dist/index.js +0 -24
  51. package/node_modules_lambda/@tootallnate/once/dist/index.js.map +0 -1
  52. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.d.ts +0 -231
  53. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js +0 -3
  54. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
  55. package/node_modules_lambda/@tootallnate/once/dist/types.d.ts +0 -17
  56. package/node_modules_lambda/@tootallnate/once/dist/types.js +0 -3
  57. package/node_modules_lambda/@tootallnate/once/dist/types.js.map +0 -1
  58. package/node_modules_lambda/@tootallnate/once/package.json +0 -52
  59. package/node_modules_lambda/abab/LICENSE.md +0 -13
  60. package/node_modules_lambda/abab/README.md +0 -51
  61. package/node_modules_lambda/abab/index.d.ts +0 -2
  62. package/node_modules_lambda/abab/index.js +0 -9
  63. package/node_modules_lambda/abab/lib/atob.js +0 -101
  64. package/node_modules_lambda/abab/lib/btoa.js +0 -62
  65. package/node_modules_lambda/abab/package.json +0 -42
  66. package/node_modules_lambda/acorn/CHANGELOG.md +0 -798
  67. package/node_modules_lambda/acorn/LICENSE +0 -21
  68. package/node_modules_lambda/acorn/README.md +0 -273
  69. package/node_modules_lambda/acorn/bin/acorn +0 -4
  70. package/node_modules_lambda/acorn/dist/acorn.d.ts +0 -252
  71. package/node_modules_lambda/acorn/dist/acorn.js +0 -5608
  72. package/node_modules_lambda/acorn/dist/acorn.mjs +0 -5577
  73. package/node_modules_lambda/acorn/dist/acorn.mjs.d.ts +0 -2
  74. package/node_modules_lambda/acorn/dist/bin.js +0 -91
  75. package/node_modules_lambda/acorn/package.json +0 -50
  76. package/node_modules_lambda/acorn-globals/LICENSE +0 -19
  77. package/node_modules_lambda/acorn-globals/README.md +0 -81
  78. package/node_modules_lambda/acorn-globals/index.js +0 -179
  79. package/node_modules_lambda/acorn-globals/node_modules/.bin/acorn +0 -4
  80. package/node_modules_lambda/acorn-globals/node_modules/acorn/CHANGELOG.md +0 -620
  81. package/node_modules_lambda/acorn-globals/node_modules/acorn/LICENSE +0 -21
  82. package/node_modules_lambda/acorn-globals/node_modules/acorn/README.md +0 -269
  83. package/node_modules_lambda/acorn-globals/node_modules/acorn/bin/acorn +0 -4
  84. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.d.ts +0 -209
  85. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js +0 -5186
  86. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js.map +0 -1
  87. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs +0 -5155
  88. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  89. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +0 -1
  90. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/bin.js +0 -64
  91. package/node_modules_lambda/acorn-globals/node_modules/acorn/package.json +0 -35
  92. package/node_modules_lambda/acorn-globals/package.json +0 -35
  93. package/node_modules_lambda/acorn-walk/CHANGELOG.md +0 -131
  94. package/node_modules_lambda/acorn-walk/LICENSE +0 -19
  95. package/node_modules_lambda/acorn-walk/README.md +0 -126
  96. package/node_modules_lambda/acorn-walk/dist/walk.d.ts +0 -112
  97. package/node_modules_lambda/acorn-walk/dist/walk.js +0 -463
  98. package/node_modules_lambda/acorn-walk/dist/walk.js.map +0 -1
  99. package/node_modules_lambda/acorn-walk/dist/walk.mjs +0 -443
  100. package/node_modules_lambda/acorn-walk/dist/walk.mjs.map +0 -1
  101. package/node_modules_lambda/acorn-walk/package.json +0 -34
  102. package/node_modules_lambda/agent-base/README.md +0 -145
  103. package/node_modules_lambda/agent-base/dist/src/index.d.ts +0 -78
  104. package/node_modules_lambda/agent-base/dist/src/index.js +0 -203
  105. package/node_modules_lambda/agent-base/dist/src/index.js.map +0 -1
  106. package/node_modules_lambda/agent-base/dist/src/promisify.d.ts +0 -4
  107. package/node_modules_lambda/agent-base/dist/src/promisify.js +0 -18
  108. package/node_modules_lambda/agent-base/dist/src/promisify.js.map +0 -1
  109. package/node_modules_lambda/agent-base/package.json +0 -64
  110. package/node_modules_lambda/agent-base/src/index.ts +0 -345
  111. package/node_modules_lambda/agent-base/src/promisify.ts +0 -33
  112. package/node_modules_lambda/asynckit/LICENSE +0 -21
  113. package/node_modules_lambda/asynckit/README.md +0 -233
  114. package/node_modules_lambda/asynckit/bench.js +0 -76
  115. package/node_modules_lambda/asynckit/index.js +0 -6
  116. package/node_modules_lambda/asynckit/lib/abort.js +0 -29
  117. package/node_modules_lambda/asynckit/lib/async.js +0 -34
  118. package/node_modules_lambda/asynckit/lib/defer.js +0 -26
  119. package/node_modules_lambda/asynckit/lib/iterate.js +0 -75
  120. package/node_modules_lambda/asynckit/lib/readable_asynckit.js +0 -91
  121. package/node_modules_lambda/asynckit/lib/readable_parallel.js +0 -25
  122. package/node_modules_lambda/asynckit/lib/readable_serial.js +0 -25
  123. package/node_modules_lambda/asynckit/lib/readable_serial_ordered.js +0 -29
  124. package/node_modules_lambda/asynckit/lib/state.js +0 -37
  125. package/node_modules_lambda/asynckit/lib/streamify.js +0 -141
  126. package/node_modules_lambda/asynckit/lib/terminator.js +0 -29
  127. package/node_modules_lambda/asynckit/package.json +0 -63
  128. package/node_modules_lambda/asynckit/parallel.js +0 -43
  129. package/node_modules_lambda/asynckit/serial.js +0 -17
  130. package/node_modules_lambda/asynckit/serialOrdered.js +0 -75
  131. package/node_modules_lambda/asynckit/stream.js +0 -21
  132. package/node_modules_lambda/browser-process-hrtime/LICENSE +0 -9
  133. package/node_modules_lambda/browser-process-hrtime/README.md +0 -27
  134. package/node_modules_lambda/browser-process-hrtime/index.d.ts +0 -4
  135. package/node_modules_lambda/browser-process-hrtime/index.js +0 -28
  136. package/node_modules_lambda/browser-process-hrtime/package.json +0 -15
  137. package/node_modules_lambda/combined-stream/License +0 -19
  138. package/node_modules_lambda/combined-stream/Readme.md +0 -138
  139. package/node_modules_lambda/combined-stream/lib/combined_stream.js +0 -208
  140. package/node_modules_lambda/combined-stream/package.json +0 -25
  141. package/node_modules_lambda/combined-stream/yarn.lock +0 -17
  142. package/node_modules_lambda/cssom/LICENSE.txt +0 -20
  143. package/node_modules_lambda/cssom/README.mdown +0 -67
  144. package/node_modules_lambda/cssom/lib/CSSConditionRule.js +0 -25
  145. package/node_modules_lambda/cssom/lib/CSSDocumentRule.js +0 -39
  146. package/node_modules_lambda/cssom/lib/CSSFontFaceRule.js +0 -36
  147. package/node_modules_lambda/cssom/lib/CSSGroupingRule.js +0 -68
  148. package/node_modules_lambda/cssom/lib/CSSHostRule.js +0 -37
  149. package/node_modules_lambda/cssom/lib/CSSImportRule.js +0 -132
  150. package/node_modules_lambda/cssom/lib/CSSKeyframeRule.js +0 -37
  151. package/node_modules_lambda/cssom/lib/CSSKeyframesRule.js +0 -39
  152. package/node_modules_lambda/cssom/lib/CSSMediaRule.js +0 -53
  153. package/node_modules_lambda/cssom/lib/CSSOM.js +0 -3
  154. package/node_modules_lambda/cssom/lib/CSSRule.js +0 -43
  155. package/node_modules_lambda/cssom/lib/CSSStyleDeclaration.js +0 -148
  156. package/node_modules_lambda/cssom/lib/CSSStyleRule.js +0 -190
  157. package/node_modules_lambda/cssom/lib/CSSStyleSheet.js +0 -88
  158. package/node_modules_lambda/cssom/lib/CSSSupportsRule.js +0 -36
  159. package/node_modules_lambda/cssom/lib/CSSValue.js +0 -43
  160. package/node_modules_lambda/cssom/lib/CSSValueExpression.js +0 -344
  161. package/node_modules_lambda/cssom/lib/MatcherList.js +0 -62
  162. package/node_modules_lambda/cssom/lib/MediaList.js +0 -61
  163. package/node_modules_lambda/cssom/lib/StyleSheet.js +0 -17
  164. package/node_modules_lambda/cssom/lib/clone.js +0 -74
  165. package/node_modules_lambda/cssom/lib/index.js +0 -23
  166. package/node_modules_lambda/cssom/lib/parse.js +0 -465
  167. package/node_modules_lambda/cssom/package.json +0 -18
  168. package/node_modules_lambda/cssstyle/LICENSE +0 -20
  169. package/node_modules_lambda/cssstyle/README.md +0 -15
  170. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.js +0 -260
  171. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.test.js +0 -556
  172. package/node_modules_lambda/cssstyle/lib/allExtraProperties.js +0 -67
  173. package/node_modules_lambda/cssstyle/lib/allProperties.js +0 -462
  174. package/node_modules_lambda/cssstyle/lib/allWebkitProperties.js +0 -194
  175. package/node_modules_lambda/cssstyle/lib/constants.js +0 -6
  176. package/node_modules_lambda/cssstyle/lib/implementedProperties.js +0 -90
  177. package/node_modules_lambda/cssstyle/lib/named_colors.json +0 -152
  178. package/node_modules_lambda/cssstyle/lib/parsers.js +0 -722
  179. package/node_modules_lambda/cssstyle/lib/parsers.test.js +0 -139
  180. package/node_modules_lambda/cssstyle/lib/properties/azimuth.js +0 -67
  181. package/node_modules_lambda/cssstyle/lib/properties/background.js +0 -19
  182. package/node_modules_lambda/cssstyle/lib/properties/backgroundAttachment.js +0 -24
  183. package/node_modules_lambda/cssstyle/lib/properties/backgroundColor.js +0 -36
  184. package/node_modules_lambda/cssstyle/lib/properties/backgroundImage.js +0 -32
  185. package/node_modules_lambda/cssstyle/lib/properties/backgroundPosition.js +0 -58
  186. package/node_modules_lambda/cssstyle/lib/properties/backgroundRepeat.js +0 -32
  187. package/node_modules_lambda/cssstyle/lib/properties/border.js +0 -33
  188. package/node_modules_lambda/cssstyle/lib/properties/borderBottom.js +0 -17
  189. package/node_modules_lambda/cssstyle/lib/properties/borderBottomColor.js +0 -16
  190. package/node_modules_lambda/cssstyle/lib/properties/borderBottomStyle.js +0 -21
  191. package/node_modules_lambda/cssstyle/lib/properties/borderBottomWidth.js +0 -16
  192. package/node_modules_lambda/cssstyle/lib/properties/borderCollapse.js +0 -26
  193. package/node_modules_lambda/cssstyle/lib/properties/borderColor.js +0 -30
  194. package/node_modules_lambda/cssstyle/lib/properties/borderLeft.js +0 -17
  195. package/node_modules_lambda/cssstyle/lib/properties/borderLeftColor.js +0 -16
  196. package/node_modules_lambda/cssstyle/lib/properties/borderLeftStyle.js +0 -21
  197. package/node_modules_lambda/cssstyle/lib/properties/borderLeftWidth.js +0 -16
  198. package/node_modules_lambda/cssstyle/lib/properties/borderRight.js +0 -17
  199. package/node_modules_lambda/cssstyle/lib/properties/borderRightColor.js +0 -16
  200. package/node_modules_lambda/cssstyle/lib/properties/borderRightStyle.js +0 -21
  201. package/node_modules_lambda/cssstyle/lib/properties/borderRightWidth.js +0 -16
  202. package/node_modules_lambda/cssstyle/lib/properties/borderSpacing.js +0 -41
  203. package/node_modules_lambda/cssstyle/lib/properties/borderStyle.js +0 -38
  204. package/node_modules_lambda/cssstyle/lib/properties/borderTop.js +0 -17
  205. package/node_modules_lambda/cssstyle/lib/properties/borderTopColor.js +0 -16
  206. package/node_modules_lambda/cssstyle/lib/properties/borderTopStyle.js +0 -21
  207. package/node_modules_lambda/cssstyle/lib/properties/borderTopWidth.js +0 -17
  208. package/node_modules_lambda/cssstyle/lib/properties/borderWidth.js +0 -46
  209. package/node_modules_lambda/cssstyle/lib/properties/bottom.js +0 -14
  210. package/node_modules_lambda/cssstyle/lib/properties/clear.js +0 -16
  211. package/node_modules_lambda/cssstyle/lib/properties/clip.js +0 -47
  212. package/node_modules_lambda/cssstyle/lib/properties/color.js +0 -14
  213. package/node_modules_lambda/cssstyle/lib/properties/cssFloat.js +0 -12
  214. package/node_modules_lambda/cssstyle/lib/properties/flex.js +0 -45
  215. package/node_modules_lambda/cssstyle/lib/properties/flexBasis.js +0 -28
  216. package/node_modules_lambda/cssstyle/lib/properties/flexGrow.js +0 -19
  217. package/node_modules_lambda/cssstyle/lib/properties/flexShrink.js +0 -19
  218. package/node_modules_lambda/cssstyle/lib/properties/float.js +0 -12
  219. package/node_modules_lambda/cssstyle/lib/properties/floodColor.js +0 -14
  220. package/node_modules_lambda/cssstyle/lib/properties/font.js +0 -43
  221. package/node_modules_lambda/cssstyle/lib/properties/fontFamily.js +0 -33
  222. package/node_modules_lambda/cssstyle/lib/properties/fontSize.js +0 -38
  223. package/node_modules_lambda/cssstyle/lib/properties/fontStyle.js +0 -18
  224. package/node_modules_lambda/cssstyle/lib/properties/fontVariant.js +0 -18
  225. package/node_modules_lambda/cssstyle/lib/properties/fontWeight.js +0 -33
  226. package/node_modules_lambda/cssstyle/lib/properties/height.js +0 -24
  227. package/node_modules_lambda/cssstyle/lib/properties/left.js +0 -14
  228. package/node_modules_lambda/cssstyle/lib/properties/lightingColor.js +0 -14
  229. package/node_modules_lambda/cssstyle/lib/properties/lineHeight.js +0 -26
  230. package/node_modules_lambda/cssstyle/lib/properties/margin.js +0 -68
  231. package/node_modules_lambda/cssstyle/lib/properties/marginBottom.js +0 -13
  232. package/node_modules_lambda/cssstyle/lib/properties/marginLeft.js +0 -13
  233. package/node_modules_lambda/cssstyle/lib/properties/marginRight.js +0 -13
  234. package/node_modules_lambda/cssstyle/lib/properties/marginTop.js +0 -13
  235. package/node_modules_lambda/cssstyle/lib/properties/opacity.js +0 -14
  236. package/node_modules_lambda/cssstyle/lib/properties/outlineColor.js +0 -14
  237. package/node_modules_lambda/cssstyle/lib/properties/padding.js +0 -61
  238. package/node_modules_lambda/cssstyle/lib/properties/paddingBottom.js +0 -13
  239. package/node_modules_lambda/cssstyle/lib/properties/paddingLeft.js +0 -13
  240. package/node_modules_lambda/cssstyle/lib/properties/paddingRight.js +0 -13
  241. package/node_modules_lambda/cssstyle/lib/properties/paddingTop.js +0 -13
  242. package/node_modules_lambda/cssstyle/lib/properties/right.js +0 -14
  243. package/node_modules_lambda/cssstyle/lib/properties/stopColor.js +0 -14
  244. package/node_modules_lambda/cssstyle/lib/properties/textLineThroughColor.js +0 -14
  245. package/node_modules_lambda/cssstyle/lib/properties/textOverlineColor.js +0 -14
  246. package/node_modules_lambda/cssstyle/lib/properties/textUnderlineColor.js +0 -14
  247. package/node_modules_lambda/cssstyle/lib/properties/top.js +0 -14
  248. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
  249. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
  250. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
  251. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
  252. package/node_modules_lambda/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
  253. package/node_modules_lambda/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
  254. package/node_modules_lambda/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
  255. package/node_modules_lambda/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
  256. package/node_modules_lambda/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
  257. package/node_modules_lambda/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
  258. package/node_modules_lambda/cssstyle/lib/properties/width.js +0 -24
  259. package/node_modules_lambda/cssstyle/lib/properties.js +0 -1833
  260. package/node_modules_lambda/cssstyle/lib/utils/colorSpace.js +0 -21
  261. package/node_modules_lambda/cssstyle/lib/utils/getBasicPropertyDescriptor.js +0 -14
  262. package/node_modules_lambda/cssstyle/node_modules/cssom/LICENSE.txt +0 -20
  263. package/node_modules_lambda/cssstyle/node_modules/cssom/README.mdown +0 -67
  264. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
  265. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
  266. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSHostRule.js +0 -37
  267. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSImportRule.js +0 -132
  268. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
  269. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
  270. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +0 -41
  271. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSOM.js +0 -3
  272. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSRule.js +0 -43
  273. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
  274. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +0 -190
  275. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
  276. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
  277. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValue.js +0 -43
  278. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +0 -344
  279. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MatcherList.js +0 -62
  280. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MediaList.js +0 -61
  281. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/StyleSheet.js +0 -17
  282. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/clone.js +0 -82
  283. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/index.js +0 -21
  284. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/parse.js +0 -464
  285. package/node_modules_lambda/cssstyle/node_modules/cssom/package.json +0 -18
  286. package/node_modules_lambda/cssstyle/package.json +0 -72
  287. package/node_modules_lambda/data-urls/LICENSE.txt +0 -7
  288. package/node_modules_lambda/data-urls/README.md +0 -62
  289. package/node_modules_lambda/data-urls/lib/parser.js +0 -69
  290. package/node_modules_lambda/data-urls/lib/utils.js +0 -18
  291. package/node_modules_lambda/data-urls/node_modules/whatwg-url/LICENSE.txt +0 -21
  292. package/node_modules_lambda/data-urls/node_modules/whatwg-url/README.md +0 -106
  293. package/node_modules_lambda/data-urls/node_modules/whatwg-url/index.js +0 -27
  294. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/Function.js +0 -42
  295. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL-impl.js +0 -209
  296. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL.js +0 -442
  297. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  298. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams.js +0 -472
  299. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/VoidFunction.js +0 -26
  300. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/encoding.js +0 -16
  301. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/infra.js +0 -26
  302. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/percent-encoding.js +0 -142
  303. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/url-state-machine.js +0 -1244
  304. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/urlencoded.js +0 -106
  305. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/utils.js +0 -190
  306. package/node_modules_lambda/data-urls/node_modules/whatwg-url/package.json +0 -58
  307. package/node_modules_lambda/data-urls/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
  308. package/node_modules_lambda/data-urls/package.json +0 -54
  309. package/node_modules_lambda/debug/LICENSE +0 -20
  310. package/node_modules_lambda/debug/README.md +0 -481
  311. package/node_modules_lambda/debug/package.json +0 -59
  312. package/node_modules_lambda/debug/src/browser.js +0 -269
  313. package/node_modules_lambda/debug/src/common.js +0 -274
  314. package/node_modules_lambda/debug/src/index.js +0 -10
  315. package/node_modules_lambda/debug/src/node.js +0 -263
  316. package/node_modules_lambda/decimal.js/CHANGELOG.md +0 -231
  317. package/node_modules_lambda/decimal.js/LICENCE.md +0 -23
  318. package/node_modules_lambda/decimal.js/README.md +0 -246
  319. package/node_modules_lambda/decimal.js/decimal.d.ts +0 -300
  320. package/node_modules_lambda/decimal.js/decimal.js +0 -4934
  321. package/node_modules_lambda/decimal.js/decimal.mjs +0 -4898
  322. package/node_modules_lambda/decimal.js/package.json +0 -40
  323. package/node_modules_lambda/deep-is/.travis.yml +0 -5
  324. package/node_modules_lambda/deep-is/LICENSE +0 -22
  325. package/node_modules_lambda/deep-is/README.markdown +0 -70
  326. package/node_modules_lambda/deep-is/example/cmp.js +0 -11
  327. package/node_modules_lambda/deep-is/index.js +0 -102
  328. package/node_modules_lambda/deep-is/package.json +0 -58
  329. package/node_modules_lambda/deep-is/test/NaN.js +0 -16
  330. package/node_modules_lambda/deep-is/test/cmp.js +0 -23
  331. package/node_modules_lambda/deep-is/test/neg-vs-pos-0.js +0 -15
  332. package/node_modules_lambda/delayed-stream/License +0 -19
  333. package/node_modules_lambda/delayed-stream/Makefile +0 -7
  334. package/node_modules_lambda/delayed-stream/Readme.md +0 -141
  335. package/node_modules_lambda/delayed-stream/lib/delayed_stream.js +0 -107
  336. package/node_modules_lambda/delayed-stream/package.json +0 -27
  337. package/node_modules_lambda/domexception/LICENSE.txt +0 -21
  338. package/node_modules_lambda/domexception/README.md +0 -31
  339. package/node_modules_lambda/domexception/index.js +0 -7
  340. package/node_modules_lambda/domexception/lib/DOMException-impl.js +0 -22
  341. package/node_modules_lambda/domexception/lib/DOMException.js +0 -222
  342. package/node_modules_lambda/domexception/lib/Function.js +0 -42
  343. package/node_modules_lambda/domexception/lib/VoidFunction.js +0 -26
  344. package/node_modules_lambda/domexception/lib/legacy-error-codes.json +0 -24
  345. package/node_modules_lambda/domexception/lib/utils.js +0 -190
  346. package/node_modules_lambda/domexception/package.json +0 -42
  347. package/node_modules_lambda/domexception/webidl2js-wrapper.js +0 -15
  348. package/node_modules_lambda/escodegen/LICENSE.BSD +0 -21
  349. package/node_modules_lambda/escodegen/README.md +0 -84
  350. package/node_modules_lambda/escodegen/bin/escodegen.js +0 -77
  351. package/node_modules_lambda/escodegen/bin/esgenerate.js +0 -64
  352. package/node_modules_lambda/escodegen/escodegen.js +0 -2647
  353. package/node_modules_lambda/escodegen/node_modules/estraverse/.jshintrc +0 -16
  354. package/node_modules_lambda/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
  355. package/node_modules_lambda/escodegen/node_modules/estraverse/README.md +0 -153
  356. package/node_modules_lambda/escodegen/node_modules/estraverse/estraverse.js +0 -805
  357. package/node_modules_lambda/escodegen/node_modules/estraverse/gulpfile.js +0 -70
  358. package/node_modules_lambda/escodegen/node_modules/estraverse/package.json +0 -40
  359. package/node_modules_lambda/escodegen/node_modules/levn/LICENSE +0 -22
  360. package/node_modules_lambda/escodegen/node_modules/levn/README.md +0 -196
  361. package/node_modules_lambda/escodegen/node_modules/levn/lib/cast.js +0 -298
  362. package/node_modules_lambda/escodegen/node_modules/levn/lib/coerce.js +0 -285
  363. package/node_modules_lambda/escodegen/node_modules/levn/lib/index.js +0 -22
  364. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse-string.js +0 -113
  365. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse.js +0 -102
  366. package/node_modules_lambda/escodegen/node_modules/levn/package.json +0 -47
  367. package/node_modules_lambda/escodegen/node_modules/optionator/CHANGELOG.md +0 -56
  368. package/node_modules_lambda/escodegen/node_modules/optionator/LICENSE +0 -22
  369. package/node_modules_lambda/escodegen/node_modules/optionator/README.md +0 -238
  370. package/node_modules_lambda/escodegen/node_modules/optionator/lib/help.js +0 -260
  371. package/node_modules_lambda/escodegen/node_modules/optionator/lib/index.js +0 -465
  372. package/node_modules_lambda/escodegen/node_modules/optionator/lib/util.js +0 -54
  373. package/node_modules_lambda/escodegen/node_modules/optionator/package.json +0 -44
  374. package/node_modules_lambda/escodegen/node_modules/prelude-ls/CHANGELOG.md +0 -99
  375. package/node_modules_lambda/escodegen/node_modules/prelude-ls/LICENSE +0 -22
  376. package/node_modules_lambda/escodegen/node_modules/prelude-ls/README.md +0 -15
  377. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Func.js +0 -65
  378. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/List.js +0 -686
  379. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Num.js +0 -130
  380. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Obj.js +0 -154
  381. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Str.js +0 -92
  382. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/index.js +0 -178
  383. package/node_modules_lambda/escodegen/node_modules/prelude-ls/package.json +0 -52
  384. package/node_modules_lambda/escodegen/node_modules/source-map/CHANGELOG.md +0 -301
  385. package/node_modules_lambda/escodegen/node_modules/source-map/LICENSE +0 -28
  386. package/node_modules_lambda/escodegen/node_modules/source-map/README.md +0 -742
  387. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.debug.js +0 -3234
  388. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.js +0 -3233
  389. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js +0 -2
  390. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js.map +0 -1
  391. package/node_modules_lambda/escodegen/node_modules/source-map/lib/array-set.js +0 -121
  392. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64-vlq.js +0 -140
  393. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64.js +0 -67
  394. package/node_modules_lambda/escodegen/node_modules/source-map/lib/binary-search.js +0 -111
  395. package/node_modules_lambda/escodegen/node_modules/source-map/lib/mapping-list.js +0 -79
  396. package/node_modules_lambda/escodegen/node_modules/source-map/lib/quick-sort.js +0 -114
  397. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  398. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-generator.js +0 -425
  399. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-node.js +0 -413
  400. package/node_modules_lambda/escodegen/node_modules/source-map/lib/util.js +0 -488
  401. package/node_modules_lambda/escodegen/node_modules/source-map/package.json +0 -73
  402. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.d.ts +0 -98
  403. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.js +0 -8
  404. package/node_modules_lambda/escodegen/node_modules/type-check/LICENSE +0 -22
  405. package/node_modules_lambda/escodegen/node_modules/type-check/README.md +0 -210
  406. package/node_modules_lambda/escodegen/node_modules/type-check/lib/check.js +0 -126
  407. package/node_modules_lambda/escodegen/node_modules/type-check/lib/index.js +0 -16
  408. package/node_modules_lambda/escodegen/node_modules/type-check/lib/parse-type.js +0 -196
  409. package/node_modules_lambda/escodegen/node_modules/type-check/package.json +0 -40
  410. package/node_modules_lambda/escodegen/package.json +0 -62
  411. package/node_modules_lambda/esprima/ChangeLog +0 -235
  412. package/node_modules_lambda/esprima/LICENSE.BSD +0 -21
  413. package/node_modules_lambda/esprima/README.md +0 -46
  414. package/node_modules_lambda/esprima/bin/esparse.js +0 -139
  415. package/node_modules_lambda/esprima/bin/esvalidate.js +0 -236
  416. package/node_modules_lambda/esprima/dist/esprima.js +0 -6709
  417. package/node_modules_lambda/esprima/package.json +0 -112
  418. package/node_modules_lambda/esutils/LICENSE.BSD +0 -19
  419. package/node_modules_lambda/esutils/README.md +0 -174
  420. package/node_modules_lambda/esutils/lib/ast.js +0 -144
  421. package/node_modules_lambda/esutils/lib/code.js +0 -135
  422. package/node_modules_lambda/esutils/lib/keyword.js +0 -165
  423. package/node_modules_lambda/esutils/lib/utils.js +0 -33
  424. package/node_modules_lambda/esutils/package.json +0 -44
  425. package/node_modules_lambda/fast-levenshtein/LICENSE.md +0 -25
  426. package/node_modules_lambda/fast-levenshtein/README.md +0 -104
  427. package/node_modules_lambda/fast-levenshtein/levenshtein.js +0 -136
  428. package/node_modules_lambda/fast-levenshtein/package.json +0 -39
  429. package/node_modules_lambda/form-data/License +0 -19
  430. package/node_modules_lambda/form-data/README.md.bak +0 -358
  431. package/node_modules_lambda/form-data/Readme.md +0 -358
  432. package/node_modules_lambda/form-data/index.d.ts +0 -62
  433. package/node_modules_lambda/form-data/lib/browser.js +0 -2
  434. package/node_modules_lambda/form-data/lib/form_data.js +0 -501
  435. package/node_modules_lambda/form-data/lib/populate.js +0 -10
  436. package/node_modules_lambda/form-data/package.json +0 -68
  437. package/node_modules_lambda/html-encoding-sniffer/LICENSE.txt +0 -7
  438. package/node_modules_lambda/html-encoding-sniffer/README.md +0 -40
  439. package/node_modules_lambda/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -295
  440. package/node_modules_lambda/html-encoding-sniffer/package.json +0 -31
  441. package/node_modules_lambda/http-proxy-agent/README.md +0 -74
  442. package/node_modules_lambda/http-proxy-agent/dist/agent.d.ts +0 -32
  443. package/node_modules_lambda/http-proxy-agent/dist/agent.js +0 -145
  444. package/node_modules_lambda/http-proxy-agent/dist/agent.js.map +0 -1
  445. package/node_modules_lambda/http-proxy-agent/dist/index.d.ts +0 -21
  446. package/node_modules_lambda/http-proxy-agent/dist/index.js +0 -14
  447. package/node_modules_lambda/http-proxy-agent/dist/index.js.map +0 -1
  448. package/node_modules_lambda/http-proxy-agent/package.json +0 -57
  449. package/node_modules_lambda/https-proxy-agent/README.md +0 -137
  450. package/node_modules_lambda/https-proxy-agent/dist/agent.d.ts +0 -30
  451. package/node_modules_lambda/https-proxy-agent/dist/agent.js +0 -177
  452. package/node_modules_lambda/https-proxy-agent/dist/agent.js.map +0 -1
  453. package/node_modules_lambda/https-proxy-agent/dist/index.d.ts +0 -23
  454. package/node_modules_lambda/https-proxy-agent/dist/index.js +0 -14
  455. package/node_modules_lambda/https-proxy-agent/dist/index.js.map +0 -1
  456. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  457. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  458. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  459. package/node_modules_lambda/https-proxy-agent/package.json +0 -56
  460. package/node_modules_lambda/is-potential-custom-element-name/LICENSE-MIT.txt +0 -20
  461. package/node_modules_lambda/is-potential-custom-element-name/README.md +0 -40
  462. package/node_modules_lambda/is-potential-custom-element-name/index.js +0 -9
  463. package/node_modules_lambda/is-potential-custom-element-name/package.json +0 -35
  464. package/node_modules_lambda/jsdom/LICENSE.txt +0 -22
  465. package/node_modules_lambda/jsdom/README.md +0 -522
  466. package/node_modules_lambda/jsdom/lib/api.js +0 -333
  467. package/node_modules_lambda/jsdom/lib/jsdom/browser/Window.js +0 -933
  468. package/node_modules_lambda/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
  469. package/node_modules_lambda/jsdom/lib/jsdom/browser/js-globals.json +0 -307
  470. package/node_modules_lambda/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  471. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/html.js +0 -224
  472. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/index.js +0 -37
  473. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
  474. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
  475. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
  476. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -95
  477. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
  478. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
  479. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
  480. package/node_modules_lambda/jsdom/lib/jsdom/level2/style.js +0 -57
  481. package/node_modules_lambda/jsdom/lib/jsdom/level3/xpath.js +0 -1874
  482. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
  483. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -69
  484. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
  485. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
  486. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes.js +0 -312
  487. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
  488. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
  489. package/node_modules_lambda/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
  490. package/node_modules_lambda/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -265
  491. package/node_modules_lambda/jsdom/lib/jsdom/living/documents.js +0 -15
  492. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -58
  493. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -29
  494. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
  495. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
  496. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -45
  497. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
  498. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
  499. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
  500. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
  501. package/node_modules_lambda/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
  502. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -18
  503. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -405
  504. package/node_modules_lambda/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
  505. package/node_modules_lambda/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
  506. package/node_modules_lambda/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
  507. package/node_modules_lambda/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
  508. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
  509. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -49
  510. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
  511. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
  512. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
  513. package/node_modules_lambda/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
  514. package/node_modules_lambda/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
  515. package/node_modules_lambda/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
  516. package/node_modules_lambda/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
  517. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -170
  518. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-list.js +0 -54
  519. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
  520. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
  521. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
  522. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
  523. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
  524. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortController.js +0 -143
  525. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -184
  526. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -171
  527. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -44
  528. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
  529. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Attr.js +0 -217
  530. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BarProp.js +0 -117
  531. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
  532. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Blob.js +0 -203
  533. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -30
  534. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
  535. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -109
  536. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
  537. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -453
  538. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -168
  539. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -65
  540. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Comment.js +0 -120
  541. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -219
  542. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
  543. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -34
  544. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
  545. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -206
  546. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
  547. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -237
  548. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
  549. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -323
  550. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -563
  551. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Document.js +0 -3593
  552. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -334
  553. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
  554. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -252
  555. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Element.js +0 -1718
  556. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
  557. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -29
  558. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
  559. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -192
  560. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -92
  561. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Event.js +0 -430
  562. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -36
  563. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventInit.js +0 -58
  564. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
  565. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
  566. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -221
  567. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -259
  568. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/External.js +0 -130
  569. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/File.js +0 -177
  570. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileList.js +0 -324
  571. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -33
  572. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileReader.js +0 -468
  573. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -144
  574. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
  575. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FormData.js +0 -452
  576. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Function.js +0 -42
  577. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -31
  578. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -1023
  579. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -822
  580. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -110
  581. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
  582. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -193
  583. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -877
  584. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -522
  585. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -304
  586. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -378
  587. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
  588. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
  589. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -125
  590. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
  591. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
  592. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
  593. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
  594. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -2549
  595. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -371
  596. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -329
  597. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -236
  598. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -501
  599. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -494
  600. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -708
  601. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -320
  602. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -110
  603. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
  604. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
  605. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -670
  606. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -870
  607. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1875
  608. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -199
  609. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -179
  610. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -166
  611. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -542
  612. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -168
  613. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -546
  614. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -888
  615. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
  616. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -276
  617. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -365
  618. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -207
  619. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -281
  620. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -921
  621. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -197
  622. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -376
  623. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -537
  624. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -392
  625. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
  626. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -276
  627. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -110
  628. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -158
  629. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -218
  630. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -166
  631. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -459
  632. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -1013
  633. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -192
  634. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -330
  635. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -110
  636. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -207
  637. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
  638. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -700
  639. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -364
  640. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -799
  641. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -414
  642. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -346
  643. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -123
  644. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1171
  645. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
  646. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
  647. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -356
  648. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -197
  649. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -109
  650. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -329
  651. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -157
  652. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -50
  653. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Headers.js +0 -408
  654. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/History.js +0 -266
  655. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -168
  656. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -68
  657. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -445
  658. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -116
  659. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Location.js +0 -404
  660. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -317
  661. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -100
  662. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeType.js +0 -156
  663. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -352
  664. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -499
  665. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -111
  666. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -34
  667. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -178
  668. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -121
  669. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -229
  670. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -553
  671. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Navigator.js +0 -326
  672. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Node.js +0 -763
  673. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -75
  674. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -207
  675. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeList.js +0 -328
  676. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -42
  677. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -56
  678. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -144
  679. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -35
  680. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Performance.js +0 -142
  681. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Plugin.js +0 -385
  682. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -362
  683. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -144
  684. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  685. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -122
  686. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -170
  687. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -65
  688. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Range.js +0 -641
  689. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -149
  690. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
  691. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -2227
  692. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -139
  693. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -132
  694. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -737
  695. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -537
  696. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -109
  697. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Screen.js +0 -180
  698. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
  699. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
  700. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -14
  701. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
  702. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
  703. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Selection.js +0 -569
  704. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
  705. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -187
  706. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
  707. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
  708. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -123
  709. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -72
  710. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Storage.js +0 -423
  711. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -318
  712. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -99
  713. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -326
  714. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
  715. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Text.js +0 -170
  716. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
  717. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -222
  718. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
  719. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -255
  720. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
  721. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -62
  722. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -249
  723. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
  724. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -26
  725. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -476
  726. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -191
  727. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -71
  728. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -109
  729. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -655
  730. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -334
  731. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -14
  732. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -109
  733. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -132
  734. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/utils.js +0 -190
  735. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -15
  736. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
  737. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-element.js +0 -320
  738. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
  739. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -270
  740. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
  741. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/details.js +0 -15
  742. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -54
  743. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/events.js +0 -24
  744. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
  745. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -306
  746. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
  747. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/http-request.js +0 -254
  748. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
  749. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
  750. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/json.js +0 -12
  751. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
  752. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -15
  753. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/node.js +0 -68
  754. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
  755. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
  756. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/page-transition-event.js +0 -9
  757. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
  758. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
  759. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
  760. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/strings.js +0 -148
  761. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -114
  762. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -113
  763. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
  764. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
  765. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/text.js +0 -19
  766. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
  767. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -65
  768. package/node_modules_lambda/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -25
  769. package/node_modules_lambda/jsdom/lib/jsdom/living/interfaces.js +0 -217
  770. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
  771. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
  772. package/node_modules_lambda/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
  773. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
  774. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
  775. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
  776. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  777. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  778. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  779. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  780. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  781. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
  782. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
  783. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
  784. package/node_modules_lambda/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  785. package/node_modules_lambda/jsdom/lib/jsdom/living/node-type.js +0 -16
  786. package/node_modules_lambda/jsdom/lib/jsdom/living/node.js +0 -331
  787. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
  788. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
  789. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
  790. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
  791. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
  792. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
  793. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
  794. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -946
  795. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
  796. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
  797. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
  798. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -582
  799. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -25
  800. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  801. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -95
  802. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
  803. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
  804. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  805. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  806. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
  807. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
  808. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
  809. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
  810. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
  811. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  812. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  813. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
  814. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
  815. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  816. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  817. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  818. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -160
  819. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
  820. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
  821. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  822. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -232
  823. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -261
  824. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
  825. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  826. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  827. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  828. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  829. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -371
  830. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  831. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -132
  832. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1129
  833. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  834. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
  835. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
  836. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -101
  837. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  838. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
  839. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
  840. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  841. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  842. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
  843. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  844. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
  845. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
  846. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  847. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
  848. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
  849. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -85
  850. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
  851. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  852. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  853. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
  854. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  855. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -74
  856. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  857. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -265
  858. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
  859. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
  860. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
  861. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  862. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -74
  863. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  864. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
  865. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  866. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
  867. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
  868. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
  869. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
  870. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -272
  871. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  872. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  873. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
  874. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  875. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  876. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
  877. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
  878. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1159
  879. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
  880. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  881. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
  882. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
  883. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  884. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
  885. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
  886. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -42
  887. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
  888. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
  889. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -40
  890. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
  891. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
  892. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
  893. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  894. package/node_modules_lambda/jsdom/lib/jsdom/living/post-message.js +0 -39
  895. package/node_modules_lambda/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
  896. package/node_modules_lambda/jsdom/lib/jsdom/living/range/Range-impl.js +0 -897
  897. package/node_modules_lambda/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
  898. package/node_modules_lambda/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
  899. package/node_modules_lambda/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -342
  900. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -38
  901. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
  902. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
  903. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
  904. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -127
  905. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
  906. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
  907. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +0 -175
  908. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
  909. package/node_modules_lambda/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
  910. package/node_modules_lambda/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
  911. package/node_modules_lambda/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
  912. package/node_modules_lambda/jsdom/lib/jsdom/living/window/History-impl.js +0 -134
  913. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Location-impl.js +0 -238
  914. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
  915. package/node_modules_lambda/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
  916. package/node_modules_lambda/jsdom/lib/jsdom/living/window/navigation.js +0 -85
  917. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -171
  918. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1023
  919. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
  920. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
  921. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -60
  922. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -438
  923. package/node_modules_lambda/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
  924. package/node_modules_lambda/jsdom/lib/jsdom/utils.js +0 -165
  925. package/node_modules_lambda/jsdom/lib/jsdom/virtual-console.js +0 -34
  926. package/node_modules_lambda/jsdom/lib/jsdom/vm-shim.js +0 -106
  927. package/node_modules_lambda/jsdom/package.json +0 -116
  928. package/node_modules_lambda/mime-db/HISTORY.md +0 -507
  929. package/node_modules_lambda/mime-db/LICENSE +0 -23
  930. package/node_modules_lambda/mime-db/README.md +0 -100
  931. package/node_modules_lambda/mime-db/db.json +0 -8519
  932. package/node_modules_lambda/mime-db/index.js +0 -12
  933. package/node_modules_lambda/mime-db/package.json +0 -60
  934. package/node_modules_lambda/mime-types/HISTORY.md +0 -397
  935. package/node_modules_lambda/mime-types/LICENSE +0 -23
  936. package/node_modules_lambda/mime-types/README.md +0 -113
  937. package/node_modules_lambda/mime-types/index.js +0 -188
  938. package/node_modules_lambda/mime-types/package.json +0 -44
  939. package/node_modules_lambda/ms/index.js +0 -162
  940. package/node_modules_lambda/ms/license.md +0 -21
  941. package/node_modules_lambda/ms/package.json +0 -37
  942. package/node_modules_lambda/ms/readme.md +0 -60
  943. package/node_modules_lambda/nwsapi/LICENSE +0 -22
  944. package/node_modules_lambda/nwsapi/README.md +0 -132
  945. package/node_modules_lambda/nwsapi/dist/lint.log +0 -0
  946. package/node_modules_lambda/nwsapi/package.json +0 -38
  947. package/node_modules_lambda/nwsapi/src/modules/nwsapi-jquery.js +0 -135
  948. package/node_modules_lambda/nwsapi/src/modules/nwsapi-traversal.js +0 -90
  949. package/node_modules_lambda/nwsapi/src/nwsapi.js +0 -1800
  950. package/node_modules_lambda/parse5/LICENSE +0 -19
  951. package/node_modules_lambda/parse5/README.md +0 -38
  952. package/node_modules_lambda/parse5/lib/common/doctype.js +0 -162
  953. package/node_modules_lambda/parse5/lib/common/error-codes.js +0 -65
  954. package/node_modules_lambda/parse5/lib/common/foreign-content.js +0 -265
  955. package/node_modules_lambda/parse5/lib/common/html.js +0 -272
  956. package/node_modules_lambda/parse5/lib/common/unicode.js +0 -109
  957. package/node_modules_lambda/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  958. package/node_modules_lambda/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  959. package/node_modules_lambda/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  960. package/node_modules_lambda/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  961. package/node_modules_lambda/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  962. package/node_modules_lambda/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  963. package/node_modules_lambda/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  964. package/node_modules_lambda/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  965. package/node_modules_lambda/parse5/lib/index.js +0 -29
  966. package/node_modules_lambda/parse5/lib/parser/formatting-element-list.js +0 -181
  967. package/node_modules_lambda/parse5/lib/parser/index.js +0 -2956
  968. package/node_modules_lambda/parse5/lib/parser/open-element-stack.js +0 -482
  969. package/node_modules_lambda/parse5/lib/serializer/index.js +0 -176
  970. package/node_modules_lambda/parse5/lib/tokenizer/index.js +0 -2196
  971. package/node_modules_lambda/parse5/lib/tokenizer/named-entity-data.js +0 -5
  972. package/node_modules_lambda/parse5/lib/tokenizer/preprocessor.js +0 -159
  973. package/node_modules_lambda/parse5/lib/tree-adapters/default.js +0 -221
  974. package/node_modules_lambda/parse5/lib/utils/merge-options.js +0 -13
  975. package/node_modules_lambda/parse5/lib/utils/mixin.js +0 -39
  976. package/node_modules_lambda/parse5/package.json +0 -35
  977. package/node_modules_lambda/psl/LICENSE +0 -9
  978. package/node_modules_lambda/psl/README.md +0 -215
  979. package/node_modules_lambda/psl/browserstack-logo.svg +0 -90
  980. package/node_modules_lambda/psl/data/rules.json +0 -8834
  981. package/node_modules_lambda/psl/dist/psl.js +0 -9645
  982. package/node_modules_lambda/psl/dist/psl.min.js +0 -1
  983. package/node_modules_lambda/psl/index.js +0 -269
  984. package/node_modules_lambda/psl/package.json +0 -44
  985. package/node_modules_lambda/punycode/LICENSE-MIT.txt +0 -20
  986. package/node_modules_lambda/punycode/README.md +0 -122
  987. package/node_modules_lambda/punycode/package.json +0 -58
  988. package/node_modules_lambda/punycode/punycode.es6.js +0 -441
  989. package/node_modules_lambda/punycode/punycode.js +0 -440
  990. package/node_modules_lambda/safer-buffer/LICENSE +0 -21
  991. package/node_modules_lambda/safer-buffer/Porting-Buffer.md +0 -268
  992. package/node_modules_lambda/safer-buffer/Readme.md +0 -156
  993. package/node_modules_lambda/safer-buffer/dangerous.js +0 -58
  994. package/node_modules_lambda/safer-buffer/package.json +0 -34
  995. package/node_modules_lambda/safer-buffer/safer.js +0 -77
  996. package/node_modules_lambda/safer-buffer/tests.js +0 -406
  997. package/node_modules_lambda/saxes/README.md +0 -323
  998. package/node_modules_lambda/saxes/package.json +0 -70
  999. package/node_modules_lambda/saxes/saxes.d.ts +0 -635
  1000. package/node_modules_lambda/saxes/saxes.js +0 -2064
  1001. package/node_modules_lambda/saxes/saxes.js.map +0 -1
  1002. package/node_modules_lambda/symbol-tree/LICENSE +0 -21
  1003. package/node_modules_lambda/symbol-tree/README.md +0 -545
  1004. package/node_modules_lambda/symbol-tree/lib/SymbolTree.js +0 -838
  1005. package/node_modules_lambda/symbol-tree/lib/SymbolTreeNode.js +0 -54
  1006. package/node_modules_lambda/symbol-tree/lib/TreeIterator.js +0 -69
  1007. package/node_modules_lambda/symbol-tree/lib/TreePosition.js +0 -11
  1008. package/node_modules_lambda/symbol-tree/package.json +0 -47
  1009. package/node_modules_lambda/tough-cookie/LICENSE +0 -12
  1010. package/node_modules_lambda/tough-cookie/README.md +0 -582
  1011. package/node_modules_lambda/tough-cookie/lib/cookie.js +0 -1671
  1012. package/node_modules_lambda/tough-cookie/lib/memstore.js +0 -190
  1013. package/node_modules_lambda/tough-cookie/lib/pathMatch.js +0 -61
  1014. package/node_modules_lambda/tough-cookie/lib/permuteDomain.js +0 -70
  1015. package/node_modules_lambda/tough-cookie/lib/pubsuffix-psl.js +0 -38
  1016. package/node_modules_lambda/tough-cookie/lib/store.js +0 -76
  1017. package/node_modules_lambda/tough-cookie/lib/version.js +0 -2
  1018. package/node_modules_lambda/tough-cookie/package.json +0 -109
  1019. package/node_modules_lambda/tr46/LICENSE.md +0 -21
  1020. package/node_modules_lambda/tr46/README.md +0 -78
  1021. package/node_modules_lambda/tr46/index.js +0 -298
  1022. package/node_modules_lambda/tr46/lib/mappingTable.json +0 -1
  1023. package/node_modules_lambda/tr46/lib/regexes.js +0 -29
  1024. package/node_modules_lambda/tr46/lib/statusMapping.js +0 -11
  1025. package/node_modules_lambda/tr46/package.json +0 -47
  1026. package/node_modules_lambda/universalify/LICENSE +0 -20
  1027. package/node_modules_lambda/universalify/README.md +0 -76
  1028. package/node_modules_lambda/universalify/index.js +0 -25
  1029. package/node_modules_lambda/universalify/package.json +0 -34
  1030. package/node_modules_lambda/w3c-hr-time/CHANGELOG.md +0 -19
  1031. package/node_modules_lambda/w3c-hr-time/LICENSE.md +0 -21
  1032. package/node_modules_lambda/w3c-hr-time/README.md +0 -130
  1033. package/node_modules_lambda/w3c-hr-time/index.js +0 -11
  1034. package/node_modules_lambda/w3c-hr-time/lib/calculate-clock-offset.js +0 -39
  1035. package/node_modules_lambda/w3c-hr-time/lib/clock-is-accurate.js +0 -61
  1036. package/node_modules_lambda/w3c-hr-time/lib/global-monotonic-clock.js +0 -10
  1037. package/node_modules_lambda/w3c-hr-time/lib/performance.js +0 -53
  1038. package/node_modules_lambda/w3c-hr-time/lib/utils.js +0 -11
  1039. package/node_modules_lambda/w3c-hr-time/package.json +0 -26
  1040. package/node_modules_lambda/w3c-xmlserializer/LICENSE.md +0 -25
  1041. package/node_modules_lambda/w3c-xmlserializer/README.md +0 -41
  1042. package/node_modules_lambda/w3c-xmlserializer/lib/attributes.js +0 -125
  1043. package/node_modules_lambda/w3c-xmlserializer/lib/constants.js +0 -44
  1044. package/node_modules_lambda/w3c-xmlserializer/lib/serialize.js +0 -365
  1045. package/node_modules_lambda/w3c-xmlserializer/package.json +0 -33
  1046. package/node_modules_lambda/webidl-conversions/LICENSE.md +0 -12
  1047. package/node_modules_lambda/webidl-conversions/README.md +0 -99
  1048. package/node_modules_lambda/webidl-conversions/lib/index.js +0 -450
  1049. package/node_modules_lambda/webidl-conversions/package.json +0 -35
  1050. package/node_modules_lambda/whatwg-encoding/LICENSE.txt +0 -7
  1051. package/node_modules_lambda/whatwg-encoding/README.md +0 -50
  1052. package/node_modules_lambda/whatwg-encoding/lib/labels-to-names.json +0 -216
  1053. package/node_modules_lambda/whatwg-encoding/lib/supported-names.json +0 -37
  1054. package/node_modules_lambda/whatwg-encoding/lib/whatwg-encoding.js +0 -47
  1055. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  1056. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/Changelog.md +0 -212
  1057. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/LICENSE +0 -21
  1058. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/README.md +0 -130
  1059. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1060. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1061. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +0 -23
  1062. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +0 -198
  1063. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1064. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1065. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1066. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1067. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1068. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1069. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1070. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1071. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1072. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1073. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1074. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1075. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1076. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1077. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1078. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.d.ts +0 -41
  1079. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.js +0 -180
  1080. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +0 -109
  1081. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/package.json +0 -44
  1082. package/node_modules_lambda/whatwg-encoding/package.json +0 -33
  1083. package/node_modules_lambda/whatwg-mimetype/LICENSE.txt +0 -7
  1084. package/node_modules_lambda/whatwg-mimetype/README.md +0 -101
  1085. package/node_modules_lambda/whatwg-mimetype/lib/mime-type-parameters.js +0 -70
  1086. package/node_modules_lambda/whatwg-mimetype/lib/mime-type.js +0 -127
  1087. package/node_modules_lambda/whatwg-mimetype/lib/parser.js +0 -105
  1088. package/node_modules_lambda/whatwg-mimetype/lib/serializer.js +0 -25
  1089. package/node_modules_lambda/whatwg-mimetype/lib/utils.js +0 -60
  1090. package/node_modules_lambda/whatwg-mimetype/package.json +0 -47
  1091. package/node_modules_lambda/whatwg-url/LICENSE.txt +0 -21
  1092. package/node_modules_lambda/whatwg-url/README.md +0 -105
  1093. package/node_modules_lambda/whatwg-url/index.js +0 -25
  1094. package/node_modules_lambda/whatwg-url/lib/Function.js +0 -42
  1095. package/node_modules_lambda/whatwg-url/lib/URL-impl.js +0 -217
  1096. package/node_modules_lambda/whatwg-url/lib/URL.js +0 -442
  1097. package/node_modules_lambda/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  1098. package/node_modules_lambda/whatwg-url/lib/URLSearchParams.js +0 -472
  1099. package/node_modules_lambda/whatwg-url/lib/VoidFunction.js +0 -26
  1100. package/node_modules_lambda/whatwg-url/lib/encoding.js +0 -16
  1101. package/node_modules_lambda/whatwg-url/lib/infra.js +0 -26
  1102. package/node_modules_lambda/whatwg-url/lib/percent-encoding.js +0 -142
  1103. package/node_modules_lambda/whatwg-url/lib/url-state-machine.js +0 -1234
  1104. package/node_modules_lambda/whatwg-url/lib/urlencoded.js +0 -106
  1105. package/node_modules_lambda/whatwg-url/lib/utils.js +0 -190
  1106. package/node_modules_lambda/whatwg-url/package.json +0 -58
  1107. package/node_modules_lambda/whatwg-url/webidl2js-wrapper.js +0 -7
  1108. package/node_modules_lambda/word-wrap/LICENSE +0 -21
  1109. package/node_modules_lambda/word-wrap/README.md +0 -182
  1110. package/node_modules_lambda/word-wrap/index.d.ts +0 -50
  1111. package/node_modules_lambda/word-wrap/index.js +0 -46
  1112. package/node_modules_lambda/word-wrap/package.json +0 -77
  1113. package/node_modules_lambda/ws/LICENSE +0 -19
  1114. package/node_modules_lambda/ws/README.md +0 -495
  1115. package/node_modules_lambda/ws/browser.js +0 -8
  1116. package/node_modules_lambda/ws/index.js +0 -13
  1117. package/node_modules_lambda/ws/lib/buffer-util.js +0 -127
  1118. package/node_modules_lambda/ws/lib/constants.js +0 -12
  1119. package/node_modules_lambda/ws/lib/event-target.js +0 -266
  1120. package/node_modules_lambda/ws/lib/extension.js +0 -203
  1121. package/node_modules_lambda/ws/lib/limiter.js +0 -55
  1122. package/node_modules_lambda/ws/lib/permessage-deflate.js +0 -511
  1123. package/node_modules_lambda/ws/lib/receiver.js +0 -618
  1124. package/node_modules_lambda/ws/lib/sender.js +0 -478
  1125. package/node_modules_lambda/ws/lib/stream.js +0 -159
  1126. package/node_modules_lambda/ws/lib/subprotocol.js +0 -62
  1127. package/node_modules_lambda/ws/lib/validation.js +0 -125
  1128. package/node_modules_lambda/ws/lib/websocket-server.js +0 -535
  1129. package/node_modules_lambda/ws/lib/websocket.js +0 -1296
  1130. package/node_modules_lambda/ws/package.json +0 -61
  1131. package/node_modules_lambda/ws/wrapper.mjs +0 -8
  1132. package/node_modules_lambda/xml-name-validator/LICENSE.txt +0 -176
  1133. package/node_modules_lambda/xml-name-validator/README.md +0 -35
  1134. package/node_modules_lambda/xml-name-validator/lib/xml-name-validator.js +0 -9
  1135. package/node_modules_lambda/xml-name-validator/package.json +0 -30
  1136. package/node_modules_lambda/xmlchars/LICENSE +0 -18
  1137. package/node_modules_lambda/xmlchars/README.md +0 -33
  1138. package/node_modules_lambda/xmlchars/package.json +0 -51
  1139. package/node_modules_lambda/xmlchars/xml/1.0/ed4.d.ts +0 -31
  1140. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js +0 -44
  1141. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js.map +0 -1
  1142. package/node_modules_lambda/xmlchars/xml/1.0/ed5.d.ts +0 -51
  1143. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js +0 -105
  1144. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js.map +0 -1
  1145. package/node_modules_lambda/xmlchars/xml/1.1/ed2.d.ts +0 -73
  1146. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js +0 -145
  1147. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js.map +0 -1
  1148. package/node_modules_lambda/xmlchars/xmlchars.d.ts +0 -170
  1149. package/node_modules_lambda/xmlchars/xmlchars.js +0 -191
  1150. package/node_modules_lambda/xmlchars/xmlchars.js.map +0 -1
  1151. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.d.ts +0 -28
  1152. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js +0 -65
  1153. 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;