Packages

nanoid

6.0.2 · 5 Oct 2026MIT398.9M / weekRepositoryHomepagenpmAtom feed

Upgrading nanoid From 5.1.16 to 6.0.2

3 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 5.1.16yours
  2. 6.0.0major
  3. 6.0.1
  4. 6.0.2target
1
change to make
0
advisories fixed
0
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0

Release by release

  1. 6.0.2

    5 Oct 20263 fixes
    • Fixed

      Fixed floats in size of customRandom

    • Fixed

      Fixed performance of customRandom on changes size

    • Fixed

      Fixed docs (by @Likio3000 & @lenamonj).

  2. 6.0.1

    3 Aug 20261 fix
    • Fixed

      Fixed docs.

  3. 6.0.0

    Migration needed12 Jul 2026
    • Breaking

      Removed Node.js 18 and 20 support.

2 other lines we could not sort, mostly version bumps
  • Reduced JS bundle size

    6.0.2
  • Made nanoid() and customAlphabet() 4 times faster

    6.0.0

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.