mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +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:
Vendored
+2
-2
@@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/store": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/global": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/store": "0.16.0-canary-202407290703-75a91ff",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"vitest": "1.6.0"
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/global": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/store": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/global": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/store": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@datastructures-js/binary-search-tree": "^5.3.2",
|
||||
"foxact": "^0.2.33",
|
||||
"fuse.js": "^7.0.0",
|
||||
@@ -34,8 +34,8 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"async-call-rpc": "^6.4.0",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
|
||||
@@ -78,12 +78,12 @@
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@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/presets": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/store": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/store": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@storybook/addon-actions": "^7.6.17",
|
||||
"@storybook/addon-essentials": "^7.6.17",
|
||||
"@storybook/addon-interactions": "^7.6.17",
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/native": "workspace:*",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/store": "0.16.0-canary-202407250137-267cd23",
|
||||
"@blocksuite/block-std": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@blocksuite/store": "0.16.0-canary-202407290703-75a91ff",
|
||||
"@electron-forge/cli": "^7.3.0",
|
||||
"@electron-forge/core": "^7.3.0",
|
||||
"@electron-forge/core-utils": "^7.3.0",
|
||||
|
||||
Reference in New Issue
Block a user