chore(deps): patch transitive vulns in docs and bump requests dev floor#998
Open
petercrocker wants to merge 1 commit intostablefrom
Open
chore(deps): patch transitive vulns in docs and bump requests dev floor#998petercrocker wants to merge 1 commit intostablefrom
petercrocker wants to merge 1 commit intostablefrom
Conversation
- Add npm overrides in docs/package.json for 12 vulnerable transitive deps (postcss, follow-redirects, lodash, path-to-regexp, serialize-javascript, node-forge, picomatch, rollup, markdown-it, ajv, qs, webpack) and regenerate docs/package-lock.json against current registry. - Bump requests dev dependency floor to >=2.33.0 to clear GHSA-gc5v-m9x4-r6x2 (Insecure Temp File Reuse in extract_zipped_paths). Resolves the 27 currently open Dependabot alerts. `npm audit` reports 0 vulnerabilities after the lockfile regeneration.
Deploying infrahub-sdk-python with
|
| Latest commit: |
0cadd41
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://175ab1b7.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://shining-freeze.infrahub-sdk-python.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## stable #998 +/- ##
=======================================
Coverage 81.41% 81.41%
=======================================
Files 134 134
Lines 11347 11347
Branches 1703 1703
=======================================
Hits 9238 9238
Misses 1566 1566
Partials 543 543
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
ajtmccarty
approved these changes
May 7, 2026
Contributor
ajtmccarty
left a comment
There was a problem hiding this comment.
backend bump looks good. don't know about the frontend, requesting their review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
overridesblock todocs/package.jsonpinning patched versions of 12 vulnerable transitive deps pulled in by Docusaurus, and regeneratesdocs/package-lock.jsonagainst the current npm registry.requestsdev-dependency floor to>=2.33.0to clear GHSA-gc5v-m9x4-r6x2 (insecure temp file reuse inextract_zipped_paths).Why now (vs. waiting for Docusaurus)
26 of the 27 open Dependabot alerts are in
docs/package-lock.json— all transitive deps of Docusaurus, none declared directly indocs/package.json.@docusaurus/coreis already on the latest 3.x line (^3.10.0→ resolves to 3.10.1), so there's no upstream release to wait on; the patches are available today and the lockfile just hadn't been refreshed.Scoped
name@rangeoverrides are used forpath-to-regexp,picomatch, andajvso that only the vulnerable ranges are bumped — parallel major versions in the dep tree are left untouched.Verification
npm auditindocs/: found 0 vulnerabilitiesuv lock --check: passesTest plan
cd docs && npm install && npm run buildsucceeds locallystable