summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-10-06refactor(cli/repl): tightly integrate event loop (#7834)Casper Beyer
2020-10-06fix(core): module execution with top level await (#7672)Bartek Iwańczuk
This commit fixes implementation of top level await in "deno_core". Previously promise returned from module execution was ignored causing to execute modules out-of-order. With this commit promise returned from module execution is stored on "JsRuntime" and event loop is polled until the promise resolves.
2020-10-05chore: add a bundle benchmark (#7828)Kitson Kelly
2020-10-05perf(cli/console): Don't add redundant ANSI codes (#7823)Nayeem Rahman
2020-10-05fix(core): handle unregistered errors in core better (#7817)Kitson Kelly
2020-10-05chore: add lockfile tests (#7816)JavascriptMick
Fixes #7653
2020-10-04chore(std/http): rename http_bench.ts -> bench.ts (#7509)tokiedokie
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-03feat(unstable): revert "enable importsNotUsedAsValues by default #7413" (#7800)Nayeem Rahman
This reverts commit fbb18d40d3cfd0d24262e8e73b97f22770734572.
2020-10-03v1.4.4Bartek Iwańczuk
2020-10-03fix(cli/repl): put the thread to sleep when idle (#7804)Casper Beyer
2020-10-03fix(cli): update type definitions to align to TS dom (#7791)CGQAQ
Fixes #7746
2020-10-02fix(cli/repl): enable colors on inspected values (#7798)Casper Beyer
2020-10-02v1.4.3Bartek Iwańczuk
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-01chore: ensure cache is 'valid' during benchmarks (#7770)Kitson Kelly
2020-10-01fix(cli/console): Catch and format getter errors (#7766)Nayeem Rahman
2020-09-30refactor: improve op crate interfaces for other consumers (#7745)Bartek Iwańczuk
2020-09-30fix: check cached versions during transpile (#7760)Kitson Kelly
Fixes: #7759
2020-09-30fix: bundle loader returns exported value (#7764)Kitson Kelly
Fixes: #7761
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(cli): extract inspector session (#7756)Casper Beyer
This extracts the inspector session specific bits from CoverageCollector into a standalone struct dubbed `InspectorSesssion` which can be used as a general purpose session to communicate with the inspector on the same thread as an isolate/inspector pair lives on.
2020-09-29fix(websocket): add missing close events and remove extra error event (#7606)crowlKats
2020-09-29refactor: improve graph and tsc_config (#7747)Kitson Kelly
2020-09-29chore(cli/coverage): remove unused runtime domain (#7749)Casper Beyer
Previously when we used the websocket to talk to the inspector we used the runtime domain to send a "runIfWaitingForDebugger" message. However this is not required since we now talk to the inspector directly and no longer send said message so this removes the enabling of the domain entirely.
2020-09-28fix(cli/test): do not start inspector server when collecting coverage (#7718)Casper Beyer
2020-09-28refactor: move op state registration to workers (#7696)Bartek Iwańczuk
2020-09-27feat(unstable): add module specifier to deno info --json output (#7725)Valentin Anger
2020-09-27fix: Use $deno$test.ts instead of .deno.test.ts (#7717)Nayeem Rahman
2020-09-27fix(cli/inspector): shutdown server gracefully on drop (#7716)Casper Beyer
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-26docs: add jsdoc for WebAssembly namespace (#7703)Luca Casonato
2020-09-26refactor: factor out check_unstable op helper (#7695)Bartek Iwańczuk
2020-09-26refactor: combine MainWorker::new and MainWorker::create (#7693)Bartek Iwańczuk
* combine MainWorker::new and MainWorker::create * remove compiler_starts fields * make op_state types explicit for readability
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-26refactor: prune unneeded JS code (#7689)Bartek Iwańczuk
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-25v1.4.2Bartek Iwańczuk
2020-09-25refactor: class instead of var+interface in d.ts (#7514)Luca Casonato
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(cli/inspector): make server optional (#7656)Casper Beyer
This makes inspector registration with the server with optional and explicit to allow for inspectors to exist without spinning up the server. As a side effect of the server being explicitly passed around it also makes it possible to bind multiple servers.