concat-stream
Advanced tools
Comparing version 1.0.0 to 1.0.1
var stream = require('stream') | ||
var bops = require('bops') | ||
var util = require('util') | ||
@@ -36,5 +37,3 @@ | ||
if (this.isArray(this.body[0])) return this.arrayConcat(this.body) | ||
if (typeof(Buffer) !== "undefined" && Buffer.isBuffer(this.body[0])) { | ||
return Buffer.concat(this.body) | ||
} | ||
if (bops.is(this.body[0])) return bops.join(this.body) | ||
return this.body | ||
@@ -41,0 +40,0 @@ } |
@@ -1,13 +0,30 @@ | ||
{ "name" : "concat-stream" | ||
, "description" : "writable stream that concatenates strings or data and calls a callback with the result" | ||
, "tags" : ["stream", "simple", "util", "utility"] | ||
, "version" : "1.0.0" | ||
, "author" : "Max Ogden <max@maxogden.com>" | ||
, "repository" : | ||
{ "type" : "git" | ||
, "url" : "http://github.com/maxogden/node-concat-stream.git" | ||
{ | ||
"name": "concat-stream", | ||
"description": "writable stream that concatenates strings or binary data and calls a callback with the result", | ||
"tags": [ | ||
"stream", | ||
"simple", | ||
"util", | ||
"utility" | ||
], | ||
"version": "1.0.1", | ||
"author": "Max Ogden <max@maxogden.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/maxogden/node-concat-stream.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/maxogden/node-concat-stream/issues" | ||
}, | ||
"engines": [ | ||
"node >= 0.8.0" | ||
], | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "node test.js" | ||
}, | ||
"license": "BSD", | ||
"dependencies": { | ||
"bops": "0.0.6" | ||
} | ||
, "bugs" : | ||
{ "url" : "http://github.com/maxogden/node-concat-stream/issues" } | ||
, "engines" : ["node >= 0.8.0"] | ||
} |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
3250
5
0
1
1
69
+ Addedbops@0.0.6
+ Addedbase64-js@0.0.2(transitive)
+ Addedbops@0.0.6(transitive)
+ Addedto-utf8@0.0.1(transitive)