*Territory · 2 understandings* ## Summary On Oct 19, 2026, a local install carried 6 vulnerabilities rooted in vitest 2, and vitest was moved from 2.1.9 to 5.0.5 by uninstalling it and installing it again after npm refused the in-place upgrade. ## Explanation - Before the upgrade, the local install carried 6 vulnerabilities — 3 moderate, 1 high and 2 critical — all rooted in vitest 2: tinypool (critical, twice), @vitest/mocker, vite, vite-node and esbuild. - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite,… - vitest went from 2.1.9 to 5.0.5, and because npm refused the in-place upgrade over a vite peer conflict against the installed vitest 2, vitest was uninstalled and then installed. - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. - The vulnerability count and the version move sit on the same day, Oct 19, 2026, with the six advisories traced to the vitest 2 tree and the replacement done by uninstall-then-install rather than in place. - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite,… - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. - The records do not say whether the 6 vulnerabilities were cleared after vitest 5.0.5 was installed, nor which vite version the new install resolved to. - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite,… - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. ## Threads - Six vulnerabilities in the vitest 2 tree, two of them critical in tinypool - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite,… - The vitest move from 2.1.9 to 5.0.5 done by uninstall and reinstall after npm refused the in-place upgrade - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. ## What's still open Whether the six advisories cleared after vitest 5.0.5 went in, and which vite version the new install resolved to, is not recorded. - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite,… - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. ## Consultant **Where it shows up** — The vitest 2 tree keeps coming up: tinypool twice as critical, plus @vitest/mocker, vite, vite-node and esbuild, and the fix ran through an uninstall and reinstall to 5.0.5 rather than an in-place upgrade. **A way forward** — Keep the before-and-after audit output side by side for the vitest 2.1.9 install and the 5.0.5 install, so the six advisories and the vite version each land on a named line. ## Understandings - Locally before the upgrade there were 6 vulnerabilities (3 moderate, 1 high, 2 critical), all rooted in vitest 2: tinypool (critical ×2), @vitest/mocker, vite, vite-node, esbuild. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #165 Dev dependencies- vitest 5, tsup 9, ty|NeuroverseOS/Neuroverseos-governance #165 Dev dependencies: vitest 5, tsup 9, ty]] — 2026-10-19 - vitest went from 2.1.9 to 5.0.5; npm refused the in-place upgrade (vite peer conflict against the installed vitest 2), so it was uninstalled and then installed. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #165 Dev dependencies- vitest 5, tsup 9, ty|NeuroverseOS/Neuroverseos-governance #165 Dev dependencies: vitest 5, tsup 9, ty]] — 2026-10-19 ## Who, where and what Things: [[Bevia/World/Things/@vitest-mocker|@vitest/mocker]], [[Bevia/World/Things/esbuild|esbuild]], [[Bevia/World/Things/tinypool|tinypool]], [[Bevia/World/Things/vite|vite]], [[Bevia/World/Things/vite-node|vite-node]], [[Bevia/World/Things/vitest|vitest]], [[Bevia/World/Things/vitest 2|vitest 2]]