🎩 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
5.1.15
to
5.1.16
+2
-2
non-secure/index.js

@@ -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 @@ }

{
"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": [