@unocss/core 0.55.3 → 0.55.5

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 CHANGED
@@ -821,7 +821,7 @@ class UnoGenerator {
821
821
  if (!parent)
822
822
  return rules;
823
823
  const parents = parent.split(" $$ ");
824
- return `${parents.join("{")}{${nl}${rules}${nl}}${parents.map((_) => "").join("}")}`;
824
+ return `${parents.join("{")}{${nl}${rules}${nl}${"}".repeat(parents.length)}`;
825
825
  }).filter(Boolean).join(nl);
826
826
  if (preflights) {
827
827
  css = [preflightsMap[layer], css].filter(Boolean).join(nl);
package/dist/index.mjs CHANGED
@@ -819,7 +819,7 @@ class UnoGenerator {
819
819
  if (!parent)
820
820
  return rules;
821
821
  const parents = parent.split(" $$ ");
822
- return `${parents.join("{")}{${nl}${rules}${nl}}${parents.map((_) => "").join("}")}`;
822
+ return `${parents.join("{")}{${nl}${rules}${nl}${"}".repeat(parents.length)}`;
823
823
  }).filter(Boolean).join(nl);
824
824
  if (preflights) {
825
825
  css = [preflightsMap[layer], css].filter(Boolean).join(nl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.55.3",
3
+ "version": "0.55.5",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",