summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-10-23fix: typos in cli and core (#8082)Toan Nguyen
2020-10-23refactor(cli): move bundle check to new infrastructure (#8071)Kitson Kelly
2020-10-23BREAKING(cli/tsc): Enable isolatedModules by default (#8050)Nayeem Rahman
2020-10-23docs(cli): update link to dprint-plugin-typescript (#8052)Nikolai Vavilov
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-22feat(lint): stabilize "deno lint" subcommand (#8075)Bartek Iwańczuk
This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag.
2020-10-22upgrade: deno_doc, deno_lint, dprint, swc (#8077)Bartek Iwańczuk
- deno_doc 0.1.13 - deno_lint 0.2.5 - dprint-plugin-typescript 0.32.6 - swc_bundler 0.12.0 - swc_ecmascript 0.11.1
2020-10-22chores(cli/fmt): make --ignore stable (#7922)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-22fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty ↵nerix
(#7936)
2020-10-21refactor(cli): use PathBuf instead of String for lint and fmt subcommands ↵Akshat Agarwal
(#8042)
2020-10-21feat(cli): add types for WeakRef/FinalizationRegistry (#8056)Kitson Kelly
Fixes #8051
2020-10-20bump versions for op crates (#8048)Ryan Dahl
2020-10-20feat: stabilize Deno.fsync and Deno.fdatasync (#8038)Casper Beyer
2020-10-20chore: Rename --importmap to --import-map (#7032)Nayeem Rahman
--importmap still works as an alias to --import-map but is not visible in CLI help output.
2020-10-20fix(op_crates/web): TextEncoder should return error message with original ↵aca
input (#8005)
2020-10-20fix(cli): use rid getter for stdio (#8014)Casper Beyer
This changes the rid of Deno.stdin, Deno.stdout, Deno.stderr from a mutable property into a getter to match the rid semantics of Deno.File.
2020-10-20fix(cli/worker): Print error stacks from the origin Worker (#7987)Nayeem Rahman
Fixes #4728
2020-10-20feat(cli): add support for bundle --no-check (#8023)Kitson Kelly
Fixes #6686
2020-10-20fix(cli/rt/performance): check for object props in startOrMeasureOptions ↵Jesse Jackson
before throwing (#7884) Fixes #7876 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-19fix(op_crates/web): TextEncoder should throw RangeError (#8039)Leonard Ginters
This commit changes error type thrown by TextEncoder, when provided encoding is not supported matching Chromium behavior.
2020-10-19fix(cli): Handling of relative importmaps while using watch (#7950)Absebo
2020-10-19feat(cli/repl): add tab completion (#7827)Casper Beyer
This commit adds tab completion in REPL. Currently it works only for global identifiers and object properties.
2020-10-19feat(cli/installer): Add missing flags for deno install (#7601)Nayeem Rahman
This commit adds support for following flags: - deno install --importmap - deno install --no-remote - deno install --lock - deno install --lock-write - deno install --cached-only - deno install --v8-flags - deno install --seed
2020-10-19fix(cli/repl): ignore pair matching inside literals (#8037)Casper Beyer
2020-10-19fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)Luca Casonato
2020-10-19fix(cli/repl): unterminated string literal should invalidate (#7896)Casper Beyer
This adds the grave character to the pair matching so that template string literals trigger multi-line edits.
2020-10-19docs: readTextFile / readTextFileSync throw when reading directory (#7999)vwkd
2020-10-19fix(cli/repl): keyboard interrupt should continue (#7960)Casper Beyer
This changes the behavior of keyboard interrupts (ctrl+c) to continue, clearing the current line instead of exiting. Exit can still be done with ctrl+d or by calling close().
2020-10-19fix(cli/repl): write all results to stdout (#7893)Casper Beyer
This writes all evaluaton results to stdout regardless if the result is an error or not. This matches the behavior of other read-eval-print-loops like Node.
2020-10-19deno_core 0.64.0 (#8025)Ryan Dahl
2020-10-18refactor(lint): show hint for lint errors (#8016)Bartek Iwańczuk
This commit adds formatting of optional "hint" that can be present in lint diagnostic.
2020-10-18refactor(cli/repl): extract is_closing to a function (#8015)Casper Beyer
This extracts is closing into a function so that it can easily be used as the condition for the loop.
2020-10-17upgrade: deno_doc, deno_lint, dprint, swc (#8009)Bartek Iwańczuk
2020-10-15feat(cli/ops): add the sleep_sync op (#7974)William Perron
2020-10-16fix(cli): ModuleGraph2 properly handles redirects (#7981)Kitson Kelly
2020-10-15Reland feat(cli/console): inspect with colors regardless of Deno.noColor (#7976)Bartek Iwańczuk
2020-10-14Revert "feat(cli/console): inspect with colors regardless of Deno.noColor ↵Bartek Iwańczuk
(#7778)" (#7973) This reverts commit f75bd89aff7cffafceb394d629995479af54a156.
2020-10-14feat(cli/console): inspect with colors regardless of Deno.noColor (#7778)TTtie
This commit adds the ability for users to inspect items stylized with ANSI colors regardless of the value of Deno.noColor.
2020-10-14fix typos (#7964)vwkd
2020-10-14fix(test): return error when awaiting unresolved promise (#7968)Bartek Iwańczuk
This commit fixes test runner by awaitning "Deno.runTests()" call, which ensures proper error is returned when there's an unresolved promise that's being awaited.
2020-10-14fix(console): fix the test cases of function inspections (#7965)Yoshiya Hinosawa
2020-10-14refactor(cli/repl): clean up prelude injection (#7967)Casper Beyer
This extracts prelude injection into a helper function and moves the prelude string literal into a top level static string to help trim some of the fat out of the run function.
2020-10-14fix: top-level-await module execution (#7946)Bartek Iwańczuk
This commit changes implementation of top-level-await in "deno_core". Previously promise returned from module evaluation was not awaited, leading to out-of-order execution of modules that have TLA. It's been fixed by changing "JsRuntime::mod_evaluate" to be an async function that resolves when the promise returned from module evaluation also resolves. When waiting for promise resolution event loop is polled repeatedly, until there are no more dynamic imports or pending ops.
2020-10-14refactor(cli): add tsc2 (#7942)Kitson Kelly
Ref #7225
2020-10-13Remove dead code (#7963)Ryan Dahl
2020-10-13fix(op_crates/web/url): apply backslash replacement to the pathname setter ↵Nayeem Rahman
(#7937)
2020-10-13feat(cli/repl): add regex based syntax highlighter (#7811)Casper Beyer
This commit adds a simple regex replace based highlighter to the REPL editor. It tries to match the color palette of Deno.inspect()
2020-10-13feat: add alert, confirm, and prompt (#7507)Yoshiya Hinosawa
This commit adds "alert", "confirm" and "prompt" functions from web standards.
2020-10-13refactor(cli): rename GlobalState to ProgramState (#7914)Bartek Iwańczuk
2020-10-13reafactor(cli): use Emit enum and rename ts_build_info (#7952)Kitson Kelly