@codemirror/autocomplete
Advanced tools
Comparing version 0.19.6 to 0.19.7
@@ -0,1 +1,7 @@ | ||
## 0.19.7 (2021-11-16) | ||
### Bug fixes | ||
Make option deduplication less aggressive, so that options with different `type` or `apply` fields don't get merged. | ||
## 0.19.6 (2021-11-12) | ||
@@ -2,0 +8,0 @@ |
@@ -569,3 +569,4 @@ import { Annotation, Facet, combineConfig, StateEffect, StateField, Prec, EditorSelection, Text } from '@codemirror/state'; | ||
break; | ||
if (!prev || prev.label != opt.completion.label || prev.detail != opt.completion.detail) | ||
if (!prev || prev.label != opt.completion.label || prev.detail != opt.completion.detail || | ||
prev.type != opt.completion.type || prev.apply != opt.completion.apply) | ||
result.push(opt); | ||
@@ -572,0 +573,0 @@ else if (score(opt.completion) > score(prev)) |
{ | ||
"name": "@codemirror/autocomplete", | ||
"version": "0.19.6", | ||
"version": "0.19.7", | ||
"description": "Autocompletion for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137508
3190