@iconify/tools 4.1.2 → 4.1.4

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.
@@ -7,7 +7,12 @@ require('child_process');
7
7
 
8
8
  async function getNPMVersion(options) {
9
9
  const tag = options.tag || "latest";
10
- const result = await misc_exec.execAsync(`npm view ${options.package}@${tag} --json`);
10
+ const result = await misc_exec.execAsync(
11
+ `npm view ${options.package}@${tag} --json`,
12
+ {
13
+ maxBuffer: 1024 * 1024 * 8
14
+ }
15
+ );
11
16
  const data = JSON.parse(result.stdout);
12
17
  return {
13
18
  version: data.version,
@@ -5,7 +5,12 @@ import 'child_process';
5
5
 
6
6
  async function getNPMVersion(options) {
7
7
  const tag = options.tag || "latest";
8
- const result = await execAsync(`npm view ${options.package}@${tag} --json`);
8
+ const result = await execAsync(
9
+ `npm view ${options.package}@${tag} --json`,
10
+ {
11
+ maxBuffer: 1024 * 1024 * 8
12
+ }
13
+ );
9
14
  const data = JSON.parse(result.stdout);
10
15
  return {
11
16
  version: data.version,
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.2",
6
+ "version": "4.1.4",
7
7
  "license": "MIT",
8
8
  "bugs": "https://github.com/iconify/tools/issues",
9
9
  "homepage": "https://github.com/iconify/tools",
@@ -18,7 +18,7 @@
18
18
  "@iconify/types": "^2.0.0",
19
19
  "@iconify/utils": "^2.3.0",
20
20
  "@types/tar": "^6.1.13",
21
- "axios": "^1.8.3",
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": "^20.17.24",
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": "^9.1.0",
38
- "eslint-plugin-prettier": "^5.2.3",
37
+ "eslint-config-prettier": "^10.1.8",
38
+ "eslint-plugin-prettier": "^5.5.4",
39
39
  "jest": "^29.7.0",
40
- "prettier": "^3.5.3",
40
+ "prettier": "^3.6.2",
41
41
  "rimraf": "^6.0.1",
42
- "ts-jest": "^29.2.6",
43
- "typescript": "^5.8.2",
42
+ "ts-jest": "^29.4.1",
43
+ "typescript": "^5.9.2",
44
44
  "unbuild": "^2.0.0"
45
45
  },
46
46
  "exports": {