Skip to content

Releases: unjs/mlly

v1.6.1

23 Feb 16:27
@pi0 pi0
83699b6
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • parseStaticImport: Omit empty import names (#232)

❤️ Contributors

  • Patryk Tomczyk

v1.6.0

21 Feb 16:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add declaration type in ESMExport (#227)
  • utils: Add pathToFileURL (cdcbcb7)

🔥 Performance

  • resolver: Stat absolute paths once in fast path (#229)
  • resolver: Remove intermediate pcall util (#230)
  • resolve: Enable fast path for file urls (#231)

🩹 Fixes

  • resolver: Strictly check input (778bd73)

💅 Refactors

  • resolver: Use pathToFileURL from mlly (982a7a9)
  • Strict type checks (77ebe50)

✅ Tests

  • resolver: Add test for node bultins (58407dd)
  • fileURLToPath, pathToFileURL: Add windows specific tests (bfa2bbe)

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Tamago

v1.5.0

11 Jan 22:15
@pi0 pi0
Compare
Choose a tag to compare

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

v1.4.2

04 Sep 14:01
@pi0 pi0
0686aba
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • findExports: Support generator (#189)

❤️ Contributors

v1.4.1

25 Aug 21:56
@pi0 pi0
cfa04fb
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • isValidNodeImport: Detect invalid cjs modules (#187)

🏡 Chore

🎨 Styles

  • Format with prettier v3 (914493c)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.4.0

20 Jun 19:08
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • findTypeImports for finding type imports (#163)
  • Add parseNodeModulePath and lookupNodeModuleSubpath utils (#89)

🩹 Fixes

  • Fix resolvePath return type (#172)
  • findStaticImports: Support special chars in import specifiers (#169)

✅ Tests

  • Add edge case test for findStaticImports (f0b120b)

❤️ Contributors

v1.3.0

24 May 12:47
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Update import-meta-url to v3 (208b323)

💅 Refactors

  • Remove deprecated notice from sync resolve utils (5223f5a)

📖 Documentation

  • Mention resolveSync and resolvePathSync utils (02a5efe)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.2.1

11 May 18:29
@pi0 pi0
a0e451a
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • findStaticImports: Allow accents in import names (#170)

📖 Documentation

  • Correct import name (#167)

🏡 Chore

❤️ Contributors

v1.2.0

10 Mar 14:35
@pi0 pi0
a48974d
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • findTypeExports for finding type exports (#156)

❤️ Contributors