isomorfeus-puppetmaster 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +21 -18
- data/lib/isomorfeus/puppetmaster/driver_registration.rb +4 -4
- data/lib/isomorfeus/puppetmaster/server_registration.rb +0 -52
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +6 -3
- data/lib/isomorfeus-puppetmaster.rb +2 -1
- data/node_modules/.bin/extract-zip +12 -0
- data/node_modules/.bin/extract-zip.cmd +17 -0
- data/node_modules/.bin/extract-zip.ps1 +28 -0
- data/node_modules/.bin/mkdirp +12 -0
- data/node_modules/.bin/mkdirp.cmd +17 -0
- data/node_modules/.bin/mkdirp.ps1 +28 -0
- data/node_modules/.bin/rimraf +12 -0
- data/node_modules/.bin/rimraf.cmd +17 -0
- data/node_modules/.bin/rimraf.ps1 +28 -0
- data/node_modules/.package-lock.json +574 -0
- data/node_modules/@types/node/LICENSE +21 -0
- data/node_modules/@types/node/README.md +16 -0
- data/node_modules/@types/node/assert/strict.d.ts +8 -0
- data/node_modules/@types/node/assert.d.ts +912 -0
- data/node_modules/@types/node/async_hooks.d.ts +497 -0
- data/node_modules/@types/node/buffer.d.ts +2142 -0
- data/node_modules/@types/node/child_process.d.ts +1355 -0
- data/node_modules/@types/node/cluster.d.ts +414 -0
- data/node_modules/@types/node/console.d.ts +407 -0
- data/node_modules/@types/node/constants.d.ts +18 -0
- data/node_modules/@types/node/crypto.d.ts +3224 -0
- data/node_modules/@types/node/dgram.d.ts +545 -0
- data/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- data/node_modules/@types/node/dns/promises.d.ts +357 -0
- data/node_modules/@types/node/dns.d.ts +643 -0
- data/node_modules/@types/node/domain.d.ts +169 -0
- data/node_modules/@types/node/events.d.ts +623 -0
- data/node_modules/@types/node/fs/promises.d.ts +997 -0
- data/node_modules/@types/node/fs.d.ts +3723 -0
- data/node_modules/@types/node/globals.d.ts +285 -0
- data/node_modules/@types/node/globals.global.d.ts +1 -0
- data/node_modules/@types/node/http.d.ts +1358 -0
- data/node_modules/@types/node/http2.d.ts +2100 -0
- data/node_modules/@types/node/https.d.ts +391 -0
- data/node_modules/@types/node/index.d.ts +131 -0
- data/node_modules/@types/node/inspector.d.ts +2738 -0
- data/node_modules/@types/node/module.d.ts +114 -0
- data/node_modules/@types/node/net.d.ts +783 -0
- data/node_modules/@types/node/os.d.ts +455 -0
- data/node_modules/@types/node/package.json +230 -0
- data/node_modules/@types/node/path.d.ts +172 -0
- data/node_modules/@types/node/perf_hooks.d.ts +555 -0
- data/node_modules/@types/node/process.d.ts +1477 -0
- data/node_modules/@types/node/punycode.d.ts +117 -0
- data/node_modules/@types/node/querystring.d.ts +131 -0
- data/node_modules/@types/node/readline.d.ts +542 -0
- data/node_modules/@types/node/repl.d.ts +424 -0
- data/node_modules/@types/node/stream/consumers.d.ts +24 -0
- data/node_modules/@types/node/stream/promises.d.ts +42 -0
- data/node_modules/@types/node/stream/web.d.ts +6 -0
- data/node_modules/@types/node/stream.d.ts +1181 -0
- data/node_modules/@types/node/string_decoder.d.ts +67 -0
- data/node_modules/@types/node/timers/promises.d.ts +68 -0
- data/node_modules/@types/node/timers.d.ts +94 -0
- data/node_modules/@types/node/tls.d.ts +1019 -0
- data/node_modules/@types/node/trace_events.d.ts +161 -0
- data/node_modules/@types/node/tty.d.ts +206 -0
- data/node_modules/@types/node/url.d.ts +798 -0
- data/node_modules/@types/node/util.d.ts +1556 -0
- data/node_modules/@types/node/v8.d.ts +378 -0
- data/node_modules/@types/node/vm.d.ts +504 -0
- data/node_modules/@types/node/wasi.d.ts +153 -0
- data/node_modules/@types/node/worker_threads.d.ts +649 -0
- data/node_modules/@types/node/zlib.d.ts +517 -0
- data/node_modules/@types/yauzl/LICENSE +21 -0
- data/node_modules/@types/yauzl/README.md +16 -0
- data/node_modules/@types/yauzl/index.d.ts +98 -0
- data/node_modules/@types/yauzl/package.json +27 -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/balanced-match/.github/FUNDING.yml +2 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/base64-js/LICENSE +21 -0
- data/node_modules/base64-js/README.md +34 -0
- data/node_modules/base64-js/base64js.min.js +1 -0
- data/node_modules/base64-js/index.d.ts +3 -0
- data/node_modules/base64-js/index.js +150 -0
- data/node_modules/base64-js/package.json +47 -0
- data/node_modules/bl/.travis.yml +17 -0
- data/node_modules/bl/BufferList.js +396 -0
- data/node_modules/bl/LICENSE.md +13 -0
- data/node_modules/bl/README.md +247 -0
- data/node_modules/bl/bl.js +84 -0
- data/node_modules/bl/package.json +37 -0
- data/node_modules/bl/test/convert.js +21 -0
- data/node_modules/bl/test/indexOf.js +492 -0
- data/node_modules/bl/test/isBufferList.js +32 -0
- data/node_modules/bl/test/test.js +869 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/buffer/AUTHORS.md +70 -0
- data/node_modules/buffer/LICENSE +21 -0
- data/node_modules/buffer/README.md +410 -0
- data/node_modules/buffer/index.d.ts +186 -0
- data/node_modules/buffer/index.js +1817 -0
- data/node_modules/buffer/package.json +96 -0
- data/node_modules/buffer-crc32/LICENSE +19 -0
- data/node_modules/buffer-crc32/README.md +47 -0
- data/node_modules/buffer-crc32/index.js +111 -0
- data/node_modules/buffer-crc32/package.json +39 -0
- data/node_modules/chownr/LICENSE +15 -0
- data/node_modules/chownr/README.md +3 -0
- data/node_modules/chownr/chownr.js +167 -0
- data/node_modules/chownr/package.json +29 -0
- data/node_modules/concat-map/.travis.yml +4 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -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 +261 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/devtools-protocol/LICENSE +27 -0
- data/node_modules/devtools-protocol/README.md +12 -0
- data/node_modules/devtools-protocol/changelog.md +10491 -0
- data/node_modules/devtools-protocol/externs/protocol_externs.js +9734 -0
- data/node_modules/devtools-protocol/json/browser_protocol.json +20641 -0
- data/node_modules/devtools-protocol/json/js_protocol.json +3581 -0
- data/node_modules/devtools-protocol/package.json +18 -0
- data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +9637 -0
- data/node_modules/devtools-protocol/pdl/js_protocol.pdl +1678 -0
- data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +4321 -0
- data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +3683 -0
- data/node_modules/devtools-protocol/types/protocol.d.ts +15538 -0
- data/node_modules/end-of-stream/LICENSE +21 -0
- data/node_modules/end-of-stream/README.md +54 -0
- data/node_modules/end-of-stream/index.js +94 -0
- data/node_modules/end-of-stream/package.json +37 -0
- data/node_modules/extract-zip/LICENSE +23 -0
- data/node_modules/extract-zip/cli.js +19 -0
- data/node_modules/extract-zip/index.d.ts +21 -0
- data/node_modules/extract-zip/index.js +173 -0
- data/node_modules/extract-zip/package.json +80 -0
- data/node_modules/extract-zip/readme.md +57 -0
- data/node_modules/fd-slicer/.npmignore +2 -0
- data/node_modules/fd-slicer/.travis.yml +7 -0
- data/node_modules/fd-slicer/CHANGELOG.md +49 -0
- data/node_modules/fd-slicer/LICENSE +21 -0
- data/node_modules/fd-slicer/README.md +199 -0
- data/node_modules/fd-slicer/index.js +296 -0
- data/node_modules/fd-slicer/package.json +36 -0
- data/node_modules/fd-slicer/test/test.js +350 -0
- data/node_modules/find-up/index.d.ts +137 -0
- data/node_modules/find-up/index.js +89 -0
- data/node_modules/find-up/license +9 -0
- data/node_modules/find-up/package.json +53 -0
- data/node_modules/find-up/readme.md +156 -0
- data/node_modules/fs-constants/LICENSE +21 -0
- data/node_modules/fs-constants/README.md +26 -0
- data/node_modules/fs-constants/browser.js +1 -0
- data/node_modules/fs-constants/index.js +1 -0
- data/node_modules/fs-constants/package.json +19 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/get-stream/buffer-stream.js +52 -0
- data/node_modules/get-stream/index.d.ts +108 -0
- data/node_modules/get-stream/index.js +60 -0
- data/node_modules/get-stream/license +9 -0
- data/node_modules/get-stream/package.json +50 -0
- data/node_modules/get-stream/readme.md +124 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +375 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +234 -0
- data/node_modules/glob/glob.js +788 -0
- data/node_modules/glob/package.json +51 -0
- data/node_modules/glob/sync.js +484 -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/ieee754/LICENSE +11 -0
- data/node_modules/ieee754/README.md +51 -0
- data/node_modules/ieee754/index.d.ts +10 -0
- data/node_modules/ieee754/index.js +85 -0
- data/node_modules/ieee754/package.json +52 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/locate-path/index.d.ts +83 -0
- data/node_modules/locate-path/index.js +65 -0
- data/node_modules/locate-path/license +9 -0
- data/node_modules/locate-path/package.json +45 -0
- data/node_modules/locate-path/readme.md +122 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +30 -0
- data/node_modules/minimist/.travis.yml +8 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/example/parse.js +2 -0
- data/node_modules/minimist/index.js +245 -0
- data/node_modules/minimist/package.json +45 -0
- data/node_modules/minimist/readme.markdown +95 -0
- data/node_modules/minimist/test/all_bool.js +32 -0
- data/node_modules/minimist/test/bool.js +178 -0
- data/node_modules/minimist/test/dash.js +31 -0
- data/node_modules/minimist/test/default_bool.js +35 -0
- data/node_modules/minimist/test/dotted.js +22 -0
- data/node_modules/minimist/test/kv_short.js +16 -0
- data/node_modules/minimist/test/long.js +31 -0
- data/node_modules/minimist/test/num.js +36 -0
- data/node_modules/minimist/test/parse.js +197 -0
- data/node_modules/minimist/test/parse_modified.js +9 -0
- data/node_modules/minimist/test/proto.js +44 -0
- data/node_modules/minimist/test/short.js +67 -0
- data/node_modules/minimist/test/stop_early.js +15 -0
- data/node_modules/minimist/test/unknown.js +102 -0
- data/node_modules/minimist/test/whitespace.js +8 -0
- data/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/mkdirp/bin/cmd.js +33 -0
- data/node_modules/mkdirp/bin/usage.txt +12 -0
- data/node_modules/mkdirp/index.js +99 -0
- data/node_modules/mkdirp/package.json +34 -0
- data/node_modules/mkdirp/readme.markdown +100 -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/node-fetch/CHANGELOG.md +272 -0
- data/node_modules/node-fetch/LICENSE.md +22 -0
- data/node_modules/node-fetch/README.md +590 -0
- data/node_modules/node-fetch/browser.js +25 -0
- data/node_modules/node-fetch/lib/index.es.js +1640 -0
- data/node_modules/node-fetch/lib/index.js +1649 -0
- data/node_modules/node-fetch/lib/index.mjs +1638 -0
- data/node_modules/node-fetch/package.json +66 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/p-limit/index.d.ts +38 -0
- data/node_modules/p-limit/index.js +57 -0
- data/node_modules/p-limit/license +9 -0
- data/node_modules/p-limit/package.json +52 -0
- data/node_modules/p-limit/readme.md +101 -0
- data/node_modules/p-locate/index.d.ts +64 -0
- data/node_modules/p-locate/index.js +52 -0
- data/node_modules/p-locate/license +9 -0
- data/node_modules/p-locate/package.json +53 -0
- data/node_modules/p-locate/readme.md +90 -0
- data/node_modules/p-try/index.d.ts +39 -0
- data/node_modules/p-try/index.js +9 -0
- data/node_modules/p-try/license +9 -0
- data/node_modules/p-try/package.json +42 -0
- data/node_modules/p-try/readme.md +58 -0
- data/node_modules/path-exists/index.d.ts +28 -0
- data/node_modules/path-exists/index.js +23 -0
- data/node_modules/path-exists/license +9 -0
- data/node_modules/path-exists/package.json +39 -0
- data/node_modules/path-exists/readme.md +52 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/pend/LICENSE +23 -0
- data/node_modules/pend/README.md +41 -0
- data/node_modules/pend/index.js +55 -0
- data/node_modules/pend/package.json +18 -0
- data/node_modules/pend/test.js +137 -0
- data/node_modules/pkg-dir/index.d.ts +44 -0
- data/node_modules/pkg-dir/index.js +17 -0
- data/node_modules/pkg-dir/license +9 -0
- data/node_modules/pkg-dir/package.json +56 -0
- data/node_modules/pkg-dir/readme.md +66 -0
- data/node_modules/progress/CHANGELOG.md +115 -0
- data/node_modules/progress/LICENSE +22 -0
- data/node_modules/progress/Makefile +8 -0
- data/node_modules/progress/Readme.md +146 -0
- data/node_modules/progress/index.js +1 -0
- data/node_modules/progress/lib/node-progress.js +235 -0
- data/node_modules/progress/package.json +26 -0
- data/node_modules/proxy-from-env/.eslintrc +29 -0
- data/node_modules/proxy-from-env/.travis.yml +10 -0
- data/node_modules/proxy-from-env/LICENSE +20 -0
- data/node_modules/proxy-from-env/README.md +131 -0
- data/node_modules/proxy-from-env/index.js +108 -0
- data/node_modules/proxy-from-env/package.json +34 -0
- data/node_modules/proxy-from-env/test.js +483 -0
- data/node_modules/pump/.travis.yml +5 -0
- data/node_modules/pump/LICENSE +21 -0
- data/node_modules/pump/README.md +65 -0
- data/node_modules/pump/index.js +82 -0
- data/node_modules/pump/package.json +24 -0
- data/node_modules/pump/test-browser.js +66 -0
- data/node_modules/pump/test-node.js +53 -0
- data/node_modules/puppeteer-core/CHANGELOG.md +226 -0
- data/node_modules/puppeteer-core/LICENSE +202 -0
- data/node_modules/puppeteer-core/README.md +483 -0
- data/node_modules/puppeteer-core/cjs-entry-core.js +29 -0
- data/node_modules/puppeteer-core/cjs-entry.js +29 -0
- data/node_modules/puppeteer-core/install.js +89 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +361 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +528 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +281 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +329 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +655 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +951 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +38 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +49 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +117 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +87 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +322 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +72 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +965 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +547 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +155 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +545 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +803 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +149 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +34 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +2427 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +162 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +3 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +166 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +77 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +145 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +48 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +104 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +407 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +113 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +29 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +44 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +328 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +20 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +45 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +502 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +225 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +574 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +23 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +57 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +357 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +523 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +276 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +323 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +650 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +78 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +948 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +94 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +34 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +110 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +84 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +318 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +68 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +960 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +543 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +151 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +539 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +778 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +145 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +337 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +32 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +2423 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +2 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +141 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +100 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +404 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +109 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +306 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +38 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +476 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +199 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +552 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +182 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +152 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +20 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +54 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/types.d.ts +6911 -0
- data/node_modules/puppeteer-core/package.json +122 -0
- data/node_modules/puppeteer-core/typescript-if-required.js +61 -0
- data/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- data/node_modules/readable-stream/GOVERNANCE.md +136 -0
- data/node_modules/readable-stream/LICENSE +47 -0
- data/node_modules/readable-stream/README.md +106 -0
- data/node_modules/readable-stream/errors-browser.js +127 -0
- data/node_modules/readable-stream/errors.js +116 -0
- data/node_modules/readable-stream/experimentalWarning.js +17 -0
- data/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- data/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- data/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- data/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- data/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- data/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- data/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- data/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- data/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- data/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- data/node_modules/readable-stream/package.json +68 -0
- data/node_modules/readable-stream/readable-browser.js +9 -0
- data/node_modules/readable-stream/readable.js +16 -0
- data/node_modules/rimraf/CHANGELOG.md +65 -0
- data/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/rimraf/README.md +101 -0
- data/node_modules/rimraf/bin.js +68 -0
- data/node_modules/rimraf/package.json +32 -0
- data/node_modules/rimraf/rimraf.js +360 -0
- data/node_modules/safe-buffer/LICENSE +21 -0
- data/node_modules/safe-buffer/README.md +584 -0
- data/node_modules/safe-buffer/index.d.ts +187 -0
- data/node_modules/safe-buffer/index.js +65 -0
- data/node_modules/safe-buffer/package.json +51 -0
- data/node_modules/string_decoder/LICENSE +48 -0
- data/node_modules/string_decoder/README.md +47 -0
- data/node_modules/string_decoder/lib/string_decoder.js +296 -0
- data/node_modules/string_decoder/package.json +34 -0
- data/node_modules/tar-fs/.travis.yml +5 -0
- data/node_modules/tar-fs/LICENSE +21 -0
- data/node_modules/tar-fs/README.md +163 -0
- data/node_modules/tar-fs/index.js +348 -0
- data/node_modules/tar-fs/package.json +41 -0
- data/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- data/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- data/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- data/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- data/node_modules/tar-fs/test/fixtures/e/file +0 -0
- data/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- data/node_modules/tar-fs/test/index.js +346 -0
- data/node_modules/tar-stream/LICENSE +21 -0
- data/node_modules/tar-stream/README.md +168 -0
- data/node_modules/tar-stream/extract.js +257 -0
- data/node_modules/tar-stream/headers.js +295 -0
- data/node_modules/tar-stream/index.js +2 -0
- data/node_modules/tar-stream/pack.js +255 -0
- data/node_modules/tar-stream/package.json +58 -0
- data/node_modules/tar-stream/sandbox.js +11 -0
- data/node_modules/through/.travis.yml +5 -0
- data/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/through/index.js +108 -0
- data/node_modules/through/package.json +36 -0
- data/node_modules/through/readme.markdown +64 -0
- data/node_modules/through/test/async.js +28 -0
- data/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/through/test/buffering.js +71 -0
- data/node_modules/through/test/end.js +45 -0
- data/node_modules/through/test/index.js +133 -0
- data/node_modules/unbzip2-stream/LICENSE +24 -0
- data/node_modules/unbzip2-stream/README.md +59 -0
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -0
- data/node_modules/unbzip2-stream/index.js +92 -0
- data/node_modules/unbzip2-stream/lib/bit_iterator.js +39 -0
- data/node_modules/unbzip2-stream/lib/bzip2.js +367 -0
- data/node_modules/unbzip2-stream/package.json +51 -0
- data/node_modules/util-deprecate/History.md +16 -0
- data/node_modules/util-deprecate/LICENSE +24 -0
- data/node_modules/util-deprecate/README.md +53 -0
- data/node_modules/util-deprecate/browser.js +67 -0
- data/node_modules/util-deprecate/node.js +6 -0
- data/node_modules/util-deprecate/package.json +27 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -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 +517 -0
- data/node_modules/ws/lib/receiver.js +507 -0
- data/node_modules/ws/lib/sender.js +405 -0
- data/node_modules/ws/lib/stream.js +165 -0
- data/node_modules/ws/lib/validation.js +104 -0
- data/node_modules/ws/lib/websocket-server.js +418 -0
- data/node_modules/ws/lib/websocket.js +942 -0
- data/node_modules/ws/package.json +56 -0
- data/node_modules/yauzl/LICENSE +21 -0
- data/node_modules/yauzl/README.md +658 -0
- data/node_modules/yauzl/index.js +796 -0
- data/node_modules/yauzl/package.json +40 -0
- data/package.json +6 -0
- metadata +940 -58
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"FrameManager.js","sourceRoot":"","sources":["../../../../src/common/FrameManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,E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,CAAC,OAAO,EAAE,CAAC;QAC1B,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;QAC/B,IAAI,IAAI,CAAC,YAAY;YAAE,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3B,CAAC;CACF;AAED,SAAS,+BAA+B,CAAC,OAExC;IACC,MAAM,CACJ,OAAO,CAAC,oBAAoB,CAAC,KAAK,SAAS,EAC3C,0DAA0D,CAC3D,CAAC;IACF,MAAM,CACJ,OAAO,CAAC,qBAAqB,CAAC,KAAK,SAAS,EAC5C,2DAA2D,CAC5D,CAAC;IACF,MAAM,CACJ,OAAO,CAAC,SAAS,KAAK,aAAa,EACnC,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
|
@@ -0,0 +1,341 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
/**
|
3
|
+
* Copyright 2020 Google Inc. All rights reserved.
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { CDPSession } from './Connection.js';
|
18
|
+
import { Frame } from './FrameManager.js';
|
19
|
+
import { HTTPResponse } from './HTTPResponse.js';
|
20
|
+
import { Protocol } from 'devtools-protocol';
|
21
|
+
/**
|
22
|
+
* @public
|
23
|
+
*/
|
24
|
+
export interface ContinueRequestOverrides {
|
25
|
+
/**
|
26
|
+
* If set, the request URL will change. This is not a redirect.
|
27
|
+
*/
|
28
|
+
url?: string;
|
29
|
+
method?: string;
|
30
|
+
postData?: string;
|
31
|
+
headers?: Record<string, string>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Required response data to fulfill a request with.
|
35
|
+
*
|
36
|
+
* @public
|
37
|
+
*/
|
38
|
+
export interface ResponseForRequest {
|
39
|
+
status: number;
|
40
|
+
/**
|
41
|
+
* Optional response headers. All values are converted to strings.
|
42
|
+
*/
|
43
|
+
headers: Record<string, unknown>;
|
44
|
+
contentType: string;
|
45
|
+
body: string | Buffer;
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* Resource types for HTTPRequests as perceived by the rendering engine.
|
49
|
+
*
|
50
|
+
* @public
|
51
|
+
*/
|
52
|
+
export declare type ResourceType = Lowercase<Protocol.Network.ResourceType>;
|
53
|
+
/**
|
54
|
+
*
|
55
|
+
* Represents an HTTP request sent by a page.
|
56
|
+
* @remarks
|
57
|
+
*
|
58
|
+
* Whenever the page sends a request, such as for a network resource, the
|
59
|
+
* following events are emitted by Puppeteer's `page`:
|
60
|
+
*
|
61
|
+
* - `request`: emitted when the request is issued by the page.
|
62
|
+
* - `requestfinished` - emitted when the response body is downloaded and the
|
63
|
+
* request is complete.
|
64
|
+
*
|
65
|
+
* If request fails at some point, then instead of `requestfinished` event the
|
66
|
+
* `requestfailed` event is emitted.
|
67
|
+
*
|
68
|
+
* All of these events provide an instance of `HTTPRequest` representing the
|
69
|
+
* request that occurred:
|
70
|
+
*
|
71
|
+
* ```
|
72
|
+
* page.on('request', request => ...)
|
73
|
+
* ```
|
74
|
+
*
|
75
|
+
* NOTE: HTTP Error responses, such as 404 or 503, are still successful
|
76
|
+
* responses from HTTP standpoint, so request will complete with
|
77
|
+
* `requestfinished` event.
|
78
|
+
*
|
79
|
+
* If request gets a 'redirect' response, the request is successfully finished
|
80
|
+
* with the `requestfinished` event, and a new request is issued to a
|
81
|
+
* redirected url.
|
82
|
+
*
|
83
|
+
* @public
|
84
|
+
*/
|
85
|
+
export declare class HTTPRequest {
|
86
|
+
/**
|
87
|
+
* @internal
|
88
|
+
*/
|
89
|
+
_requestId: string;
|
90
|
+
/**
|
91
|
+
* @internal
|
92
|
+
*/
|
93
|
+
_interceptionId: string;
|
94
|
+
/**
|
95
|
+
* @internal
|
96
|
+
*/
|
97
|
+
_failureText: any;
|
98
|
+
/**
|
99
|
+
* @internal
|
100
|
+
*/
|
101
|
+
_response: HTTPResponse | null;
|
102
|
+
/**
|
103
|
+
* @internal
|
104
|
+
*/
|
105
|
+
_fromMemoryCache: boolean;
|
106
|
+
/**
|
107
|
+
* @internal
|
108
|
+
*/
|
109
|
+
_redirectChain: HTTPRequest[];
|
110
|
+
private _client;
|
111
|
+
private _isNavigationRequest;
|
112
|
+
private _allowInterception;
|
113
|
+
private _interceptionHandled;
|
114
|
+
private _url;
|
115
|
+
private _resourceType;
|
116
|
+
private _method;
|
117
|
+
private _postData?;
|
118
|
+
private _headers;
|
119
|
+
private _frame;
|
120
|
+
private _continueRequestOverrides;
|
121
|
+
private _responseForRequest;
|
122
|
+
private _abortErrorReason;
|
123
|
+
private _currentStrategy;
|
124
|
+
private _currentPriority;
|
125
|
+
private _interceptActions;
|
126
|
+
/**
|
127
|
+
* @internal
|
128
|
+
*/
|
129
|
+
constructor(client: CDPSession, frame: Frame, interceptionId: string, allowInterception: boolean, event: Protocol.Network.RequestWillBeSentEvent, redirectChain: HTTPRequest[]);
|
130
|
+
/**
|
131
|
+
* @returns the URL of the request
|
132
|
+
*/
|
133
|
+
url(): string;
|
134
|
+
/**
|
135
|
+
* @returns the `ContinueRequestOverrides` that will be used
|
136
|
+
* if the interception is allowed to continue (ie, `abort()` and
|
137
|
+
* `respond()` aren't called).
|
138
|
+
*/
|
139
|
+
continueRequestOverrides(): ContinueRequestOverrides;
|
140
|
+
/**
|
141
|
+
* @returns The `ResponseForRequest` that gets used if the
|
142
|
+
* interception is allowed to respond (ie, `abort()` is not called).
|
143
|
+
*/
|
144
|
+
responseForRequest(): Partial<ResponseForRequest>;
|
145
|
+
/**
|
146
|
+
* @returns the most recent reason for aborting the request
|
147
|
+
*/
|
148
|
+
abortErrorReason(): Protocol.Network.ErrorReason;
|
149
|
+
/**
|
150
|
+
* @returns An array of the current intercept resolution strategy and priority
|
151
|
+
* `[strategy,priority]`. Strategy is one of: `abort`, `respond`, `continue`,
|
152
|
+
* `disabled`, `none`, or `already-handled`.
|
153
|
+
*/
|
154
|
+
private interceptResolution;
|
155
|
+
/**
|
156
|
+
* Adds an async request handler to the processing queue.
|
157
|
+
* Deferred handlers are not guaranteed to execute in any particular order,
|
158
|
+
* but they are guarnateed to resolve before the request interception
|
159
|
+
* is finalized.
|
160
|
+
*/
|
161
|
+
enqueueInterceptAction(pendingHandler: () => void | PromiseLike<unknown>): void;
|
162
|
+
/**
|
163
|
+
* Awaits pending interception handlers and then decides how to fulfill
|
164
|
+
* the request interception.
|
165
|
+
*/
|
166
|
+
finalizeInterceptions(): Promise<void>;
|
167
|
+
/**
|
168
|
+
* Contains the request's resource type as it was perceived by the rendering
|
169
|
+
* engine.
|
170
|
+
*/
|
171
|
+
resourceType(): ResourceType;
|
172
|
+
/**
|
173
|
+
* @returns the method used (`GET`, `POST`, etc.)
|
174
|
+
*/
|
175
|
+
method(): string;
|
176
|
+
/**
|
177
|
+
* @returns the request's post body, if any.
|
178
|
+
*/
|
179
|
+
postData(): string | undefined;
|
180
|
+
/**
|
181
|
+
* @returns an object with HTTP headers associated with the request. All
|
182
|
+
* header names are lower-case.
|
183
|
+
*/
|
184
|
+
headers(): Record<string, string>;
|
185
|
+
/**
|
186
|
+
* @returns A matching `HTTPResponse` object, or null if the response has not
|
187
|
+
* been received yet.
|
188
|
+
*/
|
189
|
+
response(): HTTPResponse | null;
|
190
|
+
/**
|
191
|
+
* @returns the frame that initiated the request, or null if navigating to
|
192
|
+
* error pages.
|
193
|
+
*/
|
194
|
+
frame(): Frame | null;
|
195
|
+
/**
|
196
|
+
* @returns true if the request is the driver of the current frame's navigation.
|
197
|
+
*/
|
198
|
+
isNavigationRequest(): boolean;
|
199
|
+
/**
|
200
|
+
* A `redirectChain` is a chain of requests initiated to fetch a resource.
|
201
|
+
* @remarks
|
202
|
+
*
|
203
|
+
* `redirectChain` is shared between all the requests of the same chain.
|
204
|
+
*
|
205
|
+
* For example, if the website `http://example.com` has a single redirect to
|
206
|
+
* `https://example.com`, then the chain will contain one request:
|
207
|
+
*
|
208
|
+
* ```js
|
209
|
+
* const response = await page.goto('http://example.com');
|
210
|
+
* const chain = response.request().redirectChain();
|
211
|
+
* console.log(chain.length); // 1
|
212
|
+
* console.log(chain[0].url()); // 'http://example.com'
|
213
|
+
* ```
|
214
|
+
*
|
215
|
+
* If the website `https://google.com` has no redirects, then the chain will be empty:
|
216
|
+
*
|
217
|
+
* ```js
|
218
|
+
* const response = await page.goto('https://google.com');
|
219
|
+
* const chain = response.request().redirectChain();
|
220
|
+
* console.log(chain.length); // 0
|
221
|
+
* ```
|
222
|
+
*
|
223
|
+
* @returns the chain of requests - if a server responds with at least a
|
224
|
+
* single redirect, this chain will contain all requests that were redirected.
|
225
|
+
*/
|
226
|
+
redirectChain(): HTTPRequest[];
|
227
|
+
/**
|
228
|
+
* Access information about the request's failure.
|
229
|
+
*
|
230
|
+
* @remarks
|
231
|
+
*
|
232
|
+
* @example
|
233
|
+
*
|
234
|
+
* Example of logging all failed requests:
|
235
|
+
*
|
236
|
+
* ```js
|
237
|
+
* page.on('requestfailed', request => {
|
238
|
+
* console.log(request.url() + ' ' + request.failure().errorText);
|
239
|
+
* });
|
240
|
+
* ```
|
241
|
+
*
|
242
|
+
* @returns `null` unless the request failed. If the request fails this can
|
243
|
+
* return an object with `errorText` containing a human-readable error
|
244
|
+
* message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be
|
245
|
+
* failure text if the request fails.
|
246
|
+
*/
|
247
|
+
failure(): {
|
248
|
+
errorText: string;
|
249
|
+
} | null;
|
250
|
+
/**
|
251
|
+
* Continues request with optional request overrides.
|
252
|
+
*
|
253
|
+
* @remarks
|
254
|
+
*
|
255
|
+
* To use this, request
|
256
|
+
* interception should be enabled with {@link Page.setRequestInterception}.
|
257
|
+
*
|
258
|
+
* Exception is immediately thrown if the request interception is not enabled.
|
259
|
+
*
|
260
|
+
* @example
|
261
|
+
* ```js
|
262
|
+
* await page.setRequestInterception(true);
|
263
|
+
* page.on('request', request => {
|
264
|
+
* // Override headers
|
265
|
+
* const headers = Object.assign({}, request.headers(), {
|
266
|
+
* foo: 'bar', // set "foo" header
|
267
|
+
* origin: undefined, // remove "origin" header
|
268
|
+
* });
|
269
|
+
* request.continue({headers});
|
270
|
+
* });
|
271
|
+
* ```
|
272
|
+
*
|
273
|
+
* @param overrides - optional overrides to apply to the request.
|
274
|
+
* @param priority - If provided, intercept is resolved using
|
275
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
276
|
+
* immediately.
|
277
|
+
*/
|
278
|
+
continue(overrides?: ContinueRequestOverrides, priority?: number): Promise<void>;
|
279
|
+
private _continue;
|
280
|
+
/**
|
281
|
+
* Fulfills a request with the given response.
|
282
|
+
*
|
283
|
+
* @remarks
|
284
|
+
*
|
285
|
+
* To use this, request
|
286
|
+
* interception should be enabled with {@link Page.setRequestInterception}.
|
287
|
+
*
|
288
|
+
* Exception is immediately thrown if the request interception is not enabled.
|
289
|
+
*
|
290
|
+
* @example
|
291
|
+
* An example of fulfilling all requests with 404 responses:
|
292
|
+
* ```js
|
293
|
+
* await page.setRequestInterception(true);
|
294
|
+
* page.on('request', request => {
|
295
|
+
* request.respond({
|
296
|
+
* status: 404,
|
297
|
+
* contentType: 'text/plain',
|
298
|
+
* body: 'Not Found!'
|
299
|
+
* });
|
300
|
+
* });
|
301
|
+
* ```
|
302
|
+
*
|
303
|
+
* NOTE: Mocking responses for dataURL requests is not supported.
|
304
|
+
* Calling `request.respond` for a dataURL request is a noop.
|
305
|
+
*
|
306
|
+
* @param response - the response to fulfill the request with.
|
307
|
+
* @param priority - If provided, intercept is resolved using
|
308
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
309
|
+
* immediately.
|
310
|
+
*/
|
311
|
+
respond(response: Partial<ResponseForRequest>, priority?: number): Promise<void>;
|
312
|
+
private _respond;
|
313
|
+
/**
|
314
|
+
* Aborts a request.
|
315
|
+
*
|
316
|
+
* @remarks
|
317
|
+
* To use this, request interception should be enabled with
|
318
|
+
* {@link Page.setRequestInterception}. If it is not enabled, this method will
|
319
|
+
* throw an exception immediately.
|
320
|
+
*
|
321
|
+
* @param errorCode - optional error code to provide.
|
322
|
+
* @param priority - If provided, intercept is resolved using
|
323
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
324
|
+
* immediately.
|
325
|
+
*/
|
326
|
+
abort(errorCode?: ErrorCode, priority?: number): Promise<void>;
|
327
|
+
private _abort;
|
328
|
+
}
|
329
|
+
/**
|
330
|
+
* @public
|
331
|
+
*/
|
332
|
+
export declare type InterceptResolutionStrategy = 'abort' | 'respond' | 'continue' | 'disabled' | 'none' | 'alreay-handled';
|
333
|
+
/**
|
334
|
+
* @public
|
335
|
+
*/
|
336
|
+
export declare type ErrorCode = 'aborted' | 'accessdenied' | 'addressunreachable' | 'blockedbyclient' | 'blockedbyresponse' | 'connectionaborted' | 'connectionclosed' | 'connectionfailed' | 'connectionrefused' | 'connectionreset' | 'internetdisconnected' | 'namenotresolved' | 'timedout' | 'failed';
|
337
|
+
/**
|
338
|
+
* @public
|
339
|
+
*/
|
340
|
+
export declare type ActionResult = 'continue' | 'abort' | 'respond';
|
341
|
+
//# sourceMappingURL=HTTPRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HTTPRequest.d.ts","sourceRoot":"","sources":["../../../../src/common/HTTPRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EA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;;OA0BG;IACH,aAAa,IAAI,WAAW,EAAE;IAI9B;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,IAAI;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAOvC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,QAAQ,CACZ,SAAS,GAAE,wBAA6B,EACxC,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC;YA6BF,SAAS;IA0BvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACG,OAAO,CACX,QAAQ,EAAE,OAAO,CAAC,kBAAkB,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC;YAyBF,QAAQ;IAsCtB;;;;;;;;;;;;OAYG;IACG,KAAK,CACT,SAAS,GAAE,SAAoB,EAC/B,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC;YAqBF,MAAM;CAgBrB;AAED;;GAEG;AACH,oBAAY,2BAA2B,GACnC,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,MAAM,GACN,gBAAgB,CAAC;AAErB;;GAEG;AACH,oBAAY,SAAS,GACjB,SAAS,GACT,cAAc,GACd,oBAAoB,GACpB,iBAAiB,GACjB,mBAAmB,GACnB,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,mBAAmB,GACnB,iBAAiB,GACjB,sBAAsB,GACtB,iBAAiB,GACjB,UAAU,GACV,QAAQ,CAAC;AAmBb;;GAEG;AACH,oBAAY,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC"}
|
@@ -0,0 +1,543 @@
|
|
1
|
+
import { assert } from './assert.js';
|
2
|
+
import { helper, debugError } from './helper.js';
|
3
|
+
/**
|
4
|
+
*
|
5
|
+
* Represents an HTTP request sent by a page.
|
6
|
+
* @remarks
|
7
|
+
*
|
8
|
+
* Whenever the page sends a request, such as for a network resource, the
|
9
|
+
* following events are emitted by Puppeteer's `page`:
|
10
|
+
*
|
11
|
+
* - `request`: emitted when the request is issued by the page.
|
12
|
+
* - `requestfinished` - emitted when the response body is downloaded and the
|
13
|
+
* request is complete.
|
14
|
+
*
|
15
|
+
* If request fails at some point, then instead of `requestfinished` event the
|
16
|
+
* `requestfailed` event is emitted.
|
17
|
+
*
|
18
|
+
* All of these events provide an instance of `HTTPRequest` representing the
|
19
|
+
* request that occurred:
|
20
|
+
*
|
21
|
+
* ```
|
22
|
+
* page.on('request', request => ...)
|
23
|
+
* ```
|
24
|
+
*
|
25
|
+
* NOTE: HTTP Error responses, such as 404 or 503, are still successful
|
26
|
+
* responses from HTTP standpoint, so request will complete with
|
27
|
+
* `requestfinished` event.
|
28
|
+
*
|
29
|
+
* If request gets a 'redirect' response, the request is successfully finished
|
30
|
+
* with the `requestfinished` event, and a new request is issued to a
|
31
|
+
* redirected url.
|
32
|
+
*
|
33
|
+
* @public
|
34
|
+
*/
|
35
|
+
export class HTTPRequest {
|
36
|
+
/**
|
37
|
+
* @internal
|
38
|
+
*/
|
39
|
+
constructor(client, frame, interceptionId, allowInterception, event, redirectChain) {
|
40
|
+
/**
|
41
|
+
* @internal
|
42
|
+
*/
|
43
|
+
this._failureText = null;
|
44
|
+
/**
|
45
|
+
* @internal
|
46
|
+
*/
|
47
|
+
this._response = null;
|
48
|
+
/**
|
49
|
+
* @internal
|
50
|
+
*/
|
51
|
+
this._fromMemoryCache = false;
|
52
|
+
this._interceptionHandled = false;
|
53
|
+
this._headers = {};
|
54
|
+
this._client = client;
|
55
|
+
this._requestId = event.requestId;
|
56
|
+
this._isNavigationRequest =
|
57
|
+
event.requestId === event.loaderId && event.type === 'Document';
|
58
|
+
this._interceptionId = interceptionId;
|
59
|
+
this._allowInterception = allowInterception;
|
60
|
+
this._url = event.request.url;
|
61
|
+
this._resourceType = event.type.toLowerCase();
|
62
|
+
this._method = event.request.method;
|
63
|
+
this._postData = event.request.postData;
|
64
|
+
this._frame = frame;
|
65
|
+
this._redirectChain = redirectChain;
|
66
|
+
this._continueRequestOverrides = {};
|
67
|
+
this._currentStrategy = 'none';
|
68
|
+
this._currentPriority = undefined;
|
69
|
+
this._interceptActions = [];
|
70
|
+
for (const key of Object.keys(event.request.headers))
|
71
|
+
this._headers[key.toLowerCase()] = event.request.headers[key];
|
72
|
+
}
|
73
|
+
/**
|
74
|
+
* @returns the URL of the request
|
75
|
+
*/
|
76
|
+
url() {
|
77
|
+
return this._url;
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* @returns the `ContinueRequestOverrides` that will be used
|
81
|
+
* if the interception is allowed to continue (ie, `abort()` and
|
82
|
+
* `respond()` aren't called).
|
83
|
+
*/
|
84
|
+
continueRequestOverrides() {
|
85
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
86
|
+
return this._continueRequestOverrides;
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* @returns The `ResponseForRequest` that gets used if the
|
90
|
+
* interception is allowed to respond (ie, `abort()` is not called).
|
91
|
+
*/
|
92
|
+
responseForRequest() {
|
93
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
94
|
+
return this._responseForRequest;
|
95
|
+
}
|
96
|
+
/**
|
97
|
+
* @returns the most recent reason for aborting the request
|
98
|
+
*/
|
99
|
+
abortErrorReason() {
|
100
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
101
|
+
return this._abortErrorReason;
|
102
|
+
}
|
103
|
+
/**
|
104
|
+
* @returns An array of the current intercept resolution strategy and priority
|
105
|
+
* `[strategy,priority]`. Strategy is one of: `abort`, `respond`, `continue`,
|
106
|
+
* `disabled`, `none`, or `already-handled`.
|
107
|
+
*/
|
108
|
+
interceptResolution() {
|
109
|
+
if (!this._allowInterception)
|
110
|
+
return ['disabled'];
|
111
|
+
if (this._interceptionHandled)
|
112
|
+
return ['alreay-handled'];
|
113
|
+
return [this._currentStrategy, this._currentPriority];
|
114
|
+
}
|
115
|
+
/**
|
116
|
+
* Adds an async request handler to the processing queue.
|
117
|
+
* Deferred handlers are not guaranteed to execute in any particular order,
|
118
|
+
* but they are guarnateed to resolve before the request interception
|
119
|
+
* is finalized.
|
120
|
+
*/
|
121
|
+
enqueueInterceptAction(pendingHandler) {
|
122
|
+
this._interceptActions.push(pendingHandler);
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* Awaits pending interception handlers and then decides how to fulfill
|
126
|
+
* the request interception.
|
127
|
+
*/
|
128
|
+
async finalizeInterceptions() {
|
129
|
+
await this._interceptActions.reduce((promiseChain, interceptAction) => promiseChain.then(interceptAction).catch((error) => {
|
130
|
+
// This is here so cooperative handlers that fail do not stop other handlers
|
131
|
+
// from running
|
132
|
+
debugError(error);
|
133
|
+
}), Promise.resolve());
|
134
|
+
const [resolution] = this.interceptResolution();
|
135
|
+
switch (resolution) {
|
136
|
+
case 'abort':
|
137
|
+
return this._abort(this._abortErrorReason);
|
138
|
+
case 'respond':
|
139
|
+
return this._respond(this._responseForRequest);
|
140
|
+
case 'continue':
|
141
|
+
return this._continue(this._continueRequestOverrides);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* Contains the request's resource type as it was perceived by the rendering
|
146
|
+
* engine.
|
147
|
+
*/
|
148
|
+
resourceType() {
|
149
|
+
return this._resourceType;
|
150
|
+
}
|
151
|
+
/**
|
152
|
+
* @returns the method used (`GET`, `POST`, etc.)
|
153
|
+
*/
|
154
|
+
method() {
|
155
|
+
return this._method;
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* @returns the request's post body, if any.
|
159
|
+
*/
|
160
|
+
postData() {
|
161
|
+
return this._postData;
|
162
|
+
}
|
163
|
+
/**
|
164
|
+
* @returns an object with HTTP headers associated with the request. All
|
165
|
+
* header names are lower-case.
|
166
|
+
*/
|
167
|
+
headers() {
|
168
|
+
return this._headers;
|
169
|
+
}
|
170
|
+
/**
|
171
|
+
* @returns A matching `HTTPResponse` object, or null if the response has not
|
172
|
+
* been received yet.
|
173
|
+
*/
|
174
|
+
response() {
|
175
|
+
return this._response;
|
176
|
+
}
|
177
|
+
/**
|
178
|
+
* @returns the frame that initiated the request, or null if navigating to
|
179
|
+
* error pages.
|
180
|
+
*/
|
181
|
+
frame() {
|
182
|
+
return this._frame;
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* @returns true if the request is the driver of the current frame's navigation.
|
186
|
+
*/
|
187
|
+
isNavigationRequest() {
|
188
|
+
return this._isNavigationRequest;
|
189
|
+
}
|
190
|
+
/**
|
191
|
+
* A `redirectChain` is a chain of requests initiated to fetch a resource.
|
192
|
+
* @remarks
|
193
|
+
*
|
194
|
+
* `redirectChain` is shared between all the requests of the same chain.
|
195
|
+
*
|
196
|
+
* For example, if the website `http://example.com` has a single redirect to
|
197
|
+
* `https://example.com`, then the chain will contain one request:
|
198
|
+
*
|
199
|
+
* ```js
|
200
|
+
* const response = await page.goto('http://example.com');
|
201
|
+
* const chain = response.request().redirectChain();
|
202
|
+
* console.log(chain.length); // 1
|
203
|
+
* console.log(chain[0].url()); // 'http://example.com'
|
204
|
+
* ```
|
205
|
+
*
|
206
|
+
* If the website `https://google.com` has no redirects, then the chain will be empty:
|
207
|
+
*
|
208
|
+
* ```js
|
209
|
+
* const response = await page.goto('https://google.com');
|
210
|
+
* const chain = response.request().redirectChain();
|
211
|
+
* console.log(chain.length); // 0
|
212
|
+
* ```
|
213
|
+
*
|
214
|
+
* @returns the chain of requests - if a server responds with at least a
|
215
|
+
* single redirect, this chain will contain all requests that were redirected.
|
216
|
+
*/
|
217
|
+
redirectChain() {
|
218
|
+
return this._redirectChain.slice();
|
219
|
+
}
|
220
|
+
/**
|
221
|
+
* Access information about the request's failure.
|
222
|
+
*
|
223
|
+
* @remarks
|
224
|
+
*
|
225
|
+
* @example
|
226
|
+
*
|
227
|
+
* Example of logging all failed requests:
|
228
|
+
*
|
229
|
+
* ```js
|
230
|
+
* page.on('requestfailed', request => {
|
231
|
+
* console.log(request.url() + ' ' + request.failure().errorText);
|
232
|
+
* });
|
233
|
+
* ```
|
234
|
+
*
|
235
|
+
* @returns `null` unless the request failed. If the request fails this can
|
236
|
+
* return an object with `errorText` containing a human-readable error
|
237
|
+
* message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be
|
238
|
+
* failure text if the request fails.
|
239
|
+
*/
|
240
|
+
failure() {
|
241
|
+
if (!this._failureText)
|
242
|
+
return null;
|
243
|
+
return {
|
244
|
+
errorText: this._failureText,
|
245
|
+
};
|
246
|
+
}
|
247
|
+
/**
|
248
|
+
* Continues request with optional request overrides.
|
249
|
+
*
|
250
|
+
* @remarks
|
251
|
+
*
|
252
|
+
* To use this, request
|
253
|
+
* interception should be enabled with {@link Page.setRequestInterception}.
|
254
|
+
*
|
255
|
+
* Exception is immediately thrown if the request interception is not enabled.
|
256
|
+
*
|
257
|
+
* @example
|
258
|
+
* ```js
|
259
|
+
* await page.setRequestInterception(true);
|
260
|
+
* page.on('request', request => {
|
261
|
+
* // Override headers
|
262
|
+
* const headers = Object.assign({}, request.headers(), {
|
263
|
+
* foo: 'bar', // set "foo" header
|
264
|
+
* origin: undefined, // remove "origin" header
|
265
|
+
* });
|
266
|
+
* request.continue({headers});
|
267
|
+
* });
|
268
|
+
* ```
|
269
|
+
*
|
270
|
+
* @param overrides - optional overrides to apply to the request.
|
271
|
+
* @param priority - If provided, intercept is resolved using
|
272
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
273
|
+
* immediately.
|
274
|
+
*/
|
275
|
+
async continue(overrides = {}, priority) {
|
276
|
+
// Request interception is not supported for data: urls.
|
277
|
+
if (this._url.startsWith('data:'))
|
278
|
+
return;
|
279
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
280
|
+
assert(!this._interceptionHandled, 'Request is already handled!');
|
281
|
+
if (priority === undefined) {
|
282
|
+
return this._continue(overrides);
|
283
|
+
}
|
284
|
+
this._continueRequestOverrides = overrides;
|
285
|
+
if (priority > this._currentPriority ||
|
286
|
+
this._currentPriority === undefined) {
|
287
|
+
this._currentStrategy = 'continue';
|
288
|
+
this._currentPriority = priority;
|
289
|
+
return;
|
290
|
+
}
|
291
|
+
if (priority === this._currentPriority) {
|
292
|
+
if (this._currentStrategy === 'abort' ||
|
293
|
+
this._currentStrategy === 'respond') {
|
294
|
+
return;
|
295
|
+
}
|
296
|
+
this._currentStrategy = 'continue';
|
297
|
+
}
|
298
|
+
return;
|
299
|
+
}
|
300
|
+
async _continue(overrides = {}) {
|
301
|
+
const { url, method, postData, headers } = overrides;
|
302
|
+
this._interceptionHandled = true;
|
303
|
+
const postDataBinaryBase64 = postData
|
304
|
+
? Buffer.from(postData).toString('base64')
|
305
|
+
: undefined;
|
306
|
+
await this._client
|
307
|
+
.send('Fetch.continueRequest', {
|
308
|
+
requestId: this._interceptionId,
|
309
|
+
url,
|
310
|
+
method,
|
311
|
+
postData: postDataBinaryBase64,
|
312
|
+
headers: headers ? headersArray(headers) : undefined,
|
313
|
+
})
|
314
|
+
.catch((error) => {
|
315
|
+
// In certain cases, protocol will return error if the request was
|
316
|
+
// already canceled or the page was closed. We should tolerate these
|
317
|
+
// errors.
|
318
|
+
debugError(error);
|
319
|
+
});
|
320
|
+
}
|
321
|
+
/**
|
322
|
+
* Fulfills a request with the given response.
|
323
|
+
*
|
324
|
+
* @remarks
|
325
|
+
*
|
326
|
+
* To use this, request
|
327
|
+
* interception should be enabled with {@link Page.setRequestInterception}.
|
328
|
+
*
|
329
|
+
* Exception is immediately thrown if the request interception is not enabled.
|
330
|
+
*
|
331
|
+
* @example
|
332
|
+
* An example of fulfilling all requests with 404 responses:
|
333
|
+
* ```js
|
334
|
+
* await page.setRequestInterception(true);
|
335
|
+
* page.on('request', request => {
|
336
|
+
* request.respond({
|
337
|
+
* status: 404,
|
338
|
+
* contentType: 'text/plain',
|
339
|
+
* body: 'Not Found!'
|
340
|
+
* });
|
341
|
+
* });
|
342
|
+
* ```
|
343
|
+
*
|
344
|
+
* NOTE: Mocking responses for dataURL requests is not supported.
|
345
|
+
* Calling `request.respond` for a dataURL request is a noop.
|
346
|
+
*
|
347
|
+
* @param response - the response to fulfill the request with.
|
348
|
+
* @param priority - If provided, intercept is resolved using
|
349
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
350
|
+
* immediately.
|
351
|
+
*/
|
352
|
+
async respond(response, priority) {
|
353
|
+
// Mocking responses for dataURL requests is not currently supported.
|
354
|
+
if (this._url.startsWith('data:'))
|
355
|
+
return;
|
356
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
357
|
+
assert(!this._interceptionHandled, 'Request is already handled!');
|
358
|
+
if (priority === undefined) {
|
359
|
+
return this._respond(response);
|
360
|
+
}
|
361
|
+
this._responseForRequest = response;
|
362
|
+
if (priority > this._currentPriority ||
|
363
|
+
this._currentPriority === undefined) {
|
364
|
+
this._currentStrategy = 'respond';
|
365
|
+
this._currentPriority = priority;
|
366
|
+
return;
|
367
|
+
}
|
368
|
+
if (priority === this._currentPriority) {
|
369
|
+
if (this._currentStrategy === 'abort') {
|
370
|
+
return;
|
371
|
+
}
|
372
|
+
this._currentStrategy = 'respond';
|
373
|
+
}
|
374
|
+
}
|
375
|
+
async _respond(response) {
|
376
|
+
this._interceptionHandled = true;
|
377
|
+
const responseBody = response.body && helper.isString(response.body)
|
378
|
+
? Buffer.from(response.body)
|
379
|
+
: response.body || null;
|
380
|
+
const responseHeaders = {};
|
381
|
+
if (response.headers) {
|
382
|
+
for (const header of Object.keys(response.headers))
|
383
|
+
responseHeaders[header.toLowerCase()] = String(response.headers[header]);
|
384
|
+
}
|
385
|
+
if (response.contentType)
|
386
|
+
responseHeaders['content-type'] = response.contentType;
|
387
|
+
if (responseBody && !('content-length' in responseHeaders))
|
388
|
+
responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
|
389
|
+
await this._client
|
390
|
+
.send('Fetch.fulfillRequest', {
|
391
|
+
requestId: this._interceptionId,
|
392
|
+
responseCode: response.status || 200,
|
393
|
+
responsePhrase: STATUS_TEXTS[response.status || 200],
|
394
|
+
responseHeaders: headersArray(responseHeaders),
|
395
|
+
body: responseBody ? responseBody.toString('base64') : undefined,
|
396
|
+
})
|
397
|
+
.catch((error) => {
|
398
|
+
// In certain cases, protocol will return error if the request was
|
399
|
+
// already canceled or the page was closed. We should tolerate these
|
400
|
+
// errors.
|
401
|
+
debugError(error);
|
402
|
+
});
|
403
|
+
}
|
404
|
+
/**
|
405
|
+
* Aborts a request.
|
406
|
+
*
|
407
|
+
* @remarks
|
408
|
+
* To use this, request interception should be enabled with
|
409
|
+
* {@link Page.setRequestInterception}. If it is not enabled, this method will
|
410
|
+
* throw an exception immediately.
|
411
|
+
*
|
412
|
+
* @param errorCode - optional error code to provide.
|
413
|
+
* @param priority - If provided, intercept is resolved using
|
414
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
415
|
+
* immediately.
|
416
|
+
*/
|
417
|
+
async abort(errorCode = 'failed', priority) {
|
418
|
+
// Request interception is not supported for data: urls.
|
419
|
+
if (this._url.startsWith('data:'))
|
420
|
+
return;
|
421
|
+
const errorReason = errorReasons[errorCode];
|
422
|
+
assert(errorReason, 'Unknown error code: ' + errorCode);
|
423
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
424
|
+
assert(!this._interceptionHandled, 'Request is already handled!');
|
425
|
+
if (priority === undefined) {
|
426
|
+
return this._abort(errorReason);
|
427
|
+
}
|
428
|
+
this._abortErrorReason = errorReason;
|
429
|
+
if (priority >= this._currentPriority ||
|
430
|
+
this._currentPriority === undefined) {
|
431
|
+
this._currentStrategy = 'abort';
|
432
|
+
this._currentPriority = priority;
|
433
|
+
return;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
async _abort(errorReason) {
|
437
|
+
this._interceptionHandled = true;
|
438
|
+
await this._client
|
439
|
+
.send('Fetch.failRequest', {
|
440
|
+
requestId: this._interceptionId,
|
441
|
+
errorReason,
|
442
|
+
})
|
443
|
+
.catch((error) => {
|
444
|
+
// In certain cases, protocol will return error if the request was
|
445
|
+
// already canceled or the page was closed. We should tolerate these
|
446
|
+
// errors.
|
447
|
+
debugError(error);
|
448
|
+
});
|
449
|
+
}
|
450
|
+
}
|
451
|
+
const errorReasons = {
|
452
|
+
aborted: 'Aborted',
|
453
|
+
accessdenied: 'AccessDenied',
|
454
|
+
addressunreachable: 'AddressUnreachable',
|
455
|
+
blockedbyclient: 'BlockedByClient',
|
456
|
+
blockedbyresponse: 'BlockedByResponse',
|
457
|
+
connectionaborted: 'ConnectionAborted',
|
458
|
+
connectionclosed: 'ConnectionClosed',
|
459
|
+
connectionfailed: 'ConnectionFailed',
|
460
|
+
connectionrefused: 'ConnectionRefused',
|
461
|
+
connectionreset: 'ConnectionReset',
|
462
|
+
internetdisconnected: 'InternetDisconnected',
|
463
|
+
namenotresolved: 'NameNotResolved',
|
464
|
+
timedout: 'TimedOut',
|
465
|
+
failed: 'Failed',
|
466
|
+
};
|
467
|
+
function headersArray(headers) {
|
468
|
+
const result = [];
|
469
|
+
for (const name in headers) {
|
470
|
+
if (!Object.is(headers[name], undefined))
|
471
|
+
result.push({ name, value: headers[name] + '' });
|
472
|
+
}
|
473
|
+
return result;
|
474
|
+
}
|
475
|
+
// List taken from
|
476
|
+
// https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
|
477
|
+
// with extra 306 and 418 codes.
|
478
|
+
const STATUS_TEXTS = {
|
479
|
+
'100': 'Continue',
|
480
|
+
'101': 'Switching Protocols',
|
481
|
+
'102': 'Processing',
|
482
|
+
'103': 'Early Hints',
|
483
|
+
'200': 'OK',
|
484
|
+
'201': 'Created',
|
485
|
+
'202': 'Accepted',
|
486
|
+
'203': 'Non-Authoritative Information',
|
487
|
+
'204': 'No Content',
|
488
|
+
'205': 'Reset Content',
|
489
|
+
'206': 'Partial Content',
|
490
|
+
'207': 'Multi-Status',
|
491
|
+
'208': 'Already Reported',
|
492
|
+
'226': 'IM Used',
|
493
|
+
'300': 'Multiple Choices',
|
494
|
+
'301': 'Moved Permanently',
|
495
|
+
'302': 'Found',
|
496
|
+
'303': 'See Other',
|
497
|
+
'304': 'Not Modified',
|
498
|
+
'305': 'Use Proxy',
|
499
|
+
'306': 'Switch Proxy',
|
500
|
+
'307': 'Temporary Redirect',
|
501
|
+
'308': 'Permanent Redirect',
|
502
|
+
'400': 'Bad Request',
|
503
|
+
'401': 'Unauthorized',
|
504
|
+
'402': 'Payment Required',
|
505
|
+
'403': 'Forbidden',
|
506
|
+
'404': 'Not Found',
|
507
|
+
'405': 'Method Not Allowed',
|
508
|
+
'406': 'Not Acceptable',
|
509
|
+
'407': 'Proxy Authentication Required',
|
510
|
+
'408': 'Request Timeout',
|
511
|
+
'409': 'Conflict',
|
512
|
+
'410': 'Gone',
|
513
|
+
'411': 'Length Required',
|
514
|
+
'412': 'Precondition Failed',
|
515
|
+
'413': 'Payload Too Large',
|
516
|
+
'414': 'URI Too Long',
|
517
|
+
'415': 'Unsupported Media Type',
|
518
|
+
'416': 'Range Not Satisfiable',
|
519
|
+
'417': 'Expectation Failed',
|
520
|
+
'418': "I'm a teapot",
|
521
|
+
'421': 'Misdirected Request',
|
522
|
+
'422': 'Unprocessable Entity',
|
523
|
+
'423': 'Locked',
|
524
|
+
'424': 'Failed Dependency',
|
525
|
+
'425': 'Too Early',
|
526
|
+
'426': 'Upgrade Required',
|
527
|
+
'428': 'Precondition Required',
|
528
|
+
'429': 'Too Many Requests',
|
529
|
+
'431': 'Request Header Fields Too Large',
|
530
|
+
'451': 'Unavailable For Legal Reasons',
|
531
|
+
'500': 'Internal Server Error',
|
532
|
+
'501': 'Not Implemented',
|
533
|
+
'502': 'Bad Gateway',
|
534
|
+
'503': 'Service Unavailable',
|
535
|
+
'504': 'Gateway Timeout',
|
536
|
+
'505': 'HTTP Version Not Supported',
|
537
|
+
'506': 'Variant Also Negotiates',
|
538
|
+
'507': 'Insufficient Storage',
|
539
|
+
'508': 'Loop Detected',
|
540
|
+
'510': 'Not Extended',
|
541
|
+
'511': 'Network Authentication Required',
|
542
|
+
};
|
543
|
+
//# sourceMappingURL=HTTPRequest.js.map
|