@unocss/preset-legacy-compat 66.6.6 → 66.6.7
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.mjs +1 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { definePreset } from "@unocss/core";
|
|
2
|
-
|
|
3
2
|
//#region src/comma-color.ts
|
|
4
3
|
function toCommaStyleColorFunction(str) {
|
|
5
4
|
return str.replace(/((?:rgb|hsl)a?)\(([^)]+)\)/g, (_, fn, v) => {
|
|
@@ -10,7 +9,6 @@ function toCommaStyleColorFunction(str) {
|
|
|
10
9
|
return `${fn}(${parts.filter(Boolean).join(", ")})`;
|
|
11
10
|
});
|
|
12
11
|
}
|
|
13
|
-
|
|
14
12
|
//#endregion
|
|
15
13
|
//#region src/index.ts
|
|
16
14
|
/**
|
|
@@ -31,7 +29,5 @@ const presetLegacyCompat = definePreset((options = {}) => {
|
|
|
31
29
|
}
|
|
32
30
|
};
|
|
33
31
|
});
|
|
34
|
-
var src_default = presetLegacyCompat;
|
|
35
|
-
|
|
36
32
|
//#endregion
|
|
37
|
-
export {
|
|
33
|
+
export { presetLegacyCompat as default, presetLegacyCompat };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-legacy-compat",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.6.
|
|
4
|
+
"version": "66.6.7",
|
|
5
5
|
"description": "Collections of legacy compatibility utilities.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@unocss/core": "66.6.
|
|
32
|
+
"@unocss/core": "66.6.7"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsdown",
|