svg-icon-baker 2.0.1 → 2.1.0

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.
Files changed (2) hide show
  1. package/README.md +1 -6
  2. package/package.json +9 -7
package/README.md CHANGED
@@ -216,12 +216,7 @@ type BakeIssue = {
216
216
  }
217
217
 
218
218
  type BakeErrorCode =
219
- | 'ValidateSourceInvalid'
220
- | 'ValidateNameInvalid'
221
- | 'ValidateSvgRootInvalid'
222
- | 'ParseSvgFailed'
223
- | 'OptimizeSvgFailed'
224
- | 'ResolveViewBoxFailed'
219
+ 'ValidateSourceInvalid' | 'ValidateNameInvalid' | 'ValidateSvgRootInvalid' | 'ParseSvgFailed' | 'OptimizeSvgFailed' | 'ResolveViewBoxFailed'
225
220
 
226
221
  type SvgoOptions = Pick<Config, 'multipass' | 'floatPrecision' | 'js2svg' | 'plugins'>
227
222
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svg-icon-baker",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "A delightful toolkit for baking raw SVG icons into delicious SVG symbol sprites",
5
5
  "keywords": [
6
6
  "svg",
@@ -38,15 +38,16 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "css-tree": "^3.2.1",
41
- "fast-xml-builder": "^1.1.5",
42
- "fast-xml-parser": "^5.7.2",
41
+ "fast-xml-builder": "^1.2.1",
42
+ "fast-xml-parser": "^5.9.3",
43
43
  "svgo": "^4.0.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@vitest/coverage-v8": "^4.1.0",
47
- "rimraf": "^6.1.3",
46
+ "@types/node": "^24.13.3",
47
+ "@vitest/coverage-v8": "^4.1.10",
48
+ "typescript": "~5.9.3",
48
49
  "unbuild": "^3.6.1",
49
- "vitest": "^4.1.0"
50
+ "vitest": "^4.1.10"
50
51
  },
51
52
  "engines": {
52
53
  "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
@@ -56,7 +57,8 @@
56
57
  "build": "unbuild",
57
58
  "test": "vitest run",
58
59
  "coverage": "vitest run --coverage",
59
- "clean": "rimraf dist",
60
+ "typecheck": "tsc -b",
61
+ "clean": "rimraf dist node_modules/.tmp",
60
62
  "release": "commit-and-tag-version --path . -t svg-icon-baker@"
61
63
  }
62
64
  }