@unocss/preset-attributify 66.8.1 → 66.9.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 +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -123,7 +123,7 @@ function autocompleteExtractorAttributify(options) {
123
123
  //#region src/extractor.ts
124
124
  const strippedPrefixes = ["v-bind:", ":"];
125
125
  const splitterRE = /[\s'"`;]+/g;
126
- const elementRE = /<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g;
126
+ const elementRE = /<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`\n]*`|\{[^}]*\}|=>|[^>]*?)*)/g;
127
127
  const valuedAttributeRE = /(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g;
128
128
  const defaultIgnoreAttributes = [
129
129
  "placeholder",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-attributify",
3
3
  "type": "module",
4
- "version": "66.8.1",
4
+ "version": "66.9.1",
5
5
  "description": "Attributify preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@unocss/core": "66.8.1"
32
+ "@unocss/core": "66.9.1"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "tsdown",