Socket
Socket
Sign inDemoInstall

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
187
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.18.10 to 0.18.11

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 0.18.11 (2021-04-30)
### Bug fixes
Add an attribute to prevent the Grammarly browser extension from messing with the editor content.
Fix more issues around selection handling a Shadow DOM in Safari.
## 0.18.10 (2021-04-27)

@@ -2,0 +10,0 @@

17

dist/index.d.ts

@@ -72,2 +72,8 @@ import * as _codemirror_rangeset from '@codemirror/rangeset';

between the surrounding text.
Note that block-level decorations should not have vertical
margins, and if you dynamically change their height, you should
make sure to call
[`requestMeasure`](https://codemirror.net/6/docs/ref/#view.EditorView.requestMeasure), so that the
editor can update its information about its vertical layout.
*/

@@ -716,7 +722,8 @@ block?: boolean;

/**
Make sure plugins get a chance to measure the DOM layout before
the next frame. Calling this is preferable reading DOM layout
directly from, for example, an event handler, because it'll make
sure measuring and drawing done by other components is
synchronized, avoiding unnecessary DOM layout computations.
Schedule a layout measurement, optionally providing callbacks to
do custom DOM measuring followed by a DOM write phase. Using
this is preferable reading DOM layout directly from, for
example, an event handler, because it'll make sure measuring and
drawing done by other components is synchronized, avoiding
unnecessary DOM layout computations.
*/

@@ -723,0 +730,0 @@ requestMeasure<T>(request?: MeasureRequest<T>): void;

{
"name": "@codemirror/view",
"version": "0.18.10",
"version": "0.18.11",
"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