Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

get-it

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-it - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

2

lib-node/request/node-request.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc