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 Versions

1245

0.20.2

Diff

Changelog

Source

0.20.2 (2022-05-20)

Bug fixes

List style-mod as a dependency.

marijn
published 0.20.1 •

Changelog

Source

0.20.1 (2022-05-18)

Bug fixes

Make sure all styles in the CSS generated for a HighlightStyle have a lower precedence than the other rules defined for the style. Use a shorthand property

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2022-04-20)

Breaking changes

HighlightStyle.get is now called highlightingFor.

HighlightStyles no longer function as extensions (to improve tree shaking), and must be wrapped with syntaxHighlighting to add to an editor configuration.

Language objects no longer have a topNode property.

New features

HighlightStyle and defaultHighlightStyle from the now-removed @codemirror/highlight package now live in this package.

The new forceParsing function can be used to run the parser forward on an editor view.

The exports that used to live in @codemirror/matchbrackets are now exported from this package.

The @codemirror/fold package has been merged into this one.

The exports from the old @codemirror/stream-parser package now live in this package.

marijn
published 0.19.10 •

Changelog

Source

0.19.10 (2022-03-31)

Bug fixes

Autocompletion may now also trigger automatic indentation on input.

marijn
published 0.19.9 •

Changelog

Source

0.19.9 (2022-03-30)

Bug fixes

Make sure nodes that end at the end of a partial parse aren't treated as valid fold targets.

Fix an issue where the parser sometimes wouldn't reuse parsing work done in the background on transactions.

marijn
published 0.19.8 •

Changelog

Source

0.19.8 (2022-03-03)

Bug fixes

Fix an issue that could cause indentation logic to use the wrong line content when indenting multiple lines at once.

marijn
published 0.19.7 •

Changelog

Source

0.19.7 (2021-12-02)

Bug fixes

Fix an issue where the parse worker could incorrectly stop working when the parse tree has skipped gaps in it.

marijn
published 0.19.6 •

Changelog

Source

0.19.6 (2021-11-26)

Bug fixes

Fixes an issue where the background parse work would be scheduled too aggressively, degrading responsiveness on a newly-created editor with a large document.

Improve initial highlight for mixed-language editors and limit the amount of parsing done on state creation for faster startup.

marijn
published 0.19.5 •

Changelog

Source

0.19.5 (2021-11-17)

New features

The new function syntaxTreeAvailable can be used to check if a fully-parsed syntax tree is available up to a given document position.

The module now exports syntaxParserRunning, which tells you whether the background parser is still planning to do more work for a given editor view.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2021-11-13)

New features

LanguageDescription.of now takes an optional already-loaded extension.

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