1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/docs
Nayeem Rahman 22e0ee92a6
BREAKING(unstable): Use hosts for net allowlists (#8845)
Allowlist checking already uses hosts but for some reason 
requests, revokes and the runtime permissions API use URLs.

- BREAKING(lib.deno.unstable.d.ts): Change 
NetPermissionDescriptor::url to NetPermissionDescriptor::host

- fix(runtime/permissions): Don't add whole URLs to the 
allowlist on request

- fix(runtime/permissions): Harden strength semantics:
({ name: "net", host: "127.0.0.1" } is stronger than 
{ name: "net", host: "127.0.0.1:8000" }) for blocklisting

- refactor(runtime/permissions): Use tuples for hosts, make 
the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-30 23:35:28 +01:00
..
contributing docs: update release schedule dates (#8922) 2020-12-29 20:20:39 -05:00
examples chore: fixed various misspellings and other typos (#8691) 2020-12-11 06:45:45 +11:00
getting_started docs: Fix instructions about how to setup development environment with Vim/Neovim (#8937) 2020-12-30 17:30:01 +01:00
images docs: fixes logo in README (#8740) 2020-12-14 13:52:24 +11:00
linking_to_external_code docs(import_maps): Add trailing slash to ./src example (#8524) 2020-11-27 13:33:43 -05:00
runtime BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
testing rename(std/testing): rename assert*Contains to assert*Includes (#7951) 2020-10-26 16:03:30 +01:00
tools docs(tools/repl): remove rogue reference to issue (#8720) 2020-12-11 18:52:10 +01:00
contributing.md build: rewrite tools/ scripts to deno (#8247) 2020-11-05 15:53:21 +01:00
embedding_deno.md Multi page manual (#5110) 2020-05-06 18:21:13 -04:00
examples.md docs(examples): Synchronize links in TOC and index (#8635) 2020-12-06 17:23:56 +01:00
getting_started.md docs: move “Debugger” to “Debugging your code” in “Getting started” (#7421) 2020-09-11 16:28:25 +02:00
introduction.md docs(introduction): Improve wording and capitalization (#8848) 2020-12-29 10:05:29 +11:00
linking_to_external_code.md feat: add $STD_VERSION replacement variable in docs (#6922) 2020-07-31 11:12:20 +02:00
runtime.md docs: document the spec deviations in web apis (#8489) 2020-11-25 15:09:22 +01:00
standard_library.md docs: update GitHub doc links to use $CLI_VERSION (#7710) 2020-09-27 12:12:33 +02:00
testing.md docs(testing): Add import line to test example (#8909) 2020-12-29 19:11:03 +01:00
toc.json docs(examples): Synchronize links in TOC and index (#8635) 2020-12-06 17:23:56 +01:00
tools.md docs(tools): add documentation for deno compile cmd (#8615) 2020-12-05 17:10:10 +01:00