@unocss/core 0.56.2 → 0.56.4
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
|
@@ -590,7 +590,7 @@ function definePreset(preset) {
|
|
|
590
590
|
return preset;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
const version = "0.56.
|
|
593
|
+
const version = "0.56.4";
|
|
594
594
|
|
|
595
595
|
var __defProp = Object.defineProperty;
|
|
596
596
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -1037,7 +1037,7 @@ class UnoGenerator {
|
|
|
1037
1037
|
const selectorMap = new TwoKeyMap();
|
|
1038
1038
|
const parsed = (await Promise.all(uniq(expanded).map(async (i) => {
|
|
1039
1039
|
const result = isString(i) ? await this.parseUtil(i, context, true, meta.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", normalizeCSSEntries(i), void 0, []]];
|
|
1040
|
-
if (!result)
|
|
1040
|
+
if (!result && this.config.warn)
|
|
1041
1041
|
warnOnce(`unmatched utility "${i}" in shortcut "${parent[1]}"`);
|
|
1042
1042
|
return result || [];
|
|
1043
1043
|
}))).flat(1).filter(Boolean).sort((a, b) => a[0] - b[0]);
|
package/dist/index.mjs
CHANGED
|
@@ -588,7 +588,7 @@ function definePreset(preset) {
|
|
|
588
588
|
return preset;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
const version = "0.56.
|
|
591
|
+
const version = "0.56.4";
|
|
592
592
|
|
|
593
593
|
var __defProp = Object.defineProperty;
|
|
594
594
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -1035,7 +1035,7 @@ class UnoGenerator {
|
|
|
1035
1035
|
const selectorMap = new TwoKeyMap();
|
|
1036
1036
|
const parsed = (await Promise.all(uniq(expanded).map(async (i) => {
|
|
1037
1037
|
const result = isString(i) ? await this.parseUtil(i, context, true, meta.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", normalizeCSSEntries(i), void 0, []]];
|
|
1038
|
-
if (!result)
|
|
1038
|
+
if (!result && this.config.warn)
|
|
1039
1039
|
warnOnce(`unmatched utility "${i}" in shortcut "${parent[1]}"`);
|
|
1040
1040
|
return result || [];
|
|
1041
1041
|
}))).flat(1).filter(Boolean).sort((a, b) => a[0] - b[0]);
|