New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/state

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/state - npm Package Versions

1235

0.18.7

Diff
marijn
published 0.18.7 •

Changelog

Source

0.18.7 (2021-05-04)

Bug fixes

Fix an issue where state fields might be initialized with a state that they aren't actually part of during reconfiguration.

marijn
published 0.18.6 •

Changelog

Source

0.18.6 (2021-04-12)

New features

The new EditorState.wordAt method finds the word at a given position.

marijn
published 0.18.5 •

Changelog

Source

0.18.5 (2021-04-08)

Bug fixes

Fix an issue in the compiled output that would break the code when minified with terser.

marijn
published 0.18.4 •

Changelog

Source

0.18.4 (2021-04-06)

New features

The new Transaction.remote annotation can be used to mark and recognize transactions created by other actors.

marijn
published 0.18.3 •

Changelog

Source

0.18.3 (2021-03-23)

New features

The ChangeDesc class now has toJSON and fromJSON methods.

marijn
published 0.18.2 •

Changelog

Source

0.18.2 (2021-03-14)

Bug fixes

Fix unintended ES2020 output (the package contains ES6 code again).

marijn
published 0.18.1 •

Changelog

Source

0.18.1 (2021-03-10)

New features

The new Compartment.get method can be used to get the content of a compartment in a given state.

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

tagExtension and the reconfigure transaction spec property have been replaced with the concept of configuration compartments and reconfiguration effects (see Compartment, StateEffect.reconfigure, and StateEffect.appendConfig).

marijn
published 0.17.2 •

Changelog

Source

0.17.2 (2021-02-19)

New features

EditorSelection.map and SelectionRange.map now take an optional second argument to indicate which direction to map to.

marijn
published 0.17.1 •

Changelog

Source

0.17.1 (2021-01-06)

New features

The package now also exports a CommonJS module.