Compare commits

..

No commits in common. "bb30d5acf62241791e2cadff8c961a885361d17f" and "0a2e7afa76b9d4e548672acab5d7d7886abfb8b0" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -324,9 +324,7 @@ function setDefaults(defs) {
'timeout',
'setHost'
].forEach(function (key) {
if (key in opts) {
finalOpts[key] = opts[key];
}
finalOpts[key] = opts.uri[key];
});
finalOpts.method = opts.method;

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "@root/request",
"version": "1.8.2",
"version": "1.8.1",
"lockfileVersion": 1
}

View File

@ -1,6 +1,6 @@
{
"name": "@root/request",
"version": "1.8.2",
"version": "1.8.1",
"description": "A lightweight, zero-dependency drop-in replacement for request",
"main": "index.js",
"files": [