@unocss/preset-mini 0.30.12 → 0.31.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.
@@ -872,7 +872,7 @@ const cssVariables = [
872
872
  }]
873
873
  ];
874
874
  const cssProperty = [
875
- [/^\[([^:]+):(.+)\]$/, ([, prop, value]) => ({ [prop]: utilities.handler.bracket(`[${value}]`) })]
875
+ [/^\[([\w_-]+):([^'"]+)\]$/, ([, prop, value]) => ({ [prop]: utilities.handler.bracket(`[${value}]`) })]
876
876
  ];
877
877
 
878
878
  const questionMark = [
@@ -870,7 +870,7 @@ const cssVariables = [
870
870
  }]
871
871
  ];
872
872
  const cssProperty = [
873
- [/^\[([^:]+):(.+)\]$/, ([, prop, value]) => ({ [prop]: handler.bracket(`[${value}]`) })]
873
+ [/^\[([\w_-]+):([^'"]+)\]$/, ([, prop, value]) => ({ [prop]: handler.bracket(`[${value}]`) })]
874
874
  ];
875
875
 
876
876
  const questionMark = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.30.12",
3
+ "version": "0.31.2",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -61,7 +61,7 @@
61
61
  ],
62
62
  "sideEffects": false,
63
63
  "dependencies": {
64
- "@unocss/core": "0.30.12"
64
+ "@unocss/core": "0.31.2"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",