Skip to content

v1.5.0

Compare
Choose a tag to compare
@pi0 pi0 released this 11 Jan 22:15
· 40 commits to main since this release

compare changes

🚀 Enhancements

  • Strip comment for syntax detection with stripComments option (#196) (#217)
  • findExports: Extract name of default exports (#179)
  • interopDefault: Support preferNamespace (5d23c98)

🩹 Fixes

  • analyze: Ignore comments for imports detection (#155)
  • lookupNodeModuleSubpath: Handle conditions and nested exports (#210)
  • analyze: Allow import statement after } (#166)
  • interopDefault: Skip nullish values for default and explicitly return non-objects as-is (14eb72d)
  • findExports: Support multiple variables in single export (#211)

🌊 Types

  • fileURLToPath: Accept url as input (34f6026)

✅ Tests

  • Add tests for resolve (8c1bead)
  • Add more tests for resolve (#15)

❤️ Contributors