isomorfeus-puppetmaster 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +21 -18
- data/lib/isomorfeus/puppetmaster/driver_registration.rb +4 -4
- data/lib/isomorfeus/puppetmaster/server_registration.rb +0 -52
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +6 -3
- data/lib/isomorfeus-puppetmaster.rb +2 -1
- data/node_modules/.bin/extract-zip +12 -0
- data/node_modules/.bin/extract-zip.cmd +17 -0
- data/node_modules/.bin/extract-zip.ps1 +28 -0
- data/node_modules/.bin/mkdirp +12 -0
- data/node_modules/.bin/mkdirp.cmd +17 -0
- data/node_modules/.bin/mkdirp.ps1 +28 -0
- data/node_modules/.bin/rimraf +12 -0
- data/node_modules/.bin/rimraf.cmd +17 -0
- data/node_modules/.bin/rimraf.ps1 +28 -0
- data/node_modules/.package-lock.json +574 -0
- data/node_modules/@types/node/LICENSE +21 -0
- data/node_modules/@types/node/README.md +16 -0
- data/node_modules/@types/node/assert/strict.d.ts +8 -0
- data/node_modules/@types/node/assert.d.ts +912 -0
- data/node_modules/@types/node/async_hooks.d.ts +497 -0
- data/node_modules/@types/node/buffer.d.ts +2142 -0
- data/node_modules/@types/node/child_process.d.ts +1355 -0
- data/node_modules/@types/node/cluster.d.ts +414 -0
- data/node_modules/@types/node/console.d.ts +407 -0
- data/node_modules/@types/node/constants.d.ts +18 -0
- data/node_modules/@types/node/crypto.d.ts +3224 -0
- data/node_modules/@types/node/dgram.d.ts +545 -0
- data/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- data/node_modules/@types/node/dns/promises.d.ts +357 -0
- data/node_modules/@types/node/dns.d.ts +643 -0
- data/node_modules/@types/node/domain.d.ts +169 -0
- data/node_modules/@types/node/events.d.ts +623 -0
- data/node_modules/@types/node/fs/promises.d.ts +997 -0
- data/node_modules/@types/node/fs.d.ts +3723 -0
- data/node_modules/@types/node/globals.d.ts +285 -0
- data/node_modules/@types/node/globals.global.d.ts +1 -0
- data/node_modules/@types/node/http.d.ts +1358 -0
- data/node_modules/@types/node/http2.d.ts +2100 -0
- data/node_modules/@types/node/https.d.ts +391 -0
- data/node_modules/@types/node/index.d.ts +131 -0
- data/node_modules/@types/node/inspector.d.ts +2738 -0
- data/node_modules/@types/node/module.d.ts +114 -0
- data/node_modules/@types/node/net.d.ts +783 -0
- data/node_modules/@types/node/os.d.ts +455 -0
- data/node_modules/@types/node/package.json +230 -0
- data/node_modules/@types/node/path.d.ts +172 -0
- data/node_modules/@types/node/perf_hooks.d.ts +555 -0
- data/node_modules/@types/node/process.d.ts +1477 -0
- data/node_modules/@types/node/punycode.d.ts +117 -0
- data/node_modules/@types/node/querystring.d.ts +131 -0
- data/node_modules/@types/node/readline.d.ts +542 -0
- data/node_modules/@types/node/repl.d.ts +424 -0
- data/node_modules/@types/node/stream/consumers.d.ts +24 -0
- data/node_modules/@types/node/stream/promises.d.ts +42 -0
- data/node_modules/@types/node/stream/web.d.ts +6 -0
- data/node_modules/@types/node/stream.d.ts +1181 -0
- data/node_modules/@types/node/string_decoder.d.ts +67 -0
- data/node_modules/@types/node/timers/promises.d.ts +68 -0
- data/node_modules/@types/node/timers.d.ts +94 -0
- data/node_modules/@types/node/tls.d.ts +1019 -0
- data/node_modules/@types/node/trace_events.d.ts +161 -0
- data/node_modules/@types/node/tty.d.ts +206 -0
- data/node_modules/@types/node/url.d.ts +798 -0
- data/node_modules/@types/node/util.d.ts +1556 -0
- data/node_modules/@types/node/v8.d.ts +378 -0
- data/node_modules/@types/node/vm.d.ts +504 -0
- data/node_modules/@types/node/wasi.d.ts +153 -0
- data/node_modules/@types/node/worker_threads.d.ts +649 -0
- data/node_modules/@types/node/zlib.d.ts +517 -0
- data/node_modules/@types/yauzl/LICENSE +21 -0
- data/node_modules/@types/yauzl/README.md +16 -0
- data/node_modules/@types/yauzl/index.d.ts +98 -0
- data/node_modules/@types/yauzl/package.json +27 -0
- data/node_modules/agent-base/README.md +145 -0
- data/node_modules/agent-base/dist/src/index.d.ts +78 -0
- data/node_modules/agent-base/dist/src/index.js +203 -0
- data/node_modules/agent-base/dist/src/index.js.map +1 -0
- data/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- data/node_modules/agent-base/dist/src/promisify.js +18 -0
- data/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- data/node_modules/agent-base/package.json +64 -0
- data/node_modules/agent-base/src/index.ts +345 -0
- data/node_modules/agent-base/src/promisify.ts +33 -0
- data/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/base64-js/LICENSE +21 -0
- data/node_modules/base64-js/README.md +34 -0
- data/node_modules/base64-js/base64js.min.js +1 -0
- data/node_modules/base64-js/index.d.ts +3 -0
- data/node_modules/base64-js/index.js +150 -0
- data/node_modules/base64-js/package.json +47 -0
- data/node_modules/bl/.travis.yml +17 -0
- data/node_modules/bl/BufferList.js +396 -0
- data/node_modules/bl/LICENSE.md +13 -0
- data/node_modules/bl/README.md +247 -0
- data/node_modules/bl/bl.js +84 -0
- data/node_modules/bl/package.json +37 -0
- data/node_modules/bl/test/convert.js +21 -0
- data/node_modules/bl/test/indexOf.js +492 -0
- data/node_modules/bl/test/isBufferList.js +32 -0
- data/node_modules/bl/test/test.js +869 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/buffer/AUTHORS.md +70 -0
- data/node_modules/buffer/LICENSE +21 -0
- data/node_modules/buffer/README.md +410 -0
- data/node_modules/buffer/index.d.ts +186 -0
- data/node_modules/buffer/index.js +1817 -0
- data/node_modules/buffer/package.json +96 -0
- data/node_modules/buffer-crc32/LICENSE +19 -0
- data/node_modules/buffer-crc32/README.md +47 -0
- data/node_modules/buffer-crc32/index.js +111 -0
- data/node_modules/buffer-crc32/package.json +39 -0
- data/node_modules/chownr/LICENSE +15 -0
- data/node_modules/chownr/README.md +3 -0
- data/node_modules/chownr/chownr.js +167 -0
- data/node_modules/chownr/package.json +29 -0
- data/node_modules/concat-map/.travis.yml +4 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/debug/LICENSE +19 -0
- data/node_modules/debug/README.md +455 -0
- data/node_modules/debug/package.json +59 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +261 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/devtools-protocol/LICENSE +27 -0
- data/node_modules/devtools-protocol/README.md +12 -0
- data/node_modules/devtools-protocol/changelog.md +10491 -0
- data/node_modules/devtools-protocol/externs/protocol_externs.js +9734 -0
- data/node_modules/devtools-protocol/json/browser_protocol.json +20641 -0
- data/node_modules/devtools-protocol/json/js_protocol.json +3581 -0
- data/node_modules/devtools-protocol/package.json +18 -0
- data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +9637 -0
- data/node_modules/devtools-protocol/pdl/js_protocol.pdl +1678 -0
- data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +4321 -0
- data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +3683 -0
- data/node_modules/devtools-protocol/types/protocol.d.ts +15538 -0
- data/node_modules/end-of-stream/LICENSE +21 -0
- data/node_modules/end-of-stream/README.md +54 -0
- data/node_modules/end-of-stream/index.js +94 -0
- data/node_modules/end-of-stream/package.json +37 -0
- data/node_modules/extract-zip/LICENSE +23 -0
- data/node_modules/extract-zip/cli.js +19 -0
- data/node_modules/extract-zip/index.d.ts +21 -0
- data/node_modules/extract-zip/index.js +173 -0
- data/node_modules/extract-zip/package.json +80 -0
- data/node_modules/extract-zip/readme.md +57 -0
- data/node_modules/fd-slicer/.npmignore +2 -0
- data/node_modules/fd-slicer/.travis.yml +7 -0
- data/node_modules/fd-slicer/CHANGELOG.md +49 -0
- data/node_modules/fd-slicer/LICENSE +21 -0
- data/node_modules/fd-slicer/README.md +199 -0
- data/node_modules/fd-slicer/index.js +296 -0
- data/node_modules/fd-slicer/package.json +36 -0
- data/node_modules/fd-slicer/test/test.js +350 -0
- data/node_modules/find-up/index.d.ts +137 -0
- data/node_modules/find-up/index.js +89 -0
- data/node_modules/find-up/license +9 -0
- data/node_modules/find-up/package.json +53 -0
- data/node_modules/find-up/readme.md +156 -0
- data/node_modules/fs-constants/LICENSE +21 -0
- data/node_modules/fs-constants/README.md +26 -0
- data/node_modules/fs-constants/browser.js +1 -0
- data/node_modules/fs-constants/index.js +1 -0
- data/node_modules/fs-constants/package.json +19 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/get-stream/buffer-stream.js +52 -0
- data/node_modules/get-stream/index.d.ts +108 -0
- data/node_modules/get-stream/index.js +60 -0
- data/node_modules/get-stream/license +9 -0
- data/node_modules/get-stream/package.json +50 -0
- data/node_modules/get-stream/readme.md +124 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +375 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +234 -0
- data/node_modules/glob/glob.js +788 -0
- data/node_modules/glob/package.json +51 -0
- data/node_modules/glob/sync.js +484 -0
- data/node_modules/https-proxy-agent/README.md +137 -0
- data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- data/node_modules/https-proxy-agent/dist/agent.js +180 -0
- data/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- data/node_modules/https-proxy-agent/dist/index.js +14 -0
- data/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- data/node_modules/https-proxy-agent/package.json +56 -0
- data/node_modules/ieee754/LICENSE +11 -0
- data/node_modules/ieee754/README.md +51 -0
- data/node_modules/ieee754/index.d.ts +10 -0
- data/node_modules/ieee754/index.js +85 -0
- data/node_modules/ieee754/package.json +52 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/locate-path/index.d.ts +83 -0
- data/node_modules/locate-path/index.js +65 -0
- data/node_modules/locate-path/license +9 -0
- data/node_modules/locate-path/package.json +45 -0
- data/node_modules/locate-path/readme.md +122 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +30 -0
- data/node_modules/minimist/.travis.yml +8 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/example/parse.js +2 -0
- data/node_modules/minimist/index.js +245 -0
- data/node_modules/minimist/package.json +45 -0
- data/node_modules/minimist/readme.markdown +95 -0
- data/node_modules/minimist/test/all_bool.js +32 -0
- data/node_modules/minimist/test/bool.js +178 -0
- data/node_modules/minimist/test/dash.js +31 -0
- data/node_modules/minimist/test/default_bool.js +35 -0
- data/node_modules/minimist/test/dotted.js +22 -0
- data/node_modules/minimist/test/kv_short.js +16 -0
- data/node_modules/minimist/test/long.js +31 -0
- data/node_modules/minimist/test/num.js +36 -0
- data/node_modules/minimist/test/parse.js +197 -0
- data/node_modules/minimist/test/parse_modified.js +9 -0
- data/node_modules/minimist/test/proto.js +44 -0
- data/node_modules/minimist/test/short.js +67 -0
- data/node_modules/minimist/test/stop_early.js +15 -0
- data/node_modules/minimist/test/unknown.js +102 -0
- data/node_modules/minimist/test/whitespace.js +8 -0
- data/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/mkdirp/bin/cmd.js +33 -0
- data/node_modules/mkdirp/bin/usage.txt +12 -0
- data/node_modules/mkdirp/index.js +99 -0
- data/node_modules/mkdirp/package.json +34 -0
- data/node_modules/mkdirp/readme.markdown +100 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/node-fetch/CHANGELOG.md +272 -0
- data/node_modules/node-fetch/LICENSE.md +22 -0
- data/node_modules/node-fetch/README.md +590 -0
- data/node_modules/node-fetch/browser.js +25 -0
- data/node_modules/node-fetch/lib/index.es.js +1640 -0
- data/node_modules/node-fetch/lib/index.js +1649 -0
- data/node_modules/node-fetch/lib/index.mjs +1638 -0
- data/node_modules/node-fetch/package.json +66 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/p-limit/index.d.ts +38 -0
- data/node_modules/p-limit/index.js +57 -0
- data/node_modules/p-limit/license +9 -0
- data/node_modules/p-limit/package.json +52 -0
- data/node_modules/p-limit/readme.md +101 -0
- data/node_modules/p-locate/index.d.ts +64 -0
- data/node_modules/p-locate/index.js +52 -0
- data/node_modules/p-locate/license +9 -0
- data/node_modules/p-locate/package.json +53 -0
- data/node_modules/p-locate/readme.md +90 -0
- data/node_modules/p-try/index.d.ts +39 -0
- data/node_modules/p-try/index.js +9 -0
- data/node_modules/p-try/license +9 -0
- data/node_modules/p-try/package.json +42 -0
- data/node_modules/p-try/readme.md +58 -0
- data/node_modules/path-exists/index.d.ts +28 -0
- data/node_modules/path-exists/index.js +23 -0
- data/node_modules/path-exists/license +9 -0
- data/node_modules/path-exists/package.json +39 -0
- data/node_modules/path-exists/readme.md +52 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/pend/LICENSE +23 -0
- data/node_modules/pend/README.md +41 -0
- data/node_modules/pend/index.js +55 -0
- data/node_modules/pend/package.json +18 -0
- data/node_modules/pend/test.js +137 -0
- data/node_modules/pkg-dir/index.d.ts +44 -0
- data/node_modules/pkg-dir/index.js +17 -0
- data/node_modules/pkg-dir/license +9 -0
- data/node_modules/pkg-dir/package.json +56 -0
- data/node_modules/pkg-dir/readme.md +66 -0
- data/node_modules/progress/CHANGELOG.md +115 -0
- data/node_modules/progress/LICENSE +22 -0
- data/node_modules/progress/Makefile +8 -0
- data/node_modules/progress/Readme.md +146 -0
- data/node_modules/progress/index.js +1 -0
- data/node_modules/progress/lib/node-progress.js +235 -0
- data/node_modules/progress/package.json +26 -0
- data/node_modules/proxy-from-env/.eslintrc +29 -0
- data/node_modules/proxy-from-env/.travis.yml +10 -0
- data/node_modules/proxy-from-env/LICENSE +20 -0
- data/node_modules/proxy-from-env/README.md +131 -0
- data/node_modules/proxy-from-env/index.js +108 -0
- data/node_modules/proxy-from-env/package.json +34 -0
- data/node_modules/proxy-from-env/test.js +483 -0
- data/node_modules/pump/.travis.yml +5 -0
- data/node_modules/pump/LICENSE +21 -0
- data/node_modules/pump/README.md +65 -0
- data/node_modules/pump/index.js +82 -0
- data/node_modules/pump/package.json +24 -0
- data/node_modules/pump/test-browser.js +66 -0
- data/node_modules/pump/test-node.js +53 -0
- data/node_modules/puppeteer-core/CHANGELOG.md +226 -0
- data/node_modules/puppeteer-core/LICENSE +202 -0
- data/node_modules/puppeteer-core/README.md +483 -0
- data/node_modules/puppeteer-core/cjs-entry-core.js +29 -0
- data/node_modules/puppeteer-core/cjs-entry.js +29 -0
- data/node_modules/puppeteer-core/install.js +89 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +361 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +528 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +281 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +329 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +655 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +951 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +38 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +49 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +117 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +87 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +322 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +72 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +965 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +547 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +155 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +545 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +803 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +149 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +34 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +2427 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +162 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +3 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +166 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +77 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +145 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +48 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +104 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +407 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +113 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +29 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +44 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +328 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +20 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +45 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +502 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +225 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +574 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +23 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +57 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +357 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +523 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +276 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +323 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +650 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +78 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +948 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +94 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +34 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +110 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +84 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +318 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +68 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +960 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +543 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +151 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +539 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +778 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +145 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +337 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +32 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +2423 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +2 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +141 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +100 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +404 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +109 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +306 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +38 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +476 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +199 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +552 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +182 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +152 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +20 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +54 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/types.d.ts +6911 -0
- data/node_modules/puppeteer-core/package.json +122 -0
- data/node_modules/puppeteer-core/typescript-if-required.js +61 -0
- data/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- data/node_modules/readable-stream/GOVERNANCE.md +136 -0
- data/node_modules/readable-stream/LICENSE +47 -0
- data/node_modules/readable-stream/README.md +106 -0
- data/node_modules/readable-stream/errors-browser.js +127 -0
- data/node_modules/readable-stream/errors.js +116 -0
- data/node_modules/readable-stream/experimentalWarning.js +17 -0
- data/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- data/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- data/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- data/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- data/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- data/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- data/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- data/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- data/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- data/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- data/node_modules/readable-stream/package.json +68 -0
- data/node_modules/readable-stream/readable-browser.js +9 -0
- data/node_modules/readable-stream/readable.js +16 -0
- data/node_modules/rimraf/CHANGELOG.md +65 -0
- data/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/rimraf/README.md +101 -0
- data/node_modules/rimraf/bin.js +68 -0
- data/node_modules/rimraf/package.json +32 -0
- data/node_modules/rimraf/rimraf.js +360 -0
- data/node_modules/safe-buffer/LICENSE +21 -0
- data/node_modules/safe-buffer/README.md +584 -0
- data/node_modules/safe-buffer/index.d.ts +187 -0
- data/node_modules/safe-buffer/index.js +65 -0
- data/node_modules/safe-buffer/package.json +51 -0
- data/node_modules/string_decoder/LICENSE +48 -0
- data/node_modules/string_decoder/README.md +47 -0
- data/node_modules/string_decoder/lib/string_decoder.js +296 -0
- data/node_modules/string_decoder/package.json +34 -0
- data/node_modules/tar-fs/.travis.yml +5 -0
- data/node_modules/tar-fs/LICENSE +21 -0
- data/node_modules/tar-fs/README.md +163 -0
- data/node_modules/tar-fs/index.js +348 -0
- data/node_modules/tar-fs/package.json +41 -0
- data/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- data/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- data/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- data/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- data/node_modules/tar-fs/test/fixtures/e/file +0 -0
- data/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- data/node_modules/tar-fs/test/index.js +346 -0
- data/node_modules/tar-stream/LICENSE +21 -0
- data/node_modules/tar-stream/README.md +168 -0
- data/node_modules/tar-stream/extract.js +257 -0
- data/node_modules/tar-stream/headers.js +295 -0
- data/node_modules/tar-stream/index.js +2 -0
- data/node_modules/tar-stream/pack.js +255 -0
- data/node_modules/tar-stream/package.json +58 -0
- data/node_modules/tar-stream/sandbox.js +11 -0
- data/node_modules/through/.travis.yml +5 -0
- data/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/through/index.js +108 -0
- data/node_modules/through/package.json +36 -0
- data/node_modules/through/readme.markdown +64 -0
- data/node_modules/through/test/async.js +28 -0
- data/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/through/test/buffering.js +71 -0
- data/node_modules/through/test/end.js +45 -0
- data/node_modules/through/test/index.js +133 -0
- data/node_modules/unbzip2-stream/LICENSE +24 -0
- data/node_modules/unbzip2-stream/README.md +59 -0
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -0
- data/node_modules/unbzip2-stream/index.js +92 -0
- data/node_modules/unbzip2-stream/lib/bit_iterator.js +39 -0
- data/node_modules/unbzip2-stream/lib/bzip2.js +367 -0
- data/node_modules/unbzip2-stream/package.json +51 -0
- data/node_modules/util-deprecate/History.md +16 -0
- data/node_modules/util-deprecate/LICENSE +24 -0
- data/node_modules/util-deprecate/README.md +53 -0
- data/node_modules/util-deprecate/browser.js +67 -0
- data/node_modules/util-deprecate/node.js +6 -0
- data/node_modules/util-deprecate/package.json +27 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/ws/LICENSE +21 -0
- data/node_modules/ws/README.md +496 -0
- data/node_modules/ws/browser.js +8 -0
- data/node_modules/ws/index.js +10 -0
- data/node_modules/ws/lib/buffer-util.js +129 -0
- data/node_modules/ws/lib/constants.js +10 -0
- data/node_modules/ws/lib/event-target.js +184 -0
- data/node_modules/ws/lib/extension.js +223 -0
- data/node_modules/ws/lib/limiter.js +55 -0
- data/node_modules/ws/lib/permessage-deflate.js +517 -0
- data/node_modules/ws/lib/receiver.js +507 -0
- data/node_modules/ws/lib/sender.js +405 -0
- data/node_modules/ws/lib/stream.js +165 -0
- data/node_modules/ws/lib/validation.js +104 -0
- data/node_modules/ws/lib/websocket-server.js +418 -0
- data/node_modules/ws/lib/websocket.js +942 -0
- data/node_modules/ws/package.json +56 -0
- data/node_modules/yauzl/LICENSE +21 -0
- data/node_modules/yauzl/README.md +658 -0
- data/node_modules/yauzl/index.js +796 -0
- data/node_modules/yauzl/package.json +40 -0
- data/package.json +6 -0
- metadata +940 -58
@@ -0,0 +1,1477 @@
|
|
1
|
+
declare module 'process' {
|
2
|
+
import * as tty from 'node:tty';
|
3
|
+
import { Worker } from 'node:worker_threads';
|
4
|
+
global {
|
5
|
+
var process: NodeJS.Process;
|
6
|
+
namespace NodeJS {
|
7
|
+
// this namespace merge is here because these are specifically used
|
8
|
+
// as the type for process.stdin, process.stdout, and process.stderr.
|
9
|
+
// they can't live in tty.d.ts because we need to disambiguate the imported name.
|
10
|
+
interface ReadStream extends tty.ReadStream {}
|
11
|
+
interface WriteStream extends tty.WriteStream {}
|
12
|
+
interface MemoryUsageFn {
|
13
|
+
/**
|
14
|
+
* The `process.memoryUsage()` method iterate over each page to gather informations about memory
|
15
|
+
* usage which can be slow depending on the program memory allocations.
|
16
|
+
*/
|
17
|
+
(): MemoryUsage;
|
18
|
+
/**
|
19
|
+
* method returns an integer representing the Resident Set Size (RSS) in bytes.
|
20
|
+
*/
|
21
|
+
rss(): number;
|
22
|
+
}
|
23
|
+
interface MemoryUsage {
|
24
|
+
rss: number;
|
25
|
+
heapTotal: number;
|
26
|
+
heapUsed: number;
|
27
|
+
external: number;
|
28
|
+
arrayBuffers: number;
|
29
|
+
}
|
30
|
+
interface CpuUsage {
|
31
|
+
user: number;
|
32
|
+
system: number;
|
33
|
+
}
|
34
|
+
interface ProcessRelease {
|
35
|
+
name: string;
|
36
|
+
sourceUrl?: string | undefined;
|
37
|
+
headersUrl?: string | undefined;
|
38
|
+
libUrl?: string | undefined;
|
39
|
+
lts?: string | undefined;
|
40
|
+
}
|
41
|
+
interface ProcessVersions extends Dict<string> {
|
42
|
+
http_parser: string;
|
43
|
+
node: string;
|
44
|
+
v8: string;
|
45
|
+
ares: string;
|
46
|
+
uv: string;
|
47
|
+
zlib: string;
|
48
|
+
modules: string;
|
49
|
+
openssl: string;
|
50
|
+
}
|
51
|
+
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
52
|
+
type Signals =
|
53
|
+
| 'SIGABRT'
|
54
|
+
| 'SIGALRM'
|
55
|
+
| 'SIGBUS'
|
56
|
+
| 'SIGCHLD'
|
57
|
+
| 'SIGCONT'
|
58
|
+
| 'SIGFPE'
|
59
|
+
| 'SIGHUP'
|
60
|
+
| 'SIGILL'
|
61
|
+
| 'SIGINT'
|
62
|
+
| 'SIGIO'
|
63
|
+
| 'SIGIOT'
|
64
|
+
| 'SIGKILL'
|
65
|
+
| 'SIGPIPE'
|
66
|
+
| 'SIGPOLL'
|
67
|
+
| 'SIGPROF'
|
68
|
+
| 'SIGPWR'
|
69
|
+
| 'SIGQUIT'
|
70
|
+
| 'SIGSEGV'
|
71
|
+
| 'SIGSTKFLT'
|
72
|
+
| 'SIGSTOP'
|
73
|
+
| 'SIGSYS'
|
74
|
+
| 'SIGTERM'
|
75
|
+
| 'SIGTRAP'
|
76
|
+
| 'SIGTSTP'
|
77
|
+
| 'SIGTTIN'
|
78
|
+
| 'SIGTTOU'
|
79
|
+
| 'SIGUNUSED'
|
80
|
+
| 'SIGURG'
|
81
|
+
| 'SIGUSR1'
|
82
|
+
| 'SIGUSR2'
|
83
|
+
| 'SIGVTALRM'
|
84
|
+
| 'SIGWINCH'
|
85
|
+
| 'SIGXCPU'
|
86
|
+
| 'SIGXFSZ'
|
87
|
+
| 'SIGBREAK'
|
88
|
+
| 'SIGLOST'
|
89
|
+
| 'SIGINFO';
|
90
|
+
type UncaughtExceptionOrigin = 'uncaughtException' | 'unhandledRejection';
|
91
|
+
type MultipleResolveType = 'resolve' | 'reject';
|
92
|
+
type BeforeExitListener = (code: number) => void;
|
93
|
+
type DisconnectListener = () => void;
|
94
|
+
type ExitListener = (code: number) => void;
|
95
|
+
type RejectionHandledListener = (promise: Promise<unknown>) => void;
|
96
|
+
type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
|
97
|
+
type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<unknown>) => void;
|
98
|
+
type WarningListener = (warning: Error) => void;
|
99
|
+
type MessageListener = (message: unknown, sendHandle: unknown) => void;
|
100
|
+
type SignalsListener = (signal: Signals) => void;
|
101
|
+
type MultipleResolveListener = (type: MultipleResolveType, promise: Promise<unknown>, value: unknown) => void;
|
102
|
+
type WorkerListener = (worker: Worker) => void;
|
103
|
+
interface Socket extends ReadWriteStream {
|
104
|
+
isTTY?: true | undefined;
|
105
|
+
}
|
106
|
+
// Alias for compatibility
|
107
|
+
interface ProcessEnv extends Dict<string> {
|
108
|
+
/**
|
109
|
+
* Can be used to change the default timezone at runtime
|
110
|
+
*/
|
111
|
+
TZ?: string;
|
112
|
+
}
|
113
|
+
interface HRTime {
|
114
|
+
(time?: [number, number]): [number, number];
|
115
|
+
bigint(): bigint;
|
116
|
+
}
|
117
|
+
interface ProcessReport {
|
118
|
+
/**
|
119
|
+
* Directory where the report is written.
|
120
|
+
* working directory of the Node.js process.
|
121
|
+
* @default '' indicating that reports are written to the current
|
122
|
+
*/
|
123
|
+
directory: string;
|
124
|
+
/**
|
125
|
+
* Filename where the report is written.
|
126
|
+
* The default value is the empty string.
|
127
|
+
* @default '' the output filename will be comprised of a timestamp,
|
128
|
+
* PID, and sequence number.
|
129
|
+
*/
|
130
|
+
filename: string;
|
131
|
+
/**
|
132
|
+
* Returns a JSON-formatted diagnostic report for the running process.
|
133
|
+
* The report's JavaScript stack trace is taken from err, if present.
|
134
|
+
*/
|
135
|
+
getReport(err?: Error): string;
|
136
|
+
/**
|
137
|
+
* If true, a diagnostic report is generated on fatal errors,
|
138
|
+
* such as out of memory errors or failed C++ assertions.
|
139
|
+
* @default false
|
140
|
+
*/
|
141
|
+
reportOnFatalError: boolean;
|
142
|
+
/**
|
143
|
+
* If true, a diagnostic report is generated when the process
|
144
|
+
* receives the signal specified by process.report.signal.
|
145
|
+
* @defaul false
|
146
|
+
*/
|
147
|
+
reportOnSignal: boolean;
|
148
|
+
/**
|
149
|
+
* If true, a diagnostic report is generated on uncaught exception.
|
150
|
+
* @default false
|
151
|
+
*/
|
152
|
+
reportOnUncaughtException: boolean;
|
153
|
+
/**
|
154
|
+
* The signal used to trigger the creation of a diagnostic report.
|
155
|
+
* @default 'SIGUSR2'
|
156
|
+
*/
|
157
|
+
signal: Signals;
|
158
|
+
/**
|
159
|
+
* Writes a diagnostic report to a file. If filename is not provided, the default filename
|
160
|
+
* includes the date, time, PID, and a sequence number.
|
161
|
+
* The report's JavaScript stack trace is taken from err, if present.
|
162
|
+
*
|
163
|
+
* @param fileName Name of the file where the report is written.
|
164
|
+
* This should be a relative path, that will be appended to the directory specified in
|
165
|
+
* `process.report.directory`, or the current working directory of the Node.js process,
|
166
|
+
* if unspecified.
|
167
|
+
* @param error A custom error used for reporting the JavaScript stack.
|
168
|
+
* @return Filename of the generated report.
|
169
|
+
*/
|
170
|
+
writeReport(fileName?: string): string;
|
171
|
+
writeReport(error?: Error): string;
|
172
|
+
writeReport(fileName?: string, err?: Error): string;
|
173
|
+
}
|
174
|
+
interface ResourceUsage {
|
175
|
+
fsRead: number;
|
176
|
+
fsWrite: number;
|
177
|
+
involuntaryContextSwitches: number;
|
178
|
+
ipcReceived: number;
|
179
|
+
ipcSent: number;
|
180
|
+
majorPageFault: number;
|
181
|
+
maxRSS: number;
|
182
|
+
minorPageFault: number;
|
183
|
+
sharedMemorySize: number;
|
184
|
+
signalsCount: number;
|
185
|
+
swappedOut: number;
|
186
|
+
systemCPUTime: number;
|
187
|
+
unsharedDataSize: number;
|
188
|
+
unsharedStackSize: number;
|
189
|
+
userCPUTime: number;
|
190
|
+
voluntaryContextSwitches: number;
|
191
|
+
}
|
192
|
+
interface EmitWarningOptions {
|
193
|
+
/**
|
194
|
+
* When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
|
195
|
+
*
|
196
|
+
* @default 'Warning'
|
197
|
+
*/
|
198
|
+
type?: string | undefined;
|
199
|
+
/**
|
200
|
+
* A unique identifier for the warning instance being emitted.
|
201
|
+
*/
|
202
|
+
code?: string | undefined;
|
203
|
+
/**
|
204
|
+
* When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
|
205
|
+
*
|
206
|
+
* @default process.emitWarning
|
207
|
+
*/
|
208
|
+
ctor?: Function | undefined;
|
209
|
+
/**
|
210
|
+
* Additional text to include with the error.
|
211
|
+
*/
|
212
|
+
detail?: string | undefined;
|
213
|
+
}
|
214
|
+
interface ProcessConfig {
|
215
|
+
readonly target_defaults: {
|
216
|
+
readonly cflags: any[];
|
217
|
+
readonly default_configuration: string;
|
218
|
+
readonly defines: string[];
|
219
|
+
readonly include_dirs: string[];
|
220
|
+
readonly libraries: string[];
|
221
|
+
};
|
222
|
+
readonly variables: {
|
223
|
+
readonly clang: number;
|
224
|
+
readonly host_arch: string;
|
225
|
+
readonly node_install_npm: boolean;
|
226
|
+
readonly node_install_waf: boolean;
|
227
|
+
readonly node_prefix: string;
|
228
|
+
readonly node_shared_openssl: boolean;
|
229
|
+
readonly node_shared_v8: boolean;
|
230
|
+
readonly node_shared_zlib: boolean;
|
231
|
+
readonly node_use_dtrace: boolean;
|
232
|
+
readonly node_use_etw: boolean;
|
233
|
+
readonly node_use_openssl: boolean;
|
234
|
+
readonly target_arch: string;
|
235
|
+
readonly v8_no_strict_aliasing: number;
|
236
|
+
readonly v8_use_snapshot: boolean;
|
237
|
+
readonly visibility: string;
|
238
|
+
};
|
239
|
+
}
|
240
|
+
interface Process extends EventEmitter {
|
241
|
+
/**
|
242
|
+
* The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is
|
243
|
+
* a `Writable` stream.
|
244
|
+
*
|
245
|
+
* For example, to copy `process.stdin` to `process.stdout`:
|
246
|
+
*
|
247
|
+
* ```js
|
248
|
+
* import { stdin, stdout } from 'process';
|
249
|
+
*
|
250
|
+
* stdin.pipe(stdout);
|
251
|
+
* ```
|
252
|
+
*
|
253
|
+
* `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information.
|
254
|
+
*/
|
255
|
+
stdout: WriteStream & {
|
256
|
+
fd: 1;
|
257
|
+
};
|
258
|
+
/**
|
259
|
+
* The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is
|
260
|
+
* a `Writable` stream.
|
261
|
+
*
|
262
|
+
* `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information.
|
263
|
+
*/
|
264
|
+
stderr: WriteStream & {
|
265
|
+
fd: 2;
|
266
|
+
};
|
267
|
+
/**
|
268
|
+
* The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is
|
269
|
+
* a `Readable` stream.
|
270
|
+
*
|
271
|
+
* For details of how to read from `stdin` see `readable.read()`.
|
272
|
+
*
|
273
|
+
* As a `Duplex` stream, `process.stdin` can also be used in "old" mode that
|
274
|
+
* is compatible with scripts written for Node.js prior to v0.10\.
|
275
|
+
* For more information see `Stream compatibility`.
|
276
|
+
*
|
277
|
+
* In "old" streams mode the `stdin` stream is paused by default, so one
|
278
|
+
* must call `process.stdin.resume()` to read from it. Note also that calling`process.stdin.resume()` itself would switch stream to "old" mode.
|
279
|
+
*/
|
280
|
+
stdin: ReadStream & {
|
281
|
+
fd: 0;
|
282
|
+
};
|
283
|
+
openStdin(): Socket;
|
284
|
+
/**
|
285
|
+
* The `process.argv` property returns an array containing the command-line
|
286
|
+
* arguments passed when the Node.js process was launched. The first element will
|
287
|
+
* be {@link execPath}. See `process.argv0` if access to the original value
|
288
|
+
* of `argv[0]` is needed. The second element will be the path to the JavaScript
|
289
|
+
* file being executed. The remaining elements will be any additional command-line
|
290
|
+
* arguments.
|
291
|
+
*
|
292
|
+
* For example, assuming the following script for `process-args.js`:
|
293
|
+
*
|
294
|
+
* ```js
|
295
|
+
* import { argv } from 'process';
|
296
|
+
*
|
297
|
+
* // print process.argv
|
298
|
+
* argv.forEach((val, index) => {
|
299
|
+
* console.log(`${index}: ${val}`);
|
300
|
+
* });
|
301
|
+
* ```
|
302
|
+
*
|
303
|
+
* Launching the Node.js process as:
|
304
|
+
*
|
305
|
+
* ```console
|
306
|
+
* $ node process-args.js one two=three four
|
307
|
+
* ```
|
308
|
+
*
|
309
|
+
* Would generate the output:
|
310
|
+
*
|
311
|
+
* ```text
|
312
|
+
* 0: /usr/local/bin/node
|
313
|
+
* 1: /Users/mjr/work/node/process-args.js
|
314
|
+
* 2: one
|
315
|
+
* 3: two=three
|
316
|
+
* 4: four
|
317
|
+
* ```
|
318
|
+
* @since v0.1.27
|
319
|
+
*/
|
320
|
+
argv: string[];
|
321
|
+
/**
|
322
|
+
* The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts.
|
323
|
+
*
|
324
|
+
* ```console
|
325
|
+
* $ bash -c 'exec -a customArgv0 ./node'
|
326
|
+
* > process.argv[0]
|
327
|
+
* '/Volumes/code/external/node/out/Release/node'
|
328
|
+
* > process.argv0
|
329
|
+
* 'customArgv0'
|
330
|
+
* ```
|
331
|
+
* @since v6.4.0
|
332
|
+
*/
|
333
|
+
argv0: string;
|
334
|
+
/**
|
335
|
+
* The `process.execArgv` property returns the set of Node.js-specific command-line
|
336
|
+
* options passed when the Node.js process was launched. These options do not
|
337
|
+
* appear in the array returned by the {@link argv} property, and do not
|
338
|
+
* include the Node.js executable, the name of the script, or any options following
|
339
|
+
* the script name. These options are useful in order to spawn child processes with
|
340
|
+
* the same execution environment as the parent.
|
341
|
+
*
|
342
|
+
* ```console
|
343
|
+
* $ node --harmony script.js --version
|
344
|
+
* ```
|
345
|
+
*
|
346
|
+
* Results in `process.execArgv`:
|
347
|
+
*
|
348
|
+
* ```js
|
349
|
+
* ['--harmony']
|
350
|
+
* ```
|
351
|
+
*
|
352
|
+
* And `process.argv`:
|
353
|
+
*
|
354
|
+
* ```js
|
355
|
+
* ['/usr/local/bin/node', 'script.js', '--version']
|
356
|
+
* ```
|
357
|
+
*
|
358
|
+
* Refer to `Worker constructor` for the detailed behavior of worker
|
359
|
+
* threads with this property.
|
360
|
+
* @since v0.7.7
|
361
|
+
*/
|
362
|
+
execArgv: string[];
|
363
|
+
/**
|
364
|
+
* The `process.execPath` property returns the absolute pathname of the executable
|
365
|
+
* that started the Node.js process. Symbolic links, if any, are resolved.
|
366
|
+
*
|
367
|
+
* ```js
|
368
|
+
* '/usr/local/bin/node'
|
369
|
+
* ```
|
370
|
+
* @since v0.1.100
|
371
|
+
*/
|
372
|
+
execPath: string;
|
373
|
+
/**
|
374
|
+
* The `process.abort()` method causes the Node.js process to exit immediately and
|
375
|
+
* generate a core file.
|
376
|
+
*
|
377
|
+
* This feature is not available in `Worker` threads.
|
378
|
+
* @since v0.7.0
|
379
|
+
*/
|
380
|
+
abort(): never;
|
381
|
+
/**
|
382
|
+
* The `process.chdir()` method changes the current working directory of the
|
383
|
+
* Node.js process or throws an exception if doing so fails (for instance, if
|
384
|
+
* the specified `directory` does not exist).
|
385
|
+
*
|
386
|
+
* ```js
|
387
|
+
* import { chdir, cwd } from 'process';
|
388
|
+
*
|
389
|
+
* console.log(`Starting directory: ${cwd()}`);
|
390
|
+
* try {
|
391
|
+
* chdir('/tmp');
|
392
|
+
* console.log(`New directory: ${cwd()}`);
|
393
|
+
* } catch (err) {
|
394
|
+
* console.error(`chdir: ${err}`);
|
395
|
+
* }
|
396
|
+
* ```
|
397
|
+
*
|
398
|
+
* This feature is not available in `Worker` threads.
|
399
|
+
* @since v0.1.17
|
400
|
+
*/
|
401
|
+
chdir(directory: string): void;
|
402
|
+
/**
|
403
|
+
* The `process.cwd()` method returns the current working directory of the Node.js
|
404
|
+
* process.
|
405
|
+
*
|
406
|
+
* ```js
|
407
|
+
* import { cwd } from 'process';
|
408
|
+
*
|
409
|
+
* console.log(`Current directory: ${cwd()}`);
|
410
|
+
* ```
|
411
|
+
* @since v0.1.8
|
412
|
+
*/
|
413
|
+
cwd(): string;
|
414
|
+
/**
|
415
|
+
* The port used by the Node.js debugger when enabled.
|
416
|
+
*
|
417
|
+
* ```js
|
418
|
+
* import process from 'process';
|
419
|
+
*
|
420
|
+
* process.debugPort = 5858;
|
421
|
+
* ```
|
422
|
+
* @since v0.7.2
|
423
|
+
*/
|
424
|
+
debugPort: number;
|
425
|
+
/**
|
426
|
+
* The `process.emitWarning()` method can be used to emit custom or application
|
427
|
+
* specific process warnings. These can be listened for by adding a handler to the `'warning'` event.
|
428
|
+
*
|
429
|
+
* ```js
|
430
|
+
* import { emitWarning } from 'process';
|
431
|
+
*
|
432
|
+
* // Emit a warning with a code and additional detail.
|
433
|
+
* emitWarning('Something happened!', {
|
434
|
+
* code: 'MY_WARNING',
|
435
|
+
* detail: 'This is some additional information'
|
436
|
+
* });
|
437
|
+
* // Emits:
|
438
|
+
* // (node:56338) [MY_WARNING] Warning: Something happened!
|
439
|
+
* // This is some additional information
|
440
|
+
* ```
|
441
|
+
*
|
442
|
+
* In this example, an `Error` object is generated internally by`process.emitWarning()` and passed through to the `'warning'` handler.
|
443
|
+
*
|
444
|
+
* ```js
|
445
|
+
* import process from 'process';
|
446
|
+
*
|
447
|
+
* process.on('warning', (warning) => {
|
448
|
+
* console.warn(warning.name); // 'Warning'
|
449
|
+
* console.warn(warning.message); // 'Something happened!'
|
450
|
+
* console.warn(warning.code); // 'MY_WARNING'
|
451
|
+
* console.warn(warning.stack); // Stack trace
|
452
|
+
* console.warn(warning.detail); // 'This is some additional information'
|
453
|
+
* });
|
454
|
+
* ```
|
455
|
+
*
|
456
|
+
* If `warning` is passed as an `Error` object, the `options` argument is ignored.
|
457
|
+
* @since v8.0.0
|
458
|
+
* @param warning The warning to emit.
|
459
|
+
*/
|
460
|
+
emitWarning(warning: string | Error, ctor?: Function): void;
|
461
|
+
emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
|
462
|
+
emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
|
463
|
+
emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
|
464
|
+
/**
|
465
|
+
* The `process.env` property returns an object containing the user environment.
|
466
|
+
* See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html).
|
467
|
+
*
|
468
|
+
* An example of this object looks like:
|
469
|
+
*
|
470
|
+
* ```js
|
471
|
+
* {
|
472
|
+
* TERM: 'xterm-256color',
|
473
|
+
* SHELL: '/usr/local/bin/bash',
|
474
|
+
* USER: 'maciej',
|
475
|
+
* PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
|
476
|
+
* PWD: '/Users/maciej',
|
477
|
+
* EDITOR: 'vim',
|
478
|
+
* SHLVL: '1',
|
479
|
+
* HOME: '/Users/maciej',
|
480
|
+
* LOGNAME: 'maciej',
|
481
|
+
* _: '/usr/local/bin/node'
|
482
|
+
* }
|
483
|
+
* ```
|
484
|
+
*
|
485
|
+
* It is possible to modify this object, but such modifications will not be
|
486
|
+
* reflected outside the Node.js process, or (unless explicitly requested)
|
487
|
+
* to other `Worker` threads.
|
488
|
+
* In other words, the following example would not work:
|
489
|
+
*
|
490
|
+
* ```console
|
491
|
+
* $ node -e 'process.env.foo = "bar"' && echo $foo
|
492
|
+
* ```
|
493
|
+
*
|
494
|
+
* While the following will:
|
495
|
+
*
|
496
|
+
* ```js
|
497
|
+
* import { env } from 'process';
|
498
|
+
*
|
499
|
+
* env.foo = 'bar';
|
500
|
+
* console.log(env.foo);
|
501
|
+
* ```
|
502
|
+
*
|
503
|
+
* Assigning a property on `process.env` will implicitly convert the value
|
504
|
+
* to a string. **This behavior is deprecated.** Future versions of Node.js may
|
505
|
+
* throw an error when the value is not a string, number, or boolean.
|
506
|
+
*
|
507
|
+
* ```js
|
508
|
+
* import { env } from 'process';
|
509
|
+
*
|
510
|
+
* env.test = null;
|
511
|
+
* console.log(env.test);
|
512
|
+
* // => 'null'
|
513
|
+
* env.test = undefined;
|
514
|
+
* console.log(env.test);
|
515
|
+
* // => 'undefined'
|
516
|
+
* ```
|
517
|
+
*
|
518
|
+
* Use `delete` to delete a property from `process.env`.
|
519
|
+
*
|
520
|
+
* ```js
|
521
|
+
* import { env } from 'process';
|
522
|
+
*
|
523
|
+
* env.TEST = 1;
|
524
|
+
* delete env.TEST;
|
525
|
+
* console.log(env.TEST);
|
526
|
+
* // => undefined
|
527
|
+
* ```
|
528
|
+
*
|
529
|
+
* On Windows operating systems, environment variables are case-insensitive.
|
530
|
+
*
|
531
|
+
* ```js
|
532
|
+
* import { env } from 'process';
|
533
|
+
*
|
534
|
+
* env.TEST = 1;
|
535
|
+
* console.log(env.test);
|
536
|
+
* // => 1
|
537
|
+
* ```
|
538
|
+
*
|
539
|
+
* Unless explicitly specified when creating a `Worker` instance,
|
540
|
+
* each `Worker` thread has its own copy of `process.env`, based on its
|
541
|
+
* parent thread’s `process.env`, or whatever was specified as the `env` option
|
542
|
+
* to the `Worker` constructor. Changes to `process.env` will not be visible
|
543
|
+
* across `Worker` threads, and only the main thread can make changes that
|
544
|
+
* are visible to the operating system or to native add-ons.
|
545
|
+
* @since v0.1.27
|
546
|
+
*/
|
547
|
+
env: ProcessEnv;
|
548
|
+
/**
|
549
|
+
* The `process.exit()` method instructs Node.js to terminate the process
|
550
|
+
* synchronously with an exit status of `code`. If `code` is omitted, exit uses
|
551
|
+
* either the 'success' code `0` or the value of `process.exitCode` if it has been
|
552
|
+
* set. Node.js will not terminate until all the `'exit'` event listeners are
|
553
|
+
* called.
|
554
|
+
*
|
555
|
+
* To exit with a 'failure' code:
|
556
|
+
*
|
557
|
+
* ```js
|
558
|
+
* import { exit } from 'process';
|
559
|
+
*
|
560
|
+
* exit(1);
|
561
|
+
* ```
|
562
|
+
*
|
563
|
+
* The shell that executed Node.js should see the exit code as `1`.
|
564
|
+
*
|
565
|
+
* Calling `process.exit()` will force the process to exit as quickly as possible
|
566
|
+
* even if there are still asynchronous operations pending that have not yet
|
567
|
+
* completed fully, including I/O operations to `process.stdout` and`process.stderr`.
|
568
|
+
*
|
569
|
+
* In most situations, it is not actually necessary to call `process.exit()`explicitly. The Node.js process will exit on its own _if there is no additional_
|
570
|
+
* _work pending_ in the event loop. The `process.exitCode` property can be set to
|
571
|
+
* tell the process which exit code to use when the process exits gracefully.
|
572
|
+
*
|
573
|
+
* For instance, the following example illustrates a _misuse_ of the`process.exit()` method that could lead to data printed to stdout being
|
574
|
+
* truncated and lost:
|
575
|
+
*
|
576
|
+
* ```js
|
577
|
+
* import { exit } from 'process';
|
578
|
+
*
|
579
|
+
* // This is an example of what *not* to do:
|
580
|
+
* if (someConditionNotMet()) {
|
581
|
+
* printUsageToStdout();
|
582
|
+
* exit(1);
|
583
|
+
* }
|
584
|
+
* ```
|
585
|
+
*
|
586
|
+
* The reason this is problematic is because writes to `process.stdout` in Node.js
|
587
|
+
* are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js
|
588
|
+
* event loop. Calling `process.exit()`, however, forces the process to exit_before_ those additional writes to `stdout` can be performed.
|
589
|
+
*
|
590
|
+
* Rather than calling `process.exit()` directly, the code _should_ set the`process.exitCode` and allow the process to exit naturally by avoiding
|
591
|
+
* scheduling any additional work for the event loop:
|
592
|
+
*
|
593
|
+
* ```js
|
594
|
+
* import process from 'process';
|
595
|
+
*
|
596
|
+
* // How to properly set the exit code while letting
|
597
|
+
* // the process exit gracefully.
|
598
|
+
* if (someConditionNotMet()) {
|
599
|
+
* printUsageToStdout();
|
600
|
+
* process.exitCode = 1;
|
601
|
+
* }
|
602
|
+
* ```
|
603
|
+
*
|
604
|
+
* If it is necessary to terminate the Node.js process due to an error condition,
|
605
|
+
* throwing an _uncaught_ error and allowing the process to terminate accordingly
|
606
|
+
* is safer than calling `process.exit()`.
|
607
|
+
*
|
608
|
+
* In `Worker` threads, this function stops the current thread rather
|
609
|
+
* than the current process.
|
610
|
+
* @since v0.1.13
|
611
|
+
* @param [code=0] The exit code.
|
612
|
+
*/
|
613
|
+
exit(code?: number): never;
|
614
|
+
/**
|
615
|
+
* A number which will be the process exit code, when the process either
|
616
|
+
* exits gracefully, or is exited via {@link exit} without specifying
|
617
|
+
* a code.
|
618
|
+
*
|
619
|
+
* Specifying a code to {@link exit} will override any
|
620
|
+
* previous setting of `process.exitCode`.
|
621
|
+
* @since v0.11.8
|
622
|
+
*/
|
623
|
+
exitCode?: number | undefined;
|
624
|
+
/**
|
625
|
+
* The `process.getgid()` method returns the numerical group identity of the
|
626
|
+
* process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).)
|
627
|
+
*
|
628
|
+
* ```js
|
629
|
+
* import process from 'process';
|
630
|
+
*
|
631
|
+
* if (process.getgid) {
|
632
|
+
* console.log(`Current gid: ${process.getgid()}`);
|
633
|
+
* }
|
634
|
+
* ```
|
635
|
+
*
|
636
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
637
|
+
* Android).
|
638
|
+
* @since v0.1.31
|
639
|
+
*/
|
640
|
+
getgid(): number;
|
641
|
+
/**
|
642
|
+
* The `process.setgid()` method sets the group identity of the process. (See[`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a
|
643
|
+
* numeric ID or a group name
|
644
|
+
* string. If a group name is specified, this method blocks while resolving the
|
645
|
+
* associated numeric ID.
|
646
|
+
*
|
647
|
+
* ```js
|
648
|
+
* import process from 'process';
|
649
|
+
*
|
650
|
+
* if (process.getgid && process.setgid) {
|
651
|
+
* console.log(`Current gid: ${process.getgid()}`);
|
652
|
+
* try {
|
653
|
+
* process.setgid(501);
|
654
|
+
* console.log(`New gid: ${process.getgid()}`);
|
655
|
+
* } catch (err) {
|
656
|
+
* console.log(`Failed to set gid: ${err}`);
|
657
|
+
* }
|
658
|
+
* }
|
659
|
+
* ```
|
660
|
+
*
|
661
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
662
|
+
* Android).
|
663
|
+
* This feature is not available in `Worker` threads.
|
664
|
+
* @since v0.1.31
|
665
|
+
* @param id The group name or ID
|
666
|
+
*/
|
667
|
+
setgid(id: number | string): void;
|
668
|
+
/**
|
669
|
+
* The `process.getuid()` method returns the numeric user identity of the process.
|
670
|
+
* (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).)
|
671
|
+
*
|
672
|
+
* ```js
|
673
|
+
* import process from 'process';
|
674
|
+
*
|
675
|
+
* if (process.getuid) {
|
676
|
+
* console.log(`Current uid: ${process.getuid()}`);
|
677
|
+
* }
|
678
|
+
* ```
|
679
|
+
*
|
680
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
681
|
+
* Android).
|
682
|
+
* @since v0.1.28
|
683
|
+
*/
|
684
|
+
getuid(): number;
|
685
|
+
/**
|
686
|
+
* The `process.setuid(id)` method sets the user identity of the process. (See[`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a
|
687
|
+
* numeric ID or a username string.
|
688
|
+
* If a username is specified, the method blocks while resolving the associated
|
689
|
+
* numeric ID.
|
690
|
+
*
|
691
|
+
* ```js
|
692
|
+
* import process from 'process';
|
693
|
+
*
|
694
|
+
* if (process.getuid && process.setuid) {
|
695
|
+
* console.log(`Current uid: ${process.getuid()}`);
|
696
|
+
* try {
|
697
|
+
* process.setuid(501);
|
698
|
+
* console.log(`New uid: ${process.getuid()}`);
|
699
|
+
* } catch (err) {
|
700
|
+
* console.log(`Failed to set uid: ${err}`);
|
701
|
+
* }
|
702
|
+
* }
|
703
|
+
* ```
|
704
|
+
*
|
705
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
706
|
+
* Android).
|
707
|
+
* This feature is not available in `Worker` threads.
|
708
|
+
* @since v0.1.28
|
709
|
+
*/
|
710
|
+
setuid(id: number | string): void;
|
711
|
+
/**
|
712
|
+
* The `process.geteuid()` method returns the numerical effective user identity of
|
713
|
+
* the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).)
|
714
|
+
*
|
715
|
+
* ```js
|
716
|
+
* import process from 'process';
|
717
|
+
*
|
718
|
+
* if (process.geteuid) {
|
719
|
+
* console.log(`Current uid: ${process.geteuid()}`);
|
720
|
+
* }
|
721
|
+
* ```
|
722
|
+
*
|
723
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
724
|
+
* Android).
|
725
|
+
* @since v2.0.0
|
726
|
+
*/
|
727
|
+
geteuid(): number;
|
728
|
+
/**
|
729
|
+
* The `process.seteuid()` method sets the effective user identity of the process.
|
730
|
+
* (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username
|
731
|
+
* string. If a username is specified, the method blocks while resolving the
|
732
|
+
* associated numeric ID.
|
733
|
+
*
|
734
|
+
* ```js
|
735
|
+
* import process from 'process';
|
736
|
+
*
|
737
|
+
* if (process.geteuid && process.seteuid) {
|
738
|
+
* console.log(`Current uid: ${process.geteuid()}`);
|
739
|
+
* try {
|
740
|
+
* process.seteuid(501);
|
741
|
+
* console.log(`New uid: ${process.geteuid()}`);
|
742
|
+
* } catch (err) {
|
743
|
+
* console.log(`Failed to set uid: ${err}`);
|
744
|
+
* }
|
745
|
+
* }
|
746
|
+
* ```
|
747
|
+
*
|
748
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
749
|
+
* Android).
|
750
|
+
* This feature is not available in `Worker` threads.
|
751
|
+
* @since v2.0.0
|
752
|
+
* @param id A user name or ID
|
753
|
+
*/
|
754
|
+
seteuid(id: number | string): void;
|
755
|
+
/**
|
756
|
+
* The `process.getegid()` method returns the numerical effective group identity
|
757
|
+
* of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).)
|
758
|
+
*
|
759
|
+
* ```js
|
760
|
+
* import process from 'process';
|
761
|
+
*
|
762
|
+
* if (process.getegid) {
|
763
|
+
* console.log(`Current gid: ${process.getegid()}`);
|
764
|
+
* }
|
765
|
+
* ```
|
766
|
+
*
|
767
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
768
|
+
* Android).
|
769
|
+
* @since v2.0.0
|
770
|
+
*/
|
771
|
+
getegid(): number;
|
772
|
+
/**
|
773
|
+
* The `process.setegid()` method sets the effective group identity of the process.
|
774
|
+
* (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group
|
775
|
+
* name string. If a group name is specified, this method blocks while resolving
|
776
|
+
* the associated a numeric ID.
|
777
|
+
*
|
778
|
+
* ```js
|
779
|
+
* import process from 'process';
|
780
|
+
*
|
781
|
+
* if (process.getegid && process.setegid) {
|
782
|
+
* console.log(`Current gid: ${process.getegid()}`);
|
783
|
+
* try {
|
784
|
+
* process.setegid(501);
|
785
|
+
* console.log(`New gid: ${process.getegid()}`);
|
786
|
+
* } catch (err) {
|
787
|
+
* console.log(`Failed to set gid: ${err}`);
|
788
|
+
* }
|
789
|
+
* }
|
790
|
+
* ```
|
791
|
+
*
|
792
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
793
|
+
* Android).
|
794
|
+
* This feature is not available in `Worker` threads.
|
795
|
+
* @since v2.0.0
|
796
|
+
* @param id A group name or ID
|
797
|
+
*/
|
798
|
+
setegid(id: number | string): void;
|
799
|
+
/**
|
800
|
+
* The `process.getgroups()` method returns an array with the supplementary group
|
801
|
+
* IDs. POSIX leaves it unspecified if the effective group ID is included but
|
802
|
+
* Node.js ensures it always is.
|
803
|
+
*
|
804
|
+
* ```js
|
805
|
+
* import process from 'process';
|
806
|
+
*
|
807
|
+
* if (process.getgroups) {
|
808
|
+
* console.log(process.getgroups()); // [ 16, 21, 297 ]
|
809
|
+
* }
|
810
|
+
* ```
|
811
|
+
*
|
812
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
813
|
+
* Android).
|
814
|
+
* @since v0.9.4
|
815
|
+
*/
|
816
|
+
getgroups(): number[];
|
817
|
+
/**
|
818
|
+
* The `process.setgroups()` method sets the supplementary group IDs for the
|
819
|
+
* Node.js process. This is a privileged operation that requires the Node.js
|
820
|
+
* process to have `root` or the `CAP_SETGID` capability.
|
821
|
+
*
|
822
|
+
* The `groups` array can contain numeric group IDs, group names, or both.
|
823
|
+
*
|
824
|
+
* ```js
|
825
|
+
* import process from 'process';
|
826
|
+
*
|
827
|
+
* if (process.getgroups && process.setgroups) {
|
828
|
+
* try {
|
829
|
+
* process.setgroups([501]);
|
830
|
+
* console.log(process.getgroups()); // new groups
|
831
|
+
* } catch (err) {
|
832
|
+
* console.log(`Failed to set groups: ${err}`);
|
833
|
+
* }
|
834
|
+
* }
|
835
|
+
* ```
|
836
|
+
*
|
837
|
+
* This function is only available on POSIX platforms (i.e. not Windows or
|
838
|
+
* Android).
|
839
|
+
* This feature is not available in `Worker` threads.
|
840
|
+
* @since v0.9.4
|
841
|
+
*/
|
842
|
+
setgroups(groups: ReadonlyArray<string | number>): void;
|
843
|
+
/**
|
844
|
+
* The `process.setUncaughtExceptionCaptureCallback()` function sets a function
|
845
|
+
* that will be invoked when an uncaught exception occurs, which will receive the
|
846
|
+
* exception value itself as its first argument.
|
847
|
+
*
|
848
|
+
* If such a function is set, the `'uncaughtException'` event will
|
849
|
+
* not be emitted. If `--abort-on-uncaught-exception` was passed from the
|
850
|
+
* command line or set through `v8.setFlagsFromString()`, the process will
|
851
|
+
* not abort. Actions configured to take place on exceptions such as report
|
852
|
+
* generations will be affected too
|
853
|
+
*
|
854
|
+
* To unset the capture function,`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this
|
855
|
+
* method with a non-`null` argument while another capture function is set will
|
856
|
+
* throw an error.
|
857
|
+
*
|
858
|
+
* Using this function is mutually exclusive with using the deprecated `domain` built-in module.
|
859
|
+
* @since v9.3.0
|
860
|
+
*/
|
861
|
+
setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void;
|
862
|
+
/**
|
863
|
+
* Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}.
|
864
|
+
* @since v9.3.0
|
865
|
+
*/
|
866
|
+
hasUncaughtExceptionCaptureCallback(): boolean;
|
867
|
+
/**
|
868
|
+
* The `process.version` property contains the Node.js version string.
|
869
|
+
*
|
870
|
+
* ```js
|
871
|
+
* import { version } from 'process';
|
872
|
+
*
|
873
|
+
* console.log(`Version: ${version}`);
|
874
|
+
* // Version: v14.8.0
|
875
|
+
* ```
|
876
|
+
*
|
877
|
+
* To get the version string without the prepended _v_, use`process.versions.node`.
|
878
|
+
* @since v0.1.3
|
879
|
+
*/
|
880
|
+
readonly version: string;
|
881
|
+
/**
|
882
|
+
* The `process.versions` property returns an object listing the version strings of
|
883
|
+
* Node.js and its dependencies. `process.versions.modules` indicates the current
|
884
|
+
* ABI version, which is increased whenever a C++ API changes. Node.js will refuse
|
885
|
+
* to load modules that were compiled against a different module ABI version.
|
886
|
+
*
|
887
|
+
* ```js
|
888
|
+
* import { versions } from 'process';
|
889
|
+
*
|
890
|
+
* console.log(versions);
|
891
|
+
* ```
|
892
|
+
*
|
893
|
+
* Will generate an object similar to:
|
894
|
+
*
|
895
|
+
* ```console
|
896
|
+
* { node: '11.13.0',
|
897
|
+
* v8: '7.0.276.38-node.18',
|
898
|
+
* uv: '1.27.0',
|
899
|
+
* zlib: '1.2.11',
|
900
|
+
* brotli: '1.0.7',
|
901
|
+
* ares: '1.15.0',
|
902
|
+
* modules: '67',
|
903
|
+
* nghttp2: '1.34.0',
|
904
|
+
* napi: '4',
|
905
|
+
* llhttp: '1.1.1',
|
906
|
+
* openssl: '1.1.1b',
|
907
|
+
* cldr: '34.0',
|
908
|
+
* icu: '63.1',
|
909
|
+
* tz: '2018e',
|
910
|
+
* unicode: '11.0' }
|
911
|
+
* ```
|
912
|
+
* @since v0.2.0
|
913
|
+
*/
|
914
|
+
readonly versions: ProcessVersions;
|
915
|
+
/**
|
916
|
+
* The `process.config` property returns an `Object` containing the JavaScript
|
917
|
+
* representation of the configure options used to compile the current Node.js
|
918
|
+
* executable. This is the same as the `config.gypi` file that was produced when
|
919
|
+
* running the `./configure` script.
|
920
|
+
*
|
921
|
+
* An example of the possible output looks like:
|
922
|
+
*
|
923
|
+
* ```js
|
924
|
+
* {
|
925
|
+
* target_defaults:
|
926
|
+
* { cflags: [],
|
927
|
+
* default_configuration: 'Release',
|
928
|
+
* defines: [],
|
929
|
+
* include_dirs: [],
|
930
|
+
* libraries: [] },
|
931
|
+
* variables:
|
932
|
+
* {
|
933
|
+
* host_arch: 'x64',
|
934
|
+
* napi_build_version: 5,
|
935
|
+
* node_install_npm: 'true',
|
936
|
+
* node_prefix: '',
|
937
|
+
* node_shared_cares: 'false',
|
938
|
+
* node_shared_http_parser: 'false',
|
939
|
+
* node_shared_libuv: 'false',
|
940
|
+
* node_shared_zlib: 'false',
|
941
|
+
* node_use_dtrace: 'false',
|
942
|
+
* node_use_openssl: 'true',
|
943
|
+
* node_shared_openssl: 'false',
|
944
|
+
* strict_aliasing: 'true',
|
945
|
+
* target_arch: 'x64',
|
946
|
+
* v8_use_snapshot: 1
|
947
|
+
* }
|
948
|
+
* }
|
949
|
+
* ```
|
950
|
+
*
|
951
|
+
* The `process.config` property is **not** read-only and there are existing
|
952
|
+
* modules in the ecosystem that are known to extend, modify, or entirely replace
|
953
|
+
* the value of `process.config`.
|
954
|
+
*
|
955
|
+
* Modifying the `process.config` property, or any child-property of the`process.config` object has been deprecated. The `process.config` will be made
|
956
|
+
* read-only in a future release.
|
957
|
+
* @since v0.7.7
|
958
|
+
*/
|
959
|
+
readonly config: ProcessConfig;
|
960
|
+
/**
|
961
|
+
* The `process.kill()` method sends the `signal` to the process identified by`pid`.
|
962
|
+
*
|
963
|
+
* Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information.
|
964
|
+
*
|
965
|
+
* This method will throw an error if the target `pid` does not exist. As a special
|
966
|
+
* case, a signal of `0` can be used to test for the existence of a process.
|
967
|
+
* Windows platforms will throw an error if the `pid` is used to kill a process
|
968
|
+
* group.
|
969
|
+
*
|
970
|
+
* Even though the name of this function is `process.kill()`, it is really just a
|
971
|
+
* signal sender, like the `kill` system call. The signal sent may do something
|
972
|
+
* other than kill the target process.
|
973
|
+
*
|
974
|
+
* ```js
|
975
|
+
* import process, { kill } from 'process';
|
976
|
+
*
|
977
|
+
* process.on('SIGHUP', () => {
|
978
|
+
* console.log('Got SIGHUP signal.');
|
979
|
+
* });
|
980
|
+
*
|
981
|
+
* setTimeout(() => {
|
982
|
+
* console.log('Exiting.');
|
983
|
+
* process.exit(0);
|
984
|
+
* }, 100);
|
985
|
+
*
|
986
|
+
* kill(process.pid, 'SIGHUP');
|
987
|
+
* ```
|
988
|
+
*
|
989
|
+
* When `SIGUSR1` is received by a Node.js process, Node.js will start the
|
990
|
+
* debugger. See `Signal Events`.
|
991
|
+
* @since v0.0.6
|
992
|
+
* @param pid A process ID
|
993
|
+
* @param [signal='SIGTERM'] The signal to send, either as a string or number.
|
994
|
+
*/
|
995
|
+
kill(pid: number, signal?: string | number): true;
|
996
|
+
/**
|
997
|
+
* The `process.pid` property returns the PID of the process.
|
998
|
+
*
|
999
|
+
* ```js
|
1000
|
+
* import { pid } from 'process';
|
1001
|
+
*
|
1002
|
+
* console.log(`This process is pid ${pid}`);
|
1003
|
+
* ```
|
1004
|
+
* @since v0.1.15
|
1005
|
+
*/
|
1006
|
+
readonly pid: number;
|
1007
|
+
/**
|
1008
|
+
* The `process.ppid` property returns the PID of the parent of the
|
1009
|
+
* current process.
|
1010
|
+
*
|
1011
|
+
* ```js
|
1012
|
+
* import { ppid } from 'process';
|
1013
|
+
*
|
1014
|
+
* console.log(`The parent process is pid ${ppid}`);
|
1015
|
+
* ```
|
1016
|
+
* @since v9.2.0, v8.10.0, v6.13.0
|
1017
|
+
*/
|
1018
|
+
readonly ppid: number;
|
1019
|
+
/**
|
1020
|
+
* The `process.title` property returns the current process title (i.e. returns
|
1021
|
+
* the current value of `ps`). Assigning a new value to `process.title` modifies
|
1022
|
+
* the current value of `ps`.
|
1023
|
+
*
|
1024
|
+
* When a new value is assigned, different platforms will impose different maximum
|
1025
|
+
* length restrictions on the title. Usually such restrictions are quite limited.
|
1026
|
+
* For instance, on Linux and macOS, `process.title` is limited to the size of the
|
1027
|
+
* binary name plus the length of the command-line arguments because setting the`process.title` overwrites the `argv` memory of the process. Node.js v0.8
|
1028
|
+
* allowed for longer process title strings by also overwriting the `environ`memory but that was potentially insecure and confusing in some (rather obscure)
|
1029
|
+
* cases.
|
1030
|
+
*
|
1031
|
+
* Assigning a value to `process.title` might not result in an accurate label
|
1032
|
+
* within process manager applications such as macOS Activity Monitor or Windows
|
1033
|
+
* Services Manager.
|
1034
|
+
* @since v0.1.104
|
1035
|
+
*/
|
1036
|
+
title: string;
|
1037
|
+
/**
|
1038
|
+
* The operating system CPU architecture for which the Node.js binary was compiled.
|
1039
|
+
* Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`,`'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
|
1040
|
+
*
|
1041
|
+
* ```js
|
1042
|
+
* import { arch } from 'process';
|
1043
|
+
*
|
1044
|
+
* console.log(`This processor architecture is ${arch}`);
|
1045
|
+
* ```
|
1046
|
+
* @since v0.5.0
|
1047
|
+
*/
|
1048
|
+
readonly arch: string;
|
1049
|
+
/**
|
1050
|
+
* The `process.platform` property returns a string identifying the operating
|
1051
|
+
* system platform on which the Node.js process is running.
|
1052
|
+
*
|
1053
|
+
* Currently possible values are:
|
1054
|
+
*
|
1055
|
+
* * `'aix'`
|
1056
|
+
* * `'darwin'`
|
1057
|
+
* * `'freebsd'`
|
1058
|
+
* * `'linux'`
|
1059
|
+
* * `'openbsd'`
|
1060
|
+
* * `'sunos'`
|
1061
|
+
* * `'win32'`
|
1062
|
+
*
|
1063
|
+
* ```js
|
1064
|
+
* import { platform } from 'process';
|
1065
|
+
*
|
1066
|
+
* console.log(`This platform is ${platform}`);
|
1067
|
+
* ```
|
1068
|
+
*
|
1069
|
+
* The value `'android'` may also be returned if the Node.js is built on the
|
1070
|
+
* Android operating system. However, Android support in Node.js[is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
|
1071
|
+
* @since v0.1.16
|
1072
|
+
*/
|
1073
|
+
readonly platform: Platform;
|
1074
|
+
/**
|
1075
|
+
* The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at
|
1076
|
+
* runtime, `require.main` may still refer to the original main module in
|
1077
|
+
* modules that were required before the change occurred. Generally, it's
|
1078
|
+
* safe to assume that the two refer to the same module.
|
1079
|
+
*
|
1080
|
+
* As with `require.main`, `process.mainModule` will be `undefined` if there
|
1081
|
+
* is no entry script.
|
1082
|
+
* @since v0.1.17
|
1083
|
+
* @deprecated Since v14.0.0 - Use `main` instead.
|
1084
|
+
*/
|
1085
|
+
mainModule?: Module | undefined;
|
1086
|
+
memoryUsage: MemoryUsageFn;
|
1087
|
+
/**
|
1088
|
+
* The `process.cpuUsage()` method returns the user and system CPU time usage of
|
1089
|
+
* the current process, in an object with properties `user` and `system`, whose
|
1090
|
+
* values are microsecond values (millionth of a second). These values measure time
|
1091
|
+
* spent in user and system code respectively, and may end up being greater than
|
1092
|
+
* actual elapsed time if multiple CPU cores are performing work for this process.
|
1093
|
+
*
|
1094
|
+
* The result of a previous call to `process.cpuUsage()` can be passed as the
|
1095
|
+
* argument to the function, to get a diff reading.
|
1096
|
+
*
|
1097
|
+
* ```js
|
1098
|
+
* import { cpuUsage } from 'process';
|
1099
|
+
*
|
1100
|
+
* const startUsage = cpuUsage();
|
1101
|
+
* // { user: 38579, system: 6986 }
|
1102
|
+
*
|
1103
|
+
* // spin the CPU for 500 milliseconds
|
1104
|
+
* const now = Date.now();
|
1105
|
+
* while (Date.now() - now < 500);
|
1106
|
+
*
|
1107
|
+
* console.log(cpuUsage(startUsage));
|
1108
|
+
* // { user: 514883, system: 11226 }
|
1109
|
+
* ```
|
1110
|
+
* @since v6.1.0
|
1111
|
+
* @param previousValue A previous return value from calling `process.cpuUsage()`
|
1112
|
+
*/
|
1113
|
+
cpuUsage(previousValue?: CpuUsage): CpuUsage;
|
1114
|
+
/**
|
1115
|
+
* `process.nextTick()` adds `callback` to the "next tick queue". This queue is
|
1116
|
+
* fully drained after the current operation on the JavaScript stack runs to
|
1117
|
+
* completion and before the event loop is allowed to continue. It's possible to
|
1118
|
+
* create an infinite loop if one were to recursively call `process.nextTick()`.
|
1119
|
+
* See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background.
|
1120
|
+
*
|
1121
|
+
* ```js
|
1122
|
+
* import { nextTick } from 'process';
|
1123
|
+
*
|
1124
|
+
* console.log('start');
|
1125
|
+
* nextTick(() => {
|
1126
|
+
* console.log('nextTick callback');
|
1127
|
+
* });
|
1128
|
+
* console.log('scheduled');
|
1129
|
+
* // Output:
|
1130
|
+
* // start
|
1131
|
+
* // scheduled
|
1132
|
+
* // nextTick callback
|
1133
|
+
* ```
|
1134
|
+
*
|
1135
|
+
* This is important when developing APIs in order to give users the opportunity
|
1136
|
+
* to assign event handlers _after_ an object has been constructed but before any
|
1137
|
+
* I/O has occurred:
|
1138
|
+
*
|
1139
|
+
* ```js
|
1140
|
+
* import { nextTick } from 'process';
|
1141
|
+
*
|
1142
|
+
* function MyThing(options) {
|
1143
|
+
* this.setupOptions(options);
|
1144
|
+
*
|
1145
|
+
* nextTick(() => {
|
1146
|
+
* this.startDoingStuff();
|
1147
|
+
* });
|
1148
|
+
* }
|
1149
|
+
*
|
1150
|
+
* const thing = new MyThing();
|
1151
|
+
* thing.getReadyForStuff();
|
1152
|
+
*
|
1153
|
+
* // thing.startDoingStuff() gets called now, not before.
|
1154
|
+
* ```
|
1155
|
+
*
|
1156
|
+
* It is very important for APIs to be either 100% synchronous or 100%
|
1157
|
+
* asynchronous. Consider this example:
|
1158
|
+
*
|
1159
|
+
* ```js
|
1160
|
+
* // WARNING! DO NOT USE! BAD UNSAFE HAZARD!
|
1161
|
+
* function maybeSync(arg, cb) {
|
1162
|
+
* if (arg) {
|
1163
|
+
* cb();
|
1164
|
+
* return;
|
1165
|
+
* }
|
1166
|
+
*
|
1167
|
+
* fs.stat('file', cb);
|
1168
|
+
* }
|
1169
|
+
* ```
|
1170
|
+
*
|
1171
|
+
* This API is hazardous because in the following case:
|
1172
|
+
*
|
1173
|
+
* ```js
|
1174
|
+
* const maybeTrue = Math.random() > 0.5;
|
1175
|
+
*
|
1176
|
+
* maybeSync(maybeTrue, () => {
|
1177
|
+
* foo();
|
1178
|
+
* });
|
1179
|
+
*
|
1180
|
+
* bar();
|
1181
|
+
* ```
|
1182
|
+
*
|
1183
|
+
* It is not clear whether `foo()` or `bar()` will be called first.
|
1184
|
+
*
|
1185
|
+
* The following approach is much better:
|
1186
|
+
*
|
1187
|
+
* ```js
|
1188
|
+
* import { nextTick } from 'process';
|
1189
|
+
*
|
1190
|
+
* function definitelyAsync(arg, cb) {
|
1191
|
+
* if (arg) {
|
1192
|
+
* nextTick(cb);
|
1193
|
+
* return;
|
1194
|
+
* }
|
1195
|
+
*
|
1196
|
+
* fs.stat('file', cb);
|
1197
|
+
* }
|
1198
|
+
* ```
|
1199
|
+
* @since v0.1.26
|
1200
|
+
* @param args Additional arguments to pass when invoking the `callback`
|
1201
|
+
*/
|
1202
|
+
nextTick(callback: Function, ...args: any[]): void;
|
1203
|
+
/**
|
1204
|
+
* The `process.release` property returns an `Object` containing metadata related
|
1205
|
+
* to the current release, including URLs for the source tarball and headers-only
|
1206
|
+
* tarball.
|
1207
|
+
*
|
1208
|
+
* `process.release` contains the following properties:
|
1209
|
+
*
|
1210
|
+
* ```js
|
1211
|
+
* {
|
1212
|
+
* name: 'node',
|
1213
|
+
* lts: 'Erbium',
|
1214
|
+
* sourceUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1.tar.gz',
|
1215
|
+
* headersUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1-headers.tar.gz',
|
1216
|
+
* libUrl: 'https://nodejs.org/download/release/v12.18.1/win-x64/node.lib'
|
1217
|
+
* }
|
1218
|
+
* ```
|
1219
|
+
*
|
1220
|
+
* In custom builds from non-release versions of the source tree, only the`name` property may be present. The additional properties should not be
|
1221
|
+
* relied upon to exist.
|
1222
|
+
* @since v3.0.0
|
1223
|
+
*/
|
1224
|
+
readonly release: ProcessRelease;
|
1225
|
+
features: {
|
1226
|
+
inspector: boolean;
|
1227
|
+
debug: boolean;
|
1228
|
+
uv: boolean;
|
1229
|
+
ipv6: boolean;
|
1230
|
+
tls_alpn: boolean;
|
1231
|
+
tls_sni: boolean;
|
1232
|
+
tls_ocsp: boolean;
|
1233
|
+
tls: boolean;
|
1234
|
+
};
|
1235
|
+
/**
|
1236
|
+
* `process.umask()` returns the Node.js process's file mode creation mask. Child
|
1237
|
+
* processes inherit the mask from the parent process.
|
1238
|
+
* @since v0.1.19
|
1239
|
+
* @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential *
|
1240
|
+
* security vulnerability. There is no safe, cross-platform alternative API.
|
1241
|
+
*/
|
1242
|
+
umask(): number;
|
1243
|
+
/**
|
1244
|
+
* Can only be set if not in worker thread.
|
1245
|
+
*/
|
1246
|
+
umask(mask: string | number): number;
|
1247
|
+
/**
|
1248
|
+
* The `process.uptime()` method returns the number of seconds the current Node.js
|
1249
|
+
* process has been running.
|
1250
|
+
*
|
1251
|
+
* The return value includes fractions of a second. Use `Math.floor()` to get whole
|
1252
|
+
* seconds.
|
1253
|
+
* @since v0.5.0
|
1254
|
+
*/
|
1255
|
+
uptime(): number;
|
1256
|
+
hrtime: HRTime;
|
1257
|
+
/**
|
1258
|
+
* If Node.js is spawned with an IPC channel, the `process.send()` method can be
|
1259
|
+
* used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
|
1260
|
+
*
|
1261
|
+
* If Node.js was not spawned with an IPC channel, `process.send` will be`undefined`.
|
1262
|
+
*
|
1263
|
+
* The message goes through serialization and parsing. The resulting message might
|
1264
|
+
* not be the same as what is originally sent.
|
1265
|
+
* @since v0.5.9
|
1266
|
+
* @param options used to parameterize the sending of certain types of handles.`options` supports the following properties:
|
1267
|
+
*/
|
1268
|
+
send?(
|
1269
|
+
message: any,
|
1270
|
+
sendHandle?: any,
|
1271
|
+
options?: {
|
1272
|
+
swallowErrors?: boolean | undefined;
|
1273
|
+
},
|
1274
|
+
callback?: (error: Error | null) => void
|
1275
|
+
): boolean;
|
1276
|
+
/**
|
1277
|
+
* If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the
|
1278
|
+
* IPC channel to the parent process, allowing the child process to exit gracefully
|
1279
|
+
* once there are no other connections keeping it alive.
|
1280
|
+
*
|
1281
|
+
* The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process.
|
1282
|
+
*
|
1283
|
+
* If the Node.js process was not spawned with an IPC channel,`process.disconnect()` will be `undefined`.
|
1284
|
+
* @since v0.7.2
|
1285
|
+
*/
|
1286
|
+
disconnect(): void;
|
1287
|
+
/**
|
1288
|
+
* If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return`true` so long as the IPC
|
1289
|
+
* channel is connected and will return `false` after`process.disconnect()` is called.
|
1290
|
+
*
|
1291
|
+
* Once `process.connected` is `false`, it is no longer possible to send messages
|
1292
|
+
* over the IPC channel using `process.send()`.
|
1293
|
+
* @since v0.7.2
|
1294
|
+
*/
|
1295
|
+
connected: boolean;
|
1296
|
+
/**
|
1297
|
+
* The `process.allowedNodeEnvironmentFlags` property is a special,
|
1298
|
+
* read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable.
|
1299
|
+
*
|
1300
|
+
* `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides`Set.prototype.has` to recognize several different possible flag
|
1301
|
+
* representations. `process.allowedNodeEnvironmentFlags.has()` will
|
1302
|
+
* return `true` in the following cases:
|
1303
|
+
*
|
1304
|
+
* * Flags may omit leading single (`-`) or double (`--`) dashes; e.g.,`inspect-brk` for `--inspect-brk`, or `r` for `-r`.
|
1305
|
+
* * Flags passed through to V8 (as listed in `--v8-options`) may replace
|
1306
|
+
* one or more _non-leading_ dashes for an underscore, or vice-versa;
|
1307
|
+
* e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`,
|
1308
|
+
* etc.
|
1309
|
+
* * Flags may contain one or more equals (`=`) characters; all
|
1310
|
+
* characters after and including the first equals will be ignored;
|
1311
|
+
* e.g., `--stack-trace-limit=100`.
|
1312
|
+
* * Flags _must_ be allowable within `NODE_OPTIONS`.
|
1313
|
+
*
|
1314
|
+
* When iterating over `process.allowedNodeEnvironmentFlags`, flags will
|
1315
|
+
* appear only _once_; each will begin with one or more dashes. Flags
|
1316
|
+
* passed through to V8 will contain underscores instead of non-leading
|
1317
|
+
* dashes:
|
1318
|
+
*
|
1319
|
+
* ```js
|
1320
|
+
* import { allowedNodeEnvironmentFlags } from 'process';
|
1321
|
+
*
|
1322
|
+
* allowedNodeEnvironmentFlags.forEach((flag) => {
|
1323
|
+
* // -r
|
1324
|
+
* // --inspect-brk
|
1325
|
+
* // --abort_on_uncaught_exception
|
1326
|
+
* // ...
|
1327
|
+
* });
|
1328
|
+
* ```
|
1329
|
+
*
|
1330
|
+
* The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail
|
1331
|
+
* silently.
|
1332
|
+
*
|
1333
|
+
* If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will
|
1334
|
+
* contain what _would have_ been allowable.
|
1335
|
+
* @since v10.10.0
|
1336
|
+
*/
|
1337
|
+
allowedNodeEnvironmentFlags: ReadonlySet<string>;
|
1338
|
+
/**
|
1339
|
+
* `process.report` is an object whose methods are used to generate diagnostic
|
1340
|
+
* reports for the current process. Additional documentation is available in the `report documentation`.
|
1341
|
+
* @since v11.8.0
|
1342
|
+
*/
|
1343
|
+
report?: ProcessReport | undefined;
|
1344
|
+
/**
|
1345
|
+
* ```js
|
1346
|
+
* import { resourceUsage } from 'process';
|
1347
|
+
*
|
1348
|
+
* console.log(resourceUsage());
|
1349
|
+
* /*
|
1350
|
+
* Will output:
|
1351
|
+
* {
|
1352
|
+
* userCPUTime: 82872,
|
1353
|
+
* systemCPUTime: 4143,
|
1354
|
+
* maxRSS: 33164,
|
1355
|
+
* sharedMemorySize: 0,
|
1356
|
+
* unsharedDataSize: 0,
|
1357
|
+
* unsharedStackSize: 0,
|
1358
|
+
* minorPageFault: 2469,
|
1359
|
+
* majorPageFault: 0,
|
1360
|
+
* swappedOut: 0,
|
1361
|
+
* fsRead: 0,
|
1362
|
+
* fsWrite: 8,
|
1363
|
+
* ipcSent: 0,
|
1364
|
+
* ipcReceived: 0,
|
1365
|
+
* signalsCount: 0,
|
1366
|
+
* voluntaryContextSwitches: 79,
|
1367
|
+
* involuntaryContextSwitches: 1
|
1368
|
+
* }
|
1369
|
+
*
|
1370
|
+
* ```
|
1371
|
+
* @since v12.6.0
|
1372
|
+
* @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t].
|
1373
|
+
*/
|
1374
|
+
resourceUsage(): ResourceUsage;
|
1375
|
+
/**
|
1376
|
+
* The `process.traceDeprecation` property indicates whether the`--trace-deprecation` flag is set on the current Node.js process. See the
|
1377
|
+
* documentation for the `'warning' event` and the `emitWarning() method` for more information about this
|
1378
|
+
* flag's behavior.
|
1379
|
+
* @since v0.8.0
|
1380
|
+
*/
|
1381
|
+
traceDeprecation: boolean;
|
1382
|
+
/* EventEmitter */
|
1383
|
+
addListener(event: 'beforeExit', listener: BeforeExitListener): this;
|
1384
|
+
addListener(event: 'disconnect', listener: DisconnectListener): this;
|
1385
|
+
addListener(event: 'exit', listener: ExitListener): this;
|
1386
|
+
addListener(event: 'rejectionHandled', listener: RejectionHandledListener): this;
|
1387
|
+
addListener(event: 'uncaughtException', listener: UncaughtExceptionListener): this;
|
1388
|
+
addListener(event: 'uncaughtExceptionMonitor', listener: UncaughtExceptionListener): this;
|
1389
|
+
addListener(event: 'unhandledRejection', listener: UnhandledRejectionListener): this;
|
1390
|
+
addListener(event: 'warning', listener: WarningListener): this;
|
1391
|
+
addListener(event: 'message', listener: MessageListener): this;
|
1392
|
+
addListener(event: Signals, listener: SignalsListener): this;
|
1393
|
+
addListener(event: 'multipleResolves', listener: MultipleResolveListener): this;
|
1394
|
+
addListener(event: 'worker', listener: WorkerListener): this;
|
1395
|
+
emit(event: 'beforeExit', code: number): boolean;
|
1396
|
+
emit(event: 'disconnect'): boolean;
|
1397
|
+
emit(event: 'exit', code: number): boolean;
|
1398
|
+
emit(event: 'rejectionHandled', promise: Promise<unknown>): boolean;
|
1399
|
+
emit(event: 'uncaughtException', error: Error): boolean;
|
1400
|
+
emit(event: 'uncaughtExceptionMonitor', error: Error): boolean;
|
1401
|
+
emit(event: 'unhandledRejection', reason: unknown, promise: Promise<unknown>): boolean;
|
1402
|
+
emit(event: 'warning', warning: Error): boolean;
|
1403
|
+
emit(event: 'message', message: unknown, sendHandle: unknown): this;
|
1404
|
+
emit(event: Signals, signal: Signals): boolean;
|
1405
|
+
emit(event: 'multipleResolves', type: MultipleResolveType, promise: Promise<unknown>, value: unknown): this;
|
1406
|
+
emit(event: 'worker', listener: WorkerListener): this;
|
1407
|
+
on(event: 'beforeExit', listener: BeforeExitListener): this;
|
1408
|
+
on(event: 'disconnect', listener: DisconnectListener): this;
|
1409
|
+
on(event: 'exit', listener: ExitListener): this;
|
1410
|
+
on(event: 'rejectionHandled', listener: RejectionHandledListener): this;
|
1411
|
+
on(event: 'uncaughtException', listener: UncaughtExceptionListener): this;
|
1412
|
+
on(event: 'uncaughtExceptionMonitor', listener: UncaughtExceptionListener): this;
|
1413
|
+
on(event: 'unhandledRejection', listener: UnhandledRejectionListener): this;
|
1414
|
+
on(event: 'warning', listener: WarningListener): this;
|
1415
|
+
on(event: 'message', listener: MessageListener): this;
|
1416
|
+
on(event: Signals, listener: SignalsListener): this;
|
1417
|
+
on(event: 'multipleResolves', listener: MultipleResolveListener): this;
|
1418
|
+
on(event: 'worker', listener: WorkerListener): this;
|
1419
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1420
|
+
once(event: 'beforeExit', listener: BeforeExitListener): this;
|
1421
|
+
once(event: 'disconnect', listener: DisconnectListener): this;
|
1422
|
+
once(event: 'exit', listener: ExitListener): this;
|
1423
|
+
once(event: 'rejectionHandled', listener: RejectionHandledListener): this;
|
1424
|
+
once(event: 'uncaughtException', listener: UncaughtExceptionListener): this;
|
1425
|
+
once(event: 'uncaughtExceptionMonitor', listener: UncaughtExceptionListener): this;
|
1426
|
+
once(event: 'unhandledRejection', listener: UnhandledRejectionListener): this;
|
1427
|
+
once(event: 'warning', listener: WarningListener): this;
|
1428
|
+
once(event: 'message', listener: MessageListener): this;
|
1429
|
+
once(event: Signals, listener: SignalsListener): this;
|
1430
|
+
once(event: 'multipleResolves', listener: MultipleResolveListener): this;
|
1431
|
+
once(event: 'worker', listener: WorkerListener): this;
|
1432
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1433
|
+
prependListener(event: 'beforeExit', listener: BeforeExitListener): this;
|
1434
|
+
prependListener(event: 'disconnect', listener: DisconnectListener): this;
|
1435
|
+
prependListener(event: 'exit', listener: ExitListener): this;
|
1436
|
+
prependListener(event: 'rejectionHandled', listener: RejectionHandledListener): this;
|
1437
|
+
prependListener(event: 'uncaughtException', listener: UncaughtExceptionListener): this;
|
1438
|
+
prependListener(event: 'uncaughtExceptionMonitor', listener: UncaughtExceptionListener): this;
|
1439
|
+
prependListener(event: 'unhandledRejection', listener: UnhandledRejectionListener): this;
|
1440
|
+
prependListener(event: 'warning', listener: WarningListener): this;
|
1441
|
+
prependListener(event: 'message', listener: MessageListener): this;
|
1442
|
+
prependListener(event: Signals, listener: SignalsListener): this;
|
1443
|
+
prependListener(event: 'multipleResolves', listener: MultipleResolveListener): this;
|
1444
|
+
prependListener(event: 'worker', listener: WorkerListener): this;
|
1445
|
+
prependOnceListener(event: 'beforeExit', listener: BeforeExitListener): this;
|
1446
|
+
prependOnceListener(event: 'disconnect', listener: DisconnectListener): this;
|
1447
|
+
prependOnceListener(event: 'exit', listener: ExitListener): this;
|
1448
|
+
prependOnceListener(event: 'rejectionHandled', listener: RejectionHandledListener): this;
|
1449
|
+
prependOnceListener(event: 'uncaughtException', listener: UncaughtExceptionListener): this;
|
1450
|
+
prependOnceListener(event: 'uncaughtExceptionMonitor', listener: UncaughtExceptionListener): this;
|
1451
|
+
prependOnceListener(event: 'unhandledRejection', listener: UnhandledRejectionListener): this;
|
1452
|
+
prependOnceListener(event: 'warning', listener: WarningListener): this;
|
1453
|
+
prependOnceListener(event: 'message', listener: MessageListener): this;
|
1454
|
+
prependOnceListener(event: Signals, listener: SignalsListener): this;
|
1455
|
+
prependOnceListener(event: 'multipleResolves', listener: MultipleResolveListener): this;
|
1456
|
+
prependOnceListener(event: 'worker', listener: WorkerListener): this;
|
1457
|
+
listeners(event: 'beforeExit'): BeforeExitListener[];
|
1458
|
+
listeners(event: 'disconnect'): DisconnectListener[];
|
1459
|
+
listeners(event: 'exit'): ExitListener[];
|
1460
|
+
listeners(event: 'rejectionHandled'): RejectionHandledListener[];
|
1461
|
+
listeners(event: 'uncaughtException'): UncaughtExceptionListener[];
|
1462
|
+
listeners(event: 'uncaughtExceptionMonitor'): UncaughtExceptionListener[];
|
1463
|
+
listeners(event: 'unhandledRejection'): UnhandledRejectionListener[];
|
1464
|
+
listeners(event: 'warning'): WarningListener[];
|
1465
|
+
listeners(event: 'message'): MessageListener[];
|
1466
|
+
listeners(event: Signals): SignalsListener[];
|
1467
|
+
listeners(event: 'multipleResolves'): MultipleResolveListener[];
|
1468
|
+
listeners(event: 'worker'): WorkerListener[];
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
}
|
1472
|
+
export = process;
|
1473
|
+
}
|
1474
|
+
declare module 'node:process' {
|
1475
|
+
import process = require('process');
|
1476
|
+
export = process;
|
1477
|
+
}
|