deno-docs
deno-docs copied to clipboard
Code from section "Reading a file" warns "deprecation"
The example uses import { copy } from "https://deno.land/[email protected]/streams/conversion.ts";, reporting the following warning:
@deprecated
(will be removed after 0.169.0) Import from std/streams/copy.ts instead.
It would be nice to upgrade it to use something like import { copy } from "https://deno.land/[email protected]/streams/copy.ts";.
Or we can do await file.readable.pipeTo(Deno.stdout.writable, { preventClose: true }); without std dependency
This is removed, but still appears in the docs - need to cull
is this still appears in somewhere? I would be happy to help if you let me know the location.