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

1234

0.18.1

Diff

Changelog

Source

0.18.1 (2021-03-31)

Breaking changes

EditorParseContext.getSkippingParser now replaces EditorParseContext.skippingParser and allows you to provide a promise that'll cause parsing to start again. (The old property remains available until the next major release.)

Bug fixes

Fix an issue where nested parsers could see past the end of the nested region.

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

Update dependencies to 0.18.

Breaking changes

The Language constructor takes an additional argument that provides the top node type.

New features

Language instances now have a topNode property giving their top node type.

TreeIndentContext now has a continue method that allows an indenter to defer to the indentation of the parent nodes.

marijn
published 0.17.5 •

Changelog

Source

0.17.5 (2021-02-19)

New features

This package now exports a foldInside helper function, a fold function that should work for most delimited node types.

marijn
published 0.17.4 •

Changelog

Source

0.17.4 (2021-01-15)

marijn
published 0.17.3 •

Changelog

Source

0.17.3 (2021-01-15)

Bug fixes

Parse scheduling has been improved to reduce the likelyhood of the user looking at unparsed code in big documents.

Prevent parser from running too far past the current viewport in huge documents.

marijn
published 0.17.2 •

Changelog

Source

0.17.2 (2021-01-06)

New features

The package now also exports a CommonJS module.

marijn
published 0.17.1 •

Changelog

Source

0.17.1 (2020-12-30)

Bug fixes

Fix a bug where changing the editor configuration wouldn't update the language parser used.

marijn
published 0.17.0 •

Changelog

Source

0.17.0 (2020-12-29)

Breaking changes

First numbered release.

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