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

@keepdb/uuidv8

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keepdb/uuidv8 - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+1
-1
package.json
{
"name": "@keepdb/uuidv8",
"version": "1.0.6",
"version": "1.0.7",
"description": "UUID v8 with expiration and HMAC signature validation - Works on Node.js, Browser, and Edge Workers",

@@ -5,0 +5,0 @@ "type": "module",

@@ -56,2 +56,5 @@ //================================================

// 防止同一毫秒内重复:强制等待 1ms
await new Promise(resolve => setTimeout(resolve, 1));
const now = Date.now();

@@ -58,0 +61,0 @@ const expiryTimestamp = now + expiryDays * 24 * 60 * 60 * 1000;