diff --git a/_tools/check_docs.ts b/_tools/check_docs.ts index 14d9b24224a9..8a7d2897d8e8 100644 --- a/_tools/check_docs.ts +++ b/_tools/check_docs.ts @@ -73,6 +73,7 @@ const ENTRY_POINTS = [ "../regexp/mod.ts", "../semver/mod.ts", "../streams/mod.ts", + "../streams/unstable_to_lines.ts", "../tar/mod.ts", "../text/mod.ts", "../testing/bdd.ts", diff --git a/streams/deno.json b/streams/deno.json index acaee3d973ad..5521d31de45e 100644 --- a/streams/deno.json +++ b/streams/deno.json @@ -17,7 +17,7 @@ "./to-array-buffer": "./to_array_buffer.ts", "./to-blob": "./to_blob.ts", "./to-json": "./to_json.ts", - "./to-lines": "./to_lines.ts", + "./unstable-to-lines": "./unstable_to_lines.ts", "./to-text": "./to_text.ts", "./to-transform-stream": "./to_transform_stream.ts", "./zip-readable-streams": "./zip_readable_streams.ts" diff --git a/streams/mod.ts b/streams/mod.ts index 0c5df4b93119..f618f924ea77 100644 --- a/streams/mod.ts +++ b/streams/mod.ts @@ -32,7 +32,6 @@ export * from "./text_line_stream.ts"; export * from "./to_array_buffer.ts"; export * from "./to_blob.ts"; export * from "./to_json.ts"; -export * from "./to_lines.ts"; export * from "./to_text.ts"; export * from "./to_transform_stream.ts"; export * from "./zip_readable_streams.ts"; diff --git a/streams/to_lines.ts b/streams/unstable_to_lines.ts similarity index 95% rename from streams/to_lines.ts rename to streams/unstable_to_lines.ts index 7b09559b356f..7adbc4fd3ae8 100644 --- a/streams/to_lines.ts +++ b/streams/unstable_to_lines.ts @@ -14,7 +14,7 @@ import { TextLineStream } from "./text_line_stream.ts"; * * @example Usage * ```ts - * import { toLines } from "@std/streams/to-lines"; + * import { toLines } from "@std/streams/unstable-to-lines"; * import { assertEquals } from "@std/assert/equals"; * * const readable = ReadableStream.from([ diff --git a/streams/to_lines_test.ts b/streams/unstable_to_lines_test.ts similarity index 95% rename from streams/to_lines_test.ts rename to streams/unstable_to_lines_test.ts index 053b969092ea..65d0897ba80a 100644 --- a/streams/to_lines_test.ts +++ b/streams/unstable_to_lines_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { toLines } from "./to_lines.ts"; +import { toLines } from "./unstable_to_lines.ts"; import { assertEquals } from "@std/assert"; Deno.test("toLines() parses simple input", async () => {