From 0f19a506acbca6812acaf7a30988cf351d6e4548 Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Sat, 24 May 2025 02:55:25 +0000 Subject: [PATCH] chore: bump up file-type version to v21 (#12500) 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) | [`^20.0.0` -> `^21.0.0`](https://renovatebot.com/diffs/npm/file-type/20.5.0/21.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/file-type/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/file-type/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/file-type/20.5.0/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/file-type/20.5.0/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sindresorhus/file-type (file-type) ### [`v21.0.0`](https://redirect.github.com/sindresorhus/file-type/releases/tag/v21.0.0) [Compare Source](https://redirect.github.com/sindresorhus/file-type/compare/v20.5.0...v21.0.0) ##### Breaking - Require Node.js 20 [`24aec1f`](https://redirect.github.com/sindresorhus/file-type/commit/24aec1f) - Drop Adobe Illustrator (.ai) detection support ([#​743](https://redirect.github.com/sindresorhus/file-type/issues/743)) [`af169f3`](https://redirect.github.com/sindresorhus/file-type/commit/af169f3) - Correct Matroska (video) MIME-type to formal IANA registration ([#​753](https://redirect.github.com/sindresorhus/file-type/issues/753)) [`f53f5ff`](https://redirect.github.com/sindresorhus/file-type/commit/f53f5ff) - Correct FLAC MIME-type to formal IANA registration ([#​755](https://redirect.github.com/sindresorhus/file-type/issues/755)) [`b9fda36`](https://redirect.github.com/sindresorhus/file-type/commit/b9fda36) - Correct Apache Parquet MIME-type to formal IANA registration ([#​748](https://redirect.github.com/sindresorhus/file-type/issues/748)) [`98e3f8e`](https://redirect.github.com/sindresorhus/file-type/commit/98e3f8e) - Correct Apache Arrow MIME-type to formal IANA registration ([#​754](https://redirect.github.com/sindresorhus/file-type/issues/754)) [`7184775`](https://redirect.github.com/sindresorhus/file-type/commit/7184775) ##### Improvements - Allow options to be directly passed to exported functions ([#​752](https://redirect.github.com/sindresorhus/file-type/issues/752)) [`d264029`](https://redirect.github.com/sindresorhus/file-type/commit/d264029) - Add `mpegOffsetTolerance` option ([#​646](https://redirect.github.com/sindresorhus/file-type/issues/646)) [`c40840a`](https://redirect.github.com/sindresorhus/file-type/commit/c40840a) ##### Fixes - Fix detection of some PAX TAR formats ([#​762](https://redirect.github.com/sindresorhus/file-type/issues/762)) [`574d0d6`](https://redirect.github.com/sindresorhus/file-type/commit/574d0d6) ***
--- ### 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 this update 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/blocks/attachment/package.json | 2 +- blocksuite/affine/blocks/image/package.json | 2 +- blocksuite/framework/store/package.json | 2 +- packages/frontend/core/package.json | 2 +- yarn.lock | 24 ++++++++++++++----- 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/blocksuite/affine/blocks/attachment/package.json b/blocksuite/affine/blocks/attachment/package.json index b72c16e04..91e6453b7 100644 --- a/blocksuite/affine/blocks/attachment/package.json +++ b/blocksuite/affine/blocks/attachment/package.json @@ -24,7 +24,7 @@ "@lit/context": "^1.1.2", "@preact/signals-core": "^1.8.0", "@toeverything/theme": "^1.1.14", - "file-type": "^20.0.0", + "file-type": "^21.0.0", "lit": "^3.2.0", "minimatch": "^10.0.1", "rxjs": "^7.8.1", diff --git a/blocksuite/affine/blocks/image/package.json b/blocksuite/affine/blocks/image/package.json index 62596a28d..7bd8de3a6 100644 --- a/blocksuite/affine/blocks/image/package.json +++ b/blocksuite/affine/blocks/image/package.json @@ -26,7 +26,7 @@ "@lit/context": "^1.1.2", "@preact/signals-core": "^1.8.0", "@toeverything/theme": "^1.1.14", - "file-type": "^20.0.0", + "file-type": "^21.0.0", "lit": "^3.2.0", "minimatch": "^10.0.1", "rxjs": "^7.8.1", diff --git a/blocksuite/framework/store/package.json b/blocksuite/framework/store/package.json index 86bf003a1..b9e04db44 100644 --- a/blocksuite/framework/store/package.json +++ b/blocksuite/framework/store/package.json @@ -14,7 +14,7 @@ "@blocksuite/sync": "workspace:*", "@preact/signals-core": "^1.8.0", "@types/lodash.ismatch": "^4.4.9", - "file-type": "^20.0.0", + "file-type": "^21.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 cb5af9413..1bad98de9 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -49,7 +49,7 @@ "core-js": "^3.39.0", "dayjs": "^1.11.13", "eventemitter2": "^6.4.9", - "file-type": "^20.0.0", + "file-type": "^21.0.0", "filesize": "^10.1.6", "foxact": "^0.2.43", "fuse.js": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index a0ecd4e38..2d04cdc35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -441,7 +441,7 @@ __metadata: dayjs: "npm:^1.11.13" eventemitter2: "npm:^6.4.9" fake-indexeddb: "npm:^6.0.0" - file-type: "npm:^20.0.0" + file-type: "npm:^21.0.0" filesize: "npm:^10.1.6" foxact: "npm:^0.2.43" fuse.js: "npm:^7.0.0" @@ -2413,7 +2413,7 @@ __metadata: "@lit/context": "npm:^1.1.2" "@preact/signals-core": "npm:^1.8.0" "@toeverything/theme": "npm:^1.1.14" - file-type: "npm:^20.0.0" + file-type: "npm:^21.0.0" lit: "npm:^3.2.0" minimatch: "npm:^10.0.1" rxjs: "npm:^7.8.1" @@ -2733,7 +2733,7 @@ __metadata: "@lit/context": "npm:^1.1.2" "@preact/signals-core": "npm:^1.8.0" "@toeverything/theme": "npm:^1.1.14" - file-type: "npm:^20.0.0" + file-type: "npm:^21.0.0" lit: "npm:^3.2.0" minimatch: "npm:^10.0.1" rxjs: "npm:^7.8.1" @@ -4393,7 +4393,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:^20.0.0" + file-type: "npm:^21.0.0" lib0: "npm:^0.2.97" lodash.clonedeep: "npm:^4.5.0" lodash.ismatch: "npm:^4.4.0" @@ -14680,7 +14680,7 @@ __metadata: languageName: node linkType: hard -"@tokenizer/inflate@npm:^0.2.6": +"@tokenizer/inflate@npm:^0.2.6, @tokenizer/inflate@npm:^0.2.7": version: 0.2.7 resolution: "@tokenizer/inflate@npm:0.2.7" dependencies: @@ -21856,7 +21856,7 @@ __metadata: languageName: node linkType: hard -"file-type@npm:20.5.0, file-type@npm:^20.0.0": +"file-type@npm:20.5.0": version: 20.5.0 resolution: "file-type@npm:20.5.0" dependencies: @@ -21868,6 +21868,18 @@ __metadata: languageName: node linkType: hard +"file-type@npm:^21.0.0": + version: 21.0.0 + resolution: "file-type@npm:21.0.0" + dependencies: + "@tokenizer/inflate": "npm:^0.2.7" + strtok3: "npm:^10.2.2" + token-types: "npm:^6.0.0" + uint8array-extras: "npm:^1.4.0" + checksum: 10/6980e8b0ef870a98b51ab2eac5db94a1884de8476fe49dc02d2f7e0c1d1d7d44d42b6c59e67867ae90f321ddf4edd00fcfda01821591e2fa05385d0e438a9dc1 + languageName: node + linkType: hard + "file-uri-to-path@npm:1.0.0": version: 1.0.0 resolution: "file-uri-to-path@npm:1.0.0"