Commit graph

4175 commits

Author SHA1 Message Date
Casper Beyer 15fd1e8d30
chore(std/wasi): fix no-inner-declarations lints (#7286) 2020-08-31 17:13:55 +02:00
Yusuke Tanaka fa65e49bc6
feat(lint): Add support for reading input from stdin (#7263) 2020-08-31 13:53:42 +02:00
Casper Beyer a451a97486
fix(cli): use upstream type definitions for WebAssembly (#7216) 2020-08-31 12:04:47 +02:00
Bartek Iwańczuk 5c23388f6d
upgrade: swc, deno_doc, deno_lint, dprint (#7276) 2020-08-31 11:48:44 +02:00
Yusuke Tanaka 7799b797d1
chore: remove unreachable code to pass linter (#7270) 2020-08-31 11:10:28 +02:00
Bartek Iwańczuk d761246e16
refactor: remove dead code in tsc (#7277) 2020-08-31 11:02:13 +02:00
Casper Beyer 39912f2018
refactor(std/uuid): remove dependency on isString from std/node (#7273) 2020-08-30 22:46:58 +02:00
Casper Beyer 0ea0c87b15
test(std/uuid): reorganize to use one test module per public module (#7272) 2020-08-30 14:39:51 -04:00
Casper Beyer 62809cd605
docs(std/fs): remove stale references to readFileStr and writeFileStr (#7254) 2020-08-29 19:19:31 -04:00
Ryan Dahl e27fb30117
upgrade: rust 1.46.0 (#7251) 2020-08-29 18:07:44 +02:00
Matt Barnett-Jones 58c83b671b
Typo in zsh env setup steps (#7250) 2020-08-29 10:15:23 -04:00
Bartek Iwańczuk ac705b7936
v1.3.2 2020-08-29 09:53:13 -04:00
Bartek Iwańczuk 16513d8e62
upgrade: rusty_v8 0.9.1 / V8 8.6.334 (#7243) 2020-08-29 13:21:22 +02:00
Yusuke Tanaka 0d11f3504b
fix(lint): use recommended rules set (#7222) 2020-08-29 12:58:20 +02:00
Casper Beyer 8ca903f649
feat(std/fmt): add bright color variations (#7241) 2020-08-29 10:29:41 +02:00
Nayeem Rahman d6dc797d15
fix(URL): Add missing part assignment (#7239) 2020-08-29 10:12:10 +02:00
Christian Petersen 84086e7d32
fix(std/testing): invalid dates assertion equality (#7230) 2020-08-28 19:59:28 -04:00
Yoshiya Hinosawa 00b6762412
test(cli/flags): restore disabled test cases (#7236) 2020-08-28 19:20:57 -04:00
Jakob Strobl 03a3256e9c
fix(std/encoding/toml): Comment after arrays causing incorrect output (#7224) 2020-08-28 18:51:06 -04:00
Ryan Dahl 935c92800f
fix benchmark publish again (#7235) 2020-08-28 14:06:20 -04:00
Ryan Dahl 2573d0957f
fix benchmark publish (#7232) 2020-08-28 11:57:06 -04:00
Bartek Iwańczuk 7e946858a4
refactor: migrate ops to new dispatch wrapper (#7118) 2020-08-28 17:08:24 +02:00
Valentin Anger 31f32ed8c4
Move benchmarks to Rust (#7134)
All benchmarks are done in Rust and can be invoked with
`cargo bench`.

Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
2020-08-28 09:03:50 -04:00
Nayeem Rahman 3d23208019
fix(deno install): Strip "@..." suffixes from inferred names (#7223) 2020-08-27 16:55:58 -04:00
Yusuke Tanaka beec3ae096
chore(std/encoding): disable no-control-regex (#7219) 2020-08-27 19:03:04 +02:00
Casper Beyer 672350b206
fix(std/wasi): invalid number to bigint conversion in fd_tell (#7215) 2020-08-27 11:38:12 +02:00
Casper Beyer 992248e731
test(std/wasi): seperate test runner into a module (#7191) 2020-08-27 11:21:57 +02:00
Yusuke Tanaka 59428e3d8a
fix(std/wasi): ignore lint errors (#7197) 2020-08-27 11:14:01 +02:00
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