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

23
8

6.18.0

Diff

Changelog

Source

6.18.0 (2024-08-05)

Bug fixes

Style the info element so that newlines are preserved, to make it easier to display multi-line info from a string source.

New features

When registering an abort handler for a completion query, you can now use the onDocChange option to indicate that your query should be aborted as soon as the document changes while it is running.

marijn
published 6.17.0 •

Changelog

Source

6.17.0 (2024-07-03)

Bug fixes

Fix an issue where completions weren't properly reset when starting a new completion through activateOnCompletion.

New features

CompletionContext objects now have a view property that holds the editor view when the query context has a view available.

marijn
published 6.16.3 •

Changelog

Source

6.16.3 (2024-06-19)

Bug fixes

Avoid adding an aria-autocomplete attribute to the editor when there are no active sources active.

marijn
published 6.16.2 •

Changelog

Source

6.16.2 (2024-05-31)

Bug fixes

Allow backslash-escaped closing braces inside snippet field names/content.

marijn
published 6.16.1 •

Changelog

Source

6.16.1 (2024-05-29)

Bug fixes

Fix a bug where multiple backslashes before a brace in a snippet were all removed.

marijn
published 6.16.0 •

Changelog

Source

6.16.0 (2024-04-12)

New features

The new activateOnCompletion option allows autocompletion to be configured to chain completion activation for some types of completions.

marijn
published 6.15.0 •

Changelog

Source

6.15.0 (2024-03-13)

New features

The new filterStrict option can be used to turn off fuzzy matching of completions.

marijn
published 6.14.0 •

Changelog

Source

6.14.0 (2024-03-10)

New features

Completion results can now define a map method that can be used to adjust position-dependent information for document changes.

marijn
published 6.13.0 •

Changelog

Source

6.13.0 (2024-02-29)

New features

Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.

marijn
published 6.12.0 •

Changelog

Source

6.12.0 (2024-01-12)

Bug fixes

Make sure snippet completions also set userEvent to input.complete.

Fix a crash when the editor lost focus during an update and autocompletion was active.

Fix a crash when using a snippet that has only one field, but multiple instances of that field.

New features

The new activateOnTypingDelay option allows control over the debounce time before the completions are queried when the user types.

23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc