fix(security): resolve Dependabot alerts via npm overrides and lockfile refresh#41
Conversation
|
🌐 Web preview: https://deploy.beakerstack.com/pr-41/ 📱 Mobile Preview (OTA Updates)No native code changes detected - using OTA updates only. Step 1: Install Development Build (one-time setup)
Step 2: Load PR Preview Update
Note: You must use the full URL format - just entering the channel name ( Alternative: For local development, use: 📖 See Mobile Build Testing Guide for detailed instructions. Updated at: May 9, 2026 at 6:05 PM PDT |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s root npm overrides to address Dependabot-reported dependency issues by forcing patched versions across the workspace install graph.
Changes:
- Added an override for
@babel/plugin-transform-modules-systemjsto ensure a fixed version is used. - Added/updated overrides for
postcss,fast-uri, andfast-xml-builderto enforce newer, presumably non-vulnerable versions.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CI Coverage & Test Summary
Suites: 37 passed, 0 failed (37 total) · Tests: 407 passed, 0 failed (425 total) ✅ All reported test suites passed. Coverage artifacts: Updated at: May 9, 2026 at 6:08 PM PDT |
Summary
Addresses reported Dependabot /
npm auditfindings with minimal surface area: rootoverridesin the npm workspaces monorepo plus a regeneratedpackage-lock.jsonso nested resolutions honor those overrides—no Expo SDK, React Native, or other major dependency upgrades.Changes
package.jsonoverrides (security-patched transitive versions):@babel/plugin-transform-modules-systemjs→7.29.4(GHSA-fv7c-fp4j-7gwp)fast-uri→^3.1.2(GHSA-q3j6-qgpj-74h6, GHSA-v39h-62p7-jpjc)fast-xml-builder→^1.1.7(GHSA-5wm8-gmm8-39j9, GHSA-45c6-75p6-83cc)postcss→^8.5.10(GHSA-qx2v-qp2m-jg93; includes the copy pulled under@expo/metro-config)package-lock.jsonregenerated from the repo root so the lockfile matches the override graph (avoids stale nested pins that ignored overrides).Verification
npm audit→ 0 vulnerabilities at the monorepo rootnpm run test:unit:sharednpm run test:unit:mobileType of change
Merge strategy reminder
develop: use Squash and merge.Squash merging to
maincan cause conflicts when mergingdevelop→mainlater.Checklist
test:unit:shared,test:unit:mobile)