@unocss/preset-typography 0.60.1 → 0.60.3

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 +1 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -170,7 +170,7 @@ function getCSS(options) {
170
170
  const cssDeclarationBlock = preflights[selector];
171
171
  const notProseSelector = `:not(:where(.not-${selectorName},.not-${selectorName} *))`;
172
172
  const pseudoCSSMatchArray = selector.split(",").map((s) => {
173
- const match = s.match(/::?(?:[\(\)\:\-\d\w]+)$/g);
173
+ const match = s.match(/:[():\-\w]+$/g);
174
174
  if (match) {
175
175
  const matchStr = match[0];
176
176
  s = s.replace(matchStr, "");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-typography",
3
3
  "type": "module",
4
- "version": "0.60.1",
4
+ "version": "0.60.3",
5
5
  "description": "Typography preset for UnoCSS",
6
6
  "author": "Jeff Yang",
7
7
  "license": "MIT",
@@ -32,8 +32,8 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@unocss/core": "0.60.1",
36
- "@unocss/preset-mini": "0.60.1"
35
+ "@unocss/core": "0.60.3",
36
+ "@unocss/preset-mini": "0.60.3"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",