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
0
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

1345

6.2.0

Diff

Changelog

Source

6.2.0 (2022-12-26)

New features

EditorSelection.range now accepts an optional 4th argument to specify the bidi level of the range's head position.

marijn
published 6.1.4 •

Changelog

Source

6.1.4 (2022-11-15)

Bug fixes

Fix a bug that caused the openStart value passed to span iterators to be incorrect around widgets in some circumstances.

marijn
published 6.1.3 •

Changelog

Source

6.1.3 (2022-11-10)

Bug fixes

Avoid unnecessary calls to computed facet getters when a state is reconfigured but no dependencies of the computed facet change.

Fix an infinite loop in RangeSet.eq when the to parameter isn't given.

marijn
published 6.1.2 •

Changelog

Source

6.1.2 (2022-09-21)

Bug fixes

Fix an issue where, when multiple transaction extenders took effect, only the highest-precedence one was actually included in the transaction.

marijn
published 6.1.1 •

Changelog

Source

6.1.1 (2022-08-03)

Bug fixes

Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.

marijn
published 6.1.0 •

Changelog

Source

6.1.0 (2022-06-30)

Bug fixes

Refine change mapping to preserve insertions made by concurrent changes.

New features

The enables option to Facet.define may now take a function, which will be called with the facet value to create the extensions.

marijn
published 6.0.1 •

Changelog

Source

6.0.1 (2022-06-17)

Bug fixes

Fix a problem that caused effects' map methods to be called with an incorrect change set when filtering changes.

marijn
published 6.0.0 •

Changelog

Source

6.0.0 (2022-06-08)

Breaking changes

Update dependencies to 6.0.0

marijn
published 0.20.1 •

Changelog

Source

0.20.1 (2022-06-02)

New features

EditorView.phrase now accepts additional arguments, which it will interpolate into the phrase in the place of $ markers.

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2022-04-20)

Breaking changes

The deprecated precedence names fallback, extend, and override were removed from the library.

Bug fixes

Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used.

Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration.

Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations.

New features

The exports from @codemirror/rangeset now live in this package.

The exports from @codemirror/text now live in this package.

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