@unocss/preset-icons 65.4.2 → 65.5.0

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.d.mts CHANGED
@@ -131,6 +131,7 @@ function requireCollections () {
131
131
  "akar-icons",
132
132
  "ant-design",
133
133
  "arcticons",
134
+ "aws",
134
135
  "basil",
135
136
  "bi",
136
137
  "bitcoin-icons",
package/dist/core.d.ts CHANGED
@@ -131,6 +131,7 @@ function requireCollections () {
131
131
  "akar-icons",
132
132
  "ant-design",
133
133
  "arcticons",
134
+ "aws",
134
135
  "basil",
135
136
  "bi",
136
137
  "bitcoin-icons",
package/dist/core.mjs CHANGED
@@ -18,6 +18,7 @@ function requireCollections () {
18
18
  "akar-icons",
19
19
  "ant-design",
20
20
  "arcticons",
21
+ "aws",
21
22
  "basil",
22
23
  "bi",
23
24
  "bitcoin-icons",
@@ -243,7 +244,7 @@ function createPresetIcons(lookupIconLoader) {
243
244
  autoInstall,
244
245
  cwd: collectionsNodeResolvePath,
245
246
  // avoid warn from @iconify/loader: we'll warn below if not found
246
- warn: undefined,
247
+ warn: void 0,
247
248
  customizations: {
248
249
  ...customizations,
249
250
  additionalProps: { ...extraProperties },
@@ -337,7 +338,7 @@ function createCDNFetchLoader(fetcher, cdnBase) {
337
338
  const cache = /* @__PURE__ */ new Map();
338
339
  function fetchCollection(name) {
339
340
  if (!icons.includes(name))
340
- return undefined;
341
+ return void 0;
341
342
  if (!cache.has(name))
342
343
  cache.set(name, fetcher(`${cdnBase}@iconify-json/${name}/icons.json`));
343
344
  return cache.get(name);
package/dist/index.mjs CHANGED
@@ -20,7 +20,7 @@ const _factory = /* @__PURE__ */ createPresetIcons(async (options) => {
20
20
  } = getEnvFlags();
21
21
  if (isNode && !isVSCode && !isESLint) {
22
22
  const nodeLoader = await createNodeLoader();
23
- if (nodeLoader !== undefined)
23
+ if (nodeLoader !== void 0)
24
24
  loaders.push(nodeLoader);
25
25
  }
26
26
  if (cdn)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-icons",
3
3
  "type": "module",
4
- "version": "65.4.2",
4
+ "version": "65.5.0",
5
5
  "description": "Pure CSS Icons for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://unocss.dev",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/unocss/unocss",
12
+ "url": "git+https://github.com/unocss/unocss",
13
13
  "directory": "packages-presets/preset-icons"
14
14
  },
15
15
  "bugs": {
@@ -53,9 +53,9 @@
53
53
  "dist"
54
54
  ],
55
55
  "dependencies": {
56
- "@iconify/utils": "^2.2.1",
56
+ "@iconify/utils": "^2.3.0",
57
57
  "ofetch": "^1.4.1",
58
- "@unocss/core": "65.4.2"
58
+ "@unocss/core": "65.5.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@iconify/types": "^2.0.0"