vite-plugin-inject-meta 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # 更新日志
2
2
 
3
+ ## 1.0.1 - 2026-11-08
4
+
5
+ 修复 Vite 版本兼容声明。
6
+
7
+ ### 修复
8
+
9
+ - `peerDependencies.vite` 调整为 `>=4.0.0`,支持 Vite 7、Vite 8
10
+
3
11
  ## 1.0.0 - 2026-10-20
4
12
 
5
13
  首个正式版本。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-inject-meta",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A Vite plugin that injects meta tags into HTML, with optional sub-plugins",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "email": "420396633@qq.com",
38
38
  "license": "Apache-2.0",
39
39
  "peerDependencies": {
40
- "vite": "^4.0.0 || ^5.0.0 || ^6.0.0"
40
+ "vite": ">=4.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^24.5.2",