From cfa7cbc16c25ab44afbf023c3ddd924f0ce83292 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Fri, 31 May 2024 22:03:36 +1000 Subject: [PATCH] chore(uuid): release `uuid@1.0.0-rc.1` (#4867) * chore(uuid): release `uuid@1.0.0-rc.1` * temp fix --------- Co-authored-by: Yoshiya Hinosawa --- uuid/deno.json | 2 +- uuid/mod.ts | 2 +- uuid/v1.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/uuid/deno.json b/uuid/deno.json index d9fe9a857..c8cd96978 100644 --- a/uuid/deno.json +++ b/uuid/deno.json @@ -1,6 +1,6 @@ { "name": "@std/uuid", - "version": "0.224.3", + "version": "1.0.0-rc.1", "exports": { ".": "./mod.ts", "./common": "./common.ts", diff --git a/uuid/mod.ts b/uuid/mod.ts index d91fceb86..84c61db47 100644 --- a/uuid/mod.ts +++ b/uuid/mod.ts @@ -44,7 +44,7 @@ import { generate as generateV5, validate as validateV5 } from "./v5.ts"; * import { assert } from "@std/assert/assert"; * * const uuid = v1.generate(); - * assert(v1.validate(uuid)); + * assert(v1.validate(uuid as string)); * ``` */ export const v1 = { diff --git a/uuid/v1.ts b/uuid/v1.ts index bf4afe038..9fa698afa 100644 --- a/uuid/v1.ts +++ b/uuid/v1.ts @@ -93,7 +93,7 @@ export interface GenerateOptions { * }; * * const uuid = generate(options); - * assert(validate(uuid)); + * assert(validate(uuid as string)); * ``` */ export function generate(options: GenerateOptions = {}): string {