Socket
Socket
Sign inDemoInstall

@codemirror/lint

Package Overview
Dependencies
Maintainers
2
Versions
37
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.8.0 to 6.8.1

6

CHANGELOG.md

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

## 6.8.1 (2024-06-19)
### Bug fixes
Make lint markers non-inclusive again, since having them that way causes more issues than it solves.
## 6.8.0 (2024-05-23)

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

5

dist/index.js

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

attributes: { class: "cm-lintRange cm-lintRange-" + d.severity + (d.markClass ? " " + d.markClass : "") },
diagnostic: d,
inclusive: true
diagnostic: d
}).range(d.from, d.to);

@@ -118,3 +117,3 @@ }), true);

}
const activeMark = /*@__PURE__*/Decoration.mark({ class: "cm-lintRange cm-lintRange-active", inclusive: true });
const activeMark = /*@__PURE__*/Decoration.mark({ class: "cm-lintRange cm-lintRange-active" });
function lintTooltip(view, pos, side) {

@@ -121,0 +120,0 @@ let { diagnostics } = view.state.field(lintState);

2

package.json
{
"name": "@codemirror/lint",
"version": "6.8.0",
"version": "6.8.1",
"description": "Linting support 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