+1
-0
@@ -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", |
+1
-1
@@ -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. |
12259
0.96%291
0.34%