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