mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
BREAKING(streams/unstable): move fixed-chunk-stream
module to unstable-fixed-chunk-stream
(#5951)
BREAKING(streams/unstable): move `fixed-chunk-stream` to `unstable-fixed-chunk-stream`
This commit is contained in:
parent
b900e72b3d
commit
6011e6bcb0
@ -74,6 +74,7 @@ const ENTRY_POINTS = [
|
|||||||
"../regexp/mod.ts",
|
"../regexp/mod.ts",
|
||||||
"../semver/mod.ts",
|
"../semver/mod.ts",
|
||||||
"../streams/mod.ts",
|
"../streams/mod.ts",
|
||||||
|
"../streams/unstable_fixed_chunk_stream.ts",
|
||||||
"../streams/unstable_to_lines.ts",
|
"../streams/unstable_to_lines.ts",
|
||||||
"../tar/mod.ts",
|
"../tar/mod.ts",
|
||||||
"../text/mod.ts",
|
"../text/mod.ts",
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"./limited-bytes-transform-stream": "./limited_bytes_transform_stream.ts",
|
"./limited-bytes-transform-stream": "./limited_bytes_transform_stream.ts",
|
||||||
"./limited-transform-stream": "./limited_transform_stream.ts",
|
"./limited-transform-stream": "./limited_transform_stream.ts",
|
||||||
"./merge-readable-streams": "./merge_readable_streams.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-delimiter-stream": "./text_delimiter_stream.ts",
|
||||||
"./text-line-stream": "./text_line_stream.ts",
|
"./text-line-stream": "./text_line_stream.ts",
|
||||||
"./to-array-buffer": "./to_array_buffer.ts",
|
"./to-array-buffer": "./to_array_buffer.ts",
|
||||||
|
@ -26,7 +26,6 @@ export * from "./early_zip_readable_streams.ts";
|
|||||||
export * from "./limited_bytes_transform_stream.ts";
|
export * from "./limited_bytes_transform_stream.ts";
|
||||||
export * from "./limited_transform_stream.ts";
|
export * from "./limited_transform_stream.ts";
|
||||||
export * from "./merge_readable_streams.ts";
|
export * from "./merge_readable_streams.ts";
|
||||||
export * from "./fixed_chunk_stream.ts";
|
|
||||||
export * from "./text_delimiter_stream.ts";
|
export * from "./text_delimiter_stream.ts";
|
||||||
export * from "./text_line_stream.ts";
|
export * from "./text_line_stream.ts";
|
||||||
export * from "./to_array_buffer.ts";
|
export * from "./to_array_buffer.ts";
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* @example Usage
|
* @example Usage
|
||||||
* ```ts
|
* ```ts
|
||||||
* import { FixedChunkStream } from "@std/streams/fixed-chunk-stream";
|
* import { FixedChunkStream } from "@std/streams/unstable-fixed-chunk-stream";
|
||||||
* import { assertEquals } from "@std/assert/equals";
|
* import { assertEquals } from "@std/assert/equals";
|
||||||
*
|
*
|
||||||
* const readable = ReadableStream.from(function* () {
|
* const readable = ReadableStream.from(function* () {
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import { assert, assertLessOrEqual } from "@std/assert";
|
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 () => {
|
Deno.test("FixedChunkStream", async () => {
|
||||||
const size = 512;
|
const size = 512;
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
// 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.
|
* The original tar archive header format.
|
||||||
|
Loading…
Reference in New Issue
Block a user