nanoid
6.0.2 · 5 Oct 2026MIT398.9M / weekRepositoryHomepagenpmAtom feed
Upgrading nanoid From 4.0.2 to 5.0.0
1 release in betweennotes for 0
Reading releases, release notes and advisories…
5.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
- ?
- changes to make
- 0
- advisories fixed
- ?
- new
- ?
- fixes
Counted from 0 of 1 release notes. Advisories are counted from the advisory database, in full.
Security
4 advisories still affect 5.0.0
- nanoid: non-secure generators can loop indefinitely with negative sizehigh · GHSA-28wg-ghj8-5hjv
- nanoid: custom generators can loop indefinitely when size is zerohigh · GHSA-2v37-7h3g-55p8
- Predictable results in nanoid generation when given non-integer valuesmoderate · GHSA-mwcw-c2x4-8c55
- nanoid: Integer Overflow or Wraparoundhigh · GHSA-xwg4-73v4-xw9w
Upgrading to 5.1.16 clears them.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.