Skip to content

chore: deprecate Deno.Buffer and read/write utils#9793

Merged
lucacasonato merged 1 commit into
denoland:mainfrom
lucacasonato:deprecate_buffer_and_readwrite_utils
Apr 5, 2021
Merged

chore: deprecate Deno.Buffer and read/write utils#9793
lucacasonato merged 1 commit into
denoland:mainfrom
lucacasonato:deprecate_buffer_and_readwrite_utils

Conversation

@lucacasonato

@lucacasonato lucacasonato commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

This commit marks the Deno.Buffer / Deno.readAll /
Deno.readAllSync / Deno.writeAll / Deno.writeAllSync utils as
deprecated, and schedules them for removal in Deno 2.0. These
utilities are implemented in pure JS, so should not be part of the
Deno namespace.

These utilities are now available in std/io/buffer and std/io/util:
denoland/std#808.

This additionallty removes all internal dependance on Deno.Buffer.

Towards #9795

Comment thread cli/dts/lib.deno.ns.d.ts Outdated
@lucacasonato lucacasonato force-pushed the deprecate_buffer_and_readwrite_utils branch 2 times, most recently from 94d7d9c to 8e182d9 Compare March 15, 2021 14:07
@lucacasonato lucacasonato force-pushed the deprecate_buffer_and_readwrite_utils branch from 8e182d9 to 9810605 Compare April 1, 2021 23:32
@lucacasonato lucacasonato force-pushed the deprecate_buffer_and_readwrite_utils branch from 2d2d51b to 589f636 Compare April 5, 2021 14:06
This commit marks the `Deno.Buffer` / `Deno.readAll` /
`Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as
deprecated, and schedules them for removal in Deno 2.0. These
utilities are implemented in pure JS, so should not be part of the
Deno namespace.

These utilities are now available in std/io/buffer and std/io/util:
denoland/std#808.

This additionallty removes all internal dependance on Deno.Buffer.
@lucacasonato lucacasonato force-pushed the deprecate_buffer_and_readwrite_utils branch from 589f636 to 136c78f Compare April 5, 2021 17:12
@lucacasonato lucacasonato requested a review from ry April 5, 2021 17:35
@lucacasonato lucacasonato merged commit da60e2a into denoland:main Apr 5, 2021
@lucacasonato lucacasonato deleted the deprecate_buffer_and_readwrite_utils branch April 5, 2021 22:05
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Apr 6, 2021
This commit marks the `Deno.Buffer` / `Deno.readAll` /
`Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as
deprecated, and schedules them for removal in Deno 2.0. These
utilities are implemented in pure JS, so should not be part of the
Deno namespace.

These utilities are now available in std/io/buffer and std/io/util:
denoland/std#808.

This additionallty removes all internal dependance on Deno.Buffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants