Socket
Socket
Sign inDemoInstall

superagent

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superagent - npm Package Compare versions

Comparing version 0.15.1 to 0.15.2

2

component.json

@@ -5,3 +5,3 @@ {

"description": "awesome http requests",
"version": "0.15.1",
"version": "0.15.2",
"keywords": [

@@ -8,0 +8,0 @@ "http",

0.15.2 / 2013-07-02
==================
* fix: emit 'end' when piping.
0.15.1 / 2013-06-26

@@ -3,0 +8,0 @@ ==================

@@ -479,2 +479,6 @@ /*!

// ensure the response is being consumed
// this is required for Node v0.10+
res.resume();
// strip Content-* related fields

@@ -729,2 +733,7 @@ // in case of POST etc

self.emit('response', response);
if (multipart) return // allow multipart to handle end event
res.on('end', function(){
debug('end %s %s', self.method, self.url);
self.emit('end');
})
return;

@@ -731,0 +740,0 @@ }

{
"name": "superagent",
"version": "0.15.1",
"version": "0.15.2",
"description": "elegant & feature rich browser / node HTTP with a fluent API",

@@ -5,0 +5,0 @@ "keywords": [

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