Socket
Socket
Sign inDemoInstall

@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 Versions

2345

6.10.3

Diff

Changelog

Source

6.10.3 (2024-09-19)

Bug fixes

Fix a TypeScript error when using HighlightStyle with the exactOptionalPropertyTypes typechecking option enabled.

Make delimitedIndent align to spaces after the opening token.

marijn
published 6.10.2 •

Changelog

Source

6.10.2 (2024-06-03)

Bug fixes

Fix an infinite loop that could occur when enabling bidiIsolates in documents with both bidirectional text and very long lines.

marijn
published 6.10.1 •

Changelog

Source

6.10.1 (2024-02-02)

Bug fixes

Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame.

marijn
published 6.10.0 •

Changelog

Source

6.10.0 (2023-12-28)

New features

The new bidiIsolates extension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries.

marijn
published 6.9.3 •

Changelog

Source

6.9.3 (2023-11-27)

Bug fixes

Fix an issue in StreamLanguage where it ran out of node type ids if you repeatedly redefined a language with the same token table.

marijn
published 6.9.2 •

Changelog

Source

6.9.2 (2023-10-24)

Bug fixes

Allow StreamParser tokens get multiple highlighting tags.

marijn
published 6.9.1 •

Changelog

Source

6.9.1 (2023-09-20)

Bug fixes

Indentation now works a lot better in mixed-language documents that interleave the languages in a complex way.

Code folding is now able to pick the right foldable syntax node when the line end falls in a mixed-parsing language that doesn't match the target node.

marijn
published 6.9.0 •

Changelog

Source

6.9.0 (2023-08-16)

Bug fixes

Make getIndentation return null, rather than 0, when there is no syntax tree available.

New features

The new preparePlaceholder option to codeFolding makes it possible to display contextual information in a folded range placeholder widget.

marijn
published 6.8.0 •

Changelog

Source

6.8.0 (2023-06-12)

New features

The new baseIndentFor method in TreeIndentContext can be used to find the base indentation for an arbitrary node.

marijn
published 6.7.0 •

Changelog

Source

6.7.0 (2023-05-19)

New features

Export DocInput class for feeding editor documents to a Lezer parser.

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