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

http-browserify

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-browserify - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

5

lib/request.js

@@ -58,2 +58,6 @@ var Stream = require('stream');

xhr.onreadystatechange = function () {
// Fix for IE9 bug
// SCRIPT575: Could not complete the operation due to error c00c023f
// It happens when a request is aborted, calling the success callback anyway with readyState === 4
if (xhr.__aborted) return;
res.handle(xhr);

@@ -82,2 +86,3 @@ };

Request.prototype.destroy = function (s) {
this.xhr.__aborted = true;
this.xhr.abort();

@@ -84,0 +89,0 @@ this.emit('close');

2

package.json
{
"name": "http-browserify",
"version": "1.3.1",
"version": "1.3.2",
"description": "http module compatability for browserify",

@@ -5,0 +5,0 @@ "main": "index.js",

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