chore(deps): close 10 HIGH Dependabot alerts (brace-expansion, js-yaml, tar, postcss, shell-quote) - #270
Open
romainsalles wants to merge 1 commit into
Open
chore(deps): close 10 HIGH Dependabot alerts (brace-expansion, js-yaml, tar, postcss, shell-quote)#270romainsalles wants to merge 1 commit into
romainsalles wants to merge 1 commit into
Conversation
…quote HIGH CVEs Ten open HIGH Dependabot alerts across the three manifests, all transitive and all dev/test tooling. Root yarn.lock (resolutions): - brace-expansion ~1.1.13 -> ~1.1.16 (#726, CVE-2026-13149) - js-yaml >=4.2.0 -> >=5.2.2 (#739, GHSA-pm4m-ph32-ghv5) - tar >=7.5.16 -> >=7.5.18 (#730, GHSA-8x88-c5mf-7j5w) Stays on the 1.x brace-expansion line because `minimatch ~3.1.3` is pinned here and minimatch 3 cannot consume brace-expansion 5.x (v5 dropped the CJS default export). test-projects/expo-purchasely-test (overrides): - brace-expansion ~1.1.13 -> >=5.0.8 (#714, #736) - js-yaml -> ^4.3.0 (#715) - tar >=7.5.10 -> >=7.5.18 (#718) - postcss >=8.5.10 -> >=8.5.18 (#734, supersedes dependabot #269) Here the only brace-expansion consumer is minimatch 10.2.5, which declares `brace-expansion ^5.0.5` — the old ~1.1.13 pin was both vulnerable and a mismatch with what minimatch 10 expects. test-projects/rn-purchasely-test (overrides): - brace-expansion ^5.0.5 -> ^5.0.8 (pre-empts CVE-2026-14257) - js-yaml -> ^4.3.0 (#723) - shell-quote -> >=1.9.0 (#724) Verified: yarn install, yarn lint, yarn typecheck clean; yarn test 249/249 passing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
kherembourg
approved these changes
Jul 29, 2026
Contributor
Greptile SummaryUpdates root and test-project dependency overrides and lockfiles to resolve high-severity Dependabot alerts.
|
| Filename | Overview |
|---|---|
| package.json | Updates root resolutions for brace-expansion, js-yaml, and tar without an identified compatibility failure. |
| yarn.lock | Resolves the updated root dependency constraints to the intended patched versions. |
| test-projects/expo-purchasely-test/package.json | Updates Expo test-project overrides for patched brace-expansion, js-yaml, postcss, and tar versions. |
| test-projects/expo-purchasely-test/package-lock.json | Regenerates the Expo test-project dependency graph consistently with the changed overrides. |
| test-projects/rn-purchasely-test/package.json | Updates React Native test-project overrides for brace-expansion, js-yaml, and shell-quote. |
| test-projects/rn-purchasely-test/package-lock.json | Regenerates the React Native test-project dependency graph with compatible patched transitive versions. |
Reviews (1): Last reviewed commit: "chore(deps): close brace-expansion / js-..." | Re-trigger Greptile
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.
Why
Vanta SOC 2 test
packages-checked-for-vulnerabilities-v2-records-closed-github-dependabot-highis failing. This repo carries 10 of the open HIGH findings, all transitive, all dev/test tooling (nothing in the published SDK).What
Root
yarn.lock(resolutions):~1.1.13→~1.1.16(CVE-2026-13149)>=4.2.0→>=5.2.2(GHSA-pm4m-ph32-ghv5)>=7.5.16→>=7.5.18(GHSA-8x88-c5mf-7j5w)brace-expansion stays on the 1.x line here:
minimatch ~3.1.3is pinned in this workspace and minimatch 3 can't consume brace-expansion 5.x (v5 replaced the CJS default export with a namedexpand).test-projects/expo-purchasely-test(overrides):~1.1.13→>=5.0.8^4.3.0>=7.5.10→>=7.5.18>=8.5.10→>=8.5.18Here the only brace-expansion consumer is
minimatch@10.2.5, which declaresbrace-expansion ^5.0.5— so the previous~1.1.13pin was both vulnerable and feeding minimatch 10 a version whose export shape it doesn't expect. Moving to>=5.0.8fixes both alerts at once. This supersedes Dependabot PR #269 (postcss).test-projects/rn-purchasely-test(overrides):^4.3.0>=1.9.0^5.0.5→^5.0.8(pre-empts CVE-2026-14257)Verification
Local, node 22 (yarn 3.6.1):
yarn install→ okyarn lint→ cleanyarn typecheck→ cleanyarn test→ 249 passing, 6 suitesHeads-up on CI
build-iosis failing on this repo independently of dependencies — the example app fails to link with missingfacebook::react::Props/DebugStringConvertiblevtables out oflibRNScreens.a(ld: symbol(s) not found for architecture arm64). Same failure on Dependabot PR #269, and it does not touch any JS lockfile path. It will need a separate fix before this can merge on a green board.Alert #740 (root
brace-expansion <= 5.0.7, CVE-2026-14257) is not fixable here: the only patched version is 5.0.8, and the root workspace pinsminimatch ~3.1.3. It needs a dismissal (tolerable risk — dev tooling, patterns come from our own configs) or dropping the minimatch pin org-wide.🤖 Generated with Claude Code