@heliosgraphics/utils
Advanced tools
Comparing version 5.1.0 to 5.2.0
{ | ||
"name": "@heliosgraphics/utils", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"private": false, | ||
@@ -10,3 +10,4 @@ "type": "module", | ||
"@heliosgraphics/library": "latest", | ||
"xss": "^1.0.14" | ||
"uuid": "latest", | ||
"xss": "latest" | ||
}, | ||
@@ -13,0 +14,0 @@ "engines": { |
@@ -1,5 +0,5 @@ | ||
import crypto from "crypto" | ||
import { v4 as uuidv4 } from "uuid" | ||
const IS_TEST: boolean = process.env.NODE_ENV === "test" | ||
export const TEST_UUID: string = "00000000-0000-0000-0000-000000000000" as const | ||
export const TEST_UUID: string = "00000000-0000-0000-0000-000000000000" | ||
@@ -12,3 +12,3 @@ export const getUUID = (id?: unknown) => { | ||
return crypto.randomUUID() | ||
return uuidv4() | ||
} | ||
@@ -15,0 +15,0 @@ |
15475
3
+ Addeduuid@latest
+ Addeduuid@11.0.5(transitive)
Updatedxss@latest