file-type
Advanced tools
Comparing version 18.1.0 to 18.2.0
@@ -146,3 +146,4 @@ import type {Readable as ReadableStream} from 'node:stream'; | ||
| 'pst' | ||
| 'dwg'; | ||
| 'dwg' | ||
| 'parquet'; | ||
@@ -286,3 +287,4 @@ export type MimeType = | ||
| 'application/vnd.ms-outlook' | ||
| 'image/vnd.dwg'; | ||
| 'image/vnd.dwg' | ||
| 'application/x-parquet'; | ||
@@ -289,0 +291,0 @@ export type FileTypeResult = { |
@@ -818,2 +818,9 @@ import {Buffer} from 'node:buffer'; | ||
if (this.checkString('PAR1')) { | ||
return { | ||
ext: 'parquet', | ||
mime: 'application/x-parquet', | ||
}; | ||
} | ||
// -- 5-byte signatures -- | ||
@@ -820,0 +827,0 @@ |
{ | ||
"name": "file-type", | ||
"version": "18.1.0", | ||
"version": "18.2.0", | ||
"description": "Detect the file type of a Buffer/Uint8Array/ArrayBuffer", | ||
@@ -199,3 +199,4 @@ "license": "MIT", | ||
"pst", | ||
"dwg" | ||
"dwg", | ||
"parquet" | ||
], | ||
@@ -202,0 +203,0 @@ "dependencies": { |
@@ -443,2 +443,3 @@ # file-type | ||
- [`otf`](https://en.wikipedia.org/wiki/OpenType) - OpenType font | ||
- [`parquet`](https://en.wikipedia.org/wiki/Apache_Parquet) - Apache Parquet | ||
- [`pcap`](https://wiki.wireshark.org/Development/LibpcapFileFormat) - Libpcap File Format | ||
@@ -445,0 +446,0 @@ - [`pdf`](https://en.wikipedia.org/wiki/Portable_Document_Format) - Portable Document Format |
@@ -144,2 +144,3 @@ export const extensions = [ | ||
'dwg', | ||
'parquet', | ||
]; | ||
@@ -285,2 +286,3 @@ | ||
'image/vnd.dwg', | ||
'application/x-parquet', | ||
]; |
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
83621
2147
510