Skip to content

Commit b81ca89

Browse files
authoredMay 15, 2021
Update dependencies (#86)
1 parent dc9b6fc commit b81ca89

File tree

3 files changed

+673
-671
lines changed

3 files changed

+673
-671
lines changed
 

‎index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
var os = require('os');
22
var fs = require('fs');
33
var path = require('path');
4-
var url = require('url');
54

65
var got = require('got');
76
var tar = require('tar');
@@ -60,7 +59,7 @@ if (CACHED_ARCHIVE) {
6059
extract(CACHED_ARCHIVE);
6160
} else {
6261
process.stdout.write('Downloading geckodriver... ');
63-
got.stream(url.parse(downloadUrl), downloadOptions)
62+
got.stream(new URL(downloadUrl), downloadOptions)
6463
.pipe(fs.createWriteStream(outFile))
6564
.on('close', function () {
6665
extract(path.join(__dirname, outFile));

‎package-lock.json

+668-665
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
},
2929
"homepage": "https://github.com/vladikoff/node-geckodriver#readme",
3030
"dependencies": {
31-
"adm-zip": "0.5.3",
31+
"adm-zip": "0.5.5",
3232
"bluebird": "3.7.2",
33-
"got": "5.6.0",
34-
"tar": "6.0.2",
33+
"got": "11.8.2",
34+
"tar": "6.1.0",
3535
"https-proxy-agent": "5.0.0"
3636
},
3737
"devDependencies": {
38-
"ava": "3.11.0"
38+
"ava": "3.15.0"
3939
}
4040
}

0 commit comments

Comments
 (0)
Please sign in to comment.