adamhalasz / uniqid

Unique ID Generator
https://adamhalasz.com
617 stars 49 forks source link

fix: missing variable declaration #27

Closed JonathanStoye closed 4 years ago

JonathanStoye commented 5 years ago

This fixes a missing variable declaration which makes Jest fail. Should be catched by a linter actually.

JonathanStoye commented 5 years ago

@adamhalasz this should be a no brainer and real quick. Would you mind merging this and releasing this? That would be great!

pjebs commented 5 years ago

@adamhalasz Please merge this change. Due to this error, your package is not bundable using rollup.

pjebs commented 5 years ago

If you are supporting node I ended up using: https://github.com/sindresorhus/crypto-random-string If you are supporting browser I ended up using: https://github.com/sidoshi/random-string