Packages

mlly

1.8.2 · 19 Mar 2026MIT44.9M / weekRepositoryHomepagenpmAtom feed

Your version

1.5.0

11 Jan 2024Where it was published

1.8.2 is the newest release of 1.x.

In short

3 new6 fixed1 changed6 internal

Release note

compare changes

Enhancements

  • Make stripComments optional for syntax detection

  • findExports: Extract name of default exports

  • interopDefault: Support preferNamespace

Fixes

  • Strip comment for syntax detection

  • analyze: Ignore conmments for imports detection

  • lookupNodeModuleSubpath: Handle conditions and nested exports

  • analyze: Allow import statement after }

  • interopDefault: Skip nullish values for default and explicitly return non-objects as-is

  • findExports: Support multiple variables in single export

Types

  • fileURLToPath: Accept url as input

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.