[Snyk] Upgrade slate-react from 0.82.2 to 0.117.4 #2014
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade slate-react from 0.82.2 to 0.117.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 227 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: slate-react
Patch Changes
ef76eb46
Thanks @ 12joan! - ExportdefaultScrollSelectionIntoView
Patch Changes
5a20ea3a
Thanks @ bibixx! - Fix Android cursor jumping to word start after autocorrectPatch Changes
06b21fdc
Thanks @ nabbydude! - Fixed issue on android where deleting forward at the end of a block would delete the first character in the next block instead of the linebreakPatch Changes
47da9bf4
Thanks @ zbeyens! - Fixes #5900Minor Changes
fb87646e
Thanks @ 12joan! - - Implement experimental chunking optimization (disabled by default, see https://docs.slatejs.org/walkthroughs/09-performance).useElement
anduseElementIf
hooks to get the current element.decorate
function is changed.decorate
is a pure function of the node passed into it. Depending on the node's parent may result in decorations not being recomputed when you expect them to be.decorate
function to work on the node's parent instead.decorate
function decorates acode-line
based on the parentcode-block
's language, decorate thecode-block
instead.slate-react
, the decorations of all siblings were recomputed when one sibling was modified.slate-dom
version to0.116.0
.useSlateWithV
hookuseSlate
,useSelected
and decorations to reduce re-renders.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: