# What changed in validate-npm-package-name

> 3 changes in validate-npm-package-name 7 to 8 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/validate-npm-package-name/

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

## validate-npm-package-name 8

### Breaking changes

- The supported Node.js versions are now ^22.22.2, ^24.15.0, or >=26.0.0. (8.0.0) — [release notes](https://github.com/npm/validate-npm-package-name/releases/tag/v8.0.0)

## validate-npm-package-name 7

### Breaking changes

- Package names with leading hyphens are now rejected. (7.0.1) — [release notes](https://github.com/npm/validate-npm-package-name/releases/tag/v7.0.1)
- The Node.js engine range was aligned with npm 11, changing the Node.js versions required to use this package. (7.0.0) — [release notes](https://github.com/npm/validate-npm-package-name/releases/tag/v7.0.0)
