@codemirror/rangeset
Advanced tools
Comparing version 0.19.7 to 0.19.8
@@ -0,1 +1,7 @@ | ||
## 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. | ||
## 0.19.7 (2022-02-15) | ||
@@ -2,0 +8,0 @@ |
@@ -221,3 +221,3 @@ import { MapMode } from '@codemirror/state'; | ||
map(changes) { | ||
if (changes.length == 0 || this.isEmpty) | ||
if (changes.empty || this.isEmpty) | ||
return this; | ||
@@ -224,0 +224,0 @@ let chunks = [], chunkPos = [], maxPoint = -1; |
{ | ||
"name": "@codemirror/rangeset", | ||
"version": "0.19.7", | ||
"version": "0.19.8", | ||
"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
75814