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.2.1 to 0.2.2

2

index.js

@@ -10,5 +10,5 @@ var http = module.exports;

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

@@ -15,0 +15,0 @@ var req = new Request(new xhrHttp, params);

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