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 6.9.1 to 6.9.2

6

CHANGELOG.md

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

## 6.9.2 (2023-10-24)
### Bug fixes
Allow `StreamParser` tokens get multiple highlighting tags.
## 6.9.1 (2023-09-20)

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

12

dist/index.d.ts

@@ -1142,7 +1142,9 @@ import { NodeProp, SyntaxNode, Parser, Tree, Input, TreeFragment, NodeType } from '@lezer/common';

of the tags in
[`tags`](https://lezer.codemirror.net/docs/ref#highlight.tags),
or such a name suffixed by one or more tag
[`tags`](https://lezer.codemirror.net/docs/ref#highlight.tags)
or [`tokenTable`](https://codemirror.net/6/docs/ref/#language.StreamParser.tokenTable), or such a
name suffixed by one or more tag
[modifier](https://lezer.codemirror.net/docs/ref#highlight.Tag^defineModifier)
names, separated by periods. For example `"keyword"` or
"`variableName.constant"`.
"`variableName.constant"`, or a space-separated set of such
token types.

@@ -1179,6 +1181,6 @@ It is okay to return a zero-length token, but only if that

token name that exists as a property in this object, the
corresponding tag will be assigned to the token.
corresponding tags will be assigned to the token.
*/
tokenTable?: {
[name: string]: Tag;
[name: string]: Tag | readonly Tag[];
};

@@ -1185,0 +1187,0 @@ }

{
"name": "@codemirror/language",
"version": "6.9.1",
"version": "6.9.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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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