question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

image

  • 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:closed
  • Created 3 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
brentvatnecommented, Jul 30, 2020

@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 πŸ˜ƒ

1reaction
gregdburnscommented, Jul 30, 2020

@mdalzell here’s what I’ve learned, but I’m still confused because the Expo team is saying that it should be fixed.

  • Logkitty is used by @react-native-community/cli-platform-android@4.7.0
  • The react native community library is used by React Native
  • The issue is fixed in Logkitty v0.7.1, but this fix has not worked it’s way through React Native -> Expo

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).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Expo SDK
Learn how to incrementally upgrade the Expo SDK version in your project. We recommend upgrading SDK versions incrementally, one at a time. Doing...
Read more >
Why does Expo create React native app with old versions of ...
I checked brand new expo react-native app dependencies' versions and it looks like some of them are old versions.
Read more >
expo - npm
The Expo SDK. Latest version: 47.0.9, last published: 2 days ago. Start using expo in your project by running `npm i expo`.
Read more >
How to Fix a React Native Version Mismatch Quickly - Waldo
To illustrate the previous example, let's say you're using an older version of the game, v1. This version uses a dependency d1.0.
Read more >
Being free from β€œexpo” in React Native apps - Medium
Expo allows you to work using an SDK with access to native ... This project is using the last compatible dependencies between React...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found