11 Nov 2026
Yarn packages keep their real names and are no longer dropped
- What was broken
- Trivy read settings nested deep inside a yarn.lock entry as if they were the entry itself. Some packages showed up under another package's name, and others were dropped with an error.
- What I changed
- Trivy now reads a package's name, version and dependencies only from the lines where Yarn puts them, and skips the nested settings.
- Why it matters
- Yarn projects get scanned under the right package names, so known holes are matched to the right packages.
see the code, #11496 ↗ (opens in a new tab)
11 Nov 2026
npm workspaces with similar names no longer add a fake package
- What was broken
- With two workspaces like "packages/ui" and "packages/ui-kit", Trivy could file one under the other. Which one won changed from run to run, and some runs listed an extra package with no version.
- What I changed
- A workspace now only claims its own folder and the folders inside it, not any folder whose name starts the same way.
- Why it matters
- Scans of npm workspaces give the same, correct package list every time.
see the code, #11495 ↗ (opens in a new tab)
← every project