nanoid
6.0.2 · 5 Oct 2026MIT398.9M / weekRepositoryHomepagenpmAtom feed
Upgrading nanoid From 2.0.0 to 2.1.11
16 releases in betweennotes for 15
Reading releases, release notes and advisories…
Security
4 advisories still affect 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
Upgrading to 3.3.18 clears them.
Release by release
2.1.6 – 2.1.116 releases, nothing new or fixed in the notes
- Fixed
Fix IE support.
- Fixed
- New
Speed up
formatandasync/format(by Max Graey).
- New
2.1.2 – 2.1.32 releases, nothing new or fixed in the notes
- Fixed
Fix React Native support (by Shawn Hwei).
- Fixed
2.0.4 – 2.1.02 releases, nothing new or fixed; 1 without a note
- Fixed
Fix freeze on string in ID length.
- Fixed
2.0.1 – 2.0.22 releases, nothing new or fixed in the notes
19 other lines we could not sort, mostly version bumps
- 2.1.11
Reduce size (by Anton Evzhakov).
- 2.1.10
Reduce size by 10% (by Anton Khlynovskiy).
- 2.1.9
Reduce
formatandasync/formatsize (by Dair Aidarkhanov). - 2.1.8
Improve React docs (by Nahum Zsilva).
- 2.1.7
Reduce
index,asyncandnon-securesize - 2.1.6
Reduce size (by Stas Lashmanov).
- 2.1.6
Return fast mask for Node.js.
- 2.1.5
Reduce size (by Max Graey).
- 2.1.4
Reduce
generatesize (by Vsevolod Rodionov). - 2.1.4
Reduce
formatandformatsize (by Victor).
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.