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 <stibium121@gmail.com>
This commit is contained in:
Asher Gomez 2024-05-31 22:03:36 +10:00 committed by GitHub
parent 0bfa4faed5
commit cfa7cbc16c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@std/uuid",
"version": "0.224.3",
"version": "1.0.0-rc.1",
"exports": {
".": "./mod.ts",
"./common": "./common.ts",

View File

@ -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 = {

View File

@ -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 {