isomorfeus-puppetmaster 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/node_modules/.package-lock.json +56 -45
- data/node_modules/debug/package.json +1 -1
- data/node_modules/debug/src/common.js +14 -1
- data/node_modules/{mkdirp → mkdirp-classic}/LICENSE +2 -2
- data/node_modules/mkdirp-classic/README.md +18 -0
- data/node_modules/{mkdirp → mkdirp-classic}/index.js +2 -3
- data/node_modules/mkdirp-classic/package.json +18 -0
- data/node_modules/node-fetch/lib/index.es.js +25 -3
- data/node_modules/node-fetch/lib/index.js +25 -3
- data/node_modules/node-fetch/lib/index.mjs +25 -3
- data/node_modules/node-fetch/package.json +8 -6
- data/node_modules/progress/lib/node-progress.js +4 -3
- data/node_modules/progress/package.json +1 -1
- data/node_modules/puppeteer-core/CHANGELOG.md +29 -0
- data/node_modules/puppeteer-core/README.md +12 -14
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +2 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +13 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +7 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +25 -7
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +6 -6
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +16 -12
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +10 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +9 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +8 -8
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +21 -9
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +155 -72
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +32 -29
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +14 -4
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +2 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +3 -4
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +3 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +13 -12
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +2 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +33 -4
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +92 -46
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +5 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +3 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +30 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +5 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +14 -14
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +11 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +4 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +30 -15
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +2 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +9 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +7 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +22 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +6 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +10 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +7 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +21 -9
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +150 -67
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +22 -19
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +14 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +2 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +2 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +3 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +2 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +1 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +33 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +69 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +3 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +26 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +7 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +4 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +27 -12
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/types.d.ts +3848 -3757
- data/node_modules/puppeteer-core/package.json +33 -40
- data/node_modules/tar-fs/.travis.yml +2 -1
- data/node_modules/tar-fs/README.md +4 -2
- data/node_modules/tar-fs/index.js +11 -8
- data/node_modules/tar-fs/package.json +4 -4
- data/node_modules/tar-fs/test/index.js +1 -1
- data/node_modules/tr46/.npmignore +4 -0
- data/node_modules/tr46/index.js +193 -0
- data/node_modules/tr46/lib/.gitkeep +0 -0
- data/node_modules/tr46/lib/mappingTable.json +1 -0
- data/node_modules/tr46/package.json +31 -0
- data/node_modules/unbzip2-stream/README.md +1 -1
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -1
- data/node_modules/unbzip2-stream/index.js +3 -2
- data/node_modules/unbzip2-stream/lib/bzip2.js +4 -6
- data/node_modules/unbzip2-stream/package.json +1 -1
- data/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/webidl-conversions/README.md +53 -0
- data/node_modules/webidl-conversions/lib/index.js +189 -0
- data/node_modules/webidl-conversions/package.json +23 -0
- data/node_modules/whatwg-url/LICENSE.txt +21 -0
- data/node_modules/whatwg-url/README.md +67 -0
- data/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- data/node_modules/whatwg-url/lib/URL.js +196 -0
- data/node_modules/whatwg-url/lib/public-api.js +11 -0
- data/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- data/node_modules/whatwg-url/lib/utils.js +20 -0
- data/node_modules/whatwg-url/package.json +32 -0
- data/node_modules/ws/LICENSE +0 -2
- data/node_modules/ws/README.md +49 -52
- data/node_modules/ws/index.js +3 -0
- data/node_modules/ws/lib/buffer-util.js +3 -6
- data/node_modules/ws/lib/constants.js +3 -1
- data/node_modules/ws/lib/event-target.js +172 -90
- data/node_modules/ws/lib/extension.js +8 -28
- data/node_modules/ws/lib/permessage-deflate.js +10 -16
- data/node_modules/ws/lib/receiver.js +143 -38
- data/node_modules/ws/lib/sender.js +29 -12
- data/node_modules/ws/lib/stream.js +20 -5
- data/node_modules/ws/lib/subprotocol.js +62 -0
- data/node_modules/ws/lib/validation.js +28 -8
- data/node_modules/ws/lib/websocket-server.js +129 -62
- data/node_modules/ws/lib/websocket.js +311 -104
- data/node_modules/ws/package.json +10 -5
- data/node_modules/ws/wrapper.mjs +8 -0
- data/package.json +1 -1
- metadata +39 -39
- data/node_modules/.bin/mkdirp +0 -12
- data/node_modules/.bin/mkdirp.cmd +0 -17
- data/node_modules/.bin/mkdirp.ps1 +0 -28
- data/node_modules/minimist/.travis.yml +0 -8
- data/node_modules/minimist/LICENSE +0 -18
- data/node_modules/minimist/example/parse.js +0 -2
- data/node_modules/minimist/index.js +0 -245
- data/node_modules/minimist/package.json +0 -45
- data/node_modules/minimist/readme.markdown +0 -95
- data/node_modules/minimist/test/all_bool.js +0 -32
- data/node_modules/minimist/test/bool.js +0 -178
- data/node_modules/minimist/test/dash.js +0 -31
- data/node_modules/minimist/test/default_bool.js +0 -35
- data/node_modules/minimist/test/dotted.js +0 -22
- data/node_modules/minimist/test/kv_short.js +0 -16
- data/node_modules/minimist/test/long.js +0 -31
- data/node_modules/minimist/test/num.js +0 -36
- data/node_modules/minimist/test/parse.js +0 -197
- data/node_modules/minimist/test/parse_modified.js +0 -9
- data/node_modules/minimist/test/proto.js +0 -44
- data/node_modules/minimist/test/short.js +0 -67
- data/node_modules/minimist/test/stop_early.js +0 -15
- data/node_modules/minimist/test/unknown.js +0 -102
- data/node_modules/minimist/test/whitespace.js +0 -8
- data/node_modules/mkdirp/bin/cmd.js +0 -33
- data/node_modules/mkdirp/bin/usage.txt +0 -12
- data/node_modules/mkdirp/package.json +0 -34
- data/node_modules/mkdirp/readme.markdown +0 -100
- data/node_modules/node-fetch/CHANGELOG.md +0 -272
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3a4c981525c3a8381541a2c0d39e136912b48c806f3531e8fc154843df3d295
|
|
4
|
+
data.tar.gz: 660c1ba75a82c53d2dad7c1586b0630aca667daa9aab971172cbeed0faf657f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f94f1072bce9043e6eff190c0665ce76891f59e05c23577fb47f963661b2c864faeced4038da8e66458490ebc101dfbc7ac564cdc0f64ac38f0eada78960426
|
|
7
|
+
data.tar.gz: 53654204b887af7778dc5239b9e9961b2fdb44ad4560491e81e2d688c453a30411292868d1eb4f1df41088b68361b79dec37520739f5ec33f8d56b85a2b994b1
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
|
|
115
115
|
},
|
|
116
116
|
"node_modules/debug": {
|
|
117
|
-
"version": "4.3.
|
|
118
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
119
|
-
"integrity": "sha512-
|
|
117
|
+
"version": "4.3.2",
|
|
118
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
|
119
|
+
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
|
|
120
120
|
"dependencies": {
|
|
121
121
|
"ms": "2.1.2"
|
|
122
122
|
},
|
|
@@ -291,21 +291,10 @@
|
|
|
291
291
|
"node": "*"
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
|
-
"node_modules/
|
|
295
|
-
"version": "
|
|
296
|
-
"resolved": "https://registry.npmjs.org/
|
|
297
|
-
"integrity": "sha512-
|
|
298
|
-
},
|
|
299
|
-
"node_modules/mkdirp": {
|
|
300
|
-
"version": "0.5.5",
|
|
301
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
|
|
302
|
-
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
|
|
303
|
-
"dependencies": {
|
|
304
|
-
"minimist": "^1.2.5"
|
|
305
|
-
},
|
|
306
|
-
"bin": {
|
|
307
|
-
"mkdirp": "bin/cmd.js"
|
|
308
|
-
}
|
|
294
|
+
"node_modules/mkdirp-classic": {
|
|
295
|
+
"version": "0.5.3",
|
|
296
|
+
"resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
|
|
297
|
+
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
|
|
309
298
|
},
|
|
310
299
|
"node_modules/ms": {
|
|
311
300
|
"version": "2.1.2",
|
|
@@ -313,9 +302,12 @@
|
|
|
313
302
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
314
303
|
},
|
|
315
304
|
"node_modules/node-fetch": {
|
|
316
|
-
"version": "2.6.
|
|
317
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.
|
|
318
|
-
"integrity": "sha512-
|
|
305
|
+
"version": "2.6.5",
|
|
306
|
+
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz",
|
|
307
|
+
"integrity": "sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==",
|
|
308
|
+
"dependencies": {
|
|
309
|
+
"whatwg-url": "^5.0.0"
|
|
310
|
+
},
|
|
319
311
|
"engines": {
|
|
320
312
|
"node": "4.x || >=6.0.0"
|
|
321
313
|
}
|
|
@@ -394,9 +386,9 @@
|
|
|
394
386
|
}
|
|
395
387
|
},
|
|
396
388
|
"node_modules/progress": {
|
|
397
|
-
"version": "2.0.
|
|
398
|
-
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.
|
|
399
|
-
"integrity": "sha512-
|
|
389
|
+
"version": "2.0.3",
|
|
390
|
+
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
|
391
|
+
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
|
400
392
|
"engines": {
|
|
401
393
|
"node": ">=0.4.0"
|
|
402
394
|
}
|
|
@@ -416,22 +408,22 @@
|
|
|
416
408
|
}
|
|
417
409
|
},
|
|
418
410
|
"node_modules/puppeteer-core": {
|
|
419
|
-
"version": "
|
|
420
|
-
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-
|
|
421
|
-
"integrity": "sha512-
|
|
411
|
+
"version": "11.0.0",
|
|
412
|
+
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-11.0.0.tgz",
|
|
413
|
+
"integrity": "sha512-hfQ39KNP0qKplQ86iaCNXHH9zpWlV01UFdggt2qffgWeCBF9KMavwP/k/iK/JidPPWfOnKZhDLSHZVSUr73DtA==",
|
|
422
414
|
"dependencies": {
|
|
423
|
-
"debug": "4.3.
|
|
415
|
+
"debug": "4.3.2",
|
|
424
416
|
"devtools-protocol": "0.0.901419",
|
|
425
417
|
"extract-zip": "2.0.1",
|
|
426
418
|
"https-proxy-agent": "5.0.0",
|
|
427
|
-
"node-fetch": "2.6.
|
|
419
|
+
"node-fetch": "2.6.5",
|
|
428
420
|
"pkg-dir": "4.2.0",
|
|
429
|
-
"progress": "2.0.
|
|
421
|
+
"progress": "2.0.3",
|
|
430
422
|
"proxy-from-env": "1.1.0",
|
|
431
423
|
"rimraf": "3.0.2",
|
|
432
|
-
"tar-fs": "2.
|
|
433
|
-
"unbzip2-stream": "1.
|
|
434
|
-
"ws": "
|
|
424
|
+
"tar-fs": "2.1.1",
|
|
425
|
+
"unbzip2-stream": "1.4.3",
|
|
426
|
+
"ws": "8.2.3"
|
|
435
427
|
},
|
|
436
428
|
"engines": {
|
|
437
429
|
"node": ">=10.18.1"
|
|
@@ -492,14 +484,14 @@
|
|
|
492
484
|
}
|
|
493
485
|
},
|
|
494
486
|
"node_modules/tar-fs": {
|
|
495
|
-
"version": "2.
|
|
496
|
-
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.
|
|
497
|
-
"integrity": "sha512-
|
|
487
|
+
"version": "2.1.1",
|
|
488
|
+
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
|
|
489
|
+
"integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
|
|
498
490
|
"dependencies": {
|
|
499
491
|
"chownr": "^1.1.1",
|
|
500
|
-
"mkdirp": "^0.5.
|
|
492
|
+
"mkdirp-classic": "^0.5.2",
|
|
501
493
|
"pump": "^3.0.0",
|
|
502
|
-
"tar-stream": "^2.
|
|
494
|
+
"tar-stream": "^2.1.4"
|
|
503
495
|
}
|
|
504
496
|
},
|
|
505
497
|
"node_modules/tar-stream": {
|
|
@@ -522,10 +514,15 @@
|
|
|
522
514
|
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
|
|
523
515
|
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
|
|
524
516
|
},
|
|
517
|
+
"node_modules/tr46": {
|
|
518
|
+
"version": "0.0.3",
|
|
519
|
+
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
520
|
+
"integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
|
|
521
|
+
},
|
|
525
522
|
"node_modules/unbzip2-stream": {
|
|
526
|
-
"version": "1.
|
|
527
|
-
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.
|
|
528
|
-
"integrity": "sha512-
|
|
523
|
+
"version": "1.4.3",
|
|
524
|
+
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
|
|
525
|
+
"integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
|
|
529
526
|
"dependencies": {
|
|
530
527
|
"buffer": "^5.2.1",
|
|
531
528
|
"through": "^2.3.8"
|
|
@@ -536,17 +533,31 @@
|
|
|
536
533
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
537
534
|
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
|
|
538
535
|
},
|
|
536
|
+
"node_modules/webidl-conversions": {
|
|
537
|
+
"version": "3.0.1",
|
|
538
|
+
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
539
|
+
"integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
|
|
540
|
+
},
|
|
541
|
+
"node_modules/whatwg-url": {
|
|
542
|
+
"version": "5.0.0",
|
|
543
|
+
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
544
|
+
"integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
|
|
545
|
+
"dependencies": {
|
|
546
|
+
"tr46": "~0.0.3",
|
|
547
|
+
"webidl-conversions": "^3.0.0"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
539
550
|
"node_modules/wrappy": {
|
|
540
551
|
"version": "1.0.2",
|
|
541
552
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
542
553
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
|
543
554
|
},
|
|
544
555
|
"node_modules/ws": {
|
|
545
|
-
"version": "
|
|
546
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-
|
|
547
|
-
"integrity": "sha512-
|
|
556
|
+
"version": "8.2.3",
|
|
557
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz",
|
|
558
|
+
"integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==",
|
|
548
559
|
"engines": {
|
|
549
|
-
"node": ">=
|
|
560
|
+
"node": ">=10.0.0"
|
|
550
561
|
},
|
|
551
562
|
"peerDependencies": {
|
|
552
563
|
"bufferutil": "^4.0.1",
|
|
@@ -60,6 +60,8 @@ function setup(env) {
|
|
|
60
60
|
function createDebug(namespace) {
|
|
61
61
|
let prevTime;
|
|
62
62
|
let enableOverride = null;
|
|
63
|
+
let namespacesCache;
|
|
64
|
+
let enabledCache;
|
|
63
65
|
|
|
64
66
|
function debug(...args) {
|
|
65
67
|
// Disabled?
|
|
@@ -120,7 +122,17 @@ function setup(env) {
|
|
|
120
122
|
Object.defineProperty(debug, 'enabled', {
|
|
121
123
|
enumerable: true,
|
|
122
124
|
configurable: false,
|
|
123
|
-
get: () =>
|
|
125
|
+
get: () => {
|
|
126
|
+
if (enableOverride !== null) {
|
|
127
|
+
return enableOverride;
|
|
128
|
+
}
|
|
129
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
130
|
+
namespacesCache = createDebug.namespaces;
|
|
131
|
+
enabledCache = createDebug.enabled(namespace);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return enabledCache;
|
|
135
|
+
},
|
|
124
136
|
set: v => {
|
|
125
137
|
enableOverride = v;
|
|
126
138
|
}
|
|
@@ -149,6 +161,7 @@ function setup(env) {
|
|
|
149
161
|
*/
|
|
150
162
|
function enable(namespaces) {
|
|
151
163
|
createDebug.save(namespaces);
|
|
164
|
+
createDebug.namespaces = namespaces;
|
|
152
165
|
|
|
153
166
|
createDebug.names = [];
|
|
154
167
|
createDebug.skips = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2020 James Halliday (mail@substack.net) and Mathias Buus
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# mkdirp-classic
|
|
2
|
+
|
|
3
|
+
Just a non-deprecated mirror of [mkdirp 0.5.2](https://github.com/substack/node-mkdirp/tree/0.5.1)
|
|
4
|
+
for use in modules where we depend on the non promise interface.
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
npm install mkdirp-classic
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
``` js
|
|
13
|
+
// See the above link
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## License
|
|
17
|
+
|
|
18
|
+
MIT
|
|
@@ -17,7 +17,7 @@ function mkdirP (p, opts, f, made) {
|
|
|
17
17
|
var xfs = opts.fs || fs;
|
|
18
18
|
|
|
19
19
|
if (mode === undefined) {
|
|
20
|
-
mode = _0777
|
|
20
|
+
mode = _0777 & (~process.umask());
|
|
21
21
|
}
|
|
22
22
|
if (!made) made = null;
|
|
23
23
|
|
|
@@ -31,7 +31,6 @@ function mkdirP (p, opts, f, made) {
|
|
|
31
31
|
}
|
|
32
32
|
switch (er.code) {
|
|
33
33
|
case 'ENOENT':
|
|
34
|
-
if (path.dirname(p) === p) return cb(er);
|
|
35
34
|
mkdirP(path.dirname(p), opts, function (er, made) {
|
|
36
35
|
if (er) cb(er, made);
|
|
37
36
|
else mkdirP(p, opts, cb, made);
|
|
@@ -62,7 +61,7 @@ mkdirP.sync = function sync (p, opts, made) {
|
|
|
62
61
|
var xfs = opts.fs || fs;
|
|
63
62
|
|
|
64
63
|
if (mode === undefined) {
|
|
65
|
-
mode = _0777
|
|
64
|
+
mode = _0777 & (~process.umask());
|
|
66
65
|
}
|
|
67
66
|
if (!made) made = null;
|
|
68
67
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mkdirp-classic",
|
|
3
|
+
"version": "0.5.3",
|
|
4
|
+
"description": "Mirror of mkdirp 0.5.2",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"dependencies": {},
|
|
7
|
+
"devDependencies": {},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/mafintosh/mkdirp-classic.git"
|
|
11
|
+
},
|
|
12
|
+
"author": "Mathias Buus (@mafintosh)",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/mafintosh/mkdirp-classic/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/mafintosh/mkdirp-classic"
|
|
18
|
+
}
|
|
@@ -3,6 +3,7 @@ process.emitWarning("The .es.js file is deprecated. Use .mjs instead.");
|
|
|
3
3
|
import Stream from 'stream';
|
|
4
4
|
import http from 'http';
|
|
5
5
|
import Url from 'url';
|
|
6
|
+
import whatwgUrl from 'whatwg-url';
|
|
6
7
|
import https from 'https';
|
|
7
8
|
import zlib from 'zlib';
|
|
8
9
|
|
|
@@ -1137,11 +1138,32 @@ Object.defineProperty(Response.prototype, Symbol.toStringTag, {
|
|
|
1137
1138
|
});
|
|
1138
1139
|
|
|
1139
1140
|
const INTERNALS$2 = Symbol('Request internals');
|
|
1141
|
+
const URL = whatwgUrl.URL;
|
|
1140
1142
|
|
|
1141
1143
|
// fix an issue where "format", "parse" aren't a named export for node <10
|
|
1142
1144
|
const parse_url = Url.parse;
|
|
1143
1145
|
const format_url = Url.format;
|
|
1144
1146
|
|
|
1147
|
+
/**
|
|
1148
|
+
* Wrapper around `new URL` to handle arbitrary URLs
|
|
1149
|
+
*
|
|
1150
|
+
* @param {string} urlStr
|
|
1151
|
+
* @return {void}
|
|
1152
|
+
*/
|
|
1153
|
+
function parseURL(urlStr) {
|
|
1154
|
+
/*
|
|
1155
|
+
Check whether the URL is absolute or not
|
|
1156
|
+
Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
1157
|
+
Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
1158
|
+
*/
|
|
1159
|
+
if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) {
|
|
1160
|
+
urlStr = new URL(urlStr).toString();
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// Fallback to old implementation for arbitrary URLs
|
|
1164
|
+
return parse_url(urlStr);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1145
1167
|
const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
|
|
1146
1168
|
|
|
1147
1169
|
/**
|
|
@@ -1178,14 +1200,14 @@ class Request {
|
|
|
1178
1200
|
// in order to support Node.js' Url objects; though WHATWG's URL objects
|
|
1179
1201
|
// will fall into this branch also (since their `toString()` will return
|
|
1180
1202
|
// `href` property anyway)
|
|
1181
|
-
parsedURL =
|
|
1203
|
+
parsedURL = parseURL(input.href);
|
|
1182
1204
|
} else {
|
|
1183
1205
|
// coerce input to a string before attempting to parse
|
|
1184
|
-
parsedURL =
|
|
1206
|
+
parsedURL = parseURL(`${input}`);
|
|
1185
1207
|
}
|
|
1186
1208
|
input = {};
|
|
1187
1209
|
} else {
|
|
1188
|
-
parsedURL =
|
|
1210
|
+
parsedURL = parseURL(input.url);
|
|
1189
1211
|
}
|
|
1190
1212
|
|
|
1191
1213
|
let method = init.method || input.method || 'GET';
|
|
@@ -7,6 +7,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
7
7
|
var Stream = _interopDefault(require('stream'));
|
|
8
8
|
var http = _interopDefault(require('http'));
|
|
9
9
|
var Url = _interopDefault(require('url'));
|
|
10
|
+
var whatwgUrl = _interopDefault(require('whatwg-url'));
|
|
10
11
|
var https = _interopDefault(require('https'));
|
|
11
12
|
var zlib = _interopDefault(require('zlib'));
|
|
12
13
|
|
|
@@ -1141,11 +1142,32 @@ Object.defineProperty(Response.prototype, Symbol.toStringTag, {
|
|
|
1141
1142
|
});
|
|
1142
1143
|
|
|
1143
1144
|
const INTERNALS$2 = Symbol('Request internals');
|
|
1145
|
+
const URL = whatwgUrl.URL;
|
|
1144
1146
|
|
|
1145
1147
|
// fix an issue where "format", "parse" aren't a named export for node <10
|
|
1146
1148
|
const parse_url = Url.parse;
|
|
1147
1149
|
const format_url = Url.format;
|
|
1148
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* Wrapper around `new URL` to handle arbitrary URLs
|
|
1153
|
+
*
|
|
1154
|
+
* @param {string} urlStr
|
|
1155
|
+
* @return {void}
|
|
1156
|
+
*/
|
|
1157
|
+
function parseURL(urlStr) {
|
|
1158
|
+
/*
|
|
1159
|
+
Check whether the URL is absolute or not
|
|
1160
|
+
Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
1161
|
+
Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
1162
|
+
*/
|
|
1163
|
+
if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) {
|
|
1164
|
+
urlStr = new URL(urlStr).toString();
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
// Fallback to old implementation for arbitrary URLs
|
|
1168
|
+
return parse_url(urlStr);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1149
1171
|
const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
|
|
1150
1172
|
|
|
1151
1173
|
/**
|
|
@@ -1182,14 +1204,14 @@ class Request {
|
|
|
1182
1204
|
// in order to support Node.js' Url objects; though WHATWG's URL objects
|
|
1183
1205
|
// will fall into this branch also (since their `toString()` will return
|
|
1184
1206
|
// `href` property anyway)
|
|
1185
|
-
parsedURL =
|
|
1207
|
+
parsedURL = parseURL(input.href);
|
|
1186
1208
|
} else {
|
|
1187
1209
|
// coerce input to a string before attempting to parse
|
|
1188
|
-
parsedURL =
|
|
1210
|
+
parsedURL = parseURL(`${input}`);
|
|
1189
1211
|
}
|
|
1190
1212
|
input = {};
|
|
1191
1213
|
} else {
|
|
1192
|
-
parsedURL =
|
|
1214
|
+
parsedURL = parseURL(input.url);
|
|
1193
1215
|
}
|
|
1194
1216
|
|
|
1195
1217
|
let method = init.method || input.method || 'GET';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Stream from 'stream';
|
|
2
2
|
import http from 'http';
|
|
3
3
|
import Url from 'url';
|
|
4
|
+
import whatwgUrl from 'whatwg-url';
|
|
4
5
|
import https from 'https';
|
|
5
6
|
import zlib from 'zlib';
|
|
6
7
|
|
|
@@ -1135,11 +1136,32 @@ Object.defineProperty(Response.prototype, Symbol.toStringTag, {
|
|
|
1135
1136
|
});
|
|
1136
1137
|
|
|
1137
1138
|
const INTERNALS$2 = Symbol('Request internals');
|
|
1139
|
+
const URL = whatwgUrl.URL;
|
|
1138
1140
|
|
|
1139
1141
|
// fix an issue where "format", "parse" aren't a named export for node <10
|
|
1140
1142
|
const parse_url = Url.parse;
|
|
1141
1143
|
const format_url = Url.format;
|
|
1142
1144
|
|
|
1145
|
+
/**
|
|
1146
|
+
* Wrapper around `new URL` to handle arbitrary URLs
|
|
1147
|
+
*
|
|
1148
|
+
* @param {string} urlStr
|
|
1149
|
+
* @return {void}
|
|
1150
|
+
*/
|
|
1151
|
+
function parseURL(urlStr) {
|
|
1152
|
+
/*
|
|
1153
|
+
Check whether the URL is absolute or not
|
|
1154
|
+
Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
1155
|
+
Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
1156
|
+
*/
|
|
1157
|
+
if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) {
|
|
1158
|
+
urlStr = new URL(urlStr).toString();
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
// Fallback to old implementation for arbitrary URLs
|
|
1162
|
+
return parse_url(urlStr);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1143
1165
|
const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
|
|
1144
1166
|
|
|
1145
1167
|
/**
|
|
@@ -1176,14 +1198,14 @@ class Request {
|
|
|
1176
1198
|
// in order to support Node.js' Url objects; though WHATWG's URL objects
|
|
1177
1199
|
// will fall into this branch also (since their `toString()` will return
|
|
1178
1200
|
// `href` property anyway)
|
|
1179
|
-
parsedURL =
|
|
1201
|
+
parsedURL = parseURL(input.href);
|
|
1180
1202
|
} else {
|
|
1181
1203
|
// coerce input to a string before attempting to parse
|
|
1182
|
-
parsedURL =
|
|
1204
|
+
parsedURL = parseURL(`${input}`);
|
|
1183
1205
|
}
|
|
1184
1206
|
input = {};
|
|
1185
1207
|
} else {
|
|
1186
|
-
parsedURL =
|
|
1208
|
+
parsedURL = parseURL(input.url);
|
|
1187
1209
|
}
|
|
1188
1210
|
|
|
1189
1211
|
let method = init.method || input.method || 'GET';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-fetch",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.5",
|
|
4
4
|
"description": "A light-weight module that brings window.fetch to node.js",
|
|
5
|
-
"main": "lib/index",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
6
|
"browser": "./browser.js",
|
|
7
7
|
"module": "lib/index.mjs",
|
|
8
8
|
"files": [
|
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
"url": "https://github.com/bitinn/node-fetch/issues"
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/bitinn/node-fetch",
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"whatwg-url": "^5.0.0"
|
|
41
|
+
},
|
|
39
42
|
"devDependencies": {
|
|
40
43
|
"@ungap/url-search-params": "^0.1.2",
|
|
41
44
|
"abort-controller": "^1.1.0",
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
"chai-as-promised": "^7.1.1",
|
|
49
52
|
"chai-iterator": "^1.1.1",
|
|
50
53
|
"chai-string": "~1.3.0",
|
|
51
|
-
"codecov": "
|
|
54
|
+
"codecov": "3.3.0",
|
|
52
55
|
"cross-env": "^5.2.0",
|
|
53
56
|
"form-data": "^2.3.3",
|
|
54
57
|
"is-builtin-module": "^1.0.0",
|
|
@@ -60,7 +63,6 @@
|
|
|
60
63
|
"rollup": "^0.63.4",
|
|
61
64
|
"rollup-plugin-babel": "^3.0.7",
|
|
62
65
|
"string-to-arraybuffer": "^1.0.2",
|
|
63
|
-
"
|
|
64
|
-
}
|
|
65
|
-
"dependencies": {}
|
|
66
|
+
"teeny-request": "3.7.0"
|
|
67
|
+
}
|
|
66
68
|
}
|
|
@@ -98,7 +98,7 @@ ProgressBar.prototype.tick = function(len, tokens){
|
|
|
98
98
|
|
|
99
99
|
// progress complete
|
|
100
100
|
if (this.curr >= this.total) {
|
|
101
|
-
this.render();
|
|
101
|
+
this.render(undefined, true);
|
|
102
102
|
this.complete = true;
|
|
103
103
|
this.terminate();
|
|
104
104
|
this.callback(this);
|
|
@@ -114,14 +114,15 @@ ProgressBar.prototype.tick = function(len, tokens){
|
|
|
114
114
|
* @api public
|
|
115
115
|
*/
|
|
116
116
|
|
|
117
|
-
ProgressBar.prototype.render = function (tokens) {
|
|
117
|
+
ProgressBar.prototype.render = function (tokens, force) {
|
|
118
|
+
force = force !== undefined ? force : false;
|
|
118
119
|
if (tokens) this.tokens = tokens;
|
|
119
120
|
|
|
120
121
|
if (!this.stream.isTTY) return;
|
|
121
122
|
|
|
122
123
|
var now = Date.now();
|
|
123
124
|
var delta = now - this.lastRender;
|
|
124
|
-
if (delta < this.renderThrottle) {
|
|
125
|
+
if (!force && (delta < this.renderThrottle)) {
|
|
125
126
|
return;
|
|
126
127
|
} else {
|
|
127
128
|
this.lastRender = now;
|
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [11.0.0](https://github.com/puppeteer/puppeteer/compare/v10.4.0...v11.0.0) (2021-11-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* **oop iframes:** integrate OOP iframes with the frame manager (#7556)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* improve error message for response.buffer() ([#7669](https://github.com/puppeteer/puppeteer/issues/7669)) ([03c9ecc](https://github.com/puppeteer/puppeteer/commit/03c9ecca400a02684cd60229550dbad1190a5b6e))
|
|
15
|
+
* **oop iframes:** integrate OOP iframes with the frame manager ([#7556](https://github.com/puppeteer/puppeteer/issues/7556)) ([4d9dc8c](https://github.com/puppeteer/puppeteer/commit/4d9dc8c0e613f22d4cdf237e8bd0b0da3c588edb)), closes [#2548](https://github.com/puppeteer/puppeteer/issues/2548)
|
|
16
|
+
* add custom debugging port option ([#4993](https://github.com/puppeteer/puppeteer/issues/4993)) ([26145e9](https://github.com/puppeteer/puppeteer/commit/26145e9a24af7caed6ece61031f2cafa6abd505f))
|
|
17
|
+
* add initiator to HTTPRequest ([#7614](https://github.com/puppeteer/puppeteer/issues/7614)) ([a271145](https://github.com/puppeteer/puppeteer/commit/a271145b0663ef9de1903dd0eb9fd5366465bed7))
|
|
18
|
+
* allow to customize tmpdir ([#7243](https://github.com/puppeteer/puppeteer/issues/7243)) ([b1f6e86](https://github.com/puppeteer/puppeteer/commit/b1f6e8692b0bc7e8551b2a78169c830cd80a7acb))
|
|
19
|
+
* handle unhandled promise rejections in tests ([#7722](https://github.com/puppeteer/puppeteer/issues/7722)) ([07febca](https://github.com/puppeteer/puppeteer/commit/07febca04b391893cfc872250e4391da142d4fe2))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* add support for relative install paths to BrowserFetcher ([#7613](https://github.com/puppeteer/puppeteer/issues/7613)) ([eebf452](https://github.com/puppeteer/puppeteer/commit/eebf452d38b79bb2ea1a1ba84c3d2ea6f2f9f899)), closes [#7592](https://github.com/puppeteer/puppeteer/issues/7592)
|
|
25
|
+
* add webp to screenshot quality option allow list ([#7631](https://github.com/puppeteer/puppeteer/issues/7631)) ([b20c2bf](https://github.com/puppeteer/puppeteer/commit/b20c2bfa24cbdd4a1b9cefca2e0a9407e442baf5))
|
|
26
|
+
* prevent Target closed errors on streams ([#7728](https://github.com/puppeteer/puppeteer/issues/7728)) ([5b792de](https://github.com/puppeteer/puppeteer/commit/5b792de7a97611441777d1ac99cb95516301d7dc))
|
|
27
|
+
* request an animation frame to fix flaky clickablePoint test ([#7587](https://github.com/puppeteer/puppeteer/issues/7587)) ([7341d9f](https://github.com/puppeteer/puppeteer/commit/7341d9fadd1466a5b2f2bde8631f3b02cf9a7d8a))
|
|
28
|
+
* setup husky properly ([#7727](https://github.com/puppeteer/puppeteer/issues/7727)) ([8b712e7](https://github.com/puppeteer/puppeteer/commit/8b712e7b642b58193437f26d4e104a9e412f388d)), closes [#7726](https://github.com/puppeteer/puppeteer/issues/7726)
|
|
29
|
+
* updated troubleshooting.md to meet latest dependencies changes ([#7656](https://github.com/puppeteer/puppeteer/issues/7656)) ([edb0197](https://github.com/puppeteer/puppeteer/commit/edb01972b9606d8b05b979a588eda0d622315981))
|
|
30
|
+
* **launcher:** launcher.launch() should pass 'timeout' option [#5180](https://github.com/puppeteer/puppeteer/issues/5180) ([#7596](https://github.com/puppeteer/puppeteer/issues/7596)) ([113489d](https://github.com/puppeteer/puppeteer/commit/113489d3b58e2907374a4e6e5133bf46630695d1))
|
|
31
|
+
* **page:** fallback to default in exposeFunction when using imported module ([#6365](https://github.com/puppeteer/puppeteer/issues/6365)) ([44c9ec6](https://github.com/puppeteer/puppeteer/commit/44c9ec67c57dccf3e186c86f14f3a8da9a8eb971))
|
|
32
|
+
* **page:** fix page.off method for request event ([#7624](https://github.com/puppeteer/puppeteer/issues/7624)) ([d0cb943](https://github.com/puppeteer/puppeteer/commit/d0cb9436a302418086f6763e0e58ae3732a20b62)), closes [#7572](https://github.com/puppeteer/puppeteer/issues/7572)
|
|
33
|
+
|
|
5
34
|
## [10.4.0](https://github.com/puppeteer/puppeteer/compare/v10.2.0...v10.4.0) (2021-09-21)
|
|
6
35
|
|
|
7
36
|
|