@unocss/preset-legacy-compat 66.6.6 → 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.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _unocss_core0 from "@unocss/core";
1
+ import * as _$_unocss_core0 from "@unocss/core";
2
2
 
3
3
  //#region src/index.d.ts
4
4
  interface LegacyCompatOptions {
@@ -21,6 +21,6 @@ interface LegacyCompatOptions {
21
21
  /**
22
22
  * @see https://unocss.dev/presets/legacy-compat
23
23
  */
24
- declare const presetLegacyCompat: _unocss_core0.PresetFactory<object, LegacyCompatOptions>;
24
+ declare const presetLegacyCompat: _$_unocss_core0.PresetFactory<object, LegacyCompatOptions>;
25
25
  //#endregion
26
26
  export { LegacyCompatOptions, presetLegacyCompat as default, presetLegacyCompat };
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 { src_default as default, presetLegacyCompat };
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.6",
4
+ "version": "66.6.8",
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.6"
32
+ "@unocss/core": "66.6.8"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "tsdown",