Socket
Socket
Sign inDemoInstall

@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 Compare versions

Comparing version 0.18.4 to 0.18.5

6

CHANGELOG.md

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

## 0.18.5 (2021-08-03)
### Bug fixes
Fix a problem in rangeset comparison that caused changes in the covering of point decorations by other decorations to be missed.
## 0.18.4 (2021-06-29)

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

5

dist/index.js

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

break;
if (this.activeTo[i] > to || this.activeTo[i] == to && this.active[i].endSide > this.point.endSide)
if (this.activeTo[i] > to || this.activeTo[i] == to && this.active[i].endSide >= this.point.endSide)
active.push(this.active[i]);

@@ -773,3 +773,4 @@ }

if (a.point || b.point) {
if (!(a.point && b.point && (a.point == b.point || a.point.eq(b.point))))
if (!(a.point && b.point && (a.point == b.point || a.point.eq(b.point)) &&
sameValues(a.activeForPoint(a.to + dPos), b.activeForPoint(b.to))))
comparator.comparePoint(pos, clipEnd, a.point, b.point);

@@ -776,0 +777,0 @@ }

2

package.json
{
"name": "@codemirror/rangeset",
"version": "0.18.4",
"version": "0.18.5",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc