There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: downgrade swr to `2.2.0`
Alex Yang12aef95ba2f9
diff --git a/apps/core/package.json b/apps/core/package.jsonindex 4b818a0551..ab3e279544 100644--- a/apps/core/package.json+++ b/apps/core/package.json@@ -63,7 +63,7 @@"react-router-dom": "^6.15.0","rxjs": "^7.8.1","ses": "^0.18.7",- "swr": "^2.2.2",+ "swr": "2.2.0","valtio": "^1.11.2","y-protocols": "^1.0.5","yjs": "^13.6.7",diff --git a/packages/workspace/package.json b/packages/workspace/package.jsonindex efe80c3bac..d350e4caff 100644--- a/packages/workspace/package.json+++ b/packages/workspace/package.json@@ -30,7 +30,7 @@"react": "18.2.0","react-dom": "18.2.0","socket.io-client": "^4.7.1",- "swr": "^2.2.2",+ "swr": "2.2.0","y-protocols": "^1.0.5","yjs": "^13.6.7","zod": "^3.22.2"diff --git a/plugins/image-preview/package.json b/plugins/image-preview/package.jsonindex d22afb93d0..e847eada07 100644--- a/plugins/image-preview/package.json+++ b/plugins/image-preview/package.json@@ -22,7 +22,7 @@"clsx": "^2.0.0","foxact": "^0.2.20","react-error-boundary": "^4.0.11",- "swr": "^2.2.2"+ "swr": "2.2.0"},"devDependencies": {"@affine/plugin-cli": "workspace:*"diff --git a/yarn.lock b/yarn.lockindex a0a68ca757..57bbb89bbf 100644--- a/yarn.lock+++ b/yarn.lock@@ -297,7 +297,7 @@ __metadata:style-loader: ^3.3.3swc-loader: ^0.2.3swc-plugin-coverage-instrument: ^0.0.20- swr: ^2.2.2+ swr: 2.2.0thread-loader: ^4.0.2valtio: ^1.11.2webpack: ^5.88.2@@ -469,7 +469,7 @@ __metadata:clsx: ^2.0.0foxact: ^0.2.20react-error-boundary: ^4.0.11- swr: ^2.2.2+ swr: 2.2.0languageName: unknownlinkType: soft@@ -837,7 +837,7 @@ __metadata:react: 18.2.0react-dom: 18.2.0socket.io-client: ^4.7.1- swr: ^2.2.2+ swr: 2.2.0ws: ^8.13.0y-protocols: ^1.0.5yjs: ^13.6.7@@ -31980,15 +31980,14 @@ __metadata:languageName: nodelinkType: hard-"swr@npm:^2.2.2":- version: 2.2.2- resolution: "swr@npm:2.2.2"+"swr@npm:2.2.0":+ version: 2.2.0+ resolution: "swr@npm:2.2.0"dependencies:- client-only: ^0.0.1use-sync-external-store: ^1.2.0peerDependencies:react: ^16.11.0 || ^17.0.0 || ^18.0.0- checksum: afb3d4824f7631bc3a045483f4e4beb5ca9bfa82b64690b3d1133cdf0666ad8e4a9a879657fac5b34dbf19ea9a1503cf92c9bde972f3d40cefe434c73bd9627a+ checksum: 1f04795ff9dff54987cbf8a544afc9e42d1350a99e899be8a7cdc4885f561e3ee464f78245ee2ebc8ced262b04023d134f731e276227319dc2d6e1843389ddd8languageName: nodelinkType: hard