mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
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:
parent
0bfa4faed5
commit
cfa7cbc16c
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@std/uuid",
|
||||
"version": "0.224.3",
|
||||
"version": "1.0.0-rc.1",
|
||||
"exports": {
|
||||
".": "./mod.ts",
|
||||
"./common": "./common.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 = {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user