@iconify/json 2.0.29 → 2.0.33

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/collections.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mdi": {
3
3
  "name": "Material Design Icons",
4
- "total": 6675,
4
+ "total": 6686,
5
5
  "author": {
6
6
  "name": "Austin Andrews",
7
7
  "url": "https://github.com/Templarian/MaterialDesign"
@@ -278,8 +278,8 @@
278
278
  },
279
279
  "bi": {
280
280
  "name": "Bootstrap Icons",
281
- "total": 1522,
282
- "version": "1.7.2",
281
+ "total": 1668,
282
+ "version": "1.8.0",
283
283
  "author": {
284
284
  "name": "The Bootstrap Authors",
285
285
  "url": "https://github.com/twbs/icons"
@@ -300,7 +300,7 @@
300
300
  },
301
301
  "clarity": {
302
302
  "name": "Clarity",
303
- "total": 1099,
303
+ "total": 1101,
304
304
  "author": {
305
305
  "name": "VMware",
306
306
  "url": "https://github.com/vmware/clarity"
@@ -558,8 +558,8 @@
558
558
  },
559
559
  "majesticons": {
560
560
  "name": "Majesticons",
561
- "total": 420,
562
- "version": "1.0.0",
561
+ "total": 760,
562
+ "version": "2.1.1",
563
563
  "author": {
564
564
  "name": "Gerrit Halfmann",
565
565
  "url": "https://github.com/halfmage/majesticons"
@@ -571,7 +571,7 @@
571
571
  "samples": [
572
572
  "chats-line",
573
573
  "home",
574
- "pencil-alt-line"
574
+ "edit-pen-4-line"
575
575
  ],
576
576
  "height": 24,
577
577
  "displayHeight": 24,
@@ -734,7 +734,7 @@
734
734
  },
735
735
  "codicon": {
736
736
  "name": "Codicons",
737
- "total": 398,
737
+ "total": 401,
738
738
  "version": "0.0.27",
739
739
  "author": {
740
740
  "name": "Microsoft Corporation",
@@ -779,7 +779,7 @@
779
779
  },
780
780
  "lucide": {
781
781
  "name": "Lucide",
782
- "total": 540,
782
+ "total": 542,
783
783
  "author": {
784
784
  "name": "Lucide Contributors",
785
785
  "url": "https://github.com/lucide-icons/lucide"
@@ -1464,8 +1464,8 @@
1464
1464
  },
1465
1465
  "fluent": {
1466
1466
  "name": "Fluent UI System Icons",
1467
- "total": 9804,
1468
- "version": "1.1.157",
1467
+ "total": 10070,
1468
+ "version": "1.1.159",
1469
1469
  "author": {
1470
1470
  "name": "Microsoft Corporation",
1471
1471
  "url": "https://github.com/microsoft/fluentui-system-icons"
@@ -2110,8 +2110,8 @@
2110
2110
  },
2111
2111
  "simple-icons": {
2112
2112
  "name": "Simple Icons",
2113
- "total": 2152,
2114
- "version": "6.7.0",
2113
+ "total": 2163,
2114
+ "version": "6.8.0",
2115
2115
  "author": {
2116
2116
  "name": "Simple Icons Collaborators",
2117
2117
  "url": "https://github.com/simple-icons/simple-icons"
package/collections.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
  ### Material Design Icons
6
- * Number of icons: 6675
6
+ * Number of icons: 6686
7
7
  * Author: Austin Andrews
8
8
  * URL: https://github.com/Templarian/MaterialDesign
9
9
  * License: Open Font License
@@ -124,17 +124,17 @@
124
124
 
125
125
 
126
126
  ### Bootstrap Icons
127
- * Number of icons: 1522
127
+ * Number of icons: 1668
128
128
  * Author: The Bootstrap Authors
129
129
  * URL: https://github.com/twbs/icons
130
130
  * License: MIT
131
131
  * License URL: https://github.com/twbs/icons/blob/master/LICENSE.md
132
- * Version: 1.7.2
132
+ * Version: 1.8.0
133
133
  * Palette: Colorless
134
134
 
135
135
 
136
136
  ### Clarity
137
- * Number of icons: 1099
137
+ * Number of icons: 1101
138
138
  * Author: VMware
139
139
  * URL: https://github.com/vmware/clarity
140
140
  * License: MIT
@@ -249,12 +249,12 @@
249
249
 
250
250
 
251
251
  ### Majesticons
252
- * Number of icons: 420
252
+ * Number of icons: 760
253
253
  * Author: Gerrit Halfmann
254
254
  * URL: https://github.com/halfmage/majesticons
255
255
  * License: MIT
256
256
  * License URL: https://github.com/halfmage/majesticons/blob/main/LICENSE
257
- * Version: 1.0.0
257
+ * Version: 2.1.1
258
258
  * Palette: Colorless
259
259
 
260
260
 
@@ -326,7 +326,7 @@
326
326
 
327
327
 
328
328
  ### Codicons
329
- * Number of icons: 398
329
+ * Number of icons: 401
330
330
  * Author: Microsoft Corporation
331
331
  * URL: https://github.com/microsoft/vscode-codicons
332
332
  * License: CC BY 4.0
@@ -344,7 +344,7 @@
344
344
 
345
345
 
346
346
  ### Lucide
347
- * Number of icons: 540
347
+ * Number of icons: 542
348
348
  * Author: Lucide Contributors
349
349
  * URL: https://github.com/lucide-icons/lucide
350
350
  * License: ISC
@@ -640,12 +640,12 @@
640
640
 
641
641
 
642
642
  ### Fluent UI System Icons
643
- * Number of icons: 9804
643
+ * Number of icons: 10070
644
644
  * Author: Microsoft Corporation
645
645
  * URL: https://github.com/microsoft/fluentui-system-icons
646
646
  * License: MIT
647
647
  * License URL: https://github.com/microsoft/fluentui-system-icons/blob/master/LICENSE
648
- * Version: 1.1.157
648
+ * Version: 1.1.159
649
649
  * Palette: Colorless
650
650
 
651
651
 
@@ -941,12 +941,12 @@
941
941
 
942
942
 
943
943
  ### Simple Icons
944
- * Number of icons: 2152
944
+ * Number of icons: 2163
945
945
  * Author: Simple Icons Collaborators
946
946
  * URL: https://github.com/simple-icons/simple-icons
947
947
  * License: CC0 1.0
948
948
  * License URL: https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md
949
- * Version: 6.7.0
949
+ * Version: 6.8.0
950
950
  * Palette: Colorless
951
951
 
952
952
 
package/composer.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "iconify/json",
3
3
  "description": "Iconify icons collection in JSON format",
4
4
  "type": "library",
5
- "version": "2.0.29",
5
+ "version": "2.0.33",
6
6
  "license": "MIT",
7
7
  "homepage": "https://iconify.design/icon-sets/",
8
8
  "autoload": {
package/dist/index.js CHANGED
@@ -1,25 +1,63 @@
1
- "use strict";var __import_meta_url = typeof document === 'undefined' ? 'file://' + __filename : new URL('index.js', document.baseURI).href;Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts
2
- var _fs = require('fs');
3
- var _url = require('url');
4
- var _pathe = require('pathe');
5
- var _dirname = typeof __dirname !== "undefined" ? __dirname : _pathe.dirname.call(void 0, _url.fileURLToPath.call(void 0, __import_meta_url));
6
- var dir = _pathe.join.call(void 0, _dirname, "/..");
7
- var locate = (name) => _pathe.join.call(void 0, dir, `./json/${name}.json`);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __reExport = (target, module2, copyDefault, desc) => {
11
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
+ for (let key of __getOwnPropNames(module2))
13
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
15
+ }
16
+ return target;
17
+ };
18
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
+ return (module2, temp) => {
20
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
+ };
22
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23
+
24
+ // src/index.ts
25
+ var src_exports = {};
26
+ __export(src_exports, {
27
+ loadCollection: () => loadCollection,
28
+ locate: () => locate,
29
+ lookupCollection: () => lookupCollection,
30
+ lookupCollections: () => lookupCollections
31
+ });
32
+
33
+ // node_modules/tsup/assets/cjs_shims.js
34
+ var getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
35
+ var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
36
+
37
+ // src/index.ts
38
+ var import_fs = require("fs");
39
+ var import_url = require("url");
40
+ var import_pathe = require("pathe");
41
+ var _dirname = typeof __dirname !== "undefined" ? __dirname : (0, import_pathe.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
42
+ var dir = (0, import_pathe.join)(_dirname, "/..");
43
+ var locate = (name) => (0, import_pathe.join)(dir, `./json/${name}.json`);
8
44
  var loadCollection = async (path) => {
9
- return JSON.parse(await _fs.promises.readFile(path, "utf8"));
45
+ return JSON.parse(await import_fs.promises.readFile(path, "utf8"));
10
46
  };
11
47
  var lookupCollection = async (name) => {
12
48
  return await loadCollection(locate(name));
13
49
  };
14
50
  var lookupCollections = async () => {
15
- return JSON.parse(await _fs.promises.readFile(_pathe.join.call(void 0, dir, "./collections.json"), "utf8"));
51
+ return JSON.parse(await import_fs.promises.readFile((0, import_pathe.join)(dir, "./collections.json"), "utf8"));
16
52
  };
17
-
18
-
19
-
20
-
21
-
22
- exports.loadCollection = loadCollection; exports.locate = locate; exports.lookupCollection = lookupCollection; exports.lookupCollections = lookupCollections;
53
+ module.exports = __toCommonJS(src_exports);
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ loadCollection,
57
+ locate,
58
+ lookupCollection,
59
+ lookupCollections
60
+ });
23
61
  /**
24
62
  * This file is part of the iconify.design libraries.
25
63
  *
package/dist/index.mjs CHANGED
@@ -1,12 +1,19 @@
1
+ // node_modules/tsup/assets/esm_shims.js
2
+ import { fileURLToPath } from "url";
3
+ import path from "path";
4
+ var getFilename = () => fileURLToPath(import.meta.url);
5
+ var getDirname = () => path.dirname(getFilename());
6
+ var __dirname = /* @__PURE__ */ getDirname();
7
+
1
8
  // src/index.ts
2
9
  import { promises as fs } from "fs";
3
- import { fileURLToPath } from "url";
10
+ import { fileURLToPath as fileURLToPath2 } from "url";
4
11
  import { dirname, join } from "pathe";
5
- var _dirname = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath(import.meta.url));
12
+ var _dirname = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath2(import.meta.url));
6
13
  var dir = join(_dirname, "/..");
7
14
  var locate = (name) => join(dir, `./json/${name}.json`);
8
- var loadCollection = async (path) => {
9
- return JSON.parse(await fs.readFile(path, "utf8"));
15
+ var loadCollection = async (path2) => {
16
+ return JSON.parse(await fs.readFile(path2, "utf8"));
10
17
  };
11
18
  var lookupCollection = async (name) => {
12
19
  return await loadCollection(locate(name));