http-browserify
Advanced tools
Comparing version 0.1.11 to 0.1.12
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
614120
2
+ AddedBase64@~0.1.2
+ AddedBase64@0.1.4(transitive)
+ Addedbase64-js@0.0.2(transitive)
+ Addedbops@0.0.6(transitive)
+ Addedconcat-stream@1.0.1(transitive)
+ Addedto-utf8@0.0.1(transitive)
- Removedconcat-stream@0.0.8(transitive)
Updatedconcat-stream@~1.0.0