isomorfeus-puppetmaster 0.5.4 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +167 -206
- data/lib/isomorfeus/puppeteer/dom_world.rb +13 -0
- data/lib/isomorfeus/puppeteer/element_handle.rb +238 -0
- data/lib/isomorfeus/puppeteer/execution_context.rb +90 -0
- data/lib/isomorfeus/puppeteer/frame.rb +33 -0
- data/lib/isomorfeus/puppeteer/js_handle.rb +13 -0
- data/lib/isomorfeus/puppeteer/page.rb +252 -0
- data/lib/isomorfeus/puppetmaster/dsl.rb +89 -17
- data/lib/isomorfeus/puppetmaster/server/checker.rb +38 -40
- data/lib/isomorfeus/puppetmaster/server.rb +169 -157
- data/lib/isomorfeus/puppetmaster/session.rb +145 -0
- data/lib/isomorfeus/puppetmaster/version.rb +3 -3
- data/lib/isomorfeus/puppetmaster.rb +44 -85
- data/lib/isomorfeus-puppetmaster.rb +11 -31
- metadata +61 -1019
- data/lib/isomorfeus/puppetmaster/console_message.rb +0 -19
- data/lib/isomorfeus/puppetmaster/cookie.rb +0 -46
- data/lib/isomorfeus/puppetmaster/document.rb +0 -271
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +0 -403
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_document.rb +0 -953
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_node.rb +0 -851
- data/lib/isomorfeus/puppetmaster/driver_registration.rb +0 -7
- data/lib/isomorfeus/puppetmaster/errors.rb +0 -90
- data/lib/isomorfeus/puppetmaster/iframe.rb +0 -17
- data/lib/isomorfeus/puppetmaster/node/checkbox.rb +0 -17
- data/lib/isomorfeus/puppetmaster/node/content_editable.rb +0 -18
- data/lib/isomorfeus/puppetmaster/node/filechooser.rb +0 -9
- data/lib/isomorfeus/puppetmaster/node/input.rb +0 -21
- data/lib/isomorfeus/puppetmaster/node/radiobutton.rb +0 -13
- data/lib/isomorfeus/puppetmaster/node/select.rb +0 -36
- data/lib/isomorfeus/puppetmaster/node/textarea.rb +0 -7
- data/lib/isomorfeus/puppetmaster/node.rb +0 -280
- data/lib/isomorfeus/puppetmaster/request.rb +0 -17
- data/lib/isomorfeus/puppetmaster/response.rb +0 -26
- data/lib/isomorfeus/puppetmaster/rspec/features.rb +0 -23
- data/lib/isomorfeus/puppetmaster/rspec/matcher_proxies.rb +0 -80
- data/lib/isomorfeus/puppetmaster/rspec/matchers/base.rb +0 -98
- data/lib/isomorfeus/puppetmaster/rspec/matchers/become_closed.rb +0 -33
- data/lib/isomorfeus/puppetmaster/rspec/matchers/compound.rb +0 -88
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_current_path.rb +0 -29
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_selector.rb +0 -69
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_text.rb +0 -33
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_title.rb +0 -29
- data/lib/isomorfeus/puppetmaster/rspec/matchers/match_selector.rb +0 -27
- data/lib/isomorfeus/puppetmaster/rspec/matchers/match_style.rb +0 -38
- data/lib/isomorfeus/puppetmaster/rspec/matchers.rb +0 -164
- data/lib/isomorfeus/puppetmaster/self_forwardable.rb +0 -39
- data/lib/isomorfeus/puppetmaster/server_registration.rb +0 -13
- data/node_modules/.bin/extract-zip +0 -12
- data/node_modules/.bin/extract-zip.cmd +0 -17
- data/node_modules/.bin/extract-zip.ps1 +0 -28
- data/node_modules/.bin/rimraf +0 -12
- data/node_modules/.bin/rimraf.cmd +0 -17
- data/node_modules/.bin/rimraf.ps1 +0 -28
- data/node_modules/.package-lock.json +0 -585
- data/node_modules/@types/node/LICENSE +0 -21
- data/node_modules/@types/node/README.md +0 -16
- data/node_modules/@types/node/assert/strict.d.ts +0 -8
- data/node_modules/@types/node/assert.d.ts +0 -912
- data/node_modules/@types/node/async_hooks.d.ts +0 -497
- data/node_modules/@types/node/buffer.d.ts +0 -2142
- data/node_modules/@types/node/child_process.d.ts +0 -1355
- data/node_modules/@types/node/cluster.d.ts +0 -414
- data/node_modules/@types/node/console.d.ts +0 -407
- data/node_modules/@types/node/constants.d.ts +0 -18
- data/node_modules/@types/node/crypto.d.ts +0 -3224
- data/node_modules/@types/node/dgram.d.ts +0 -545
- data/node_modules/@types/node/diagnostics_channel.d.ts +0 -128
- data/node_modules/@types/node/dns/promises.d.ts +0 -357
- data/node_modules/@types/node/dns.d.ts +0 -643
- data/node_modules/@types/node/domain.d.ts +0 -169
- data/node_modules/@types/node/events.d.ts +0 -623
- data/node_modules/@types/node/fs/promises.d.ts +0 -997
- data/node_modules/@types/node/fs.d.ts +0 -3723
- data/node_modules/@types/node/globals.d.ts +0 -285
- data/node_modules/@types/node/globals.global.d.ts +0 -1
- data/node_modules/@types/node/http.d.ts +0 -1358
- data/node_modules/@types/node/http2.d.ts +0 -2100
- data/node_modules/@types/node/https.d.ts +0 -391
- data/node_modules/@types/node/index.d.ts +0 -131
- data/node_modules/@types/node/inspector.d.ts +0 -2738
- data/node_modules/@types/node/module.d.ts +0 -114
- data/node_modules/@types/node/net.d.ts +0 -783
- data/node_modules/@types/node/os.d.ts +0 -455
- data/node_modules/@types/node/package.json +0 -230
- data/node_modules/@types/node/path.d.ts +0 -172
- data/node_modules/@types/node/perf_hooks.d.ts +0 -555
- data/node_modules/@types/node/process.d.ts +0 -1477
- data/node_modules/@types/node/punycode.d.ts +0 -117
- data/node_modules/@types/node/querystring.d.ts +0 -131
- data/node_modules/@types/node/readline.d.ts +0 -542
- data/node_modules/@types/node/repl.d.ts +0 -424
- data/node_modules/@types/node/stream/consumers.d.ts +0 -24
- data/node_modules/@types/node/stream/promises.d.ts +0 -42
- data/node_modules/@types/node/stream/web.d.ts +0 -6
- data/node_modules/@types/node/stream.d.ts +0 -1181
- data/node_modules/@types/node/string_decoder.d.ts +0 -67
- data/node_modules/@types/node/timers/promises.d.ts +0 -68
- data/node_modules/@types/node/timers.d.ts +0 -94
- data/node_modules/@types/node/tls.d.ts +0 -1019
- data/node_modules/@types/node/trace_events.d.ts +0 -161
- data/node_modules/@types/node/tty.d.ts +0 -206
- data/node_modules/@types/node/url.d.ts +0 -798
- data/node_modules/@types/node/util.d.ts +0 -1556
- data/node_modules/@types/node/v8.d.ts +0 -378
- data/node_modules/@types/node/vm.d.ts +0 -504
- data/node_modules/@types/node/wasi.d.ts +0 -153
- data/node_modules/@types/node/worker_threads.d.ts +0 -649
- data/node_modules/@types/node/zlib.d.ts +0 -517
- data/node_modules/@types/yauzl/LICENSE +0 -21
- data/node_modules/@types/yauzl/README.md +0 -16
- data/node_modules/@types/yauzl/index.d.ts +0 -98
- data/node_modules/@types/yauzl/package.json +0 -27
- data/node_modules/agent-base/README.md +0 -145
- data/node_modules/agent-base/dist/src/index.d.ts +0 -78
- data/node_modules/agent-base/dist/src/index.js +0 -203
- data/node_modules/agent-base/dist/src/index.js.map +0 -1
- data/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- data/node_modules/agent-base/dist/src/promisify.js +0 -18
- data/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- data/node_modules/agent-base/package.json +0 -64
- data/node_modules/agent-base/src/index.ts +0 -345
- data/node_modules/agent-base/src/promisify.ts +0 -33
- data/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -97
- data/node_modules/balanced-match/index.js +0 -62
- data/node_modules/balanced-match/package.json +0 -48
- data/node_modules/base64-js/LICENSE +0 -21
- data/node_modules/base64-js/README.md +0 -34
- data/node_modules/base64-js/base64js.min.js +0 -1
- data/node_modules/base64-js/index.d.ts +0 -3
- data/node_modules/base64-js/index.js +0 -150
- data/node_modules/base64-js/package.json +0 -47
- data/node_modules/bl/.travis.yml +0 -17
- data/node_modules/bl/BufferList.js +0 -396
- data/node_modules/bl/LICENSE.md +0 -13
- data/node_modules/bl/README.md +0 -247
- data/node_modules/bl/bl.js +0 -84
- data/node_modules/bl/package.json +0 -37
- data/node_modules/bl/test/convert.js +0 -21
- data/node_modules/bl/test/indexOf.js +0 -492
- data/node_modules/bl/test/isBufferList.js +0 -32
- data/node_modules/bl/test/test.js +0 -869
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/buffer/AUTHORS.md +0 -70
- data/node_modules/buffer/LICENSE +0 -21
- data/node_modules/buffer/README.md +0 -410
- data/node_modules/buffer/index.d.ts +0 -186
- data/node_modules/buffer/index.js +0 -1817
- data/node_modules/buffer/package.json +0 -96
- data/node_modules/buffer-crc32/LICENSE +0 -19
- data/node_modules/buffer-crc32/README.md +0 -47
- data/node_modules/buffer-crc32/index.js +0 -111
- data/node_modules/buffer-crc32/package.json +0 -39
- data/node_modules/chownr/LICENSE +0 -15
- data/node_modules/chownr/README.md +0 -3
- data/node_modules/chownr/chownr.js +0 -167
- data/node_modules/chownr/package.json +0 -29
- data/node_modules/concat-map/.travis.yml +0 -4
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/debug/LICENSE +0 -19
- data/node_modules/debug/README.md +0 -455
- data/node_modules/debug/package.json +0 -59
- data/node_modules/debug/src/browser.js +0 -269
- data/node_modules/debug/src/common.js +0 -274
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -263
- data/node_modules/devtools-protocol/LICENSE +0 -27
- data/node_modules/devtools-protocol/README.md +0 -12
- data/node_modules/devtools-protocol/changelog.md +0 -10491
- data/node_modules/devtools-protocol/externs/protocol_externs.js +0 -9734
- data/node_modules/devtools-protocol/json/browser_protocol.json +0 -20641
- data/node_modules/devtools-protocol/json/js_protocol.json +0 -3581
- data/node_modules/devtools-protocol/package.json +0 -18
- data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +0 -9637
- data/node_modules/devtools-protocol/pdl/js_protocol.pdl +0 -1678
- data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +0 -4321
- data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +0 -3683
- data/node_modules/devtools-protocol/types/protocol.d.ts +0 -15538
- data/node_modules/end-of-stream/LICENSE +0 -21
- data/node_modules/end-of-stream/README.md +0 -54
- data/node_modules/end-of-stream/index.js +0 -94
- data/node_modules/end-of-stream/package.json +0 -37
- data/node_modules/extract-zip/LICENSE +0 -23
- data/node_modules/extract-zip/cli.js +0 -19
- data/node_modules/extract-zip/index.d.ts +0 -21
- data/node_modules/extract-zip/index.js +0 -173
- data/node_modules/extract-zip/package.json +0 -80
- data/node_modules/extract-zip/readme.md +0 -57
- data/node_modules/fd-slicer/.npmignore +0 -2
- data/node_modules/fd-slicer/.travis.yml +0 -7
- data/node_modules/fd-slicer/CHANGELOG.md +0 -49
- data/node_modules/fd-slicer/LICENSE +0 -21
- data/node_modules/fd-slicer/README.md +0 -199
- data/node_modules/fd-slicer/index.js +0 -296
- data/node_modules/fd-slicer/package.json +0 -36
- data/node_modules/fd-slicer/test/test.js +0 -350
- data/node_modules/find-up/index.d.ts +0 -137
- data/node_modules/find-up/index.js +0 -89
- data/node_modules/find-up/license +0 -9
- data/node_modules/find-up/package.json +0 -53
- data/node_modules/find-up/readme.md +0 -156
- data/node_modules/fs-constants/LICENSE +0 -21
- data/node_modules/fs-constants/README.md +0 -26
- data/node_modules/fs-constants/browser.js +0 -1
- data/node_modules/fs-constants/index.js +0 -1
- data/node_modules/fs-constants/package.json +0 -19
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/get-stream/buffer-stream.js +0 -52
- data/node_modules/get-stream/index.d.ts +0 -108
- data/node_modules/get-stream/index.js +0 -60
- data/node_modules/get-stream/license +0 -9
- data/node_modules/get-stream/package.json +0 -50
- data/node_modules/get-stream/readme.md +0 -124
- data/node_modules/glob/LICENSE +0 -21
- data/node_modules/glob/README.md +0 -375
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -234
- data/node_modules/glob/glob.js +0 -788
- data/node_modules/glob/package.json +0 -51
- data/node_modules/glob/sync.js +0 -484
- data/node_modules/https-proxy-agent/README.md +0 -137
- data/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- data/node_modules/https-proxy-agent/dist/agent.js +0 -180
- data/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- data/node_modules/https-proxy-agent/dist/index.js +0 -14
- data/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- data/node_modules/https-proxy-agent/package.json +0 -56
- data/node_modules/ieee754/LICENSE +0 -11
- data/node_modules/ieee754/README.md +0 -51
- data/node_modules/ieee754/index.d.ts +0 -10
- data/node_modules/ieee754/index.js +0 -85
- data/node_modules/ieee754/package.json +0 -52
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -9
- data/node_modules/inherits/inherits_browser.js +0 -27
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/locate-path/index.d.ts +0 -83
- data/node_modules/locate-path/index.js +0 -65
- data/node_modules/locate-path/license +0 -9
- data/node_modules/locate-path/package.json +0 -45
- data/node_modules/locate-path/readme.md +0 -122
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/mkdirp-classic/LICENSE +0 -21
- data/node_modules/mkdirp-classic/README.md +0 -18
- data/node_modules/mkdirp-classic/index.js +0 -98
- data/node_modules/mkdirp-classic/package.json +0 -18
- data/node_modules/ms/index.js +0 -162
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -60
- data/node_modules/node-fetch/LICENSE.md +0 -22
- data/node_modules/node-fetch/README.md +0 -590
- data/node_modules/node-fetch/browser.js +0 -25
- data/node_modules/node-fetch/lib/index.es.js +0 -1662
- data/node_modules/node-fetch/lib/index.js +0 -1671
- data/node_modules/node-fetch/lib/index.mjs +0 -1660
- data/node_modules/node-fetch/package.json +0 -68
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/p-limit/index.d.ts +0 -38
- data/node_modules/p-limit/index.js +0 -57
- data/node_modules/p-limit/license +0 -9
- data/node_modules/p-limit/package.json +0 -52
- data/node_modules/p-limit/readme.md +0 -101
- data/node_modules/p-locate/index.d.ts +0 -64
- data/node_modules/p-locate/index.js +0 -52
- data/node_modules/p-locate/license +0 -9
- data/node_modules/p-locate/package.json +0 -53
- data/node_modules/p-locate/readme.md +0 -90
- data/node_modules/p-try/index.d.ts +0 -39
- data/node_modules/p-try/index.js +0 -9
- data/node_modules/p-try/license +0 -9
- data/node_modules/p-try/package.json +0 -42
- data/node_modules/p-try/readme.md +0 -58
- data/node_modules/path-exists/index.d.ts +0 -28
- data/node_modules/path-exists/index.js +0 -23
- data/node_modules/path-exists/license +0 -9
- data/node_modules/path-exists/package.json +0 -39
- data/node_modules/path-exists/readme.md +0 -52
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/pend/LICENSE +0 -23
- data/node_modules/pend/README.md +0 -41
- data/node_modules/pend/index.js +0 -55
- data/node_modules/pend/package.json +0 -18
- data/node_modules/pend/test.js +0 -137
- data/node_modules/pkg-dir/index.d.ts +0 -44
- data/node_modules/pkg-dir/index.js +0 -17
- data/node_modules/pkg-dir/license +0 -9
- data/node_modules/pkg-dir/package.json +0 -56
- data/node_modules/pkg-dir/readme.md +0 -66
- data/node_modules/progress/CHANGELOG.md +0 -115
- data/node_modules/progress/LICENSE +0 -22
- data/node_modules/progress/Makefile +0 -8
- data/node_modules/progress/Readme.md +0 -146
- data/node_modules/progress/index.js +0 -1
- data/node_modules/progress/lib/node-progress.js +0 -236
- data/node_modules/progress/package.json +0 -26
- data/node_modules/proxy-from-env/.eslintrc +0 -29
- data/node_modules/proxy-from-env/.travis.yml +0 -10
- data/node_modules/proxy-from-env/LICENSE +0 -20
- data/node_modules/proxy-from-env/README.md +0 -131
- data/node_modules/proxy-from-env/index.js +0 -108
- data/node_modules/proxy-from-env/package.json +0 -34
- data/node_modules/proxy-from-env/test.js +0 -483
- data/node_modules/pump/.travis.yml +0 -5
- data/node_modules/pump/LICENSE +0 -21
- data/node_modules/pump/README.md +0 -65
- data/node_modules/pump/index.js +0 -82
- data/node_modules/pump/package.json +0 -24
- data/node_modules/pump/test-browser.js +0 -66
- data/node_modules/pump/test-node.js +0 -53
- data/node_modules/puppeteer-core/CHANGELOG.md +0 -290
- data/node_modules/puppeteer-core/LICENSE +0 -202
- data/node_modules/puppeteer-core/README.md +0 -481
- data/node_modules/puppeteer-core/cjs-entry-core.js +0 -29
- data/node_modules/puppeteer-core/cjs-entry.js +0 -29
- data/node_modules/puppeteer-core/install.js +0 -89
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +0 -111
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +0 -81
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +0 -361
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +0 -85
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +0 -456
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +0 -541
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +0 -54
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +0 -98
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +0 -26
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +0 -35
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +0 -136
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +0 -299
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +0 -73
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +0 -205
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +0 -336
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +0 -663
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +0 -53
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +0 -82
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +0 -1071
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +0 -75
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +0 -98
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +0 -38
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +0 -51
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +0 -57
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +0 -93
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +0 -117
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +0 -82
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +0 -87
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +0 -194
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +0 -322
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +0 -59
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +0 -72
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +0 -745
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +0 -1048
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +0 -346
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +0 -550
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +0 -126
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +0 -165
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +0 -359
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +0 -544
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +0 -491
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +0 -828
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +0 -66
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +0 -149
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +0 -34
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +0 -98
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +0 -343
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +0 -162
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +0 -35
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +0 -2056
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +0 -2534
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +0 -160
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +0 -162
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +0 -52
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +0 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +0 -166
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +0 -77
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +0 -101
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +0 -146
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +0 -30
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +0 -48
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +0 -47
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +0 -110
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +0 -407
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +0 -99
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +0 -113
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +0 -23
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +0 -34
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +0 -44
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +0 -85
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +0 -328
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +0 -20
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js +0 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +0 -45
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +0 -134
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +0 -501
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +0 -231
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +0 -589
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +0 -48
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -30
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +0 -154
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +0 -189
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +0 -174
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +0 -24
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +0 -22
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +0 -23
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +0 -24
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +0 -57
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +0 -111
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +0 -81
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +0 -357
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -82
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +0 -456
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +0 -536
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +0 -54
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -75
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +0 -26
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -31
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +0 -136
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +0 -294
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +0 -73
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +0 -205
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +0 -330
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +0 -658
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +0 -53
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -78
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +0 -1068
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +0 -75
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +0 -94
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +0 -34
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +0 -51
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -51
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +0 -93
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -110
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +0 -82
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +0 -84
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +0 -194
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +0 -318
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +0 -59
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -68
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +0 -745
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +0 -1043
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +0 -346
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +0 -546
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +0 -126
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +0 -161
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +0 -359
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +0 -538
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +0 -491
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +0 -803
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +0 -66
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +0 -145
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +0 -31
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +0 -98
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +0 -339
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +0 -162
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -32
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +0 -2056
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +0 -2530
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +0 -160
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -158
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +0 -52
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +0 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +0 -65
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -158
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -73
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +0 -101
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +0 -142
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -26
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -44
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +0 -47
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +0 -106
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -404
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +0 -99
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +0 -109
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +0 -29
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +0 -85
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +0 -306
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js +0 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +0 -38
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +0 -134
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +0 -475
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +0 -205
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +0 -567
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +0 -41
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -30
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +0 -154
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +0 -182
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +0 -166
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -20
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +0 -54
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js.map +0 -1
- data/node_modules/puppeteer-core/lib/types.d.ts +0 -7099
- data/node_modules/puppeteer-core/package.json +0 -116
- data/node_modules/puppeteer-core/typescript-if-required.js +0 -61
- data/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- data/node_modules/readable-stream/GOVERNANCE.md +0 -136
- data/node_modules/readable-stream/LICENSE +0 -47
- data/node_modules/readable-stream/README.md +0 -106
- data/node_modules/readable-stream/errors-browser.js +0 -127
- data/node_modules/readable-stream/errors.js +0 -116
- data/node_modules/readable-stream/experimentalWarning.js +0 -17
- data/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- data/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- data/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- data/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- data/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- data/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- data/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- data/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- data/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- data/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- data/node_modules/readable-stream/package.json +0 -68
- data/node_modules/readable-stream/readable-browser.js +0 -9
- data/node_modules/readable-stream/readable.js +0 -16
- data/node_modules/rimraf/CHANGELOG.md +0 -65
- data/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/rimraf/README.md +0 -101
- data/node_modules/rimraf/bin.js +0 -68
- data/node_modules/rimraf/package.json +0 -32
- data/node_modules/rimraf/rimraf.js +0 -360
- data/node_modules/safe-buffer/LICENSE +0 -21
- data/node_modules/safe-buffer/README.md +0 -584
- data/node_modules/safe-buffer/index.d.ts +0 -187
- data/node_modules/safe-buffer/index.js +0 -65
- data/node_modules/safe-buffer/package.json +0 -51
- data/node_modules/string_decoder/LICENSE +0 -48
- data/node_modules/string_decoder/README.md +0 -47
- data/node_modules/string_decoder/lib/string_decoder.js +0 -296
- data/node_modules/string_decoder/package.json +0 -34
- data/node_modules/tar-fs/.travis.yml +0 -6
- data/node_modules/tar-fs/LICENSE +0 -21
- data/node_modules/tar-fs/README.md +0 -165
- data/node_modules/tar-fs/index.js +0 -351
- data/node_modules/tar-fs/package.json +0 -41
- data/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- data/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- 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 +0 -346
- data/node_modules/tar-stream/LICENSE +0 -21
- data/node_modules/tar-stream/README.md +0 -168
- data/node_modules/tar-stream/extract.js +0 -257
- data/node_modules/tar-stream/headers.js +0 -295
- data/node_modules/tar-stream/index.js +0 -2
- data/node_modules/tar-stream/pack.js +0 -255
- data/node_modules/tar-stream/package.json +0 -58
- data/node_modules/tar-stream/sandbox.js +0 -11
- data/node_modules/through/.travis.yml +0 -5
- data/node_modules/through/LICENSE.APACHE2 +0 -15
- data/node_modules/through/LICENSE.MIT +0 -24
- data/node_modules/through/index.js +0 -108
- data/node_modules/through/package.json +0 -36
- data/node_modules/through/readme.markdown +0 -64
- data/node_modules/through/test/async.js +0 -28
- data/node_modules/through/test/auto-destroy.js +0 -30
- data/node_modules/through/test/buffering.js +0 -71
- data/node_modules/through/test/end.js +0 -45
- data/node_modules/through/test/index.js +0 -133
- data/node_modules/tr46/.npmignore +0 -4
- data/node_modules/tr46/index.js +0 -193
- data/node_modules/tr46/lib/.gitkeep +0 -0
- data/node_modules/tr46/lib/mappingTable.json +0 -1
- data/node_modules/tr46/package.json +0 -31
- data/node_modules/unbzip2-stream/LICENSE +0 -24
- data/node_modules/unbzip2-stream/README.md +0 -59
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +0 -1
- data/node_modules/unbzip2-stream/index.js +0 -93
- data/node_modules/unbzip2-stream/lib/bit_iterator.js +0 -39
- data/node_modules/unbzip2-stream/lib/bzip2.js +0 -365
- data/node_modules/unbzip2-stream/package.json +0 -51
- data/node_modules/util-deprecate/History.md +0 -16
- data/node_modules/util-deprecate/LICENSE +0 -24
- data/node_modules/util-deprecate/README.md +0 -53
- data/node_modules/util-deprecate/browser.js +0 -67
- data/node_modules/util-deprecate/node.js +0 -6
- data/node_modules/util-deprecate/package.json +0 -27
- data/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/webidl-conversions/README.md +0 -53
- data/node_modules/webidl-conversions/lib/index.js +0 -189
- data/node_modules/webidl-conversions/package.json +0 -23
- data/node_modules/whatwg-url/LICENSE.txt +0 -21
- data/node_modules/whatwg-url/README.md +0 -67
- data/node_modules/whatwg-url/lib/URL-impl.js +0 -200
- data/node_modules/whatwg-url/lib/URL.js +0 -196
- data/node_modules/whatwg-url/lib/public-api.js +0 -11
- data/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
- data/node_modules/whatwg-url/lib/utils.js +0 -20
- data/node_modules/whatwg-url/package.json +0 -32
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -19
- data/node_modules/ws/README.md +0 -493
- data/node_modules/ws/browser.js +0 -8
- data/node_modules/ws/index.js +0 -13
- data/node_modules/ws/lib/buffer-util.js +0 -126
- data/node_modules/ws/lib/constants.js +0 -12
- data/node_modules/ws/lib/event-target.js +0 -266
- data/node_modules/ws/lib/extension.js +0 -203
- data/node_modules/ws/lib/limiter.js +0 -55
- data/node_modules/ws/lib/permessage-deflate.js +0 -511
- data/node_modules/ws/lib/receiver.js +0 -612
- data/node_modules/ws/lib/sender.js +0 -422
- data/node_modules/ws/lib/stream.js +0 -180
- data/node_modules/ws/lib/subprotocol.js +0 -62
- data/node_modules/ws/lib/validation.js +0 -124
- data/node_modules/ws/lib/websocket-server.js +0 -485
- data/node_modules/ws/lib/websocket.js +0 -1149
- data/node_modules/ws/package.json +0 -61
- data/node_modules/ws/wrapper.mjs +0 -8
- data/node_modules/yauzl/LICENSE +0 -21
- data/node_modules/yauzl/README.md +0 -658
- data/node_modules/yauzl/index.js +0 -796
- data/node_modules/yauzl/package.json +0 -40
- data/package.json +0 -6
@@ -1,109 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2018 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { EventEmitter } from './EventEmitter.js';
|
17
|
-
import { debugError } from './helper.js';
|
18
|
-
import { ExecutionContext } from './ExecutionContext.js';
|
19
|
-
import { JSHandle } from './JSHandle.js';
|
20
|
-
/**
|
21
|
-
* The WebWorker class represents a
|
22
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API | WebWorker}.
|
23
|
-
*
|
24
|
-
* @remarks
|
25
|
-
* The events `workercreated` and `workerdestroyed` are emitted on the page
|
26
|
-
* object to signal the worker lifecycle.
|
27
|
-
*
|
28
|
-
* @example
|
29
|
-
* ```js
|
30
|
-
* page.on('workercreated', worker => console.log('Worker created: ' + worker.url()));
|
31
|
-
* page.on('workerdestroyed', worker => console.log('Worker destroyed: ' + worker.url()));
|
32
|
-
*
|
33
|
-
* console.log('Current workers:');
|
34
|
-
* for (const worker of page.workers()) {
|
35
|
-
* console.log(' ' + worker.url());
|
36
|
-
* }
|
37
|
-
* ```
|
38
|
-
*
|
39
|
-
* @public
|
40
|
-
*/
|
41
|
-
export class WebWorker extends EventEmitter {
|
42
|
-
/**
|
43
|
-
*
|
44
|
-
* @internal
|
45
|
-
*/
|
46
|
-
constructor(client, url, consoleAPICalled, exceptionThrown) {
|
47
|
-
super();
|
48
|
-
this._client = client;
|
49
|
-
this._url = url;
|
50
|
-
this._executionContextPromise = new Promise((x) => (this._executionContextCallback = x));
|
51
|
-
let jsHandleFactory;
|
52
|
-
this._client.once('Runtime.executionContextCreated', async (event) => {
|
53
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
54
|
-
jsHandleFactory = (remoteObject) => new JSHandle(executionContext, client, remoteObject);
|
55
|
-
const executionContext = new ExecutionContext(client, event.context, null);
|
56
|
-
this._executionContextCallback(executionContext);
|
57
|
-
});
|
58
|
-
// This might fail if the target is closed before we receive all execution contexts.
|
59
|
-
this._client.send('Runtime.enable').catch(debugError);
|
60
|
-
this._client.on('Runtime.consoleAPICalled', (event) => consoleAPICalled(event.type, event.args.map(jsHandleFactory), event.stackTrace));
|
61
|
-
this._client.on('Runtime.exceptionThrown', (exception) => exceptionThrown(exception.exceptionDetails));
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* @returns The URL of this web worker.
|
65
|
-
*/
|
66
|
-
url() {
|
67
|
-
return this._url;
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* Returns the ExecutionContext the WebWorker runs in
|
71
|
-
* @returns The ExecutionContext the web worker runs in.
|
72
|
-
*/
|
73
|
-
async executionContext() {
|
74
|
-
return this._executionContextPromise;
|
75
|
-
}
|
76
|
-
/**
|
77
|
-
* If the function passed to the `worker.evaluate` returns a Promise, then
|
78
|
-
* `worker.evaluate` would wait for the promise to resolve and return its
|
79
|
-
* value. If the function passed to the `worker.evaluate` returns a
|
80
|
-
* non-serializable value, then `worker.evaluate` resolves to `undefined`.
|
81
|
-
* DevTools Protocol also supports transferring some additional values that
|
82
|
-
* are not serializable by `JSON`: `-0`, `NaN`, `Infinity`, `-Infinity`, and
|
83
|
-
* bigint literals.
|
84
|
-
* Shortcut for `await worker.executionContext()).evaluate(pageFunction, ...args)`.
|
85
|
-
*
|
86
|
-
* @param pageFunction - Function to be evaluated in the worker context.
|
87
|
-
* @param args - Arguments to pass to `pageFunction`.
|
88
|
-
* @returns Promise which resolves to the return value of `pageFunction`.
|
89
|
-
*/
|
90
|
-
async evaluate(pageFunction, ...args) {
|
91
|
-
return (await this._executionContextPromise).evaluate(pageFunction, ...args);
|
92
|
-
}
|
93
|
-
/**
|
94
|
-
* The only difference between `worker.evaluate` and `worker.evaluateHandle`
|
95
|
-
* is that `worker.evaluateHandle` returns in-page object (JSHandle). If the
|
96
|
-
* function passed to the `worker.evaluateHandle` returns a `Promise`, then
|
97
|
-
* `worker.evaluateHandle` would wait for the promise to resolve and return
|
98
|
-
* its value. Shortcut for
|
99
|
-
* `await worker.executionContext()).evaluateHandle(pageFunction, ...args)`
|
100
|
-
*
|
101
|
-
* @param pageFunction - Function to be evaluated in the page context.
|
102
|
-
* @param args - Arguments to pass to `pageFunction`.
|
103
|
-
* @returns Promise which resolves to the return value of `pageFunction`.
|
104
|
-
*/
|
105
|
-
async evaluateHandle(pageFunction, ...args) {
|
106
|
-
return (await this._executionContextPromise).evaluateHandle(pageFunction, ...args);
|
107
|
-
}
|
108
|
-
}
|
109
|
-
//# sourceMappingURL=WebWorker.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"WebWorker.js","sourceRoot":"","sources":["../../../../src/common/WebWorker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAsBzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,OAAO,SAAU,SAAQ,YAAY;IAMzC;;;OAGG;IACH,YACE,MAAkB,EAClB,GAAW,EACX,gBAA0C,EAC1C,eAAwC;QAExC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,wBAAwB,GAAG,IAAI,OAAO,CACzC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,yBAAyB,GAAG,CAAC,CAAC,CAC5C,CAAC;QAEF,IAAI,eAAgC,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;YACnE,4EAA4E;YAC5E,eAAe,GAAG,CAAC,YAAY,EAAE,EA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Z,GAAG,IAAI,CACR,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/**
|
17
|
-
* Asserts that the given value is truthy.
|
18
|
-
* @param value
|
19
|
-
* @param message - the error message to throw if the value is not truthy.
|
20
|
-
*/
|
21
|
-
export declare const assert: (value: unknown, message?: string) => void;
|
22
|
-
export declare const assertNever: (value: never, message?: string) => void;
|
23
|
-
//# sourceMappingURL=assert.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../src/common/assert.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,eAAO,MAAM,MAAM,UAAW,OAAO,YAAY,MAAM,KAAG,IAEzD,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,KAAK,YAAY,MAAM,KAAG,IAE5D,CAAC"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/**
|
17
|
-
* Asserts that the given value is truthy.
|
18
|
-
* @param value
|
19
|
-
* @param message - the error message to throw if the value is not truthy.
|
20
|
-
*/
|
21
|
-
export const assert = (value, message) => {
|
22
|
-
if (!value)
|
23
|
-
throw new Error(message);
|
24
|
-
};
|
25
|
-
export const assertNever = (value, message) => {
|
26
|
-
if (value)
|
27
|
-
throw new Error(message);
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=assert.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"assert.js","sourceRoot":"","sources":["../../../../src/common/assert.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAc,EAAE,OAAgB,EAAQ,EAAE;IAC/D,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,OAAgB,EAAQ,EAAE;IAClE,IAAI,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACtC,CAAC,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
export declare const getFetch: () => Promise<typeof fetch>;
|
17
|
-
//# sourceMappingURL=fetch.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../src/common/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,eAAO,MAAM,QAAQ,QAAa,QAAQ,YAAY,CAErD,CAAC"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { isNode } from '../environment.js';
|
17
|
-
/* Use the global version if we're in the browser, else load the node-fetch module. */
|
18
|
-
export const getFetch = async () => {
|
19
|
-
return isNode ? await import('node-fetch') : globalThis.fetch;
|
20
|
-
};
|
21
|
-
//# sourceMappingURL=fetch.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"fetch.js","sourceRoot":"","sources":["../../../../src/common/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,sFAAsF;AACtF,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,IAA2B,EAAE;IACxD,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;AAChE,CAAC,CAAC"}
|
@@ -1,85 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2017 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/// <reference types="node" />
|
17
|
-
import type { Readable } from 'stream';
|
18
|
-
import { CDPSession } from './Connection.js';
|
19
|
-
import { Protocol } from 'devtools-protocol';
|
20
|
-
import { CommonEventEmitter } from './EventEmitter.js';
|
21
|
-
export declare const debugError: (...args: unknown[]) => void;
|
22
|
-
declare function getExceptionMessage(exceptionDetails: Protocol.Runtime.ExceptionDetails): string;
|
23
|
-
declare function valueFromRemoteObject(remoteObject: Protocol.Runtime.RemoteObject): any;
|
24
|
-
declare function releaseObject(client: CDPSession, remoteObject: Protocol.Runtime.RemoteObject): Promise<void>;
|
25
|
-
/**
|
26
|
-
* @public
|
27
|
-
*/
|
28
|
-
export interface PuppeteerEventListener {
|
29
|
-
emitter: CommonEventEmitter;
|
30
|
-
eventName: string | symbol;
|
31
|
-
handler: (...args: any[]) => void;
|
32
|
-
}
|
33
|
-
declare function addEventListener(emitter: CommonEventEmitter, eventName: string | symbol, handler: (...args: any[]) => void): PuppeteerEventListener;
|
34
|
-
declare function removeEventListeners(listeners: Array<{
|
35
|
-
emitter: CommonEventEmitter;
|
36
|
-
eventName: string | symbol;
|
37
|
-
handler: (...args: any[]) => void;
|
38
|
-
}>): void;
|
39
|
-
declare function isString(obj: unknown): obj is string;
|
40
|
-
declare function isNumber(obj: unknown): obj is number;
|
41
|
-
declare function waitForEvent<T extends any>(emitter: CommonEventEmitter, eventName: string | symbol, predicate: (event: T) => Promise<boolean> | boolean, timeout: number, abortPromise: Promise<Error>): Promise<T>;
|
42
|
-
declare function evaluationString(fun: Function | string, ...args: unknown[]): string;
|
43
|
-
declare function pageBindingInitString(type: string, name: string): string;
|
44
|
-
declare function pageBindingDeliverResultString(name: string, seq: number, result: unknown): string;
|
45
|
-
declare function pageBindingDeliverErrorString(name: string, seq: number, message: string, stack: string): string;
|
46
|
-
declare function pageBindingDeliverErrorValueString(name: string, seq: number, value: unknown): string;
|
47
|
-
declare function makePredicateString(predicate: Function, predicateQueryHandler?: Function): string;
|
48
|
-
declare function waitWithTimeout<T extends any>(promise: Promise<T>, taskName: string, timeout: number): Promise<T>;
|
49
|
-
declare function getReadableAsBuffer(readable: Readable, path?: string): Promise<Buffer>;
|
50
|
-
declare function getReadableFromProtocolStream(client: CDPSession, handle: string): Promise<Readable>;
|
51
|
-
/**
|
52
|
-
* Loads the Node fs promises API. Needed because on Node 10.17 and below,
|
53
|
-
* fs.promises is experimental, and therefore not marked as enumerable. That
|
54
|
-
* means when TypeScript compiles an `import('fs')`, its helper doesn't spot the
|
55
|
-
* promises declaration and therefore on Node <10.17 you get an error as
|
56
|
-
* fs.promises is undefined in compiled TypeScript land.
|
57
|
-
*
|
58
|
-
* See https://github.com/puppeteer/puppeteer/issues/6548 for more details.
|
59
|
-
*
|
60
|
-
* Once Node 10 is no longer supported (April 2021) we can remove this and use
|
61
|
-
* `(await import('fs')).promises`.
|
62
|
-
*/
|
63
|
-
declare function importFSModule(): Promise<typeof import('fs')>;
|
64
|
-
export declare const helper: {
|
65
|
-
evaluationString: typeof evaluationString;
|
66
|
-
pageBindingInitString: typeof pageBindingInitString;
|
67
|
-
pageBindingDeliverResultString: typeof pageBindingDeliverResultString;
|
68
|
-
pageBindingDeliverErrorString: typeof pageBindingDeliverErrorString;
|
69
|
-
pageBindingDeliverErrorValueString: typeof pageBindingDeliverErrorValueString;
|
70
|
-
makePredicateString: typeof makePredicateString;
|
71
|
-
getReadableAsBuffer: typeof getReadableAsBuffer;
|
72
|
-
getReadableFromProtocolStream: typeof getReadableFromProtocolStream;
|
73
|
-
waitWithTimeout: typeof waitWithTimeout;
|
74
|
-
waitForEvent: typeof waitForEvent;
|
75
|
-
isString: typeof isString;
|
76
|
-
isNumber: typeof isNumber;
|
77
|
-
importFSModule: typeof importFSModule;
|
78
|
-
addEventListener: typeof addEventListener;
|
79
|
-
removeEventListeners: typeof removeEventListeners;
|
80
|
-
valueFromRemoteObject: typeof valueFromRemoteObject;
|
81
|
-
getExceptionMessage: typeof getExceptionMessage;
|
82
|
-
releaseObject: typeof releaseObject;
|
83
|
-
};
|
84
|
-
export {};
|
85
|
-
//# sourceMappingURL=helper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../src/common/helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIvC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIvD,eAAO,MAAM,UAAU,8BAA2B,CAAC;AAEnD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,OAAO,CAAC,gBAAgB,GAClD,MAAM,CAmBR;AAED,iBAAS,qBAAqB,CAC5B,YAAY,EAAE,QAAQ,CAAC,OAAO,CAAC,Y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.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { TimeoutError } from './Errors.js';
|
17
|
-
import { debug } from './Debug.js';
|
18
|
-
import { assert } from './assert.js';
|
19
|
-
import { isNode } from '../environment.js';
|
20
|
-
export const debugError = debug('puppeteer:error');
|
21
|
-
function getExceptionMessage(exceptionDetails) {
|
22
|
-
if (exceptionDetails.exception)
|
23
|
-
return (exceptionDetails.exception.description || exceptionDetails.exception.value);
|
24
|
-
let message = exceptionDetails.text;
|
25
|
-
if (exceptionDetails.stackTrace) {
|
26
|
-
for (const callframe of exceptionDetails.stackTrace.callFrames) {
|
27
|
-
const location = callframe.url +
|
28
|
-
':' +
|
29
|
-
callframe.lineNumber +
|
30
|
-
':' +
|
31
|
-
callframe.columnNumber;
|
32
|
-
const functionName = callframe.functionName || '<anonymous>';
|
33
|
-
message += `\n at ${functionName} (${location})`;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
return message;
|
37
|
-
}
|
38
|
-
function valueFromRemoteObject(remoteObject) {
|
39
|
-
assert(!remoteObject.objectId, 'Cannot extract value when objectId is given');
|
40
|
-
if (remoteObject.unserializableValue) {
|
41
|
-
if (remoteObject.type === 'bigint' && typeof BigInt !== 'undefined')
|
42
|
-
return BigInt(remoteObject.unserializableValue.replace('n', ''));
|
43
|
-
switch (remoteObject.unserializableValue) {
|
44
|
-
case '-0':
|
45
|
-
return -0;
|
46
|
-
case 'NaN':
|
47
|
-
return NaN;
|
48
|
-
case 'Infinity':
|
49
|
-
return Infinity;
|
50
|
-
case '-Infinity':
|
51
|
-
return -Infinity;
|
52
|
-
default:
|
53
|
-
throw new Error('Unsupported unserializable value: ' +
|
54
|
-
remoteObject.unserializableValue);
|
55
|
-
}
|
56
|
-
}
|
57
|
-
return remoteObject.value;
|
58
|
-
}
|
59
|
-
async function releaseObject(client, remoteObject) {
|
60
|
-
if (!remoteObject.objectId)
|
61
|
-
return;
|
62
|
-
await client
|
63
|
-
.send('Runtime.releaseObject', { objectId: remoteObject.objectId })
|
64
|
-
.catch((error) => {
|
65
|
-
// Exceptions might happen in case of a page been navigated or closed.
|
66
|
-
// Swallow these since they are harmless and we don't leak anything in this case.
|
67
|
-
debugError(error);
|
68
|
-
});
|
69
|
-
}
|
70
|
-
function addEventListener(emitter, eventName, handler) {
|
71
|
-
emitter.on(eventName, handler);
|
72
|
-
return { emitter, eventName, handler };
|
73
|
-
}
|
74
|
-
function removeEventListeners(listeners) {
|
75
|
-
for (const listener of listeners)
|
76
|
-
listener.emitter.removeListener(listener.eventName, listener.handler);
|
77
|
-
listeners.length = 0;
|
78
|
-
}
|
79
|
-
function isString(obj) {
|
80
|
-
return typeof obj === 'string' || obj instanceof String;
|
81
|
-
}
|
82
|
-
function isNumber(obj) {
|
83
|
-
return typeof obj === 'number' || obj instanceof Number;
|
84
|
-
}
|
85
|
-
async function waitForEvent(emitter, eventName, predicate, timeout, abortPromise) {
|
86
|
-
let eventTimeout, resolveCallback, rejectCallback;
|
87
|
-
const promise = new Promise((resolve, reject) => {
|
88
|
-
resolveCallback = resolve;
|
89
|
-
rejectCallback = reject;
|
90
|
-
});
|
91
|
-
const listener = addEventListener(emitter, eventName, async (event) => {
|
92
|
-
if (!(await predicate(event)))
|
93
|
-
return;
|
94
|
-
resolveCallback(event);
|
95
|
-
});
|
96
|
-
if (timeout) {
|
97
|
-
eventTimeout = setTimeout(() => {
|
98
|
-
rejectCallback(new TimeoutError('Timeout exceeded while waiting for event'));
|
99
|
-
}, timeout);
|
100
|
-
}
|
101
|
-
function cleanup() {
|
102
|
-
removeEventListeners([listener]);
|
103
|
-
clearTimeout(eventTimeout);
|
104
|
-
}
|
105
|
-
const result = await Promise.race([promise, abortPromise]).then((r) => {
|
106
|
-
cleanup();
|
107
|
-
return r;
|
108
|
-
}, (error) => {
|
109
|
-
cleanup();
|
110
|
-
throw error;
|
111
|
-
});
|
112
|
-
if (result instanceof Error)
|
113
|
-
throw result;
|
114
|
-
return result;
|
115
|
-
}
|
116
|
-
function evaluationString(fun, ...args) {
|
117
|
-
if (isString(fun)) {
|
118
|
-
assert(args.length === 0, 'Cannot evaluate a string with arguments');
|
119
|
-
return fun;
|
120
|
-
}
|
121
|
-
function serializeArgument(arg) {
|
122
|
-
if (Object.is(arg, undefined))
|
123
|
-
return 'undefined';
|
124
|
-
return JSON.stringify(arg);
|
125
|
-
}
|
126
|
-
return `(${fun})(${args.map(serializeArgument).join(',')})`;
|
127
|
-
}
|
128
|
-
function pageBindingInitString(type, name) {
|
129
|
-
function addPageBinding(type, bindingName) {
|
130
|
-
/* Cast window to any here as we're about to add properties to it
|
131
|
-
* via win[bindingName] which TypeScript doesn't like.
|
132
|
-
*/
|
133
|
-
const win = window;
|
134
|
-
const binding = win[bindingName];
|
135
|
-
win[bindingName] = (...args) => {
|
136
|
-
const me = window[bindingName];
|
137
|
-
let callbacks = me.callbacks;
|
138
|
-
if (!callbacks) {
|
139
|
-
callbacks = new Map();
|
140
|
-
me.callbacks = callbacks;
|
141
|
-
}
|
142
|
-
const seq = (me.lastSeq || 0) + 1;
|
143
|
-
me.lastSeq = seq;
|
144
|
-
const promise = new Promise((resolve, reject) => callbacks.set(seq, { resolve, reject }));
|
145
|
-
binding(JSON.stringify({ type, name: bindingName, seq, args }));
|
146
|
-
return promise;
|
147
|
-
};
|
148
|
-
}
|
149
|
-
return evaluationString(addPageBinding, type, name);
|
150
|
-
}
|
151
|
-
function pageBindingDeliverResultString(name, seq, result) {
|
152
|
-
function deliverResult(name, seq, result) {
|
153
|
-
window[name].callbacks.get(seq).resolve(result);
|
154
|
-
window[name].callbacks.delete(seq);
|
155
|
-
}
|
156
|
-
return evaluationString(deliverResult, name, seq, result);
|
157
|
-
}
|
158
|
-
function pageBindingDeliverErrorString(name, seq, message, stack) {
|
159
|
-
function deliverError(name, seq, message, stack) {
|
160
|
-
const error = new Error(message);
|
161
|
-
error.stack = stack;
|
162
|
-
window[name].callbacks.get(seq).reject(error);
|
163
|
-
window[name].callbacks.delete(seq);
|
164
|
-
}
|
165
|
-
return evaluationString(deliverError, name, seq, message, stack);
|
166
|
-
}
|
167
|
-
function pageBindingDeliverErrorValueString(name, seq, value) {
|
168
|
-
function deliverErrorValue(name, seq, value) {
|
169
|
-
window[name].callbacks.get(seq).reject(value);
|
170
|
-
window[name].callbacks.delete(seq);
|
171
|
-
}
|
172
|
-
return evaluationString(deliverErrorValue, name, seq, value);
|
173
|
-
}
|
174
|
-
function makePredicateString(predicate, predicateQueryHandler) {
|
175
|
-
function checkWaitForOptions(node, waitForVisible, waitForHidden) {
|
176
|
-
if (!node)
|
177
|
-
return waitForHidden;
|
178
|
-
if (!waitForVisible && !waitForHidden)
|
179
|
-
return node;
|
180
|
-
const element = node.nodeType === Node.TEXT_NODE ? node.parentElement : node;
|
181
|
-
const style = window.getComputedStyle(element);
|
182
|
-
const isVisible = style && style.visibility !== 'hidden' && hasVisibleBoundingBox();
|
183
|
-
const success = waitForVisible === isVisible || waitForHidden === !isVisible;
|
184
|
-
return success ? node : null;
|
185
|
-
function hasVisibleBoundingBox() {
|
186
|
-
const rect = element.getBoundingClientRect();
|
187
|
-
return !!(rect.top || rect.bottom || rect.width || rect.height);
|
188
|
-
}
|
189
|
-
}
|
190
|
-
const predicateQueryHandlerDef = predicateQueryHandler
|
191
|
-
? `const predicateQueryHandler = ${predicateQueryHandler};`
|
192
|
-
: '';
|
193
|
-
return `
|
194
|
-
(() => {
|
195
|
-
${predicateQueryHandlerDef}
|
196
|
-
const checkWaitForOptions = ${checkWaitForOptions};
|
197
|
-
return (${predicate})(...args)
|
198
|
-
})() `;
|
199
|
-
}
|
200
|
-
async function waitWithTimeout(promise, taskName, timeout) {
|
201
|
-
let reject;
|
202
|
-
const timeoutError = new TimeoutError(`waiting for ${taskName} failed: timeout ${timeout}ms exceeded`);
|
203
|
-
const timeoutPromise = new Promise((resolve, x) => (reject = x));
|
204
|
-
let timeoutTimer = null;
|
205
|
-
if (timeout)
|
206
|
-
timeoutTimer = setTimeout(() => reject(timeoutError), timeout);
|
207
|
-
try {
|
208
|
-
return await Promise.race([promise, timeoutPromise]);
|
209
|
-
}
|
210
|
-
finally {
|
211
|
-
if (timeoutTimer)
|
212
|
-
clearTimeout(timeoutTimer);
|
213
|
-
}
|
214
|
-
}
|
215
|
-
async function getReadableAsBuffer(readable, path) {
|
216
|
-
if (!isNode && path) {
|
217
|
-
throw new Error('Cannot write to a path outside of Node.js environment.');
|
218
|
-
}
|
219
|
-
const fs = isNode ? await importFSModule() : null;
|
220
|
-
let fileHandle;
|
221
|
-
if (path && fs) {
|
222
|
-
fileHandle = await fs.promises.open(path, 'w');
|
223
|
-
}
|
224
|
-
const buffers = [];
|
225
|
-
for await (const chunk of readable) {
|
226
|
-
buffers.push(chunk);
|
227
|
-
if (fileHandle) {
|
228
|
-
await fs.promises.writeFile(fileHandle, chunk);
|
229
|
-
}
|
230
|
-
}
|
231
|
-
if (path)
|
232
|
-
await fileHandle.close();
|
233
|
-
let resultBuffer = null;
|
234
|
-
try {
|
235
|
-
resultBuffer = Buffer.concat(buffers);
|
236
|
-
}
|
237
|
-
finally {
|
238
|
-
return resultBuffer;
|
239
|
-
}
|
240
|
-
}
|
241
|
-
async function getReadableFromProtocolStream(client, handle) {
|
242
|
-
// TODO:
|
243
|
-
// This restriction can be lifted once https://github.com/nodejs/node/pull/39062 has landed
|
244
|
-
if (!isNode) {
|
245
|
-
throw new Error('Cannot create a stream outside of Node.js environment.');
|
246
|
-
}
|
247
|
-
const { Readable } = await import('stream');
|
248
|
-
let eof = false;
|
249
|
-
return new Readable({
|
250
|
-
async read(size) {
|
251
|
-
if (eof) {
|
252
|
-
return null;
|
253
|
-
}
|
254
|
-
const response = await client.send('IO.read', { handle, size });
|
255
|
-
this.push(response.data, response.base64Encoded ? 'base64' : undefined);
|
256
|
-
if (response.eof) {
|
257
|
-
eof = true;
|
258
|
-
await client.send('IO.close', { handle });
|
259
|
-
this.push(null);
|
260
|
-
}
|
261
|
-
},
|
262
|
-
});
|
263
|
-
}
|
264
|
-
/**
|
265
|
-
* Loads the Node fs promises API. Needed because on Node 10.17 and below,
|
266
|
-
* fs.promises is experimental, and therefore not marked as enumerable. That
|
267
|
-
* means when TypeScript compiles an `import('fs')`, its helper doesn't spot the
|
268
|
-
* promises declaration and therefore on Node <10.17 you get an error as
|
269
|
-
* fs.promises is undefined in compiled TypeScript land.
|
270
|
-
*
|
271
|
-
* See https://github.com/puppeteer/puppeteer/issues/6548 for more details.
|
272
|
-
*
|
273
|
-
* Once Node 10 is no longer supported (April 2021) we can remove this and use
|
274
|
-
* `(await import('fs')).promises`.
|
275
|
-
*/
|
276
|
-
async function importFSModule() {
|
277
|
-
if (!isNode) {
|
278
|
-
throw new Error('Cannot load the fs module API outside of Node.');
|
279
|
-
}
|
280
|
-
const fs = await import('fs');
|
281
|
-
if (fs.promises) {
|
282
|
-
return fs;
|
283
|
-
}
|
284
|
-
return fs.default;
|
285
|
-
}
|
286
|
-
export const helper = {
|
287
|
-
evaluationString,
|
288
|
-
pageBindingInitString,
|
289
|
-
pageBindingDeliverResultString,
|
290
|
-
pageBindingDeliverErrorString,
|
291
|
-
pageBindingDeliverErrorValueString,
|
292
|
-
makePredicateString,
|
293
|
-
getReadableAsBuffer,
|
294
|
-
getReadableFromProtocolStream,
|
295
|
-
waitWithTimeout,
|
296
|
-
waitForEvent,
|
297
|
-
isString,
|
298
|
-
isNumber,
|
299
|
-
importFSModule,
|
300
|
-
addEventListener,
|
301
|
-
removeEventListeners,
|
302
|
-
valueFromRemoteObject,
|
303
|
-
getExceptionMessage,
|
304
|
-
releaseObject,
|
305
|
-
};
|
306
|
-
//# sourceMappingURL=helper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../src/common/helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAInC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAEnD,SAAS,mBAAmB,CAC1B,gBAAmD;IAEnD,IAAI,gBAAgB,CAAC,SAAS;QAC5B,OAAO,CACL,gBAAgB,CAAC,SAAS,CAAC,WAAW,IAAI,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAC3E,CAAC;IACJ,IAAI,OAAO,GAAG,gBAAgB,CAAC,IAAI,CAAC;IACpC,IAAI,gBAAgB,CAAC,UAAU,EAAE;QAC/B,KAAK,MAAM,SAAS,IAAI,gBAAgB,CAAC,UAAU,CAAC,UAAU,EAAE;YAC9D,MAAM,QAAQ,GACZ,SAAS,CAAC,GAAG;gBACb,GAAG;gBACH,SAAS,CAAC,UAAU;gBACpB,GAAG;gBACH,SAAS,CAAC,YAAY,CAAC;YACzB,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,IAAI,aAAa,CAAC;YAC7D,OAAO,IAAI,YAAY,YAAY,KAAK,QAAQ,GAAG,CAAC;SACrD;KACF;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,qBAAqB,CAC5B,YAA2C;IAE3C,MAAM,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,6CAA6C,CAAC,CAAC;IAC9E,IAAI,YA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,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;YAChE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;YACxE,IAAI,QAAQ,CAAC,GAAG,EAAE;gBAChB,GAAG,GAAG,IAAI,CAAC;gBACX,MAAM,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;gBAC1C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACjB;QACH,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,UAAU,cAAc;IAC3B,IAAI,CAAC,MAAM,EAAE;QACX,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;KACnE;IAED,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,EAAE,CAAC,QAAQ,EAAE;QACf,OAAO,EAAE,CAAC;KACX;IACD,OAAO,EAAE,CAAC,OAAO,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,gBAAgB;IAChB,qBAAqB;IACrB,8BAA8B;IAC9B,6BAA6B;IAC7B,kCAAkC;IAClC,mBAAmB;IACnB,mBAAmB;IACnB,6BAA6B;IAC7B,eAAe;IACf,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,cAAc;IACd,gBAAgB;IAChB,oBAAoB;IACpB,qBAAqB;IACrB,mBAAmB;IACnB,aAAa;CACd,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
export declare const isNode: boolean;
|
17
|
-
//# sourceMappingURL=environment.d.ts.map
|