Socket
Socket
Sign inDemoInstall

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/view - npm Package Compare versions

Comparing version 6.21.4 to 6.22.0

16

CHANGELOG.md

@@ -0,1 +1,17 @@

## 6.22.0 (2023-11-03)
### Bug fixes
Exceptions raised by update listeners are now routed to the configured exception sink, if any.
Fix an issue where passing large scroll margins to `scrollIntoView` would cause the measure loop to fail to terminate.
Widgets that are draggable (and allow drag events through in their `ignoreEvent` implementation) can now use the editor's built-in drag/drop behavior.
### New features
The new `scrollTo` option to `EditorView` allows an initial scroll position to be provided.
The new `EditorView.scrollSnapshot` method returns an effect that can be used to reset to a previous scroll position.
## 6.21.4 (2023-10-24)

@@ -2,0 +18,0 @@

2

package.json
{
"name": "@codemirror/view",
"version": "6.21.4",
"version": "6.22.0",
"description": "DOM view component for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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