@@ -9,3 +9,3 @@ | ||
| let i = size | 0 | ||
| while (i--) { | ||
| while (i-- > 0) { | ||
| id += alphabet[(Math.random() * alphabet.length) | 0] | ||
@@ -20,3 +20,3 @@ } | ||
| let i = size | 0 | ||
| while (i--) { | ||
| while (i-- > 0) { | ||
| id += urlAlphabet[(Math.random() * 64) | 0] | ||
@@ -23,0 +23,0 @@ } |
+1
-1
| { | ||
| "name": "nanoid", | ||
| "version": "5.1.15", | ||
| "version": "5.1.16", | ||
| "description": "A tiny (118 bytes), secure URL-friendly unique string ID generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
13640
0.06%