1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
Commit graph

5096 commits

Author SHA1 Message Date
Ch3ri0ur
bad6f2b224
Readme cleanup in encoding and ws (#6209) 2020-06-09 15:08:38 -04:00
Bartek Iwańczuk
8366f36873
upgrade: deno_lint v0.1.8 (#6208) 2020-06-09 18:40:08 +02:00
Casper Beyer
1e0808d501
fix: Deno.readSync on stdin (#6126)
Currently sync operations on stdin are failing because tokio::Stdin
cannot be converted to a std::File.

This commit replaces tokio::stdin with a raw file descriptor 
wrapped in a std::fs::File which can be converted to a 
tokio::File and back again making the synchronous version 
of op_read actually work.
2020-06-09 18:29:12 +02:00
Mark Tiedemann
314f666897
fix(tools): prettier formatting (#6206) 2020-06-09 17:50:41 +02:00
Szalay Kristóf
6e75254abb
fix(std/testing/bench): Make progress callback async (#6175) 2020-06-09 11:19:06 -04:00
blairzhao111
6c21ba0575
fix(std/node): emitter.removeAllListeners (#5583)
When given a non-registered eventName to 
emitter.removeAllListeners(eventName), current code 
would remove all listeners instead of silently skip, 
which is not ideal.
2020-06-09 15:07:25 +02:00
Tuan Le
878f306a39
feat(cli): Add Deno.env.delete() (#5859) 2020-06-09 14:58:30 +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
uki00a
2b2d800b43
feat(doc): display all overloads in cli details view (#6186) 2020-06-09 14:12:47 +02:00
Nayeem Rahman
b3e189ee4f
fix(cli/js/process): Strengthen socket types based on pipes (#4836) 2020-06-09 13:18:18 +02:00
Marcos Casagrande
54742d29dc
cleanup std/tar (#6185) 2020-06-08 19:09:24 -04:00
Oliver Lenehan
6f22bc8278
feat(std/encoding/binary): add varnumBytes(), varbigBytes() (#5173) 2020-06-08 18:58:55 -04:00
Sidharth Vinod
5e01e14f08
Change from let to const (#6181) 2020-06-08 18:52:23 -04:00
Marcos Casagrande
50a70f4ece
fix(http/server): flaky test on Windows (#6188) 2020-06-09 00:10:29 +02:00
jersou
1f4520d2bd
doc(std/fs): fix sync walk example (#6174)
The example doesn't compile : Property 'filename' does not exist on type 'WalkEntry'.
The property has been renamed : fileInfo.filename → fileInfo.name
2020-06-08 17:09:38 -04:00
Marcos Casagrande
0bf952bb49
feat(std/node) - Add util.promisify (#5540) 2020-06-08 19:26:52 +02:00
Jack Kelly
cb29f7f323
test: fixed initial [WILDCARD] not matching empty the on first line (#5420) 2020-06-08 19:24:27 +02:00
Peter Indiola
6236252c66
feat(cli/js/net): make rid on listener public (#5571) 2020-06-08 18:24:51 +02:00
Marcos Casagrande
d907133944
fix(cli/web/fetch): multipart/form-data request body support for binary files (#5886) 2020-06-08 18:08:26 +02:00
Faycel
4feccdd3b7
Adjusting the HTTPS_PROXY flag text (#6103) 2020-06-08 12:06:06 -04:00
Marcos Casagrande
2c990414bf
fix(std/http): Prevent crash on UnexpectedEof and InvalidData (#6155) 2020-06-08 17:58:52 +02:00
Nayeem Rahman
f247423f20
doc: Add a CLI section (#6164) 2020-06-08 09:49:32 -04:00
Bartek Iwańczuk
0e9da7e731
feat: "deno lint" subcommand (#6125) 2020-06-08 14:06:20 +02:00
Marcos Casagrande
62adc63934
refactor(std/signal): Replace setTimeout with IIFE (#6153) 2020-06-07 09:23:52 -04:00
Peter Evers
7b597c82fc
feat(std/node) add util.types (#6159) 2020-06-07 09:21:49 -04:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
Tim Reichen
adffbacfe4
refactor(std/http): rename delCookie to deleteCookie (#6088) 2020-06-07 13:53:36 +02:00
hork71
6155ec2317
docs: vim/neovim settings for editors (#6064) 2020-06-07 13:52:53 +02:00
Nikolai Vavilov
09ee9a8280
feat(std/node): Buffer (#5925) 2020-06-06 15:56:49 -04:00
Marcos Casagrande
26287ef87b
fix: use queueMicrotask instead of setTimeout (#6112) 2020-06-06 15:32:17 -04:00
Ryan Dahl
fbf075997c
Increase visibly of CoC (#6152) 2020-06-06 13:38:09 -04:00
Deepak Vishwakarma
f931805502
readme for std/hash (#6139) 2020-06-06 12:36:34 -04:00
Akshat Agarwal
1e709387e4
Add "fork" method on DenoPermissions, PermissionState (#5693) 2020-06-06 16:56:21 +02:00
Ryan Dahl
1a2f88609b
fix(std/io): StringReader implementation (#6148) 2020-06-06 10:37:52 -04:00
Filippo Rossi
78333f0ab3 Add diff for "deno fmt --check" (#5599) 2020-06-06 09:07:59 -04:00
Ryan Dahl
8a4533eb75 feat: deno eval -p (#5682) 2020-06-06 09:07:59 -04:00
Mark Tiedemann
2093ee55d4
Chunk prettier invocation (#6129)
This avoids failures due to exceeding the maximum command line length.

Fixes: #5017
2020-06-06 13:20:29 +02:00
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