Socket
Socket
Sign inDemoInstall

superagent

Package Overview
Dependencies
6
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.3 to 0.12.4

2

component.json

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

"description": "awesome http requests",
"version": "0.12.3",
"version": "0.12.4",
"keywords": [

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

0.12.4 / 2013-02-11
==================
* fix get content-type even if can't get other headers in firefox. fixes #181
0.12.3 / 2013-02-11

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

@@ -273,2 +273,6 @@

this.header = parseHeader(xhr.getAllResponseHeaders());
// getAllResponseHeaders sometimes falsely returns "" for CORS requests, but
// getResponseHeader still works. so we get content-type even if getting
// other headers fails.
this.header['content-type'] = xhr.getResponseHeader('content-type');
this.setHeaderProperties(this.header);

@@ -275,0 +279,0 @@ this.body = this.parseBody(this.text);

{
"name": "superagent",
"version": "0.12.3",
"version": "0.12.4",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc