Open dprevost-LMI opened 1 month ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
I link the PR fixing this, should we only keep the PR open and close this issue?
Upgrade pretty-format to v29 #45732
We can keep it open and will close automatically once the linked PR will merge
Description
For some reason, in our project, at runtime, the react-native code uses the
pretty-format
v29 while the code expects v26. A colleague fixed that by using the below patch, but specifying version 26 in ourpackage.json
also does the job.In our project, I saw that Jest uses
pretty-format
v29, which is undoubtedly somehow related.Instead of investigating the root cause, I thought upgrading
pretty-format
would be more beneficial. So, I'm entering this issue for that; see this PR.Steps to reproduce
Do a console like
console.log('index.native.js', { myObject: 'myvalue' });
and nothing is output Doconsole.log('index.native.js')
and it is outputReact Native Version
0.73.9
Affected Platforms
Runtime - Android, Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/facebook/react-native/pull/45732/files
Screenshots and Videos
No response