file-type 4.3.0 → 4.4.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.
Files changed (3) hide show
  1. package/index.js +7 -0
  2. package/package.json +3 -2
  3. package/readme.md +1 -0
package/index.js CHANGED
@@ -534,5 +534,12 @@ module.exports = input => {
534
534
  };
535
535
  }
536
536
 
537
+ if (check([0x42, 0x4C, 0x45, 0x4E, 0x44, 0x45, 0x52])) {
538
+ return {
539
+ ext: 'blend',
540
+ mime: 'application/x-blender'
541
+ };
542
+ }
543
+
537
544
  return null;
538
545
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "file-type",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Detect the file type of a Buffer/Uint8Array",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/file-type",
@@ -96,7 +96,8 @@
96
96
  "msi",
97
97
  "mxf",
98
98
  "wasm",
99
- "webassembly"
99
+ "webassembly",
100
+ "blend"
100
101
  ],
101
102
  "devDependencies": {
102
103
  "ava": "*",
package/readme.md CHANGED
@@ -137,6 +137,7 @@ It only needs the first 4100 bytes.
137
137
  - [`msi`](https://en.wikipedia.org/wiki/Windows_Installer)
138
138
  - [`mxf`](https://en.wikipedia.org/wiki/Material_Exchange_Format)
139
139
  - [`wasm`](https://en.wikipedia.org/wiki/WebAssembly)
140
+ - [`blend`](https://wiki.blender.org/index.php/Dev:Source/Architecture/File_Format)
140
141
 
141
142
  *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).*
142
143