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 initresolve.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.
New APIs and options 1
Adds a function to resolve "imports" identifiers.
Behavior and default changes 1
resolve now accepts import specifiers and dispatches to imports() for import identifiers, otherwise calling exports().