🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nanoid

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoid - npm Package Compare versions

Comparing version
3.3.15
to
3.3.16
+2
-2
non-secure/index.cjs

@@ -8,3 +8,3 @@ let urlAlphabet =

let i = size | 0
while (i--) {
while (i-- > 0) {
id += alphabet[(Math.random() * alphabet.length) | 0]

@@ -19,3 +19,3 @@ }

let i = size | 0
while (i--) {
while (i-- > 0) {
id += urlAlphabet[(Math.random() * 64) | 0]

@@ -22,0 +22,0 @@ }

@@ -8,3 +8,3 @@ let urlAlphabet =

let i = size | 0
while (i--) {
while (i-- > 0) {
id += alphabet[(Math.random() * alphabet.length) | 0]

@@ -19,3 +19,3 @@ }

let i = size | 0
while (i--) {
while (i-- > 0) {
id += urlAlphabet[(Math.random() * 64) | 0]

@@ -22,0 +22,0 @@ }

{
"name": "nanoid",
"version": "3.3.15",
"version": "3.3.16",
"description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",

@@ -5,0 +5,0 @@ "keywords": [