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 Compare versions

Comparing version 6.17.0 to 6.18.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## 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.
## 6.17.0 (2024-07-03)

@@ -2,0 +12,0 @@

12

dist/index.d.ts

@@ -196,4 +196,14 @@ import * as _codemirror_state from '@codemirror/state';

[aborted](https://codemirror.net/6/docs/ref/#autocomplete.CompletionContext.aborted).
By default, running queries will not be aborted for regular
typing or backspacing, on the assumption that they are likely to
return a result with a
[`validFor`](https://codemirror.net/6/docs/ref/#autocomplete.CompletionResult.validFor) field that
allows the result to be used after all. Passing `onDocChange:
true` will cause this query to be aborted for any document
change.
*/
addEventListener(type: "abort", listener: () => void): void;
addEventListener(type: "abort", listener: () => void, options?: {
onDocChange: boolean;
}): void;
}

@@ -200,0 +210,0 @@ /**

2

package.json
{
"name": "@codemirror/autocomplete",
"version": "6.17.0",
"version": "6.18.0",
"description": "Autocompletion for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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