Skip to content

On##> ## ๐Ÿ“ข Type of changeย #17860

@saidmahamed9605-hue

Description

@saidmahamed9605-hue

๐Ÿ“ข Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

๐Ÿ“œ 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

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

๐Ÿ”ฎ Next steps

Very active

Originally posted by @saidmahamed9605-hue in getsentry/sentry-react-native#5185 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions