Commit graph

4240 commits

Author SHA1 Message Date
Bartek Iwańczuk b21f318e68
fix: support missing features in --no-check (#7289)
This commit adds "EmitTranspileOptions" to "transpile()" function, 
that allows to configure transpilation process based on the 
currently loaded "tsconfig.json".
2020-09-02 11:12:18 +02:00
Casper Beyer 7f32a4e19b
docs(std/uuid): remove mention of v3 which is not supported (#7318) 2020-09-01 19:18:40 -04:00
Ryan Dahl 050c865af4
deno_web 0.6.0 (#7317) 2020-09-02 00:02:05 +02:00
Ryan Dahl ce63806c64
simplify deno_web init (#7313) 2020-09-01 16:32:07 -04:00
Yoshiya Hinosawa b3563e8569
fix(URLSearchParams): fix handling of + character (#7314) 2020-09-01 20:34:41 +02:00
Ryan Dahl fee6f79330
Remove unused crate_modules feature (#7311) 2020-09-01 13:55:40 -04:00
Casper Beyer 87e513ffc5
fix: use millisecond precision for Deno.futime and Deno.utime (#7299) 2020-09-01 10:03:07 -04:00
Casper Beyer 644190eed8
test(std): ensure mod.ts modules have a test coverage (#7264) 2020-08-31 22:26:55 -04:00
Casper Beyer 94d38eee4c
replace utime crate with filetime (#7268) 2020-08-31 22:24:17 -04:00
Michael Kurze b751122e10
fix(doc): fix some typos in cli docs (#7292) 2020-08-31 22:18:06 -04:00
Ryan Dahl 4b5d8bdbaf
set maximum size of thread pool to 31 (#7290) 2020-08-31 17:38:25 -04:00
Casper Beyer 32de714dc7
feat(unstable): add Deno.futime and Deno.futimeSync (#7266) 2020-08-31 14:29:43 -04:00
Bartek Iwańczuk c82c3b982e
refactor: Compiler config in Rust (#7228)
* port tsc_config.rs

* cleanup options

* bring back allowNonTsExtension

* try

* fix test

* fix test2

* move config for bundling

* remove Transpile compile request

* remove dead code

* remove more dead code

* remove checkJs regex

* fix

* handle config str for runtime APIs

* lint

* runtimeCompile config in Rust

* runtimeCompile and runtimeTranspile config in Rust

* fix

* remove lint supression

* upgrade: jsonc-parser 0.13.0

* remove unneeded to_string()

* upgrade: jsonc-parser 0.14.0

* remove AsRef<str>
2020-08-31 20:12:24 +02:00
Yusuke Tanaka 71f0171ab0
fix no-inner-declaration lint rule (#7287) 2020-08-31 14:11:17 -04:00
Trivikram Kamat 0071dfdc5c
update actions to run on ubuntu-18.04 (#7160) 2020-08-31 11:48:58 -04:00
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