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 0.1.14 to 0.2.1

2

index.js

@@ -11,3 +11,3 @@ var http = module.exports;

if (!params.host) params.host = window.location.hostname;
if (!params.port) params.port = 80;
if (!params.port) params.port = params.scheme == 'https' ? 443 : 80;
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0];

@@ -14,0 +14,0 @@

@@ -18,2 +18,4 @@ var Stream = require('stream');

xhr.withCredentials = true;
xhr.open(

@@ -20,0 +22,0 @@ params.method || 'GET',

{
"name": "http-browserify",
"version": "0.1.14",
"version": "0.2.1",
"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