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
190
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.16 to 0.18.17

8

CHANGELOG.md

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

## 0.18.17 (2021-06-14)
### Bug fixes
Make `drawSelection` behave properly when lines are split by block widgets.
Make sure drawn selections that span a single line break don't leave a gap between the lines.
## 0.18.16 (2021-06-03)

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

8

dist/index.d.ts

@@ -791,7 +791,5 @@ import * as _codemirror_rangeset from '@codemirror/rangeset';

/**
Find the extent and height of the visual line (the content shown
in the editor as a line, which may be smaller than a document
line when broken up by block widgets, or bigger than a document
line when line breaks are covered by replaced decorations) at
the given position.
Find the extent and height of the visual line (a range delimited
on both sides by either non-[hidden](https://codemirror.net/6/docs/ref/#view.Decoration^range)
line breaks, or the start/end of the document) at the given position.

@@ -798,0 +796,0 @@ Vertical positions are computed relative to the `docTop`

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