Skip to content

Commit

Permalink
docs(io): update deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 19, 2024
1 parent 0b2497f commit d9ba4a8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion io/copy_n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DEFAULT_BUFFER_SIZE = 32 * 1024;
*
* @deprecated Pipe the readable stream through a new
* {@linkcode https://jsr.io/@std/streams/doc/~/ByteSliceStream | ByteSliceStream}
* instead. This will be removed in the future.
* instead. This will be removed in 0.226.0.
*/
export async function copyN(
r: Reader,
Expand Down
2 changes: 1 addition & 1 deletion io/read_lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { concat } from "@std/bytes/concat";
*
* @deprecated Use
* {@linkcode https://jsr.io/@std/streams/doc/unstable-to-lines/~/toLines | toLines}
* on the readable stream instead. This will be removed in the future.
* on the readable stream instead. This will be removed in 0.226.0.
*/
export async function* readLines(
reader: Reader,
Expand Down
2 changes: 1 addition & 1 deletion io/read_long.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MAX_SAFE_INTEGER = BigInt(Number.MAX_SAFE_INTEGER);
* @throws {Deno.errors.UnexpectedEof} If the reader returns unexpected EOF
* @throws {RangeError} If the long value is too big to be represented as a JavaScript number
*
* @deprecated This will be removed in the future.
* @deprecated This will be removed in 0.226.0.
*/
export async function readLong(buf: BufReader): Promise<number | null> {
const high = await readInt(buf);
Expand Down
2 changes: 1 addition & 1 deletion io/read_string_delim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { readDelim } from "./read_delim.ts";
*
* @deprecated Pipe the readable stream through a
* {@linkcode https://jsr.io/@std/streams/doc/~/TextDelimiterStream | TextDelimiterStream}
* instead. This will be removed in the future.
* instead. This will be removed in 0.226.0.
*/
export async function* readStringDelim(
reader: Reader,
Expand Down
2 changes: 1 addition & 1 deletion io/slice_long_to_bytes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @param dest The array to store the sliced bytes
* @returns The sliced bytes
*
* @deprecated This will be removed in the future.
* @deprecated This will be removed in 0.226.0.
*/
export function sliceLongToBytes(
d: number,
Expand Down

0 comments on commit d9ba4a8

Please sign in to comment.