file-type
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -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; | ||
}; |
{ | ||
"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": { |
@@ -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).* |
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
17500
372
148