You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

nanoid

Package Overview
Dependencies
Maintainers
1
Versions
114
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.5
to
5.1.6
+1
-0
index.js

@@ -25,2 +25,3 @@ import { webcrypto as crypto } from 'node:crypto'

return (size = defaultSize) => {
if (!size) return ''
let id = ''

@@ -27,0 +28,0 @@ while (true) {

+2
-1
{
"name": "nanoid",
"version": "5.1.5",
"version": "5.1.6",
"description": "A tiny (118 bytes), secure URL-friendly unique string ID generator",

@@ -26,2 +26,3 @@ "keywords": [

".": {
"types": "./index.d.ts",
"browser": "./index.browser.js",

@@ -28,0 +29,0 @@ "react-native": "./index.browser.js",

@@ -6,3 +6,3 @@ # Nano ID

**English** | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md)
**English** | [日本語](./README.ja.md) | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md) | [한국어](./README.ko.md)

@@ -9,0 +9,0 @@ A tiny, secure, URL-friendly, unique string ID generator for JavaScript.