[Snyk] Fix for 2 vulnerabilities#34
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-VITEST-17375131 - https://snyk.io/vuln/SNYK-JS-VITESTCOVERAGEV8-17375132
|
This is a minor version upgrade for Key Changes:
Recommendation: Source: Vitest 4.1 Release Notes [2]
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
PR Complexity Score: 1.2 - Trivial
View Breakdown
- Lines Changed: 4
- Files Changed: 1
- Complexity Added: 0
- Raw Score: 3.08
Overview
This PR updates the Vitest testing tooling versions used by the better-auth package. The intent is to keep development dependencies aligned with newer Vitest releases and their coverage plugin. Only package.json for packages/better-auth is affected.
Key Changes
- Bumps
@vitest/coverage-v8from^4.0.18to^4.1.8to use a newer coverage plugin version. - Bumps
vitestfrom^4.0.18to^4.1.8to align the test runner with the updated coverage plugin and recent fixes/features.
Risks & Considerations
- Potential for subtle behavior changes in test execution or coverage reporting due to the Vitest minor version upgrade.
- Tests should be run to confirm there are no regressions or configuration incompatibilities with the newer Vitest versions.
File-level change summary
| File | Change summary |
|---|---|
| packages/better-auth/package.json | Updated Vitest and its coverage plugin devDependency versions. |
Snyk has created this PR to fix 2 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
packages/better-auth/package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-VITEST-17375131
SNYK-JS-VITESTCOVERAGEV8-17375132
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.