Socket
Socket
Sign inDemoInstall

@codemirror/autocomplete

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/autocomplete - npm Package Versions

1
8

0.19.11

Diff

Changelog

Source

0.19.11 (2022-01-11)

Bug fixes

Fix a bug that caused page up/down to only move the selection by two options in the completion tooltip.

marijn
published 0.19.10 •

Changelog

Source

0.19.10 (2022-01-05)

Bug fixes

Make sure the info tooltip is hidden when the selected option is scrolled out of view.

Fix a bug in the completion ranking that would sometimes give options that match the input by word start chars higher scores than appropriate.

Options are now sorted (ascending) by length when their match score is otherwise identical.

marijn
published 0.19.9 •

Changelog

Source

0.19.9 (2021-11-26)

Bug fixes

Fix an issue where info tooltips would be visible in an inappropriate position when there was no room to place them properly.

marijn
published 0.19.8 •

Changelog

Source

0.19.8 (2021-11-17)

Bug fixes

Give the completion tooltip a minimal width, and show ellipsis when completions overflow the tooltip width.

New features

autocompletion now accepts an aboveCursor option to make the completion tooltip show up above the cursor.

marijn
published 0.19.7 •

Changelog

Source

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.

marijn
published 0.19.6 •

Changelog

Source

0.19.6 (2021-11-12)

Bug fixes

Fix an issue where parsing a snippet with a field that was labeled only by a number crashed.

marijn
published 0.19.5 •

Changelog

Source

0.19.5 (2021-11-09)

Bug fixes

Make sure info tooltips don't stick out of the bottom of the page.

New features

The package exports a new function selectedCompletion, which can be used to find out which completion is currently selected.

Transactions created by picking a completion now have an annotation (pickedCompletion) holding the original completion.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2021-10-24)

Bug fixes

Don't rely on the platform's highlight colors for the active completion, since those are inconsistent and may not be appropriate for the theme.

Fix incorrect match underline for some kinds of matched completions.

marijn
published 0.19.3 •

Changelog

Source

0.19.3 (2021-08-31)

Bug fixes

Improve the sorting of completions by using localeCompare.

Fix reading of autocompletions in NVDA screen reader.

New features

The new icons option can be used to turn off icons in the completion list.

The optionClass option can now be used to add CSS classes to the options in the completion list.

It is now possible to inject additional content into rendered completion options with the addToOptions configuration option.

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-08-25)

Bug fixes

Fix an issue where completeAnyWord would return results when there was no query and explicit was false.

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