Socket
Socket
Sign inDemoInstall

mlly

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mlly - npm Package Versions

23
8

1.7.1

Diff

Changelog

Source

v1.7.1

compare changes

🩹 Fixes

  • interopDefault: Assign props to default function export (#258)

🏡 Chore

❤️ Contributors

pi0
published 1.7.0 •

Changelog

Source

v1.7.0

compare changes

🚀 Enhancements

  • isValidNodeImport: Support stripComments option (#236)

🩹 Fixes

  • findExports: Find declaration export with inline object or array (#247)

💅 Refactors

  • interopDefault: Simplify implementation (#243)

📖 Documentation

  • Added jsdocs to exported functions and types (#241)

🏡 Chore

❤️ Contributors

pi0
published 1.6.1 •

Changelog

Source

v1.6.1

compare changes

🩹 Fixes

  • parseStaticImport: Omit empty import names (#232)

❤️ Contributors

  • Patryk Tomczyk
pi0
published 1.6.0 •

Changelog

Source

v1.6.0

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)

🏡 Chore

✅ Tests

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

🤖 CI

❤️ Contributors

pi0
published 1.5.0 •

Changelog

Source

v1.5.0

compare changes

🚀 Enhancements

  • Make stripComments optional for syntax detection (#217)
  • findExports: Extract name of default exports (#179)
  • interopDefault: Support preferNamespace (5d23c98)

🩹 Fixes

  • Strip comment for syntax detection (#196)
  • analyze: Ignore conmments 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)

🏡 Chore

  • Update deps and lockfile (7c8af63)
  • Add defaultName type to ESMExport (4acaeaf)
  • Update import-meta-resolve to v4 (#215)
  • Add badges (78d052b)

✅ Tests

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

❤️ Contributors

pi0
published 1.4.2 •

Changelog

Source

v1.4.2

compare changes

🩹 Fixes

  • findExports: Support generator (#189)

🏡 Chore

❤️ Contributors

pi0
published 1.4.1 •

Changelog

Source

v1.4.1

compare changes

🩹 Fixes

  • isValidNodeImport: Detect invalid cjs modules (#187)

🏡 Chore

🎨 Styles

❤️ Contributors

pi0
published 1.4.0 •

Changelog

Source

v1.4.0

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)

🏡 Chore

✅ Tests

  • Add edge case test for findStaticImports (f0b120b)

❤️ Contributors

pi0
published 1.3.0 •

Changelog

Source

v1.3.0

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

pi0
published 1.2.1 •

Changelog

Source

v1.2.1

compare changes

🩹 Fixes

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

📖 Documentation

  • Correct import name (#167)

🏡 Chore

❤️ Contributors

23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc