mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
feat: bump blocksuite (#7634)
## Features - https://github.com/toeverything/BlockSuite/pull/7704 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7733 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/7585 @fundon ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7749 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7745 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7737 @fundon - https://github.com/toeverything/BlockSuite/pull/7734 @fundon - https://github.com/toeverything/BlockSuite/pull/7735 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7730 @fourdim - https://github.com/toeverything/BlockSuite/pull/7718 @fourdim - https://github.com/toeverything/BlockSuite/pull/7723 @Flrande ## Refactor - https://github.com/toeverything/BlockSuite/pull/7738 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7731 @fourdim - https://github.com/toeverything/BlockSuite/pull/7732 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7724 @doouding - https://github.com/toeverything/BlockSuite/pull/7725 @doodlewind ## Misc - https://github.com/toeverything/BlockSuite/pull/7748 @doodlewind - https://github.com/toeverything/BlockSuite/pull/7721 @fundon - https://github.com/toeverything/BlockSuite/pull/7729 @fundon - https://github.com/toeverything/BlockSuite/pull/7728 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7595 @fundon
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
"@affine/graphql": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/global": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/global": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/icons": "2.1.61",
|
||||
"@blocksuite/inline": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/store": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/inline": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/store": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/modifiers": "^7.0.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
|
||||
@@ -8,7 +8,7 @@ export async function fetchImageToFile(
|
||||
): Promise<File | void> {
|
||||
try {
|
||||
const res = await fetchImage(url, undefined, imageProxy);
|
||||
if (res.ok) {
|
||||
if (res && res.ok) {
|
||||
let blob = await res.blob();
|
||||
if (!blob.type || !blob.type.startsWith('image/')) {
|
||||
blob = await convertToPng(blob).then(tmp => tmp || blob);
|
||||
|
||||
Reference in New Issue
Block a user