@codemirror/autocomplete 6.18.5 → 6.18.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 6.18.6 (2025-02-12)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where the closing character for double-angle quotation marks and full-width brackets was computed incorrectly.
6
+
1
7
  ## 6.18.5 (2025-02-11)
2
8
 
3
9
  ### Bug fixes
package/dist/index.cjs CHANGED
@@ -1787,7 +1787,7 @@ that bracket.
1787
1787
  function closeBrackets() {
1788
1788
  return [inputHandler, bracketState];
1789
1789
  }
1790
- const definedClosing = "()[]{}<>";
1790
+ const definedClosing = "()[]{}<>«»»«[]{}";
1791
1791
  function closing(ch) {
1792
1792
  for (let i = 0; i < definedClosing.length; i += 2)
1793
1793
  if (definedClosing.charCodeAt(i) == ch)
package/dist/index.js CHANGED
@@ -1785,7 +1785,7 @@ that bracket.
1785
1785
  function closeBrackets() {
1786
1786
  return [inputHandler, bracketState];
1787
1787
  }
1788
- const definedClosing = "()[]{}<>";
1788
+ const definedClosing = "()[]{}<>«»»«[]{}";
1789
1789
  function closing(ch) {
1790
1790
  for (let i = 0; i < definedClosing.length; i += 2)
1791
1791
  if (definedClosing.charCodeAt(i) == ch)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemirror/autocomplete",
3
- "version": "6.18.5",
3
+ "version": "6.18.6",
4
4
  "description": "Autocompletion for the CodeMirror code editor",
5
5
  "scripts": {
6
6
  "test": "cm-runtests",