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.6 to 0.1.7

example/json-stream/data.json

6

lib/request.js
var Stream = require('stream');
var Response = require('./response');
var concatStream = require('concat-stream')
var Buffer = require('buffer')

@@ -34,2 +35,7 @@ var Request = module.exports = function (xhr, params) {

if (params.auth) {
//basic auth
this.setHeader('Authorization', 'Basic ' + new Buffer(params.auth).toString('base64'));
}
var res = new Response;

@@ -36,0 +42,0 @@ res.on('close', function () {

2

package.json
{
"name" : "http-browserify",
"version" : "0.1.6",
"version" : "0.1.7",
"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