Skip to content

Commit

Permalink
BREAKING(streams/unstable): move to-lines module to `unstable-to-li…
Browse files Browse the repository at this point in the history
…nes` (#5950)
  • Loading branch information
iuioiua authored Sep 12, 2024
1 parent 4f1826d commit b76ae27
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions _tools/check_docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion streams/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion streams/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion streams/to_lines.ts → streams/unstable_to_lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand Down

0 comments on commit b76ae27

Please sign in to comment.