[SPARK-60932][INFRA][TEST] Fix npm vulnerabilities in dev and ui-test #60133
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 250 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #60133"
general
weight: 0.35
spark-test
What changes were proposed in this pull request?
This fixes the npm advisories that can be fixed in
devandui-test.dev:fast-uri3.1.8 -> 3.1.9 inpackage-lock.json, vianpm audit fix --package-lock-only. It is in the rangeajvasks for, sopackage.jsondoes not change.ui-test:glob^13.0.3 -> ^14.0.3, and anoverridesentry"glob@>=10 <14": "$glob", so that@jest/reporters,jest-configandjest-runtime, which ask forglob^10.5.0, get the sameglob14.0.3. That movesminimatch9.0.9 and 10.2.4 to 11.0.4.glob10 and 13 depend onminimatch^9 and ^10, and no 9.x or 10.x release fixes the advisory, soglobhas to go to 14. Jest only callsglob.sync(pattern, { windowsPathsNoEscape: true }), whichglob14 keeps.Why are the changes needed?
fast-uri: GHSA-w74x-v6f9-j3xg, GHSA-xhq7-xmqj-769h, GHSA-wjr9-j795-jxcr and GHSA-333x-w4r6-6crp, fixed in 3.1.9.minimatch: GHSA-g3hv-75wg-m249 (denial of service via globparts amplification), affecting 7.0.0 to 11.0.0 and fixed in 11.0.1.This addresses https://github.com/apache/spark/security/dependabot/259, https://github.com/apache/spark/security/dependabot/260, https://github.com/apache/spark/security/dependabot/261, https://github.com/apache/spark/security/dependabot/262 and https://github.com/apache/spark/security/dependabot/273.
glob14.0.3 also clears GHSA-3g3m-2fjr-6pw4, whichnpm auditreports forglob9.0.0 to 14.0.1.deepmerge(https://github.com/apache/spark/security/dependabot/265, low) has no fixed release, soui-teststill reports it.These are dev/test-only dependencies, but it is worth keeping the audit clean.
Does this PR introduce _any_ user-facing change?
No.
How was this patch tested?
npm auditreports 0 vulnerabilities indev, and only thedeepmergechain inui-test. GitHub Actions does not runnpm audit.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5