Skip to content

Commit 27bbad5

Browse files
committed
fix: raise vite, zod and vitest floors instead of overriding them
Workspace overrides are not published, so the released @docubook/core and @docubook/flame ranges still accepted vulnerable zod/vite. Bump the package.json specifiers and keep overrides only for transitive deps.
1 parent ceb5265 commit 27bbad5

9 files changed

Lines changed: 64 additions & 49 deletions

File tree

‎.changeset/deps-audit-floors.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@docubook/core": patch
3+
"@docubook/flame": patch
4+
---
5+
6+
Raise the `zod` dependency floor to `^4.6.7` in `@docubook/core` and `@docubook/flame`, and `vite` to `^8.3.5` in `@docubook/flame`, so installs no longer resolve versions with known security advisories.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"prettier-plugin-tailwindcss": "^0.8.1",
3232
"turbo": "^2.10.12",
3333
"typescript": "^7.0.2",
34-
"vitest": "^4.1.8"
34+
"vitest": "^4.1.12"
3535
},
3636
"workspaces": [
3737
"packages/*"

‎packages/core/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"unist-util-visit": "^5.1.0",
6868
"vfile": "^6.0.3",
6969
"vfile-matter": "^5.0.1",
70-
"zod": "^4.6.5"
70+
"zod": "^4.6.7"
7171
},
7272
"peerDependencies": {
7373
"react": ">=18"
@@ -81,6 +81,6 @@
8181
"react": "^19.3.0",
8282
"typescript": "^7.0.2",
8383
"unified": "^11.0.5",
84-
"vite": "^8.3.2"
84+
"vite": "^8.3.5"
8585
}
8686
}

‎packages/flame/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"react": "^19.3.0",
7171
"react-dom": "^19.3.0",
7272
"unified": "^11.0.5",
73-
"vite": "^8.3.2",
74-
"zod": "^4.6.5"
73+
"vite": "^8.3.5",
74+
"zod": "^4.6.7"
7575
},
7676
"peerDependencies": {
7777
"@sentry/bun": "^10.0.0"

‎packages/markdown/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
"react-dom": "^19.3.0",
6464
"react-icons": "^5.7.0",
6565
"typescript": "^7.0.2",
66-
"vite": "^8.3.2"
66+
"vite": "^8.3.5"
6767
}
6868
}

‎packages/themes-colors/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"license": "MIT",
5656
"devDependencies": {
5757
"@types/node": "^25.9.9",
58-
"@vitest/coverage-v8": "^4.1.11",
58+
"@vitest/coverage-v8": "^4.1.12",
5959
"typescript": "^7.0.2",
60-
"vite": "^8.3.2"
60+
"vite": "^8.3.5"
6161
}
6262
}

‎packages/ui-react/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"react": "^19.3.0",
110110
"react-dom": "^19.3.0",
111111
"typescript": "^7.0.2",
112-
"vite": "^8.3.2"
112+
"vite": "^8.3.5"
113113
},
114114
"publishConfig": {
115115
"access": "public"

‎pnpm-lock.yaml‎

Lines changed: 49 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ overrides:
1414
fast-uri: "4.2.3"
1515
dompurify: "3.4.17"
1616
"js-yaml@4": "4.3.2"
17-
vite: "8.3.5"
18-
vitest: "4.1.12"
19-
"@vitest/mocker": "4.1.12"
20-
"@vitest/coverage-v8": "4.1.12"
21-
zod: "4.6.7"
2217
"mermaid>katex": "0.18.10"
2318
"@tailwindcss/typography>postcss-selector-parser": "7.1.7"
2419
allowBuilds:

0 commit comments

Comments
 (0)