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

@codemirror/language

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/language - npm Package Compare versions

Comparing version 0.19.1 to 0.19.2

8

CHANGELOG.md

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

## 0.19.2 (2021-08-11)
### Bug fixes
Fix a bug that caused `indentOnInput` to fire for the wrong kinds of transactions.
Fix a bug that could cause `indentOnInput` to apply its changes incorrectly.
## 0.19.1 (2021-08-11)

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

4

dist/index.js

@@ -1022,3 +1022,3 @@ import { NodeProp, Tree, TreeFragment, Parser, NodeType } from '@lezer/common';

return EditorState.transactionFilter.of(tr => {
if (!tr.docChanged || tr.isUserEvent("input.type"))
if (!tr.docChanged || !tr.isUserEvent("input.type"))
return tr;

@@ -1048,3 +1048,3 @@ let rules = tr.startState.languageDataAt("indentOnInput", tr.startState.selection.main.head);

}
return changes.length ? [tr, { changes }] : tr;
return changes.length ? [tr, { changes, sequential: true }] : tr;
});

@@ -1051,0 +1051,0 @@ }

{
"name": "@codemirror/language",
"version": "0.19.1",
"version": "0.19.2",
"description": "Language support infrastructure 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