diff --git a/packages/basic-modules/package.json b/packages/basic-modules/package.json index 4fe1a97d2..4daeb3875 100644 --- a/packages/basic-modules/package.json +++ b/packages/basic-modules/package.json @@ -44,7 +44,7 @@ "dom7": "^3.0.0", "lodash.throttle": "^4.1.1", "nanoid": "^5.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" }, "dependencies": { diff --git a/packages/code-highlight/package.json b/packages/code-highlight/package.json index 8968b9b2b..a204e6da4 100644 --- a/packages/code-highlight/package.json +++ b/packages/code-highlight/package.json @@ -42,7 +42,7 @@ "peerDependencies": { "@wangeditor-next/core": "1.x", "dom7": "^3.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" }, "dependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index 2fcee36c4..247483dab 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -52,7 +52,7 @@ "lodash.throttle": "^4.1.1", "lodash.toarray": "^4.4.0", "nanoid": "^5.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" }, "dependencies": { diff --git a/packages/editor/package.json b/packages/editor/package.json index 7ee6125b3..0aecd78eb 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -67,7 +67,7 @@ "lodash.throttle": "^4.1.1", "lodash.toarray": "^4.4.0", "nanoid": "^5.0.0", - "slate": "^0.72.0", + "slate": "^0.103.0", "snabbdom": "^3.1.0" } } diff --git a/packages/list-module/package.json b/packages/list-module/package.json index 44e6c5f8a..31bd95679 100644 --- a/packages/list-module/package.json +++ b/packages/list-module/package.json @@ -42,7 +42,7 @@ "peerDependencies": { "@wangeditor-next/core": "1.x", "dom7": "^3.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" } } diff --git a/packages/table-module/package.json b/packages/table-module/package.json index 4d88951c4..15c9b0c5a 100644 --- a/packages/table-module/package.json +++ b/packages/table-module/package.json @@ -46,7 +46,7 @@ "lodash.isequal": "^4.5.0", "lodash.throttle": "^4.1.1", "nanoid": "^5.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" } } diff --git a/packages/upload-image-module/package.json b/packages/upload-image-module/package.json index 5da4e203a..fe5be5db4 100644 --- a/packages/upload-image-module/package.json +++ b/packages/upload-image-module/package.json @@ -46,7 +46,7 @@ "@wangeditor-next/core": "1.x", "dom7": "^3.0.0", "lodash.foreach": "^4.5.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" } } diff --git a/packages/video-module/package.json b/packages/video-module/package.json index 70523296a..178bbd33e 100644 --- a/packages/video-module/package.json +++ b/packages/video-module/package.json @@ -45,7 +45,7 @@ "@wangeditor-next/core": "1.x", "dom7": "^3.0.0", "nanoid": "^5.0.0", - "slate": "^0.72.0", + "slate": "^0.72.0 || ^0.103.0", "snabbdom": "^3.1.0" } } diff --git a/packages/yjs/package.json b/packages/yjs/package.json index d675bf4fd..7e0513467 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -33,7 +33,7 @@ }, "license": "MIT", "devDependencies": { - "slate": "^0.72.0", + "slate": "^0.103.0", "slate-hyperscript": "^0.67.0", "tsup": "^5.12.1", "typescript": "^4.6.3", diff --git a/yarn.lock b/yarn.lock index ad59877eb..8b36518a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7384,10 +7384,10 @@ image-size@~0.5.0: resolved "https://registry.npmmirror.com/image-size/download/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" integrity sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w= -immer@^9.0.6: - version "9.0.7" - resolved "https://registry.npmmirror.com/immer/download/immer-9.0.7.tgz#b6156bd7db55db7abc73fd2fdadf4e579a701075" - integrity sha512-KGllzpbamZDvOIxnmJ0jI840g7Oikx58lBPWV0hUh7dtAyZpFqqrBZdKka5GlTwMTZ1Tjc/bKKW4VSFAt6BqMA== +immer@^10.0.3: + version "10.1.1" + resolved "https://registry.npmmirror.com/immer/-/immer-10.1.1.tgz#206f344ea372d8ea176891545ee53ccc062db7bc" + integrity sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw== import-cwd@3.0.0, import-cwd@^3.0.0: version "3.0.0" @@ -12147,12 +12147,12 @@ slate-hyperscript@^0.67.0: dependencies: is-plain-object "^5.0.0" -slate@^0.72.0: - version "0.72.0" - resolved "https://registry.npmmirror.com/slate/download/slate-0.72.0.tgz#509b4fd06a13eab6c19ea28aa4f1848064e4c61b" - integrity sha512-PdyMSxsv6ZOeoPp/tKb3mCfn7jWdtnavKzzuVrTYbydOIubYq60N9D3kJRcvR7Z86kxIOzu1ZXB8vsUzy30/vg== +slate@^0.103.0: + version "0.103.0" + resolved "https://registry.npmmirror.com/slate/-/slate-0.103.0.tgz#deaf1148dd9a2a5a71d4bc71c8005f5468b67079" + integrity sha512-eCUOVqUpADYMZ59O37QQvUdnFG+8rin0OGQAXNHvHbQeVJ67Bu0spQbcy621vtf8GQUXTEQBlk6OP9atwwob4w== dependencies: - immer "^9.0.6" + immer "^10.0.3" is-plain-object "^5.0.0" tiny-warning "^1.0.3"