Commit graph

4247 commits

Author SHA1 Message Date
Tim Reichen 58bcb9880b
test(std/datetime): port golang dayOfYear tests (#7105) 2020-08-27 11:12:49 +02:00
Matthew Adams 81811e80e1
docs(std/log): update example (#7157) 2020-08-27 11:03:49 +02:00
xcatliu 6b95b25000
feat(std/testing): add assertNotMatch (#6775) 2020-08-27 11:03:15 +02:00
Schwarzkopf Balázs e1564f385c
fix(std/node): "events" and "util" modules (#7170) 2020-08-27 11:00:38 +02:00
Benjamin Lupton 7583fd0979
docs(build): details on updating rust (#7133) 2020-08-27 10:59:36 +02:00
Yusuke Tanaka 6d964fc607
test(url_test): disable no-self-assign rule here (#7204) 2020-08-26 15:01:03 -04:00
Bartek Iwańczuk 4a0bc747dd
upgrade: swc, deno_doc, deno_lint, dprint (#7194) 2020-08-26 20:43:24 +02:00
Casper Beyer 80111e57e6
test(std/testing): reduce bench test iterations to 1e3 (#7200) 2020-08-26 20:36:20 +02:00
Luca Casonato a7fd3a4f58
fix(cli): revert "never type check deno info #6978" (#7199) 2020-08-26 20:27:06 +02:00
Bert Belder c8b5f1e454
Simplify ErrBox-to-class mapping & hook it up to core json ops (#7195) 2020-08-26 18:48:04 +02:00
Rob Waller 765235341b
docs: add fetch and read/write examples (#7186) 2020-08-26 18:45:03 +02:00
Ryan Dahl 563482393b
Use https instead of ssh for wasi-test-suite submodule (#7202) 2020-08-26 18:23:14 +02:00
Bert Belder aead9dc91e
Remove some more unnecessary 'to_string()' calls (#7190) 2020-08-26 01:13:20 +02:00
Bert Belder 9bfb0df805
refactor: remove OpError, use ErrBox everywhere (#7187)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-08-26 00:22:15 +02:00
Casper Beyer d0ccab7fb7
fix(std/wasi): return flags from fd_fdstat_get (#7112) 2020-08-25 13:40:29 -04:00
Casper Beyer f7174267e3
test(std/wasi): add wasi-testsuite as a submodule (#7042) 2020-08-25 08:36:50 -04:00
Paul Jones 54d336ab20
docs(std/fs): provide more context on unstable perm (#6748) 2020-08-25 12:33:38 +02:00
Kitson Kelly c4d5b01acf
feat: update to TypeScript 4.0 (#6514) 2020-08-24 19:43:54 -04:00
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