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.11.2 to 2.11.3

tests/test-piped-redirect.js

3

main.js

@@ -580,2 +580,3 @@ // Copyright 2010-2012 Mikeal Rogers

// self.method = 'GET'; // Force all redirects to use GET || commented out fixes #215
delete self.src
delete self.req

@@ -688,3 +689,3 @@ delete self.agent

self.on('end', function() {
self.req.connection.removeListener('error', self._parserErrorHandler)
if ( self.req.connection ) self.req.connection.removeListener('error', self._parserErrorHandler)
})

@@ -691,0 +692,0 @@ self.emit('request', self.req)

{ "name" : "request"
, "description" : "Simplified HTTP request client."
, "tags" : ["http", "simple", "util", "utility"]
, "version" : "2.11.2"
, "version" : "2.11.3"
, "author" : "Mikeal Rogers <mikeal.rogers@gmail.com>"

@@ -6,0 +6,0 @@ , "repository" :

@@ -24,2 +24,3 @@ var spawn = require('child_process').spawn

, 'test-proxy.js'
, 'test-piped-redirect.js'
, 'test-qs.js'

@@ -30,7 +31,7 @@ , 'test-redirect.js'

, 'test-tunnel.js'
]
]
var next = function () {
if (tests.length === 0) process.exit(exitCode);
var file = tests.shift()

@@ -37,0 +38,0 @@ console.log(file)

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