Conversation
…lnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-XMLDOMXMLDOM-15869636 - https://snyk.io/vuln/SNYK-JS-LODASH-15869625 - https://snyk.io/vuln/SNYK-JS-LODASH-15869619
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
| "compressorjs": "^1.1.1", | ||
| "elliptic": "^6.5.5", | ||
| "expo": "^50.0.20", | ||
| "expo": "^53.0.0", |
There was a problem hiding this comment.
🔴 Expo 53 upgrade breaks web build due to incompatible @expo/webpack-config dependency
Bumping expo from ^50.0.20 to ^53.0.0 creates a peer dependency conflict with @expo/webpack-config@^19.0.1 (line 16), whose latest version (19.0.1) declares peerDependencies: { "expo": "^49.0.7 || ^50.0.0-0" }. No newer version of @expo/webpack-config exists that supports Expo 53 — Expo deprecated webpack for web after SDK 50. Additionally, app.json:32 configures "bundler": "webpack", which is no longer supported in Expo 53. The web, dev:electron-web, and build:electron-web scripts will all fail.
Prompt for agents
The expo version was bumped from ^50 to ^53, but this is incompatible with the rest of the project setup:
1. @expo/webpack-config@^19.0.1 (package.json line 16) only supports expo ^49 or ^50. No newer version supports expo 53. Expo dropped webpack support after SDK 50.
2. app.json (line 32) sets web bundler to webpack, which is not supported in Expo 53.
3. Several other expo-* sub-packages are still at Expo 50-era versions (expo-clipboard ~5.0.0, expo-document-picker ~11.10.1, expo-image-manipulator ~11.8.0, expo-image-picker ~14.7.1, expo-localization ~14.8.4, expo-status-bar ~1.11.1) and may have runtime incompatibilities with Expo 53.
4. react-native 0.73.7 and react 18.2.0 are from the Expo 50 era.
If this PR is just to fix vulnerabilities, consider either:
- Reverting the expo bump and only keeping the lodash and other safe updates
- Doing a complete Expo SDK 53 migration including updating react, react-native, all expo-* packages, migrating from webpack to Metro for web, and removing @expo/webpack-config
Was this helpful? React with 👍 or 👎 to provide feedback.
Snyk has created this PR to fix 3 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
packages/connect-examples/expo-example/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-XMLDOMXMLDOM-15869636
SNYK-JS-LODASH-15869625
SNYK-JS-LODASH-15869619
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution
🦉 Arbitrary Code Injection
🦉 XML Injection