Skip to content

Add pnpm-within-range regression fixture (#528)#557

Open
Ayush7614 wants to merge 1 commit into
OWASP:mainfrom
Ayush7614:ayush18
Open

Add pnpm-within-range regression fixture (#528)#557
Ayush7614 wants to merge 1 commit into
OWASP:mainfrom
Ayush7614:ayush18

Conversation

@Ayush7614
Copy link
Copy Markdown
Contributor

@Ayush7614 Ayush7614 commented Jun 5, 2026

Summary

  • Adds examples/pnpm-within-range/ — pnpm equivalent of examples/wrong-parent/ for Discussion Help wanted: edge case lockfile fixtures for regression testing #528 fixture 4
  • body-parser@1.20.5 pulls transitive qs@6.15.1 (pinned via pnpm override); parent declares ~6.15.1 which already permits 6.15.2+
  • CVE Lite should suggest pnpm update --no-save qs (lockfile refresh), not a parent bump
  • Documents the fixture and wrong-parent in examples/readme.md

Verified scan output

node dist/index.js examples/pnpm-within-range --verbose
  • 41 packages parsed from pnpm-lock.yaml
  • 1 medium finding: qs@6.15.1 (transitive)
  • Fix command: pnpm update --no-save qs
  • Section: "Medium severity parent updates within range"

Test plan

Closes Discussion #528 item fixture 4 (regression fixture).

pnpm equivalent of wrong-parent: transitive qs@6.15.1 via body-parser
where ~6.15.1 already permits 6.15.2+, so CVE Lite should suggest
pnpm update --no-save qs instead of a parent bump.
@Ayush7614
Copy link
Copy Markdown
Contributor Author

cc: @sonukapoor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant