Expo SDK old dependencies
See original GitHub issueπ Bug Report
Logkitty vulnerability
Summary of Issue (just a few sentences)
Whenever I start a new project at the expo this error occurs on github.
I saw it yarn lock that the expo SDK uses an outdated version of @react-native-community/cli-platform-android (^3.0.0-alpha.1)
How can i upgrade that?
Environment - output of expo diagnostics
& the platform(s) youβre targeting
βreact-native@https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gzβ: version β0.61.4β resolved βhttps://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz#69f3f63c36c9df52611847a67c9d94596c1754ccβ dependencies: β@babel/runtimeβ β^7.0.0β β@react-native-community/cliβ β^3.0.0-alpha.1β β@react-native-community/cli-platform-androidβ β^3.0.0-alpha.1β β@react-native-community/cli-platform-iosβ β^3.0.0-alpha.1β abort-controller β^3.0.0β art β^0.10.0β base64-js β^1.1.2β connect β^3.6.5β create-react-class β^15.6.3β escape-string-regexp β^1.0.5β event-target-shim β^5.0.1β fbjs β^1.0.0β fbjs-scripts β^1.1.0β hermes-engine β^0.2.1β invariant β^2.2.4β jsc-android β^245459.0.0β metro-babel-register β^0.56.0β metro-react-native-babel-transformer β^0.56.0β metro-source-map β^0.56.0β nullthrows β^1.1.0β pretty-format β^24.7.0β promise β^7.1.1β prop-types β^15.7.2β react-devtools-core β^3.6.3β react-refresh β^0.4.0β regenerator-runtime β^0.13.2β scheduler β0.15.0β stacktrace-parser β^0.1.3β whatwg-fetch β^3.0.0β
Reproducible Demo
- This should include as little code as possible, please donβt simply link your entire project
- Sharing a link to a Snack is a GREAT way to provide a reproducible demo π
- If a reproducible demo, or a complete list of steps from blank project to bug, are not provided, it is very likely your issue will be closed
- If you need more guidance, please see https://stackoverflow.com/help/mcve
As an added benefit- creating a repro may help you identify the source of the bug, which means we are one step closer to fixing it! Thanks for helping us help you!
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
@gregdburns - i just published expo@38.0.9, which includes a version of expo-splash-screen that includes a version of @expo/configure-splash-screen that includes a version of @react-native-community/cli-platform-android that includes a version of logkitty that should resolve this issue π
please install expo@38.0.9 to fix it π
@mdalzell hereβs what Iβve learned, but Iβm still confused because the Expo team is saying that it should be fixed.
There is one work around using npm resolutions (check this article: https://itnext.io/fixing-security-vulnerabilities-in-npm-dependencies-in-less-than-3-mins-a53af735261d), but this doesnβt work for us because it fails when running the npm ci command (npm build works fine).