@unocss/core 0.50.2 → 0.50.3
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
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+:_/-]|\\[&?>?:?\\S*\\])+?)(${key})\\(((?:[
|
|
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
|
}
|
|
@@ -484,7 +484,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
const version = "0.50.
|
|
487
|
+
const version = "0.50.3";
|
|
488
488
|
|
|
489
489
|
class UnoGenerator {
|
|
490
490
|
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+:_/-]|\\[&?>?:?\\S*\\])+?)(${key})\\(((?:[
|
|
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
|
}
|
|
@@ -480,7 +480,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
const version = "0.50.
|
|
483
|
+
const version = "0.50.3";
|
|
484
484
|
|
|
485
485
|
class UnoGenerator {
|
|
486
486
|
constructor(userConfig = {}, defaults = {}) {
|