Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EventEmitter crash in react-native for v0.61.+ version #946

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Fix EventEmitter crash in react-native for v0.61.+ version #946

merged 1 commit into from
Oct 9, 2019

Conversation

KarlosQ
Copy link
Contributor

@KarlosQ KarlosQ commented Oct 9, 2019

This fix the crash when try to require EventEmitter on 0.61 react-native version

Related issue #936

@codecov
Copy link

codecov bot commented Oct 9, 2019

Codecov Report

Merging #946 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #946   +/-   ##
=======================================
  Coverage   91.95%   91.95%           
=======================================
  Files          54       54           
  Lines        5045     5045           
  Branches     1133     1133           
=======================================
  Hits         4639     4639           
  Misses        406      406
Impacted Files Coverage Δ
src/EventEmitter.js 40% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0dbdff...9c30bc3. Read the comment docs.

Copy link
Member

@dplewis dplewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Would this support almost all versions of React Native?

@KarlosQ
Copy link
Contributor Author

KarlosQ commented Oct 9, 2019

LGTM!

Would this support almost all versions of React Native?

Yes, all versions (at least 0.50 or above) have EventEmitter in this path.

@dplewis dplewis merged commit 18fd502 into parse-community:master Oct 9, 2019
@dplewis
Copy link
Member

dplewis commented Oct 9, 2019

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants