Seems like a small typo can break the project https://github.com/ianfabs/nanoid/issues/1 Tests could present regression like this.