From e5640699360615642a0a624103aefb02146baa8c Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Thu, 12 Sep 2024 12:59:12 +0900 Subject: [PATCH] chore: lint docs of unstable paths (#5940) --- _tools/check_docs.ts | 5 +++++ uuid/unstable_v7.ts | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_tools/check_docs.ts b/_tools/check_docs.ts index b9ade08c2..a81c8cbe5 100644 --- a/_tools/check_docs.ts +++ b/_tools/check_docs.ts @@ -31,6 +31,7 @@ type DocNodeWithJsDoc = T & { const ENTRY_POINTS = [ "../archive/mod.ts", "../assert/mod.ts", + "../assert/unstable_never.ts", "../async/mod.ts", "../bytes/mod.ts", "../cache/mod.ts", @@ -53,6 +54,9 @@ const ENTRY_POINTS = [ "../fs/mod.ts", "../html/mod.ts", "../http/mod.ts", + "../http/unstable_header.ts", + "../http/unstable_method.ts", + "../http/unstable_signed_cookie.ts", "../ini/mod.ts", "../internal/mod.ts", "../io/mod.ts", @@ -78,6 +82,7 @@ const ENTRY_POINTS = [ "../toml/mod.ts", "../ulid/mod.ts", "../uuid/mod.ts", + "../uuid/unstable_v7.ts", "../webgpu/mod.ts", "../yaml/mod.ts", ] as const; diff --git a/uuid/unstable_v7.ts b/uuid/unstable_v7.ts index 475bd3358..9d959ea00 100644 --- a/uuid/unstable_v7.ts +++ b/uuid/unstable_v7.ts @@ -6,9 +6,6 @@ * * UUID Version 7 is defined in {@link https://www.rfc-editor.org/rfc/rfc9562.html#section-5.7 | RFC 9562}. * - * @experimental **UNSTABLE**: New API, yet to be vetted. - * - * @example * ```ts * import { generate, validate, extractTimestamp } from "@std/uuid/unstable-v7"; * import { assert, assertEquals } from "@std/assert"; @@ -18,6 +15,8 @@ * assertEquals(extractTimestamp("017f22e2-79b0-7cc3-98c4-dc0c0c07398f"), 1645557742000); * ``` * + * @experimental **UNSTABLE**: New API, yet to be vetted. + * * @module */