@unocss/postcss 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/esm.mjs +1 -1
  2. package/package.json +7 -7
package/dist/esm.mjs CHANGED
@@ -98,7 +98,7 @@ async function parseScreen(root, uno, directiveName) {
98
98
  else throw new Error(`breakpoint variant not supported: ${prefix}`);
99
99
  return `(min-width: ${size})`;
100
100
  };
101
- if (!variantEntries.find((i) => i[0] === breakpointName)) throw new Error(`breakpoint ${breakpointName} not found`);
101
+ if (!variantEntries.some((i) => i[0] === breakpointName)) throw new Error(`breakpoint ${breakpointName} not found`);
102
102
  rule.name = "media";
103
103
  rule.params = `${generateMediaQuery(breakpointName, prefix)}`;
104
104
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/postcss",
3
3
  "type": "module",
4
- "version": "66.6.7",
4
+ "version": "66.6.8",
5
5
  "description": "PostCSS plugin for UnoCSS",
6
6
  "author": "sibbng <sibbngheid@gmail.com>",
7
7
  "license": "MIT",
@@ -47,12 +47,12 @@
47
47
  "postcss": "^8.4.21"
48
48
  },
49
49
  "dependencies": {
50
- "css-tree": "^3.1.0",
51
- "postcss": "^8.5.6",
52
- "tinyglobby": "^0.2.15",
53
- "@unocss/config": "66.6.7",
54
- "@unocss/rule-utils": "66.6.7",
55
- "@unocss/core": "66.6.7"
50
+ "css-tree": "^3.2.1",
51
+ "postcss": "^8.5.9",
52
+ "tinyglobby": "^0.2.16",
53
+ "@unocss/config": "66.6.8",
54
+ "@unocss/core": "66.6.8",
55
+ "@unocss/rule-utils": "66.6.8"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsdown --config-loader unrun",