chore: bump up file-type version to v20 (#9731)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [file-type](https://redirect.github.com/sindresorhus/file-type) | [`^19.6.0` -> `^20.0.0`](https://renovatebot.com/diffs/npm/file-type/19.6.0/20.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/file-type/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/file-type/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/file-type/19.6.0/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/file-type/19.6.0/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [file-type](https://redirect.github.com/sindresorhus/file-type) | [`^19.5.0` -> `^20.0.0`](https://renovatebot.com/diffs/npm/file-type/19.6.0/20.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/file-type/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/file-type/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/file-type/19.6.0/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/file-type/19.6.0/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sindresorhus/file-type (file-type)</summary>

### [`v20.0.0`](https://redirect.github.com/sindresorhus/file-type/releases/tag/v20.0.0)

[Compare Source](https://redirect.github.com/sindresorhus/file-type/compare/v19.6.0...v20.0.0)

##### Breaking

-   Drop MIME-type and extension enumeration in types ([#&#8203;693](https://redirect.github.com/sindresorhus/file-type/issues/693))  [`0ff11c6`](https://redirect.github.com/sindresorhus/file-type/commit/0ff11c6)
-   Remove `NodeFileTypeParser` in favor of using `FileTypeParser` on all platforms ([#&#8203;707](https://redirect.github.com/sindresorhus/file-type/issues/707))  [`ff8eed8`](https://redirect.github.com/sindresorhus/file-type/commit/ff8eed8)

##### Improvements

-   Give API access to `FileTypeParser#detectors` ([#&#8203;704](https://redirect.github.com/sindresorhus/file-type/issues/704))  [`7e72bbc`](https://redirect.github.com/sindresorhus/file-type/commit/7e72bbc)
-   Improve Nikon RAW NEF (Tiff) format detection ([#&#8203;670](https://redirect.github.com/sindresorhus/file-type/issues/670))  [`cf6fc1e`](https://redirect.github.com/sindresorhus/file-type/commit/cf6fc1e)
-   Add support for Java archive (`.jar`) ([#&#8203;719](https://redirect.github.com/sindresorhus/file-type/issues/719))  [`8651809`](https://redirect.github.com/sindresorhus/file-type/commit/8651809)
-   Add support for MSOffice macro-enabled docs and templates ([#&#8203;720](https://redirect.github.com/sindresorhus/file-type/issues/720))  [`7fe5667`](https://redirect.github.com/sindresorhus/file-type/commit/7fe5667)
-   Add support for OpenDocument graphics and templates ([#&#8203;718](https://redirect.github.com/sindresorhus/file-type/issues/718))  [`4db407d`](https://redirect.github.com/sindresorhus/file-type/commit/4db407d)
-   Add support for Microsoft Excel template with macros (.xltm) ([#&#8203;714](https://redirect.github.com/sindresorhus/file-type/issues/714))  [`1fe621a`](https://redirect.github.com/sindresorhus/file-type/commit/1fe621a)
-   Add support for Microsoft Word template (.dotx) ([#&#8203;713](https://redirect.github.com/sindresorhus/file-type/issues/713))  [`643ef78`](https://redirect.github.com/sindresorhus/file-type/commit/643ef78)
-   Add support for Microsoft Excel template (`.xltx`) ([#&#8203;712](https://redirect.github.com/sindresorhus/file-type/issues/712))  [`0dab3e0`](https://redirect.github.com/sindresorhus/file-type/commit/0dab3e0)
-   Add support for Microsoft PowerPoint template ( `.potx`) ([#&#8203;710](https://redirect.github.com/sindresorhus/file-type/issues/710))  [`f978619`](https://redirect.github.com/sindresorhus/file-type/commit/f978619)
-   Add support for ZIP decompression using `@tokenizer/inflate` ([#&#8203;695](https://redirect.github.com/sindresorhus/file-type/issues/695))  [`399b0f1`](https://redirect.github.com/sindresorhus/file-type/commit/399b0f1)
-   Add support for `.lz4` file format ([#&#8203;706](https://redirect.github.com/sindresorhus/file-type/issues/706))  [`74acf94`](https://redirect.github.com/sindresorhus/file-type/commit/74acf94)
-   Add support for format `.drc`, Google's Draco 3D Data Compression ([#&#8203;702](https://redirect.github.com/sindresorhus/file-type/issues/702))  [`e99257d`](https://redirect.github.com/sindresorhus/file-type/commit/e99257d)

##### Fixes

-   Fix code sequence "File Type Box" detection ([#&#8203;705](https://redirect.github.com/sindresorhus/file-type/issues/705))  [`7d4dd8d`](https://redirect.github.com/sindresorhus/file-type/commit/7d4dd8d)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate
2025-01-16 10:08:13 +00:00
parent 9160b72d5b
commit 908afe19ee
6 changed files with 33 additions and 22 deletions

View File

@@ -399,7 +399,7 @@ __metadata:
core-js: "npm:^3.39.0"
dayjs: "npm:^1.11.13"
fake-indexeddb: "npm:^6.0.0"
file-type: "npm:^19.6.0"
file-type: "npm:^20.0.0"
filesize: "npm:^10.1.6"
foxact: "npm:^0.2.43"
fuse.js: "npm:^7.0.0"
@@ -3288,7 +3288,7 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.3"
file-type: "npm:^19.5.0"
file-type: "npm:^20.0.0"
lit: "npm:^3.2.0"
minimatch: "npm:^10.0.1"
zod: "npm:^3.23.8"
@@ -3501,7 +3501,7 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.3"
file-type: "npm:^19.5.0"
file-type: "npm:^20.0.0"
lit: "npm:^3.2.0"
minimatch: "npm:^10.0.1"
zod: "npm:^3.23.8"
@@ -3895,7 +3895,7 @@ __metadata:
date-fns: "npm:^4.0.0"
dompurify: "npm:^3.1.6"
fflate: "npm:^0.8.2"
file-type: "npm:^19.5.0"
file-type: "npm:^20.0.0"
fractional-indexing: "npm:^3.2.0"
html2canvas: "npm:^1.4.1"
katex: "npm:^0.16.11"
@@ -4068,7 +4068,7 @@ __metadata:
"@types/lodash.clonedeep": "npm:^4.5.9"
"@types/lodash.ismatch": "npm:^4.4.9"
"@types/lodash.merge": "npm:^4.6.9"
file-type: "npm:^19.5.0"
file-type: "npm:^20.0.0"
lib0: "npm:^0.2.97"
lodash.clonedeep: "npm:^4.5.0"
lodash.ismatch: "npm:^4.4.0"
@@ -14067,6 +14067,17 @@ __metadata:
languageName: node
linkType: hard
"@tokenizer/inflate@npm:^0.2.6":
version: 0.2.6
resolution: "@tokenizer/inflate@npm:0.2.6"
dependencies:
debug: "npm:^4.3.7"
fflate: "npm:^0.8.2"
token-types: "npm:^6.0.0"
checksum: 10/5b33268a7bc52a176182079582c0cc7729830cf23ae432a611f5190bfc445d7f7ee43320d0046973a72dd8bec5395c032f9975c581a8fe9dab90796ed584bee5
languageName: node
linkType: hard
"@tokenizer/token@npm:^0.3.0":
version: 0.3.0
resolution: "@tokenizer/token@npm:0.3.0"
@@ -21669,15 +21680,15 @@ __metadata:
languageName: node
linkType: hard
"file-type@npm:^19.5.0, file-type@npm:^19.6.0":
version: 19.6.0
resolution: "file-type@npm:19.6.0"
"file-type@npm:^20.0.0":
version: 20.0.0
resolution: "file-type@npm:20.0.0"
dependencies:
get-stream: "npm:^9.0.1"
strtok3: "npm:^9.0.1"
"@tokenizer/inflate": "npm:^0.2.6"
strtok3: "npm:^10.0.1"
token-types: "npm:^6.0.0"
uint8array-extras: "npm:^1.3.0"
checksum: 10/db9221cbbfee7345688dd330dbd16482a97b570a84cd511eba14fe49ecb1fa60f80fd859b577f67b90621a048e05a0ddb073222e97cb3bd27f930d6f1b8a544c
uint8array-extras: "npm:^1.4.0"
checksum: 10/d68ab8d445e5fd5f9f48894392db9700a47f68b240917122a93909f3d2d0d79b91399f1098e19491a5d69394af1a210ba169ba90c929f78f7456a452c7265a85
languageName: node
linkType: hard
@@ -32369,13 +32380,13 @@ __metadata:
languageName: node
linkType: hard
"strtok3@npm:^9.0.1":
version: 9.1.1
resolution: "strtok3@npm:9.1.1"
"strtok3@npm:^10.0.1":
version: 10.0.1
resolution: "strtok3@npm:10.0.1"
dependencies:
"@tokenizer/token": "npm:^0.3.0"
peek-readable: "npm:^5.3.1"
checksum: 10/1800693f749911bc6b4162d935690488609803825a5dcd8ef8133988b1568ae4ddf09b70b69b51bb2bf328f5b491189970287d06a482155b13fdbbef53c5756a
checksum: 10/0f818cc505064b5a438c81bab62ef14ee3e116f6c4abf3f1d56ff32b34dce4b3141d7177ab9497ee6eb0d3a10dd6aa3c66166ee3648c18f0d62cf4cb4e3b04e7
languageName: node
linkType: hard
@@ -33592,7 +33603,7 @@ __metadata:
languageName: node
linkType: hard
"uint8array-extras@npm:^1.3.0":
"uint8array-extras@npm:^1.4.0":
version: 1.4.0
resolution: "uint8array-extras@npm:1.4.0"
checksum: 10/4d2955d67c112e5ebaa4901272a75fc9ad14902c40f05a178b01e32387aa2702b6840472d931a1ca16e068ac59013c7d9ee2b4b2f141c4e73ba4bc7456490599