fix(deps): resolve all Dependabot security alerts#235
Conversation
- Bump fast-xml-parser to 5.7.2 in yarn.lock and rn-purchasely-test (CVE patched in 5.7.0). - Bump @xmldom/xmldom to 0.9.10 in expo-purchasely-test (high-severity advisories patched in 0.9.10). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
| Filename | Overview |
|---|---|
| test-projects/expo-purchasely-test/package.json | Tightens @xmldom/xmldom override to >=0.9.10 and fast-xml-parser override to >=5.7.0 — both correct floors to prevent vulnerable resolutions on reinstall. |
| test-projects/rn-purchasely-test/package.json | Tightens fast-xml-parser override from >=4.5.4 to >=5.7.0, matching the expo project and blocking any vulnerable 4.x/5.x-below-5.7.0 resolution. |
| yarn.lock | Bumps fast-xml-parser resolution from 5.6.0 → 5.7.2, with transitive updates to @nodable/entities (1.1.0 → 2.1.0) and fast-xml-builder (1.1.4 → 1.1.5). |
| test-projects/expo-purchasely-test/package-lock.json | Locks @xmldom/xmldom to 0.9.10 (up from 0.9.9), eliminating the high-severity vulnerability window (0.9.0–0.9.9). |
| test-projects/rn-purchasely-test/package-lock.json | Locks fast-xml-parser to 5.7.2 (up from 5.6.0), closing the vulnerability for the RN CLI test project. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[npm/yarn install] --> B{override floor check}
B -->|fast-xml-parser| C["floor: >=5.7.0 both projects"]
B -->|xmldom| D["floor: >=0.9.10 expo only"]
C --> E["Resolves to 5.7.2 safe"]
D --> F["Resolves to 0.9.10 safe"]
E --> G[No CVE]
F --> G
subgraph Before
H["fast-xml-parser >=4.5.4 resolved 5.6.0 CVE"]
I["xmldom >=0.8.12 resolved 0.9.9 CVE"]
end
subgraph After
E
F
end
Reviews (2): Last reviewed commit: "fix(deps): tighten fast-xml-parser overr..." | Re-trigger Greptile
Align expo-purchasely-test override with rn-purchasely-test (>=5.7.0) so a fresh install cannot resolve a version below the patched floor for Dependabot alerts #655/#656. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
All 1 finding addressed in
|
|
@greptileai review |
Summary
fast-xml-parserto 5.7.2 inyarn.lockandtest-projects/rn-purchasely-test/package-lock.json(alerts #655, #656 — vulnerable < 5.7.0).@xmldom/xmldomto 0.9.10 intest-projects/expo-purchasely-test/package-lock.json(alerts #651–#654 — high severity, vulnerable >= 0.9.0, < 0.9.10).test-projects/*/package.jsonfiles so future installs resolve to patched versions.Test plan
yarn lintyarn typecheckyarn test(4 suites, 139 tests)🤖 Generated with Claude Code