@unocss/core 66.6.7 → 66.6.8

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -254,7 +254,7 @@ function normalizeCSSEntries(obj) {
254
254
  return (!Array.isArray(obj) ? Object.entries(obj) : obj).filter((i) => i[1] != null);
255
255
  }
256
256
  function normalizeCSSValues(obj) {
257
- if (Array.isArray(obj)) if (obj.find((i) => !Array.isArray(i) || Array.isArray(i[0]))) return obj.map((i) => normalizeCSSEntries(i));
257
+ if (Array.isArray(obj)) if (obj.some((i) => !Array.isArray(i) || Array.isArray(i[0]))) return obj.map((i) => normalizeCSSEntries(i));
258
258
  else return [obj];
259
259
  else return [normalizeCSSEntries(obj)];
260
260
  }
@@ -604,7 +604,7 @@ function definePreset(preset) {
604
604
  }
605
605
  //#endregion
606
606
  //#region package.json
607
- var version = "66.6.7";
607
+ var version = "66.6.8";
608
608
  //#endregion
609
609
  //#region src/generator.ts
610
610
  const symbols = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
3
  "type": "module",
4
- "version": "66.6.7",
4
+ "version": "66.6.8",
5
5
  "description": "The instant on-demand Atomic CSS engine.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",