@unocss/preset-icons 0.45.13 → 0.45.14

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/core.cjs CHANGED
@@ -111,9 +111,9 @@ function createPresetIcons(lookupIconLoader) {
111
111
  };
112
112
  }
113
113
  function combineLoaders(loaders) {
114
- return (...args) => {
114
+ return async (...args) => {
115
115
  for (const loader of loaders) {
116
- const result = loader(...args);
116
+ const result = await loader(...args);
117
117
  if (result)
118
118
  return result;
119
119
  }
package/dist/core.mjs CHANGED
@@ -107,9 +107,9 @@ function createPresetIcons(lookupIconLoader) {
107
107
  };
108
108
  }
109
109
  function combineLoaders(loaders) {
110
- return (...args) => {
110
+ return async (...args) => {
111
111
  for (const loader of loaders) {
112
- const result = loader(...args);
112
+ const result = await loader(...args);
113
113
  if (result)
114
114
  return result;
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-icons",
3
- "version": "0.45.13",
3
+ "version": "0.45.14",
4
4
  "description": "Pure CSS Icons for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "@iconify/utils": "^1.0.33",
51
- "@unocss/core": "0.45.13",
51
+ "@unocss/core": "0.45.14",
52
52
  "ohmyfetch": "^0.4.18"
53
53
  },
54
54
  "devDependencies": {