Compare commits
No commits in common. "bb30d5acf62241791e2cadff8c961a885361d17f" and "0a2e7afa76b9d4e548672acab5d7d7886abfb8b0" have entirely different histories.
bb30d5acf6
...
0a2e7afa76
4
index.js
4
index.js
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@root/request",
|
||||
"version": "1.8.2",
|
||||
"version": "1.8.1",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
|
|
|
@ -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": [
|
||||
|
|
Loading…
Reference in New Issue