mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
fix: resolve all npm audit security vulnerabilities
Ran npm audit fix to resolve 19 vulnerabilities and upgraded vitest from v3 to v4.1.8 (breaking change) to fix the critical UI server advisory (GHSA-5xrq-8626-4rwp). Vitest v4 no longer allows vi.fn() mocks to be used as constructors, so converted constructor mocks (IntersectionObserver, ResizeObserver, AbortController, NPool/NRelay1) to real classes in the test setup and affected test files. npm audit now reports 0 vulnerabilities.
This commit is contained in:
5 files changed
+550
-647
No files matched your search
+1
-1
@@ -151,6 +151,6 @@
|
||||
"typescript-eslint": "^8.0.1",
|
||||
"vite": "^6.3.5",
|
||||
"vite-plugin-pwa": "^1.1.0",
|
||||
"vitest": "^3.1.4"
|
||||
"vitest": "^4.1.8"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user