1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
Commit graph

245 commits

Author SHA1 Message Date
Inteon
f774cae931
docs(profiling): Actualization & add flamegraph info (#9594) 2021-03-26 08:47:45 +01:00
IWANABETHATGUY
b233985fea
Update setup_your_environment.md (#9876)
unlike other system config file, in windows `$profile` file is a 
common config file of powershell , just use `>` will override
the user config file , which is terrible. This change use append
instead of override which is more reasonable
2021-03-23 17:04:51 -04:00
Nayeem Rahman
26f7a3f185
docs(import_maps): Fix example for project-relative absolute specifiers (#9856) 2021-03-22 21:13:50 +01:00
Ikko Ashimine
870337c6cd
typo 2021-03-22 06:43:10 -04:00
Tyler Butler
941a7c8ec9
Typo 2021-03-19 16:26:49 -04:00
Makuza Mugabo Verite
bd961c3bc3
fix(doc): update example for sub processes (#9798) 2021-03-16 07:05:04 -04:00
Yasser A.Idrissi
0ae079fe50
docs(testing): Add custom test example (#9791) 2021-03-15 10:47:14 -04:00
Kid
a3e0766e6a
docs: match install section with website (#9665)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-15 12:46:08 +01:00
David Sherret
3ab48864fe
fix(fmt): Correctly format hard breaks in markdown (#9742) 2021-03-10 08:17:24 -05:00
crowlKats
2894c0e615
chore: remove unstable from permission (#9701) 2021-03-06 13:24:43 +01:00
Ryan Dahl
8e01e23299
chore: Update release schedule (#9697) 2021-03-05 13:49:13 +01:00
crowlKats
c1fe86b15c
chore: update zipped exec size (#9678) 2021-03-05 12:22:28 +01:00
Yasser A.Idrissi
79c198f348
docs(testing): add assertExists example (#9613) 2021-03-02 23:08:54 +09:00
Yasser A.Idrissi
07626645e7
docs(testing): add assertObjectMatch example (#9645) 2021-03-02 23:05:38 +09:00
Kitson Kelly
6dae627749
feat(cli): represent type dependencies in info (#9630)
Fixes #7927
2021-03-01 22:49:58 +11:00
Bartek Iwańczuk
0dc89c0a79
feat: stabilise import maps (#9526)
This commit stabilises import maps by removing requirement
on "--unstable" flag when "--import-map" flag is used.
2021-03-01 12:41:22 +01:00
Casper Beyer
ae8874b4b2
feat: add "deno coverage" subcommand (#8664)
This commit adds a new subcommand called "coverage" 
which can generate code coverage reports to stdout in 
multiple formats from code coverage profiles collected to disk.

Currently this supports outputting a pretty printed diff and 
the lcov format for interoperability with third-party services and tools.

Code coverage is still collected via other subcommands 
that run and collect code coverage such as 
"deno test --coverage=<directory>" but that command no 
longer prints a pretty printed report at the end of a test 
run with coverage collection enabled.

The restrictions on which files that can be reported on has 
also been relaxed and are fully controllable with the include 
and exclude regular expression flags on the coverage subcommand.

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-24 15:27:51 +01:00
Casper Beyer
9cc7e32e37
feat: add exit sanitizer to Deno.test (#9529)
This adds an exit sanitizer to ensure that code being tested or 
dependencies of that code can't accidentally call "Deno.exit"
leading to partial test runs and false results.
2021-02-24 13:55:50 +01:00
Heyward Fann
f4980898cd
docs: update getting started for coc (#9571) 2021-02-22 15:35:12 +11:00
Luca Casonato
4f80587d26
chore: rename default branch to main (#9503) 2021-02-19 15:58:19 +01:00
Takahiko Inayama
097efa100a
docs: Use JSONC code block for commenting (#9511) 2021-02-17 12:18:39 +11:00
Kitson Kelly
879897ada6
feat(cli): support auth tokens for accessing private modules (#9508)
Closes #5239
2021-02-16 13:50:27 +11:00
rigwild
46da7c6aff
fix link (#9472) 2021-02-11 14:14:23 -05:00
Luca Casonato
fa975a9bae
refactor: rewrite Blob implementation (#9309)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-30 19:22:24 +01:00
Dezső Mészáros
591ed6b3ad
fix(tools): fix typo in wpt cli output (#9303) 2021-01-28 18:10:16 +09:00
Luca Casonato
2638aa03a5
tests: new typescript WPT runner (#9269) 2021-01-27 15:06:18 +01:00
Pig Fang
5213bed533
docs(tools/compiler): add docs for new features in 1.7 (#9258) 2021-01-27 13:33:51 +09:00
Mohammed Chelouti
2823c02e43
docs(tools): add documentation for Vim/Neovim plugin ALE (#9270) 2021-01-26 17:12:44 +11:00
Luca Casonato
e0eb111e3e
Revert "tests: enable wpt for url (#9046)" (#9264)
This reverts commit 66e99d349b.
2021-01-25 16:02:03 +01:00
Luca Casonato
66e99d349b
tests: enable wpt for url (#9046) 2021-01-24 22:29:36 +01:00
Rob Palmer
8bef29fd74
docs: update implied tsconfig for "useDefineForClassFields" (#9196) 2021-01-21 16:38:15 +11:00
Kuzivakwashe
ffb4b32e92
docs: Fix typos in TypeScript section of the manual (#9195) 2021-01-20 06:54:42 -05:00
Ryan Dahl
0f7a02500c
v1.7.0 with release notes 2021-01-20 00:24:27 -05:00
Nayeem Rahman
4bf98ab239
docs: Move release schedule section (#9178) 2021-01-19 21:02:42 -05:00
Kitson Kelly
02c6a88d8a
docs: improve manual around typescript (#8139)
Fixes #9054
2021-01-20 09:28:58 +11:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
Nayeem Rahman
e61e81eb57
feat: add --location=<href> and globalThis.location (#7369) 2021-01-07 19:06:08 +01:00
Nayeem Rahman
b5f1d257a3
fix: Use "none" instead of false to sandbox Workers (#9034) 2021-01-07 05:52:30 -05:00
Ryan Dahl
cb658f5ce5
Remove emoji from welcome script so it looks better on windows (#9031) 2021-01-07 05:51:15 -05:00
Steven Guerrero
adc2f08c17
feat: Add configurable permissions for Workers (#8215)
This commit adds new option to "Worker" Web API that allows to 
configure permissions.

New "Worker.deno.permissions" option can be used to define limited
permissions to the worker thread by either:
- inherit set of parent thread permissions
- use limited subset of parent thread permissions
- revoke all permissions (full sandbox)

In order to achieve this functionality "CliModuleLoader"
was modified to accept "initial permissions", which are used
for top module loading (ie. uses parent thread permission set
to load top level module of a worker).
2021-01-06 21:31:16 +01:00
Mark Tomlin
37a9d6678e
docs(example/tcp_echo): fix TCP echo leaking resources (#8997) 2021-01-05 12:09:50 +01:00
Nayeem Rahman
cbc2108525
feat(cli/standalone): support runtime flags for deno compile (#8738) 2021-01-05 00:15:52 +01:00
Yacine Hmito
346b72ce70
docs: Remove outdated information about third_party/ directory (#8973) 2021-01-04 18:13:53 +01:00
Nayeem Rahman
62465ca4ee
fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05:00
Tomofumi Chiba
5f4e1767fe
docs: add note about NO_PROXY env variable (#8929) 2020-12-31 16:15:32 +01:00
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
Yuki Tanaka
bcdc2da4c7
docs: Fix instructions about how to setup development environment with Vim/Neovim (#8937) 2020-12-30 17:30:01 +01:00
Rich Trott
ed0df31e77
docs: update release schedule dates (#8922) 2020-12-29 20:20:39 -05:00
Maxim Zhukov
090ca4d3a7
docs(testing): Add import line to test example (#8909) 2020-12-29 19:11:03 +01:00
Waldir Pimenta
b778f8bbff
docs(introduction): Improve wording and capitalization (#8848) 2020-12-29 10:05:29 +11:00