@iconify/tools 4.1.1 → 4.1.3
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/lib/icon-set/tags.d.cts +2 -0
- package/lib/icon-set/tags.d.mts +2 -0
- package/lib/icon-set/tags.d.ts +2 -0
- package/lib/misc/scan.cjs +6 -1
- package/lib/misc/scan.mjs +6 -1
- package/package.json +9 -9
package/lib/icon-set/tags.d.cts
CHANGED
package/lib/icon-set/tags.d.mts
CHANGED
package/lib/icon-set/tags.d.ts
CHANGED
package/lib/misc/scan.cjs
CHANGED
|
@@ -76,7 +76,12 @@ function scanDirectorySync(path, callback, subdirs = true) {
|
|
|
76
76
|
if (isHidden(filename)) {
|
|
77
77
|
continue;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
let stat;
|
|
80
|
+
try {
|
|
81
|
+
stat = fs.statSync(path + subdir + filename);
|
|
82
|
+
} catch (err) {
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
80
85
|
if (stat.isDirectory()) {
|
|
81
86
|
if (subdirs) {
|
|
82
87
|
scan(subdir + filename + "/");
|
package/lib/misc/scan.mjs
CHANGED
|
@@ -74,7 +74,12 @@ function scanDirectorySync(path, callback, subdirs = true) {
|
|
|
74
74
|
if (isHidden(filename)) {
|
|
75
75
|
continue;
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
let stat;
|
|
78
|
+
try {
|
|
79
|
+
stat = statSync(path + subdir + filename);
|
|
80
|
+
} catch (err) {
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
78
83
|
if (stat.isDirectory()) {
|
|
79
84
|
if (subdirs) {
|
|
80
85
|
scan(subdir + filename + "/");
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
|
|
5
5
|
"author": "Vjacheslav Trushkin",
|
|
6
|
-
"version": "4.1.
|
|
6
|
+
"version": "4.1.3",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"bugs": "https://github.com/iconify/tools/issues",
|
|
9
9
|
"homepage": "https://github.com/iconify/tools",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"types": "./lib/index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@iconify/types": "^2.0.0",
|
|
19
|
-
"@iconify/utils": "^2.
|
|
19
|
+
"@iconify/utils": "^2.3.0",
|
|
20
20
|
"@types/tar": "^6.1.13",
|
|
21
|
-
"axios": "^1.
|
|
21
|
+
"axios": "^1.12.1",
|
|
22
22
|
"cheerio": "1.0.0",
|
|
23
23
|
"domhandler": "^5.0.3",
|
|
24
24
|
"extract-zip": "^2.0.1",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/jest": "^29.5.14",
|
|
32
|
-
"@types/node": "^
|
|
32
|
+
"@types/node": "^24.3.3",
|
|
33
33
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
34
34
|
"@typescript-eslint/parser": "^6.21.0",
|
|
35
35
|
"cross-env": "^7.0.3",
|
|
36
36
|
"eslint": "^8.57.1",
|
|
37
|
-
"eslint-config-prettier": "^
|
|
38
|
-
"eslint-plugin-prettier": "^5.
|
|
37
|
+
"eslint-config-prettier": "^10.1.8",
|
|
38
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
39
39
|
"jest": "^29.7.0",
|
|
40
|
-
"prettier": "^3.
|
|
40
|
+
"prettier": "^3.6.2",
|
|
41
41
|
"rimraf": "^6.0.1",
|
|
42
|
-
"ts-jest": "^29.
|
|
43
|
-
"typescript": "^5.
|
|
42
|
+
"ts-jest": "^29.4.1",
|
|
43
|
+
"typescript": "^5.9.2",
|
|
44
44
|
"unbuild": "^2.0.0"
|
|
45
45
|
},
|
|
46
46
|
"exports": {
|