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

Diff

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.

marijn
published 6.33.0 •

Changelog

Source

6.33.0 (2024-08-24)

Bug fixes

Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow.

New features

The new EditorView.clipboardInputFilter and clipboardOutputFilter facets allow you to register filter functions that change text taken from or sent to the clipboard.

marijn
published 6.32.0 •

Changelog

Source

6.32.0 (2024-08-12)

Bug fixes

Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar.

New features

The new gutterWidgetClass facet makes it possible to add a class to gutter elements next to widgets.

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