security: Patch 60 Dependabot alerts across quickstart apps#244
security: Patch 60 Dependabot alerts across quickstart apps#244Connor Power (connorpower) merged 4 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolves high/critical vulnerabilities in: - javascript-tui/: minimatch, tar - javascript-web/: minimatch, rollup, tar - react-native-expo/ (both lockfiles): minimatch, fast-xml-parser, tar, react-server-dom-webpack, serialize-javascript Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds scoped resolutions to patch transitive dependencies that yarn v1 cannot bump via `yarn upgrade` alone: - minimatch 3.1.2 -> 3.1.5 (via glob, eslint, test-exclude) - minimatch 9.0.5 -> 9.0.9 (via @typescript-eslint/typescript-estree) - fast-xml-parser 4.5.3 -> 4.5.4 (via @react-native-community/cli-config-android) - glob 10.4.5 -> 10.5.0 (via @expo/config-plugins) All parent semver ranges already allow these versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR patches 60 high/critical Dependabot alerts across 5 manifests (5 quickstart apps) in a single PR. The fixes upgrade vulnerable transitive dependencies — primarily minimatch, tar, fast-xml-parser, glob, and rollup — to their patched versions. The approach uses npm audit fix for npm manifests and scoped resolutions entries in package.json for yarn v1 lockfiles.
Changes:
react-native/package.json: New scoped resolutions added to force vulnerable transitive dependencies to patched versions in yarn v1react-native/yarn.lock+react-native-expo/yarn.lock: Updated lockfile entries for patched packages (minimatch,fast-xml-parser,glob,ansi-regex,strip-ansi,tar, etc.)javascript-tui/package-lock.json: Updated entries forminimatch,tar,ajv,lodash,undicito patched versionsCLAUDE.md: New "Security Patching" section documenting the process for future contributors
Reviewed changes
Copilot reviewed 2 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
react-native/package.json |
Adds scoped yarn resolutions to pin vulnerable transitive dependencies to patched versions |
react-native/yarn.lock |
Updates lockfile entries; consolidates duplicate stanzas and bumps vulnerable packages |
react-native-expo/yarn.lock |
Updates lockfile entries with patched versions; removes react-server-dom-webpack and its transitive deps |
javascript-tui/package-lock.json |
Bumps minimatch, tar, ajv, lodash, undici to patched versions via npm audit fix |
CLAUDE.md |
Documents the security patching workflow for future automated/manual use |
Files not reviewed (2)
- javascript-tui/package-lock.json: Language not supported
- react-native-expo/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Podfile.lock pinned DittoReactNativeIOS at 4.13.0 but package.json has @dittolive/ditto@4.13.1, causing `pod install` to fail in CI. Removing the lockfile so CI regenerates it with the correct versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Re: Copilot review comment on missing diffs — both |
Closes SPO-67
Closes SPO-72
Closes SPO-73
Closes SPO-74
Closes SPO-87
Closes SPO-88
Closes SPO-89
Closes SPO-90
Closes SPO-91
Closes SPO-95
Closes SPO-96
Closes SPO-97
Closes SPO-98
Closes SPO-99
Closes SPO-102
Summary
Patches all 60 open high/critical Dependabot alerts across 5 manifests in a single PR.
javascript-tui/ (
package-lock.json)minimatch3.1.2 → 3.1.5, 9.0.5 → 9.0.9tar7.4.3 → 7.5.10javascript-web/ (
package-lock.json)minimatch3.1.2 → 3.1.5, 9.0.5 → 9.0.9rollup4.40.1 → 4.59.0tar6.2.1 → 7.5.10react-native-expo/ (
package-lock.json+yarn.lock)minimatch3.1.2 → 3.1.5, 9.0.5 → 9.0.9fast-xml-parser4.5.3 → 4.5.4tar7.5.2 → 7.5.10react-server-dom-webpack19.0.1 → removed (no longer resolved)serialize-javascript6.0.2 → 7.0.3react-native/ (
yarn.lock)minimatch3.1.2 → 3.1.5, 9.0.5 → 9.0.9fast-xml-parser4.5.3 → 4.5.4glob10.4.5 → 10.5.0Approach
npm audit fix(with--legacy-peer-depsfor react-native-expo)resolutionsinpackage.json— all parent semver ranges already permit the patched versions, but yarn v1 pins old resolutions for transitive depsBuild verification
javascript-tuinpm run buildpassesjavascript-webnpm run buildpassesreact-native-exponpx expo exportfails with "No routes found" — pre-existing on main, not caused by this PRreact-nativenpx yarn install --check-filespasses (native build requires Xcode/Android SDK)