@iconify/tools 2.0.3 → 2.0.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.
@@ -8,7 +8,7 @@ const minify_1 = require("@iconify/utils/lib/icon-set/minify");
8
8
  const convert_info_1 = require("@iconify/utils/lib/icon-set/convert-info");
9
9
  const props_1 = require("./props");
10
10
  const svg_1 = require("../svg");
11
- // eslint-disable-next-line @typescript-eslint/no-unused-vars-experimental, @typescript-eslint/no-unused-vars
11
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
12
  function assertNever(v) {
13
13
  //
14
14
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mergeIconSets = void 0;
4
4
  const _1 = require(".");
5
5
  const match_1 = require("./match");
6
- // eslint-disable-next-line @typescript-eslint/no-unused-vars-experimental, @typescript-eslint/no-unused-vars
6
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
7
  function assertNever(v) {
8
8
  //
9
9
  }
@@ -76,7 +76,7 @@ async function runSVGO(svg, options = {}) {
76
76
  params: {
77
77
  prefix: typeof options.cleanupIDs === 'string'
78
78
  ? options.cleanupIDs
79
- : 'svg-',
79
+ : 'svgID',
80
80
  },
81
81
  },
82
82
  ]
@@ -58,7 +58,7 @@ async function runSVGO(svg, options = {}) {
58
58
  {
59
59
  name: "cleanupIDs",
60
60
  params: {
61
- prefix: typeof options.cleanupIDs === "string" ? options.cleanupIDs : "svg-"
61
+ prefix: typeof options.cleanupIDs === "string" ? options.cleanupIDs : "svgID"
62
62
  }
63
63
  }
64
64
  ] : []);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iconify/tools",
3
3
  "description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
4
4
  "author": "Vjacheslav Trushkin",
5
- "version": "2.0.3",
5
+ "version": "2.0.4",
6
6
  "license": "MIT",
7
7
  "bugs": "https://github.com/iconify/tools/issues",
8
8
  "homepage": "https://github.com/iconify/tools",
@@ -22,14 +22,14 @@
22
22
  "test": "npm run test:jest && npm run test:jasmine"
23
23
  },
24
24
  "dependencies": {
25
- "@iconify/utils": "^1.0.20",
25
+ "@iconify/utils": "^1.0.21",
26
26
  "@types/cheerio": "^0.22.30",
27
27
  "@types/node-fetch": "^2.5.12",
28
28
  "@types/svgo": "^2.6.0",
29
29
  "@types/tar": "^6.1.0",
30
30
  "cheerio": "^1.0.0-rc.10",
31
31
  "extract-zip": "^2.0.1",
32
- "node-fetch": "^2.6.6",
32
+ "node-fetch": "^3.2.0",
33
33
  "pathe": "^0.2.0",
34
34
  "svgo": "^2.8.0",
35
35
  "tar": "^6.1.11"