Skip to content

Commit

Permalink
Port nilUuid removal to 4.4 (#16521)
Browse files Browse the repository at this point in the history
## Description
Port of #16516 for patching.
  • Loading branch information
justus-camp authored Jul 21, 2023
1 parent ee11e5e commit 6785c5c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
*/
Expand Down

0 comments on commit 6785c5c

Please sign in to comment.