appmap 0.62.1 → 0.65.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/ARCHITECTURE.md +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +2 -2
- data/Rakefile +8 -8
- data/lib/appmap/command/agent_setup/init.rb +1 -0
- data/lib/appmap/config.rb +2 -2
- data/lib/appmap/cucumber.rb +1 -0
- data/lib/appmap/depends/util.rb +2 -0
- data/lib/appmap/event.rb +38 -14
- data/lib/appmap/handler/rails/sql_handler.rb +0 -28
- data/lib/appmap/minitest.rb +1 -0
- data/lib/appmap/node_cli.rb +1 -1
- data/lib/appmap/rspec.rb +1 -0
- data/lib/appmap/service/validator/config_validator.rb +8 -4
- data/lib/appmap/swagger/rake_tasks.rb +1 -0
- data/lib/appmap/util.rb +1 -1
- data/lib/appmap/version.rb +2 -3
- data/node_modules/@appland/appmap/CHANGELOG.md +136 -0
- data/node_modules/@appland/appmap/package.json +50 -0
- data/node_modules/@appland/appmap/src/agentInstaller/buildToolInstallerBase.js +28 -0
- data/node_modules/@appland/appmap/src/agentInstaller/commandStruct.js +17 -0
- data/node_modules/@appland/appmap/src/agentInstaller/installAgentStep.js +30 -0
- data/node_modules/@appland/appmap/src/agentInstaller/javaAgentInstaller.js +321 -0
- data/node_modules/@appland/appmap/src/agentInstaller/pythonAgentInstaller.js +174 -0
- data/node_modules/@appland/appmap/src/agentInstaller/rubyAgentInstaller.js +129 -0
- data/node_modules/@appland/appmap/src/agentInstaller/types.d.ts +76 -0
- data/node_modules/@appland/{cli → appmap}/src/appMapCatalog.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/appland/getAppMap.js +0 -0
- data/node_modules/@appland/appmap/src/appland/listAppMaps.js +58 -0
- data/node_modules/@appland/{cli → appmap}/src/appland/settings.js +0 -0
- data/node_modules/@appland/appmap/src/appland/types.d.ts +16 -0
- data/node_modules/@appland/appmap/src/cli.js +729 -0
- data/node_modules/@appland/{cli → appmap}/src/database.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/depends.js +0 -0
- data/node_modules/@appland/appmap/src/errors/abortError.js +5 -0
- data/node_modules/@appland/appmap/src/errors/validationError.js +5 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/algorithms.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/base.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/classDependencies.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/classes.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/eventTree.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/httpClientRequests.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/httpServerRequests.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/info.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/labels.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/packageDependencies.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/packages.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/sqlNormalized.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/sqlTables.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/trace.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/unique.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/update.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintDirectoryCommand.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintQueue.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintWatchCommand.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprinter.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/fingerprint/index.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/functionStats.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/fields.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/filter.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/home.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/print.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/reset.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/types.d.ts +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect/undoFilter.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inspect.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/inventoryCommand.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/codeObjectMatcher.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/constants.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/findCodeObjects.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/findEvents.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/matchFilter.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/matchSpec.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/trigram.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/types.d.ts +0 -0
- data/node_modules/@appland/{cli → appmap}/src/search/utils.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/README.md +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/command.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/method.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/model.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/path.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/response.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/schema.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/securitySchemes.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/settings.js +0 -0
- data/node_modules/@appland/{cli → appmap}/src/swagger/util.js +0 -0
- data/node_modules/@appland/appmap/src/utils.js +165 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.js +0 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.spec.js +109 -0
- data/node_modules/@appland/appmap/tests/unit/depends.spec.js +63 -0
- data/node_modules/@appland/appmap/tests/unit/fingerprint/canonicalize.spec.js +42 -0
- data/node_modules/@appland/{cli → appmap}/tests/unit/fingerprint/sql.spec.js +0 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/pip/requirements.txt +2 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/poetry/poetry.lock +2 -0
- data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/controllers/organizations_controller.rb +0 -0
- data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/configuration.rb +0 -0
- data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/show.rb +0 -0
- data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/user.rb +0 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.info.json +170 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.trace.json +213 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.update.json +54 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/revoke_api_key.appmap.json +884 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/user_page_scenario.appmap.json +1750 -0
- data/node_modules/@appland/appmap/tests/unit/inspect.spec.js +105 -0
- data/node_modules/@appland/models/CHANGELOG.md +7 -0
- data/node_modules/@appland/models/package.json +2 -2
- data/node_modules/@tootallnate/once/dist/index.d.ts +14 -0
- data/node_modules/@tootallnate/once/dist/index.js +39 -0
- data/node_modules/@tootallnate/once/dist/index.js.map +1 -0
- data/node_modules/@tootallnate/once/package.json +45 -0
- data/node_modules/abab/CHANGELOG.md +45 -0
- data/node_modules/abab/LICENSE.md +13 -0
- data/node_modules/abab/README.md +51 -0
- data/node_modules/abab/index.d.ts +2 -0
- data/node_modules/abab/index.js +9 -0
- data/node_modules/abab/lib/atob.js +97 -0
- data/node_modules/abab/lib/btoa.js +58 -0
- data/node_modules/abab/package.json +42 -0
- data/node_modules/acorn/CHANGELOG.md +744 -0
- data/node_modules/acorn/LICENSE +21 -0
- data/node_modules/acorn/README.md +280 -0
- data/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/acorn/dist/acorn.d.ts +211 -0
- data/node_modules/acorn/dist/acorn.js +5525 -0
- data/node_modules/acorn/dist/acorn.mjs +5494 -0
- data/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- data/node_modules/acorn/dist/bin.js +65 -0
- data/node_modules/acorn/package.json +46 -0
- data/node_modules/acorn-globals/LICENSE +19 -0
- data/node_modules/acorn-globals/README.md +81 -0
- data/node_modules/acorn-globals/index.js +179 -0
- data/node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md +620 -0
- data/node_modules/acorn-globals/node_modules/acorn/LICENSE +21 -0
- data/node_modules/acorn-globals/node_modules/acorn/README.md +269 -0
- data/node_modules/acorn-globals/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts +209 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js +5186 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map +1 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs +5155 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +1 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/bin.js +64 -0
- data/node_modules/acorn-globals/node_modules/acorn/package.json +35 -0
- data/node_modules/acorn-globals/package.json +35 -0
- data/node_modules/acorn-walk/CHANGELOG.md +131 -0
- data/node_modules/acorn-walk/LICENSE +19 -0
- data/node_modules/acorn-walk/README.md +126 -0
- data/node_modules/acorn-walk/dist/walk.d.ts +112 -0
- data/node_modules/acorn-walk/dist/walk.js +463 -0
- data/node_modules/acorn-walk/dist/walk.js.map +1 -0
- data/node_modules/acorn-walk/dist/walk.mjs +443 -0
- data/node_modules/acorn-walk/dist/walk.mjs.map +1 -0
- data/node_modules/acorn-walk/package.json +34 -0
- data/node_modules/agent-base/README.md +145 -0
- data/node_modules/agent-base/dist/src/index.d.ts +78 -0
- data/node_modules/agent-base/dist/src/index.js +203 -0
- data/node_modules/agent-base/dist/src/index.js.map +1 -0
- data/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- data/node_modules/agent-base/dist/src/promisify.js +18 -0
- data/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- data/node_modules/agent-base/package.json +64 -0
- data/node_modules/agent-base/src/index.ts +345 -0
- data/node_modules/agent-base/src/promisify.ts +33 -0
- data/node_modules/asynckit/LICENSE +21 -0
- data/node_modules/asynckit/README.md +233 -0
- data/node_modules/asynckit/bench.js +76 -0
- data/node_modules/asynckit/index.js +6 -0
- data/node_modules/asynckit/lib/abort.js +29 -0
- data/node_modules/asynckit/lib/async.js +34 -0
- data/node_modules/asynckit/lib/defer.js +26 -0
- data/node_modules/asynckit/lib/iterate.js +75 -0
- data/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- data/node_modules/asynckit/lib/readable_parallel.js +25 -0
- data/node_modules/asynckit/lib/readable_serial.js +25 -0
- data/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- data/node_modules/asynckit/lib/state.js +37 -0
- data/node_modules/asynckit/lib/streamify.js +141 -0
- data/node_modules/asynckit/lib/terminator.js +29 -0
- data/node_modules/asynckit/package.json +63 -0
- data/node_modules/asynckit/parallel.js +43 -0
- data/node_modules/asynckit/serial.js +17 -0
- data/node_modules/asynckit/serialOrdered.js +75 -0
- data/node_modules/asynckit/stream.js +21 -0
- data/node_modules/browser-process-hrtime/LICENSE +9 -0
- data/node_modules/browser-process-hrtime/README.md +27 -0
- data/node_modules/browser-process-hrtime/index.d.ts +4 -0
- data/node_modules/browser-process-hrtime/index.js +28 -0
- data/node_modules/browser-process-hrtime/package.json +15 -0
- data/node_modules/combined-stream/License +19 -0
- data/node_modules/combined-stream/Readme.md +138 -0
- data/node_modules/combined-stream/lib/combined_stream.js +208 -0
- data/node_modules/combined-stream/package.json +25 -0
- data/node_modules/combined-stream/yarn.lock +17 -0
- data/node_modules/cssom/LICENSE.txt +20 -0
- data/node_modules/cssom/README.mdown +67 -0
- data/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- data/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- data/node_modules/cssom/lib/CSSHostRule.js +37 -0
- data/node_modules/cssom/lib/CSSImportRule.js +132 -0
- data/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- data/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- data/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- data/node_modules/cssom/lib/CSSOM.js +3 -0
- data/node_modules/cssom/lib/CSSRule.js +43 -0
- data/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- data/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- data/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- data/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- data/node_modules/cssom/lib/CSSValue.js +43 -0
- data/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- data/node_modules/cssom/lib/MatcherList.js +62 -0
- data/node_modules/cssom/lib/MediaList.js +61 -0
- data/node_modules/cssom/lib/StyleSheet.js +17 -0
- data/node_modules/cssom/lib/clone.js +71 -0
- data/node_modules/cssom/lib/index.js +21 -0
- data/node_modules/cssom/lib/parse.js +463 -0
- data/node_modules/cssom/package.json +18 -0
- data/node_modules/cssstyle/LICENSE +20 -0
- data/node_modules/cssstyle/README.md +15 -0
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +260 -0
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js +556 -0
- data/node_modules/cssstyle/lib/allExtraProperties.js +67 -0
- data/node_modules/cssstyle/lib/allProperties.js +462 -0
- data/node_modules/cssstyle/lib/allWebkitProperties.js +194 -0
- data/node_modules/cssstyle/lib/constants.js +6 -0
- data/node_modules/cssstyle/lib/implementedProperties.js +90 -0
- data/node_modules/cssstyle/lib/named_colors.json +152 -0
- data/node_modules/cssstyle/lib/parsers.js +722 -0
- data/node_modules/cssstyle/lib/parsers.test.js +139 -0
- data/node_modules/cssstyle/lib/properties/azimuth.js +67 -0
- data/node_modules/cssstyle/lib/properties/background.js +19 -0
- data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +24 -0
- data/node_modules/cssstyle/lib/properties/backgroundColor.js +36 -0
- data/node_modules/cssstyle/lib/properties/backgroundImage.js +32 -0
- data/node_modules/cssstyle/lib/properties/backgroundPosition.js +58 -0
- data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +32 -0
- data/node_modules/cssstyle/lib/properties/border.js +33 -0
- data/node_modules/cssstyle/lib/properties/borderBottom.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderBottomColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderCollapse.js +26 -0
- data/node_modules/cssstyle/lib/properties/borderColor.js +30 -0
- data/node_modules/cssstyle/lib/properties/borderLeft.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderLeftColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRight.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderRightColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRightStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderRightWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderSpacing.js +41 -0
- data/node_modules/cssstyle/lib/properties/borderStyle.js +38 -0
- data/node_modules/cssstyle/lib/properties/borderTop.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderTopColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderTopStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderTopWidth.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderWidth.js +46 -0
- data/node_modules/cssstyle/lib/properties/bottom.js +14 -0
- data/node_modules/cssstyle/lib/properties/clear.js +16 -0
- data/node_modules/cssstyle/lib/properties/clip.js +47 -0
- data/node_modules/cssstyle/lib/properties/color.js +14 -0
- data/node_modules/cssstyle/lib/properties/cssFloat.js +12 -0
- data/node_modules/cssstyle/lib/properties/flex.js +45 -0
- data/node_modules/cssstyle/lib/properties/flexBasis.js +28 -0
- data/node_modules/cssstyle/lib/properties/flexGrow.js +19 -0
- data/node_modules/cssstyle/lib/properties/flexShrink.js +19 -0
- data/node_modules/cssstyle/lib/properties/float.js +12 -0
- data/node_modules/cssstyle/lib/properties/floodColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/font.js +43 -0
- data/node_modules/cssstyle/lib/properties/fontFamily.js +33 -0
- data/node_modules/cssstyle/lib/properties/fontSize.js +38 -0
- data/node_modules/cssstyle/lib/properties/fontStyle.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontVariant.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontWeight.js +33 -0
- data/node_modules/cssstyle/lib/properties/height.js +24 -0
- data/node_modules/cssstyle/lib/properties/left.js +14 -0
- data/node_modules/cssstyle/lib/properties/lightingColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/lineHeight.js +26 -0
- data/node_modules/cssstyle/lib/properties/margin.js +68 -0
- data/node_modules/cssstyle/lib/properties/marginBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/opacity.js +14 -0
- data/node_modules/cssstyle/lib/properties/outlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/padding.js +61 -0
- data/node_modules/cssstyle/lib/properties/paddingBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/right.js +14 -0
- data/node_modules/cssstyle/lib/properties/stopColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textOverlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/top.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/width.js +24 -0
- data/node_modules/cssstyle/lib/properties.js +1833 -0
- data/node_modules/cssstyle/lib/utils/colorSpace.js +21 -0
- data/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js +14 -0
- data/node_modules/cssstyle/node_modules/cssom/LICENSE.txt +20 -0
- data/node_modules/cssstyle/node_modules/cssom/README.mdown +67 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js +37 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js +132 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js +3 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js +43 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js +43 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js +62 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/MediaList.js +61 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js +17 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/clone.js +82 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/index.js +21 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/parse.js +464 -0
- data/node_modules/cssstyle/node_modules/cssom/package.json +18 -0
- data/node_modules/cssstyle/package.json +72 -0
- data/node_modules/data-urls/LICENSE.txt +7 -0
- data/node_modules/data-urls/README.md +64 -0
- data/node_modules/data-urls/lib/parser.js +74 -0
- data/node_modules/data-urls/lib/utils.js +23 -0
- data/node_modules/data-urls/package.json +53 -0
- data/node_modules/debug/LICENSE +19 -0
- data/node_modules/debug/README.md +455 -0
- data/node_modules/debug/package.json +59 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +274 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/decimal.js/CHANGELOG.md +231 -0
- data/node_modules/decimal.js/LICENCE.md +23 -0
- data/node_modules/decimal.js/README.md +246 -0
- data/node_modules/decimal.js/decimal.d.ts +300 -0
- data/node_modules/decimal.js/decimal.js +4934 -0
- data/node_modules/decimal.js/decimal.mjs +4898 -0
- data/node_modules/decimal.js/package.json +40 -0
- data/node_modules/deep-is/LICENSE +22 -0
- data/node_modules/deep-is/README.markdown +70 -0
- data/node_modules/deep-is/example/cmp.js +11 -0
- data/node_modules/deep-is/index.js +102 -0
- data/node_modules/deep-is/package.json +61 -0
- data/node_modules/deep-is/test/NaN.js +16 -0
- data/node_modules/deep-is/test/cmp.js +23 -0
- data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- data/node_modules/delayed-stream/License +19 -0
- data/node_modules/delayed-stream/Makefile +7 -0
- data/node_modules/delayed-stream/Readme.md +141 -0
- data/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- data/node_modules/delayed-stream/package.json +27 -0
- data/node_modules/domexception/LICENSE.txt +21 -0
- data/node_modules/domexception/README.md +31 -0
- data/node_modules/domexception/index.js +7 -0
- data/node_modules/domexception/lib/DOMException-impl.js +22 -0
- data/node_modules/domexception/lib/DOMException.js +205 -0
- data/node_modules/domexception/lib/legacy-error-codes.json +27 -0
- data/node_modules/domexception/lib/utils.js +115 -0
- data/node_modules/domexception/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/domexception/node_modules/webidl-conversions/README.md +79 -0
- data/node_modules/domexception/node_modules/webidl-conversions/lib/index.js +361 -0
- data/node_modules/domexception/node_modules/webidl-conversions/package.json +30 -0
- data/node_modules/domexception/package.json +42 -0
- data/node_modules/domexception/webidl2js-wrapper.js +15 -0
- data/node_modules/escodegen/LICENSE.BSD +21 -0
- data/node_modules/escodegen/README.md +84 -0
- data/node_modules/escodegen/bin/escodegen.js +77 -0
- data/node_modules/escodegen/bin/esgenerate.js +64 -0
- data/node_modules/escodegen/escodegen.js +2647 -0
- data/node_modules/escodegen/package.json +62 -0
- data/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/estraverse/README.md +153 -0
- data/node_modules/estraverse/estraverse.js +801 -0
- data/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/estraverse/package.json +40 -0
- data/node_modules/esutils/LICENSE.BSD +19 -0
- data/node_modules/esutils/README.md +174 -0
- data/node_modules/esutils/lib/ast.js +144 -0
- data/node_modules/esutils/lib/code.js +135 -0
- data/node_modules/esutils/lib/keyword.js +165 -0
- data/node_modules/esutils/lib/utils.js +33 -0
- data/node_modules/esutils/package.json +44 -0
- data/node_modules/fast-levenshtein/LICENSE.md +25 -0
- data/node_modules/fast-levenshtein/README.md +104 -0
- data/node_modules/fast-levenshtein/levenshtein.js +136 -0
- data/node_modules/fast-levenshtein/package.json +39 -0
- data/node_modules/form-data/License +19 -0
- data/node_modules/form-data/README.md.bak +356 -0
- data/node_modules/form-data/Readme.md +356 -0
- data/node_modules/form-data/index.d.ts +62 -0
- data/node_modules/form-data/lib/browser.js +2 -0
- data/node_modules/form-data/lib/form_data.js +498 -0
- data/node_modules/form-data/lib/populate.js +10 -0
- data/node_modules/form-data/package.json +68 -0
- data/node_modules/html-encoding-sniffer/LICENSE.txt +7 -0
- data/node_modules/html-encoding-sniffer/README.md +38 -0
- data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
- data/node_modules/html-encoding-sniffer/package.json +30 -0
- data/node_modules/http-proxy-agent/README.md +74 -0
- data/node_modules/http-proxy-agent/dist/agent.d.ts +32 -0
- data/node_modules/http-proxy-agent/dist/agent.js +145 -0
- data/node_modules/http-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/http-proxy-agent/dist/index.d.ts +21 -0
- data/node_modules/http-proxy-agent/dist/index.js +14 -0
- data/node_modules/http-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/http-proxy-agent/package.json +57 -0
- data/node_modules/https-proxy-agent/README.md +137 -0
- data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- data/node_modules/https-proxy-agent/dist/agent.js +180 -0
- data/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- data/node_modules/https-proxy-agent/dist/index.js +14 -0
- data/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- data/node_modules/https-proxy-agent/package.json +56 -0
- data/node_modules/iconv-lite/Changelog.md +162 -0
- data/node_modules/iconv-lite/LICENSE +21 -0
- data/node_modules/iconv-lite/README.md +156 -0
- data/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- data/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- data/node_modules/iconv-lite/encodings/index.js +22 -0
- data/node_modules/iconv-lite/encodings/internal.js +188 -0
- data/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- data/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- data/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- data/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- data/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- data/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- data/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- data/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- data/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- data/node_modules/iconv-lite/encodings/utf16.js +177 -0
- data/node_modules/iconv-lite/encodings/utf7.js +290 -0
- data/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- data/node_modules/iconv-lite/lib/extend-node.js +217 -0
- data/node_modules/iconv-lite/lib/index.d.ts +24 -0
- data/node_modules/iconv-lite/lib/index.js +153 -0
- data/node_modules/iconv-lite/lib/streams.js +121 -0
- data/node_modules/iconv-lite/package.json +46 -0
- data/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
- data/node_modules/is-potential-custom-element-name/README.md +40 -0
- data/node_modules/is-potential-custom-element-name/index.js +9 -0
- data/node_modules/is-potential-custom-element-name/package.json +35 -0
- data/node_modules/jsdom/LICENSE.txt +22 -0
- data/node_modules/jsdom/README.md +522 -0
- data/node_modules/jsdom/lib/api.js +333 -0
- data/node_modules/jsdom/lib/jsdom/browser/Window.js +933 -0
- data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +789 -0
- data/node_modules/jsdom/lib/jsdom/browser/js-globals.json +307 -0
- data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/html.js +223 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/index.js +37 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +95 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
- data/node_modules/jsdom/lib/jsdom/level2/style.js +57 -0
- data/node_modules/jsdom/lib/jsdom/level3/xpath.js +1874 -0
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +55 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes.js +312 -0
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
- data/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +265 -0
- data/node_modules/jsdom/lib/jsdom/living/documents.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +58 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +45 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +197 -0
- data/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +403 -0
- data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +49 -0
- data/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +165 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +54 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +159 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +162 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +215 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +118 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +198 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +34 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +436 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +122 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +242 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +200 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +232 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +322 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +531 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +3322 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +325 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +246 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +1609 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +186 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +80 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +390 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +52 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +252 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/External.js +129 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/File.js +176 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +305 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +440 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +142 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +421 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Function.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +915 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +739 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +808 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +487 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +291 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +358 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +128 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +2269 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +346 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +315 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +226 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +457 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +459 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +683 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +300 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +621 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +789 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1696 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +194 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +175 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +496 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +509 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +802 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +338 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +202 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +266 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +839 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +192 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +351 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +533 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +371 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +158 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +209 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +424 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +957 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +310 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +200 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +635 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +339 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +725 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +386 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +329 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +126 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1088 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +334 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +192 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +310 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +379 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/History.js +256 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +413 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +370 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +301 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +94 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +151 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +330 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +463 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +108 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +216 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +522 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +297 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +736 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +196 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +309 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +145 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +361 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +340 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +142 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +125 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Range.js +619 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +143 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +1986 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +144 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +681 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +504 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +173 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +527 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +185 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +126 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +66 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +389 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +305 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +307 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +169 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +208 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +236 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +228 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +444 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +183 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +68 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +617 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +341 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +133 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +141 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +320 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +270 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/details.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +54 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/events.js +24 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +306 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +254 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/json.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/node.js +68 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +76 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +47 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +148 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +113 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/text.js +19 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +75 -0
- data/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/interfaces.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
- data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +141 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
- data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/node-type.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/node.js +331 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +946 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +578 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +160 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +226 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +371 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +132 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1128 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +101 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +265 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +272 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +1165 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/post-message.js +39 -0
- data/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +889 -0
- data/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
- data/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
- data/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +342 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +127 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +175 -0
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
- data/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
- data/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +238 -0
- data/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
- data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +84 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1023 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +438 -0
- data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +158 -0
- data/node_modules/jsdom/lib/jsdom/utils.js +165 -0
- data/node_modules/jsdom/lib/jsdom/virtual-console.js +34 -0
- data/node_modules/jsdom/lib/jsdom/vm-shim.js +106 -0
- data/node_modules/jsdom/package.json +116 -0
- data/node_modules/levn/LICENSE +22 -0
- data/node_modules/levn/README.md +196 -0
- data/node_modules/levn/lib/cast.js +298 -0
- data/node_modules/levn/lib/coerce.js +285 -0
- data/node_modules/levn/lib/index.js +22 -0
- data/node_modules/levn/lib/parse-string.js +113 -0
- data/node_modules/levn/lib/parse.js +102 -0
- data/node_modules/levn/package.json +47 -0
- data/node_modules/lodash/LICENSE +47 -0
- data/node_modules/lodash/README.md +39 -0
- data/node_modules/lodash/_DataView.js +7 -0
- data/node_modules/lodash/_Hash.js +32 -0
- data/node_modules/lodash/_LazyWrapper.js +28 -0
- data/node_modules/lodash/_ListCache.js +32 -0
- data/node_modules/lodash/_LodashWrapper.js +22 -0
- data/node_modules/lodash/_Map.js +7 -0
- data/node_modules/lodash/_MapCache.js +32 -0
- data/node_modules/lodash/_Promise.js +7 -0
- data/node_modules/lodash/_Set.js +7 -0
- data/node_modules/lodash/_SetCache.js +27 -0
- data/node_modules/lodash/_Stack.js +27 -0
- data/node_modules/lodash/_Symbol.js +6 -0
- data/node_modules/lodash/_Uint8Array.js +6 -0
- data/node_modules/lodash/_WeakMap.js +7 -0
- data/node_modules/lodash/_apply.js +21 -0
- data/node_modules/lodash/_arrayAggregator.js +22 -0
- data/node_modules/lodash/_arrayEach.js +22 -0
- data/node_modules/lodash/_arrayEachRight.js +21 -0
- data/node_modules/lodash/_arrayEvery.js +23 -0
- data/node_modules/lodash/_arrayFilter.js +25 -0
- data/node_modules/lodash/_arrayIncludes.js +17 -0
- data/node_modules/lodash/_arrayIncludesWith.js +22 -0
- data/node_modules/lodash/_arrayLikeKeys.js +49 -0
- data/node_modules/lodash/_arrayMap.js +21 -0
- data/node_modules/lodash/_arrayPush.js +20 -0
- data/node_modules/lodash/_arrayReduce.js +26 -0
- data/node_modules/lodash/_arrayReduceRight.js +24 -0
- data/node_modules/lodash/_arraySample.js +15 -0
- data/node_modules/lodash/_arraySampleSize.js +17 -0
- data/node_modules/lodash/_arrayShuffle.js +15 -0
- data/node_modules/lodash/_arraySome.js +23 -0
- data/node_modules/lodash/_asciiSize.js +12 -0
- data/node_modules/lodash/_asciiToArray.js +12 -0
- data/node_modules/lodash/_asciiWords.js +15 -0
- data/node_modules/lodash/_assignMergeValue.js +20 -0
- data/node_modules/lodash/_assignValue.js +28 -0
- data/node_modules/lodash/_assocIndexOf.js +21 -0
- data/node_modules/lodash/_baseAggregator.js +21 -0
- data/node_modules/lodash/_baseAssign.js +17 -0
- data/node_modules/lodash/_baseAssignIn.js +17 -0
- data/node_modules/lodash/_baseAssignValue.js +25 -0
- data/node_modules/lodash/_baseAt.js +23 -0
- data/node_modules/lodash/_baseClamp.js +22 -0
- data/node_modules/lodash/_baseClone.js +166 -0
- data/node_modules/lodash/_baseConforms.js +18 -0
- data/node_modules/lodash/_baseConformsTo.js +27 -0
- data/node_modules/lodash/_baseCreate.js +30 -0
- data/node_modules/lodash/_baseDelay.js +21 -0
- data/node_modules/lodash/_baseDifference.js +67 -0
- data/node_modules/lodash/_baseEach.js +14 -0
- data/node_modules/lodash/_baseEachRight.js +14 -0
- data/node_modules/lodash/_baseEvery.js +21 -0
- data/node_modules/lodash/_baseExtremum.js +32 -0
- data/node_modules/lodash/_baseFill.js +32 -0
- data/node_modules/lodash/_baseFilter.js +21 -0
- data/node_modules/lodash/_baseFindIndex.js +24 -0
- data/node_modules/lodash/_baseFindKey.js +23 -0
- data/node_modules/lodash/_baseFlatten.js +38 -0
- data/node_modules/lodash/_baseFor.js +16 -0
- data/node_modules/lodash/_baseForOwn.js +16 -0
- data/node_modules/lodash/_baseForOwnRight.js +16 -0
- data/node_modules/lodash/_baseForRight.js +15 -0
- data/node_modules/lodash/_baseFunctions.js +19 -0
- data/node_modules/lodash/_baseGet.js +24 -0
- data/node_modules/lodash/_baseGetAllKeys.js +20 -0
- data/node_modules/lodash/_baseGetTag.js +28 -0
- data/node_modules/lodash/_baseGt.js +14 -0
- data/node_modules/lodash/_baseHas.js +19 -0
- data/node_modules/lodash/_baseHasIn.js +13 -0
- data/node_modules/lodash/_baseInRange.js +18 -0
- data/node_modules/lodash/_baseIndexOf.js +20 -0
- data/node_modules/lodash/_baseIndexOfWith.js +23 -0
- data/node_modules/lodash/_baseIntersection.js +74 -0
- data/node_modules/lodash/_baseInverter.js +21 -0
- data/node_modules/lodash/_baseInvoke.js +24 -0
- data/node_modules/lodash/_baseIsArguments.js +18 -0
- data/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- data/node_modules/lodash/_baseIsDate.js +18 -0
- data/node_modules/lodash/_baseIsEqual.js +28 -0
- data/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- data/node_modules/lodash/_baseIsMap.js +18 -0
- data/node_modules/lodash/_baseIsMatch.js +62 -0
- data/node_modules/lodash/_baseIsNaN.js +12 -0
- data/node_modules/lodash/_baseIsNative.js +47 -0
- data/node_modules/lodash/_baseIsRegExp.js +18 -0
- data/node_modules/lodash/_baseIsSet.js +18 -0
- data/node_modules/lodash/_baseIsTypedArray.js +60 -0
- data/node_modules/lodash/_baseIteratee.js +31 -0
- data/node_modules/lodash/_baseKeys.js +30 -0
- data/node_modules/lodash/_baseKeysIn.js +33 -0
- data/node_modules/lodash/_baseLodash.js +10 -0
- data/node_modules/lodash/_baseLt.js +14 -0
- data/node_modules/lodash/_baseMap.js +22 -0
- data/node_modules/lodash/_baseMatches.js +22 -0
- data/node_modules/lodash/_baseMatchesProperty.js +33 -0
- data/node_modules/lodash/_baseMean.js +20 -0
- data/node_modules/lodash/_baseMerge.js +42 -0
- data/node_modules/lodash/_baseMergeDeep.js +94 -0
- data/node_modules/lodash/_baseNth.js +20 -0
- data/node_modules/lodash/_baseOrderBy.js +49 -0
- data/node_modules/lodash/_basePick.js +19 -0
- data/node_modules/lodash/_basePickBy.js +30 -0
- data/node_modules/lodash/_baseProperty.js +14 -0
- data/node_modules/lodash/_basePropertyDeep.js +16 -0
- data/node_modules/lodash/_basePropertyOf.js +14 -0
- data/node_modules/lodash/_basePullAll.js +51 -0
- data/node_modules/lodash/_basePullAt.js +37 -0
- data/node_modules/lodash/_baseRandom.js +18 -0
- data/node_modules/lodash/_baseRange.js +28 -0
- data/node_modules/lodash/_baseReduce.js +23 -0
- data/node_modules/lodash/_baseRepeat.js +35 -0
- data/node_modules/lodash/_baseRest.js +17 -0
- data/node_modules/lodash/_baseSample.js +15 -0
- data/node_modules/lodash/_baseSampleSize.js +18 -0
- data/node_modules/lodash/_baseSet.js +51 -0
- data/node_modules/lodash/_baseSetData.js +17 -0
- data/node_modules/lodash/_baseSetToString.js +22 -0
- data/node_modules/lodash/_baseShuffle.js +15 -0
- data/node_modules/lodash/_baseSlice.js +31 -0
- data/node_modules/lodash/_baseSome.js +22 -0
- data/node_modules/lodash/_baseSortBy.js +21 -0
- data/node_modules/lodash/_baseSortedIndex.js +42 -0
- data/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- data/node_modules/lodash/_baseSortedUniq.js +30 -0
- data/node_modules/lodash/_baseSum.js +24 -0
- data/node_modules/lodash/_baseTimes.js +20 -0
- data/node_modules/lodash/_baseToNumber.js +24 -0
- data/node_modules/lodash/_baseToPairs.js +18 -0
- data/node_modules/lodash/_baseToString.js +37 -0
- data/node_modules/lodash/_baseTrim.js +19 -0
- data/node_modules/lodash/_baseUnary.js +14 -0
- data/node_modules/lodash/_baseUniq.js +72 -0
- data/node_modules/lodash/_baseUnset.js +20 -0
- data/node_modules/lodash/_baseUpdate.js +18 -0
- data/node_modules/lodash/_baseValues.js +19 -0
- data/node_modules/lodash/_baseWhile.js +26 -0
- data/node_modules/lodash/_baseWrapperValue.js +25 -0
- data/node_modules/lodash/_baseXor.js +36 -0
- data/node_modules/lodash/_baseZipObject.js +23 -0
- data/node_modules/lodash/_cacheHas.js +13 -0
- data/node_modules/lodash/_castArrayLikeObject.js +14 -0
- data/node_modules/lodash/_castFunction.js +14 -0
- data/node_modules/lodash/_castPath.js +21 -0
- data/node_modules/lodash/_castRest.js +14 -0
- data/node_modules/lodash/_castSlice.js +18 -0
- data/node_modules/lodash/_charsEndIndex.js +19 -0
- data/node_modules/lodash/_charsStartIndex.js +20 -0
- data/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- data/node_modules/lodash/_cloneBuffer.js +35 -0
- data/node_modules/lodash/_cloneDataView.js +16 -0
- data/node_modules/lodash/_cloneRegExp.js +17 -0
- data/node_modules/lodash/_cloneSymbol.js +18 -0
- data/node_modules/lodash/_cloneTypedArray.js +16 -0
- data/node_modules/lodash/_compareAscending.js +41 -0
- data/node_modules/lodash/_compareMultiple.js +44 -0
- data/node_modules/lodash/_composeArgs.js +39 -0
- data/node_modules/lodash/_composeArgsRight.js +41 -0
- data/node_modules/lodash/_copyArray.js +20 -0
- data/node_modules/lodash/_copyObject.js +40 -0
- data/node_modules/lodash/_copySymbols.js +16 -0
- data/node_modules/lodash/_copySymbolsIn.js +16 -0
- data/node_modules/lodash/_coreJsData.js +6 -0
- data/node_modules/lodash/_countHolders.js +21 -0
- data/node_modules/lodash/_createAggregator.js +23 -0
- data/node_modules/lodash/_createAssigner.js +37 -0
- data/node_modules/lodash/_createBaseEach.js +32 -0
- data/node_modules/lodash/_createBaseFor.js +25 -0
- data/node_modules/lodash/_createBind.js +28 -0
- data/node_modules/lodash/_createCaseFirst.js +33 -0
- data/node_modules/lodash/_createCompounder.js +24 -0
- data/node_modules/lodash/_createCtor.js +37 -0
- data/node_modules/lodash/_createCurry.js +46 -0
- data/node_modules/lodash/_createFind.js +25 -0
- data/node_modules/lodash/_createFlow.js +78 -0
- data/node_modules/lodash/_createHybrid.js +92 -0
- data/node_modules/lodash/_createInverter.js +17 -0
- data/node_modules/lodash/_createMathOperation.js +38 -0
- data/node_modules/lodash/_createOver.js +27 -0
- data/node_modules/lodash/_createPadding.js +33 -0
- data/node_modules/lodash/_createPartial.js +43 -0
- data/node_modules/lodash/_createRange.js +30 -0
- data/node_modules/lodash/_createRecurry.js +56 -0
- data/node_modules/lodash/_createRelationalOperation.js +20 -0
- data/node_modules/lodash/_createRound.js +35 -0
- data/node_modules/lodash/_createSet.js +19 -0
- data/node_modules/lodash/_createToPairs.js +30 -0
- data/node_modules/lodash/_createWrap.js +106 -0
- data/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- data/node_modules/lodash/_customDefaultsMerge.js +28 -0
- data/node_modules/lodash/_customOmitClone.js +16 -0
- data/node_modules/lodash/_deburrLetter.js +71 -0
- data/node_modules/lodash/_defineProperty.js +11 -0
- data/node_modules/lodash/_equalArrays.js +84 -0
- data/node_modules/lodash/_equalByTag.js +112 -0
- data/node_modules/lodash/_equalObjects.js +90 -0
- data/node_modules/lodash/_escapeHtmlChar.js +21 -0
- data/node_modules/lodash/_escapeStringChar.js +22 -0
- data/node_modules/lodash/_flatRest.js +16 -0
- data/node_modules/lodash/_freeGlobal.js +4 -0
- data/node_modules/lodash/_getAllKeys.js +16 -0
- data/node_modules/lodash/_getAllKeysIn.js +17 -0
- data/node_modules/lodash/_getData.js +15 -0
- data/node_modules/lodash/_getFuncName.js +31 -0
- data/node_modules/lodash/_getHolder.js +13 -0
- data/node_modules/lodash/_getMapData.js +18 -0
- data/node_modules/lodash/_getMatchData.js +24 -0
- data/node_modules/lodash/_getNative.js +17 -0
- data/node_modules/lodash/_getPrototype.js +6 -0
- data/node_modules/lodash/_getRawTag.js +46 -0
- data/node_modules/lodash/_getSymbols.js +30 -0
- data/node_modules/lodash/_getSymbolsIn.js +25 -0
- data/node_modules/lodash/_getTag.js +58 -0
- data/node_modules/lodash/_getValue.js +13 -0
- data/node_modules/lodash/_getView.js +33 -0
- data/node_modules/lodash/_getWrapDetails.js +17 -0
- data/node_modules/lodash/_hasPath.js +39 -0
- data/node_modules/lodash/_hasUnicode.js +26 -0
- data/node_modules/lodash/_hasUnicodeWord.js +15 -0
- data/node_modules/lodash/_hashClear.js +15 -0
- data/node_modules/lodash/_hashDelete.js +17 -0
- data/node_modules/lodash/_hashGet.js +30 -0
- data/node_modules/lodash/_hashHas.js +23 -0
- data/node_modules/lodash/_hashSet.js +23 -0
- data/node_modules/lodash/_initCloneArray.js +26 -0
- data/node_modules/lodash/_initCloneByTag.js +77 -0
- data/node_modules/lodash/_initCloneObject.js +18 -0
- data/node_modules/lodash/_insertWrapDetails.js +23 -0
- data/node_modules/lodash/_isFlattenable.js +20 -0
- data/node_modules/lodash/_isIndex.js +25 -0
- data/node_modules/lodash/_isIterateeCall.js +30 -0
- data/node_modules/lodash/_isKey.js +29 -0
- data/node_modules/lodash/_isKeyable.js +15 -0
- data/node_modules/lodash/_isLaziable.js +28 -0
- data/node_modules/lodash/_isMaskable.js +14 -0
- data/node_modules/lodash/_isMasked.js +20 -0
- data/node_modules/lodash/_isPrototype.js +18 -0
- data/node_modules/lodash/_isStrictComparable.js +15 -0
- data/node_modules/lodash/_iteratorToArray.js +18 -0
- data/node_modules/lodash/_lazyClone.js +23 -0
- data/node_modules/lodash/_lazyReverse.js +23 -0
- data/node_modules/lodash/_lazyValue.js +69 -0
- data/node_modules/lodash/_listCacheClear.js +13 -0
- data/node_modules/lodash/_listCacheDelete.js +35 -0
- data/node_modules/lodash/_listCacheGet.js +19 -0
- data/node_modules/lodash/_listCacheHas.js +16 -0
- data/node_modules/lodash/_listCacheSet.js +26 -0
- data/node_modules/lodash/_mapCacheClear.js +21 -0
- data/node_modules/lodash/_mapCacheDelete.js +18 -0
- data/node_modules/lodash/_mapCacheGet.js +16 -0
- data/node_modules/lodash/_mapCacheHas.js +16 -0
- data/node_modules/lodash/_mapCacheSet.js +22 -0
- data/node_modules/lodash/_mapToArray.js +18 -0
- data/node_modules/lodash/_matchesStrictComparable.js +20 -0
- data/node_modules/lodash/_memoizeCapped.js +26 -0
- data/node_modules/lodash/_mergeData.js +90 -0
- data/node_modules/lodash/_metaMap.js +6 -0
- data/node_modules/lodash/_nativeCreate.js +6 -0
- data/node_modules/lodash/_nativeKeys.js +6 -0
- data/node_modules/lodash/_nativeKeysIn.js +20 -0
- data/node_modules/lodash/_nodeUtil.js +30 -0
- data/node_modules/lodash/_objectToString.js +22 -0
- data/node_modules/lodash/_overArg.js +15 -0
- data/node_modules/lodash/_overRest.js +36 -0
- data/node_modules/lodash/_parent.js +16 -0
- data/node_modules/lodash/_reEscape.js +4 -0
- data/node_modules/lodash/_reEvaluate.js +4 -0
- data/node_modules/lodash/_reInterpolate.js +4 -0
- data/node_modules/lodash/_realNames.js +4 -0
- data/node_modules/lodash/_reorder.js +29 -0
- data/node_modules/lodash/_replaceHolders.js +29 -0
- data/node_modules/lodash/_root.js +9 -0
- data/node_modules/lodash/_safeGet.js +21 -0
- data/node_modules/lodash/_setCacheAdd.js +19 -0
- data/node_modules/lodash/_setCacheHas.js +14 -0
- data/node_modules/lodash/_setData.js +20 -0
- data/node_modules/lodash/_setToArray.js +18 -0
- data/node_modules/lodash/_setToPairs.js +18 -0
- data/node_modules/lodash/_setToString.js +14 -0
- data/node_modules/lodash/_setWrapToString.js +21 -0
- data/node_modules/lodash/_shortOut.js +37 -0
- data/node_modules/lodash/_shuffleSelf.js +28 -0
- data/node_modules/lodash/_stackClear.js +15 -0
- data/node_modules/lodash/_stackDelete.js +18 -0
- data/node_modules/lodash/_stackGet.js +14 -0
- data/node_modules/lodash/_stackHas.js +14 -0
- data/node_modules/lodash/_stackSet.js +34 -0
- data/node_modules/lodash/_strictIndexOf.js +23 -0
- data/node_modules/lodash/_strictLastIndexOf.js +21 -0
- data/node_modules/lodash/_stringSize.js +18 -0
- data/node_modules/lodash/_stringToArray.js +18 -0
- data/node_modules/lodash/_stringToPath.js +27 -0
- data/node_modules/lodash/_toKey.js +21 -0
- data/node_modules/lodash/_toSource.js +26 -0
- data/node_modules/lodash/_trimmedEndIndex.js +19 -0
- data/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- data/node_modules/lodash/_unicodeSize.js +44 -0
- data/node_modules/lodash/_unicodeToArray.js +40 -0
- data/node_modules/lodash/_unicodeWords.js +69 -0
- data/node_modules/lodash/_updateWrapDetails.js +46 -0
- data/node_modules/lodash/_wrapperClone.js +23 -0
- data/node_modules/lodash/add.js +22 -0
- data/node_modules/lodash/after.js +42 -0
- data/node_modules/lodash/array.js +67 -0
- data/node_modules/lodash/ary.js +29 -0
- data/node_modules/lodash/assign.js +58 -0
- data/node_modules/lodash/assignIn.js +40 -0
- data/node_modules/lodash/assignInWith.js +38 -0
- data/node_modules/lodash/assignWith.js +37 -0
- data/node_modules/lodash/at.js +23 -0
- data/node_modules/lodash/attempt.js +35 -0
- data/node_modules/lodash/before.js +40 -0
- data/node_modules/lodash/bind.js +57 -0
- data/node_modules/lodash/bindAll.js +41 -0
- data/node_modules/lodash/bindKey.js +68 -0
- data/node_modules/lodash/camelCase.js +29 -0
- data/node_modules/lodash/capitalize.js +23 -0
- data/node_modules/lodash/castArray.js +44 -0
- data/node_modules/lodash/ceil.js +26 -0
- data/node_modules/lodash/chain.js +38 -0
- data/node_modules/lodash/chunk.js +50 -0
- data/node_modules/lodash/clamp.js +39 -0
- data/node_modules/lodash/clone.js +36 -0
- data/node_modules/lodash/cloneDeep.js +29 -0
- data/node_modules/lodash/cloneDeepWith.js +40 -0
- data/node_modules/lodash/cloneWith.js +42 -0
- data/node_modules/lodash/collection.js +30 -0
- data/node_modules/lodash/commit.js +33 -0
- data/node_modules/lodash/compact.js +31 -0
- data/node_modules/lodash/concat.js +43 -0
- data/node_modules/lodash/cond.js +60 -0
- data/node_modules/lodash/conforms.js +35 -0
- data/node_modules/lodash/conformsTo.js +32 -0
- data/node_modules/lodash/constant.js +26 -0
- data/node_modules/lodash/core.js +3877 -0
- data/node_modules/lodash/core.min.js +29 -0
- data/node_modules/lodash/countBy.js +40 -0
- data/node_modules/lodash/create.js +43 -0
- data/node_modules/lodash/curry.js +57 -0
- data/node_modules/lodash/curryRight.js +54 -0
- data/node_modules/lodash/date.js +3 -0
- data/node_modules/lodash/debounce.js +191 -0
- data/node_modules/lodash/deburr.js +45 -0
- data/node_modules/lodash/defaultTo.js +25 -0
- data/node_modules/lodash/defaults.js +64 -0
- data/node_modules/lodash/defaultsDeep.js +30 -0
- data/node_modules/lodash/defer.js +26 -0
- data/node_modules/lodash/delay.js +28 -0
- data/node_modules/lodash/difference.js +33 -0
- data/node_modules/lodash/differenceBy.js +44 -0
- data/node_modules/lodash/differenceWith.js +40 -0
- data/node_modules/lodash/divide.js +22 -0
- data/node_modules/lodash/drop.js +38 -0
- data/node_modules/lodash/dropRight.js +39 -0
- data/node_modules/lodash/dropRightWhile.js +45 -0
- data/node_modules/lodash/dropWhile.js +45 -0
- data/node_modules/lodash/each.js +1 -0
- data/node_modules/lodash/eachRight.js +1 -0
- data/node_modules/lodash/endsWith.js +43 -0
- data/node_modules/lodash/entries.js +1 -0
- data/node_modules/lodash/entriesIn.js +1 -0
- data/node_modules/lodash/eq.js +37 -0
- data/node_modules/lodash/escape.js +43 -0
- data/node_modules/lodash/escapeRegExp.js +32 -0
- data/node_modules/lodash/every.js +56 -0
- data/node_modules/lodash/extend.js +1 -0
- data/node_modules/lodash/extendWith.js +1 -0
- data/node_modules/lodash/fill.js +45 -0
- data/node_modules/lodash/filter.js +52 -0
- data/node_modules/lodash/find.js +42 -0
- data/node_modules/lodash/findIndex.js +55 -0
- data/node_modules/lodash/findKey.js +44 -0
- data/node_modules/lodash/findLast.js +25 -0
- data/node_modules/lodash/findLastIndex.js +59 -0
- data/node_modules/lodash/findLastKey.js +44 -0
- data/node_modules/lodash/first.js +1 -0
- data/node_modules/lodash/flake.lock +40 -0
- data/node_modules/lodash/flake.nix +20 -0
- data/node_modules/lodash/flatMap.js +29 -0
- data/node_modules/lodash/flatMapDeep.js +31 -0
- data/node_modules/lodash/flatMapDepth.js +31 -0
- data/node_modules/lodash/flatten.js +22 -0
- data/node_modules/lodash/flattenDeep.js +25 -0
- data/node_modules/lodash/flattenDepth.js +33 -0
- data/node_modules/lodash/flip.js +28 -0
- data/node_modules/lodash/floor.js +26 -0
- data/node_modules/lodash/flow.js +27 -0
- data/node_modules/lodash/flowRight.js +26 -0
- data/node_modules/lodash/forEach.js +41 -0
- data/node_modules/lodash/forEachRight.js +31 -0
- data/node_modules/lodash/forIn.js +39 -0
- data/node_modules/lodash/forInRight.js +37 -0
- data/node_modules/lodash/forOwn.js +36 -0
- data/node_modules/lodash/forOwnRight.js +34 -0
- data/node_modules/lodash/fp/F.js +1 -0
- data/node_modules/lodash/fp/T.js +1 -0
- data/node_modules/lodash/fp/__.js +1 -0
- data/node_modules/lodash/fp/_baseConvert.js +569 -0
- data/node_modules/lodash/fp/_convertBrowser.js +18 -0
- data/node_modules/lodash/fp/_falseOptions.js +7 -0
- data/node_modules/lodash/fp/_mapping.js +358 -0
- data/node_modules/lodash/fp/_util.js +16 -0
- data/node_modules/lodash/fp/add.js +5 -0
- data/node_modules/lodash/fp/after.js +5 -0
- data/node_modules/lodash/fp/all.js +1 -0
- data/node_modules/lodash/fp/allPass.js +1 -0
- data/node_modules/lodash/fp/always.js +1 -0
- data/node_modules/lodash/fp/any.js +1 -0
- data/node_modules/lodash/fp/anyPass.js +1 -0
- data/node_modules/lodash/fp/apply.js +1 -0
- data/node_modules/lodash/fp/array.js +2 -0
- data/node_modules/lodash/fp/ary.js +5 -0
- data/node_modules/lodash/fp/assign.js +5 -0
- data/node_modules/lodash/fp/assignAll.js +5 -0
- data/node_modules/lodash/fp/assignAllWith.js +5 -0
- data/node_modules/lodash/fp/assignIn.js +5 -0
- data/node_modules/lodash/fp/assignInAll.js +5 -0
- data/node_modules/lodash/fp/assignInAllWith.js +5 -0
- data/node_modules/lodash/fp/assignInWith.js +5 -0
- data/node_modules/lodash/fp/assignWith.js +5 -0
- data/node_modules/lodash/fp/assoc.js +1 -0
- data/node_modules/lodash/fp/assocPath.js +1 -0
- data/node_modules/lodash/fp/at.js +5 -0
- data/node_modules/lodash/fp/attempt.js +5 -0
- data/node_modules/lodash/fp/before.js +5 -0
- data/node_modules/lodash/fp/bind.js +5 -0
- data/node_modules/lodash/fp/bindAll.js +5 -0
- data/node_modules/lodash/fp/bindKey.js +5 -0
- data/node_modules/lodash/fp/camelCase.js +5 -0
- data/node_modules/lodash/fp/capitalize.js +5 -0
- data/node_modules/lodash/fp/castArray.js +5 -0
- data/node_modules/lodash/fp/ceil.js +5 -0
- data/node_modules/lodash/fp/chain.js +5 -0
- data/node_modules/lodash/fp/chunk.js +5 -0
- data/node_modules/lodash/fp/clamp.js +5 -0
- data/node_modules/lodash/fp/clone.js +5 -0
- data/node_modules/lodash/fp/cloneDeep.js +5 -0
- data/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- data/node_modules/lodash/fp/cloneWith.js +5 -0
- data/node_modules/lodash/fp/collection.js +2 -0
- data/node_modules/lodash/fp/commit.js +5 -0
- data/node_modules/lodash/fp/compact.js +5 -0
- data/node_modules/lodash/fp/complement.js +1 -0
- data/node_modules/lodash/fp/compose.js +1 -0
- data/node_modules/lodash/fp/concat.js +5 -0
- data/node_modules/lodash/fp/cond.js +5 -0
- data/node_modules/lodash/fp/conforms.js +1 -0
- data/node_modules/lodash/fp/conformsTo.js +5 -0
- data/node_modules/lodash/fp/constant.js +5 -0
- data/node_modules/lodash/fp/contains.js +1 -0
- data/node_modules/lodash/fp/convert.js +18 -0
- data/node_modules/lodash/fp/countBy.js +5 -0
- data/node_modules/lodash/fp/create.js +5 -0
- data/node_modules/lodash/fp/curry.js +5 -0
- data/node_modules/lodash/fp/curryN.js +5 -0
- data/node_modules/lodash/fp/curryRight.js +5 -0
- data/node_modules/lodash/fp/curryRightN.js +5 -0
- data/node_modules/lodash/fp/date.js +2 -0
- data/node_modules/lodash/fp/debounce.js +5 -0
- data/node_modules/lodash/fp/deburr.js +5 -0
- data/node_modules/lodash/fp/defaultTo.js +5 -0
- data/node_modules/lodash/fp/defaults.js +5 -0
- data/node_modules/lodash/fp/defaultsAll.js +5 -0
- data/node_modules/lodash/fp/defaultsDeep.js +5 -0
- data/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- data/node_modules/lodash/fp/defer.js +5 -0
- data/node_modules/lodash/fp/delay.js +5 -0
- data/node_modules/lodash/fp/difference.js +5 -0
- data/node_modules/lodash/fp/differenceBy.js +5 -0
- data/node_modules/lodash/fp/differenceWith.js +5 -0
- data/node_modules/lodash/fp/dissoc.js +1 -0
- data/node_modules/lodash/fp/dissocPath.js +1 -0
- data/node_modules/lodash/fp/divide.js +5 -0
- data/node_modules/lodash/fp/drop.js +5 -0
- data/node_modules/lodash/fp/dropLast.js +1 -0
- data/node_modules/lodash/fp/dropLastWhile.js +1 -0
- data/node_modules/lodash/fp/dropRight.js +5 -0
- data/node_modules/lodash/fp/dropRightWhile.js +5 -0
- data/node_modules/lodash/fp/dropWhile.js +5 -0
- data/node_modules/lodash/fp/each.js +1 -0
- data/node_modules/lodash/fp/eachRight.js +1 -0
- data/node_modules/lodash/fp/endsWith.js +5 -0
- data/node_modules/lodash/fp/entries.js +1 -0
- data/node_modules/lodash/fp/entriesIn.js +1 -0
- data/node_modules/lodash/fp/eq.js +5 -0
- data/node_modules/lodash/fp/equals.js +1 -0
- data/node_modules/lodash/fp/escape.js +5 -0
- data/node_modules/lodash/fp/escapeRegExp.js +5 -0
- data/node_modules/lodash/fp/every.js +5 -0
- data/node_modules/lodash/fp/extend.js +1 -0
- data/node_modules/lodash/fp/extendAll.js +1 -0
- data/node_modules/lodash/fp/extendAllWith.js +1 -0
- data/node_modules/lodash/fp/extendWith.js +1 -0
- data/node_modules/lodash/fp/fill.js +5 -0
- data/node_modules/lodash/fp/filter.js +5 -0
- data/node_modules/lodash/fp/find.js +5 -0
- data/node_modules/lodash/fp/findFrom.js +5 -0
- data/node_modules/lodash/fp/findIndex.js +5 -0
- data/node_modules/lodash/fp/findIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findKey.js +5 -0
- data/node_modules/lodash/fp/findLast.js +5 -0
- data/node_modules/lodash/fp/findLastFrom.js +5 -0
- data/node_modules/lodash/fp/findLastIndex.js +5 -0
- data/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findLastKey.js +5 -0
- data/node_modules/lodash/fp/first.js +1 -0
- data/node_modules/lodash/fp/flatMap.js +5 -0
- data/node_modules/lodash/fp/flatMapDeep.js +5 -0
- data/node_modules/lodash/fp/flatMapDepth.js +5 -0
- data/node_modules/lodash/fp/flatten.js +5 -0
- data/node_modules/lodash/fp/flattenDeep.js +5 -0
- data/node_modules/lodash/fp/flattenDepth.js +5 -0
- data/node_modules/lodash/fp/flip.js +5 -0
- data/node_modules/lodash/fp/floor.js +5 -0
- data/node_modules/lodash/fp/flow.js +5 -0
- data/node_modules/lodash/fp/flowRight.js +5 -0
- data/node_modules/lodash/fp/forEach.js +5 -0
- data/node_modules/lodash/fp/forEachRight.js +5 -0
- data/node_modules/lodash/fp/forIn.js +5 -0
- data/node_modules/lodash/fp/forInRight.js +5 -0
- data/node_modules/lodash/fp/forOwn.js +5 -0
- data/node_modules/lodash/fp/forOwnRight.js +5 -0
- data/node_modules/lodash/fp/fromPairs.js +5 -0
- data/node_modules/lodash/fp/function.js +2 -0
- data/node_modules/lodash/fp/functions.js +5 -0
- data/node_modules/lodash/fp/functionsIn.js +5 -0
- data/node_modules/lodash/fp/get.js +5 -0
- data/node_modules/lodash/fp/getOr.js +5 -0
- data/node_modules/lodash/fp/groupBy.js +5 -0
- data/node_modules/lodash/fp/gt.js +5 -0
- data/node_modules/lodash/fp/gte.js +5 -0
- data/node_modules/lodash/fp/has.js +5 -0
- data/node_modules/lodash/fp/hasIn.js +5 -0
- data/node_modules/lodash/fp/head.js +5 -0
- data/node_modules/lodash/fp/identical.js +1 -0
- data/node_modules/lodash/fp/identity.js +5 -0
- data/node_modules/lodash/fp/inRange.js +5 -0
- data/node_modules/lodash/fp/includes.js +5 -0
- data/node_modules/lodash/fp/includesFrom.js +5 -0
- data/node_modules/lodash/fp/indexBy.js +1 -0
- data/node_modules/lodash/fp/indexOf.js +5 -0
- data/node_modules/lodash/fp/indexOfFrom.js +5 -0
- data/node_modules/lodash/fp/init.js +1 -0
- data/node_modules/lodash/fp/initial.js +5 -0
- data/node_modules/lodash/fp/intersection.js +5 -0
- data/node_modules/lodash/fp/intersectionBy.js +5 -0
- data/node_modules/lodash/fp/intersectionWith.js +5 -0
- data/node_modules/lodash/fp/invert.js +5 -0
- data/node_modules/lodash/fp/invertBy.js +5 -0
- data/node_modules/lodash/fp/invertObj.js +1 -0
- data/node_modules/lodash/fp/invoke.js +5 -0
- data/node_modules/lodash/fp/invokeArgs.js +5 -0
- data/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- data/node_modules/lodash/fp/invokeMap.js +5 -0
- data/node_modules/lodash/fp/isArguments.js +5 -0
- data/node_modules/lodash/fp/isArray.js +5 -0
- data/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- data/node_modules/lodash/fp/isArrayLike.js +5 -0
- data/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- data/node_modules/lodash/fp/isBoolean.js +5 -0
- data/node_modules/lodash/fp/isBuffer.js +5 -0
- data/node_modules/lodash/fp/isDate.js +5 -0
- data/node_modules/lodash/fp/isElement.js +5 -0
- data/node_modules/lodash/fp/isEmpty.js +5 -0
- data/node_modules/lodash/fp/isEqual.js +5 -0
- data/node_modules/lodash/fp/isEqualWith.js +5 -0
- data/node_modules/lodash/fp/isError.js +5 -0
- data/node_modules/lodash/fp/isFinite.js +5 -0
- data/node_modules/lodash/fp/isFunction.js +5 -0
- data/node_modules/lodash/fp/isInteger.js +5 -0
- data/node_modules/lodash/fp/isLength.js +5 -0
- data/node_modules/lodash/fp/isMap.js +5 -0
- data/node_modules/lodash/fp/isMatch.js +5 -0
- data/node_modules/lodash/fp/isMatchWith.js +5 -0
- data/node_modules/lodash/fp/isNaN.js +5 -0
- data/node_modules/lodash/fp/isNative.js +5 -0
- data/node_modules/lodash/fp/isNil.js +5 -0
- data/node_modules/lodash/fp/isNull.js +5 -0
- data/node_modules/lodash/fp/isNumber.js +5 -0
- data/node_modules/lodash/fp/isObject.js +5 -0
- data/node_modules/lodash/fp/isObjectLike.js +5 -0
- data/node_modules/lodash/fp/isPlainObject.js +5 -0
- data/node_modules/lodash/fp/isRegExp.js +5 -0
- data/node_modules/lodash/fp/isSafeInteger.js +5 -0
- data/node_modules/lodash/fp/isSet.js +5 -0
- data/node_modules/lodash/fp/isString.js +5 -0
- data/node_modules/lodash/fp/isSymbol.js +5 -0
- data/node_modules/lodash/fp/isTypedArray.js +5 -0
- data/node_modules/lodash/fp/isUndefined.js +5 -0
- data/node_modules/lodash/fp/isWeakMap.js +5 -0
- data/node_modules/lodash/fp/isWeakSet.js +5 -0
- data/node_modules/lodash/fp/iteratee.js +5 -0
- data/node_modules/lodash/fp/join.js +5 -0
- data/node_modules/lodash/fp/juxt.js +1 -0
- data/node_modules/lodash/fp/kebabCase.js +5 -0
- data/node_modules/lodash/fp/keyBy.js +5 -0
- data/node_modules/lodash/fp/keys.js +5 -0
- data/node_modules/lodash/fp/keysIn.js +5 -0
- data/node_modules/lodash/fp/lang.js +2 -0
- data/node_modules/lodash/fp/last.js +5 -0
- data/node_modules/lodash/fp/lastIndexOf.js +5 -0
- data/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- data/node_modules/lodash/fp/lowerCase.js +5 -0
- data/node_modules/lodash/fp/lowerFirst.js +5 -0
- data/node_modules/lodash/fp/lt.js +5 -0
- data/node_modules/lodash/fp/lte.js +5 -0
- data/node_modules/lodash/fp/map.js +5 -0
- data/node_modules/lodash/fp/mapKeys.js +5 -0
- data/node_modules/lodash/fp/mapValues.js +5 -0
- data/node_modules/lodash/fp/matches.js +1 -0
- data/node_modules/lodash/fp/matchesProperty.js +5 -0
- data/node_modules/lodash/fp/math.js +2 -0
- data/node_modules/lodash/fp/max.js +5 -0
- data/node_modules/lodash/fp/maxBy.js +5 -0
- data/node_modules/lodash/fp/mean.js +5 -0
- data/node_modules/lodash/fp/meanBy.js +5 -0
- data/node_modules/lodash/fp/memoize.js +5 -0
- data/node_modules/lodash/fp/merge.js +5 -0
- data/node_modules/lodash/fp/mergeAll.js +5 -0
- data/node_modules/lodash/fp/mergeAllWith.js +5 -0
- data/node_modules/lodash/fp/mergeWith.js +5 -0
- data/node_modules/lodash/fp/method.js +5 -0
- data/node_modules/lodash/fp/methodOf.js +5 -0
- data/node_modules/lodash/fp/min.js +5 -0
- data/node_modules/lodash/fp/minBy.js +5 -0
- data/node_modules/lodash/fp/mixin.js +5 -0
- data/node_modules/lodash/fp/multiply.js +5 -0
- data/node_modules/lodash/fp/nAry.js +1 -0
- data/node_modules/lodash/fp/negate.js +5 -0
- data/node_modules/lodash/fp/next.js +5 -0
- data/node_modules/lodash/fp/noop.js +5 -0
- data/node_modules/lodash/fp/now.js +5 -0
- data/node_modules/lodash/fp/nth.js +5 -0
- data/node_modules/lodash/fp/nthArg.js +5 -0
- data/node_modules/lodash/fp/number.js +2 -0
- data/node_modules/lodash/fp/object.js +2 -0
- data/node_modules/lodash/fp/omit.js +5 -0
- data/node_modules/lodash/fp/omitAll.js +1 -0
- data/node_modules/lodash/fp/omitBy.js +5 -0
- data/node_modules/lodash/fp/once.js +5 -0
- data/node_modules/lodash/fp/orderBy.js +5 -0
- data/node_modules/lodash/fp/over.js +5 -0
- data/node_modules/lodash/fp/overArgs.js +5 -0
- data/node_modules/lodash/fp/overEvery.js +5 -0
- data/node_modules/lodash/fp/overSome.js +5 -0
- data/node_modules/lodash/fp/pad.js +5 -0
- data/node_modules/lodash/fp/padChars.js +5 -0
- data/node_modules/lodash/fp/padCharsEnd.js +5 -0
- data/node_modules/lodash/fp/padCharsStart.js +5 -0
- data/node_modules/lodash/fp/padEnd.js +5 -0
- data/node_modules/lodash/fp/padStart.js +5 -0
- data/node_modules/lodash/fp/parseInt.js +5 -0
- data/node_modules/lodash/fp/partial.js +5 -0
- data/node_modules/lodash/fp/partialRight.js +5 -0
- data/node_modules/lodash/fp/partition.js +5 -0
- data/node_modules/lodash/fp/path.js +1 -0
- data/node_modules/lodash/fp/pathEq.js +1 -0
- data/node_modules/lodash/fp/pathOr.js +1 -0
- data/node_modules/lodash/fp/paths.js +1 -0
- data/node_modules/lodash/fp/pick.js +5 -0
- data/node_modules/lodash/fp/pickAll.js +1 -0
- data/node_modules/lodash/fp/pickBy.js +5 -0
- data/node_modules/lodash/fp/pipe.js +1 -0
- data/node_modules/lodash/fp/placeholder.js +6 -0
- data/node_modules/lodash/fp/plant.js +5 -0
- data/node_modules/lodash/fp/pluck.js +1 -0
- data/node_modules/lodash/fp/prop.js +1 -0
- data/node_modules/lodash/fp/propEq.js +1 -0
- data/node_modules/lodash/fp/propOr.js +1 -0
- data/node_modules/lodash/fp/property.js +1 -0
- data/node_modules/lodash/fp/propertyOf.js +5 -0
- data/node_modules/lodash/fp/props.js +1 -0
- data/node_modules/lodash/fp/pull.js +5 -0
- data/node_modules/lodash/fp/pullAll.js +5 -0
- data/node_modules/lodash/fp/pullAllBy.js +5 -0
- data/node_modules/lodash/fp/pullAllWith.js +5 -0
- data/node_modules/lodash/fp/pullAt.js +5 -0
- data/node_modules/lodash/fp/random.js +5 -0
- data/node_modules/lodash/fp/range.js +5 -0
- data/node_modules/lodash/fp/rangeRight.js +5 -0
- data/node_modules/lodash/fp/rangeStep.js +5 -0
- data/node_modules/lodash/fp/rangeStepRight.js +5 -0
- data/node_modules/lodash/fp/rearg.js +5 -0
- data/node_modules/lodash/fp/reduce.js +5 -0
- data/node_modules/lodash/fp/reduceRight.js +5 -0
- data/node_modules/lodash/fp/reject.js +5 -0
- data/node_modules/lodash/fp/remove.js +5 -0
- data/node_modules/lodash/fp/repeat.js +5 -0
- data/node_modules/lodash/fp/replace.js +5 -0
- data/node_modules/lodash/fp/rest.js +5 -0
- data/node_modules/lodash/fp/restFrom.js +5 -0
- data/node_modules/lodash/fp/result.js +5 -0
- data/node_modules/lodash/fp/reverse.js +5 -0
- data/node_modules/lodash/fp/round.js +5 -0
- data/node_modules/lodash/fp/sample.js +5 -0
- data/node_modules/lodash/fp/sampleSize.js +5 -0
- data/node_modules/lodash/fp/seq.js +2 -0
- data/node_modules/lodash/fp/set.js +5 -0
- data/node_modules/lodash/fp/setWith.js +5 -0
- data/node_modules/lodash/fp/shuffle.js +5 -0
- data/node_modules/lodash/fp/size.js +5 -0
- data/node_modules/lodash/fp/slice.js +5 -0
- data/node_modules/lodash/fp/snakeCase.js +5 -0
- data/node_modules/lodash/fp/some.js +5 -0
- data/node_modules/lodash/fp/sortBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndex.js +5 -0
- data/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedUniq.js +5 -0
- data/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- data/node_modules/lodash/fp/split.js +5 -0
- data/node_modules/lodash/fp/spread.js +5 -0
- data/node_modules/lodash/fp/spreadFrom.js +5 -0
- data/node_modules/lodash/fp/startCase.js +5 -0
- data/node_modules/lodash/fp/startsWith.js +5 -0
- data/node_modules/lodash/fp/string.js +2 -0
- data/node_modules/lodash/fp/stubArray.js +5 -0
- data/node_modules/lodash/fp/stubFalse.js +5 -0
- data/node_modules/lodash/fp/stubObject.js +5 -0
- data/node_modules/lodash/fp/stubString.js +5 -0
- data/node_modules/lodash/fp/stubTrue.js +5 -0
- data/node_modules/lodash/fp/subtract.js +5 -0
- data/node_modules/lodash/fp/sum.js +5 -0
- data/node_modules/lodash/fp/sumBy.js +5 -0
- data/node_modules/lodash/fp/symmetricDifference.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- data/node_modules/lodash/fp/tail.js +5 -0
- data/node_modules/lodash/fp/take.js +5 -0
- data/node_modules/lodash/fp/takeLast.js +1 -0
- data/node_modules/lodash/fp/takeLastWhile.js +1 -0
- data/node_modules/lodash/fp/takeRight.js +5 -0
- data/node_modules/lodash/fp/takeRightWhile.js +5 -0
- data/node_modules/lodash/fp/takeWhile.js +5 -0
- data/node_modules/lodash/fp/tap.js +5 -0
- data/node_modules/lodash/fp/template.js +5 -0
- data/node_modules/lodash/fp/templateSettings.js +5 -0
- data/node_modules/lodash/fp/throttle.js +5 -0
- data/node_modules/lodash/fp/thru.js +5 -0
- data/node_modules/lodash/fp/times.js +5 -0
- data/node_modules/lodash/fp/toArray.js +5 -0
- data/node_modules/lodash/fp/toFinite.js +5 -0
- data/node_modules/lodash/fp/toInteger.js +5 -0
- data/node_modules/lodash/fp/toIterator.js +5 -0
- data/node_modules/lodash/fp/toJSON.js +5 -0
- data/node_modules/lodash/fp/toLength.js +5 -0
- data/node_modules/lodash/fp/toLower.js +5 -0
- data/node_modules/lodash/fp/toNumber.js +5 -0
- data/node_modules/lodash/fp/toPairs.js +5 -0
- data/node_modules/lodash/fp/toPairsIn.js +5 -0
- data/node_modules/lodash/fp/toPath.js +5 -0
- data/node_modules/lodash/fp/toPlainObject.js +5 -0
- data/node_modules/lodash/fp/toSafeInteger.js +5 -0
- data/node_modules/lodash/fp/toString.js +5 -0
- data/node_modules/lodash/fp/toUpper.js +5 -0
- data/node_modules/lodash/fp/transform.js +5 -0
- data/node_modules/lodash/fp/trim.js +5 -0
- data/node_modules/lodash/fp/trimChars.js +5 -0
- data/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- data/node_modules/lodash/fp/trimCharsStart.js +5 -0
- data/node_modules/lodash/fp/trimEnd.js +5 -0
- data/node_modules/lodash/fp/trimStart.js +5 -0
- data/node_modules/lodash/fp/truncate.js +5 -0
- data/node_modules/lodash/fp/unapply.js +1 -0
- data/node_modules/lodash/fp/unary.js +5 -0
- data/node_modules/lodash/fp/unescape.js +5 -0
- data/node_modules/lodash/fp/union.js +5 -0
- data/node_modules/lodash/fp/unionBy.js +5 -0
- data/node_modules/lodash/fp/unionWith.js +5 -0
- data/node_modules/lodash/fp/uniq.js +5 -0
- data/node_modules/lodash/fp/uniqBy.js +5 -0
- data/node_modules/lodash/fp/uniqWith.js +5 -0
- data/node_modules/lodash/fp/uniqueId.js +5 -0
- data/node_modules/lodash/fp/unnest.js +1 -0
- data/node_modules/lodash/fp/unset.js +5 -0
- data/node_modules/lodash/fp/unzip.js +5 -0
- data/node_modules/lodash/fp/unzipWith.js +5 -0
- data/node_modules/lodash/fp/update.js +5 -0
- data/node_modules/lodash/fp/updateWith.js +5 -0
- data/node_modules/lodash/fp/upperCase.js +5 -0
- data/node_modules/lodash/fp/upperFirst.js +5 -0
- data/node_modules/lodash/fp/useWith.js +1 -0
- data/node_modules/lodash/fp/util.js +2 -0
- data/node_modules/lodash/fp/value.js +5 -0
- data/node_modules/lodash/fp/valueOf.js +5 -0
- data/node_modules/lodash/fp/values.js +5 -0
- data/node_modules/lodash/fp/valuesIn.js +5 -0
- data/node_modules/lodash/fp/where.js +1 -0
- data/node_modules/lodash/fp/whereEq.js +1 -0
- data/node_modules/lodash/fp/without.js +5 -0
- data/node_modules/lodash/fp/words.js +5 -0
- data/node_modules/lodash/fp/wrap.js +5 -0
- data/node_modules/lodash/fp/wrapperAt.js +5 -0
- data/node_modules/lodash/fp/wrapperChain.js +5 -0
- data/node_modules/lodash/fp/wrapperLodash.js +5 -0
- data/node_modules/lodash/fp/wrapperReverse.js +5 -0
- data/node_modules/lodash/fp/wrapperValue.js +5 -0
- data/node_modules/lodash/fp/xor.js +5 -0
- data/node_modules/lodash/fp/xorBy.js +5 -0
- data/node_modules/lodash/fp/xorWith.js +5 -0
- data/node_modules/lodash/fp/zip.js +5 -0
- data/node_modules/lodash/fp/zipAll.js +5 -0
- data/node_modules/lodash/fp/zipObj.js +1 -0
- data/node_modules/lodash/fp/zipObject.js +5 -0
- data/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- data/node_modules/lodash/fp/zipWith.js +5 -0
- data/node_modules/lodash/fp.js +2 -0
- data/node_modules/lodash/fromPairs.js +28 -0
- data/node_modules/lodash/function.js +25 -0
- data/node_modules/lodash/functions.js +31 -0
- data/node_modules/lodash/functionsIn.js +31 -0
- data/node_modules/lodash/get.js +33 -0
- data/node_modules/lodash/groupBy.js +41 -0
- data/node_modules/lodash/gt.js +29 -0
- data/node_modules/lodash/gte.js +30 -0
- data/node_modules/lodash/has.js +35 -0
- data/node_modules/lodash/hasIn.js +34 -0
- data/node_modules/lodash/head.js +23 -0
- data/node_modules/lodash/identity.js +21 -0
- data/node_modules/lodash/inRange.js +55 -0
- data/node_modules/lodash/includes.js +53 -0
- data/node_modules/lodash/index.js +1 -0
- data/node_modules/lodash/indexOf.js +42 -0
- data/node_modules/lodash/initial.js +22 -0
- data/node_modules/lodash/intersection.js +30 -0
- data/node_modules/lodash/intersectionBy.js +45 -0
- data/node_modules/lodash/intersectionWith.js +41 -0
- data/node_modules/lodash/invert.js +42 -0
- data/node_modules/lodash/invertBy.js +56 -0
- data/node_modules/lodash/invoke.js +24 -0
- data/node_modules/lodash/invokeMap.js +41 -0
- data/node_modules/lodash/isArguments.js +36 -0
- data/node_modules/lodash/isArray.js +26 -0
- data/node_modules/lodash/isArrayBuffer.js +27 -0
- data/node_modules/lodash/isArrayLike.js +33 -0
- data/node_modules/lodash/isArrayLikeObject.js +33 -0
- data/node_modules/lodash/isBoolean.js +29 -0
- data/node_modules/lodash/isBuffer.js +38 -0
- data/node_modules/lodash/isDate.js +27 -0
- data/node_modules/lodash/isElement.js +25 -0
- data/node_modules/lodash/isEmpty.js +77 -0
- data/node_modules/lodash/isEqual.js +35 -0
- data/node_modules/lodash/isEqualWith.js +41 -0
- data/node_modules/lodash/isError.js +36 -0
- data/node_modules/lodash/isFinite.js +36 -0
- data/node_modules/lodash/isFunction.js +37 -0
- data/node_modules/lodash/isInteger.js +33 -0
- data/node_modules/lodash/isLength.js +35 -0
- data/node_modules/lodash/isMap.js +27 -0
- data/node_modules/lodash/isMatch.js +36 -0
- data/node_modules/lodash/isMatchWith.js +41 -0
- data/node_modules/lodash/isNaN.js +38 -0
- data/node_modules/lodash/isNative.js +40 -0
- data/node_modules/lodash/isNil.js +25 -0
- data/node_modules/lodash/isNull.js +22 -0
- data/node_modules/lodash/isNumber.js +38 -0
- data/node_modules/lodash/isObject.js +31 -0
- data/node_modules/lodash/isObjectLike.js +29 -0
- data/node_modules/lodash/isPlainObject.js +62 -0
- data/node_modules/lodash/isRegExp.js +27 -0
- data/node_modules/lodash/isSafeInteger.js +37 -0
- data/node_modules/lodash/isSet.js +27 -0
- data/node_modules/lodash/isString.js +30 -0
- data/node_modules/lodash/isSymbol.js +29 -0
- data/node_modules/lodash/isTypedArray.js +27 -0
- data/node_modules/lodash/isUndefined.js +22 -0
- data/node_modules/lodash/isWeakMap.js +28 -0
- data/node_modules/lodash/isWeakSet.js +28 -0
- data/node_modules/lodash/iteratee.js +53 -0
- data/node_modules/lodash/join.js +26 -0
- data/node_modules/lodash/kebabCase.js +28 -0
- data/node_modules/lodash/keyBy.js +36 -0
- data/node_modules/lodash/keys.js +37 -0
- data/node_modules/lodash/keysIn.js +32 -0
- data/node_modules/lodash/lang.js +58 -0
- data/node_modules/lodash/last.js +20 -0
- data/node_modules/lodash/lastIndexOf.js +46 -0
- data/node_modules/lodash/lodash.js +17209 -0
- data/node_modules/lodash/lodash.min.js +140 -0
- data/node_modules/lodash/lowerCase.js +27 -0
- data/node_modules/lodash/lowerFirst.js +22 -0
- data/node_modules/lodash/lt.js +29 -0
- data/node_modules/lodash/lte.js +30 -0
- data/node_modules/lodash/map.js +53 -0
- data/node_modules/lodash/mapKeys.js +36 -0
- data/node_modules/lodash/mapValues.js +43 -0
- data/node_modules/lodash/matches.js +46 -0
- data/node_modules/lodash/matchesProperty.js +44 -0
- data/node_modules/lodash/math.js +17 -0
- data/node_modules/lodash/max.js +29 -0
- data/node_modules/lodash/maxBy.js +34 -0
- data/node_modules/lodash/mean.js +22 -0
- data/node_modules/lodash/meanBy.js +31 -0
- data/node_modules/lodash/memoize.js +73 -0
- data/node_modules/lodash/merge.js +39 -0
- data/node_modules/lodash/mergeWith.js +39 -0
- data/node_modules/lodash/method.js +34 -0
- data/node_modules/lodash/methodOf.js +33 -0
- data/node_modules/lodash/min.js +29 -0
- data/node_modules/lodash/minBy.js +34 -0
- data/node_modules/lodash/mixin.js +74 -0
- data/node_modules/lodash/multiply.js +22 -0
- data/node_modules/lodash/negate.js +40 -0
- data/node_modules/lodash/next.js +35 -0
- data/node_modules/lodash/noop.js +17 -0
- data/node_modules/lodash/now.js +23 -0
- data/node_modules/lodash/nth.js +29 -0
- data/node_modules/lodash/nthArg.js +32 -0
- data/node_modules/lodash/number.js +5 -0
- data/node_modules/lodash/object.js +49 -0
- data/node_modules/lodash/omit.js +57 -0
- data/node_modules/lodash/omitBy.js +29 -0
- data/node_modules/lodash/once.js +25 -0
- data/node_modules/lodash/orderBy.js +47 -0
- data/node_modules/lodash/over.js +24 -0
- data/node_modules/lodash/overArgs.js +61 -0
- data/node_modules/lodash/overEvery.js +34 -0
- data/node_modules/lodash/overSome.js +37 -0
- data/node_modules/lodash/package.json +17 -0
- data/node_modules/lodash/pad.js +49 -0
- data/node_modules/lodash/padEnd.js +39 -0
- data/node_modules/lodash/padStart.js +39 -0
- data/node_modules/lodash/parseInt.js +43 -0
- data/node_modules/lodash/partial.js +50 -0
- data/node_modules/lodash/partialRight.js +49 -0
- data/node_modules/lodash/partition.js +43 -0
- data/node_modules/lodash/pick.js +25 -0
- data/node_modules/lodash/pickBy.js +37 -0
- data/node_modules/lodash/plant.js +48 -0
- data/node_modules/lodash/property.js +32 -0
- data/node_modules/lodash/propertyOf.js +30 -0
- data/node_modules/lodash/pull.js +29 -0
- data/node_modules/lodash/pullAll.js +29 -0
- data/node_modules/lodash/pullAllBy.js +33 -0
- data/node_modules/lodash/pullAllWith.js +32 -0
- data/node_modules/lodash/pullAt.js +43 -0
- data/node_modules/lodash/random.js +82 -0
- data/node_modules/lodash/range.js +46 -0
- data/node_modules/lodash/rangeRight.js +41 -0
- data/node_modules/lodash/rearg.js +33 -0
- data/node_modules/lodash/reduce.js +51 -0
- data/node_modules/lodash/reduceRight.js +36 -0
- data/node_modules/lodash/reject.js +46 -0
- data/node_modules/lodash/release.md +48 -0
- data/node_modules/lodash/remove.js +53 -0
- data/node_modules/lodash/repeat.js +37 -0
- data/node_modules/lodash/replace.js +29 -0
- data/node_modules/lodash/rest.js +40 -0
- data/node_modules/lodash/result.js +56 -0
- data/node_modules/lodash/reverse.js +34 -0
- data/node_modules/lodash/round.js +26 -0
- data/node_modules/lodash/sample.js +24 -0
- data/node_modules/lodash/sampleSize.js +37 -0
- data/node_modules/lodash/seq.js +16 -0
- data/node_modules/lodash/set.js +35 -0
- data/node_modules/lodash/setWith.js +32 -0
- data/node_modules/lodash/shuffle.js +25 -0
- data/node_modules/lodash/size.js +46 -0
- data/node_modules/lodash/slice.js +37 -0
- data/node_modules/lodash/snakeCase.js +28 -0
- data/node_modules/lodash/some.js +51 -0
- data/node_modules/lodash/sortBy.js +48 -0
- data/node_modules/lodash/sortedIndex.js +24 -0
- data/node_modules/lodash/sortedIndexBy.js +33 -0
- data/node_modules/lodash/sortedIndexOf.js +31 -0
- data/node_modules/lodash/sortedLastIndex.js +25 -0
- data/node_modules/lodash/sortedLastIndexBy.js +33 -0
- data/node_modules/lodash/sortedLastIndexOf.js +31 -0
- data/node_modules/lodash/sortedUniq.js +24 -0
- data/node_modules/lodash/sortedUniqBy.js +26 -0
- data/node_modules/lodash/split.js +52 -0
- data/node_modules/lodash/spread.js +63 -0
- data/node_modules/lodash/startCase.js +29 -0
- data/node_modules/lodash/startsWith.js +39 -0
- data/node_modules/lodash/string.js +33 -0
- data/node_modules/lodash/stubArray.js +23 -0
- data/node_modules/lodash/stubFalse.js +18 -0
- data/node_modules/lodash/stubObject.js +23 -0
- data/node_modules/lodash/stubString.js +18 -0
- data/node_modules/lodash/stubTrue.js +18 -0
- data/node_modules/lodash/subtract.js +22 -0
- data/node_modules/lodash/sum.js +24 -0
- data/node_modules/lodash/sumBy.js +33 -0
- data/node_modules/lodash/tail.js +22 -0
- data/node_modules/lodash/take.js +37 -0
- data/node_modules/lodash/takeRight.js +39 -0
- data/node_modules/lodash/takeRightWhile.js +45 -0
- data/node_modules/lodash/takeWhile.js +45 -0
- data/node_modules/lodash/tap.js +29 -0
- data/node_modules/lodash/template.js +272 -0
- data/node_modules/lodash/templateSettings.js +67 -0
- data/node_modules/lodash/throttle.js +69 -0
- data/node_modules/lodash/thru.js +28 -0
- data/node_modules/lodash/times.js +51 -0
- data/node_modules/lodash/toArray.js +58 -0
- data/node_modules/lodash/toFinite.js +42 -0
- data/node_modules/lodash/toInteger.js +36 -0
- data/node_modules/lodash/toIterator.js +23 -0
- data/node_modules/lodash/toJSON.js +1 -0
- data/node_modules/lodash/toLength.js +38 -0
- data/node_modules/lodash/toLower.js +28 -0
- data/node_modules/lodash/toNumber.js +64 -0
- data/node_modules/lodash/toPairs.js +30 -0
- data/node_modules/lodash/toPairsIn.js +30 -0
- data/node_modules/lodash/toPath.js +33 -0
- data/node_modules/lodash/toPlainObject.js +32 -0
- data/node_modules/lodash/toSafeInteger.js +37 -0
- data/node_modules/lodash/toString.js +28 -0
- data/node_modules/lodash/toUpper.js +28 -0
- data/node_modules/lodash/transform.js +65 -0
- data/node_modules/lodash/trim.js +47 -0
- data/node_modules/lodash/trimEnd.js +41 -0
- data/node_modules/lodash/trimStart.js +43 -0
- data/node_modules/lodash/truncate.js +111 -0
- data/node_modules/lodash/unary.js +22 -0
- data/node_modules/lodash/unescape.js +34 -0
- data/node_modules/lodash/union.js +26 -0
- data/node_modules/lodash/unionBy.js +39 -0
- data/node_modules/lodash/unionWith.js +34 -0
- data/node_modules/lodash/uniq.js +25 -0
- data/node_modules/lodash/uniqBy.js +31 -0
- data/node_modules/lodash/uniqWith.js +28 -0
- data/node_modules/lodash/uniqueId.js +28 -0
- data/node_modules/lodash/unset.js +34 -0
- data/node_modules/lodash/unzip.js +45 -0
- data/node_modules/lodash/unzipWith.js +39 -0
- data/node_modules/lodash/update.js +35 -0
- data/node_modules/lodash/updateWith.js +33 -0
- data/node_modules/lodash/upperCase.js +27 -0
- data/node_modules/lodash/upperFirst.js +22 -0
- data/node_modules/lodash/util.js +34 -0
- data/node_modules/lodash/value.js +1 -0
- data/node_modules/lodash/valueOf.js +1 -0
- data/node_modules/lodash/values.js +34 -0
- data/node_modules/lodash/valuesIn.js +32 -0
- data/node_modules/lodash/without.js +31 -0
- data/node_modules/lodash/words.js +35 -0
- data/node_modules/lodash/wrap.js +30 -0
- data/node_modules/lodash/wrapperAt.js +48 -0
- data/node_modules/lodash/wrapperChain.js +34 -0
- data/node_modules/lodash/wrapperLodash.js +147 -0
- data/node_modules/lodash/wrapperReverse.js +44 -0
- data/node_modules/lodash/wrapperValue.js +21 -0
- data/node_modules/lodash/xor.js +28 -0
- data/node_modules/lodash/xorBy.js +39 -0
- data/node_modules/lodash/xorWith.js +34 -0
- data/node_modules/lodash/zip.js +22 -0
- data/node_modules/lodash/zipObject.js +24 -0
- data/node_modules/lodash/zipObjectDeep.js +23 -0
- data/node_modules/lodash/zipWith.js +32 -0
- data/node_modules/mime-db/HISTORY.md +486 -0
- data/node_modules/mime-db/LICENSE +22 -0
- data/node_modules/mime-db/README.md +100 -0
- data/node_modules/mime-db/db.json +8417 -0
- data/node_modules/mime-db/index.js +11 -0
- data/node_modules/mime-db/package.json +59 -0
- data/node_modules/mime-types/HISTORY.md +378 -0
- data/node_modules/mime-types/LICENSE +23 -0
- data/node_modules/mime-types/README.md +113 -0
- data/node_modules/mime-types/index.js +188 -0
- data/node_modules/mime-types/package.json +44 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/nwsapi/LICENSE +22 -0
- data/node_modules/nwsapi/README.md +132 -0
- data/node_modules/nwsapi/dist/lint.log +0 -0
- data/node_modules/nwsapi/package.json +38 -0
- data/node_modules/nwsapi/src/modules/nwsapi-jquery.js +135 -0
- data/node_modules/nwsapi/src/modules/nwsapi-traversal.js +90 -0
- data/node_modules/nwsapi/src/nwsapi.js +1800 -0
- data/node_modules/optionator/CHANGELOG.md +56 -0
- data/node_modules/optionator/LICENSE +22 -0
- data/node_modules/optionator/README.md +238 -0
- data/node_modules/optionator/lib/help.js +260 -0
- data/node_modules/optionator/lib/index.js +465 -0
- data/node_modules/optionator/lib/util.js +54 -0
- data/node_modules/optionator/package.json +44 -0
- data/node_modules/parse5/LICENSE +19 -0
- data/node_modules/parse5/README.md +38 -0
- data/node_modules/parse5/lib/common/doctype.js +162 -0
- data/node_modules/parse5/lib/common/error-codes.js +65 -0
- data/node_modules/parse5/lib/common/foreign-content.js +265 -0
- data/node_modules/parse5/lib/common/html.js +272 -0
- data/node_modules/parse5/lib/common/unicode.js +109 -0
- data/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +43 -0
- data/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +52 -0
- data/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +24 -0
- data/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +17 -0
- data/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +35 -0
- data/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +223 -0
- data/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +146 -0
- data/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +64 -0
- data/node_modules/parse5/lib/index.js +29 -0
- data/node_modules/parse5/lib/parser/formatting-element-list.js +181 -0
- data/node_modules/parse5/lib/parser/index.js +2956 -0
- data/node_modules/parse5/lib/parser/open-element-stack.js +482 -0
- data/node_modules/parse5/lib/serializer/index.js +176 -0
- data/node_modules/parse5/lib/tokenizer/index.js +2196 -0
- data/node_modules/parse5/lib/tokenizer/named-entity-data.js +5 -0
- data/node_modules/parse5/lib/tokenizer/preprocessor.js +159 -0
- data/node_modules/parse5/lib/tree-adapters/default.js +221 -0
- data/node_modules/parse5/lib/utils/merge-options.js +13 -0
- data/node_modules/parse5/lib/utils/mixin.js +39 -0
- data/node_modules/parse5/package.json +35 -0
- data/node_modules/prelude-ls/CHANGELOG.md +99 -0
- data/node_modules/prelude-ls/LICENSE +22 -0
- data/node_modules/prelude-ls/README.md +15 -0
- data/node_modules/prelude-ls/lib/Func.js +65 -0
- data/node_modules/prelude-ls/lib/List.js +686 -0
- data/node_modules/prelude-ls/lib/Num.js +130 -0
- data/node_modules/prelude-ls/lib/Obj.js +154 -0
- data/node_modules/prelude-ls/lib/Str.js +92 -0
- data/node_modules/prelude-ls/lib/index.js +178 -0
- data/node_modules/prelude-ls/package.json +52 -0
- data/node_modules/psl/LICENSE +9 -0
- data/node_modules/psl/README.md +215 -0
- data/node_modules/psl/browserstack-logo.svg +90 -0
- data/node_modules/psl/data/rules.json +8834 -0
- data/node_modules/psl/dist/psl.js +9645 -0
- data/node_modules/psl/dist/psl.min.js +1 -0
- data/node_modules/psl/index.js +269 -0
- data/node_modules/psl/package.json +44 -0
- data/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/node_modules/punycode/README.md +122 -0
- data/node_modules/punycode/package.json +58 -0
- data/node_modules/punycode/punycode.es6.js +441 -0
- data/node_modules/punycode/punycode.js +440 -0
- data/node_modules/safer-buffer/LICENSE +21 -0
- data/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- data/node_modules/safer-buffer/Readme.md +156 -0
- data/node_modules/safer-buffer/dangerous.js +58 -0
- data/node_modules/safer-buffer/package.json +34 -0
- data/node_modules/safer-buffer/safer.js +77 -0
- data/node_modules/safer-buffer/tests.js +406 -0
- data/node_modules/saxes/README.md +323 -0
- data/node_modules/saxes/package.json +70 -0
- data/node_modules/saxes/saxes.d.ts +635 -0
- data/node_modules/saxes/saxes.js +2064 -0
- data/node_modules/saxes/saxes.js.map +1 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/symbol-tree/LICENSE +21 -0
- data/node_modules/symbol-tree/README.md +545 -0
- data/node_modules/symbol-tree/lib/SymbolTree.js +838 -0
- data/node_modules/symbol-tree/lib/SymbolTreeNode.js +54 -0
- data/node_modules/symbol-tree/lib/TreeIterator.js +69 -0
- data/node_modules/symbol-tree/lib/TreePosition.js +11 -0
- data/node_modules/symbol-tree/package.json +47 -0
- data/node_modules/tough-cookie/LICENSE +12 -0
- data/node_modules/tough-cookie/README.md +582 -0
- data/node_modules/tough-cookie/lib/cookie.js +1671 -0
- data/node_modules/tough-cookie/lib/memstore.js +190 -0
- data/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- data/node_modules/tough-cookie/lib/permuteDomain.js +70 -0
- data/node_modules/tough-cookie/lib/pubsuffix-psl.js +38 -0
- data/node_modules/tough-cookie/lib/store.js +76 -0
- data/node_modules/tough-cookie/lib/version.js +2 -0
- data/node_modules/tough-cookie/node_modules/universalify/LICENSE +20 -0
- data/node_modules/tough-cookie/node_modules/universalify/README.md +76 -0
- data/node_modules/tough-cookie/node_modules/universalify/index.js +25 -0
- data/node_modules/tough-cookie/node_modules/universalify/package.json +34 -0
- data/node_modules/tough-cookie/package.json +109 -0
- data/node_modules/tr46/LICENSE.md +21 -0
- data/node_modules/tr46/README.md +72 -0
- data/node_modules/tr46/index.js +297 -0
- data/node_modules/tr46/lib/mappingTable.json +1 -0
- data/node_modules/tr46/lib/regexes.js +29 -0
- data/node_modules/tr46/lib/statusMapping.js +11 -0
- data/node_modules/tr46/package.json +46 -0
- data/node_modules/type-check/LICENSE +22 -0
- data/node_modules/type-check/README.md +210 -0
- data/node_modules/type-check/lib/check.js +126 -0
- data/node_modules/type-check/lib/index.js +16 -0
- data/node_modules/type-check/lib/parse-type.js +196 -0
- data/node_modules/type-check/package.json +40 -0
- data/node_modules/w3c-hr-time/CHANGELOG.md +19 -0
- data/node_modules/w3c-hr-time/LICENSE.md +21 -0
- data/node_modules/w3c-hr-time/README.md +130 -0
- data/node_modules/w3c-hr-time/index.js +11 -0
- data/node_modules/w3c-hr-time/lib/calculate-clock-offset.js +39 -0
- data/node_modules/w3c-hr-time/lib/clock-is-accurate.js +61 -0
- data/node_modules/w3c-hr-time/lib/global-monotonic-clock.js +10 -0
- data/node_modules/w3c-hr-time/lib/performance.js +53 -0
- data/node_modules/w3c-hr-time/lib/utils.js +11 -0
- data/node_modules/w3c-hr-time/package.json +26 -0
- data/node_modules/w3c-xmlserializer/LICENSE.md +25 -0
- data/node_modules/w3c-xmlserializer/README.md +41 -0
- data/node_modules/w3c-xmlserializer/lib/attributes.js +128 -0
- data/node_modules/w3c-xmlserializer/lib/constants.js +44 -0
- data/node_modules/w3c-xmlserializer/lib/serialize.js +371 -0
- data/node_modules/w3c-xmlserializer/package.json +32 -0
- data/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/webidl-conversions/README.md +101 -0
- data/node_modules/webidl-conversions/lib/index.js +489 -0
- data/node_modules/webidl-conversions/package.json +30 -0
- data/node_modules/whatwg-encoding/LICENSE.txt +7 -0
- data/node_modules/whatwg-encoding/README.md +50 -0
- data/node_modules/whatwg-encoding/lib/labels-to-names.json +207 -0
- data/node_modules/whatwg-encoding/lib/supported-names.json +37 -0
- data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +47 -0
- data/node_modules/whatwg-encoding/package.json +29 -0
- data/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
- data/node_modules/whatwg-mimetype/README.md +101 -0
- data/node_modules/whatwg-mimetype/lib/mime-type.js +191 -0
- data/node_modules/whatwg-mimetype/lib/parser.js +124 -0
- data/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
- data/node_modules/whatwg-mimetype/lib/utils.js +25 -0
- data/node_modules/whatwg-mimetype/package.json +43 -0
- data/node_modules/whatwg-url/LICENSE.txt +21 -0
- data/node_modules/whatwg-url/README.md +104 -0
- data/node_modules/whatwg-url/dist/Function.js +46 -0
- data/node_modules/whatwg-url/dist/URL-impl.js +217 -0
- data/node_modules/whatwg-url/dist/URL.js +417 -0
- data/node_modules/whatwg-url/dist/URLSearchParams-impl.js +122 -0
- data/node_modules/whatwg-url/dist/URLSearchParams.js +457 -0
- data/node_modules/whatwg-url/dist/VoidFunction.js +30 -0
- data/node_modules/whatwg-url/dist/encoding.js +26 -0
- data/node_modules/whatwg-url/dist/infra.js +26 -0
- data/node_modules/whatwg-url/dist/percent-encoding.js +141 -0
- data/node_modules/whatwg-url/dist/url-state-machine.js +1210 -0
- data/node_modules/whatwg-url/dist/urlencoded.js +102 -0
- data/node_modules/whatwg-url/dist/utils.js +141 -0
- data/node_modules/whatwg-url/index.js +24 -0
- data/node_modules/whatwg-url/package.json +60 -0
- data/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
- data/node_modules/word-wrap/LICENSE +21 -0
- data/node_modules/word-wrap/README.md +182 -0
- data/node_modules/word-wrap/index.d.ts +50 -0
- data/node_modules/word-wrap/index.js +46 -0
- data/node_modules/word-wrap/package.json +77 -0
- data/node_modules/ws/LICENSE +21 -0
- data/node_modules/ws/README.md +496 -0
- data/node_modules/ws/browser.js +8 -0
- data/node_modules/ws/index.js +10 -0
- data/node_modules/ws/lib/buffer-util.js +129 -0
- data/node_modules/ws/lib/constants.js +10 -0
- data/node_modules/ws/lib/event-target.js +184 -0
- data/node_modules/ws/lib/extension.js +223 -0
- data/node_modules/ws/lib/limiter.js +55 -0
- data/node_modules/ws/lib/permessage-deflate.js +518 -0
- data/node_modules/ws/lib/receiver.js +607 -0
- data/node_modules/ws/lib/sender.js +409 -0
- data/node_modules/ws/lib/stream.js +177 -0
- data/node_modules/ws/lib/validation.js +104 -0
- data/node_modules/ws/lib/websocket-server.js +447 -0
- data/node_modules/ws/lib/websocket.js +1078 -0
- data/node_modules/ws/package.json +56 -0
- data/node_modules/xml-name-validator/LICENSE.txt +176 -0
- data/node_modules/xml-name-validator/README.md +36 -0
- data/node_modules/xml-name-validator/lib/generated-parser.js +504 -0
- data/node_modules/xml-name-validator/lib/grammar.pegjs +35 -0
- data/node_modules/xml-name-validator/lib/xml-name-validator.js +17 -0
- data/node_modules/xml-name-validator/package.json +28 -0
- data/node_modules/xmlchars/LICENSE +18 -0
- data/node_modules/xmlchars/README.md +33 -0
- data/node_modules/xmlchars/package.json +51 -0
- data/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
- data/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- data/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
- data/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
- data/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- data/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
- data/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
- data/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- data/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
- data/node_modules/xmlchars/xmlchars.d.ts +170 -0
- data/node_modules/xmlchars/xmlchars.js +191 -0
- data/node_modules/xmlchars/xmlchars.js.map +1 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- data/package.json +1 -1
- data/release.sh +2 -1
- data/spec/depends/api_spec.rb +1 -1
- data/spec/fixtures/depends/revoke_api_key.appmap.json +3 -3
- data/spec/fixtures/depends/user_page_scenario.appmap.json +3 -3
- data/spec/fixtures/rails6_users_app/Gemfile +1 -1
- data/spec/fixtures/rails6_users_app/docker-compose.yml +1 -1
- data/spec/hook_spec.rb +6 -4
- data/spec/rails_recording_spec.rb +5 -2
- data/spec/railtie_spec.rb +3 -3
- data/spec/record_sql_rails_pg_spec.rb +1 -1
- data/spec/remote_recording_spec.rb +3 -3
- data/spec/spec_helper.rb +4 -0
- data/test/agent_setup_validate_test.rb +3 -3
- data/yarn.lock +408 -20
- metadata +2219 -100
- data/node_modules/@appland/cli/CHANGELOG.md +0 -96
- data/node_modules/@appland/cli/package.json +0 -49
- data/node_modules/@appland/cli/src/appland/listAppMaps.js +0 -58
- data/node_modules/@appland/cli/src/appland/types.d.ts +0 -16
- data/node_modules/@appland/cli/src/cli.js +0 -576
- data/node_modules/@appland/cli/src/utils.js +0 -164
- data/node_modules/@appland/cli/tests/unit/depends.spec.js +0 -55
- data/node_modules/@appland/cli/tests/unit/fingerprint/canonicalize.spec.js +0 -42
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.info.json +0 -246
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.trace.json +0 -289
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.update.json +0 -78
- data/node_modules/@appland/cli/tests/unit/fixtures/revoke_api_key.appmap.json +0 -899
- data/node_modules/@appland/cli/tests/unit/fixtures/user_page_scenario.appmap.json +0 -1774
- data/node_modules/@appland/cli/tests/unit/inspect.spec.js +0 -94
- data/node_modules/@rollup/plugin-alias/CHANGELOG.md +0 -92
- data/node_modules/@rollup/plugin-alias/LICENSE +0 -21
- data/node_modules/@rollup/plugin-alias/README.md +0 -174
- data/node_modules/@rollup/plugin-alias/dist/index.es.js +0 -95
- data/node_modules/@rollup/plugin-alias/dist/index.js +0 -101
- data/node_modules/@rollup/plugin-alias/package.json +0 -78
- data/node_modules/@rollup/plugin-alias/types/index.d.ts +0 -36
- data/node_modules/fsevents/LICENSE +0 -22
- data/node_modules/fsevents/README.md +0 -83
- data/node_modules/fsevents/fsevents.d.ts +0 -46
- data/node_modules/fsevents/fsevents.js +0 -82
- data/node_modules/fsevents/fsevents.node +0 -0
- data/node_modules/fsevents/package.json +0 -62
- data/node_modules/slash/index.d.ts +0 -25
- data/node_modules/slash/index.js +0 -11
- data/node_modules/slash/license +0 -9
- data/node_modules/slash/package.json +0 -35
- data/node_modules/slash/readme.md +0 -44
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
// https://drafts.csswg.org/cssom-view-1/#the-screen-interface
|
4
|
+
class ScreenImpl {}
|
5
|
+
|
6
|
+
ScreenImpl.prototype.availWidth = 0;
|
7
|
+
ScreenImpl.prototype.availHeight = 0;
|
8
|
+
ScreenImpl.prototype.width = 0;
|
9
|
+
ScreenImpl.prototype.height = 0;
|
10
|
+
ScreenImpl.prototype.colorDepth = 24;
|
11
|
+
ScreenImpl.prototype.pixelDepth = 24;
|
12
|
+
|
13
|
+
exports.implementation = ScreenImpl;
|
@@ -0,0 +1,163 @@
|
|
1
|
+
"use strict";
|
2
|
+
const whatwgURL = require("whatwg-url");
|
3
|
+
const HashChangeEvent = require("../generated/HashChangeEvent.js");
|
4
|
+
const PopStateEvent = require("../generated/PopStateEvent.js");
|
5
|
+
const notImplemented = require("../../browser/not-implemented.js");
|
6
|
+
const idlUtils = require("../generated/utils.js");
|
7
|
+
const { fireAnEvent } = require("../helpers/events");
|
8
|
+
|
9
|
+
// https://html.spec.whatwg.org/#session-history
|
10
|
+
class SessionHistory {
|
11
|
+
constructor(initialEntry, window) {
|
12
|
+
this._window = window;
|
13
|
+
this._windowImpl = idlUtils.implForWrapper(window);
|
14
|
+
this._historyTraversalQueue = new Set();
|
15
|
+
this._entries = [initialEntry];
|
16
|
+
this._currentIndex = 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
_queueHistoryTraversalTask(fn) {
|
20
|
+
const timeoutId = this._window.setTimeout(() => {
|
21
|
+
this._historyTraversalQueue.delete(timeoutId);
|
22
|
+
fn();
|
23
|
+
}, 0);
|
24
|
+
|
25
|
+
this._historyTraversalQueue.add(timeoutId);
|
26
|
+
}
|
27
|
+
|
28
|
+
clearHistoryTraversalTasks() {
|
29
|
+
for (const timeoutId of this._historyTraversalQueue) {
|
30
|
+
this._window.clearTimeout(timeoutId);
|
31
|
+
}
|
32
|
+
this._historyTraversalQueue.clear();
|
33
|
+
}
|
34
|
+
|
35
|
+
get length() {
|
36
|
+
return this._entries.length;
|
37
|
+
}
|
38
|
+
|
39
|
+
get currentEntry() {
|
40
|
+
return this._entries[this._currentIndex];
|
41
|
+
}
|
42
|
+
|
43
|
+
// https://html.spec.whatwg.org/#dom-history-pushstate
|
44
|
+
removeAllEntriesAfterCurrentEntry() {
|
45
|
+
this._entries.splice(this._currentIndex + 1, Infinity);
|
46
|
+
}
|
47
|
+
|
48
|
+
// https://html.spec.whatwg.org/#traverse-the-history-by-a-delta
|
49
|
+
traverseByDelta(delta) {
|
50
|
+
this._queueHistoryTraversalTask(() => {
|
51
|
+
const newIndex = this._currentIndex + delta;
|
52
|
+
if (newIndex < 0 || newIndex >= this.length) {
|
53
|
+
return;
|
54
|
+
}
|
55
|
+
|
56
|
+
const specifiedEntry = this._entries[newIndex];
|
57
|
+
|
58
|
+
// Not implemented: unload a document guard
|
59
|
+
|
60
|
+
// Not clear that this should be queued. html/browsers/history/the-history-interface/004.html can be fixed
|
61
|
+
// by removing the queue, but doing so breaks some tests in history.js that also pass in browsers.
|
62
|
+
this._queueHistoryTraversalTask(() => {
|
63
|
+
// If there is an ongoing attempt to navigate specified browsing context that has not yet matured,
|
64
|
+
// then cancel that attempt to navigate the browsing context.
|
65
|
+
|
66
|
+
// Doing this seems to break tests involving navigating via push/pop state and via fragments. I think this
|
67
|
+
// is because these navigations should already count as having "matured" because the document is not changing.
|
68
|
+
|
69
|
+
// this.clearHistoryTraversalTasks();
|
70
|
+
|
71
|
+
if (specifiedEntry.document !== this.currentEntry.document) {
|
72
|
+
// TODO: unload the active document with the recycle parameter set to false
|
73
|
+
notImplemented("Traversing history in a way that would change the window", this._window);
|
74
|
+
}
|
75
|
+
this.traverseHistory(specifiedEntry);
|
76
|
+
});
|
77
|
+
});
|
78
|
+
}
|
79
|
+
|
80
|
+
// https://html.spec.whatwg.org/#traverse-the-history
|
81
|
+
traverseHistory(specifiedEntry, flags = {}) {
|
82
|
+
if (!specifiedEntry.document) {
|
83
|
+
// If entry no longer holds a Document object, then navigate the browsing context to entry's URL
|
84
|
+
// to perform an entry update of entry, and abort these steps
|
85
|
+
notImplemented("Traversing the history to an entry that no longer holds a Document object", this._window);
|
86
|
+
}
|
87
|
+
// Not spec compliant, just minimal. Lots of missing steps.
|
88
|
+
|
89
|
+
const nonBlockingEvents = Boolean(flags.nonBlockingEvents);
|
90
|
+
|
91
|
+
const document = idlUtils.implForWrapper(this._window._document);
|
92
|
+
|
93
|
+
const { currentEntry } = this;
|
94
|
+
|
95
|
+
// If the current entry's title was not set by the pushState() or replaceState() methods, then set its title
|
96
|
+
// to the value returned by the document.title IDL attribute.
|
97
|
+
if (currentEntry.title === undefined) {
|
98
|
+
currentEntry.title = document.title;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
if (specifiedEntry.document !== currentEntry.document) {
|
103
|
+
// If entry has a different Document object than the current entry, then...
|
104
|
+
notImplemented("Traversing the history to an entry with a different Document", this._window);
|
105
|
+
}
|
106
|
+
|
107
|
+
document._URL = specifiedEntry.url;
|
108
|
+
|
109
|
+
const hashChanged =
|
110
|
+
specifiedEntry.url.fragment !== currentEntry.url.fragment && specifiedEntry.document === currentEntry.document;
|
111
|
+
let oldURL, newURL;
|
112
|
+
if (hashChanged) {
|
113
|
+
oldURL = currentEntry.url;
|
114
|
+
newURL = specifiedEntry.url;
|
115
|
+
}
|
116
|
+
|
117
|
+
if (flags.replacement) {
|
118
|
+
// If the traversal was initiated with replacement enabled, remove the entry immediately before the
|
119
|
+
// specified entry in the session history.
|
120
|
+
this._entries.splice(this._entries.indexOf(specifiedEntry) - 1, 1);
|
121
|
+
}
|
122
|
+
|
123
|
+
this.updateCurrentEntry(specifiedEntry);
|
124
|
+
|
125
|
+
const state = specifiedEntry.stateObject; // TODO structured clone
|
126
|
+
|
127
|
+
// arguably it's a bit odd that the state and latestEntry do not belong to the SessionHistory
|
128
|
+
// but the spec gives them to "History" and "Document" respecively.
|
129
|
+
document._history._state = state;
|
130
|
+
const stateChanged = specifiedEntry.document._latestEntry !== specifiedEntry;
|
131
|
+
specifiedEntry.document._latestEntry = specifiedEntry;
|
132
|
+
|
133
|
+
const fireEvents = () => this._fireEvents(stateChanged, hashChanged, state, oldURL, newURL);
|
134
|
+
|
135
|
+
if (nonBlockingEvents) {
|
136
|
+
this._window.setTimeout(fireEvents, 0);
|
137
|
+
} else {
|
138
|
+
fireEvents();
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
_fireEvents(stateChanged, hashChanged, state, oldURL, newURL) {
|
143
|
+
if (stateChanged) {
|
144
|
+
fireAnEvent("popstate", this._windowImpl, PopStateEvent, { state });
|
145
|
+
}
|
146
|
+
|
147
|
+
if (hashChanged) {
|
148
|
+
fireAnEvent("hashchange", this._windowImpl, HashChangeEvent, {
|
149
|
+
oldURL: whatwgURL.serializeURL(oldURL),
|
150
|
+
newURL: whatwgURL.serializeURL(newURL)
|
151
|
+
});
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
addEntryAfterCurrentEntry(entry) {
|
156
|
+
this._entries.splice(this._currentIndex + 1, 0, entry);
|
157
|
+
}
|
158
|
+
|
159
|
+
updateCurrentEntry(entry) {
|
160
|
+
this._currentIndex = this._entries.indexOf(entry);
|
161
|
+
}
|
162
|
+
}
|
163
|
+
module.exports = SessionHistory;
|
@@ -0,0 +1,84 @@
|
|
1
|
+
"use strict";
|
2
|
+
const whatwgURL = require("whatwg-url");
|
3
|
+
const notImplemented = require("../../browser/not-implemented.js");
|
4
|
+
const reportException = require("../helpers/runtime-script-errors.js");
|
5
|
+
const idlUtils = require("../generated/utils.js");
|
6
|
+
|
7
|
+
exports.evaluateJavaScriptURL = (window, urlRecord) => {
|
8
|
+
const urlString = whatwgURL.serializeURL(urlRecord);
|
9
|
+
const scriptSource = whatwgURL.percentDecode(Buffer.from(urlString)).toString();
|
10
|
+
if (window._runScripts === "dangerously") {
|
11
|
+
try {
|
12
|
+
return window.eval(scriptSource);
|
13
|
+
} catch (e) {
|
14
|
+
reportException(window, e, urlString);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return undefined;
|
18
|
+
};
|
19
|
+
|
20
|
+
// https://html.spec.whatwg.org/#navigating-across-documents
|
21
|
+
exports.navigate = (window, newURL, flags) => {
|
22
|
+
// This is NOT a spec-compliant implementation of navigation in any way. It implements a few selective steps that
|
23
|
+
// are nice for jsdom users, regarding hash changes and JavaScript URLs. Full navigation support is being worked on
|
24
|
+
// and will likely require some additional hooks to be implemented.
|
25
|
+
if (!window._document) {
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
|
29
|
+
const document = idlUtils.implForWrapper(window._document);
|
30
|
+
const currentURL = document._URL;
|
31
|
+
|
32
|
+
if (!flags.reloadTriggered && urlEquals(currentURL, newURL, { excludeFragments: true })) {
|
33
|
+
if (newURL.fragment !== currentURL.fragment) {
|
34
|
+
navigateToFragment(window, newURL, flags);
|
35
|
+
}
|
36
|
+
return;
|
37
|
+
}
|
38
|
+
|
39
|
+
// NOT IMPLEMENTED: Prompt to unload the active document of browsingContext.
|
40
|
+
|
41
|
+
// NOT IMPLEMENTED: form submission algorithm
|
42
|
+
// const navigationType = 'other';
|
43
|
+
|
44
|
+
// NOT IMPLEMENTED: if resource is a response...
|
45
|
+
if (newURL.scheme === "javascript") {
|
46
|
+
setTimeout(() => {
|
47
|
+
const result = exports.evaluateJavaScriptURL(window, newURL);
|
48
|
+
if (typeof result === "string") {
|
49
|
+
notImplemented("string results from 'javascript:' URLs", window);
|
50
|
+
}
|
51
|
+
}, 0);
|
52
|
+
return;
|
53
|
+
}
|
54
|
+
navigateFetch(window);
|
55
|
+
};
|
56
|
+
|
57
|
+
// https://html.spec.whatwg.org/#scroll-to-fragid
|
58
|
+
function navigateToFragment(window, newURL, flags) {
|
59
|
+
const document = idlUtils.implForWrapper(window._document);
|
60
|
+
|
61
|
+
window._sessionHistory.clearHistoryTraversalTasks();
|
62
|
+
|
63
|
+
if (!flags.replacement) {
|
64
|
+
// handling replacement=true here deviates from spec, but matches real browser behaviour
|
65
|
+
// see https://github.com/whatwg/html/issues/2796 for spec bug
|
66
|
+
window._sessionHistory.removeAllEntriesAfterCurrentEntry();
|
67
|
+
}
|
68
|
+
const newEntry = { document, url: newURL };
|
69
|
+
window._sessionHistory.addEntryAfterCurrentEntry(newEntry);
|
70
|
+
window._sessionHistory.traverseHistory(newEntry, { nonBlockingEvents: true, replacement: flags.replacement });
|
71
|
+
}
|
72
|
+
|
73
|
+
// https://html.spec.whatwg.org/#process-a-navigate-fetch
|
74
|
+
function navigateFetch(window) {
|
75
|
+
// TODO:
|
76
|
+
notImplemented("navigation (except hash changes)", window);
|
77
|
+
}
|
78
|
+
|
79
|
+
// https://url.spec.whatwg.org/#concept-url-equals
|
80
|
+
function urlEquals(a, b, flags) {
|
81
|
+
const serializedA = whatwgURL.serializeURL(a, flags.excludeFragments);
|
82
|
+
const serializedB = whatwgURL.serializeURL(b, flags.excludeFragments);
|
83
|
+
return serializedA === serializedB;
|
84
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
"use strict";
|
2
|
+
const idlUtils = require("../generated/utils");
|
3
|
+
const { closest } = require("../helpers/traversal");
|
4
|
+
const { isDisabled, isSubmittable, isButton } = require("../helpers/form-controls");
|
5
|
+
const Blob = require("../generated/Blob.js");
|
6
|
+
const File = require("../generated/File.js");
|
7
|
+
const conversions = require("webidl-conversions");
|
8
|
+
|
9
|
+
exports.implementation = class FormDataImpl {
|
10
|
+
constructor(globalObject, args) {
|
11
|
+
this._globalObject = globalObject;
|
12
|
+
this._entries = [];
|
13
|
+
|
14
|
+
if (args[0] !== undefined) {
|
15
|
+
this._entries = constructTheEntryList(args[0]);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
append(name, value, filename) {
|
20
|
+
const entry = createAnEntry(name, value, filename);
|
21
|
+
this._entries.push(entry);
|
22
|
+
}
|
23
|
+
|
24
|
+
delete(name) {
|
25
|
+
this._entries = this._entries.filter(entry => entry.name !== name);
|
26
|
+
}
|
27
|
+
|
28
|
+
get(name) {
|
29
|
+
const foundEntry = this._entries.find(entry => entry.name === name);
|
30
|
+
return foundEntry !== undefined ? idlUtils.tryWrapperForImpl(foundEntry.value) : null;
|
31
|
+
}
|
32
|
+
|
33
|
+
getAll(name) {
|
34
|
+
return this._entries.filter(entry => entry.name === name).map(entry => idlUtils.tryWrapperForImpl(entry.value));
|
35
|
+
}
|
36
|
+
|
37
|
+
has(name) {
|
38
|
+
return this._entries.findIndex(entry => entry.name === name) !== -1;
|
39
|
+
}
|
40
|
+
|
41
|
+
set(name, value, filename) {
|
42
|
+
const entry = createAnEntry(name, value, filename);
|
43
|
+
|
44
|
+
const foundIndex = this._entries.findIndex(e => e.name === name);
|
45
|
+
if (foundIndex !== -1) {
|
46
|
+
this._entries[foundIndex] = entry;
|
47
|
+
this._entries = this._entries.filter((e, i) => e.name !== name || i === foundIndex);
|
48
|
+
} else {
|
49
|
+
this._entries.push(entry);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
* [Symbol.iterator]() {
|
54
|
+
for (const entry of this._entries) {
|
55
|
+
yield [entry.name, idlUtils.tryWrapperForImpl(entry.value)];
|
56
|
+
}
|
57
|
+
}
|
58
|
+
};
|
59
|
+
|
60
|
+
function createAnEntry(name, value, filename) {
|
61
|
+
const entry = { name };
|
62
|
+
|
63
|
+
// https://github.com/whatwg/xhr/issues/75
|
64
|
+
|
65
|
+
if (Blob.isImpl(value) && !File.isImpl(value)) {
|
66
|
+
const oldValue = value;
|
67
|
+
value = File.createImpl(value._globalObject, [
|
68
|
+
[],
|
69
|
+
"blob",
|
70
|
+
{ type: oldValue.type }
|
71
|
+
]);
|
72
|
+
// "representing the same bytes"
|
73
|
+
value._buffer = oldValue._buffer;
|
74
|
+
}
|
75
|
+
|
76
|
+
if (File.isImpl(value) && filename !== undefined) {
|
77
|
+
const oldValue = value;
|
78
|
+
value = File.createImpl(value._globalObject, [
|
79
|
+
[],
|
80
|
+
filename,
|
81
|
+
// spec makes no mention of `lastModified`; assume it is inherited
|
82
|
+
// (Chrome's behavior)
|
83
|
+
{ type: oldValue.type, lastModified: oldValue.lastModified }
|
84
|
+
]);
|
85
|
+
// "representing the same bytes"
|
86
|
+
value._buffer = oldValue._buffer;
|
87
|
+
}
|
88
|
+
|
89
|
+
entry.value = value;
|
90
|
+
|
91
|
+
return entry;
|
92
|
+
}
|
93
|
+
|
94
|
+
function constructTheEntryList(form, submitter) {
|
95
|
+
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-the-form-data-set
|
96
|
+
// TODO: handle encoding
|
97
|
+
// TODO: handling "constructing entry list"
|
98
|
+
|
99
|
+
const controls = form.elements.filter(isSubmittable); // submittable is a subset of listed
|
100
|
+
const entryList = [];
|
101
|
+
|
102
|
+
for (const field of controls) {
|
103
|
+
if (closest(field, "datalist") !== null) {
|
104
|
+
continue;
|
105
|
+
}
|
106
|
+
if (isDisabled(field)) {
|
107
|
+
continue;
|
108
|
+
}
|
109
|
+
if (isButton(field) && field !== submitter) {
|
110
|
+
continue;
|
111
|
+
}
|
112
|
+
if (field.type === "checkbox" && field._checkedness === false) {
|
113
|
+
continue;
|
114
|
+
}
|
115
|
+
if (field.type === "radio" && field._checkedness === false) {
|
116
|
+
continue;
|
117
|
+
}
|
118
|
+
if (field.localName === "object") { // in jsdom, no objects are "using a plugin"
|
119
|
+
continue;
|
120
|
+
}
|
121
|
+
|
122
|
+
// TODO: Handle <input type="image">
|
123
|
+
// TODO: handle form-associated custom elements.
|
124
|
+
|
125
|
+
const name = field.getAttributeNS(null, "name");
|
126
|
+
if (name === null || name === "") {
|
127
|
+
continue;
|
128
|
+
}
|
129
|
+
|
130
|
+
if (field.localName === "select") {
|
131
|
+
for (const option of field.options) {
|
132
|
+
if (option._selectedness === true && !isDisabled(field)) {
|
133
|
+
appendAnEntry(entryList, name, option._getValue());
|
134
|
+
}
|
135
|
+
}
|
136
|
+
} else if (field.localName === "input" && (field.type === "checkbox" || field.type === "radio")) {
|
137
|
+
const value = field.hasAttributeNS(null, "value") ? field.getAttributeNS(null, "value") : "on";
|
138
|
+
appendAnEntry(entryList, name, value);
|
139
|
+
} else if (field.type === "file") {
|
140
|
+
if (field.files.length === 0) {
|
141
|
+
const value = File.createImpl(form._globalObject, [[], "", { type: "application/octet-stream" }]);
|
142
|
+
appendAnEntry(entryList, name, value);
|
143
|
+
} else {
|
144
|
+
for (let i = 0; i < field.files.length; ++i) {
|
145
|
+
appendAnEntry(entryList, name, field.files.item(i));
|
146
|
+
}
|
147
|
+
}
|
148
|
+
} else {
|
149
|
+
appendAnEntry(entryList, name, field._getValue());
|
150
|
+
}
|
151
|
+
|
152
|
+
const dirname = field.getAttributeNS(null, "dirname");
|
153
|
+
if (dirname !== null && dirname !== "") {
|
154
|
+
const dir = "ltr"; // jsdom does not (yet?) implement actual directionality
|
155
|
+
appendAnEntry(entryList, dirname, dir);
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
// TODO: formdata event
|
160
|
+
|
161
|
+
return entryList;
|
162
|
+
}
|
163
|
+
|
164
|
+
function appendAnEntry(entryList, name, value) {
|
165
|
+
name = conversions.USVString(name);
|
166
|
+
if (!File.isImpl(value)) {
|
167
|
+
value = conversions.USVString(value);
|
168
|
+
}
|
169
|
+
const entry = createAnEntry(name, value);
|
170
|
+
entryList.push(entry);
|
171
|
+
}
|
@@ -0,0 +1,1023 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
const HTTP_STATUS_CODES = require("http").STATUS_CODES;
|
4
|
+
const { spawnSync } = require("child_process");
|
5
|
+
const { URL } = require("whatwg-url");
|
6
|
+
const whatwgEncoding = require("whatwg-encoding");
|
7
|
+
const tough = require("tough-cookie");
|
8
|
+
const MIMEType = require("whatwg-mimetype");
|
9
|
+
|
10
|
+
const xhrUtils = require("./xhr-utils");
|
11
|
+
const DOMException = require("domexception/webidl2js-wrapper");
|
12
|
+
const { documentBaseURLSerialized } = require("../helpers/document-base-url");
|
13
|
+
const { asciiCaseInsensitiveMatch } = require("../helpers/strings");
|
14
|
+
const idlUtils = require("../generated/utils");
|
15
|
+
const Document = require("../generated/Document");
|
16
|
+
const Blob = require("../generated/Blob");
|
17
|
+
const FormData = require("../generated/FormData");
|
18
|
+
const XMLHttpRequestEventTargetImpl = require("./XMLHttpRequestEventTarget-impl").implementation;
|
19
|
+
const XMLHttpRequestUpload = require("../generated/XMLHttpRequestUpload");
|
20
|
+
const ProgressEvent = require("../generated/ProgressEvent");
|
21
|
+
const { isArrayBuffer } = require("../generated/utils");
|
22
|
+
const { parseIntoDocument } = require("../../browser/parser");
|
23
|
+
const { fragmentSerialization } = require("../domparsing/serialization");
|
24
|
+
const { setupForSimpleEventAccessors } = require("../helpers/create-event-accessor");
|
25
|
+
const { parseJSONFromBytes } = require("../helpers/json");
|
26
|
+
const { fireAnEvent } = require("../helpers/events");
|
27
|
+
const { copyToArrayBufferInNewRealm } = require("../helpers/binary-data");
|
28
|
+
|
29
|
+
const { READY_STATES } = xhrUtils;
|
30
|
+
|
31
|
+
const syncWorkerFile = require.resolve ? require.resolve("./xhr-sync-worker.js") : null;
|
32
|
+
|
33
|
+
const tokenRegexp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
34
|
+
const fieldValueRegexp = /^[ \t]*(?:[\x21-\x7E\x80-\xFF](?:[ \t][\x21-\x7E\x80-\xFF])?)*[ \t]*$/;
|
35
|
+
|
36
|
+
const forbiddenRequestHeaders = new Set([
|
37
|
+
"accept-charset",
|
38
|
+
"accept-encoding",
|
39
|
+
"access-control-request-headers",
|
40
|
+
"access-control-request-method",
|
41
|
+
"connection",
|
42
|
+
"content-length",
|
43
|
+
"cookie",
|
44
|
+
"cookie2",
|
45
|
+
"date",
|
46
|
+
"dnt",
|
47
|
+
"expect",
|
48
|
+
"host",
|
49
|
+
"keep-alive",
|
50
|
+
"origin",
|
51
|
+
"referer",
|
52
|
+
"te",
|
53
|
+
"trailer",
|
54
|
+
"transfer-encoding",
|
55
|
+
"upgrade",
|
56
|
+
"via"
|
57
|
+
]);
|
58
|
+
const forbiddenResponseHeaders = new Set([
|
59
|
+
"set-cookie",
|
60
|
+
"set-cookie2"
|
61
|
+
]);
|
62
|
+
const uniqueResponseHeaders = new Set([
|
63
|
+
"content-type",
|
64
|
+
"content-length",
|
65
|
+
"user-agent",
|
66
|
+
"referer",
|
67
|
+
"host",
|
68
|
+
"authorization",
|
69
|
+
"proxy-authorization",
|
70
|
+
"if-modified-since",
|
71
|
+
"if-unmodified-since",
|
72
|
+
"from",
|
73
|
+
"location",
|
74
|
+
"max-forwards"
|
75
|
+
]);
|
76
|
+
const corsSafeResponseHeaders = new Set([
|
77
|
+
"cache-control",
|
78
|
+
"content-language",
|
79
|
+
"content-length",
|
80
|
+
"content-type",
|
81
|
+
"expires",
|
82
|
+
"last-modified",
|
83
|
+
"pragma"
|
84
|
+
]);
|
85
|
+
|
86
|
+
const allowedRequestMethods = new Set(["OPTIONS", "GET", "HEAD", "POST", "PUT", "DELETE"]);
|
87
|
+
const forbiddenRequestMethods = new Set(["TRACK", "TRACE", "CONNECT"]);
|
88
|
+
|
89
|
+
class XMLHttpRequestImpl extends XMLHttpRequestEventTargetImpl {
|
90
|
+
constructor(window) {
|
91
|
+
super(window);
|
92
|
+
|
93
|
+
// Avoid running `_ownerDocument` getter multiple times in the constructor:
|
94
|
+
const { _ownerDocument } = this;
|
95
|
+
|
96
|
+
this.upload = XMLHttpRequestUpload.createImpl(window);
|
97
|
+
|
98
|
+
this.readyState = READY_STATES.UNSENT;
|
99
|
+
this.responseURL = "";
|
100
|
+
this.status = 0;
|
101
|
+
this.statusText = "";
|
102
|
+
|
103
|
+
this.flag = {
|
104
|
+
synchronous: false,
|
105
|
+
withCredentials: false,
|
106
|
+
mimeType: null,
|
107
|
+
auth: null,
|
108
|
+
method: undefined,
|
109
|
+
responseType: "",
|
110
|
+
requestHeaders: {},
|
111
|
+
referrer: _ownerDocument.URL,
|
112
|
+
uri: "",
|
113
|
+
timeout: 0,
|
114
|
+
body: undefined,
|
115
|
+
formData: false,
|
116
|
+
preflight: false,
|
117
|
+
requestManager: _ownerDocument._requestManager,
|
118
|
+
strictSSL: window._resourceLoader._strictSSL,
|
119
|
+
proxy: window._resourceLoader._proxy,
|
120
|
+
cookieJar: _ownerDocument._cookieJar,
|
121
|
+
encoding: _ownerDocument._encoding,
|
122
|
+
origin: window._origin,
|
123
|
+
userAgent: window.navigator.userAgent
|
124
|
+
};
|
125
|
+
|
126
|
+
this.properties = {
|
127
|
+
beforeSend: false,
|
128
|
+
send: false,
|
129
|
+
client: null,
|
130
|
+
|
131
|
+
timeoutStart: 0,
|
132
|
+
timeoutId: 0,
|
133
|
+
timeoutFn: null,
|
134
|
+
|
135
|
+
responseBuffer: null,
|
136
|
+
responseCache: null,
|
137
|
+
responseTextCache: null,
|
138
|
+
responseXMLCache: null,
|
139
|
+
|
140
|
+
responseHeaders: {},
|
141
|
+
filteredResponseHeaders: [],
|
142
|
+
|
143
|
+
error: "",
|
144
|
+
uploadComplete: false,
|
145
|
+
uploadListener: false,
|
146
|
+
|
147
|
+
// Signifies that we're calling abort() from xhr-utils.js because of a window shutdown.
|
148
|
+
// In that case the termination reason is "fatal", not "end-user abort".
|
149
|
+
abortError: false,
|
150
|
+
|
151
|
+
cookieJar: _ownerDocument._cookieJar,
|
152
|
+
bufferStepSize: 1 * 1024 * 1024, // pre-allocate buffer increase step size. init value is 1MB
|
153
|
+
totalReceivedChunkSize: 0
|
154
|
+
};
|
155
|
+
}
|
156
|
+
|
157
|
+
get responseType() {
|
158
|
+
return this.flag.responseType;
|
159
|
+
}
|
160
|
+
set responseType(responseType) {
|
161
|
+
const { flag } = this;
|
162
|
+
if (this.readyState === READY_STATES.LOADING || this.readyState === READY_STATES.DONE) {
|
163
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
164
|
+
}
|
165
|
+
if (this.readyState === READY_STATES.OPENED && flag.synchronous) {
|
166
|
+
throw DOMException.create(this._globalObject, [
|
167
|
+
"The object does not support the operation or argument.",
|
168
|
+
"InvalidAccessError"
|
169
|
+
]);
|
170
|
+
}
|
171
|
+
flag.responseType = responseType;
|
172
|
+
}
|
173
|
+
|
174
|
+
get response() {
|
175
|
+
const { properties } = this;
|
176
|
+
if (properties.responseCache) {
|
177
|
+
// Needed because of: https://github.com/jsdom/webidl2js/issues/149
|
178
|
+
return idlUtils.tryWrapperForImpl(properties.responseCache);
|
179
|
+
}
|
180
|
+
let res;
|
181
|
+
|
182
|
+
const responseBuffer = properties.responseBuffer ?
|
183
|
+
properties.responseBuffer.slice(0, properties.totalReceivedChunkSize) :
|
184
|
+
null;
|
185
|
+
|
186
|
+
switch (this.responseType) {
|
187
|
+
case "":
|
188
|
+
case "text": {
|
189
|
+
res = this.responseText;
|
190
|
+
break;
|
191
|
+
}
|
192
|
+
case "arraybuffer": {
|
193
|
+
if (!responseBuffer) {
|
194
|
+
return null;
|
195
|
+
}
|
196
|
+
res = copyToArrayBufferInNewRealm(responseBuffer, this._globalObject);
|
197
|
+
break;
|
198
|
+
}
|
199
|
+
case "blob": {
|
200
|
+
if (!responseBuffer) {
|
201
|
+
return null;
|
202
|
+
}
|
203
|
+
const contentType = finalMIMEType(this);
|
204
|
+
res = Blob.createImpl(this._globalObject, [
|
205
|
+
[new Uint8Array(responseBuffer)],
|
206
|
+
{ type: contentType || "" }
|
207
|
+
]);
|
208
|
+
break;
|
209
|
+
}
|
210
|
+
case "document": {
|
211
|
+
res = this.responseXML;
|
212
|
+
break;
|
213
|
+
}
|
214
|
+
case "json": {
|
215
|
+
if (this.readyState !== READY_STATES.DONE || !responseBuffer) {
|
216
|
+
res = null;
|
217
|
+
}
|
218
|
+
|
219
|
+
try {
|
220
|
+
res = parseJSONFromBytes(responseBuffer);
|
221
|
+
} catch (e) {
|
222
|
+
res = null;
|
223
|
+
}
|
224
|
+
break;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
properties.responseCache = res;
|
228
|
+
// Needed because of: https://github.com/jsdom/webidl2js/issues/149
|
229
|
+
return idlUtils.tryWrapperForImpl(res);
|
230
|
+
}
|
231
|
+
get responseText() {
|
232
|
+
const { properties } = this;
|
233
|
+
if (this.responseType !== "" && this.responseType !== "text") {
|
234
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
235
|
+
}
|
236
|
+
if (this.readyState !== READY_STATES.LOADING && this.readyState !== READY_STATES.DONE) {
|
237
|
+
return "";
|
238
|
+
}
|
239
|
+
if (properties.responseTextCache) {
|
240
|
+
return properties.responseTextCache;
|
241
|
+
}
|
242
|
+
const responseBuffer = properties.responseBuffer ?
|
243
|
+
properties.responseBuffer.slice(0, properties.totalReceivedChunkSize) :
|
244
|
+
null;
|
245
|
+
|
246
|
+
if (!responseBuffer) {
|
247
|
+
return "";
|
248
|
+
}
|
249
|
+
|
250
|
+
const fallbackEncoding = finalCharset(this) || whatwgEncoding.getBOMEncoding(responseBuffer) || "UTF-8";
|
251
|
+
const res = whatwgEncoding.decode(responseBuffer, fallbackEncoding);
|
252
|
+
|
253
|
+
properties.responseTextCache = res;
|
254
|
+
return res;
|
255
|
+
}
|
256
|
+
get responseXML() {
|
257
|
+
const { flag, properties } = this;
|
258
|
+
if (this.responseType !== "" && this.responseType !== "document") {
|
259
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
260
|
+
}
|
261
|
+
if (this.readyState !== READY_STATES.DONE) {
|
262
|
+
return null;
|
263
|
+
}
|
264
|
+
if (properties.responseXMLCache) {
|
265
|
+
return properties.responseXMLCache;
|
266
|
+
}
|
267
|
+
const responseBuffer = properties.responseBuffer ?
|
268
|
+
properties.responseBuffer.slice(0, properties.totalReceivedChunkSize) :
|
269
|
+
null;
|
270
|
+
|
271
|
+
if (!responseBuffer) {
|
272
|
+
return null;
|
273
|
+
}
|
274
|
+
|
275
|
+
const contentType = finalMIMEType(this);
|
276
|
+
let isHTML = false;
|
277
|
+
let isXML = false;
|
278
|
+
const parsed = MIMEType.parse(contentType);
|
279
|
+
if (parsed) {
|
280
|
+
isHTML = parsed.isHTML();
|
281
|
+
isXML = parsed.isXML();
|
282
|
+
if (!isXML && !isHTML) {
|
283
|
+
return null;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
if (this.responseType === "" && isHTML) {
|
288
|
+
return null;
|
289
|
+
}
|
290
|
+
|
291
|
+
const encoding = finalCharset(this) || whatwgEncoding.getBOMEncoding(responseBuffer) || "UTF-8";
|
292
|
+
const resText = whatwgEncoding.decode(responseBuffer, encoding);
|
293
|
+
|
294
|
+
if (!resText) {
|
295
|
+
return null;
|
296
|
+
}
|
297
|
+
const res = Document.createImpl(this._globalObject, [], {
|
298
|
+
options: {
|
299
|
+
url: flag.uri,
|
300
|
+
lastModified: new Date(getResponseHeader(this, "last-modified")),
|
301
|
+
parsingMode: isHTML ? "html" : "xml",
|
302
|
+
cookieJar: { setCookieSync: () => undefined, getCookieStringSync: () => "" },
|
303
|
+
encoding,
|
304
|
+
parseOptions: this._ownerDocument._parseOptions
|
305
|
+
}
|
306
|
+
});
|
307
|
+
try {
|
308
|
+
parseIntoDocument(resText, res);
|
309
|
+
} catch (e) {
|
310
|
+
properties.responseXMLCache = null;
|
311
|
+
return null;
|
312
|
+
}
|
313
|
+
res.close();
|
314
|
+
properties.responseXMLCache = res;
|
315
|
+
return res;
|
316
|
+
}
|
317
|
+
|
318
|
+
get timeout() {
|
319
|
+
return this.flag.timeout;
|
320
|
+
}
|
321
|
+
set timeout(val) {
|
322
|
+
const { flag, properties } = this;
|
323
|
+
if (flag.synchronous) {
|
324
|
+
throw DOMException.create(this._globalObject, [
|
325
|
+
"The object does not support the operation or argument.",
|
326
|
+
"InvalidAccessError"
|
327
|
+
]);
|
328
|
+
}
|
329
|
+
flag.timeout = val;
|
330
|
+
clearTimeout(properties.timeoutId);
|
331
|
+
if (val > 0 && properties.timeoutFn) {
|
332
|
+
properties.timeoutId = setTimeout(
|
333
|
+
properties.timeoutFn,
|
334
|
+
Math.max(0, val - ((new Date()).getTime() - properties.timeoutStart))
|
335
|
+
);
|
336
|
+
} else {
|
337
|
+
properties.timeoutFn = null;
|
338
|
+
properties.timeoutStart = 0;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
get withCredentials() {
|
343
|
+
return this.flag.withCredentials;
|
344
|
+
}
|
345
|
+
set withCredentials(val) {
|
346
|
+
const { flag, properties } = this;
|
347
|
+
if (!(this.readyState === READY_STATES.UNSENT || this.readyState === READY_STATES.OPENED)) {
|
348
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
349
|
+
}
|
350
|
+
if (properties.send) {
|
351
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
352
|
+
}
|
353
|
+
flag.withCredentials = val;
|
354
|
+
}
|
355
|
+
|
356
|
+
abort() {
|
357
|
+
const { properties } = this;
|
358
|
+
// Terminate the request
|
359
|
+
clearTimeout(properties.timeoutId);
|
360
|
+
properties.timeoutFn = null;
|
361
|
+
properties.timeoutStart = 0;
|
362
|
+
|
363
|
+
const { client } = properties;
|
364
|
+
if (client) {
|
365
|
+
client.abort();
|
366
|
+
properties.client = null;
|
367
|
+
}
|
368
|
+
|
369
|
+
if (properties.abortError) {
|
370
|
+
// Special case that ideally shouldn't be going through the public API at all.
|
371
|
+
// Run the https://xhr.spec.whatwg.org/#handle-errors "fatal" steps.
|
372
|
+
this.readyState = READY_STATES.DONE;
|
373
|
+
properties.send = false;
|
374
|
+
xhrUtils.setResponseToNetworkError(this);
|
375
|
+
return;
|
376
|
+
}
|
377
|
+
|
378
|
+
if ((this.readyState === READY_STATES.OPENED && properties.send) ||
|
379
|
+
this.readyState === READY_STATES.HEADERS_RECEIVED ||
|
380
|
+
this.readyState === READY_STATES.LOADING) {
|
381
|
+
xhrUtils.requestErrorSteps(this, "abort");
|
382
|
+
}
|
383
|
+
|
384
|
+
if (this.readyState === READY_STATES.DONE) {
|
385
|
+
this.readyState = READY_STATES.UNSENT;
|
386
|
+
|
387
|
+
xhrUtils.setResponseToNetworkError(this);
|
388
|
+
}
|
389
|
+
}
|
390
|
+
getAllResponseHeaders() {
|
391
|
+
const { properties, readyState } = this;
|
392
|
+
if (readyState === READY_STATES.UNSENT || readyState === READY_STATES.OPENED) {
|
393
|
+
return "";
|
394
|
+
}
|
395
|
+
return Object.keys(properties.responseHeaders)
|
396
|
+
.filter(key => properties.filteredResponseHeaders.indexOf(key) === -1)
|
397
|
+
.map(key => [key.toLowerCase(), properties.responseHeaders[key]].join(": "))
|
398
|
+
.join("\r\n");
|
399
|
+
}
|
400
|
+
|
401
|
+
getResponseHeader(header) {
|
402
|
+
const { properties, readyState } = this;
|
403
|
+
if (readyState === READY_STATES.UNSENT || readyState === READY_STATES.OPENED) {
|
404
|
+
return null;
|
405
|
+
}
|
406
|
+
const lcHeader = header.toLowerCase();
|
407
|
+
if (properties.filteredResponseHeaders.find(filtered => lcHeader === filtered.toLowerCase())) {
|
408
|
+
return null;
|
409
|
+
}
|
410
|
+
return getResponseHeader(this, lcHeader);
|
411
|
+
}
|
412
|
+
|
413
|
+
open(method, uri, asynchronous, user, password) {
|
414
|
+
const { flag, properties, _ownerDocument } = this;
|
415
|
+
if (!_ownerDocument) {
|
416
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
417
|
+
}
|
418
|
+
|
419
|
+
if (!tokenRegexp.test(method)) {
|
420
|
+
throw DOMException.create(this._globalObject, [
|
421
|
+
"The string did not match the expected pattern.",
|
422
|
+
"SyntaxError"
|
423
|
+
]);
|
424
|
+
}
|
425
|
+
const upperCaseMethod = method.toUpperCase();
|
426
|
+
if (forbiddenRequestMethods.has(upperCaseMethod)) {
|
427
|
+
throw DOMException.create(this._globalObject, ["The operation is insecure.", "SecurityError"]);
|
428
|
+
}
|
429
|
+
|
430
|
+
const { client } = properties;
|
431
|
+
if (client && typeof client.abort === "function") {
|
432
|
+
client.abort();
|
433
|
+
}
|
434
|
+
|
435
|
+
if (allowedRequestMethods.has(upperCaseMethod)) {
|
436
|
+
method = upperCaseMethod;
|
437
|
+
}
|
438
|
+
if (typeof asynchronous !== "undefined") {
|
439
|
+
flag.synchronous = !asynchronous;
|
440
|
+
} else {
|
441
|
+
flag.synchronous = false;
|
442
|
+
}
|
443
|
+
if (flag.responseType && flag.synchronous) {
|
444
|
+
throw DOMException.create(this._globalObject, [
|
445
|
+
"The object does not support the operation or argument.",
|
446
|
+
"InvalidAccessError"
|
447
|
+
]);
|
448
|
+
}
|
449
|
+
if (flag.synchronous && flag.timeout) {
|
450
|
+
throw DOMException.create(this._globalObject, [
|
451
|
+
"The object does not support the operation or argument.",
|
452
|
+
"InvalidAccessError"
|
453
|
+
]);
|
454
|
+
}
|
455
|
+
flag.method = method;
|
456
|
+
|
457
|
+
let urlObj;
|
458
|
+
try {
|
459
|
+
urlObj = new URL(uri, documentBaseURLSerialized(_ownerDocument));
|
460
|
+
} catch (e) {
|
461
|
+
throw DOMException.create(this._globalObject, [
|
462
|
+
"The string did not match the expected pattern.",
|
463
|
+
"SyntaxError"
|
464
|
+
]);
|
465
|
+
}
|
466
|
+
|
467
|
+
if (user || (password && !urlObj.username)) {
|
468
|
+
flag.auth = {
|
469
|
+
user,
|
470
|
+
pass: password
|
471
|
+
};
|
472
|
+
urlObj.username = "";
|
473
|
+
urlObj.password = "";
|
474
|
+
}
|
475
|
+
|
476
|
+
flag.uri = urlObj.href;
|
477
|
+
flag.requestHeaders = {};
|
478
|
+
flag.preflight = false;
|
479
|
+
|
480
|
+
properties.send = false;
|
481
|
+
properties.uploadListener = false;
|
482
|
+
properties.abortError = false;
|
483
|
+
this.responseURL = "";
|
484
|
+
readyStateChange(this, READY_STATES.OPENED);
|
485
|
+
}
|
486
|
+
|
487
|
+
overrideMimeType(mime) {
|
488
|
+
const { readyState } = this;
|
489
|
+
if (readyState === READY_STATES.LOADING || readyState === READY_STATES.DONE) {
|
490
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
491
|
+
}
|
492
|
+
|
493
|
+
this.flag.overrideMIMEType = "application/octet-stream";
|
494
|
+
|
495
|
+
// Waiting for better spec: https://github.com/whatwg/xhr/issues/157
|
496
|
+
const parsed = MIMEType.parse(mime);
|
497
|
+
if (parsed) {
|
498
|
+
this.flag.overrideMIMEType = parsed.essence;
|
499
|
+
|
500
|
+
const charset = parsed.parameters.get("charset");
|
501
|
+
if (charset) {
|
502
|
+
this.flag.overrideCharset = whatwgEncoding.labelToName(charset);
|
503
|
+
}
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
// TODO: Add support for URLSearchParams and ReadableStream
|
508
|
+
send(body) {
|
509
|
+
const { flag, properties, upload, _ownerDocument } = this;
|
510
|
+
// Not per spec, but per tests: https://github.com/whatwg/xhr/issues/65
|
511
|
+
if (!_ownerDocument) {
|
512
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
513
|
+
}
|
514
|
+
|
515
|
+
if (this.readyState !== READY_STATES.OPENED || properties.send) {
|
516
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
517
|
+
}
|
518
|
+
|
519
|
+
properties.beforeSend = true;
|
520
|
+
|
521
|
+
try {
|
522
|
+
if (flag.method === "GET" || flag.method === "HEAD") {
|
523
|
+
body = null;
|
524
|
+
}
|
525
|
+
|
526
|
+
if (body !== null) {
|
527
|
+
let encoding = null;
|
528
|
+
let mimeType = null;
|
529
|
+
|
530
|
+
if (Document.isImpl(body)) {
|
531
|
+
encoding = "UTF-8";
|
532
|
+
mimeType = (body._parsingMode === "html" ? "text/html" : "application/xml") + ";charset=UTF-8";
|
533
|
+
flag.body = fragmentSerialization(body, { requireWellFormed: false });
|
534
|
+
} else {
|
535
|
+
if (typeof body === "string") {
|
536
|
+
encoding = "UTF-8";
|
537
|
+
}
|
538
|
+
const { buffer, formData, contentType } = extractBody(body);
|
539
|
+
mimeType = contentType;
|
540
|
+
flag.body = buffer || formData;
|
541
|
+
flag.formData = Boolean(formData);
|
542
|
+
}
|
543
|
+
|
544
|
+
const existingContentType = xhrUtils.getRequestHeader(flag.requestHeaders, "content-type");
|
545
|
+
if (mimeType !== null && existingContentType === null) {
|
546
|
+
flag.requestHeaders["Content-Type"] = mimeType;
|
547
|
+
} else if (existingContentType !== null && encoding !== null) {
|
548
|
+
// Waiting for better spec: https://github.com/whatwg/xhr/issues/188. This seems like a good guess at what
|
549
|
+
// the spec will be, in the meantime.
|
550
|
+
const parsed = MIMEType.parse(existingContentType);
|
551
|
+
if (parsed) {
|
552
|
+
const charset = parsed.parameters.get("charset");
|
553
|
+
if (charset && !asciiCaseInsensitiveMatch(charset, encoding) && encoding !== null) {
|
554
|
+
parsed.parameters.set("charset", encoding);
|
555
|
+
xhrUtils.updateRequestHeader(flag.requestHeaders, "content-type", parsed.toString());
|
556
|
+
}
|
557
|
+
}
|
558
|
+
}
|
559
|
+
}
|
560
|
+
} finally {
|
561
|
+
if (properties.beforeSend) {
|
562
|
+
properties.beforeSend = false;
|
563
|
+
} else {
|
564
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
565
|
+
}
|
566
|
+
}
|
567
|
+
|
568
|
+
if (Object.keys(upload._eventListeners).length > 0) {
|
569
|
+
properties.uploadListener = true;
|
570
|
+
}
|
571
|
+
|
572
|
+
// request doesn't like zero-length bodies
|
573
|
+
if (flag.body && flag.body.byteLength === 0) {
|
574
|
+
flag.body = null;
|
575
|
+
}
|
576
|
+
|
577
|
+
if (flag.synchronous) {
|
578
|
+
const flagStr = JSON.stringify(flag, function (k, v) {
|
579
|
+
if (this === flag && k === "requestManager") {
|
580
|
+
return null;
|
581
|
+
}
|
582
|
+
if (this === flag && k === "pool" && v) {
|
583
|
+
return { maxSockets: v.maxSockets };
|
584
|
+
}
|
585
|
+
return v;
|
586
|
+
});
|
587
|
+
const res = spawnSync(
|
588
|
+
process.execPath,
|
589
|
+
[syncWorkerFile],
|
590
|
+
{ input: flagStr, maxBuffer: Infinity }
|
591
|
+
);
|
592
|
+
if (res.status !== 0) {
|
593
|
+
throw new Error(res.stderr.toString());
|
594
|
+
}
|
595
|
+
if (res.error) {
|
596
|
+
if (typeof res.error === "string") {
|
597
|
+
res.error = new Error(res.error);
|
598
|
+
}
|
599
|
+
throw res.error;
|
600
|
+
}
|
601
|
+
|
602
|
+
const response = JSON.parse(res.stdout.toString());
|
603
|
+
const resProp = response.properties;
|
604
|
+
if (resProp.responseBuffer && resProp.responseBuffer.data) {
|
605
|
+
resProp.responseBuffer = Buffer.from(resProp.responseBuffer.data);
|
606
|
+
}
|
607
|
+
if (resProp.cookieJar) {
|
608
|
+
resProp.cookieJar = tough.CookieJar.deserializeSync(
|
609
|
+
resProp.cookieJar,
|
610
|
+
_ownerDocument._cookieJar.store
|
611
|
+
);
|
612
|
+
}
|
613
|
+
|
614
|
+
this.readyState = READY_STATES.LOADING;
|
615
|
+
this.status = response.status;
|
616
|
+
this.statusText = response.statusText;
|
617
|
+
this.responseURL = response.responseURL;
|
618
|
+
Object.assign(this.properties, response.properties);
|
619
|
+
|
620
|
+
if (resProp.error) {
|
621
|
+
xhrUtils.dispatchError(this);
|
622
|
+
throw DOMException.create(this._globalObject, [resProp.error, "NetworkError"]);
|
623
|
+
} else {
|
624
|
+
const { responseBuffer } = properties;
|
625
|
+
const contentLength = getResponseHeader(this, "content-length") || "0";
|
626
|
+
const bufferLength = parseInt(contentLength) || responseBuffer.length;
|
627
|
+
const progressObj = { lengthComputable: false };
|
628
|
+
if (bufferLength !== 0) {
|
629
|
+
progressObj.total = bufferLength;
|
630
|
+
progressObj.loaded = bufferLength;
|
631
|
+
progressObj.lengthComputable = true;
|
632
|
+
}
|
633
|
+
fireAnEvent("progress", this, ProgressEvent, progressObj);
|
634
|
+
readyStateChange(this, READY_STATES.DONE);
|
635
|
+
fireAnEvent("load", this, ProgressEvent, progressObj);
|
636
|
+
fireAnEvent("loadend", this, ProgressEvent, progressObj);
|
637
|
+
}
|
638
|
+
} else {
|
639
|
+
properties.send = true;
|
640
|
+
|
641
|
+
fireAnEvent("loadstart", this, ProgressEvent);
|
642
|
+
|
643
|
+
const client = xhrUtils.createClient(this);
|
644
|
+
|
645
|
+
properties.client = client;
|
646
|
+
// For new client, reset totalReceivedChunkSize and bufferStepSize
|
647
|
+
properties.totalReceivedChunkSize = 0;
|
648
|
+
properties.bufferStepSize = 1 * 1024 * 1024;
|
649
|
+
|
650
|
+
properties.origin = flag.origin;
|
651
|
+
|
652
|
+
client.on("error", err => {
|
653
|
+
client.removeAllListeners();
|
654
|
+
properties.error = err;
|
655
|
+
xhrUtils.dispatchError(this);
|
656
|
+
});
|
657
|
+
|
658
|
+
client.on("response", (res, url) => receiveResponse(this, res, url));
|
659
|
+
|
660
|
+
client.on("redirect", (response, requestHeaders, currentURL) => {
|
661
|
+
const destUrlObj = new URL(requestHeaders.Referer);
|
662
|
+
const urlObj = new URL(currentURL);
|
663
|
+
|
664
|
+
if (destUrlObj.origin !== urlObj.origin && destUrlObj.origin !== flag.origin) {
|
665
|
+
properties.origin = "null";
|
666
|
+
}
|
667
|
+
|
668
|
+
requestHeaders.Origin = properties.origin;
|
669
|
+
|
670
|
+
if (flag.origin !== destUrlObj.origin &&
|
671
|
+
destUrlObj.protocol !== "data:") {
|
672
|
+
if (!xhrUtils.validCORSHeaders(this, response, flag, properties, flag.origin)) {
|
673
|
+
return;
|
674
|
+
}
|
675
|
+
if (urlObj.username || urlObj.password) {
|
676
|
+
properties.error = "Userinfo forbidden in cors redirect";
|
677
|
+
xhrUtils.dispatchError(this);
|
678
|
+
}
|
679
|
+
}
|
680
|
+
});
|
681
|
+
if (body !== null && body !== "") {
|
682
|
+
properties.uploadComplete = false;
|
683
|
+
setDispatchProgressEvents(this);
|
684
|
+
} else {
|
685
|
+
properties.uploadComplete = true;
|
686
|
+
}
|
687
|
+
if (this.timeout > 0) {
|
688
|
+
properties.timeoutStart = (new Date()).getTime();
|
689
|
+
properties.timeoutFn = () => {
|
690
|
+
client.abort();
|
691
|
+
if (!(this.readyState === READY_STATES.UNSENT ||
|
692
|
+
(this.readyState === READY_STATES.OPENED && !properties.send) ||
|
693
|
+
this.readyState === READY_STATES.DONE)) {
|
694
|
+
properties.send = false;
|
695
|
+
let stateChanged = false;
|
696
|
+
if (!properties.uploadComplete) {
|
697
|
+
fireAnEvent("progress", upload, ProgressEvent);
|
698
|
+
readyStateChange(this, READY_STATES.DONE);
|
699
|
+
fireAnEvent("timeout", upload, ProgressEvent);
|
700
|
+
fireAnEvent("loadend", upload, ProgressEvent);
|
701
|
+
stateChanged = true;
|
702
|
+
}
|
703
|
+
fireAnEvent("progress", this, ProgressEvent);
|
704
|
+
if (!stateChanged) {
|
705
|
+
readyStateChange(this, READY_STATES.DONE);
|
706
|
+
}
|
707
|
+
fireAnEvent("timeout", this, ProgressEvent);
|
708
|
+
fireAnEvent("loadend", this, ProgressEvent);
|
709
|
+
}
|
710
|
+
this.readyState = READY_STATES.UNSENT;
|
711
|
+
};
|
712
|
+
properties.timeoutId = setTimeout(properties.timeoutFn, this.timeout);
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
|
717
|
+
setRequestHeader(header, value) {
|
718
|
+
const { flag, properties } = this;
|
719
|
+
|
720
|
+
if (this.readyState !== READY_STATES.OPENED || properties.send) {
|
721
|
+
throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
|
722
|
+
}
|
723
|
+
|
724
|
+
value = normalizeHeaderValue(value);
|
725
|
+
|
726
|
+
if (!tokenRegexp.test(header) || !fieldValueRegexp.test(value)) {
|
727
|
+
throw DOMException.create(this._globalObject, [
|
728
|
+
"The string did not match the expected pattern.",
|
729
|
+
"SyntaxError"
|
730
|
+
]);
|
731
|
+
}
|
732
|
+
|
733
|
+
const lcHeader = header.toLowerCase();
|
734
|
+
|
735
|
+
if (forbiddenRequestHeaders.has(lcHeader) || lcHeader.startsWith("sec-") || lcHeader.startsWith("proxy-")) {
|
736
|
+
return;
|
737
|
+
}
|
738
|
+
|
739
|
+
const keys = Object.keys(flag.requestHeaders);
|
740
|
+
let n = keys.length;
|
741
|
+
while (n--) {
|
742
|
+
const key = keys[n];
|
743
|
+
if (key.toLowerCase() === lcHeader) {
|
744
|
+
flag.requestHeaders[key] += ", " + value;
|
745
|
+
return;
|
746
|
+
}
|
747
|
+
}
|
748
|
+
flag.requestHeaders[header] = value;
|
749
|
+
}
|
750
|
+
}
|
751
|
+
|
752
|
+
setupForSimpleEventAccessors(XMLHttpRequestImpl.prototype, ["readystatechange"]);
|
753
|
+
|
754
|
+
function readyStateChange(xhr, readyState) {
|
755
|
+
if (xhr.readyState === readyState) {
|
756
|
+
return;
|
757
|
+
}
|
758
|
+
|
759
|
+
xhr.readyState = readyState;
|
760
|
+
|
761
|
+
fireAnEvent("readystatechange", xhr);
|
762
|
+
}
|
763
|
+
|
764
|
+
function receiveResponse(xhr, response, currentURL) {
|
765
|
+
const { flag, properties } = xhr;
|
766
|
+
const { rawHeaders, statusCode } = response;
|
767
|
+
|
768
|
+
let byteOffset = 0;
|
769
|
+
|
770
|
+
const headers = {};
|
771
|
+
const filteredResponseHeaders = [];
|
772
|
+
const headerMap = {};
|
773
|
+
const n = Number(rawHeaders.length);
|
774
|
+
for (let i = 0; i < n; i += 2) {
|
775
|
+
const k = rawHeaders[i];
|
776
|
+
const kl = k.toLowerCase();
|
777
|
+
const v = rawHeaders[i + 1];
|
778
|
+
if (uniqueResponseHeaders.has(kl)) {
|
779
|
+
if (headerMap[kl] !== undefined) {
|
780
|
+
delete headers[headerMap[kl]];
|
781
|
+
}
|
782
|
+
headers[k] = v;
|
783
|
+
} else if (headerMap[kl] !== undefined) {
|
784
|
+
headers[headerMap[kl]] += ", " + v;
|
785
|
+
} else {
|
786
|
+
headers[k] = v;
|
787
|
+
}
|
788
|
+
headerMap[kl] = k;
|
789
|
+
}
|
790
|
+
|
791
|
+
const destUrlObj = new URL(currentURL);
|
792
|
+
if (properties.origin !== destUrlObj.origin &&
|
793
|
+
destUrlObj.protocol !== "data:") {
|
794
|
+
if (!xhrUtils.validCORSHeaders(xhr, response, flag, properties, properties.origin)) {
|
795
|
+
return;
|
796
|
+
}
|
797
|
+
const acehStr = response.headers["access-control-expose-headers"];
|
798
|
+
const aceh = new Set(acehStr ? acehStr.trim().toLowerCase().split(xhrUtils.headerListSeparatorRegexp) : []);
|
799
|
+
for (const header in headers) {
|
800
|
+
const lcHeader = header.toLowerCase();
|
801
|
+
if (!corsSafeResponseHeaders.has(lcHeader) && !aceh.has(lcHeader)) {
|
802
|
+
filteredResponseHeaders.push(header);
|
803
|
+
}
|
804
|
+
}
|
805
|
+
}
|
806
|
+
|
807
|
+
for (const header in headers) {
|
808
|
+
const lcHeader = header.toLowerCase();
|
809
|
+
if (forbiddenResponseHeaders.has(lcHeader)) {
|
810
|
+
filteredResponseHeaders.push(header);
|
811
|
+
}
|
812
|
+
}
|
813
|
+
|
814
|
+
xhr.responseURL = destUrlObj.href;
|
815
|
+
|
816
|
+
xhr.status = statusCode;
|
817
|
+
xhr.statusText = response.statusMessage || HTTP_STATUS_CODES[statusCode] || "";
|
818
|
+
|
819
|
+
properties.responseHeaders = headers;
|
820
|
+
properties.filteredResponseHeaders = filteredResponseHeaders;
|
821
|
+
|
822
|
+
const contentLength = getResponseHeader(xhr, "content-length") || "0";
|
823
|
+
const bufferLength = parseInt(contentLength) || 0;
|
824
|
+
const progressObj = { lengthComputable: false };
|
825
|
+
let lastProgressReported;
|
826
|
+
if (bufferLength !== 0) {
|
827
|
+
progressObj.total = bufferLength;
|
828
|
+
progressObj.loaded = 0;
|
829
|
+
progressObj.lengthComputable = true;
|
830
|
+
}
|
831
|
+
// pre-allocate buffer.
|
832
|
+
properties.responseBuffer = Buffer.alloc(properties.bufferStepSize);
|
833
|
+
properties.responseCache = null;
|
834
|
+
properties.responseTextCache = null;
|
835
|
+
properties.responseXMLCache = null;
|
836
|
+
readyStateChange(xhr, READY_STATES.HEADERS_RECEIVED);
|
837
|
+
|
838
|
+
if (!properties.client) {
|
839
|
+
// The request was aborted in reaction to the readystatechange event.
|
840
|
+
return;
|
841
|
+
}
|
842
|
+
|
843
|
+
// Can't use the client since the client gets the post-ungzipping bytes (which can be greater than the
|
844
|
+
// Content-Length).
|
845
|
+
response.on("data", chunk => {
|
846
|
+
byteOffset += chunk.length;
|
847
|
+
progressObj.loaded = byteOffset;
|
848
|
+
});
|
849
|
+
|
850
|
+
properties.client.on("data", chunk => {
|
851
|
+
properties.totalReceivedChunkSize += chunk.length;
|
852
|
+
if (properties.totalReceivedChunkSize >= properties.bufferStepSize) {
|
853
|
+
properties.bufferStepSize *= 2;
|
854
|
+
while (properties.totalReceivedChunkSize >= properties.bufferStepSize) {
|
855
|
+
properties.bufferStepSize *= 2;
|
856
|
+
}
|
857
|
+
const tmpBuf = Buffer.alloc(properties.bufferStepSize);
|
858
|
+
properties.responseBuffer.copy(tmpBuf, 0, 0, properties.responseBuffer.length);
|
859
|
+
properties.responseBuffer = tmpBuf;
|
860
|
+
}
|
861
|
+
chunk.copy(properties.responseBuffer, properties.totalReceivedChunkSize - chunk.length, 0, chunk.length);
|
862
|
+
properties.responseCache = null;
|
863
|
+
properties.responseTextCache = null;
|
864
|
+
properties.responseXMLCache = null;
|
865
|
+
|
866
|
+
if (xhr.readyState === READY_STATES.HEADERS_RECEIVED) {
|
867
|
+
xhr.readyState = READY_STATES.LOADING;
|
868
|
+
}
|
869
|
+
fireAnEvent("readystatechange", xhr);
|
870
|
+
|
871
|
+
if (progressObj.total !== progressObj.loaded || properties.totalReceivedChunkSize === byteOffset) {
|
872
|
+
if (lastProgressReported !== progressObj.loaded) {
|
873
|
+
// This is a necessary check in the gzip case where we can be getting new data from the client, as it
|
874
|
+
// un-gzips, but no new data has been gotten from the response, so we should not fire a progress event.
|
875
|
+
lastProgressReported = progressObj.loaded;
|
876
|
+
fireAnEvent("progress", xhr, ProgressEvent, progressObj);
|
877
|
+
}
|
878
|
+
}
|
879
|
+
});
|
880
|
+
properties.client.on("end", () => {
|
881
|
+
clearTimeout(properties.timeoutId);
|
882
|
+
properties.timeoutFn = null;
|
883
|
+
properties.timeoutStart = 0;
|
884
|
+
properties.client = null;
|
885
|
+
if (lastProgressReported !== progressObj.loaded) {
|
886
|
+
// https://github.com/whatwg/xhr/issues/318
|
887
|
+
fireAnEvent("progress", xhr, ProgressEvent, progressObj);
|
888
|
+
}
|
889
|
+
readyStateChange(xhr, READY_STATES.DONE);
|
890
|
+
fireAnEvent("load", xhr, ProgressEvent, progressObj);
|
891
|
+
fireAnEvent("loadend", xhr, ProgressEvent, progressObj);
|
892
|
+
});
|
893
|
+
}
|
894
|
+
|
895
|
+
function setDispatchProgressEvents(xhr) {
|
896
|
+
const { properties, upload } = xhr;
|
897
|
+
const { client } = properties;
|
898
|
+
|
899
|
+
let total = 0;
|
900
|
+
let lengthComputable = false;
|
901
|
+
const length = client.headers && parseInt(xhrUtils.getRequestHeader(client.headers, "content-length"));
|
902
|
+
if (length) {
|
903
|
+
total = length;
|
904
|
+
lengthComputable = true;
|
905
|
+
}
|
906
|
+
const initProgress = {
|
907
|
+
lengthComputable,
|
908
|
+
total,
|
909
|
+
loaded: 0
|
910
|
+
};
|
911
|
+
|
912
|
+
if (properties.uploadListener) {
|
913
|
+
fireAnEvent("loadstart", upload, ProgressEvent, initProgress);
|
914
|
+
}
|
915
|
+
|
916
|
+
client.on("request", req => {
|
917
|
+
req.on("response", () => {
|
918
|
+
properties.uploadComplete = true;
|
919
|
+
|
920
|
+
if (!properties.uploadListener) {
|
921
|
+
return;
|
922
|
+
}
|
923
|
+
|
924
|
+
const progress = {
|
925
|
+
lengthComputable,
|
926
|
+
total,
|
927
|
+
loaded: total
|
928
|
+
};
|
929
|
+
fireAnEvent("progress", upload, ProgressEvent, progress);
|
930
|
+
fireAnEvent("load", upload, ProgressEvent, progress);
|
931
|
+
fireAnEvent("loadend", upload, ProgressEvent, progress);
|
932
|
+
});
|
933
|
+
});
|
934
|
+
}
|
935
|
+
|
936
|
+
function finalMIMEType(xhr) {
|
937
|
+
const { flag } = xhr;
|
938
|
+
return flag.overrideMIMEType || getResponseHeader(xhr, "content-type");
|
939
|
+
}
|
940
|
+
|
941
|
+
function finalCharset(xhr) {
|
942
|
+
const { flag } = xhr;
|
943
|
+
if (flag.overrideCharset) {
|
944
|
+
return flag.overrideCharset;
|
945
|
+
}
|
946
|
+
const parsedContentType = MIMEType.parse(getResponseHeader(xhr, "content-type"));
|
947
|
+
if (parsedContentType) {
|
948
|
+
return whatwgEncoding.labelToName(parsedContentType.parameters.get("charset"));
|
949
|
+
}
|
950
|
+
return null;
|
951
|
+
}
|
952
|
+
|
953
|
+
function getResponseHeader(xhr, lcHeader) {
|
954
|
+
const { properties } = xhr;
|
955
|
+
const keys = Object.keys(properties.responseHeaders);
|
956
|
+
let n = keys.length;
|
957
|
+
while (n--) {
|
958
|
+
const key = keys[n];
|
959
|
+
if (key.toLowerCase() === lcHeader) {
|
960
|
+
return properties.responseHeaders[key];
|
961
|
+
}
|
962
|
+
}
|
963
|
+
return null;
|
964
|
+
}
|
965
|
+
|
966
|
+
function normalizeHeaderValue(value) {
|
967
|
+
return value.replace(/^[\x09\x0A\x0D\x20]+/, "").replace(/[\x09\x0A\x0D\x20]+$/, "");
|
968
|
+
}
|
969
|
+
|
970
|
+
function extractBody(bodyInit) {
|
971
|
+
// https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
972
|
+
// except we represent the body as a Node.js Buffer instead,
|
973
|
+
// or a special case for FormData since we want request to handle that. Probably it would be
|
974
|
+
// cleaner (and allow a future without request) if we did the form encoding ourself.
|
975
|
+
|
976
|
+
if (Blob.isImpl(bodyInit)) {
|
977
|
+
return {
|
978
|
+
buffer: bodyInit._buffer,
|
979
|
+
contentType: bodyInit.type === "" ? null : bodyInit.type
|
980
|
+
};
|
981
|
+
} else if (isArrayBuffer(bodyInit)) {
|
982
|
+
return {
|
983
|
+
buffer: Buffer.from(bodyInit),
|
984
|
+
contentType: null
|
985
|
+
};
|
986
|
+
} else if (ArrayBuffer.isView(bodyInit)) {
|
987
|
+
return {
|
988
|
+
buffer: Buffer.from(bodyInit.buffer, bodyInit.byteOffset, bodyInit.byteLength),
|
989
|
+
contentType: null
|
990
|
+
};
|
991
|
+
} else if (FormData.isImpl(bodyInit)) {
|
992
|
+
const formData = [];
|
993
|
+
for (const entry of bodyInit._entries) {
|
994
|
+
let val;
|
995
|
+
if (Blob.isImpl(entry.value)) {
|
996
|
+
const blob = entry.value;
|
997
|
+
val = {
|
998
|
+
name: entry.name,
|
999
|
+
value: blob._buffer,
|
1000
|
+
options: {
|
1001
|
+
filename: blob.name,
|
1002
|
+
contentType: blob.type,
|
1003
|
+
knownLength: blob.size
|
1004
|
+
}
|
1005
|
+
};
|
1006
|
+
} else {
|
1007
|
+
val = entry;
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
formData.push(val);
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
return { formData };
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
// Must be a string
|
1017
|
+
return {
|
1018
|
+
buffer: Buffer.from(bodyInit, "utf-8"),
|
1019
|
+
contentType: "text/plain;charset=UTF-8"
|
1020
|
+
};
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
exports.implementation = XMLHttpRequestImpl;
|