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.11 to 0.1.12

6

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

@@ -40,3 +40,3 @@ var Request = module.exports = function (xhr, params) {

//basic auth
this.setHeader('Authorization', 'Basic ' + new Buffer(params.auth).toString('base64'));
this.setHeader('Authorization', 'Basic ' + Base64.btoa(params.auth));
}

@@ -43,0 +43,0 @@

{
"name" : "http-browserify",
"version" : "0.1.11",
"description" : "http module compatability for browserify",
"main" : "index.js",
"browserify" : "index.js",
"directories" : {
"lib" : ".",
"example" : "example",
"test" : "test"
},
"dependencies": {
"concat-stream": "0.0.8"
},
"devDependencies" : {
"ecstatic" : "~0.1.6"
},
"repository" : {
"type" : "git",
"url" : "http://github.com/substack/http-browserify.git"
},
"keywords" : [
"http",
"browserify",
"compatible",
"meatless",
"browser"
],
"author" : {
"name" : "James Halliday",
"email" : "mail@substack.net",
"url" : "http://substack.net"
},
"license" : "MIT/X11",
"engine" : { "node" : ">=0.4" }
"name": "http-browserify",
"version": "0.1.12",
"description": "http module compatability for browserify",
"main": "index.js",
"browserify": "index.js",
"directories": {
"lib": ".",
"example": "example",
"test": "test"
},
"dependencies": {
"concat-stream": "~1.0.0",
"Base64": "~0.1.2"
},
"devDependencies": {
"ecstatic": "~0.1.6"
},
"repository": {
"type": "git",
"url": "http://github.com/substack/http-browserify.git"
},
"keywords": [
"http",
"browserify",
"compatible",
"meatless",
"browser"
],
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"license": "MIT/X11",
"engine": {
"node": ">=0.4"
}
}
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