Socket
Socket
Sign inDemoInstall

@codemirror/highlight

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/highlight - npm Package Compare versions

Comparing version 0.19.3 to 0.19.4

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.19.4 (2021-09-03)
### Bug fixes
Fix a regression in 0.19.3 in highlighting over overlay trees.
## 0.19.3 (2021-09-03)

@@ -2,0 +8,0 @@

2

dist/index.js

@@ -464,3 +464,3 @@ import { NodeProp, NodeType } from '@lezer/common';

this.highlightRange(cursor, rangeFrom, rangeTo, inheritedClass, depth + 1, scope);
this.startSpan(Math.min(to, rangeTo), cls);
this.startSpan(Math.min(to, cursor.to), cls);
if (cursor.to >= nextPos || !cursor.nextSibling())

@@ -467,0 +467,0 @@ break;

{
"name": "@codemirror/highlight",
"version": "0.19.3",
"version": "0.19.4",
"description": "Syntax highlighting for the CodeMirror code editor",

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

Sorry, the diff of this file is not supported yet

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