Comparing version 4.1.2 to 4.1.3
@@ -53,3 +53,3 @@ 'use strict'; | ||
// Create a reduced subset of options meant for the http.request() method | ||
const reqOpts = objectAssign(uri, { | ||
const reqOpts = objectAssign({}, uri, { | ||
method: options.method, | ||
@@ -56,0 +56,0 @@ headers: objectAssign({}, options.headers, lengthHeader), |
@@ -59,3 +59,3 @@ 'use strict'; | ||
// Create a reduced subset of options meant for the http.request() method | ||
var reqOpts = objectAssign(uri, { | ||
var reqOpts = objectAssign({}, uri, { | ||
method: options.method, | ||
@@ -62,0 +62,0 @@ headers: objectAssign({}, options.headers, lengthHeader), |
{ | ||
"name": "get-it", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Generic HTTP request library for node and browsers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
620702