nanoid
6.0.2 · 5 Oct 2026MIT398.9M / weekRepositoryHomepagenpmAtom feed
Upgrading nanoid From 2.1.11 to 3.3.18
56 releases in betweennotes for 53
Reading releases, release notes and advisories…
Counted from 53 of 56 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.1.13
Security
Fixes 4 advisories affecting 2.1.11
- 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
- 3.1.31
Fixed collision vulnerability on object in
size(by Artyom Arutyunyan).
Release by release
- Fixed
Fixed infinite loop on async for React Native
- Fixed
- Fixed
Fixed infinite loop on zero size.
- Fixed
- Fixed
Fixed infinite loop on negative size
- Fixed
- Fixed
Fixed npm provenance error.
- Fixed
- Fixed
Fixed random pool corruption on big ID sizes.
- Fixed
3.3.13nothing new or fixed in the note
- Fixed
Fixed breaking Nano ID by requesting big ID.
- Fixed
- Fixed
Fixed React Native support.
- Fixed
18 other lines we could not sort, mostly version bumps
- 3.3.13
Reduced npm package size.
- 3.3.5
Backport funding information.
- 3.3.3
Reduced size (by Anton Khlynovskiy).
- 3.3.1
Reduced package size.
- 3.1.32
Reduced
asyncexports size (by Artyom Arutyunyan). - 3.1.32
Moved from Jest to uvu (by Vitaly Baev).
- 3.1.30
Reduced size for project with
brotlicompression (by Anton Khlynovskiy). - 3.1.27
Cleaned
dependenciesfrom development tools. - 3.1.26
Improved performance (by Eitan Har-Shoshanim).
- 3.1.19
Reduced
customAlphabetsize (by Enrico Scherlies).
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.