summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-02upgrade: swc, deno_doc, deno_lint, dprint (#7793)Bartek Iwańczuk
2020-10-02feat(cli/repl): enable await and let re-declarations (#7784)Casper Beyer
This enables `replMode` during evaluations which allows for top level await and let re-declarations.
2020-10-02fix(cli/repl): use a default referrer when empty (#7794)Casper Beyer
This makes use of a default referrer when its empty in repl mode so that dynamic imports work in the global evaluation context. Co-authored-by: Bartek Iwanczuk <biwanczuk@gmail.com>
2020-10-02refactor(repl): use an inspector session (#7763)Casper Beyer
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-10-01refactor: add concept of 'legacy' compiler to enable non-breaking ↵Kitson Kelly
refactoring (#7762)
2020-10-01fix(cli/console): Catch and format getter errors (#7766)Nayeem Rahman
2020-09-30fix: check cached versions during transpile (#7760)Kitson Kelly
Fixes: #7759
2020-09-30fix(cli): use global_state file_fetcher when using SpecifierHandler (#7748)Kitson Kelly
Fixes: #7709
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-29refactor: improve graph and tsc_config (#7747)Kitson Kelly
2020-09-28fix(cli/test): do not start inspector server when collecting coverage (#7718)Casper Beyer
2020-09-27feat(unstable): add module specifier to deno info --json output (#7725)Valentin Anger
2020-09-27fix: no check recognizes require (#7720)Luca Casonato
2020-09-27fix: net listen crashes on explicit undefined hostname (#7706)Giorgi Rostomashvili
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-26refactor: use JsRuntime to implement TSC (#7691)Bartek Iwańczuk
This commits removes "CompilerWorker" in favor of using "JsRuntime". "cli/ops/compiler.rs" has been removed in favor of inline registration of ops in "cli/tsc.rs"
2020-09-26fix(cli/dts): Use var instead of const and let for globals (#7680)Nayeem Rahman
2020-09-25refactor: clean timers tests (#7679)Bartek Iwańczuk
2020-09-25refactor: remove tsc/40_error_stack.js (#7673)Bartek Iwańczuk
This commit removes cli/tsc/40_error_stack.js as it is not needed in TSC host. All errors originating in TSC are terminal and don't require source mapping hence we can rely on default stack traces provided by deno_core. Additionally tsc/06_util.js was removed and its code moved to tsc/99_main_compiler.js
2020-09-25fix(cli): customInspect works on functions (#7670)Kitson Kelly
Fixes #7650
2020-09-25refactor: new module graph used for no check (#7621)Kitson Kelly
2020-09-23fix(cli/coverage): print lines with no coverage to stdout (#7640)Casper Beyer
2020-09-23fix(cli/console): quote non-alphanumeric symbols (#7641)Casper Beyer
This quotes and escapes symbol descriptions that contains characters outside of the basic alpha-numeric identifier range.
2020-09-23fix(cli/console): enclose symbol keys in brackets (#7642)Casper Beyer
This encloses symbol keys when used in objects with brackets (e.g [Symbol("Symbol.iterator")]).
2020-09-23fix: ignore fileExists in tsc host (#7635)Kitson Kelly
Fixes #7630
2020-09-22fix: clearing timers race condition (#7617)Bartek Iwańczuk
2020-09-22fix(cli/console): quote object symbol keys that are invalid identifiers (#7553)Casper Beyer
2020-09-22fix(logger): change log level to which prefix added (#7582)Yusuke Tanaka
2020-09-21fix(cli/repl): interpret object literals as expressions (#7591)Casper Beyer
2020-09-21fix: Response.arrayBuffer() doesn't return promise (#7618)Luca Casonato
2020-09-21refactor: use futures and serde_json from deno_core (#7614)Bartek Iwańczuk
2020-09-21fix(info): add --importmap flag (#7424)William Perron
2020-09-20fix(fmt,lint): do not print number of checked files when `--quiet` is ↵Yusuke Tanaka
enabled (#7579)
2020-09-19fix(cli/rt): make some web API constructors illegal at runtime (#7468)Nayeem Rahman
2020-09-18fix(cli/fmt): canonicalize files in current dir (#7508)tokiedokie
2020-09-18fix(cli/repl): format evaluation results with the object specifier (#7561)Casper Beyer
2020-09-18fix(cli/console): surround non alpha-numeric object keys with quotes (#7550)Casper Beyer
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk
2020-09-17fix(cli/console): escape non printable characters in object entries (#7533)Casper Beyer
2020-09-17refactor: move op_resources and op_close to deno_core (#7539)Bartek Iwańczuk
Moves op_close and op_resources to deno_core::ops and exports them. Adds serde dependency to deno_core and reexports it. Moves JS implementation of those ops to Deno.core and reexports them in Deno.
2020-09-16refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521)Bartek Iwańczuk
Instead use Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16Remove unnecessary extern statementsRyan Dahl
2020-09-16refactor(unstable): deno info --json output (#7417)bartOssh
Provide flat JSON structured output. Fix BrokenPipe error when piping out to "head".
2020-09-15refactor(cli/tests): change std_path to root_path in std_tests() (#7438)tokiedokie
2020-09-14Remove unnecessary wildcard from ts_decorators test (#7485)Ryan Dahl
2020-09-14test: reenable TS decorator test (#7471)Bartek Iwańczuk
2020-09-14test(cli/tests/https_import): use ts file in localhost instead of remote (#7431)tokiedokie