This repository was archived by the owner on Jun 19, 2026. It is now read-only.
Commit 170d9b9
committed
fix(scan): fix yarn.lock scoped package parsing in PowerShell
The regex for non-scoped packages was incorrectly matching scoped
packages due to PowerShell -or evaluation order. By checking the
scoped package pattern (@scope/name) first, we ensure correct parsing.
This mirrors the fix from PR #65 for the bash script.1 parent ce56541 commit 170d9b9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
| 290 | + | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
0 commit comments