Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/state

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/state - npm Package Versions

134

6.1.2

Diff

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.

marijn
published 0.19.9 •

Changelog

Source

0.19.9 (2022-02-16)

Bug fixes

Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version.

marijn
published 0.19.8 •

Changelog

Source

0.19.8 (2022-02-15)

Bug fixes

Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.

marijn
published 0.19.7 •

Changelog

Source

0.19.7 (2022-02-11)

Bug fixes

Avoid recomputing facets on state reconfiguration if that facet's inputs stayed precisely the same.

Selection ranges created with EditorSelection.range will now have an assoc pointing at their anchor, when non-empty.

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