file-type
Advanced tools
Comparing version 10.5.0 to 10.6.0
@@ -897,2 +897,9 @@ 'use strict'; | ||
if (check([0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A])) { | ||
return { | ||
ext: 'ics', | ||
mime: 'text/calendar' | ||
}; | ||
} | ||
return null; | ||
@@ -899,0 +906,0 @@ }; |
{ | ||
"name": "file-type", | ||
"version": "10.5.0", | ||
"version": "10.6.0", | ||
"description": "Detect the file type of a Buffer/Uint8Array", | ||
@@ -117,3 +117,4 @@ "license": "MIT", | ||
"heic", | ||
"wma" | ||
"wma", | ||
"ics" | ||
], | ||
@@ -120,0 +121,0 @@ "devDependencies": { |
@@ -182,2 +182,3 @@ # file-type [](https://travis-ci.org/sindresorhus/file-type) | ||
- [`mpc`](https://en.wikipedia.org/wiki/Musepack) - Musepack (SV7 & SV8) | ||
- [`ics`](https://en.wikipedia.org/wiki/ICalendar#Data_format) - iCalendar | ||
@@ -184,0 +185,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).* |
29070
791
203