@unocss/core 0.49.4 → 0.49.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/dist/index.cjs CHANGED
@@ -223,7 +223,7 @@ const regexCache = {};
223
223
  function makeRegexClassGroup(separators = ["-", ":"]) {
224
224
  const key = separators.join("|");
225
225
  if (!regexCache[key])
226
- regexCache[key] = new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?.*\\])+?)(${key})\\(((?:[~!\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm");
226
+ regexCache[key] = new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${key})\\(((?:[~!\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm");
227
227
  regexCache[key].lastIndex = 0;
228
228
  return regexCache[key];
229
229
  }
@@ -481,7 +481,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
481
481
  };
482
482
  }
483
483
 
484
- const version = "0.49.4";
484
+ const version = "0.49.6";
485
485
 
486
486
  class UnoGenerator {
487
487
  constructor(userConfig = {}, defaults = {}) {
package/dist/index.mjs CHANGED
@@ -219,7 +219,7 @@ const regexCache = {};
219
219
  function makeRegexClassGroup(separators = ["-", ":"]) {
220
220
  const key = separators.join("|");
221
221
  if (!regexCache[key])
222
- regexCache[key] = new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?.*\\])+?)(${key})\\(((?:[~!\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm");
222
+ regexCache[key] = new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${key})\\(((?:[~!\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm");
223
223
  regexCache[key].lastIndex = 0;
224
224
  return regexCache[key];
225
225
  }
@@ -477,7 +477,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
477
477
  };
478
478
  }
479
479
 
480
- const version = "0.49.4";
480
+ const version = "0.49.6";
481
481
 
482
482
  class UnoGenerator {
483
483
  constructor(userConfig = {}, defaults = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.49.4",
3
+ "version": "0.49.6",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",