@unocss/core 0.45.15 → 0.45.18

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.cjs CHANGED
@@ -416,7 +416,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
416
416
  };
417
417
  }
418
418
 
419
- const version = "0.45.15";
419
+ const version = "0.45.18";
420
420
 
421
421
  class UnoGenerator {
422
422
  constructor(userConfig = {}, defaults = {}) {
package/dist/index.d.ts CHANGED
@@ -129,7 +129,7 @@ declare class BetterMap<K, V> extends Map<K, V> {
129
129
  map<R>(mapFn: (value: V, key: K) => R): R[];
130
130
  }
131
131
 
132
- declare function withLayer<T>(layer: string, rules: Rule<T>[]): Rule<T>[];
132
+ declare function withLayer<T extends {}>(layer: string, rules: Rule<T>[]): Rule<T>[];
133
133
 
134
134
  declare const regexClassGroup: RegExp;
135
135
  declare function expandVariantGroup(str: string, seperators?: string[], depth?: number): string;
@@ -621,6 +621,7 @@ interface UnocssPluginContext<Config extends UserConfig = UserConfig> {
621
621
  onInvalidate: (fn: () => void) => void;
622
622
  root: string;
623
623
  updateRoot: (root: string) => Promise<LoadConfigResult<Config>>;
624
+ getConfigFileList: () => string[];
624
625
  }
625
626
  interface SourceMap {
626
627
  file?: string;
package/dist/index.mjs CHANGED
@@ -412,7 +412,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
412
412
  };
413
413
  }
414
414
 
415
- const version = "0.45.15";
415
+ const version = "0.45.18";
416
416
 
417
417
  class UnoGenerator {
418
418
  constructor(userConfig = {}, defaults = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.45.15",
3
+ "version": "0.45.18",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "devDependencies": {
40
40
  "magic-string": "^0.26.2",
41
- "unconfig": "^0.3.5"
41
+ "unconfig": "^0.3.6"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "unbuild",