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
48
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.8

Diff

Changelog

Source

6.10.8 (2024-12-23)

Bug fixes

Fix a regression introduced 6.10.7 that caused indention to sometimes crash on nested language boundaries.

marijn
published 6.10.7 •

Changelog

Source

6.10.7 (2024-12-17)

Bug fixes

Fix an issue where indentation for a stream language would fail to work when the parse covered only part of the document, far from the start.

Make sure the inner mode gets a chance to indent when indenting right at the end of a nested language section.

marijn
published 6.10.6 •

Changelog

Source

6.10.6 (2024-11-29)

Bug fixes

Fix a crash in StreamLanguage when the input range is entirely before the editor viewport.

marijn
published 6.10.5 •

Changelog

Source

6.10.5 (2024-11-27)

Bug fixes

Fix an issue where a StreamLanguage could get confused when trying to reuse existing parse data when the parsed range changed.

marijn
published 6.10.4 •

Changelog

Source

6.10.4 (2024-11-24)

Bug fixes

Join adjacent tokens of the same type into a single token in .

Call stream language indent functions even when the language is used as a nested parser.

Fix a crash in StreamParser when a parse was resumed with different input ranges.

marijn
published 6.10.3 •

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.

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