Sebastien Filion
e8571742eb
docs: Update testing.md ( #6680 )
2020-07-07 15:58:10 +02:00
Sebastien Filion
4534db656d
feat(test): Add support for regex in filter flag ( #6343 )
...
Currently, the documentation makes it sound like the test subcommand's filter
flag could accept some kind of pattern matching value like a glob or a regex,
although the function "createFilterFn" accepts a regex as an argument, there's
no way to pass an actual regex value from the CLI.
This commit makes it possible to pass a string that could be cast as regex
when string matches "^/.*/$".
With this change, a user can use the filter flag as follow:
deno test --filter "/test-.+/"
Also tested that `\` get escaped properly, on MacOS at least, and this is
also a valid flag:
deno test --filter "/test-\d+/"
2020-07-07 15:13:38 +02:00
uki00a
74cd91ee56
typo ( #6598 )
2020-07-02 09:16:07 -04:00
Stanislav
55c234af97
docs: update discord link ( #6599 )
2020-07-02 09:15:36 -04:00
Haoran Liu
1c12098e4a
docs: update macOS dependencies of building V8 from source ( #6538 )
2020-06-28 10:19:58 -04:00
Vincent Victoria
6be3487f73
docs: Update import_maps.md to include more examples ( #5648 )
2020-06-27 13:52:07 +02:00
champ
1fcb71b355
fix typo ( #6476 )
2020-06-25 12:35:34 -04:00
Chris Knight
c98038a032
doc: add info on installing wasm32-wasi target ( #6470 )
2020-06-25 06:38:27 -04:00
Colin Harrington
f4397e5ec9
Update contributing.md for consistency ( #6452 )
2020-06-24 15:14:28 +02:00
Casper Beyer
d2403caa3b
doc: WASM -> WebAssembly ( #6426 )
2020-06-22 11:27:25 -04:00
Ryan Dahl
3c58767831
Remove logos from introduction -> deno.land/artwork ( #6399 )
2020-06-20 17:53:55 +02:00
Chris Knight
78a311aa5f
docs: Update standard library and testing manual pages ( #6323 )
2020-06-18 06:13:56 -04:00
Rob Waller
02ef670deb
Feature testing assertions documentation ( #6332 )
2020-06-18 05:27:09 -04:00
Rob Waller
b86514aa7e
docs: testing filter info ( #6313 )
2020-06-16 17:17:00 -04:00
Mandeep Singh
9e8ecedfea
docs: added autocompletion example for zsh ( #6298 )
2020-06-15 12:09:17 -04:00
Dan
f7d0e39892
minor grammar fix ( #6299 )
...
noun -> verb
2020-06-15 12:08:35 -04:00
Luca Casonato
0ffc99a61d
Move to allowlist and blocklist ( #6282 )
2020-06-13 13:09:39 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace ( #6268 )
2020-06-12 15:23:38 -04:00
Jaap Aarts
3eee961473
document "deno run -" ( #6256 )
2020-06-12 10:59:51 -04:00
Dustin Callaway
93573afe82
improve file_server docs ( #6262 )
2020-06-12 10:44:00 -04:00
Bartek Iwańczuk
c073f552d9
docs(lint): add entry in manual ( #6258 )
2020-06-12 15:31:04 +02:00
Paul Whitmer
cfbc5da48c
docs: fix typo in import maps example ( #6250 )
2020-06-12 14:25:53 +02:00
Tomofumi Chiba
a1b37f177b
fixed double prompt in manual ( #6230 )
2020-06-10 20:24:41 -04:00
Chris Knight
1120dfe3f2
doc: improve linking to external code docs ( #6158 )
2020-06-10 13:43:44 -04:00
thomas
d9c6b109df
docs(contributing): add Rust install notes as prerequisites ( #6195 )
2020-06-10 11:16:33 -04:00
Brian Bowman
af69f25319
docs: Update debugger.md ( #6219 )
2020-06-10 12:48:07 +02:00
Nayeem Rahman
44251ce8ea
fix(cli/js/web/worker): Disable relative module specifiers ( #5266 )
2020-06-09 14:33:52 +02:00
thomas
81a6f673ad
docs(contributing): fix links to rid and metrics ( #6191 )
2020-06-09 14:13:32 +02:00
Sidharth Vinod
5e01e14f08
Change from let to const ( #6181 )
2020-06-08 18:52:23 -04:00
Nayeem Rahman
f247423f20
doc: Add a CLI section ( #6164 )
2020-06-08 09:49:32 -04:00
hork71
6155ec2317
docs: vim/neovim settings for editors ( #6064 )
2020-06-07 13:52:53 +02:00
Ryan Dahl
fbf075997c
Increase visibly of CoC ( #6152 )
2020-06-06 13:38:09 -04:00
Taisuke Fukuno
d2243b1125
deno test should run mjs files ( #6122 )
2020-06-05 17:01:44 -04:00
Matt Dumler
a04166e9fa
deno doc docs ( #5650 )
2020-06-04 15:12:02 -04:00
Mudit Ameta
8f08b3f73d
Add instructions for using Deno with Emacs ( #5928 )
2020-05-28 16:27:27 -04:00
Kennan Seno
088fc1556c
Add release changes section in doc ( #5903 )
2020-05-28 09:02:31 -04:00
迷渡
23bbb39454
doc: official denoland extension ( #5890 )
2020-05-27 01:06:08 -04:00
Chris Knight
27708fe873
doc: various runtime doc updates ( #5885 )
2020-05-26 22:12:02 -04:00
crowlKats
d4711feba8
docs: update JetBrains environment support ( #5877 )
2020-05-26 13:11:08 -04:00
Robin Wieruch
845bc443da
improve docs ( #5873 )
2020-05-26 10:09:47 -04:00
Robin Wieruch
44477596ed
improve docs ( #5872 )
2020-05-26 10:08:23 -04:00
Chris Knight
9090023c33
docs: "Getting started" manual updates ( #5835 )
2020-05-26 13:12:07 +02:00
Nayeem Rahman
4ebd243423
fix(std/testing/asserts): Support browsers ( #5847 )
2020-05-25 13:32:34 -04:00
Martin Suchanek
fbbb9f1c36
Add missing async delay import to code sample ( #5837 )
2020-05-25 09:12:45 -04:00
Umar Bolatov
2bbe475dbb
docs: update permissions example ( #5809 )
2020-05-24 11:24:14 +02:00
Khang Dinh
65f4e59122
typos ( #5713 )
2020-05-21 12:40:02 -04:00
Bartek Iwańczuk
f98cc34c40
docs: add entry for 'deno info' ( #5703 )
2020-05-21 10:43:56 -04:00
Chris Schepman
bebb8c029f
docs: Update debugger.md ( #5615 )
2020-05-21 13:05:25 +02:00
JavaScriptDude
0f1c66cb6d
docs: update permissions docs ( #5426 )
2020-05-21 12:54:09 +02:00
Maple Miao
9fdc6dc435
docs: fix test glob pattern ( #5661 )
2020-05-21 01:02:32 -04:00
moumni
949061c4b6
fix url ( #5637 )
2020-05-19 15:25:38 -04:00
Matt Dumler
88b24261ba
adjust docs ( #5598 )
2020-05-18 15:53:25 -04:00
Nayeem Rahman
76ee5c7808
docs: Clarify external code vendoring ( #5597 )
2020-05-18 15:50:57 -04:00
Matt Dumler
b3a216790a
Update docs/getting_started/first_steps.md
( #5573 )
2020-05-18 07:33:05 -04:00
Richard Lemaster
af09ba0056
Update style_guide.md ( #5576 )
2020-05-18 07:31:46 -04:00
Matt Dumler
7863d611fc
Update docs/getting_started/permissions.md
( #5574 )
...
Aligned the example wording more closely with that in the
`first_steps.md` document, and made other minor edits/corrections.
2020-05-18 07:31:18 -04:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements ( #5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
thomasy
c4f356bda5
docs: fix import maps code without --allow-net ( #5528 )
2020-05-17 12:29:56 +02:00
Bartek Iwańczuk
6405675448
chore: remove typedoc ( #5497 )
2020-05-16 16:02:03 +02:00
Dan Vanderkam
aa1284ceb0
Lets --> Let's ( #5473 )
2020-05-15 17:02:11 -04:00
Andrius Kripaitis
a9ebbca170
Fix JavaScript spelling ( #5467 )
2020-05-15 17:01:21 -04:00
Max
d4afc9890d
adjust example code ( #5332 )
2020-05-15 10:27:38 -04:00
Kerollos Magdy
b0d62cdbd7
Add link to JSDoc website ( #5370 )
2020-05-15 10:21:00 -04:00
André Vargas
750a3413a0
docs: Fix typo in OS Signals example ( #5413 )
2020-05-14 22:18:33 +02:00
Stu Finn
8a5068f2b4
Fix grammar ( #5399 )
2020-05-14 14:10:25 -04:00
Kerollos Magdy
a2ba5a31a5
Remove extra dollar sign from docs ( #5361 )
2020-05-14 11:34:13 -04:00
Thomas Steiner
b60cde4c0a
Avoid unfortunate ASCII arrow splitting ( #5325 )
2020-05-14 07:00:44 -04:00
Peter Indiola
21a4e9cc58
Fix small typo in the docs ( #5310 )
2020-05-14 09:03:55 +02:00
Dante Calderón
c3a205bae8
Fix typos across the repo ( #5295 )
...
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Shohei YOSHIDA
45ec10535a
docs: add 'ts' tag to code blocks in manual/examples/os_signals.md ( #5297 )
...
This should enable syntax highlighting on the website.
2020-05-14 05:54:57 +02:00
Amen
38e253e377
Add allow-read to file-server debugger example ( #5282 )
2020-05-13 18:06:43 -04:00
Bartek Iwańczuk
7ceac1284e
docs: standard library ( #5274 )
2020-05-13 19:19:29 +02:00
Luca Casonato
aa58128a12
docs: Added unstable message to compiler api ( #5272 )
2020-05-13 18:10:54 +02:00
Bartek Iwańczuk
e9ce043b7c
docs: add debugger manual ( #5265 )
2020-05-13 17:55:44 +02:00
Nugine
bc7817e161
doc: fix typo in workers.md ( #5256 )
2020-05-13 12:13:06 +02:00
Haobo Zhao
c912ffde11
doc: fix typo (remove redundant 'from') in first_steps.md ( #5199 )
2020-05-12 01:31:21 +02:00
Bartek Iwańczuk
32aeec9630
refactor: check permissions in SourceFileFetcher ( #5011 )
...
This PR hot-fixes permission escapes in dynamic imports, workers
and runtime compiler APIs.
"permissions" parameter was added to public APIs of SourceFileFetcher
and appropriate permission checks are performed during loading of
local and remote files.
2020-05-11 13:13:27 +02:00
Luca Casonato
45f9b32ef0
Docs for deno test + minor other changes ( #5185 )
...
* Added fs events example.
* Added docs for `deno test`.
* Renamed file server example.
* Unified markdown code types.
* Removed plugin topics from TOC.
* Fixed links.
2020-05-10 03:09:42 +02:00
Ryan Dahl
d5dd5ae87d
std/0.50.0
...
Add std/version.ts and document unstableness of std.
2020-05-09 09:15:26 -04:00
Ryan Dahl
5de077ab65
Move style guide to docs dir ( #5174 )
2020-05-09 09:05:23 -04:00
Nayeem Rahman
f184332c09
BREAKING(std): reorganization ( #5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
2020-05-09 08:34:47 -04:00
Seanmclem
2b02535028
updated manual to indicate needed --unstable for --importmap ( #5117 )
2020-05-09 07:09:57 -04:00
Ryan Dahl
9a0bf201c2
Link to code of conduct ( #5165 )
2020-05-08 17:51:41 -04:00
Hossam Magdy
fca204d833
fix typos ( #5163 )
2020-05-08 17:21:44 -04:00
luk
febb6aa68f
Fix broken links ( #5164 )
2020-05-08 17:20:47 -04:00
Ganesh R
c0e8bae498
doc: fix typo on first_steps.md ( #5149 )
2020-05-08 14:29:03 +02:00
Bartek Iwańczuk
aca21dad1b
BREAKING: make Worker.deno unstable ( #5128 )
...
This commit makes "Worker.deno" option unstable.
Added new manual entry "docs/runtime/workers.md".
Removed stale workers tests.
2020-05-07 21:15:59 +02:00
Bartek Iwańczuk
2b66b8a03e
BREAKING: Remove support for .wasm imports ( #5135 )
...
Importing .wasm files is non-standardized therefore deciding to
support current functionality past 1.0 release is risky.
Besides that .wasm import posed many challenges in our codebase
due to complex interactions with TS compiler which spawned
thread for each encountered .wasm import.
This commit removes:
- cli/compilers/wasm.rs
- cli/compilers/wasm_wrap.js
- two integration tests related to .wasm imports
2020-05-07 20:43:27 +02:00
zjopy
761b7efb3b
fix(docs): add missing "deno run" ( #5126 )
2020-05-07 13:48:48 +02:00
Luca Casonato
34ec3b2254
Multi page manual ( #5110 )
2020-05-06 18:21:13 -04:00