Commit graph

3808 commits

Author SHA1 Message Date
Deepak Vishwakarma ee192b0758
added documentation with sample for std/io mod (#6106) 2020-06-05 23:43:42 -04:00
Casper Beyer ed5aedc6b4
Rename abbreviated assertions in std/testing (#6118) 2020-06-05 23:43:00 -04:00
Chris Knight c137b11abf
fix: revert setInterval log flushing as it prevents process completion (#6127) 2020-06-05 23:39:49 -04:00
Taisuke Fukuno 93175b7a79
added mjs files for default fmt (#6134) 2020-06-05 23:36:50 -04:00
Ryan Dahl 79d9cf52d0
fix(core): ES module snapshots (#6111)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-06-05 18:36:54 -04:00
Taisuke Fukuno d2243b1125
deno test should run mjs files (#6122) 2020-06-05 17:01:44 -04:00
Bert Belder 18670c47e6
fix: 'deno upgrade' doesn't work on Windows 8.1/PowerShell 4.0 (#6132)
Fixes: #6109
2020-06-05 22:16:44 +02:00
Bert Belder ee7727cd07
To find home dir, use only $USERPROFILE on Windows, $HOME on Posix (#6132)
$HOME is meaningless on Windows. It may be set by users or by third
party software, but it is non-standard and should not be relied upon.

Likewise, $USERPROFILE is meaningless on other platforms.
2020-06-05 22:15:05 +02:00
Ryan Dahl 78bfeebad1
Revert "fix: Use # to denote line number in stack traces" (#6119)
This reverts commit c4c6a8dae4

There is some controversy about this change because vscode doesn't interpret the fragments correctly. Needs more discussion before landing.
2020-06-05 11:37:40 -04:00
Andrew Mitchell c4c6a8dae4
fix: Use # to denote line number in stack traces (#6114)
This makes the URLs in stack traces actual URLs to the files.
Before: https://deno.land/std/testing/asserts.ts:138:11
After: https://deno.land/std/testing/asserts.ts#138:11
2020-06-05 08:01:02 -04:00
Bert Belder 9a783ae4e6
ci: upgrade to Rust 1.44.0 (#6113) 2020-06-05 05:11:15 +02:00
Bert Belder 7069d60423
ci: use upstream actions/cache@v2 (#6113)
Upstream finally tagged v2.0.0 so there's no reason to use our own fork
any longer.
2020-06-05 04:35:50 +02:00
skdltmxn e05ed53713
feat(std/hash): add sha3 (#5558) 2020-06-04 15:14:36 -04:00
Yusuke Sakurai 430beebc46
doc: Improved ws example and README (#5636) 2020-06-04 15:13:33 -04:00
Matt Dumler a04166e9fa
deno doc docs (#5650) 2020-06-04 15:12:02 -04:00
Jon Short 4b1638dccc
feat(std/testing): Allow non-void promises in assertThrowsAsync (#6052) 2020-06-04 10:43:05 -04:00
Ryan Dahl e3cc3db20f
Revert "feat: format deno bundle output (#5139)" (#6085)
This reverts commit 93cf3bd534.
2020-06-04 08:36:25 -04:00
Szalay Kristóf 42a04ea08a
refactor(std/testing/bench): Remove differentiating on runs count (#6084) 2020-06-03 22:33:53 -04:00
Nayeem Rahman 97d876f6db
fix(std/http): Don't use assert() for user input validation (#6092) 2020-06-03 22:32:27 -04:00
uki00a 9bd5c08d5a
feat(doc): handle detail output for enum (#6078) 2020-06-03 21:40:50 +02:00
David Sherret fcae2fec87
Upgrade to swc_ecma_parser 0.24.5 (#6077) 2020-06-03 21:36:55 +02:00
matheus 94bf551ead
fix(std/http/file_server): args handling only if invoked directly (#5989) 2020-06-03 13:48:03 -04:00
Chris Knight 1ebd330927
doc: complete unstable documentation and make consistent (#6074) 2020-06-03 13:46:09 -04:00
Szalay Kristóf cab273476a
fix(std/testing/bench): clock assertions without --allow-hrtime (#6069) 2020-06-03 13:45:37 -04:00
Szalay Kristóf 4ef38bad43
docs: benchmarking (#6075) 2020-06-03 13:44:37 -04:00
Ryan Dahl 515d19d901
v1.0.5 2020-06-03 12:52:01 -04:00
Ryan Dahl aa39dfc62f
upgrade: rusty_v8 0.5.0 (#6070) 2020-06-03 12:19:21 -04:00
Ryan Dahl a90d9fbd34
fix: dynamic import BorrowMutError (#6065) 2020-06-03 12:18:29 -04:00
David Sherret 445e44199b
Update to dprint 0.19.1 and swc_ecma_parser 0.24.3 (#6068) 2020-06-03 17:24:25 +02:00
Ryan Dahl 041ccb6a0d
Remove dead code (#6066) 2020-06-03 16:06:34 +02:00
timonson 9a97e61b78
feat(std/encoding): add base64url module (#5976) 2020-06-03 09:44:51 -04:00
Marcos Casagrande a1915a0d4f
fix(fetch): Support 101 status code (#6059) 2020-06-03 09:43:11 -04:00
Nayeem Rahman aaa2ed5a64
fix(std/testing/asserts): Format values in assertArrayContains() (#6060) 2020-06-02 23:38:46 -04:00
Szalay Kristóf 1db98f10b8
feat(std/testing): benching progress callback (#5941) 2020-06-02 17:06:13 -04:00
Ryan Dahl 23dc9c13db
Fix REPL BorrowMutError panic (#6055) 2020-06-02 16:37:52 -04:00
Ryan Dahl b7b6e0674f
Remove unused check-only feature (#6035) 2020-06-02 14:56:21 -04:00
Bartek Iwańczuk 9c59a4b18c
v1.0.4 2020-06-02 15:48:17 +02:00
Kitson Kelly 3fe6bc1b82
fix: Better use of @ts-expect-error (#6038) 2020-06-02 00:24:44 -04:00
Ryan Dahl 8b1b4766a1
Move create_main_worker to MainWorker::create (#6034) 2020-06-01 22:44:17 -04:00
simwipado 40419c664d
fix(std/http): file server not closing files (#5952) 2020-06-01 18:45:42 -04:00
Peter Evers 6b0d286a3d
feat(std/node): add util.type.isDate (#6029) 2020-06-01 18:43:43 -04:00
Ali Hasani 30785ed592
fix(bundle): better size output (#5997) 2020-06-01 18:42:12 -04:00
Matt Dumler a4567e0e01
fix(doc): remove JSDoc comment truncation (#6031) 2020-06-01 18:40:51 -04:00
Henrique Emanoel Viana d8c681d37a
feat(std/mime/multipart): Added multiple FormFile input (#6027) 2020-06-01 18:39:47 -04:00
hastri b075f55d58
feat(std/io): add LimitedReader (#6026) 2020-06-01 18:37:59 -04:00
Chris Knight c9aded05a6
feat(std/log): buffered file logging (#6014) 2020-06-01 18:31:17 -04:00
Ryan Dahl b693ca7f7f
upgrade: crates (#6032) 2020-06-01 16:25:10 -04:00
Bartek Iwańczuk c813990806
fix: compile TS dependencies of JS files (#6000)
This commit fixes regression that caused TS dependencies
not being compiled.

Check was added that ensures TS compiler is run if 
any of dependencies in module graph is TS/TSX/JSX.
2020-06-01 21:01:51 +02:00
Valentin Anger becbb56b19
feat(core): Ops can take several zero copy buffers (#4788) 2020-06-01 14:20:47 -04:00
Yasser A.Idrissi 12d741c2fe
feat(std/http) support code 103 Early Hints (#6021) 2020-06-01 11:10:17 -04:00