Commit graph

3909 commits

Author SHA1 Message Date
Marcos Casagrande fa6f10219e
fix(std/archive): untar (#6217)
- Fix `Untar` for tarballs with multiple files (Currently throwing `"checksum error"`)
- Fix parsing, now all `ustar` versions should be supported. Linux `tar -cvf deno.tar dir/` is not working on master. 
- Added `asyncIterator`
- Added README.md
2020-06-10 17:10:47 -04:00
Josh Byrnes 408edbb065
fix(URL): IPv6 hostname support (#5766) 2020-06-10 14:05:10 -04:00
Chris Knight 1120dfe3f2
doc: improve linking to external code docs (#6158) 2020-06-10 13:43:44 -04:00
Casper Beyer be8bacaaa4
fix: Remove try-catch from Buffer.readFrom, readFromSync (#6161) 2020-06-10 11:54:54 -04:00
Ryan Dahl 54c3f8e27f
fix udp BorrowMutError (#6221) 2020-06-10 11:26:28 -04:00
thomas d9c6b109df
docs(contributing): add Rust install notes as prerequisites (#6195) 2020-06-10 11:16:33 -04:00
Nayeem Rahman 8f050355ff
fix(cli/js/process): Always return a code in ProcessStatus (#5244) 2020-06-10 11:10:08 -04:00
Bartek Iwańczuk 4b7d3b060e
fix: several regressions in TS compiler (#6177)
This commit fixes several regressions in TS compiler:

* double compilation of same module during same process run

* compilation of JavaScript entry point with non-JS imports

* unexpected skip of emit during compilation

Additional checks were added to ensure "allowJs" setting is 
used in TS compiler if JavaScript has non-JS dependencies.
2020-06-10 16:02:41 +02:00
Ch3ri0ur f364a4c2b6
minor fix to websocket readme (#6207) 2020-06-10 09:03:26 -04:00
Bartek Iwańczuk db70b77e4b
fix: handle @deno-types in export {} (#6202)
* fix: handle @deno-types in export {}

* lint

* fix tests

* fmt

* fix test
2020-06-10 14:19:41 +02:00
Brian Bowman af69f25319
docs: Update debugger.md (#6219) 2020-06-10 12:48:07 +02:00
Andy Finch 1b6a8051b9
feat(core): add unregister op (#6214) 2020-06-09 18:14:13 -04:00
Casper Beyer 15cfe9e6e5
Remove redundant call to ensureDirSync (#6189)
There's a seemingly redundant call to `ensureDirSync` right after a call
to `await ensureDir`.

This removes the offending call.
2020-06-09 17:34:32 -04:00
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