file-type
Advanced tools
Comparing version 18.4.0 to 18.5.0
@@ -154,2 +154,3 @@ import type {Readable as ReadableStream} from 'node:stream'; | ||
| 'avro' | ||
| 'icc' | ||
; // eslint-disable-line semi-style | ||
@@ -302,2 +303,3 @@ | ||
| 'application/avro' | ||
| 'application/vnd.iccprofile' | ||
; // eslint-disable-line semi-style | ||
@@ -304,0 +306,0 @@ |
@@ -1314,2 +1314,9 @@ import {Buffer} from 'node:buffer'; | ||
if (this.check([0x61, 0x63, 0x73, 0x70], {offset: 36})) { | ||
return { | ||
ext: 'icc', | ||
mime: 'application/vnd.iccprofile', | ||
}; | ||
} | ||
// -- 15-byte signatures -- | ||
@@ -1316,0 +1323,0 @@ |
{ | ||
"name": "file-type", | ||
"version": "18.4.0", | ||
"version": "18.5.0", | ||
"description": "Detect the file type of a Buffer/Uint8Array/ArrayBuffer", | ||
@@ -206,3 +206,4 @@ "license": "MIT", | ||
"ace", | ||
"avro" | ||
"avro", | ||
"icc" | ||
], | ||
@@ -209,0 +210,0 @@ "dependencies": { |
@@ -369,2 +369,3 @@ # file-type | ||
- [`heic`](https://nokiatech.github.io/heif/technical.html) - High Efficiency Image File Format | ||
- [`icc`](https://en.wikipedia.org/wiki/ICC_profile) - ICC Profile | ||
- [`icns`](https://en.wikipedia.org/wiki/Apple_Icon_Image_format) - Apple Icon image | ||
@@ -371,0 +372,0 @@ - [`ico`](https://en.wikipedia.org/wiki/ICO_(file_format)) - Windows icon file |
@@ -151,2 +151,3 @@ export const extensions = [ | ||
'avro', | ||
'icc', | ||
]; | ||
@@ -299,2 +300,3 @@ | ||
'application/avro', | ||
'application/vnd.iccprofile', | ||
]; |
84558
2210
485