Socket
Socket
Sign inDemoInstall

mime-kind

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime-kind - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

main.js

@@ -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": [

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