Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 0.19.1 to 0.19.2

6

CHANGELOG.md

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

## 0.19.2 (2021-09-29)
### Bug fixes
Fix a bug where reconfiguring the lint source didn't restart linting.
## 0.19.1 (2021-09-17)

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

8

dist/index.js

@@ -206,8 +206,8 @@ import { Decoration, EditorView, ViewPlugin, logException, WidgetType } from '@codemirror/view';

update(update) {
if (update.docChanged) {
let { delay } = update.state.facet(lintSource);
this.lintTime = Date.now() + delay;
let source = update.state.facet(lintSource);
if (update.docChanged || source != update.startState.facet(lintSource)) {
this.lintTime = Date.now() + source.delay;
if (!this.set) {
this.set = true;
this.timeout = setTimeout(this.run, delay);
this.timeout = setTimeout(this.run, source.delay);
}

@@ -214,0 +214,0 @@ }

{
"name": "@codemirror/lint",
"version": "0.19.1",
"version": "0.19.2",
"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