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 0.19.7 to 0.19.8

12

CHANGELOG.md

@@ -0,1 +1,13 @@

## 0.19.8 (2021-09-26)
### Bug fixes
Fix a bug that could, on DOM changes near block widgets, insert superfluous line breaks.
Make interacting with a destroyed editor view do nothing, rather than crash, to avoid tripping people up with pending timeouts and such.
Make sure `ViewUpdate.viewportChanged` is true whenever `visibleRanges` changes, so that plugins acting only on visible ranges can use it to check when to update.
Fix line-wise cut on empty lines.
## 0.19.7 (2021-09-13)

@@ -2,0 +14,0 @@

5

dist/index.d.ts

@@ -455,3 +455,5 @@ import * as _codemirror_rangeset from '@codemirror/rangeset';

/**
Tells you whether the viewport changed in this update.
Tells you whether the [viewport](https://codemirror.net/6/docs/ref/#view.EditorView.viewport) or
[visible ranges](https://codemirror.net/6/docs/ref/#view.EditorView.visibleRanges) changed in this
update.
*/

@@ -692,2 +694,3 @@ get viewportChanged(): boolean;

private bidiCache;
private destroyed;
/**

@@ -694,0 +697,0 @@ Construct a new view. You'll usually want to put `view.dom` into

2

package.json
{
"name": "@codemirror/view",
"version": "0.19.7",
"version": "0.19.8",
"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 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