file-type 5.1.1 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +7 -0
- package/package.json +3 -2
- package/readme.md +1 -0
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "file-type",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Detect the file type of a Buffer/Uint8Array",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "sindresorhus/file-type",
|
|
@@ -98,7 +98,8 @@
|
|
|
98
98
|
"mts",
|
|
99
99
|
"wasm",
|
|
100
100
|
"webassembly",
|
|
101
|
-
"blend"
|
|
101
|
+
"blend",
|
|
102
|
+
"bpg"
|
|
102
103
|
],
|
|
103
104
|
"devDependencies": {
|
|
104
105
|
"ava": "*",
|
package/readme.md
CHANGED
|
@@ -139,6 +139,7 @@ It only needs the first 4100 bytes.
|
|
|
139
139
|
- [`mts`](https://en.wikipedia.org/wiki/.m2ts)
|
|
140
140
|
- [`wasm`](https://en.wikipedia.org/wiki/WebAssembly)
|
|
141
141
|
- [`blend`](https://wiki.blender.org/index.php/Dev:Source/Architecture/File_Format)
|
|
142
|
+
- [`bpg`](https://bellard.org/bpg/)
|
|
142
143
|
|
|
143
144
|
*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).*
|
|
144
145
|
|