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

@codemirror/rangeset

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/rangeset - npm Package Versions

2

0.19.9

Diff

Changelog

Source

0.19.9 (2022-03-09)

Bug fixes

Fix an issue where points that are entirely covered by a point coming before them could be returend by a span iterator when it started directly at the point's position.

marijn
published 0.19.8 •

Changelog

Source

0.19.8 (2022-02-19)

Bug fixes

Fix a bug where mapping a changeset through an empty set of changes would produce a new value.

marijn
published 0.19.7 •

Changelog

Source

0.19.7 (2022-02-15)

Bug fixes

Fix an issue that caused the sort option to RangeSet.update to have no effect.

marijn
published 0.19.6 •

Changelog

Source

0.19.6 (2022-01-05)

Bug fixes

Fix an issue where range sets that weren't mapped could cause RangeSet.compare to miss changes.

Fix a bug where a zero-length range, even when inclusive, was never mapped to cover any content.

marijn
published 0.19.5 •

Changelog

Source

0.19.5 (2021-12-21)

New features

RangeSet.spans now allows the iterator to have a filterPoint method, which can determine which point ranges are ignored.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2021-12-14)

Bug fixes

Make sure non-empty point ranges at the end of another point range are covered by the bigger range.

marijn
published 0.19.3 •

Changelog

Source

0.19.3 (2021-12-14)

Bug fixes

Fix an issue in RangeSet.compare where the interaction between spans and points sometimes caused points that had their wrapping spans changed to not be reported.

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-11-12)

Bug fixes

Fix a bug in RangeSet.compare that would cause it miss changes when range sets were identical but the content under them moved.

Fix an issue where RangeSet.eq would consider rangesets equal even if they had a differing point range at the end of the compared range.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-08-20)

Bug fixes

Fix a bug in range set iteration that would sometimes cause ranges to report their position as NaN, breaking downstream code.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Breaking changes

Update dependencies to 0.19.0

2
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