@unocss/rule-utils 0.61.0 → 0.61.2

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
@@ -371,7 +371,7 @@ function variantGetParameter(prefix, matcher, separators) {
371
371
  }
372
372
  }
373
373
 
374
- const themeFnRE = /theme\(\s*(['"])?([^\1]*?)\1?\s*\)/g;
374
+ const themeFnRE = /theme\(\s*(['"])?(.*?)\1?\s*\)/g;
375
375
  function hasThemeFn(str) {
376
376
  return str.includes("theme(") && str.includes(")");
377
377
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/rule-utils",
3
3
  "type": "module",
4
- "version": "0.61.0",
4
+ "version": "0.61.2",
5
5
  "description": "Utilities for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "magic-string": "^0.30.10",
37
- "@unocss/core": "^0.61.0"
37
+ "@unocss/core": "^0.61.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "unbuild",