mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-15 17:31:46 -10:00
# Why After fixing [GHSA-8qq5-rm4j-mr97](https://github.com/advisories/GHSA-8qq5-rm4j-mr97) by setting resolution of `tar` to 7.5.3 EAS build started failing <img width="776" height="144" alt="Zrzut ekranu 2026-01-20 o 20 17 57" src="https://github.com/user-attachments/assets/02f8d82e-6316-43c4-95e2-6434599456fd" /> Link to github issue: https://github.com/expo/eas-cli/issues/3320 # How `tar` 7.x changed from default exports to named exports for better tree-shaking and ESM/CommonJS hybrid support EAS CLI code still used the old import pattern which no longer exists **Solution:** Updated the TypeScript sources to import tar as a namespace instead of a default export No functional changes besides fixing the broken tar calls, all call sites still use the same options and behavior as before Additionally, updated `tar` from version 7.5.3 to 7.5.4 to address CVE-2026-23950 Closes https://github.com/expo/eas-cli/pull/3353, https://github.com/expo/eas-cli/pull/3360, https://github.com/expo/eas-cli/pull/3354. # Test Plan Run EAS build with tar 7.5.3 to reproduce After this changes EAS build uploads tarball successfully