[Snyk] Upgrade @codemirror/view from 6.16.0 to 6.26.3 #2
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.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade @codemirror/view from 6.16.0 to 6.26.3.
ℹ️ 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 27 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: @codemirror/view
-
6.26.3 - 2024-04-12
-
6.26.2 - 2024-04-09
-
6.26.1 - 2024-03-28
-
6.26.0 - 2024-03-14
-
6.25.1 - 2024-03-06
-
6.25.0 - 2024-03-04
-
6.24.1 - 2024-02-19
-
6.24.0 - 2024-02-09
-
6.23.1 - 2024-01-24
-
6.23.0 - 2023-12-28
-
6.22.3 - 2023-12-13
-
6.22.2 - 2023-12-08
-
6.22.1 - 2023-11-27
-
6.22.0 - 2023-11-03
-
6.21.4 - 2023-10-24
-
6.21.3 - 2023-10-06
-
6.21.2 - 2023-10-02
-
6.21.1 - 2023-10-02
-
6.21.0 - 2023-09-29
-
6.20.2 - 2023-09-25
-
6.20.1 - 2023-09-22
-
6.20.0 - 2023-09-20
-
6.19.0 - 2023-09-14
-
6.18.1 - 2023-09-11
-
6.18.0 - 2023-09-05
-
6.17.1 - 2023-08-31
-
6.17.0 - 2023-08-28
-
6.16.0 - 2023-07-31
from @codemirror/view GitHub release notesBug fixes
Fix an issue where dispatching an update to an editor before it measured itself for the first time could cause the scroll position to incorrectly move.
Fix a crash when multiple tooltips with arrows are shown.
Bug fixes
Improve behavior of
scrollPastEndin a scaled editor.When available, use
Selection.getComposedRangeson Safari to find the selection inside a shadow DOM.Remove the workaround that avoided inappropriate styling on composed text after a decoration again, since it breaks the stock Android virtual keyboard.
Bug fixes
Fix the editor getting stuck in composition when Safari fails to fire a compositionend event for a dead key composition.
Fix an issue where, with IME systems that kept the cursor at the start of the composed text, the editor misidentified the target node and disrupted composition.
Fix a bug where in a line-wrapped editor, with some content, the initial scroll position would be off from the top of the document.
Bug fixes
Avoid the editor getting confused when iOS autocorrects on pressing Enter and does the correction and the break insertion in two different events.
Fix the pasting of copied URIs in iOS.
Fix a bug where a scaled editor could keep performing unnecessary updates due to tiny differences in geometry values returned by the browser.
Fix a bug where, on iOS with a physical keyboard, the modifiers for some keys weren't being passed to the keymaps.
Work around the fact that Mobile Safari makes DOM changes before firing a key event when typing ctrl-d on an external keyboard.
Fix an issue where some commands didn't properly scroll the cursor into view on Mobile Safari.
Re-measure the document when print settings are changed on Chrome.
New features
The
EditorView.scrollHandlerfacet can be used to override or extend the behavior of the editor when things are scrolled into view.Bug fixes
Fix accidental non-optional field in layer config objects.
Bug fixes
Properly recognize Android GBoard enter presses that strip a space at the end of the line as enter.
Fix a bug that caused the gutter to have the wrong height when the editor was scaled after construction.
When starting a composition after a non-inclusive mark decoration, temporarily insert a widget that prevents the composed text from inheriting that mark's styles.
Make sure the selection is repositioned when a transaction changes decorations without changing the document.
New features
View plugins can now provide a
docViewUpdatemethod that is called whenever the document view is updated.Layers now take a
updateOnDocUpdateoption that controls whether they are automatically updated when the document view changes.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: