0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
Commit graph

290 commits

Author SHA1 Message Date
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
Maxim Zhukov
6719cb9b2a
docs(watch): Add note about --unstable flag (#8876) 2020-12-28 22:37:06 +01:00
Casper Beyer
25218a6a2d
docs(webassembly): add a link to mdn documentation (#8903) 2020-12-28 22:01:32 +01:00
Steven Guerrero
2e976080c7
docs(lsp): add Sublime Text integration documentation (#8797) 2020-12-17 14:40:21 +11:00
Vishal Pratap Singh
b5b7c7ee01
docs: fixes logo in README (#8740) 2020-12-14 13:52:24 +11:00
Valentin Anger
2c778f89da
docs(tools): Move setup environment's community paragraph back (#8745) 2020-12-14 09:22:26 +11:00
Casper Beyer
39c86df4e5
docs(tools/repl): remove rogue reference to issue (#8720)
The keybindings are from upstream rustyline, I was a bit too blind
copying action descriptions and a reference to a issue stuck in to the
description of the ctrl-v binding.

This commit removes the offending reference.
2020-12-11 18:52:10 +01:00
Valentin Anger
a54ede099d
docs(tools): add documentation for the deno lsp command (#8676)
Co-authored-by: Yuki Tanaka <uki00a@gmail.com>
2020-12-10 22:34:54 +01:00
Anh Hong
b8bc24d167
chore: fixed various misspellings and other typos (#8691) 2020-12-11 06:45:45 +11:00
Andrew Mitchell
fd9b0202c1
fix(doc): Resolves dead link on script installer man page (#8705) 2020-12-10 19:49:50 +01:00
Benjamin Gruenbaum
b566d184fe
refactor(cli/rt): deduplicate code (#8649) 2020-12-07 21:22:58 +01:00
Nayeem Rahman
b77d6cb29e
chore(std): Remove tsconfig_test.json (#8629)
Ref #8050
2020-12-07 21:49:58 +11:00
Justin Mayhew
5bff1c050b
docs(examples): Synchronize links in TOC and index (#8635) 2020-12-06 17:23:56 +01:00
fabiante
2d5c742cf6
docs(tools): add documentation for deno compile cmd (#8615) 2020-12-05 17:10:10 +01:00
Yusuke Tanaka
e174479d22
docs(lint): Update available rules & add link to doc site (#8590) 2020-12-02 17:06:25 +01:00
Ryan Dahl
83efdeedff
fix release dates (#8560) 2020-11-30 17:10:54 -05:00
Luca Casonato
acdfc71d00
docs: add info about release schedule (#8546) 2020-11-30 14:06:30 +01:00
Eric Zingeler
d2b32a65a7
docs(import_maps): Add trailing slash to ./src example (#8524)
Update docs to reflect behavior. If trailing slash is not provided, `deno run` will throw error `Package address targets must end with "/"`.
2020-11-27 13:33:43 -05:00
Benjamin Gruenbaum
4f46dc999b
fix: "onload" event order (#8376)
This commit fixes order of events for "onload" event. 

Previously handler attached using "window.onload" was
always fired before handlers added using "addEventListener".
2020-11-26 22:27:55 +01:00
Luca Casonato
fb13967d1d
docs: document the spec deviations in web apis (#8489) 2020-11-25 15:09:22 +01:00
Bartek Iwańczuk
230a11e8a4
Revert "docs(cli): Fix documentation about usage of deno completions … (#8468)
This reverts commit 17d4cd9213.
2020-11-23 13:41:50 +01:00
Mayank Agarwal
17d4cd9213
docs(cli): Fix documentation about usage of deno completions script (#8369)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-22 16:29:22 +01:00
Nayeem Rahman
7405356e23
chore(cli/flags): Rename --failfast to --fail-fast (#8456) 2020-11-22 15:40:33 +01:00
Bartek Iwańczuk
6743383d2e
upgrade: deno_doc, deno_lint, dprint, swc (#8292) 2020-11-08 23:27:36 +01:00
Nikita Sobolev
3bb5257e6d
docs: fix code highlighting in typescript.md (#8277) 2020-11-07 11:02:55 +01:00
Bartek Iwańczuk
280ab920a8
docs: Update style guide (#8267) 2020-11-06 17:36:28 +01:00
Trivikram Kamat
23557331c9
docs: add Deno security model conference video link (#7724) 2020-11-06 12:35:17 +11:00
Bartek Iwańczuk
791119d4af
build: rewrite tools/ scripts to deno (#8247)
This commit rewrites scripts in "tools/" directory
to use Deno instead of Python. In return it allows 
to remove huge number of Python packages in "third_party/".
2020-11-05 15:53:21 +01:00
Bartek Iwańczuk
8e914be742
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" 
to "dlint" for linting JavaScript code.
2020-11-03 16:19:29 +01:00
tokiedokie
ec3d0a1883
docs: Update toc.json (#8208) 2020-11-02 18:09:03 +01:00
tokiedokie
3558769d46
docs: add missing backtick in subprocess docs (#8204) 2020-11-02 11:01:40 +11:00
Tim Reichen
ae86cbb551
rename(std/testing): rename assert*Contains to assert*Includes (#7951)
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2020-10-26 16:03:30 +01:00
Bartek Iwańczuk
aebbdd5cc2
Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128)
This reverts commit c5c48f845a.
2020-10-26 13:36:13 +01:00
Bartek Iwańczuk
c5c48f845a
feat(lint): stabilize "deno lint" subcommand (#8075)
This commit stabilizes "deno lint" by removing
the need to pass --unstable flag.

--unstable is still required when using --json flag.
2020-10-22 21:52:37 +02:00
Max Drosdo.www
17eaede643
docs: fix command examples use outdated default file_server port (#8062) 2020-10-22 17:17:38 +02:00
Casper Beyer
322913ee5c
docs(tools/repl): add special variables section (#8057) 2020-10-21 13:41:29 +02:00
Nayeem Rahman
070d99645f
chore: Rename --importmap to --import-map (#7032)
--importmap still works as an alias to --import-map
but is not visible in CLI help output.
2020-10-20 14:30:59 +02:00
Josh
9141c76b25
docs: Mention how to use a specific shell for Deno.run (#7966) 2020-10-20 13:11:38 +02:00
Carter Snook
4ff5003eb6
docs(cli): interfaces used as parameters should be exported (#7500)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-20 13:41:40 +11:00
Casper Beyer
e58763737e
docs(getting_started): fix WebAssembly example (#8028) 2020-10-19 14:43:58 +02:00
Casper Beyer
f91c1155f0
docs(tools): add repl section (#8011)
This adds a section on the repl with the keybindings that we support out
of the box.
2020-10-19 13:33:15 +02:00
sakas
f42d0fc99e
docs: fix links to examples (#7919) 2020-10-13 17:19:34 +02:00
Trivikram Kamat
f4c3d50120
docs: add Deno internals talk from Paris Deno (#7889) 2020-10-09 23:03:56 -04:00
Steven Guerrero
82a17dad11
docs: fix deno.land/manual example and clarify linting of code (#7842)
Fixes #7841
2020-10-07 11:31:36 +11:00
Bartek Iwańczuk
6b8aef5103
chore: update contributing.md and PR template (#7820) 2020-10-06 10:40:48 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown (#7813) 2020-10-04 07:19:11 +11:00
Trivikram Kamat
391eed42f4
docs: update location of unit tests folder (#7814) 2020-10-04 07:16:13 +11:00
Trivikram Kamat
8ceb165e5d
docs: end sentences with a period in docs (#7730) 2020-09-28 16:01:32 +10:00
Trivikram Kamat
1437838ea1
docs: use const assertion for PermissionDescriptor (#7733)
Fixes #7731
2020-09-28 12:47:00 +10:00
Trivikram Kamat
54d897c140
docs: update deno bundle output to single line (#7734) 2020-09-28 12:46:19 +10:00
Nayeem Rahman
8cbf0e75b2
fix: Use $deno$test.ts instead of .deno.test.ts (#7717) 2020-09-27 14:21:11 -04:00
Trivikram Kamat
249d82099e
doc: use APA citation style for listing conference talks (#7721) 2020-09-27 13:50:42 -04:00
Trivikram Kamat
d2fde8a363
doc: end sentences with a period in examples (#7722) 2020-09-27 13:49:41 -04:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
Trivikram Kamat
c28757f379
docs: update GitHub doc links to use $CLI_VERSION (#7710) 2020-09-27 12:12:33 +02:00
Trivikram Kamat
13b5cc7673
docs: use $STD_VERSION in std lib import comment (#7707) 2020-09-27 12:11:01 +02:00