1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
Commit graph

4329 commits

Author SHA1 Message Date
Casper Beyer
9b0f9c8765
fix(std/wasi): always capture syscall exceptions (#7116)
This wraps all exported syscalls in an exception catching delegate to
ensure that the stack is never unexpectedly unwound.
2020-08-24 19:04:11 -04:00
Craig Morten
2d800f2cb9
fix(op_crates/web): throw TypeError on invalid input types in TextDecoder.decode() (#7179) 2020-08-24 20:09:31 +02:00
Tuan Le
545ea8e217
fix(console): handle escape sequences when logging objects (#7171) 2020-08-24 12:38:21 -04:00
Rob Palmer
0cbf9bdbbd
Fix incorrect comment on useDefineForClassFields (#6386) 2020-08-24 18:37:30 +02:00
Danny Denenberg
2df4a29f49
Typo (#7177) 2020-08-24 12:36:56 -04:00
Casper Beyer
dcc7348090
test(cli): use assertThrows and assertThrowsAsync for chown tests (#7106) 2020-08-24 18:21:56 +02:00
Casper Beyer
e8968e6bf4
BREAKING(std/wasi): rename Module to Context (#7110)
This commit renames Module and ModuleOptions to context to avoid stutter
confusion, e.g avoid having documentation that says things like
instantiate the snapshot's module's module.
2020-08-24 18:21:06 +02:00
Casper Beyer
c1d543e10a
BREAKING(std/wasi): use record for exports (#7109) 2020-08-24 18:12:16 +02:00
Yoshiya Hinosawa
111a2fbe3e
refactor(cli/build.rs): extract ts version (#7127) 2020-08-24 17:52:05 +02:00
Bartek Iwańczuk
2600d5ac09
fix(doc): stack overflow for .d.ts files (#7167) 2020-08-23 15:48:35 +02:00
Bartek Iwańczuk
c1558beffb
upgrade: swc, dprint, deno_lint, deno_doc (#7162) 2020-08-23 13:57:09 +02:00
木杉
fe59a423a6
docs(fs/walk): fix code example (#7166) 2020-08-23 11:34:12 +02:00
Benjamin Lupton
b7ad544dd6
feat(std/node): add URL export (#7132) 2020-08-21 22:39:56 -04:00
Max Drosdo.www
73288beb15
Remove old references to libdeno (#7149) 2020-08-21 22:36:44 -04:00
Nayeem Rahman
d444bd89db
fix(URL): Don't encode "'" in non-special query strings (#7152) 2020-08-21 22:35:34 -04:00
Bert Belder
29e3f4cd3a
Split core http benchmark into 'bin_ops' and 'json_ops' variants (#7147) 2020-08-21 20:21:32 +02:00
Bartek Iwańczuk
999e5cf3d4
v1.3.1 2020-08-21 18:11:33 +02:00
迷渡
9eca347f73
fix(docs): remove Deno.dir (#7144) 2020-08-21 15:56:12 +02:00
Nayeem Rahman
cf603be24c
fix: Allow isolated "%"s when parsing file URLs (#7108) 2020-08-21 15:37:06 +02:00
Bert Belder
fd83df7cdb
Convert the remaining http_bench ops to json ops (#7143) 2020-08-21 13:11:04 +02:00
tokiedokie
679a190fcd
add links in the manual (#7120) 2020-08-20 11:57:15 -04:00
Schwarzkopf Balázs
87b1b8c461
fix(std/node): misnamed assert exports (#7123) 2020-08-20 11:56:31 -04:00
Casper Beyer
5adb6cba3e
docs(std/wasi): fix reference to the wrong object in example (#7124) 2020-08-20 11:48:33 -04:00
Kurt Mackey
cd67f7bdc8
fix: Create body stream from any valid bodySource (#7128)
Fixes #6752
2020-08-20 11:47:58 -04:00
Ryan Dahl
0095611af9
First pass at json ops in core (#7033)
Adds Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-08-20 09:45:59 -04:00
Bartek Iwańczuk
be1e7ab532
refactor: move cli/doc/ to separate crate (#7103) 2020-08-19 19:13:43 +02:00
Luca Casonato
1507a8cf2d
refactor(op_crates/web): move abort signal (#7117) 2020-08-19 14:43:20 +02:00
Bert Belder
27f4aeb924
Make Rc/Arc wrapper around State/GlobalState visible (#7104) 2020-08-19 02:01:48 +02:00
Tim Reichen
de1007fc6a
refactor(std/datetime): remove currentDayOfYear (#7059) 2020-08-18 16:30:09 -04:00
Nayeem Rahman
015fa0bd41
refactor: permissions (#7074) 2020-08-18 16:29:32 -04:00
Bert Belder
f6e9150b33
Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095)
Closes: #7020
2020-08-18 20:50:52 +02:00
Bert Belder
b308a774e8
Fix nightly and Windows-only clippy warnings (#7095) 2020-08-18 20:50:52 +02:00
Benjamin Lupton
b21a7b0fd0
feat(std/node): add basic asserts (#7091) 2020-08-18 14:15:59 -04:00
Bartek Iwańczuk
36c2855932
upgrade: swc, deno_lint, dprint (#7098) 2020-08-18 20:11:13 +02:00
Yasser A.Idrissi
7f85bb3763
docs(contributing/artchitecture): Add Deno conference youtube link (#6859) 2020-08-18 13:36:12 -04:00
David Sherret
9add6ea43d
Upgrade third_party and dprint plugins. (#7097) 2020-08-18 13:29:30 -04:00
Casper Beyer
3c986ca524
test(cli): use assertThrowsAsync for permission tests (#7092) 2020-08-18 11:05:51 -04:00
tokiedokie
7766500bf5
remove Table of Contents in docs/contributing/style_guide.md (#7067) 2020-08-18 00:32:52 -04:00
Bartek Iwańczuk
9f1dcc1a32
refactor(doc): add helper functions for DocNode (#7083) 2020-08-18 00:15:04 +02:00
danielwippermann
93e2bfe22e
fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. (#7064)
Before this patch the TOML parser would incorrect treat the string
"base64data0xdamaged" in a declaration as a hex number because the
corresponding check triggers even when the "0x" is inside a double
quoted string literal as long as it is followed by at least one hex
character.
2020-08-17 17:48:15 -04:00
uki00a
95a6812e82
fix(std/encoding/csv): improve error message on ParseError (#7057) 2020-08-17 17:47:01 -04:00
crowlKats
b44b7a9a60
Blob.arrayBuffer returns uint8array (#7086) 2020-08-17 17:46:08 -04:00
Ryan Dahl
974215afdd
Simplify deno_core_http_bench op state (#7038)
Removes unnecessary wrappers around ResourceTable and CoreIsolate.

Importantly: now uses the resource table inside CoreIsolateState rather than a different one.

Removes derive_deref dependency
2020-08-17 17:29:01 -04:00
Joel Chippindale
1f7d4089f9
Fix handling of multiple spaces in URLSearchParams (#7068)
This ensures that all spaces are set to be "+" in the string rather than
just the first and brings deno into line with how browsers handle spaces
in URLSearchParams, see #7001.
2020-08-17 14:52:45 -04:00
tokiedokie
68e1ba07d3
typos (#7082) 2020-08-17 12:17:57 -04:00
Tim Reichen
684eddcc6b
feat(std/datetime): generalise parser, add formatter (#6619) 2020-08-15 10:37:17 -04:00
Tomofumi Chiba
b684df784e
fix: add NO_PROXY to deno help and add test (#7048) 2020-08-15 09:48:29 -04:00
tokiedokie
42ff8ede4c
typo (#7052) 2020-08-15 09:47:14 -04:00
tokiedokie
496c9d73a1
improve docs (#7053) 2020-08-15 09:46:36 -04:00
tokiedokie
b9adfe53d3
typo (#7029) 2020-08-14 13:49:22 -04:00