file-type 16.5.0 → 16.5.1

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/core.d.ts +1 -1
  2. package/package.json +1 -1
  3. package/readme.md +30 -0
package/core.d.ts CHANGED
@@ -353,7 +353,7 @@ declare namespace core {
353
353
  /**
354
354
  Supported MIME types.
355
355
  */
356
- const mimeTypes: readonly core.MimeType[];
356
+ const mimeTypes: Set<core.MimeType>;
357
357
 
358
358
  /**
359
359
  Detect the file type of a readable stream.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "file-type",
3
- "version": "16.5.0",
3
+ "version": "16.5.1",
4
4
  "description": "Detect the file type of a Buffer/Uint8Array/ArrayBuffer",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/file-type",
package/readme.md CHANGED
@@ -6,6 +6,36 @@ The file type is detected by checking the [magic number](https://en.wikipedia.or
6
6
 
7
7
  This package is for detecting binary-based file formats, not text-based formats like `.txt`, `.csv`, `.svg`, etc.
8
8
 
9
+ <br>
10
+
11
+ ---
12
+
13
+ <div align="center">
14
+ <p>
15
+ <p>
16
+ <sup>
17
+ <a href="https://github.com/sponsors/sindresorhus">My open source work is supported by the community</a>
18
+ </sup>
19
+ </p>
20
+ <sup>Special thanks to:</sup>
21
+ <br>
22
+ <br>
23
+ <a href="https://bit.io/?utm_campaign=github_repo&utm_medium=referral&utm_content=file-type&utm_source=github">
24
+ <div>
25
+ <img src="https://sindresorhus.com/assets/thanks/bitio-logo.svg" width="190" alt="bit.io">
26
+ </div>
27
+ <b>Instant, shareable cloud PostgreSQL database</b>
28
+ <div>
29
+ <sup>Import any dataset in seconds, share with anyone with a click, try without signing up</sup>
30
+ </div>
31
+ </a>
32
+ </p>
33
+ </div>
34
+
35
+ ---
36
+
37
+ <br>
38
+
9
39
  ## Install
10
40
 
11
41
  ```