Socket
Socket
Sign inDemoInstall

request

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request - npm Package Compare versions

Comparing version 2.19.0 to 2.20.0

tests/test-onelineproxy.js

6

index.js

@@ -120,2 +120,6 @@ // Copyright 2010-2012 Mikeal Rogers

if (options.method) {
this.explicitMethod = true
}
this.init(options)

@@ -400,3 +404,3 @@ }

self.headers['content-type'] = 'application/json'
if (src.method && !self.method) {
if (src.method && !self.explicitMethod) {
self.method = src.method

@@ -403,0 +407,0 @@ }

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "2.19.0",
"version": "2.20.0",
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>",

@@ -13,0 +13,0 @@ "repository": {

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