Skip to content

chore(deps): update codemirror#283

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/codemirror
Open

chore(deps): update codemirror#283
renovate[bot] wants to merge 1 commit intomainfrom
renovate/codemirror

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2026

This PR contains the following updates:

Package Change Age Confidence
@codemirror/autocomplete ^6.18.7^6.20.0 age confidence
@codemirror/commands ^6.8.1^6.10.2 age confidence
@codemirror/lang-markdown ^6.3.4^6.5.0 age confidence
@codemirror/language ^6.11.3^6.12.1 age confidence
@codemirror/language-data ^6.5.1^6.5.2 age confidence
@codemirror/search ^6.5.11^6.6.0 age confidence
@codemirror/state ^6.5.2^6.5.4 age confidence
@codemirror/view ^6.38.3^6.39.14 age confidence

Release Notes

codemirror/autocomplete (@​codemirror/autocomplete)

v6.20.0

Compare Source

New features

Completions now support a sortText property to influence sort order.

v6.19.1

Compare Source

Bug fixes

Make sure a completion's info panel is associated with that completion in the accessibility tree.

v6.19.0

Compare Source

New features

Completion sections may now set their rank to dynamic to indicate their order should be determined by the matching score of their best-matching option.

codemirror/commands (@​codemirror/commands)

v6.10.2

Compare Source

Bug fixes

Move the selection to a less surprising place when undoing, moving the selection, redoing, then undoing again.

v6.10.1

Compare Source

Bug fixes

Fix a bug where copyLineDown would leave the cursor on the wrong line when it was at the start of the line.

v6.10.0

Compare Source

New features

The new deleteGroupForwardWin command provides by-group forward deletion using the Windows convention.

v6.9.0

Compare Source

Bug fixes

Prevent the default behavior of backspace and delete keys, to prevent the browser from doing anything creative when there's nothing to delete.

New features

Implement new addCursorAbove and addCursorBelow commands. Bind them to Mod-Alt-ArrowUp/Down in the default keymap.

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

v6.5.0

Compare Source

New features

Add a variant of insertNewlineContinueMarkup that supports configuration options.

v6.4.0

Compare Source

New features

The new pasteURLAsLink extension allows you to paste URLs over a selection to quickly create a link.

codemirror/language (@​codemirror/language)

v6.12.1

Compare Source

Bug fixes

Improve finding inner language in syntax tree when the nested parse has been marked as bracketed.

v6.12.0

Compare Source

codemirror/language-data (@​codemirror/language-data)

v6.5.2

Compare Source

Bug fixes

Use the new @​codemirror/lang-jinja package for Jinja code.

Recognize more extensions for XQuery.

codemirror/search (@​codemirror/search)

v6.6.0

Compare Source

New features

Search queries now support a generic test field that can be used to implement custom tests on matches.

codemirror/state (@​codemirror/state)

v6.5.4

Compare Source

Bug fixes

Make SelectionRange.eq return false when the ranges have different goal columns.

v6.5.3

Compare Source

Bug fixes

Fix an issue where RangeValue.eq could get called with a value of a different class.

EditorState.charCategorizer now only uses the highest-precedence set of word characters from the language data, to allow overriding these.

codemirror/view (@​codemirror/view)

v6.39.14

Compare Source

Bug fixes

Improve performance of posAtCoords on long lines.

Fix a regression where copy and cut in a shadow DOM on Safari would fall back to the native behavior, often copying the wrong text.

v6.39.13

Compare Source

Bug fixes

Fix an issue where a widget at start or end of line, when wrapped to cover that whole line, could block vertical cursor motion.

Fix an issue EditorView.moveVertically that would sometimes cause selection-extending vertical motion to get stuck on line wrapping points.

v6.39.12

Compare Source

Bug fixes

Fix a bug where the visual selection drawn by drawSelection could fail to update properly in some circumstances.

Fix a bug where PageUp/PageDown near the edge of the viewport might completely skip to the start/end of the document.

Fix a regression that caused mark decorations to be split on text node chunk boundaries again.

v6.39.11

Compare Source

Bug fixes

Avoid handling copy events for parent editors.

v6.39.10

Compare Source

Bug fixes

Fix a regression in the way widget are reused when content next to them changes.

Make sure font metrics get recomputed on fonts.ready even if the line height doesn't change.

Fix an issue where compositions next to a widget that create a new text node could get needlessly interrupted during an editor update.

v6.39.9

Compare Source

Bug fixes

Fix a bug where EditorSelection.cursor() with a non-zero assoc value would not be visually respected at soft-wrap boundaries on initial view creation.

Fix error caused by hover tooltips running a scheduled timeout after their editor has been destroyed.

Fix a bug that caused EditorView.outerDecorations to not affect the content height map.

Fix an issue where composition near a widget could get unnecessarily interrupted.

v6.39.8

Compare Source

Bug fixes

Fix a bug that cause coordsAtPos to use the dimensions of widget buffers when there were more meaningful elements to use nearby.

Fix a data structure corruption that could cause crashes during viewport changes.

v6.39.7

Compare Source

Bug fixes

Fix a bug that could sometimes cause the document to become mangled during composition.

v6.39.6

Compare Source

Bug fixes

Fix an issue when composing on the boundary of a decoration, where the text after the composition would get garbled.

v6.39.5

Compare Source

Bug fixes

Fix an issue where replaced widgets alone on a line weren't reused and didn't get their updateDOM method called.

Fix a bug where, when selecting full lines at the end of the document and inserting a character on Chrome, an inappropriate extra newline was inserted.

v6.39.4

Compare Source

Bug fixes

Fix a bug where paste events handlers on Chrome could fail to run when pasting on a blank line.

Fix a regression causing the native cursor to get stuck before block widgets with side>0.

Fix a crash in content DOM building after a block widget.

Fix a bug in posAtCoords that would in some circumstances make it return positions on the wrong side of a block widget.

v6.39.3

Compare Source

Bug fixes

Fix a bug that could corrupt the rendered document in some situations involving adjacent mark decorations of the same type.

v6.39.2

Compare Source

Bug fixes

Fix an issue where moveVertially was sometimes unable to escape lines with thick borders or padding.

v6.39.1

Compare Source

Bug fixes

Restore a workaround for a Chrome selection bug that had regressed in the previous release.

v6.39.0

Compare Source

Bug fixes

Properly handle bidirectional text in posAtCoords.

Avoid computing a zero character width (leading to divisions by zero) when the editor is hidden and the browser doesn't have a layout for it.

New features

The posAndSideAtCoords method is an extended version of posAtCoords that also tells you which side of the position the coordinates are associated with.

Add support for block wrappers, decoration-like things that allow extension code to create DOM nodes around groups of lines.

v6.38.8

Compare Source

Bug fixes

Improve handling of composition with multiple cursors on MacOS.

Fix an issue where computing a document position from screen coordinates would sometimes go wrong in right-to-left text.

v6.38.7

Compare Source

Bug fixes

Make detection of transformed tooltip parent elements (forcing absolute positioning) more robust on current browsers.

Avoid an issue where on Chrome and Safari, typing over a cross-line selection can replace widgets on the line after the selection with their plain text content.

Fix a bug that broke insertion of composed input at multiple cursors when the IME keeps the selection at the start of the composed text.

v6.38.6

Compare Source

Bug fixes

Work around a regression in Safari 26 that causes fragments of old selections to remain visible.

v6.38.5

Compare Source

Bug fixes

Avoid firing text changes that cover unchanged text on Android.

Fix an issue where the editor could, in some circumstances, insert a stray newline when typing over a document that ended in a block widget.

Work around an issue in Safari 26 that causes inappropriate scrolling on focus in some circumstances.

v6.38.4

Compare Source

Bug fixes

Work around a Chrome Android issue where the browser doesn't properly fire composition end events, leaving CodeMirror to believe the user was still composing.


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Relates to dependencies label Jan 31, 2026
@socket-security
Copy link

socket-security bot commented Jan 31, 2026

@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from bd86142 to a183488 Compare February 2, 2026 19:35
@renovate renovate bot force-pushed the renovate/codemirror branch from a183488 to 27c20bf Compare February 9, 2026 18:49
@socket-security
Copy link

socket-security bot commented Feb 9, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from abf8858 to 4edb085 Compare February 12, 2026 11:33
@renovate renovate bot force-pushed the renovate/codemirror branch from 4edb085 to 4cda35c Compare February 15, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Relates to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments