@unocss/astro 0.53.3 → 0.53.5

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.d.ts +2 -2
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { AstroIntegration } from 'astro';
2
2
  import { VitePluginConfig } from '@unocss/vite';
3
3
  import { UserConfigDefaults } from '@unocss/core';
4
4
 
5
- interface AstroIntegrationConfig<Theme extends {} = {}> extends VitePluginConfig<Theme> {
5
+ interface AstroIntegrationConfig<Theme extends object = object> extends VitePluginConfig<Theme> {
6
6
  /**
7
7
  * Include reset styles
8
8
  * When passing `true`, `@unocss/reset/tailwind.css` will be used
@@ -20,6 +20,6 @@ interface AstroIntegrationConfig<Theme extends {} = {}> extends VitePluginConfig
20
20
  */
21
21
  injectExtra?: string[];
22
22
  }
23
- declare function UnoCSSAstroIntegration<Theme extends {}>(options?: AstroIntegrationConfig<Theme>, defaults?: UserConfigDefaults): AstroIntegration;
23
+ declare function UnoCSSAstroIntegration<Theme extends object>(options?: AstroIntegrationConfig<Theme>, defaults?: UserConfigDefaults): AstroIntegration;
24
24
 
25
25
  export { AstroIntegrationConfig, UnoCSSAstroIntegration as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/astro",
3
- "version": "0.53.3",
3
+ "version": "0.53.5",
4
4
  "description": "UnoCSS integration for Astro",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -37,12 +37,12 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@unocss/core": "0.53.3",
41
- "@unocss/reset": "0.53.3",
42
- "@unocss/vite": "0.53.3"
40
+ "@unocss/core": "0.53.5",
41
+ "@unocss/reset": "0.53.5",
42
+ "@unocss/vite": "0.53.5"
43
43
  },
44
44
  "devDependencies": {
45
- "astro": "^2.7.0"
45
+ "astro": "^2.8.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "unbuild",