Packages

nanoid

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

Upgrading nanoid From 3.3.20 to 5.1.16

30 releases in betweennotes for 28

Reading releases, release notes and advisories…

Other targets from 3.3.20Latest6.0.2
5.0.0, 4.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 3.3.20yours
  2. 4.0.0major
  3. 2 releases
  4. 5.0.0major
  5. 25 releases
  6. 5.1.16target
?
changes to make
0
advisories fixed
4+
new
19+
fixes

Counted from 28 of 30 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 5.1.16

    24 Jun 20261 fix
    • Fixed

      Fixed forever loop on negative size

  2. 5.1.15

    20 Jun 20261 fix
    • Fixed

      Fixed random pool corruption on big ID sizes.

  3. 5.1.14

    18 Jun 20261 fix
    • Fixed

      Fixed npm package size regression.

  4. 5.1.12 – 5.1.132 releases, nothing new or fixed in the notes

  5. 5.1.11

    30 Apr 20261 fix
    • Fixed

      Fixed breaking Nano ID by requesting big ID.

  6. 5.1.10

    30 Apr 20261 fix
    • Fixed

      Fixed breaking nanoid by requesting big ID

  7. 5.1.8 – 5.1.92 releases, nothing new or fixed in the notes

  8. 5.1.7

    15 Mar 20261 new · 2 fixes
    • New

      Added --version to CLI

    • Fixed

      Fixed docs

    • Fixed

      Fixed customRandom types

6 other lines we could not sort, mostly version bumps
  • Moved to npm Provenance and Staged Publishing.

    5.1.12
  • Made cusatomAlphabet 75% faster

    5.1.8
  • Updated nanoid.js for CDN

    5.1.7
  • Reduced customAlphabet size

    5.0.8
  • Make browser’s version faster by increasing size a little (by Samuel Elgozi).

    5.0.5
  • Reduced npm package size

    4.0.1

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.