@bpmn-io/feel-editor 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6,7 +6,7 @@ import { Facet, Compartment, EditorState } from '@codemirror/state';
6
6
  import { EditorView, tooltips, keymap, placeholder } from '@codemirror/view';
7
7
  import { cmFeelLinter } from '@bpmn-io/feel-lint';
8
8
  import { tags } from '@lezer/highlight';
9
- import { snippetCompletion as snippetCompletion$1, snippets, keywordCompletions, feel } from 'lang-feel';
9
+ import { snippets, keywordCompletions, feel } from 'lang-feel';
10
10
  import { domify } from 'min-dom';
11
11
 
12
12
  var linter = [ linter$1(cmFeelLinter()) ];
@@ -382,7 +382,7 @@ function completions({ variables = [], builtins = [] }) {
382
382
  return [
383
383
  pathExpressionCompletion({ variables }),
384
384
  variableCompletion({ variables, builtins }),
385
- snippetCompletion$1(snippets.map(snippet => ({ ...snippet, boost: -1 }))),
385
+ snippets,
386
386
  ...keywordCompletions
387
387
  ];
388
388
  }
package/dist/index.js CHANGED
@@ -384,7 +384,7 @@ function completions({ variables = [], builtins = [] }) {
384
384
  return [
385
385
  pathExpressionCompletion({ variables }),
386
386
  variableCompletion({ variables, builtins }),
387
- langFeel.snippetCompletion(langFeel.snippets.map(snippet => ({ ...snippet, boost: -1 }))),
387
+ langFeel.snippets,
388
388
  ...langFeel.keywordCompletions
389
389
  ];
390
390
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/feel-editor",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Editor for FEEL expressions.",
5
5
  "files": [
6
6
  "dist"