# What changed in np

> 7 changes in np 12 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/np/

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

## np 12

### Performance

- Prerequisite checks run concurrently to speed up publishing. (12.1.0) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.0)

### Fixes and other changes

- Fixes the OTP prompt failing with “You provided an invalid object where a stream was expected”. (12.1.1) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.1)
- Upstream detection works when the upstream branch has a different name or HEAD is detached. (12.1.0) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.0)
- The paid-plan hint is shown for 402 errors on npm 10 and later. (12.1.0) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.0)
- A failed publish rollback deletes the tag and commit. (12.1.0) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.0)
- The warning is corrected when the package is in a subdirectory. (12.1.0) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.1.0)
- Fixes npm pack with devEngines.packageManager. (12.0.1) — [release notes](https://github.com/sindresorhus/np/releases/tag/v12.0.1)
