Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update codemirror #270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(deps): update codemirror #270

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/commands 6.3.2 -> 6.6.0 age adoption passing confidence
@codemirror/lang-javascript 6.2.1 -> 6.2.2 age adoption passing confidence
@codemirror/language 6.9.3 -> 6.10.2 age adoption passing confidence
@codemirror/state 6.3.2 -> 6.4.1 age adoption passing confidence
@codemirror/view 6.22.1 -> 6.27.0 age adoption passing confidence

Release Notes

codemirror/commands (@​codemirror/commands)

v6.6.0

Compare Source

New features

The new toggleTabFocusMode and temporarilySetTabFocusMode commands provide control over the view's tab-focus mode.

The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to toggleTabFocusMode.

v6.5.0

Compare Source

New features

The insertNewlineKeepIndent command inserts a newline along with the same indentation as the line before.

v6.4.0

Compare Source

Bug fixes

Fix an issue where deleteLine sometimes leaves the cursor on the wrong line.

New features

The new deleteCharBackwardStrict command just deletes a character, without further smart behavior around indentation.

v6.3.3

Compare Source

Bug fixes

Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.

codemirror/lang-javascript (@​codemirror/lang-javascript)

v6.2.2

Compare Source

Bug fixes

Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.

codemirror/language (@​codemirror/language)

v6.10.2

Compare Source

Bug fixes

Fix an infinite loop that could occur when enabling bidiIsolates in documents with both bidirectional text and very long lines.

v6.10.1

Compare Source

Bug fixes

Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame.

v6.10.0

Compare Source

New features

The new bidiIsolates extension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries.

codemirror/state (@​codemirror/state)

v6.4.1

Compare Source

Bug fixes

Fix an issue that caused widgets at the end of a mark decoration to be rendered in their own separate mark DOM element.

v6.4.0

Compare Source

Bug fixes

When multiple ranges in a single range set overlap, put the smaller ones inside the bigger ones, so that overlapping decorations don't break up each other's elements when coming from the same source.

New features

Selection and selection range eq methods now support an optional argument that makes them also compare by cursor associativity.

The RangeSet.join function can be used to join multiple range sets together.

v6.3.3

Compare Source

Bug fixes

Fix an issue where Text.slice and Text.replace could return objects with incorrect length when the given from/to values were out of range for the text.

codemirror/view (@​codemirror/view)

v6.27.0

Compare Source

New features

The new setTabFocusMode method can be used to control whether the editor disables key bindings for Tab and Shift-Tab.

v6.26.4

Compare Source

Bug fixes

Fix an issue where commands with an optional second argument would get the keyboard event in that argument when called from a keymap.

Fix an issue that could cause the cursor to be rendered on the wrong side of a zero-length block widget.

Fix an issue where drawSelection got confused by block widgets in line-wrapped editors in some situations.

Don't hide the native selection in widgets that have focus.

Make sure that clicking an unfocusable editor still remove focus from any other focused elements.

Fix a crash when loading the package in a non-browser environment.

Stop mouse selection when the user types.

v6.26.3

Compare Source

Bug 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.

v6.26.2

Compare Source

Bug fixes

Improve behavior of scrollPastEnd in a scaled editor.

When available, use Selection.getComposedRanges on 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.

v6.26.1

Compare Source

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.

v6.26.0

Compare Source

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.scrollHandler facet can be used to override or extend the behavior of the editor when things are scrolled into view.

v6.25.1

Compare Source

Bug fixes

Fix accidental non-optional field in layer config objects.

v6.25.0

Compare Source

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 docViewUpdate method that is called whenever the document view is updated.

Layers now take a updateOnDocUpdate option that controls whether they are automatically updated when the document view changes.

v6.24.1

Compare Source

Bug fixes

Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0.

v6.24.0

Compare Source

Bug fixes

Fix an issue that broke context-menu select-all on Chrome when the viewport didn't cover the whole document.

Make sure tooltips are ordered by extension precedence in the DOM.

New features

Hover tooltip sources may now return multiple tooltips.

v6.23.1

Compare Source

Bug fixes

Fix a bug that caused Tooltip.above to not take effect for tooltips that were already present when the tooltip plugin is initialized.

Automatically reposition tooltips when their size changes.

v6.23.0

Compare Source

Bug fixes

Work around odd iOS Safari behavior when doing select all.

Fix a composition interruption when an widget is inserted next to the cursor.

Fix a crash in bidirectional cursor motion.

Simplify visual motion through bidirectional text, fix several corner cases where it would work badly.

Fix a bug that broke some bidi isolates not on the first line of the document.

New features

EditorView.bidiIsolatedRanges now supports automatically determining the direction of the range if not provided by the decoration.

EditorView.visualLineSide can be used to find the visual end or start of a line with bidirectional text.

The new EditorView.outerDecorations facet can be used to provide decorations that should always be at the bottom of the precedence stack.

v6.22.3

Compare Source

Bug fixes

Fix a bug that could cause tooltips to be unnecessarily be positioned absolutely.

Make sure that, when an editor creates tooltips immediately on initialization, the editor is attached to the document when their mount callback is called.

v6.22.2

Compare Source

Bug fixes

Fix an issue in the bidirectional motion that could cause the cursor to get stuck in a loop when a zero-width non-joiner char was placed on a direction boundary.

Fix a bug that corrupts the editor's internal view tree data structure on some types of edits, putting the editor in a broken state.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency @codemirror/state to v6.3.3 chore(deps): update codemirror Dec 8, 2023
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 3b60dec to c3a7e5a Compare December 14, 2023 20:19
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 69540f3 to d28b3d6 Compare February 9, 2024 10:31
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from d578152 to 648d9c6 Compare February 25, 2024 09:32
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from a27ca73 to aad4a72 Compare March 6, 2024 12:43
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 51993ac to 85b9a1b Compare March 14, 2024 12:20
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 2f59b52 to eebf3ee Compare March 24, 2024 14:29
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from 487e9f0 to 7ec72d5 Compare April 14, 2024 11:29
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from 07364a3 to 87950d1 Compare April 21, 2024 08:32
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from b638ef3 to 26039ea Compare June 4, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants