-
Notifications
You must be signed in to change notification settings - Fork 0
fix(audit): patch high severity dependency vulnerabilities #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -99,7 +99,7 @@ | |||||||||||||||||
| "fast-glob": "^3.3.2", | ||||||||||||||||||
| "log-update": "^7.0.2", | ||||||||||||||||||
| "picocolors": "^1.1.1", | ||||||||||||||||||
| "picomatch": "^4.0.3", | ||||||||||||||||||
| "picomatch": "^4.0.4", | ||||||||||||||||||
| "zod": "^4.3.6" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "devDependencies": { | ||||||||||||||||||
|
|
@@ -138,7 +138,10 @@ | |||||||||||||||||
| }, | ||||||||||||||||||
| "pnpm": { | ||||||||||||||||||
| "overrides": { | ||||||||||||||||||
| "minimatch@>=10.0.0 <10.2.3": "10.2.4" | ||||||||||||||||||
| "defu@<=6.1.4": "6.1.5", | ||||||||||||||||||
| "lodash@>=4.0.0 <=4.17.23": "4.18.0", | ||||||||||||||||||
|
|
||||||||||||||||||
| "minimatch@>=10.0.0 <10.2.3": "10.2.4", | ||||||||||||||||||
| "picomatch@<2.3.2": "2.3.2" | ||||||||||||||||||
|
Comment on lines
+141
to
+144
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "1) Confirm lodash override currently set in package.json"
rg -n '"lodash@>=4\.0\.0 <=4\.17\.23":' package.json -C1
echo
echo "2) Confirm lockfile contains deprecated lodash@4.18.0 entry"
rg -n 'lodash@4\.18\.0|deprecated: Bad release' pnpm-lock.yaml -C2
echo
echo "3) Verify npm metadata for 4.18.0 vs 4.17.21 deprecation fields"
python - <<'PY'
import json, urllib.request
for v in ("4.18.0", "4.17.21"):
with urllib.request.urlopen(f"https://registry.npmjs.org/lodash/{v}") as r:
data = json.load(r)
print(f"{v}: deprecated={data.get('deprecated')!r}")
PYRepository: fbosch/docs-cache Length of output: 3448 Replace the The Suggested fix "pnpm": {
"overrides": {
"defu@<=6.1.4": "6.1.5",
- "lodash@>=4.0.0 <=4.17.23": "4.18.0",
+ "lodash@>=4.0.0 <=4.17.23": "4.17.21",
"minimatch@>=10.0.0 <10.2.3": "10.2.4",
"picomatch@<2.3.2": "2.3.2"
}
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new override pins all
lodashversions up to4.17.23to4.18.0, but this exact version is marked in the lockfile asdeprecated: Bad release. Please use lodash@4.17.21 instead.(pnpm-lock.yaml), so every fresh install will intentionally resolve to a known bad release. That creates a real risk of runtime regressions or supply-chain instability in any codepath using transitive lodash, and the override should target a non-deprecated patched version instead.Useful? React with 👍 / 👎.