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.13 to 0.1.14

7

index.js

@@ -7,4 +7,7 @@ var http = module.exports;

if (!params) params = {};
if (!params.host) params.host = window.location.host.split(':')[0];
if (!params.port) params.port = window.location.port;
if (!params.host && !params.port) {
params.port = parseInt(window.location.port, 10);
}
if (!params.host) params.host = window.location.hostname;
if (!params.port) params.port = 80;
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0];

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

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