fix(deps): bump devalue to 5.8.1 to resolve GHSA-77vg-94rm-hx3p#15
Conversation
devalue 5.6.3-5.8.0 has a high-severity DoS vulnerability via sparse array deserialization. Pulled in transitively via astro and @astrojs/react. Bump the lockfile entry to 5.8.1 to unblock `npm audit` (and therefore CI) on all open PRs.
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the devalue dependency in package-lock.json from version 5.7.1 to 5.8.1. The reviewer recommends adding this dependency to the overrides section in package.json to ensure the security fix for GHSA-77vg-94rm-hx3p remains persistent and to prevent potential regressions during future lockfile regenerations.
| }, | ||
| "node_modules/devalue": { | ||
| "version": "5.7.1", | ||
| "version": "5.8.1", |
There was a problem hiding this comment.
To ensure the security fix for devalue (GHSA-77vg-94rm-hx3p) is robust and persistent, consider adding it to the overrides section in package.json. This aligns with the existing project pattern of using overrides for transitive dependencies like yaml and vite, preventing accidental regressions if the lockfile is regenerated or if upstream dependencies are updated in the future.
Summary
npm audit fixto bumpdevalue5.7.1 → 5.8.1 inpackage-lock.jsondevalueis a transitive dep ofastro/@astrojs/react; only the lockfile needs updatingnpm run audit(CI step) fails on every open PR — e.g. chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml from 2.3.5 to 2.3.8 #11Test plan
npm audit→found 0 vulnerabilitiesnpm run lintnpm run typechecknpm run testnpm run build