@gen3/toolsff 0.12.56 → 0.12.58

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.
@@ -54,14 +54,14 @@ const processIconSet = async (inpath, prefix)=>{
54
54
  }
55
55
  // Clean up and optimise icons
56
56
  try {
57
- await cleanupSVG(svg);
58
- await parseColors(svg, {
57
+ cleanupSVG(svg);
58
+ parseColors(svg, {
59
59
  defaultColor: 'currentColor',
60
60
  callback: (attr, colorStr, color)=>{
61
61
  return !color || isEmptyColor(color) ? colorStr : 'currentColor';
62
62
  }
63
63
  });
64
- await runSVGO(svg);
64
+ runSVGO(svg);
65
65
  } catch (err) {
66
66
  // Invalid icon
67
67
  console.error(`Error parsing ${name}:`, err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen3/toolsff",
3
- "version": "0.12.56",
3
+ "version": "0.12.58",
4
4
  "description": "tools for processing Gen3 commons content: color theme, icons, sharedFilters",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  "node": ">=24.18.0"
10
10
  },
11
11
  "scripts": {
12
- "lint": "eslint --ext .js,.ts src",
12
+ "lint": "oxlint src",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
14
  "clean": "rm -rf ./dist",
15
15
  "build": "rollup --config rollup.config.js",
@@ -41,5 +41,5 @@
41
41
  "files": [
42
42
  "dist"
43
43
  ],
44
- "gitHead": "006fdae8d3f10100a656a8a8fb6946b64761ee0f"
44
+ "gitHead": "7d7c8129ce4e70700c32680db750c9daa5268dd9"
45
45
  }