vite-plugin-svg-sprite 0.7.0 → 0.7.1

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/cjs/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Config as SvgoOptimizeOptions } from 'svgo';
2
- import { Plugin } from 'vite';
2
+ import type { Plugin } from 'vite';
3
3
  declare const exportTypes: readonly ["vanilla", "react", "vue"];
4
4
  export interface DefaultExportType {
5
5
  exportType?: (typeof exportTypes)[number];
package/esm/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Config as SvgoOptimizeOptions } from 'svgo';
2
- import { Plugin } from 'vite';
2
+ import type { Plugin } from 'vite';
3
3
  declare const exportTypes: readonly ["vanilla", "react", "vue"];
4
4
  export interface DefaultExportType {
5
5
  exportType?: (typeof exportTypes)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-svg-sprite",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "SVG sprite plugin for Vite",
5
5
  "type": "module",
6
6
  "exports": {
@@ -43,24 +43,26 @@
43
43
  },
44
44
  "license": "MIT",
45
45
  "devDependencies": {
46
- "@types/micromatch": "^4.0.1",
47
- "@types/node": "^20.4.2",
48
- "@types/react": "^18.3.12",
49
- "eslint": "^9.17.0",
50
- "shx": "^0.3.4",
51
- "typescript": "^5.1.6",
52
- "typescript-eslint": "^8.18.0",
53
- "vite": "^6.0.3",
54
- "vue": "^3.5.13"
46
+ "@eslint/js": "^10.0.1",
47
+ "@types/micromatch": "^4.0.10",
48
+ "@types/node": "^26.4.1",
49
+ "@types/react": "^19.2.18",
50
+ "eslint": "^10.9.1",
51
+ "react": "^19.2.8",
52
+ "shx": "^0.4.0",
53
+ "typescript": "^6.0.3",
54
+ "typescript-eslint": "^8.69.0",
55
+ "vite": "^8.2.2",
56
+ "vue": "^3.5.42"
55
57
  },
56
58
  "dependencies": {
57
- "@xmldom/xmldom": "^0.9.4",
58
- "micromatch": "^4.0.2",
59
- "svgo": "^3.0.2"
59
+ "@xmldom/xmldom": "^0.9.12",
60
+ "micromatch": "^4.0.8",
61
+ "svgo": "^4.1.0"
60
62
  },
61
63
  "peerDependencies": {
62
64
  "react": "17 || 18 || 19",
63
- "vite": "2 || 3 || 4 || 5 || 6 || 7",
65
+ "vite": "2 || 3 || 4 || 5 || 6 || 7 || 8",
64
66
  "vue": "3"
65
67
  },
66
68
  "peerDependenciesMeta": {