Socket
Socket
Sign inDemoInstall

@codemirror/autocomplete

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/autocomplete - npm Package Compare versions

Comparing version 0.19.6 to 0.19.7

6

CHANGELOG.md

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

3

dist/index.js

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

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