From 908afe19ee7afd472c5417c63ea4230cfe2dba2d Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Thu, 16 Jan 2025 10:08:13 +0000 Subject: [PATCH] chore: bump up file-type version to v20 (#9731) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
sindresorhus/file-type (file-type) ### [`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 ([#​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 ([#​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` ([#​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 ([#​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`) ([#​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 ([#​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 ([#​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) ([#​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) ([#​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`) ([#​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`) ([#​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` ([#​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 ([#​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 ([#​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 ([#​705](https://redirect.github.com/sindresorhus/file-type/issues/705)) [`7d4dd8d`](https://redirect.github.com/sindresorhus/file-type/commit/7d4dd8d) ***
--- ### 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. --- - [ ] 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). --- .../affine/block-attachment/package.json | 2 +- blocksuite/affine/block-image/package.json | 2 +- blocksuite/blocks/package.json | 2 +- blocksuite/framework/store/package.json | 2 +- packages/frontend/core/package.json | 2 +- yarn.lock | 45 ++++++++++++------- 6 files changed, 33 insertions(+), 22 deletions(-) diff --git a/blocksuite/affine/block-attachment/package.json b/blocksuite/affine/block-attachment/package.json index 7f98d964aa..20d185e2ea 100644 --- a/blocksuite/affine/block-attachment/package.json +++ b/blocksuite/affine/block-attachment/package.json @@ -27,7 +27,7 @@ "@lit/context": "^1.1.2", "@preact/signals-core": "^1.8.0", "@toeverything/theme": "^1.1.3", - "file-type": "^19.5.0", + "file-type": "^20.0.0", "lit": "^3.2.0", "minimatch": "^10.0.1", "zod": "^3.23.8" diff --git a/blocksuite/affine/block-image/package.json b/blocksuite/affine/block-image/package.json index 665caa5bc9..997e55ba45 100644 --- a/blocksuite/affine/block-image/package.json +++ b/blocksuite/affine/block-image/package.json @@ -25,7 +25,7 @@ "@lit/context": "^1.1.2", "@preact/signals-core": "^1.8.0", "@toeverything/theme": "^1.1.3", - "file-type": "^19.5.0", + "file-type": "^20.0.0", "lit": "^3.2.0", "minimatch": "^10.0.1", "zod": "^3.23.8" diff --git a/blocksuite/blocks/package.json b/blocksuite/blocks/package.json index 7f7a534d6a..a4bd775d7a 100644 --- a/blocksuite/blocks/package.json +++ b/blocksuite/blocks/package.json @@ -50,7 +50,7 @@ "date-fns": "^4.0.0", "dompurify": "^3.1.6", "fflate": "^0.8.2", - "file-type": "^19.5.0", + "file-type": "^20.0.0", "fractional-indexing": "^3.2.0", "html2canvas": "^1.4.1", "katex": "^0.16.11", diff --git a/blocksuite/framework/store/package.json b/blocksuite/framework/store/package.json index 9d33310bca..69a48c4b40 100644 --- a/blocksuite/framework/store/package.json +++ b/blocksuite/framework/store/package.json @@ -19,7 +19,7 @@ "@blocksuite/sync": "workspace:*", "@preact/signals-core": "^1.8.0", "@types/lodash.ismatch": "^4.4.9", - "file-type": "^19.5.0", + "file-type": "^20.0.0", "lib0": "^0.2.97", "lodash.clonedeep": "^4.5.0", "lodash.ismatch": "^4.4.0", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index be239cb553..b4c5c682ed 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -48,7 +48,7 @@ "cmdk": "^1.0.4", "core-js": "^3.39.0", "dayjs": "^1.11.13", - "file-type": "^19.6.0", + "file-type": "^20.0.0", "filesize": "^10.1.6", "foxact": "^0.2.43", "fuse.js": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index 37269099f2..8422c554f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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