Socket
Socket
Sign inDemoInstall

@codemirror/rangeset

Package Overview
Dependencies
2
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.19.8 to 0.19.9

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 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.
## 0.19.8 (2022-02-19)

@@ -2,0 +8,0 @@

6

dist/index.js

@@ -582,3 +582,4 @@ import { MapMode } from '@codemirror/state';

compare(other) {
return this.from - other.from || this.startSide - other.startSide || this.to - other.to || this.endSide - other.endSide;
return this.from - other.from || this.startSide - other.startSide || this.rank - other.rank ||
this.to - other.to || this.endSide - other.endSide;
}

@@ -750,4 +751,3 @@ }

this.cursor.next();
if (this.to > from)
this.forward(this.to, this.endSide);
this.forward(this.to, this.endSide);
break;

@@ -754,0 +754,0 @@ }

{
"name": "@codemirror/rangeset",
"version": "0.19.8",
"version": "0.19.9",
"description": "Range set data structure for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc