@unocss/postcss 66.9.2 → 66.10.1

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/esm.mjs +3 -3
  2. package/package.json +4 -4
package/dist/esm.mjs CHANGED
@@ -67,8 +67,8 @@ async function parseApply(root, uno, directiveName) {
67
67
  }
68
68
  //#endregion
69
69
  //#region src/screen.ts
70
- async function parseScreen(root, uno, directiveName) {
71
- root.walkAtRules(directiveName, async (rule) => {
70
+ function parseScreen(root, uno, directiveName) {
71
+ root.walkAtRules(directiveName, (rule) => {
72
72
  let breakpointName = "";
73
73
  let prefix = "";
74
74
  if (rule.params) breakpointName = rule.params.trim();
@@ -177,7 +177,7 @@ function createPlugin(options) {
177
177
  });
178
178
  await parseApply(root, uno, directiveMap.apply);
179
179
  await parseTheme(root, uno);
180
- await parseScreen(root, uno, directiveMap.screen);
180
+ parseScreen(root, uno, directiveMap.screen);
181
181
  promises.push(...plainContent.map(async (c, idx) => {
182
182
  if (typeof c === "function") c = await c();
183
183
  if (typeof c === "string") c = { code: c };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/postcss",
3
3
  "type": "module",
4
- "version": "66.9.2",
4
+ "version": "66.10.1",
5
5
  "description": "PostCSS plugin for UnoCSS",
6
6
  "author": "sibbng <sibbngheid@gmail.com>",
7
7
  "license": "MIT",
@@ -44,9 +44,9 @@
44
44
  "postcss": "^8.4.21"
45
45
  },
46
46
  "dependencies": {
47
- "@unocss/config": "66.9.2",
48
- "@unocss/core": "66.9.2",
49
- "@unocss/rule-utils": "66.9.2",
47
+ "@unocss/config": "66.10.1",
48
+ "@unocss/core": "66.10.1",
49
+ "@unocss/rule-utils": "66.10.1",
50
50
  "css-tree": "^3.2.1",
51
51
  "postcss": "^8.5.26",
52
52
  "tinyglobby": "^0.2.17"