- Switch from
crypto.pseudoRandomBytes()
back tocrypto.randomBytes()
(Both are equivalent in Node 4.x and above, andpseudoRandomBytes()
is deprecated in Node 11.x and above) - Add
engines
field to package.json - Fix character distribution non-uniformity issue by adding back
-
and_
to generated ids - Add character distribution test
- Enable strict mode
- Fix JSDoc optional parameter syntax
- Add
Promise
-based API
- Add README.md
- Add
repository
field to package.json - Add
license
field to package.json - Remove unused var, added param documentation
- Add MIT License
- Change string generation to not rely internally on base64 byte buffer encoding
- Change string generation to only use the 62 latin alphanumeric chars
- Switch from
crypto.randomBytes()
tocrypto.pseudoRandomBytes()
- Make unique ids safe for use in URLs (Using 62 latin alphanumeric chars,
-
and_
)
- Initial Release