@unocss/preset-attributify 0.50.0 → 0.50.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.cjs CHANGED
@@ -129,7 +129,7 @@ const strippedPrefixes = [
129
129
  ":"
130
130
  ];
131
131
  const splitterRE = /[\s'"`;]+/g;
132
- const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/gs;
132
+ const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/g;
133
133
  const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
134
134
  const defaultIgnoreAttributes = ["placeholder", "fill", "opacity"];
135
135
  const extractorAttributify = (options) => {
package/dist/index.mjs CHANGED
@@ -125,7 +125,7 @@ const strippedPrefixes = [
125
125
  ":"
126
126
  ];
127
127
  const splitterRE = /[\s'"`;]+/g;
128
- const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/gs;
128
+ const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/g;
129
129
  const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
130
130
  const defaultIgnoreAttributes = ["placeholder", "fill", "opacity"];
131
131
  const extractorAttributify = (options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-attributify",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "description": "Attributify preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "0.50.0"
36
+ "@unocss/core": "0.50.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",