From 6785c5c14657033a8690a324717a3d59656383fc Mon Sep 17 00:00:00 2001 From: justus-camp <102552460+justus-camp@users.noreply.github.com> Date: Fri, 21 Jul 2023 13:18:38 -0700 Subject: [PATCH] Port nilUuid removal to 4.4 (#16521) ## Description Port of #16516 for patching. --- .../container-runtime/src/id-compressor/uuidUtilities.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/runtime/container-runtime/src/id-compressor/uuidUtilities.ts b/packages/runtime/container-runtime/src/id-compressor/uuidUtilities.ts index cd47633129b4..fcb9cd317bb2 100644 --- a/packages/runtime/container-runtime/src/id-compressor/uuidUtilities.ts +++ b/packages/runtime/container-runtime/src/id-compressor/uuidUtilities.ts @@ -5,7 +5,7 @@ import { assert } from "@fluidframework/common-utils"; import { StableId, UuidString } from "@fluidframework/runtime-definitions"; -import { v4, NIL } from "uuid"; +import { v4 } from "uuid"; const hexadecimalCharCodes = Array.from("09afAF").map((c) => c.charCodeAt(0)) as [ zero: number, @@ -24,9 +24,6 @@ function isHexadecimalCharacter(charCode: number): boolean { ); } -/** The null (lowest/all-zeros) UUID */ -export const nilUuid = assertIsUuidString(NIL); - /** * Asserts that the given string is a UUID */