Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@codemirror/lint

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lint - npm Package Compare versions

Comparing version
6.9.3
to
6.9.4
+6
-0
CHANGELOG.md

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

## 6.9.4 (2026-02-11)
### Bug fixes
Make sure `nextDiagnostic` selects entire diagnostics, even when they overlap with other diagnostics.
## 6.9.3 (2026-01-27)

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

+4
-4

@@ -246,6 +246,6 @@ 'use strict';

return false;
let sel = view.state.selection.main, next = field.diagnostics.iter(sel.to + 1);
if (!next.value) {
next = field.diagnostics.iter(0);
if (!next.value || next.from == sel.from && next.to == sel.to)
let sel = view.state.selection.main, next = findDiagnostic(field.diagnostics, null, sel.to + 1);
if (!next) {
next = findDiagnostic(field.diagnostics, null, 0);
if (!next || next.from == sel.from && next.to == sel.to)
return false;

@@ -252,0 +252,0 @@ }

@@ -244,6 +244,6 @@ import { Decoration, showPanel, EditorView, ViewPlugin, gutter, showTooltip, hoverTooltip, getPanel, logException, WidgetType, GutterMarker } from '@codemirror/view';

return false;
let sel = view.state.selection.main, next = field.diagnostics.iter(sel.to + 1);
if (!next.value) {
next = field.diagnostics.iter(0);
if (!next.value || next.from == sel.from && next.to == sel.to)
let sel = view.state.selection.main, next = findDiagnostic(field.diagnostics, null, sel.to + 1);
if (!next) {
next = findDiagnostic(field.diagnostics, null, 0);
if (!next || next.from == sel.from && next.to == sel.to)
return false;

@@ -250,0 +250,0 @@ }

{
"name": "@codemirror/lint",
"version": "6.9.3",
"version": "6.9.4",
"description": "Linting support for the CodeMirror code editor",

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