Comparing version 1.0.0 to 1.0.1
@@ -45,6 +45,6 @@ 'use strict'; | ||
if (!stream.closed && !stream.destroyed && length > 0) { | ||
var state = stream._readableState; | ||
/*var state = stream._readableState;*/ | ||
try { | ||
var buf = chunkSync(stream, length/* || state.highWaterMark*/); | ||
stream.emit('end'); | ||
/*stream.emit('end');*/ | ||
@@ -59,3 +59,3 @@ return buf; | ||
} | ||
}; | ||
} | ||
@@ -62,0 +62,0 @@ module.exports = function(data, defaultValue) { |
{ | ||
"name": "mime-kind", | ||
"author": "Alexey Bystrov <strikeentco@gmail.com>", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Detect the mime type of a Buffer, ReadStream, file path and file name.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
20012