Repository navigation
chore(deps): refresh lockfile to resolve js-yaml and brace-expansion advisories - #161
Merged
Merged
Conversation
…advisories Bumps transitive dependency resolutions already permitted by existing semver ranges declared by Expo's own packages and devDependencies: - js-yaml 3.15.0 -> 3.15.1 (babel-plugin-istanbul, dev-only) - js-yaml 4.3.0 -> 4.3.1 (@expo/xcpretty, eslint's @eslint/eslintrc) - brace-expansion 5.0.7 -> 5.0.9 (minimatch used by @expo/cli, @expo/config, @expo/config-plugins, @expo/fingerprint, @expo/metro-config) - brace-expansion 1.1.16 -> 1.1.18 (eslint's minimatch@3) No package.json ranges were changed and no Expo/framework versions were bumped or overridden - these are patch-level fixes already allowed by the existing dependency graph. Closes dependabot alerts #14, #13, #11, #8. Note: the following dependabot alerts remain open and are not fixable via a lockfile refresh: - #17, #16 (image-size DoS): no patched version exists upstream; image-size is archived and pulled in transitively via metro, even on the latest metro/expo releases. Needs an upstream fix in Metro. - #2 (uuid missing bounds check): the xcode package (used by @expo/config-plugins) pins uuid@^7.0.3 and has not bumped it in its latest release. Not practically exploitable here since xcode only calls uuid.v4() with no output buffer (the affected code path is v3()/v5()/v6() with a caller-supplied buffer). - #1 (esbuild dev server): comes from drizzle-kit's deprecated @esbuild-kit/esm-loader dependency, unrelated to Expo/Metro's dev server (already patched). Dev-only, low real-world risk since @esbuild-kit only uses esbuild's transform API, not serve(). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
morepriyam
added a commit
that referenced
this pull request
Aug 12, 2026
chore(deps): refresh lockfile to resolve js-yaml and brace-expansion advisories
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
Refreshes
package-lock.jsonto resolve 4 of the 8 open Dependabot security alerts by picking up patched versions that are already permitted by the semver ranges Expo's own packages (and our devDependencies) declare. Nopackage.jsonchanges, no Expo/framework version bumps, nooverrides/resolutionsadded.Fixes
!!omap(3.x):3.15.0→3.15.1(viababel-plugin-istanbul, Jest coverage tooling, dev-only)!!omap(4.x):4.3.0→4.3.1(via@expo/xcprettyand eslint's@eslint/eslintrc)5.0.7→5.0.9(viaminimatch@10used by@expo/cli,@expo/config,@expo/config-plugins,@expo/fingerprint,@expo/metro-config)1.1.16→1.1.18(via eslint'sminimatch@3)Not fixed here (tracked separately, need upstream action)
image-size's repo is archived, and even the latest release (2.0.2) is still within the vulnerable range per the advisories. It's pulled in transitively viametro(Expo's bundler) — even the newestmetro@0.87.0still depends onimage-size@^1.0.2. This needs a fix/replacement from the Metro team; nothing we change locally can resolve it right now.xcodenpm package (used internally by@expo/config-pluginsto edit.pbxprojfiles) pinsuuid@^7.0.3and hasn't bumped it even in its latest release (3.0.1). Verified it only callsuuid.v4()with no output buffer, so this specific vulnerable code path (v3()/v5()/v6()with a caller-supplied buffer) isn't actually reachable in our usage — low practical risk while we wait on upstream.drizzle-kit's deprecated@esbuild-kit/esm-loaderdependency, unrelated to Expo/Metro's dev server (which already uses a patched esbuild). Dev-only;@esbuild-kitonly uses esbuild'stransformAPI, not the vulnerableserve()API, so exploitability is effectively nil.Validation
npm ci— reinstalled clean from the updated lockfile, no resolution conflictsnpx jest— 126 passed, 16 skipped (pre-existing skips), 0 failuresnpx eslint .— identical problem count before/after (4281; all pre-existing, unrelated toreact-native-video-trimgit submodule not being checked out in this environment)npm audit— high/moderate count dropped after the update, confirming the 4 alerts are resolvedCo-authored-by: Copilot 223556219+Copilot@users.noreply.github.com