mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
Upgrade immer to 7.0.0 (#3850)
This commit is contained in:
committed by
GitHub
parent
d22c76ae13
commit
79e02e881f
@@ -14,7 +14,7 @@
|
||||
"dist/"
|
||||
],
|
||||
"dependencies": {
|
||||
"immer": "^5.0.0",
|
||||
"immer": "^7.0.0",
|
||||
"is-plain-object": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@@ -16,7 +16,7 @@
|
||||
"dependencies": {
|
||||
"@types/esrever": "^0.2.0",
|
||||
"esrever": "^0.2.0",
|
||||
"immer": "^5.0.0",
|
||||
"immer": "^7.0.0",
|
||||
"is-plain-object": "^3.0.0",
|
||||
"tiny-warning": "^1.0.3"
|
||||
},
|
||||
|
@@ -292,7 +292,7 @@ export const Node: NodeInterface = {
|
||||
)
|
||||
}
|
||||
|
||||
const newRoot = produce(root, r => {
|
||||
const newRoot = produce({ children: root.children }, r => {
|
||||
const [start, end] = Range.edges(range)
|
||||
const nodeEntries = Node.nodes(r, {
|
||||
reverse: true,
|
||||
|
@@ -5693,10 +5693,10 @@ image-extensions@^1.1.0:
|
||||
resolved "https://registry.yarnpkg.com/image-extensions/-/image-extensions-1.1.0.tgz#b8e6bf6039df0056e333502a00b6637a3105d894"
|
||||
integrity sha1-uOa/YDnfAFbjM1AqALZjejEF2JQ=
|
||||
|
||||
immer@^5.0.0:
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-5.3.6.tgz#51eab8cbbeb13075fe2244250f221598818cac04"
|
||||
integrity sha512-pqWQ6ozVfNOUDjrLfm4Pt7q4Q12cGw2HUZgry4Q5+Myxu9nmHRkWBpI0J4+MK0AxbdFtdMTwEGVl7Vd+vEiK+A==
|
||||
immer@^7.0.0:
|
||||
version "7.0.7"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-7.0.7.tgz#9dfe713d49bf871cc59aedfce59b1992fa37a977"
|
||||
integrity sha512-Q8yYwVADJXrNfp1ZUAh4XDHkcoE3wpdpb4mC5abDSajs2EbW8+cGdPyAnglMyLnm7EF6ojD2xBFX7L5i4TIytw==
|
||||
|
||||
import-fresh@^2.0.0:
|
||||
version "2.0.0"
|
||||
|
Reference in New Issue
Block a user