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.5 to 0.19.6

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 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.
## 0.19.5 (2021-11-09)

@@ -2,0 +8,0 @@

4

dist/index.js

@@ -1107,3 +1107,3 @@ import { Annotation, Facet, combineConfig, StateEffect, StateField, Prec, EditorSelection, Text } from '@codemirror/state';

while (m = /[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(line)) {
let seq = m[1] ? +m[1] : null, name = m[2] || m[3], found = -1;
let seq = m[1] ? +m[1] : null, name = m[2] || m[3] || "", found = -1;
for (let i = 0; i < fields.length; i++) {

@@ -1117,3 +1117,3 @@ if (seq != null ? fields[i].seq == seq : name ? fields[i].name == name : false)

i++;
fields.splice(i, 0, { seq, name: name || null });
fields.splice(i, 0, { seq, name });
found = i;

@@ -1120,0 +1120,0 @@ for (let pos of positions)

{
"name": "@codemirror/autocomplete",
"version": "0.19.5",
"version": "0.19.6",
"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