Comparing version 1.2.1 to 1.2.2
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 1.2.2 | ||
* Fix distribution in `nanoid/non-secure` (by Eatall). | ||
## 1.2.1 | ||
@@ -5,0 +8,0 @@ * Fix old Node.js support. |
@@ -25,5 +25,5 @@ var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ' | ||
while (0 < size--) { | ||
id += url[Math.random() * 63 | 0] | ||
id += url[Math.random() * 64 | 0] | ||
} | ||
return id | ||
} |
{ | ||
"name": "nanoid", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A tiny (145 bytes), secure URL-friendly unique string ID generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -81,3 +81,3 @@ # Nano ID | ||
``` | ||
```rust | ||
$ ./test/benchmark | ||
@@ -84,0 +84,0 @@ nanoid 354,201 ops/sec |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15809