nanoid
6.0.2 · 5 Oct 2026MIT398.9M / weekRepositoryHomepagenpmAtom feed
Upgrading nanoid From 1.2.1 to 1.3.4
10 releases in betweennotes for 9
Reading releases, release notes and advisories…
Security
4 advisories still affect 1.3.4
- 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
- New
Add
asynccallback type check.
- New
- Fixed
Fix
nanoid/asyncperformance regression. - Fixed
Fix old Node.js
not seededissue in synchronous version too.
- Fixed
- Fixed
Fix random generator
not seededissue of old Node.js.
- Fixed
1.2.6 – 1.3.13 releases, nothing new or fixed; 1 without a note
- Fixed
Fix Node.js 6.11.1 support (by Andrey Belym).
- Fixed
- New
Speed up Node.js secure generators (by Dmitriy Tsvettsikh).
- New
- Fixed
Fix JSDoc (by Hendry Sadrak).
- Fixed
- Fixed
Fix distribution in
nanoid/non-secure(by Eatall).
- Fixed
3 other lines we could not sort, mostly version bumps
- 1.3.4
Reduce
non-securesize. - 1.3.1
Reduce library size.
- 1.2.6
Reduce library size (by rqrqrqrq).
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.