@unocss/autocomplete 66.6.7 → 66.7.0-beta.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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -0
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -62,6 +62,7 @@ function cartesian(arr) {
62
62
  //#endregion
63
63
  //#region src/parse.ts
64
64
  var AutocompleteParseError = class extends Error {
65
+ template;
65
66
  constructor(message, template) {
66
67
  super(message);
67
68
  this.template = template;
@@ -277,6 +278,9 @@ function createAutocomplete(uno, options = {}) {
277
278
  cache,
278
279
  errorCache,
279
280
  reset,
281
+ /**
282
+ * Enumerate possible suggestions from 'aa' - 'zz'
283
+ */
280
284
  enumerate
281
285
  };
282
286
  async function enumerate() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/autocomplete",
3
3
  "type": "module",
4
- "version": "66.6.7",
4
+ "version": "66.7.0-beta.1",
5
5
  "description": "Autocomplete utils for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -30,10 +30,10 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "fzf": "^0.5.2",
33
- "lru-cache": "^11.2.6"
33
+ "lru-cache": "^11.4.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@unocss/core": "66.6.7"
36
+ "@unocss/core": "66.7.0-beta.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown --config-loader unrun",