# What changed in resolve.exports

> 3 changes in resolve.exports 2 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/resolve.exports/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## resolve.exports 2

### Breaking changes

- resolve now returns string arrays or undefined, supports arrayable entries, and normalizes all outputs into arrays so consumers can uniformly traverse results. (2.0.0) — [release notes](https://github.com/lukeed/resolve.exports/releases/tag/v2.0.0)

### New APIs and options

- Adds a function to resolve "imports" identifiers. (2.0.0) — [release notes](https://github.com/lukeed/resolve.exports/releases/tag/v2.0.0)

### Behavior and default changes

- resolve now accepts import specifiers and dispatches to imports() for import identifiers, otherwise calling exports(). (2.0.0) — [release notes](https://github.com/lukeed/resolve.exports/releases/tag/v2.0.0)
