deno https://deno.land/x/net/file_server.ts --allow-net
Downloading https://deno.land/x/net/file_server.ts... NOT FOUND
It is related to changes in deno_std. The url is now replaced with https://deno.land/x/std/http/file_server.ts
We are currently doing some refactoring with standard module structures, sorry about the confusion... please submit PRs if you find anywhere else still uses the old url, thanks!
If the net module is being renamed to http does it makes sense to also rename the --allow-net flag to --allow-http?
@akircher there are many other network operations besides http
Yikes! What's the reason to change from net to http? Are these the general networking libraries or _just_ http?
@shreeve A few components has been moved out of net, for example
net/bufio.ts -> io/bufio.ts
net/textproto.ts -> textproto/mod.ts
So currently http is just http, for better granularity of functionalities.
I think we can close this now CC @ry
Most helpful comment
@shreeve A few components has been moved out of
net, for examplenet/bufio.ts -> io/bufio.tsnet/textproto.ts -> textproto/mod.tsSo currently
httpis just http, for better granularity of functionalities.