馃摙 Type of change
馃摐 Description
fixes: #5180
Metro 0.83.2 changes exports from cjs:module.exports to mjs:export(default).
The named exports should not cause any issue, but modules.exports to export default requires reading .default.
馃挕 Motivation and Context
Since there were multiple changes in recent Metro version I believe vendoring simple modules like countLine will be more stable in the future.
馃挌 How did you test it?
馃摑 Checklist
馃敭 Next steps
Very active
Originally posted by @saidmahamed9605-hue in getsentry/sentry-react-native#5185 (comment)
Very active
Originally posted by @saidmahamed9605-hue in getsentry/sentry-react-native#5185 (comment)