diff --git a/packages/basic-modules/package.json b/packages/basic-modules/package.json index 684432f03..e3c0335d1 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 25230fda0..9bcad7713 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 3aaa95ad7..ce82bfdde 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 bd7993aaf..eae997aa7 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 30fdc69b2..812e01de2 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 1f9ccaf31..01eaca0a5 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 b97d8b584..5a60f799e 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 71fa87166..c9212db85 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/yarn.lock b/yarn.lock index 7b3ed924f..7a7f5fab5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7152,10 +7152,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" @@ -11812,12 +11812,12 @@ slate-history@^0.66.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"