chore: deprecate Deno.Buffer and read/write utils#9793
Merged
lucacasonato merged 1 commit intoApr 5, 2021
Merged
Conversation
bartlomieju
reviewed
Mar 15, 2021
94d7d9c to
8e182d9
Compare
8e182d9 to
9810605
Compare
13 tasks
2d2d51b to
589f636
Compare
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.
589f636 to
136c78f
Compare
ry
approved these changes
Apr 5, 2021
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit marks the
Deno.Buffer/Deno.readAll/Deno.readAllSync/Deno.writeAll/Deno.writeAllSyncutils asdeprecated, 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