Kitson Kelly
751bb45a0a
fix: ignore fileExists in tsc host ( #7635 )
...
Fixes #7630
2020-09-23 11:39:20 +10:00
Bartek Iwańczuk
dd1cd4d952
fix: clearing timers race condition ( #7617 )
2020-09-22 19:33:29 +02:00
Casper Beyer
9caeff3208
fix(cli/repl): interpret object literals as expressions ( #7591 )
2020-09-21 16:09:53 -04:00
Bartek Iwańczuk
92edc36442
refactor: use futures and serde_json from deno_core ( #7614 )
2020-09-21 18:36:37 +02:00
William Perron
42772845f6
fix(info): add --importmap flag ( #7424 )
2020-09-21 15:07:19 +02:00
Yusuke Tanaka
db5004f200
fix(fmt,lint): do not print number of checked files when --quiet
is enabled ( #7579 )
2020-09-20 13:49:22 +02:00
tokiedokie
4c2920ddd7
fix(cli/fmt): canonicalize files in current dir ( #7508 )
2020-09-18 13:03:37 -04:00
Casper Beyer
de95fbebc4
fix(cli/repl): format evaluation results with the object specifier ( #7561 )
2020-09-18 12:47:08 -04:00
Ryan Dahl
104aebdfb5
Re-export deno_core::url ( #7525 )
...
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16 14:28:07 -04:00
Ryan Dahl
c3ef358c01
Remove unnecessary extern statements
2020-09-16 13:29:42 -04:00
tokiedokie
04d3472257
refactor(cli/tests): change std_path to root_path in std_tests() ( #7438 )
2020-09-15 06:26:57 +02:00
Bartek Iwańczuk
a65bcadcf2
test: reenable TS decorator test ( #7471 )
2020-09-14 18:59:54 +02:00
tokiedokie
e688a701e2
test(cli/tests/https_import): use ts file in localhost instead of remote ( #7431 )
2020-09-14 13:18:00 +02:00
Nayeem Rahman
f874b83aa0
test(cli/tests/unit): Enable color for js_unit_tests ( #7443 )
2020-09-14 12:46:50 +02:00
Casper Beyer
755cfa98eb
feat(unstable): deno test --coverage ( #6901 )
...
This commit adds basic support for collecting coverage
data using "deno test".
Currently the report is only a text added to the end
of output from "deno test".
2020-09-13 15:01:30 +02:00
Bartek Iwańczuk
b216d48e5f
upgrade: deno_doc, deno_lint, dprint, swc ( #7434 )
...
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
2020-09-13 14:15:38 +02:00
Bert Belder
bf70442b08
upgrade: rusty_v8 0.10.0 / V8 8.7.75 ( #7429 )
2020-09-13 13:43:50 +02:00
Luca Casonato
daa780e2cf
fix(WebSocket): no panic on failed connect + handle promise rejection via error event ( #7437 )
2020-09-13 11:52:20 +02:00
Luca Casonato
82d0f7ec84
chore: remove --no-check from deno info ( #7439 )
2020-09-12 23:34:54 +02:00
Luca Casonato
d048f58f05
chore: add systemMemoryInfo unstable diagnostic ( #7435 )
2020-09-12 16:12:14 +02:00
Bartek Iwańczuk
60dbc6b294
Revert "feat(unstable): Support data: urls ( #5157 )" ( #7432 )
...
This reverts commit e3319f34a6
.
2020-09-12 11:08:00 +02:00
Valentin Anger
e3319f34a6
feat(unstable): Support data: urls ( #5157 )
2020-09-11 22:40:48 +02:00
Bartek Iwańczuk
a3282aa9ed
feat(unstable): deno run --watch ( #7382 )
...
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
2020-09-11 18:19:49 +02:00
Yusuke Tanaka
857f9b32e0
feat(fmt, lint): show number of checked files ( #7312 )
2020-09-09 16:45:31 +02:00
Nayeem Rahman
b17a5fbcfa
fix(op_crates/web): Use "deno:" URLs for internal script specifiers ( #7383 )
2020-09-09 14:23:57 +02:00
KrisChambers
1cd2267500
feat(info): Dependency count and sizes ( #6786 )
...
This commit changes "deno info" subcommand logic.
- Modules are no longer loaded into V8 isolate - analysis
is done using ModuleGraph.
- Removed deno_core::Deps structure.
- Modules are no longer type-checked and transpiled -
"compiled" file is shown only if it is already available.
- Added number of unique dependencies for root module.
- Changed tree output:
- file size is shown next to the dependency
- repeated dependencies are marked with "*"
- used less spaces in prefix to save terminal width
2020-09-07 15:59:47 +02:00
crowlKats
8c880d3261
feat: Implement WebSocket API ( #7051 )
2020-09-05 10:39:25 -04:00
tokiedokie
fcee4265c6
support env_logger / RUST_LOG ( #7142 )
2020-09-03 16:16:49 -04:00
Ryan Dahl
a4439800e6
Remove unnecessary stdout pipes in tests ( #7322 )
2020-09-02 18:31:22 +02:00
Yusuke Tanaka
fa65e49bc6
feat(lint): Add support for reading input from stdin ( #7263 )
2020-08-31 13:53:42 +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
Luca Casonato
a7fd3a4f58
fix(cli): revert "never type check deno info #6978 " ( #7199 )
2020-08-26 20:27:06 +02:00
Bartek Iwańczuk
2600d5ac09
fix(doc): stack overflow for .d.ts files ( #7167 )
2020-08-23 15:48:35 +02:00
Nayeem Rahman
015fa0bd41
refactor: permissions ( #7074 )
2020-08-18 16:29:32 -04:00
Bert Belder
b308a774e8
Fix nightly and Windows-only clippy warnings ( #7095 )
2020-08-18 20:50:52 +02:00
Casper Beyer
4b3a3d9d0f
Enable WebAssembly.instantiateStreaming ( #7043 )
2020-08-14 13:48:37 -04:00
souldzin
d6cee70695
feat: Add "--json" flag to deno lint ( #6940 )
...
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-13 17:30:46 +02:00
Divy Srivastava
6706eb5515
feat: add "--ignore" to deno lint ( #6934 )
2020-08-12 15:47:44 +02:00
Ryan Dahl
7d01fcbb77
Remove unnecessary drop calls ( #7007 )
2020-08-10 17:31:05 -04:00
Nayeem Rahman
52c1017a74
feat: Stabilize Deno.mainModule ( #6993 )
2020-08-10 16:41:51 -04:00
Bert Belder
f17eb634fa
test(cli/inspector_port_collision): skip test on WSL ( #6991 )
2020-08-08 22:06:44 +02:00
Bert Belder
9806933f57
test(cli/inspector_port_collision): fail rather than hang ( #6991 )
2020-08-08 22:06:44 +02:00
Bert Belder
f22b7dc783
fix(cli): show error on unrecognized V8 flag, exit on --help ( #6980 )
2020-08-08 21:23:21 +02:00
Nayeem Rahman
479164d287
fix(deno info): Never type check ( #6978 )
2020-08-07 16:46:54 -04:00
Luca Casonato
9d50c5c1a6
feat: hash file names in gen cache ( #6911 )
2020-08-03 14:55:03 +02:00
Divy Srivastava
0da4779b17
feat(unstable): add "--ignore" flag to deno fmt ( #6890 )
2020-07-30 12:09:08 -04:00
Bartek Iwańczuk
b45f9a7357
fix: deno-types directive should have higher precedence than X-TypeScript-Types header ( #6761 )
2020-07-24 14:21:36 +02:00
Bartek Iwańczuk
b449964d1a
refactor: remove more compiler runtime code ( #6841 )
2020-07-23 15:29:36 +02:00
Bartek Iwańczuk
fa61956f03
Port internal TS code to JS ( #6793 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-19 19:49:44 +02:00
Bartek Iwańczuk
6e34f6a7cc
fix: providing empty source code for missing compiled files ( #6760 )
...
This commit adds a fallback mechanism for absent compiled source file.
Because imported type declaration files are not emitted by TS compiler
and their imports are not elided users often hit "No such file or directory"
error. With this commit in such situation an empty source file will be
provided to V8 with a warning to the user suggesting using "import type"/
"export type" syntax instead.
2020-07-17 15:50:17 +02:00