diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-04-06 00:05:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 00:05:36 +0200 |
commit | da60e2afcbd4b28e3b8ba69b5e38d4ff173ddbe1 (patch) | |
tree | 616031ffcb358a1ff3168a96bc95512f3648ff9f /runtime/js/40_process.js | |
parent | 2aed322dd507a8568b6ee6f4897e9a8e3220f763 (diff) |
chore: deprecate Deno.Buffer and read/write utils (#9793)
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:
https://github.com/denoland/deno_std/pull/808.
This additionallty removes all internal dependance on Deno.Buffer.
Diffstat (limited to 'runtime/js/40_process.js')
-rw-r--r-- | runtime/js/40_process.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js index cd8015e94..a93818b95 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.js @@ -4,7 +4,7 @@ ((window) => { const core = window.Deno.core; const { File } = window.__bootstrap.files; - const { readAll } = window.__bootstrap.buffer; + const { readAll } = window.__bootstrap.io; const { assert, pathFromURL } = window.__bootstrap.util; function opKill(pid, signo) { |