1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 06:44:45 -05:00
Commit graph

4741 commits

Author SHA1 Message Date
Marcos Casagrande
a82f24e9a8
test to check that resource handle is closed after stream is cancelled (#5956) 2020-05-30 01:02:41 -04:00
Dan Vega
24e545d5bd
typo (#5948) 2020-05-30 00:58:12 -04:00
Ryan Dahl
d4b05dd89e
refactor: Split isolate and state using safe get_slot() (#5929) 2020-05-29 17:41:39 -04:00
Bartek Iwańczuk
106b001738
v1.0.3 2020-05-29 18:48:48 +02:00
Nayeem Rahman
8e39275429
fix(cli/permissions): Fix CWD and exec path leaks (#5642) 2020-05-29 17:27:43 +02:00
Bartek Iwańczuk
ad6d2a7734
refactor: TS compiler and module graph (#5817)
This PR addresses many problems with module graph loading
introduced in #5029, as well as many long standing issues.

"ModuleGraphLoader" has been wired to "ModuleLoader" implemented
on "State" - that means that dependency analysis and fetching is done
before spinning up TS compiler worker.

Basic dependency tracking for TS compilation has been implemented.

Errors caused by import statements are now annotated with import
location.

Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-05-29 16:32:15 +02:00
Yusuke Sakurai
b97459b5ae
fix: readTrailer didn't evaluate header names by case-insensitive (#4902) 2020-05-29 14:40:54 +02:00
Nayeem Rahman
49c7077401
fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254) 2020-05-29 14:02:36 +02:00
Akshat Agarwal
ce246d8d85
feat(cli): deserialize Permissions from JSON (#5779) 2020-05-29 13:00:47 +02:00
Luca Casonato
02a6720527
Improved typechecking error for unstable props (#5503) 2020-05-29 12:45:20 +02:00
Kitson Kelly
2668637e9b
fix: REPL evaluates in strict mode (#5565)
Since everything that Deno loads is treated as an ES Module, 
it means that all code is treated as "use strict" except for 
when using the REPL. This PR changes that so code in the 
REPL is also always evaluated with "use strict". There are 
also a couple other places where we load code as scripts 
which should also use "use strict" just in case.
2020-05-29 12:24:06 +02:00
Adam Odziemkowski
958f21e7ab
fix(cli): write lock file before running any code (#5794) 2020-05-29 02:43:31 -04:00
zfx
499353ff39
fix(std/log): improve the calculation of byte length (#5819) 2020-05-29 02:39:33 -04:00
Szalay Kristóf
6de59f1908
Return results in benchmark promise (#5842) 2020-05-29 02:29:58 -04:00
Peter Evers
fe7d6824c9
fix DenoBlob name (#5879) 2020-05-29 02:27:57 -04:00
uki00a
55311c33c4
chore(integration_tests): stop collecting unnecessary output in permissions tests (#5926) 2020-05-28 19:40:33 -04:00
Chris Knight
fadd93b454
feat(std/node): add link/linkSync polyfill (#5930) 2020-05-28 19:39:02 -04:00
Szalay Kristóf
c9f7558cd1
fix(std): Fix FileHandler test with mode 'x' on non-English systems (#5757) 2020-05-28 23:08:47 +02:00
Mudit Ameta
8f08b3f73d
Add instructions for using Deno with Emacs (#5928) 2020-05-28 16:27:27 -04:00
Ryan Dahl
2610ceac20
tidy up deno_core modules (#5923) 2020-05-28 13:36:43 -04:00
Chris Knight
86c6f05404
doc: improve documentation for consuming request body (#5771) 2020-05-28 13:36:18 -04:00
David Sherret
dc6c07e3ed
fix(cli): Handle formatting UTF-8 w/ BOM files (#5881) 2020-05-28 13:35:24 -04:00
Speykious
6d9b06619d
improve indentation when displaying objects with console.log (#5909) 2020-05-28 09:04:43 -04:00
Kennan Seno
088fc1556c
Add release changes section in doc (#5903) 2020-05-28 09:02:31 -04:00
Marcos Casagrande
c9bbb200d6
formData: set default filename for Blob to <blob> (#5907) 2020-05-28 09:02:00 -04:00
Kevin (Kun) "Kassimo" Qian
3cbcdd4250
console: Hide values for console.table if display not necessary (#5914) 2020-05-28 08:30:32 -04:00
Matt Dumler
f6e58b076c
fix(doc): handle comments at the top of the file (#5891) 2020-05-27 23:38:36 +02:00
Marcos Casagrande
f8c6500eef
test(clie/web/fetch): Re-enable tests (#5904) 2020-05-27 16:37:19 -04:00
Stephan Seidt
db9c2c156a
Fix shebangs (#5898) 2020-05-27 15:24:57 -04:00
Bartek Iwańczuk
7d764a2c27
upgrade: dprint to 0.19.0 (#5899) 2020-05-27 11:19:31 -04:00
Stephan Seidt
55d36006fc
Add wasm to media types (#5896) 2020-05-27 09:35:03 -04:00
Kitson Kelly
ebae1a20d5
Migrate from dprint-ignore to deno-fmt-ignore (#5659) 2020-05-27 14:21:18 +02:00
迷渡
23bbb39454
doc: official denoland extension (#5890) 2020-05-27 01:06:08 -04:00
Sora Morimoto
304d78f2c9
Bump actions/checkout from v1 to v2 (#5882) 2020-05-26 23:04:38 -04:00
Chris Knight
27708fe873
doc: various runtime doc updates (#5885) 2020-05-26 22:12:02 -04:00
Ryan Dahl
f7b4523178
Add sponsor button (#5880) 2020-05-26 15:28:48 -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
Kitson Kelly
228f9c207f
Use ts-expect-error instead of ts-ignore. (#5869) 2020-05-26 10:02:16 -04:00
zfx
24c36fd862
fix(std/log): use writeAllSync instead of writeSync (#5868)
Deno.writeSync:
Returns the number of bytes written. 
It is not guaranteed that the full buffer will be written in a single call.
2020-05-26 09:54:30 -04:00
Bartek Iwańczuk
f462f7fe54
fix: parsing of JSX and TSX in SWC (#5870) 2020-05-26 15:41:00 +02:00
Chris Knight
9090023c33
docs: "Getting started" manual updates (#5835) 2020-05-26 13:12:07 +02:00
Marcos Casagrande
4e92ef7dc9
Add more tests for fetch response body (#5852) 2020-05-25 16:20:09 -04:00
Nayeem Rahman
4ebd243423
fix(std/testing/asserts): Support browsers (#5847) 2020-05-25 13:32:34 -04:00
Marcos Casagrande
08f74e1f6a
fix(cli/web/fetch): Make Response constructor standard (#5787) 2020-05-25 12:55:16 -04:00
Rares Folea
aef9f22462
Fix typo (#5834) 2020-05-25 09:35:11 -04:00
Marcos Casagrande
1c4a9665e2
fix: Allow ArrayBuffer as Fetch request body (#5831) 2020-05-25 09:26:36 -04:00
Marcos Casagrande
c9f0e34e29
Improve bufferFromStream (#5826) 2020-05-25 09:14:01 -04:00
Martin Suchanek
fbbb9f1c36
Add missing async delay import to code sample (#5837) 2020-05-25 09:12:45 -04:00