unstale

npm / resolve.exports

resolve.exports

What changed in resolve.exports 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking1 new APIs and options1 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

resolve.exports 23 changes

Breaking changes 1

  • resolve now returns string arrays or undefined, supports arrayable entries, and normalizes all outputs into arrays so consumers can uniformly traverse results.

    2.0.0release notes

New APIs and options 1

  • Adds a function to resolve "imports" identifiers.

    2.0.0release notes

Behavior and default changes 1

  • resolve now accepts import specifiers and dispatches to imports() for import identifiers, otherwise calling exports().

    2.0.0release notes