🔧 npm update

This commit is contained in:
2025-04-15 20:50:11 +02:00
parent ce5b9ac0c8
commit 94a90edabd
828 changed files with 256807 additions and 197099 deletions

View File

@@ -3,7 +3,7 @@ let urlAlphabet =
let customAlphabet = (alphabet, defaultSize = 21) => {
return (size = defaultSize) => {
let id = ''
let i = size
let i = size | 0
while (i--) {
id += alphabet[(Math.random() * alphabet.length) | 0]
}
@@ -12,7 +12,7 @@ let customAlphabet = (alphabet, defaultSize = 21) => {
}
let nanoid = (size = 21) => {
let id = ''
let i = size
let i = size | 0
while (i--) {
id += urlAlphabet[(Math.random() * 64) | 0]
}