Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

file-type

Package Overview
Dependencies
Maintainers
2
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-type - npm Package Compare versions

Comparing version 3.5.0 to 3.6.0

7

index.js

@@ -417,3 +417,10 @@ 'use strict';

if (buf[0] === 0xD0 && buf[1] === 0xCF && buf[2] === 0x11 && buf[3] === 0xE0 && buf[4] === 0xA1 && buf[5] === 0xB1 && buf[6] === 0x1A && buf[7] === 0xE1) {
return {
ext: 'msi',
mime: 'application/x-msi'
};
}
return null;
};

5

package.json
{
"name": "file-type",
"version": "3.5.0",
"version": "3.6.0",
"description": "Detect the file type of a Buffer/Uint8Array",

@@ -93,3 +93,4 @@ "license": "MIT",

"Z",
"lz"
"lz",
"msi"
],

@@ -96,0 +97,0 @@ "devDependencies": {

1

readme.md

@@ -133,2 +133,3 @@ # file-type [![Build Status](https://travis-ci.org/sindresorhus/file-type.svg?branch=master)](https://travis-ci.org/sindresorhus/file-type)

- `lz`
- [`msi`](https://en.wikipedia.org/wiki/Windows_Installer)

@@ -135,0 +136,0 @@ *SVG isn't included as it requires the whole file to be read, but you can get it [here](https://github.com/sindresorhus/is-svg).*

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