file-type
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -261,3 +261,10 @@ 'use strict'; | ||
if (buf[0] === 0x00 && buf[1] === 0x00 && buf[2] === 0x01 && buf[3] === 0x00) { | ||
return { | ||
ext: 'ico', | ||
mime: 'image/x-icon' | ||
}; | ||
} | ||
return null; | ||
}; |
{ | ||
"name": "file-type", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Detect the file type of a Buffer/Uint8Array", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
12647
5
265