Skip to content

chore(deps): bump @codemirror/view from 6.39.16 to 6.40.0#7244

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/codemirror/view-6.40.0
Open

chore(deps): bump @codemirror/view from 6.39.16 to 6.40.0#7244
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/codemirror/view-6.40.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2026

Bumps @codemirror/view from 6.39.16 to 6.40.0.

Changelog

Sourced from @​codemirror/view's changelog.

6.40.0 (2026-03-12)

Bug fixes

Fix a bug that caused Shift-Enter/Backspace/Delete on iOS to lose the shift modifier when delivered to key event handlers.

Fix an issue where EditorView.moveVertically could move to the wrong place in wrapped lines with a large line height.

Make sure the selection head associativity is properly set for mouse selections made with shift held down.

New features

WidgetType.updateDOM is now called with the previous widget value as third argument.

6.39.17 (2026-03-10)

Bug fixes

Improve touch tap-selection on line wrapping boundaries.

Make drawSelection draw our own selection handles on iOS.

Fix an issue where posAtCoords, when querying line wrapping points, got confused by extra empty client rectangles produced by Safari.

Commits
  • 4773b2e Mark version 6.40.0
  • 773a0ee Properly track associativity for shift-click selections
  • 3612d3f Bring back the vertical scan loop in moveVertically
  • bc58375 Don't put Shift-Enter/Backspace/Del through the iOS pending key hack
  • fd252fa Change WidgetType.updateDOM from type to this
  • 9373f52 Pass the old widget value to WidgetType.updateDOM
  • 3d236d2 Mark version 6.39.17
  • 0a8ddb1 Avoid posAtCoords getting confused by empty wrapping rectangles returned by S...
  • f22a194 Implement iOS selection handle drawing in the selection layer
  • 07d54a0 Use last touch position to assign a side to touch selections in wrapping editors
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@codemirror/view](https://github.com/codemirror/view) from 6.39.16 to 6.40.0.
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](codemirror/view@6.39.16...6.40.0)

---
updated-dependencies:
- dependency-name: "@codemirror/view"
  dependency-version: 6.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 12, 2026
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Mar 12, 2026
@github-project-automation github-project-automation bot moved this from 0. Needs triage to 1. to do in Roadmap Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

Status: 1. to do

Development

Successfully merging this pull request may close these issues.

0 participants