diff --git a/_tools/check_docs.ts b/_tools/check_docs.ts index f1570f036..89e8f80ff 100644 --- a/_tools/check_docs.ts +++ b/_tools/check_docs.ts @@ -74,6 +74,7 @@ const ENTRY_POINTS = [ "../regexp/mod.ts", "../semver/mod.ts", "../streams/mod.ts", + "../streams/unstable_fixed_chunk_stream.ts", "../streams/unstable_to_lines.ts", "../tar/mod.ts", "../text/mod.ts", diff --git a/streams/deno.json b/streams/deno.json index 5521d31de..1f178d588 100644 --- a/streams/deno.json +++ b/streams/deno.json @@ -11,7 +11,7 @@ "./limited-bytes-transform-stream": "./limited_bytes_transform_stream.ts", "./limited-transform-stream": "./limited_transform_stream.ts", "./merge-readable-streams": "./merge_readable_streams.ts", - "./fixed-chunk-stream": "./fixed_chunk_stream.ts", + "./unstable-fixed-chunk-stream": "./unstable_fixed_chunk_stream.ts", "./text-delimiter-stream": "./text_delimiter_stream.ts", "./text-line-stream": "./text_line_stream.ts", "./to-array-buffer": "./to_array_buffer.ts", diff --git a/streams/mod.ts b/streams/mod.ts index f618f924e..c64410b3d 100644 --- a/streams/mod.ts +++ b/streams/mod.ts @@ -26,7 +26,6 @@ export * from "./early_zip_readable_streams.ts"; export * from "./limited_bytes_transform_stream.ts"; export * from "./limited_transform_stream.ts"; export * from "./merge_readable_streams.ts"; -export * from "./fixed_chunk_stream.ts"; export * from "./text_delimiter_stream.ts"; export * from "./text_line_stream.ts"; export * from "./to_array_buffer.ts"; diff --git a/streams/fixed_chunk_stream.ts b/streams/unstable_fixed_chunk_stream.ts similarity index 95% rename from streams/fixed_chunk_stream.ts rename to streams/unstable_fixed_chunk_stream.ts index 97a885b73..680e00c15 100644 --- a/streams/fixed_chunk_stream.ts +++ b/streams/unstable_fixed_chunk_stream.ts @@ -8,7 +8,7 @@ * * @example Usage * ```ts - * import { FixedChunkStream } from "@std/streams/fixed-chunk-stream"; + * import { FixedChunkStream } from "@std/streams/unstable-fixed-chunk-stream"; * import { assertEquals } from "@std/assert/equals"; * * const readable = ReadableStream.from(function* () { diff --git a/streams/fixed_chunk_stream_test.ts b/streams/unstable_fixed_chunk_stream_test.ts similarity index 89% rename from streams/fixed_chunk_stream_test.ts rename to streams/unstable_fixed_chunk_stream_test.ts index ba68b9c40..bf03fc8df 100644 --- a/streams/fixed_chunk_stream_test.ts +++ b/streams/unstable_fixed_chunk_stream_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertLessOrEqual } from "@std/assert"; -import { FixedChunkStream } from "./fixed_chunk_stream.ts"; +import { FixedChunkStream } from "./unstable_fixed_chunk_stream.ts"; Deno.test("FixedChunkStream", async () => { const size = 512; diff --git a/tar/untar_stream.ts b/tar/untar_stream.ts index 98476d95d..310e5c87e 100644 --- a/tar/untar_stream.ts +++ b/tar/untar_stream.ts @@ -1,5 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { FixedChunkStream } from "@std/streams"; +import { FixedChunkStream } from "@std/streams/unstable-fixed-chunk-stream"; /** * The original tar archive header format.