@zipify/wysiwyg 1.1.0 → 1.2.0
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.
- package/.release-it.json +2 -1
- package/config/build/lambda.config.js +39 -0
- package/dist/cli.js +1 -1
- package/dist/lambda-to-json.zip +0 -0
- package/dist/wysiwyg.mjs +10 -17
- package/lib/entry-lambda-to-json.js +8 -0
- package/lib/extensions/Alignment.js +10 -8
- package/lib/extensions/FontSize.js +8 -3
- package/lib/extensions/LineHeight.js +10 -4
- package/lib/extensions/__tests__/__snapshots__/Alignment.test.js.snap +3 -3
- package/lib/extensions/__tests__/__snapshots__/FontSize.test.js.snap +9 -9
- package/lib/extensions/__tests__/__snapshots__/LineHeight.test.js.snap +5 -5
- package/lib/services/NodeFactory.js +4 -1
- package/node_modules_lambda/.bin/acorn +4 -0
- package/node_modules_lambda/.bin/escodegen +77 -0
- package/node_modules_lambda/.bin/esgenerate +64 -0
- package/node_modules_lambda/.bin/esparse +139 -0
- package/node_modules_lambda/.bin/esvalidate +236 -0
- package/node_modules_lambda/.package-lock.json +602 -0
- package/node_modules_lambda/@tootallnate/once/LICENSE +21 -0
- package/node_modules_lambda/@tootallnate/once/README.md +93 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.d.ts +7 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.js +24 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.d.ts +231 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js +3 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.d.ts +17 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.js +3 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/package.json +52 -0
- package/node_modules_lambda/abab/LICENSE.md +13 -0
- package/node_modules_lambda/abab/README.md +51 -0
- package/node_modules_lambda/abab/index.d.ts +2 -0
- package/node_modules_lambda/abab/index.js +9 -0
- package/node_modules_lambda/abab/lib/atob.js +101 -0
- package/node_modules_lambda/abab/lib/btoa.js +62 -0
- package/node_modules_lambda/abab/package.json +42 -0
- package/node_modules_lambda/acorn/CHANGELOG.md +798 -0
- package/node_modules_lambda/acorn/LICENSE +21 -0
- package/node_modules_lambda/acorn/README.md +273 -0
- package/node_modules_lambda/acorn/bin/acorn +4 -0
- package/node_modules_lambda/acorn/dist/acorn.d.ts +252 -0
- package/node_modules_lambda/acorn/dist/acorn.js +5608 -0
- package/node_modules_lambda/acorn/dist/acorn.mjs +5577 -0
- package/node_modules_lambda/acorn/dist/acorn.mjs.d.ts +2 -0
- package/node_modules_lambda/acorn/dist/bin.js +91 -0
- package/node_modules_lambda/acorn/package.json +50 -0
- package/node_modules_lambda/acorn-globals/LICENSE +19 -0
- package/node_modules_lambda/acorn-globals/README.md +81 -0
- package/node_modules_lambda/acorn-globals/index.js +179 -0
- package/node_modules_lambda/acorn-globals/node_modules/.bin/acorn +4 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/CHANGELOG.md +620 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/LICENSE +21 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/README.md +269 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/bin/acorn +4 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.d.ts +209 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js +5186 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js.map +1 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs +5155 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +1 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/bin.js +64 -0
- package/node_modules_lambda/acorn-globals/node_modules/acorn/package.json +35 -0
- package/node_modules_lambda/acorn-globals/package.json +35 -0
- package/node_modules_lambda/acorn-walk/CHANGELOG.md +131 -0
- package/node_modules_lambda/acorn-walk/LICENSE +19 -0
- package/node_modules_lambda/acorn-walk/README.md +126 -0
- package/node_modules_lambda/acorn-walk/dist/walk.d.ts +112 -0
- package/node_modules_lambda/acorn-walk/dist/walk.js +463 -0
- package/node_modules_lambda/acorn-walk/dist/walk.js.map +1 -0
- package/node_modules_lambda/acorn-walk/dist/walk.mjs +443 -0
- package/node_modules_lambda/acorn-walk/dist/walk.mjs.map +1 -0
- package/node_modules_lambda/acorn-walk/package.json +34 -0
- package/node_modules_lambda/agent-base/README.md +145 -0
- package/node_modules_lambda/agent-base/dist/src/index.d.ts +78 -0
- package/node_modules_lambda/agent-base/dist/src/index.js +203 -0
- package/node_modules_lambda/agent-base/dist/src/index.js.map +1 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.d.ts +4 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.js +18 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.js.map +1 -0
- package/node_modules_lambda/agent-base/package.json +64 -0
- package/node_modules_lambda/agent-base/src/index.ts +345 -0
- package/node_modules_lambda/agent-base/src/promisify.ts +33 -0
- package/node_modules_lambda/asynckit/LICENSE +21 -0
- package/node_modules_lambda/asynckit/README.md +233 -0
- package/node_modules_lambda/asynckit/bench.js +76 -0
- package/node_modules_lambda/asynckit/index.js +6 -0
- package/node_modules_lambda/asynckit/lib/abort.js +29 -0
- package/node_modules_lambda/asynckit/lib/async.js +34 -0
- package/node_modules_lambda/asynckit/lib/defer.js +26 -0
- package/node_modules_lambda/asynckit/lib/iterate.js +75 -0
- package/node_modules_lambda/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules_lambda/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules_lambda/asynckit/lib/readable_serial.js +25 -0
- package/node_modules_lambda/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules_lambda/asynckit/lib/state.js +37 -0
- package/node_modules_lambda/asynckit/lib/streamify.js +141 -0
- package/node_modules_lambda/asynckit/lib/terminator.js +29 -0
- package/node_modules_lambda/asynckit/package.json +63 -0
- package/node_modules_lambda/asynckit/parallel.js +43 -0
- package/node_modules_lambda/asynckit/serial.js +17 -0
- package/node_modules_lambda/asynckit/serialOrdered.js +75 -0
- package/node_modules_lambda/asynckit/stream.js +21 -0
- package/node_modules_lambda/browser-process-hrtime/LICENSE +9 -0
- package/node_modules_lambda/browser-process-hrtime/README.md +27 -0
- package/node_modules_lambda/browser-process-hrtime/index.d.ts +4 -0
- package/node_modules_lambda/browser-process-hrtime/index.js +28 -0
- package/node_modules_lambda/browser-process-hrtime/package.json +15 -0
- package/node_modules_lambda/combined-stream/License +19 -0
- package/node_modules_lambda/combined-stream/Readme.md +138 -0
- package/node_modules_lambda/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules_lambda/combined-stream/package.json +25 -0
- package/node_modules_lambda/combined-stream/yarn.lock +17 -0
- package/node_modules_lambda/cssom/LICENSE.txt +20 -0
- package/node_modules_lambda/cssom/README.mdown +67 -0
- package/node_modules_lambda/cssom/lib/CSSConditionRule.js +25 -0
- package/node_modules_lambda/cssom/lib/CSSDocumentRule.js +39 -0
- package/node_modules_lambda/cssom/lib/CSSFontFaceRule.js +36 -0
- package/node_modules_lambda/cssom/lib/CSSGroupingRule.js +68 -0
- package/node_modules_lambda/cssom/lib/CSSHostRule.js +37 -0
- package/node_modules_lambda/cssom/lib/CSSImportRule.js +132 -0
- package/node_modules_lambda/cssom/lib/CSSKeyframeRule.js +37 -0
- package/node_modules_lambda/cssom/lib/CSSKeyframesRule.js +39 -0
- package/node_modules_lambda/cssom/lib/CSSMediaRule.js +53 -0
- package/node_modules_lambda/cssom/lib/CSSOM.js +3 -0
- package/node_modules_lambda/cssom/lib/CSSRule.js +43 -0
- package/node_modules_lambda/cssom/lib/CSSStyleDeclaration.js +148 -0
- package/node_modules_lambda/cssom/lib/CSSStyleRule.js +190 -0
- package/node_modules_lambda/cssom/lib/CSSStyleSheet.js +88 -0
- package/node_modules_lambda/cssom/lib/CSSSupportsRule.js +36 -0
- package/node_modules_lambda/cssom/lib/CSSValue.js +43 -0
- package/node_modules_lambda/cssom/lib/CSSValueExpression.js +344 -0
- package/node_modules_lambda/cssom/lib/MatcherList.js +62 -0
- package/node_modules_lambda/cssom/lib/MediaList.js +61 -0
- package/node_modules_lambda/cssom/lib/StyleSheet.js +17 -0
- package/node_modules_lambda/cssom/lib/clone.js +74 -0
- package/node_modules_lambda/cssom/lib/index.js +23 -0
- package/node_modules_lambda/cssom/lib/parse.js +465 -0
- package/node_modules_lambda/cssom/package.json +18 -0
- package/node_modules_lambda/cssstyle/LICENSE +20 -0
- package/node_modules_lambda/cssstyle/README.md +15 -0
- package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.js +260 -0
- package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.test.js +556 -0
- package/node_modules_lambda/cssstyle/lib/allExtraProperties.js +67 -0
- package/node_modules_lambda/cssstyle/lib/allProperties.js +462 -0
- package/node_modules_lambda/cssstyle/lib/allWebkitProperties.js +194 -0
- package/node_modules_lambda/cssstyle/lib/constants.js +6 -0
- package/node_modules_lambda/cssstyle/lib/implementedProperties.js +90 -0
- package/node_modules_lambda/cssstyle/lib/named_colors.json +152 -0
- package/node_modules_lambda/cssstyle/lib/parsers.js +722 -0
- package/node_modules_lambda/cssstyle/lib/parsers.test.js +139 -0
- package/node_modules_lambda/cssstyle/lib/properties/azimuth.js +67 -0
- package/node_modules_lambda/cssstyle/lib/properties/background.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundAttachment.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundColor.js +36 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundImage.js +32 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundPosition.js +58 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundRepeat.js +32 -0
- package/node_modules_lambda/cssstyle/lib/properties/border.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottom.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderCollapse.js +26 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderColor.js +30 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeft.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRight.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderSpacing.js +41 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderStyle.js +38 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTop.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopWidth.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderWidth.js +46 -0
- package/node_modules_lambda/cssstyle/lib/properties/bottom.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/clear.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/clip.js +47 -0
- package/node_modules_lambda/cssstyle/lib/properties/color.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/cssFloat.js +12 -0
- package/node_modules_lambda/cssstyle/lib/properties/flex.js +45 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexBasis.js +28 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexGrow.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexShrink.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/float.js +12 -0
- package/node_modules_lambda/cssstyle/lib/properties/floodColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/font.js +43 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontFamily.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontSize.js +38 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontStyle.js +18 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontVariant.js +18 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontWeight.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/height.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties/left.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/lightingColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/lineHeight.js +26 -0
- package/node_modules_lambda/cssstyle/lib/properties/margin.js +68 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginBottom.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginLeft.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginRight.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginTop.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/opacity.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/outlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/padding.js +61 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingBottom.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingLeft.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingRight.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingTop.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/right.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/stopColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textLineThroughColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textOverlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textUnderlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/top.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/width.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties.js +1833 -0
- package/node_modules_lambda/cssstyle/lib/utils/colorSpace.js +21 -0
- package/node_modules_lambda/cssstyle/lib/utils/getBasicPropertyDescriptor.js +14 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/LICENSE.txt +20 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/README.mdown +67 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSHostRule.js +37 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSImportRule.js +132 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSOM.js +3 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSRule.js +43 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValue.js +43 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MatcherList.js +62 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MediaList.js +61 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/StyleSheet.js +17 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/clone.js +82 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/index.js +21 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/lib/parse.js +464 -0
- package/node_modules_lambda/cssstyle/node_modules/cssom/package.json +18 -0
- package/node_modules_lambda/cssstyle/package.json +72 -0
- package/node_modules_lambda/data-urls/LICENSE.txt +7 -0
- package/node_modules_lambda/data-urls/README.md +62 -0
- package/node_modules_lambda/data-urls/lib/parser.js +69 -0
- package/node_modules_lambda/data-urls/lib/utils.js +18 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/README.md +106 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/index.js +27 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/Function.js +42 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL-impl.js +209 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL.js +442 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams-impl.js +130 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams.js +472 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/VoidFunction.js +26 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/encoding.js +16 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/infra.js +26 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/percent-encoding.js +142 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/url-state-machine.js +1244 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/urlencoded.js +106 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/utils.js +190 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/package.json +58 -0
- package/node_modules_lambda/data-urls/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
- package/node_modules_lambda/data-urls/package.json +54 -0
- package/node_modules_lambda/debug/LICENSE +20 -0
- package/node_modules_lambda/debug/README.md +481 -0
- package/node_modules_lambda/debug/package.json +59 -0
- package/node_modules_lambda/debug/src/browser.js +269 -0
- package/node_modules_lambda/debug/src/common.js +274 -0
- package/node_modules_lambda/debug/src/index.js +10 -0
- package/node_modules_lambda/debug/src/node.js +263 -0
- package/node_modules_lambda/decimal.js/CHANGELOG.md +231 -0
- package/node_modules_lambda/decimal.js/LICENCE.md +23 -0
- package/node_modules_lambda/decimal.js/README.md +246 -0
- package/node_modules_lambda/decimal.js/decimal.d.ts +300 -0
- package/node_modules_lambda/decimal.js/decimal.js +4934 -0
- package/node_modules_lambda/decimal.js/decimal.mjs +4898 -0
- package/node_modules_lambda/decimal.js/package.json +40 -0
- package/node_modules_lambda/deep-is/.travis.yml +5 -0
- package/node_modules_lambda/deep-is/LICENSE +22 -0
- package/node_modules_lambda/deep-is/README.markdown +70 -0
- package/node_modules_lambda/deep-is/example/cmp.js +11 -0
- package/node_modules_lambda/deep-is/index.js +102 -0
- package/node_modules_lambda/deep-is/package.json +58 -0
- package/node_modules_lambda/deep-is/test/NaN.js +16 -0
- package/node_modules_lambda/deep-is/test/cmp.js +23 -0
- package/node_modules_lambda/deep-is/test/neg-vs-pos-0.js +15 -0
- package/node_modules_lambda/delayed-stream/License +19 -0
- package/node_modules_lambda/delayed-stream/Makefile +7 -0
- package/node_modules_lambda/delayed-stream/Readme.md +141 -0
- package/node_modules_lambda/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules_lambda/delayed-stream/package.json +27 -0
- package/node_modules_lambda/domexception/LICENSE.txt +21 -0
- package/node_modules_lambda/domexception/README.md +31 -0
- package/node_modules_lambda/domexception/index.js +7 -0
- package/node_modules_lambda/domexception/lib/DOMException-impl.js +22 -0
- package/node_modules_lambda/domexception/lib/DOMException.js +222 -0
- package/node_modules_lambda/domexception/lib/Function.js +42 -0
- package/node_modules_lambda/domexception/lib/VoidFunction.js +26 -0
- package/node_modules_lambda/domexception/lib/legacy-error-codes.json +24 -0
- package/node_modules_lambda/domexception/lib/utils.js +190 -0
- package/node_modules_lambda/domexception/package.json +42 -0
- package/node_modules_lambda/domexception/webidl2js-wrapper.js +15 -0
- package/node_modules_lambda/escodegen/LICENSE.BSD +21 -0
- package/node_modules_lambda/escodegen/README.md +84 -0
- package/node_modules_lambda/escodegen/bin/escodegen.js +77 -0
- package/node_modules_lambda/escodegen/bin/esgenerate.js +64 -0
- package/node_modules_lambda/escodegen/escodegen.js +2647 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/.jshintrc +16 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/LICENSE.BSD +19 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/README.md +153 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/estraverse.js +805 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/gulpfile.js +70 -0
- package/node_modules_lambda/escodegen/node_modules/estraverse/package.json +40 -0
- package/node_modules_lambda/escodegen/node_modules/levn/LICENSE +22 -0
- package/node_modules_lambda/escodegen/node_modules/levn/README.md +196 -0
- package/node_modules_lambda/escodegen/node_modules/levn/lib/cast.js +298 -0
- package/node_modules_lambda/escodegen/node_modules/levn/lib/coerce.js +285 -0
- package/node_modules_lambda/escodegen/node_modules/levn/lib/index.js +22 -0
- package/node_modules_lambda/escodegen/node_modules/levn/lib/parse-string.js +113 -0
- package/node_modules_lambda/escodegen/node_modules/levn/lib/parse.js +102 -0
- package/node_modules_lambda/escodegen/node_modules/levn/package.json +47 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/CHANGELOG.md +56 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/LICENSE +22 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/README.md +238 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/lib/help.js +260 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/lib/index.js +465 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/lib/util.js +54 -0
- package/node_modules_lambda/escodegen/node_modules/optionator/package.json +44 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/CHANGELOG.md +99 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/LICENSE +22 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/README.md +15 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Func.js +65 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/List.js +686 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Num.js +130 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Obj.js +154 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Str.js +92 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/index.js +178 -0
- package/node_modules_lambda/escodegen/node_modules/prelude-ls/package.json +52 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/CHANGELOG.md +301 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/LICENSE +28 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/README.md +742 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.js +3233 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js +2 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/array-set.js +121 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64.js +67 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/binary-search.js +111 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/mapping-list.js +79 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/quick-sort.js +114 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-node.js +413 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/lib/util.js +488 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/package.json +73 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/source-map.d.ts +98 -0
- package/node_modules_lambda/escodegen/node_modules/source-map/source-map.js +8 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/LICENSE +22 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/README.md +210 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/lib/check.js +126 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/lib/index.js +16 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/lib/parse-type.js +196 -0
- package/node_modules_lambda/escodegen/node_modules/type-check/package.json +40 -0
- package/node_modules_lambda/escodegen/package.json +62 -0
- package/node_modules_lambda/esprima/ChangeLog +235 -0
- package/node_modules_lambda/esprima/LICENSE.BSD +21 -0
- package/node_modules_lambda/esprima/README.md +46 -0
- package/node_modules_lambda/esprima/bin/esparse.js +139 -0
- package/node_modules_lambda/esprima/bin/esvalidate.js +236 -0
- package/node_modules_lambda/esprima/dist/esprima.js +6709 -0
- package/node_modules_lambda/esprima/package.json +112 -0
- package/node_modules_lambda/esutils/LICENSE.BSD +19 -0
- package/node_modules_lambda/esutils/README.md +174 -0
- package/node_modules_lambda/esutils/lib/ast.js +144 -0
- package/node_modules_lambda/esutils/lib/code.js +135 -0
- package/node_modules_lambda/esutils/lib/keyword.js +165 -0
- package/node_modules_lambda/esutils/lib/utils.js +33 -0
- package/node_modules_lambda/esutils/package.json +44 -0
- package/node_modules_lambda/fast-levenshtein/LICENSE.md +25 -0
- package/node_modules_lambda/fast-levenshtein/README.md +104 -0
- package/node_modules_lambda/fast-levenshtein/levenshtein.js +136 -0
- package/node_modules_lambda/fast-levenshtein/package.json +39 -0
- package/node_modules_lambda/form-data/License +19 -0
- package/node_modules_lambda/form-data/README.md.bak +358 -0
- package/node_modules_lambda/form-data/Readme.md +358 -0
- package/node_modules_lambda/form-data/index.d.ts +62 -0
- package/node_modules_lambda/form-data/lib/browser.js +2 -0
- package/node_modules_lambda/form-data/lib/form_data.js +501 -0
- package/node_modules_lambda/form-data/lib/populate.js +10 -0
- package/node_modules_lambda/form-data/package.json +68 -0
- package/node_modules_lambda/html-encoding-sniffer/LICENSE.txt +7 -0
- package/node_modules_lambda/html-encoding-sniffer/README.md +40 -0
- package/node_modules_lambda/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
- package/node_modules_lambda/html-encoding-sniffer/package.json +31 -0
- package/node_modules_lambda/http-proxy-agent/README.md +74 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.d.ts +32 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.js +145 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.d.ts +21 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.js +14 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.js.map +1 -0
- package/node_modules_lambda/http-proxy-agent/package.json +57 -0
- package/node_modules_lambda/https-proxy-agent/README.md +137 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.d.ts +30 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.d.ts +23 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.js +14 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/package.json +56 -0
- package/node_modules_lambda/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
- package/node_modules_lambda/is-potential-custom-element-name/README.md +40 -0
- package/node_modules_lambda/is-potential-custom-element-name/index.js +9 -0
- package/node_modules_lambda/is-potential-custom-element-name/package.json +35 -0
- package/node_modules_lambda/jsdom/LICENSE.txt +22 -0
- package/node_modules_lambda/jsdom/README.md +522 -0
- package/node_modules_lambda/jsdom/lib/api.js +333 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/Window.js +933 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/default-stylesheet.js +789 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/js-globals.json +307 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/html.js +224 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/index.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/level2/style.js +57 -0
- package/node_modules_lambda/jsdom/lib/jsdom/level3/xpath.js +1874 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +69 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes.js +312 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +265 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/documents.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +58 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/serialization.js +45 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/Event-impl.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventTarget-impl.js +405 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +49 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/UIEvent-impl.js +59 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/Headers-impl.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-list.js +54 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortController.js +143 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortSignal.js +184 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbstractRange.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Attr.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BarProp.js +117 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Blob.js +203 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobCallback.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CDATASection.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CharacterData.js +453 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEvent.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEventInit.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Comment.js +120 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEvent.js +219 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +242 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEvent.js +206 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMImplementation.js +237 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMStringMap.js +323 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMTokenList.js +563 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Document.js +3593 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentFragment.js +334 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentType.js +252 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Element.js +1718 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEvent.js +192 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +92 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Event.js +430 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +36 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventInit.js +58 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventModifierInit.js +221 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventTarget.js +259 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/External.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/File.js +177 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileList.js +324 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +33 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileReader.js +468 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FormData.js +452 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Function.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +31 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +1023 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +822 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +193 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +877 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +522 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +304 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCollection.js +378 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +125 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLElement.js +2549 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +371 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +329 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +236 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +501 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +494 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +708 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +320 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +670 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +870 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1875 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +199 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +179 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +166 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +542 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +546 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +888 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +276 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +365 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLModElement.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +281 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +921 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +376 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +537 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +392 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +276 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +158 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +218 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +166 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +459 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +1013 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +192 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +330 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +700 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +364 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +799 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +414 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +346 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +123 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +356 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +329 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +157 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +50 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Headers.js +408 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/History.js +266 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEvent.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEventInit.js +68 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +445 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +116 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Location.js +404 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEvent.js +317 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEventInit.js +100 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeType.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +352 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEvent.js +499 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEventInit.js +111 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationCallback.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserver.js +178 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +121 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationRecord.js +229 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +553 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Navigator.js +326 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Node.js +763 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeFilter.js +75 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeIterator.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeList.js +328 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +56 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Performance.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Plugin.js +385 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PluginArray.js +362 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +122 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEvent.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Range.js +641 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +149 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGElement.js +2227 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +139 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGNumber.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +737 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGStringList.js +537 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Screen.js +180 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Selection.js +569 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRoot.js +187 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRange.js +123 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +72 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Storage.js +423 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEvent.js +318 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEventInit.js +99 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StyleSheetList.js +326 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Text.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEvent.js +222 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TreeWalker.js +255 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEventInit.js +62 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ValidityState.js +249 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VoidFunction.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WebSocket.js +476 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEvent.js +191 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEventInit.js +71 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLDocument.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +655 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +334 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLSerializer.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/utils.js +190 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/agent-factory.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-element.js +320 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/custom-elements.js +270 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/details.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/document-base-url.js +54 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/events.js +24 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/form-controls.js +306 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/http-request.js +254 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/json.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/namespaces.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/node.js +68 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/page-transition-event.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +76 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/selectors.js +47 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/strings.js +148 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/style-rules.js +114 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/stylesheets.js +113 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/text.js +19 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/validate-names.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/interfaces.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/named-properties-window.js +141 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node-document-position.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node-type.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node.js +331 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Document-impl.js +946 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Element-impl.js +582 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +160 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +232 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +261 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +371 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1129 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +101 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +85 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +74 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +265 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +74 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +272 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Node-impl.js +1159 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +40 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/post-message.js +39 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/Range-impl.js +897 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/selection/Selection-impl.js +342 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +38 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +127 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +175 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/History-impl.js +134 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/Location-impl.js +238 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/navigation.js +85 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/FormData-impl.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1023 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +60 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-utils.js +438 -0
- package/node_modules_lambda/jsdom/lib/jsdom/named-properties-tracker.js +158 -0
- package/node_modules_lambda/jsdom/lib/jsdom/utils.js +165 -0
- package/node_modules_lambda/jsdom/lib/jsdom/virtual-console.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/vm-shim.js +106 -0
- package/node_modules_lambda/jsdom/package.json +116 -0
- package/node_modules_lambda/mime-db/HISTORY.md +507 -0
- package/node_modules_lambda/mime-db/LICENSE +23 -0
- package/node_modules_lambda/mime-db/README.md +100 -0
- package/node_modules_lambda/mime-db/db.json +8519 -0
- package/node_modules_lambda/mime-db/index.js +12 -0
- package/node_modules_lambda/mime-db/package.json +60 -0
- package/node_modules_lambda/mime-types/HISTORY.md +397 -0
- package/node_modules_lambda/mime-types/LICENSE +23 -0
- package/node_modules_lambda/mime-types/README.md +113 -0
- package/node_modules_lambda/mime-types/index.js +188 -0
- package/node_modules_lambda/mime-types/package.json +44 -0
- package/node_modules_lambda/ms/index.js +162 -0
- package/node_modules_lambda/ms/license.md +21 -0
- package/node_modules_lambda/ms/package.json +37 -0
- package/node_modules_lambda/ms/readme.md +60 -0
- package/node_modules_lambda/nwsapi/LICENSE +22 -0
- package/node_modules_lambda/nwsapi/README.md +132 -0
- package/node_modules_lambda/nwsapi/dist/lint.log +0 -0
- package/node_modules_lambda/nwsapi/package.json +38 -0
- package/node_modules_lambda/nwsapi/src/modules/nwsapi-jquery.js +135 -0
- package/node_modules_lambda/nwsapi/src/modules/nwsapi-traversal.js +90 -0
- package/node_modules_lambda/nwsapi/src/nwsapi.js +1800 -0
- package/node_modules_lambda/parse5/LICENSE +19 -0
- package/node_modules_lambda/parse5/README.md +38 -0
- package/node_modules_lambda/parse5/lib/common/doctype.js +162 -0
- package/node_modules_lambda/parse5/lib/common/error-codes.js +65 -0
- package/node_modules_lambda/parse5/lib/common/foreign-content.js +265 -0
- package/node_modules_lambda/parse5/lib/common/html.js +272 -0
- package/node_modules_lambda/parse5/lib/common/unicode.js +109 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/mixin-base.js +43 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/parser-mixin.js +52 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +24 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +17 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/open-element-stack-mixin.js +35 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/parser-mixin.js +223 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/tokenizer-mixin.js +146 -0
- package/node_modules_lambda/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +64 -0
- package/node_modules_lambda/parse5/lib/index.js +29 -0
- package/node_modules_lambda/parse5/lib/parser/formatting-element-list.js +181 -0
- package/node_modules_lambda/parse5/lib/parser/index.js +2956 -0
- package/node_modules_lambda/parse5/lib/parser/open-element-stack.js +482 -0
- package/node_modules_lambda/parse5/lib/serializer/index.js +176 -0
- package/node_modules_lambda/parse5/lib/tokenizer/index.js +2196 -0
- package/node_modules_lambda/parse5/lib/tokenizer/named-entity-data.js +5 -0
- package/node_modules_lambda/parse5/lib/tokenizer/preprocessor.js +159 -0
- package/node_modules_lambda/parse5/lib/tree-adapters/default.js +221 -0
- package/node_modules_lambda/parse5/lib/utils/merge-options.js +13 -0
- package/node_modules_lambda/parse5/lib/utils/mixin.js +39 -0
- package/node_modules_lambda/parse5/package.json +35 -0
- package/node_modules_lambda/psl/LICENSE +9 -0
- package/node_modules_lambda/psl/README.md +215 -0
- package/node_modules_lambda/psl/browserstack-logo.svg +90 -0
- package/node_modules_lambda/psl/data/rules.json +8834 -0
- package/node_modules_lambda/psl/dist/psl.js +9645 -0
- package/node_modules_lambda/psl/dist/psl.min.js +1 -0
- package/node_modules_lambda/psl/index.js +269 -0
- package/node_modules_lambda/psl/package.json +44 -0
- package/node_modules_lambda/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules_lambda/punycode/README.md +122 -0
- package/node_modules_lambda/punycode/package.json +58 -0
- package/node_modules_lambda/punycode/punycode.es6.js +441 -0
- package/node_modules_lambda/punycode/punycode.js +440 -0
- package/node_modules_lambda/safer-buffer/LICENSE +21 -0
- package/node_modules_lambda/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules_lambda/safer-buffer/Readme.md +156 -0
- package/node_modules_lambda/safer-buffer/dangerous.js +58 -0
- package/node_modules_lambda/safer-buffer/package.json +34 -0
- package/node_modules_lambda/safer-buffer/safer.js +77 -0
- package/node_modules_lambda/safer-buffer/tests.js +406 -0
- package/node_modules_lambda/saxes/README.md +323 -0
- package/node_modules_lambda/saxes/package.json +70 -0
- package/node_modules_lambda/saxes/saxes.d.ts +635 -0
- package/node_modules_lambda/saxes/saxes.js +2064 -0
- package/node_modules_lambda/saxes/saxes.js.map +1 -0
- package/node_modules_lambda/symbol-tree/LICENSE +21 -0
- package/node_modules_lambda/symbol-tree/README.md +545 -0
- package/node_modules_lambda/symbol-tree/lib/SymbolTree.js +838 -0
- package/node_modules_lambda/symbol-tree/lib/SymbolTreeNode.js +54 -0
- package/node_modules_lambda/symbol-tree/lib/TreeIterator.js +69 -0
- package/node_modules_lambda/symbol-tree/lib/TreePosition.js +11 -0
- package/node_modules_lambda/symbol-tree/package.json +47 -0
- package/node_modules_lambda/tough-cookie/LICENSE +12 -0
- package/node_modules_lambda/tough-cookie/README.md +582 -0
- package/node_modules_lambda/tough-cookie/lib/cookie.js +1671 -0
- package/node_modules_lambda/tough-cookie/lib/memstore.js +190 -0
- package/node_modules_lambda/tough-cookie/lib/pathMatch.js +61 -0
- package/node_modules_lambda/tough-cookie/lib/permuteDomain.js +70 -0
- package/node_modules_lambda/tough-cookie/lib/pubsuffix-psl.js +38 -0
- package/node_modules_lambda/tough-cookie/lib/store.js +76 -0
- package/node_modules_lambda/tough-cookie/lib/version.js +2 -0
- package/node_modules_lambda/tough-cookie/package.json +109 -0
- package/node_modules_lambda/tr46/LICENSE.md +21 -0
- package/node_modules_lambda/tr46/README.md +78 -0
- package/node_modules_lambda/tr46/index.js +298 -0
- package/node_modules_lambda/tr46/lib/mappingTable.json +1 -0
- package/node_modules_lambda/tr46/lib/regexes.js +29 -0
- package/node_modules_lambda/tr46/lib/statusMapping.js +11 -0
- package/node_modules_lambda/tr46/package.json +47 -0
- package/node_modules_lambda/universalify/LICENSE +20 -0
- package/node_modules_lambda/universalify/README.md +76 -0
- package/node_modules_lambda/universalify/index.js +25 -0
- package/node_modules_lambda/universalify/package.json +34 -0
- package/node_modules_lambda/w3c-hr-time/CHANGELOG.md +19 -0
- package/node_modules_lambda/w3c-hr-time/LICENSE.md +21 -0
- package/node_modules_lambda/w3c-hr-time/README.md +130 -0
- package/node_modules_lambda/w3c-hr-time/index.js +11 -0
- package/node_modules_lambda/w3c-hr-time/lib/calculate-clock-offset.js +39 -0
- package/node_modules_lambda/w3c-hr-time/lib/clock-is-accurate.js +61 -0
- package/node_modules_lambda/w3c-hr-time/lib/global-monotonic-clock.js +10 -0
- package/node_modules_lambda/w3c-hr-time/lib/performance.js +53 -0
- package/node_modules_lambda/w3c-hr-time/lib/utils.js +11 -0
- package/node_modules_lambda/w3c-hr-time/package.json +26 -0
- package/node_modules_lambda/w3c-xmlserializer/LICENSE.md +25 -0
- package/node_modules_lambda/w3c-xmlserializer/README.md +41 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/attributes.js +125 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/constants.js +44 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/serialize.js +365 -0
- package/node_modules_lambda/w3c-xmlserializer/package.json +33 -0
- package/node_modules_lambda/webidl-conversions/LICENSE.md +12 -0
- package/node_modules_lambda/webidl-conversions/README.md +99 -0
- package/node_modules_lambda/webidl-conversions/lib/index.js +450 -0
- package/node_modules_lambda/webidl-conversions/package.json +35 -0
- package/node_modules_lambda/whatwg-encoding/LICENSE.txt +7 -0
- package/node_modules_lambda/whatwg-encoding/README.md +50 -0
- package/node_modules_lambda/whatwg-encoding/lib/labels-to-names.json +216 -0
- package/node_modules_lambda/whatwg-encoding/lib/supported-names.json +37 -0
- package/node_modules_lambda/whatwg-encoding/lib/whatwg-encoding.js +47 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/.github/dependabot.yml +11 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/Changelog.md +212 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/README.md +130 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +198 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +197 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf32.js +319 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.js +180 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +109 -0
- package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/package.json +44 -0
- package/node_modules_lambda/whatwg-encoding/package.json +33 -0
- package/node_modules_lambda/whatwg-mimetype/LICENSE.txt +7 -0
- package/node_modules_lambda/whatwg-mimetype/README.md +101 -0
- package/node_modules_lambda/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
- package/node_modules_lambda/whatwg-mimetype/lib/mime-type.js +127 -0
- package/node_modules_lambda/whatwg-mimetype/lib/parser.js +105 -0
- package/node_modules_lambda/whatwg-mimetype/lib/serializer.js +25 -0
- package/node_modules_lambda/whatwg-mimetype/lib/utils.js +60 -0
- package/node_modules_lambda/whatwg-mimetype/package.json +47 -0
- package/node_modules_lambda/whatwg-url/LICENSE.txt +21 -0
- package/node_modules_lambda/whatwg-url/README.md +105 -0
- package/node_modules_lambda/whatwg-url/index.js +25 -0
- package/node_modules_lambda/whatwg-url/lib/Function.js +42 -0
- package/node_modules_lambda/whatwg-url/lib/URL-impl.js +217 -0
- package/node_modules_lambda/whatwg-url/lib/URL.js +442 -0
- package/node_modules_lambda/whatwg-url/lib/URLSearchParams-impl.js +130 -0
- package/node_modules_lambda/whatwg-url/lib/URLSearchParams.js +472 -0
- package/node_modules_lambda/whatwg-url/lib/VoidFunction.js +26 -0
- package/node_modules_lambda/whatwg-url/lib/encoding.js +16 -0
- package/node_modules_lambda/whatwg-url/lib/infra.js +26 -0
- package/node_modules_lambda/whatwg-url/lib/percent-encoding.js +142 -0
- package/node_modules_lambda/whatwg-url/lib/url-state-machine.js +1234 -0
- package/node_modules_lambda/whatwg-url/lib/urlencoded.js +106 -0
- package/node_modules_lambda/whatwg-url/lib/utils.js +190 -0
- package/node_modules_lambda/whatwg-url/package.json +58 -0
- package/node_modules_lambda/whatwg-url/webidl2js-wrapper.js +7 -0
- package/node_modules_lambda/word-wrap/LICENSE +21 -0
- package/node_modules_lambda/word-wrap/README.md +182 -0
- package/node_modules_lambda/word-wrap/index.d.ts +50 -0
- package/node_modules_lambda/word-wrap/index.js +46 -0
- package/node_modules_lambda/word-wrap/package.json +77 -0
- package/node_modules_lambda/ws/LICENSE +19 -0
- package/node_modules_lambda/ws/README.md +495 -0
- package/node_modules_lambda/ws/browser.js +8 -0
- package/node_modules_lambda/ws/index.js +13 -0
- package/node_modules_lambda/ws/lib/buffer-util.js +127 -0
- package/node_modules_lambda/ws/lib/constants.js +12 -0
- package/node_modules_lambda/ws/lib/event-target.js +266 -0
- package/node_modules_lambda/ws/lib/extension.js +203 -0
- package/node_modules_lambda/ws/lib/limiter.js +55 -0
- package/node_modules_lambda/ws/lib/permessage-deflate.js +511 -0
- package/node_modules_lambda/ws/lib/receiver.js +618 -0
- package/node_modules_lambda/ws/lib/sender.js +478 -0
- package/node_modules_lambda/ws/lib/stream.js +159 -0
- package/node_modules_lambda/ws/lib/subprotocol.js +62 -0
- package/node_modules_lambda/ws/lib/validation.js +125 -0
- package/node_modules_lambda/ws/lib/websocket-server.js +535 -0
- package/node_modules_lambda/ws/lib/websocket.js +1296 -0
- package/node_modules_lambda/ws/package.json +61 -0
- package/node_modules_lambda/ws/wrapper.mjs +8 -0
- package/node_modules_lambda/xml-name-validator/LICENSE.txt +176 -0
- package/node_modules_lambda/xml-name-validator/README.md +35 -0
- package/node_modules_lambda/xml-name-validator/lib/xml-name-validator.js +9 -0
- package/node_modules_lambda/xml-name-validator/package.json +30 -0
- package/node_modules_lambda/xmlchars/LICENSE +18 -0
- package/node_modules_lambda/xmlchars/README.md +33 -0
- package/node_modules_lambda/xmlchars/package.json +51 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.js +44 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.js.map +1 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.js +105 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.js.map +1 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.js +145 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.js.map +1 -0
- package/node_modules_lambda/xmlchars/xmlchars.d.ts +170 -0
- package/node_modules_lambda/xmlchars/xmlchars.js +191 -0
- package/node_modules_lambda/xmlchars/xmlchars.js.map +1 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- package/package.json +8 -3
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "iconv-lite",
|
|
3
|
+
"description": "Convert character encodings in pure javascript.",
|
|
4
|
+
"version": "0.6.3",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"iconv",
|
|
8
|
+
"convert",
|
|
9
|
+
"charset",
|
|
10
|
+
"icu"
|
|
11
|
+
],
|
|
12
|
+
"author": "Alexander Shtuchkin <ashtuchkin@gmail.com>",
|
|
13
|
+
"main": "./lib/index.js",
|
|
14
|
+
"typings": "./lib/index.d.ts",
|
|
15
|
+
"homepage": "https://github.com/ashtuchkin/iconv-lite",
|
|
16
|
+
"bugs": "https://github.com/ashtuchkin/iconv-lite/issues",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git://github.com/ashtuchkin/iconv-lite.git"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=0.10.0"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"coverage": "c8 _mocha --grep .",
|
|
26
|
+
"test": "mocha --reporter spec --grep ."
|
|
27
|
+
},
|
|
28
|
+
"browser": {
|
|
29
|
+
"stream": false
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"async": "^3.2.0",
|
|
33
|
+
"c8": "^7.2.0",
|
|
34
|
+
"errto": "^0.2.1",
|
|
35
|
+
"iconv": "^2.3.5",
|
|
36
|
+
"mocha": "^3.5.3",
|
|
37
|
+
"request": "^2.88.2",
|
|
38
|
+
"semver": "^6.3.0",
|
|
39
|
+
"unorm": "^1.6.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"safer-buffer": ">= 2.1.2 < 3.0.0"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "whatwg-encoding",
|
|
3
|
+
"description": "Decode strings according to the WHATWG Encoding Standard",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"encoding",
|
|
6
|
+
"whatwg"
|
|
7
|
+
],
|
|
8
|
+
"version": "2.0.0",
|
|
9
|
+
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": "jsdom/whatwg-encoding",
|
|
12
|
+
"main": "lib/whatwg-encoding.js",
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "mocha",
|
|
18
|
+
"lint": "eslint .",
|
|
19
|
+
"prepare": "node scripts/update.js"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"iconv-lite": "0.6.3"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@domenic/eslint-config": "^1.3.0",
|
|
26
|
+
"eslint": "^7.32.0",
|
|
27
|
+
"minipass-fetch": "^1.4.1",
|
|
28
|
+
"mocha": "^9.1.1"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=12"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright © Domenic Denicola <d@domenic.me>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Parse, serialize, and manipulate MIME types
|
|
2
|
+
|
|
3
|
+
This package will parse [MIME types](https://mimesniff.spec.whatwg.org/#understanding-mime-types) into a structured format, which can then be manipulated and serialized:
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
const MIMEType = require("whatwg-mimetype");
|
|
7
|
+
|
|
8
|
+
const mimeType = new MIMEType(`Text/HTML;Charset="utf-8"`);
|
|
9
|
+
|
|
10
|
+
console.assert(mimeType.toString() === "text/html;charset=utf-8");
|
|
11
|
+
|
|
12
|
+
console.assert(mimeType.type === "text");
|
|
13
|
+
console.assert(mimeType.subtype === "html");
|
|
14
|
+
console.assert(mimeType.essence === "text/html");
|
|
15
|
+
console.assert(mimeType.parameters.get("charset") === "utf-8");
|
|
16
|
+
|
|
17
|
+
mimeType.parameters.set("charset", "windows-1252");
|
|
18
|
+
console.assert(mimeType.parameters.get("charset") === "windows-1252");
|
|
19
|
+
console.assert(mimeType.toString() === "text/html;charset=windows-1252");
|
|
20
|
+
|
|
21
|
+
console.assert(mimeType.isHTML() === true);
|
|
22
|
+
console.assert(mimeType.isXML() === false);
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Parsing is a fairly complex process; see [the specification](https://mimesniff.spec.whatwg.org/#parsing-a-mime-type) for details (and similarly [for serialization](https://mimesniff.spec.whatwg.org/#serializing-a-mime-type)).
|
|
26
|
+
|
|
27
|
+
This package's algorithms conform to those of the WHATWG [MIME Sniffing Standard](https://mimesniff.spec.whatwg.org/), and is aligned up to commit [8e9a7dd](https://github.com/whatwg/mimesniff/commit/8e9a7dd90717c595a4e4d982cd216e4411d33736).
|
|
28
|
+
|
|
29
|
+
## `MIMEType` API
|
|
30
|
+
|
|
31
|
+
This package's main module's default export is a class, `MIMEType`. Its constructor takes a string which it will attempt to parse into a MIME type; if parsing fails, an `Error` will be thrown.
|
|
32
|
+
|
|
33
|
+
### The `parse()` static factory method
|
|
34
|
+
|
|
35
|
+
As an alternative to the constructor, you can use `MIMEType.parse(string)`. The only difference is that `parse()` will return `null` on failed parsing, whereas the constructor will throw. It thus makes the most sense to use the constructor in cases where unparseable MIME types would be exceptional, and use `parse()` when dealing with input from some unconstrained source.
|
|
36
|
+
|
|
37
|
+
### Properties
|
|
38
|
+
|
|
39
|
+
- `type`: the MIME type's [type](https://mimesniff.spec.whatwg.org/#mime-type-type), e.g. `"text"`
|
|
40
|
+
- `subtype`: the MIME type's [subtype](https://mimesniff.spec.whatwg.org/#mime-type-subtype), e.g. `"html"`
|
|
41
|
+
- `essence`: the MIME type's [essence](https://mimesniff.spec.whatwg.org/#mime-type-essence), e.g. `"text/html"`
|
|
42
|
+
- `parameters`: an instance of `MIMETypeParameters`, containing this MIME type's [parameters](https://mimesniff.spec.whatwg.org/#mime-type-parameters)
|
|
43
|
+
|
|
44
|
+
`type` and `subtype` can be changed. They will be validated to be non-empty and only contain [HTTP token code points](https://mimesniff.spec.whatwg.org/#http-token-code-point).
|
|
45
|
+
|
|
46
|
+
`essence` is only a getter, and cannot be changed.
|
|
47
|
+
|
|
48
|
+
`parameters` is also a getter, but the contents of the `MIMETypeParameters` object are mutable, as described below.
|
|
49
|
+
|
|
50
|
+
### Methods
|
|
51
|
+
|
|
52
|
+
- `toString()` serializes the MIME type to a string
|
|
53
|
+
- `isHTML()`: returns true if this instance represents [a HTML MIME type](https://mimesniff.spec.whatwg.org/#html-mime-type)
|
|
54
|
+
- `isXML()`: returns true if this instance represents [an XML MIME type](https://mimesniff.spec.whatwg.org/#xml-mime-type)
|
|
55
|
+
- `isJavaScript({ prohibitParameters })`: returns true if this instance represents [a JavaScript MIME type](https://html.spec.whatwg.org/multipage/scripting.html#javascript-mime-type). `prohibitParameters` can be set to true to disallow any parameters, i.e. to test if the MIME type's serialization is a [JavaScript MIME type essence match](https://mimesniff.spec.whatwg.org/#javascript-mime-type-essence-match).
|
|
56
|
+
|
|
57
|
+
_Note: the `isHTML()`, `isXML()`, and `isJavaScript()` methods are speculative, and may be removed or changed in future major versions. See [whatwg/mimesniff#48](https://github.com/whatwg/mimesniff/issues/48) for brainstorming in this area. Currently we implement these mainly because they are useful in jsdom._
|
|
58
|
+
|
|
59
|
+
## `MIMETypeParameters` API
|
|
60
|
+
|
|
61
|
+
The `MIMETypeParameters` class, instances of which are returned by `mimeType.parameters`, has equivalent surface API to a [JavaScript `Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map).
|
|
62
|
+
|
|
63
|
+
However, `MIMETypeParameters` methods will always interpret their arguments as appropriate for MIME types, so e.g. parameter names will be lowercased, and attempting to set invalid characters will throw.
|
|
64
|
+
|
|
65
|
+
Some examples:
|
|
66
|
+
|
|
67
|
+
```js
|
|
68
|
+
const mimeType = new MIMEType(`x/x;a=b;c=D;E="F"`);
|
|
69
|
+
|
|
70
|
+
// Logs:
|
|
71
|
+
// a b
|
|
72
|
+
// c D
|
|
73
|
+
// e F
|
|
74
|
+
for (const [name, value] of mimeType.parameters) {
|
|
75
|
+
console.log(name, value);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
console.assert(mimeType.parameters.has("a"));
|
|
79
|
+
console.assert(mimeType.parameters.has("A"));
|
|
80
|
+
console.assert(mimeType.parameters.get("A") === "b");
|
|
81
|
+
|
|
82
|
+
mimeType.parameters.set("Q", "X");
|
|
83
|
+
console.assert(mimeType.parameters.get("q") === "X");
|
|
84
|
+
console.assert(mimeType.toString() === "x/x;a=b;c=d;e=F;q=X");
|
|
85
|
+
|
|
86
|
+
// Throws:
|
|
87
|
+
mimeType.parameters.set("@", "x");
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Raw parsing/serialization APIs
|
|
91
|
+
|
|
92
|
+
If you want primitives on which to build your own API, you can get direct access to the parsing and serialization algorithms as follows:
|
|
93
|
+
|
|
94
|
+
```js
|
|
95
|
+
const parse = require("whatwg-mimetype/parser");
|
|
96
|
+
const serialize = require("whatwg-mimetype/serialize");
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
`parse(string)` returns an object containing the `type` and `subtype` strings, plus `parameters`, which is a `Map`. This is roughly our equivalent of the spec's [MIME type record](https://mimesniff.spec.whatwg.org/#mime-type). If parsing fails, it instead returns `null`.
|
|
100
|
+
|
|
101
|
+
`serialize(record)` operates on the such an object, giving back a string according to the serialization algorithm.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const {
|
|
3
|
+
asciiLowercase,
|
|
4
|
+
solelyContainsHTTPTokenCodePoints,
|
|
5
|
+
soleyContainsHTTPQuotedStringTokenCodePoints
|
|
6
|
+
} = require("./utils.js");
|
|
7
|
+
|
|
8
|
+
module.exports = class MIMETypeParameters {
|
|
9
|
+
constructor(map) {
|
|
10
|
+
this._map = map;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
get size() {
|
|
14
|
+
return this._map.size;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
get(name) {
|
|
18
|
+
name = asciiLowercase(String(name));
|
|
19
|
+
return this._map.get(name);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
has(name) {
|
|
23
|
+
name = asciiLowercase(String(name));
|
|
24
|
+
return this._map.has(name);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
set(name, value) {
|
|
28
|
+
name = asciiLowercase(String(name));
|
|
29
|
+
value = String(value);
|
|
30
|
+
|
|
31
|
+
if (!solelyContainsHTTPTokenCodePoints(name)) {
|
|
32
|
+
throw new Error(`Invalid MIME type parameter name "${name}": only HTTP token code points are valid.`);
|
|
33
|
+
}
|
|
34
|
+
if (!soleyContainsHTTPQuotedStringTokenCodePoints(value)) {
|
|
35
|
+
throw new Error(`Invalid MIME type parameter value "${value}": only HTTP quoted-string token code points are ` +
|
|
36
|
+
`valid.`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return this._map.set(name, value);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
clear() {
|
|
43
|
+
this._map.clear();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
delete(name) {
|
|
47
|
+
name = asciiLowercase(String(name));
|
|
48
|
+
return this._map.delete(name);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
forEach(callbackFn, thisArg) {
|
|
52
|
+
this._map.forEach(callbackFn, thisArg);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
keys() {
|
|
56
|
+
return this._map.keys();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
values() {
|
|
60
|
+
return this._map.values();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
entries() {
|
|
64
|
+
return this._map.entries();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[Symbol.iterator]() {
|
|
68
|
+
return this._map[Symbol.iterator]();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const MIMETypeParameters = require("./mime-type-parameters.js");
|
|
3
|
+
const parse = require("./parser.js");
|
|
4
|
+
const serialize = require("./serializer.js");
|
|
5
|
+
const {
|
|
6
|
+
asciiLowercase,
|
|
7
|
+
solelyContainsHTTPTokenCodePoints
|
|
8
|
+
} = require("./utils.js");
|
|
9
|
+
|
|
10
|
+
module.exports = class MIMEType {
|
|
11
|
+
constructor(string) {
|
|
12
|
+
string = String(string);
|
|
13
|
+
const result = parse(string);
|
|
14
|
+
if (result === null) {
|
|
15
|
+
throw new Error(`Could not parse MIME type string "${string}"`);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
this._type = result.type;
|
|
19
|
+
this._subtype = result.subtype;
|
|
20
|
+
this._parameters = new MIMETypeParameters(result.parameters);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static parse(string) {
|
|
24
|
+
try {
|
|
25
|
+
return new this(string);
|
|
26
|
+
} catch (e) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
get essence() {
|
|
32
|
+
return `${this.type}/${this.subtype}`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
get type() {
|
|
36
|
+
return this._type;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
set type(value) {
|
|
40
|
+
value = asciiLowercase(String(value));
|
|
41
|
+
|
|
42
|
+
if (value.length === 0) {
|
|
43
|
+
throw new Error("Invalid type: must be a non-empty string");
|
|
44
|
+
}
|
|
45
|
+
if (!solelyContainsHTTPTokenCodePoints(value)) {
|
|
46
|
+
throw new Error(`Invalid type ${value}: must contain only HTTP token code points`);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
this._type = value;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
get subtype() {
|
|
53
|
+
return this._subtype;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
set subtype(value) {
|
|
57
|
+
value = asciiLowercase(String(value));
|
|
58
|
+
|
|
59
|
+
if (value.length === 0) {
|
|
60
|
+
throw new Error("Invalid subtype: must be a non-empty string");
|
|
61
|
+
}
|
|
62
|
+
if (!solelyContainsHTTPTokenCodePoints(value)) {
|
|
63
|
+
throw new Error(`Invalid subtype ${value}: must contain only HTTP token code points`);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
this._subtype = value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
get parameters() {
|
|
70
|
+
return this._parameters;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
toString() {
|
|
74
|
+
// The serialize function works on both "MIME type records" (i.e. the results of parse) and on this class, since
|
|
75
|
+
// this class's interface is identical.
|
|
76
|
+
return serialize(this);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
isJavaScript({ prohibitParameters = false } = {}) {
|
|
80
|
+
switch (this._type) {
|
|
81
|
+
case "text": {
|
|
82
|
+
switch (this._subtype) {
|
|
83
|
+
case "ecmascript":
|
|
84
|
+
case "javascript":
|
|
85
|
+
case "javascript1.0":
|
|
86
|
+
case "javascript1.1":
|
|
87
|
+
case "javascript1.2":
|
|
88
|
+
case "javascript1.3":
|
|
89
|
+
case "javascript1.4":
|
|
90
|
+
case "javascript1.5":
|
|
91
|
+
case "jscript":
|
|
92
|
+
case "livescript":
|
|
93
|
+
case "x-ecmascript":
|
|
94
|
+
case "x-javascript": {
|
|
95
|
+
return !prohibitParameters || this._parameters.size === 0;
|
|
96
|
+
}
|
|
97
|
+
default: {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
case "application": {
|
|
103
|
+
switch (this._subtype) {
|
|
104
|
+
case "ecmascript":
|
|
105
|
+
case "javascript":
|
|
106
|
+
case "x-ecmascript":
|
|
107
|
+
case "x-javascript": {
|
|
108
|
+
return !prohibitParameters || this._parameters.size === 0;
|
|
109
|
+
}
|
|
110
|
+
default: {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
default: {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
isXML() {
|
|
121
|
+
return (this._subtype === "xml" && (this._type === "text" || this._type === "application")) ||
|
|
122
|
+
this._subtype.endsWith("+xml");
|
|
123
|
+
}
|
|
124
|
+
isHTML() {
|
|
125
|
+
return this._subtype === "html" && this._type === "text";
|
|
126
|
+
}
|
|
127
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const {
|
|
3
|
+
removeLeadingAndTrailingHTTPWhitespace,
|
|
4
|
+
removeTrailingHTTPWhitespace,
|
|
5
|
+
isHTTPWhitespaceChar,
|
|
6
|
+
solelyContainsHTTPTokenCodePoints,
|
|
7
|
+
soleyContainsHTTPQuotedStringTokenCodePoints,
|
|
8
|
+
asciiLowercase,
|
|
9
|
+
collectAnHTTPQuotedString
|
|
10
|
+
} = require("./utils.js");
|
|
11
|
+
|
|
12
|
+
module.exports = input => {
|
|
13
|
+
input = removeLeadingAndTrailingHTTPWhitespace(input);
|
|
14
|
+
|
|
15
|
+
let position = 0;
|
|
16
|
+
let type = "";
|
|
17
|
+
while (position < input.length && input[position] !== "/") {
|
|
18
|
+
type += input[position];
|
|
19
|
+
++position;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (type.length === 0 || !solelyContainsHTTPTokenCodePoints(type)) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (position >= input.length) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Skips past "/"
|
|
31
|
+
++position;
|
|
32
|
+
|
|
33
|
+
let subtype = "";
|
|
34
|
+
while (position < input.length && input[position] !== ";") {
|
|
35
|
+
subtype += input[position];
|
|
36
|
+
++position;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
subtype = removeTrailingHTTPWhitespace(subtype);
|
|
40
|
+
|
|
41
|
+
if (subtype.length === 0 || !solelyContainsHTTPTokenCodePoints(subtype)) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const mimeType = {
|
|
46
|
+
type: asciiLowercase(type),
|
|
47
|
+
subtype: asciiLowercase(subtype),
|
|
48
|
+
parameters: new Map()
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
while (position < input.length) {
|
|
52
|
+
// Skip past ";"
|
|
53
|
+
++position;
|
|
54
|
+
|
|
55
|
+
while (isHTTPWhitespaceChar(input[position])) {
|
|
56
|
+
++position;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
let parameterName = "";
|
|
60
|
+
while (position < input.length && input[position] !== ";" && input[position] !== "=") {
|
|
61
|
+
parameterName += input[position];
|
|
62
|
+
++position;
|
|
63
|
+
}
|
|
64
|
+
parameterName = asciiLowercase(parameterName);
|
|
65
|
+
|
|
66
|
+
if (position < input.length) {
|
|
67
|
+
if (input[position] === ";") {
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Skip past "="
|
|
72
|
+
++position;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
let parameterValue = null;
|
|
76
|
+
if (input[position] === "\"") {
|
|
77
|
+
[parameterValue, position] = collectAnHTTPQuotedString(input, position);
|
|
78
|
+
|
|
79
|
+
while (position < input.length && input[position] !== ";") {
|
|
80
|
+
++position;
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
parameterValue = "";
|
|
84
|
+
while (position < input.length && input[position] !== ";") {
|
|
85
|
+
parameterValue += input[position];
|
|
86
|
+
++position;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
parameterValue = removeTrailingHTTPWhitespace(parameterValue);
|
|
90
|
+
|
|
91
|
+
if (parameterValue === "") {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (parameterName.length > 0 &&
|
|
97
|
+
solelyContainsHTTPTokenCodePoints(parameterName) &&
|
|
98
|
+
soleyContainsHTTPQuotedStringTokenCodePoints(parameterValue) &&
|
|
99
|
+
!mimeType.parameters.has(parameterName)) {
|
|
100
|
+
mimeType.parameters.set(parameterName, parameterValue);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return mimeType;
|
|
105
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const { solelyContainsHTTPTokenCodePoints } = require("./utils.js");
|
|
3
|
+
|
|
4
|
+
module.exports = mimeType => {
|
|
5
|
+
let serialization = `${mimeType.type}/${mimeType.subtype}`;
|
|
6
|
+
|
|
7
|
+
if (mimeType.parameters.size === 0) {
|
|
8
|
+
return serialization;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
for (let [name, value] of mimeType.parameters) {
|
|
12
|
+
serialization += ";";
|
|
13
|
+
serialization += name;
|
|
14
|
+
serialization += "=";
|
|
15
|
+
|
|
16
|
+
if (!solelyContainsHTTPTokenCodePoints(value) || value.length === 0) {
|
|
17
|
+
value = value.replace(/(["\\])/ug, "\\$1");
|
|
18
|
+
value = `"${value}"`;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
serialization += value;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return serialization;
|
|
25
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.removeLeadingAndTrailingHTTPWhitespace = string => {
|
|
4
|
+
return string.replace(/^[ \t\n\r]+/u, "").replace(/[ \t\n\r]+$/u, "");
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
exports.removeTrailingHTTPWhitespace = string => {
|
|
8
|
+
return string.replace(/[ \t\n\r]+$/u, "");
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
exports.isHTTPWhitespaceChar = char => {
|
|
12
|
+
return char === " " || char === "\t" || char === "\n" || char === "\r";
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.solelyContainsHTTPTokenCodePoints = string => {
|
|
16
|
+
return /^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(string);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.soleyContainsHTTPQuotedStringTokenCodePoints = string => {
|
|
20
|
+
return /^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(string);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.asciiLowercase = string => {
|
|
24
|
+
return string.replace(/[A-Z]/ug, l => l.toLowerCase());
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// This variant only implements it with the extract-value flag set.
|
|
28
|
+
exports.collectAnHTTPQuotedString = (input, position) => {
|
|
29
|
+
let value = "";
|
|
30
|
+
|
|
31
|
+
position++;
|
|
32
|
+
|
|
33
|
+
while (true) {
|
|
34
|
+
while (position < input.length && input[position] !== "\"" && input[position] !== "\\") {
|
|
35
|
+
value += input[position];
|
|
36
|
+
++position;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (position >= input.length) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const quoteOrBackslash = input[position];
|
|
44
|
+
++position;
|
|
45
|
+
|
|
46
|
+
if (quoteOrBackslash === "\\") {
|
|
47
|
+
if (position >= input.length) {
|
|
48
|
+
value += "\\";
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
value += input[position];
|
|
53
|
+
++position;
|
|
54
|
+
} else {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return [value, position];
|
|
60
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "whatwg-mimetype",
|
|
3
|
+
"description": "Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"content-type",
|
|
6
|
+
"mime type",
|
|
7
|
+
"mimesniff",
|
|
8
|
+
"http",
|
|
9
|
+
"whatwg"
|
|
10
|
+
],
|
|
11
|
+
"version": "3.0.0",
|
|
12
|
+
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": "jsdom/whatwg-mimetype",
|
|
15
|
+
"main": "lib/mime-type.js",
|
|
16
|
+
"files": [
|
|
17
|
+
"lib/"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"test": "jest",
|
|
21
|
+
"coverage": "jest --coverage",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"pretest": "node scripts/get-latest-platform-tests.js"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@domenic/eslint-config": "^1.4.0",
|
|
27
|
+
"eslint": "^7.32.0",
|
|
28
|
+
"jest": "^27.2.0",
|
|
29
|
+
"minipass-fetch": "^1.4.1",
|
|
30
|
+
"printable-string": "^0.3.0",
|
|
31
|
+
"whatwg-encoding": "^2.0.0"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=12"
|
|
35
|
+
},
|
|
36
|
+
"jest": {
|
|
37
|
+
"coverageDirectory": "coverage",
|
|
38
|
+
"coverageReporters": [
|
|
39
|
+
"lcov",
|
|
40
|
+
"text-summary"
|
|
41
|
+
],
|
|
42
|
+
"testEnvironment": "node",
|
|
43
|
+
"testMatch": [
|
|
44
|
+
"<rootDir>/test/**/*.js"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sebastian Mayr
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|