Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/view - npm Package Versions

23
20

6.36.1

Diff

Changelog

Source

6.36.1 (2024-12-19)

Bug fixes

Fix a crash in MatchDecorator when updating matches at the end of the document.

marijn
published 6.36.0 •

Changelog

Source

6.36.0 (2024-12-17)

Bug fixes

Make selection rectangles verticaly align precisely, rather than introducing a slight overlap.

Fix an issue in MatchDecorator that caused it to fully rebuild its decorations on normal edits.

New features

View updates now have a viewportMoved flag that is only true when a viewport change originated from something other than mapping the viewport over a document change.

marijn
published 6.35.3 •

Changelog

Source

6.35.3 (2024-12-09)

Bug fixes

Fix an issue where mark decorations that got merged or split weren't properly redrawn.

Avoid spurious focus events by not updating the DOM selection when the editor is unfocused but focusable.

Disable writingsuggestions for the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor).

marijn
published 6.35.2 •

Changelog

Source

6.35.2 (2024-12-07)

Bug fixes

Fix an issue on Chrome where typing at the end of the document would insert a character after the cursor.

marijn
published 6.35.1 •

Changelog

Source

6.35.1 (2024-12-06)

Bug fixes

Work around another crash caused by incorrect composition positions reported by EditContext.

Stop disabling custom cursors on Safari version 11.4 and up, which support caret-color.

Fix an issue where a tooltip with wrapped content could, in some circumstances, fail to find a stable position due to a cyclic dependency between its width and its position.

marijn
published 6.35.0 •

Changelog

Source

6.35.0 (2024-11-21)

New features

Tooltips can now use the clip option to control whether they are hidden when outside the visible editor content.

marijn
published 6.34.3 •

Changelog

Source

6.34.3 (2024-11-15)

Bug fixes

Make sure positions covered by a gutter or a panel aren't treated as visible for the purpose of displaying tooltips.

Properly include the tooltip arrow height when checking whether a tooltip fits in its preferred above/below position.

Fix an issue with compositions on Chrome inserting their content in the wrong position when another document change came in during composition.

marijn
published 6.34.2 •

Changelog

Source

6.34.2 (2024-11-05)

Bug fixes

Fix the default cursor color for dark themes, which was way too dark.

marijn
published 6.34.1 •

Changelog

Source

6.34.1 (2024-09-27)

Bug fixes

Avoid a stack overflow that could happen when updating a line with a lot of text tokens.

Improve the way enormously long (non-wrapped) lines are displayed by making sure they stay shorter than the maximal pixel size the browser's CSS engine can handle.

marijn
published 6.34.0 •

Changelog

Source

6.34.0 (2024-09-25)

Bug fixes

Fix an issue where the dots past the wrapping point were displayed incorrectly when using highlightWhitespace with a wrapped sequence of spaces.

Improve performance of documents displaying lots of highlighted spaces by using a CSS background instead of pseudo-element.

New features

placeholder now allows a function that constructs the placedholder DOM to be passed in, and uses cloneNode when a raw element is passed in, to prevent adding the same element to multiple editors.

23
20
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc