summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-03-08fix(cli/ast): Pass importsNotUsedAsValues to swc (#9714)Nayeem Rahman
Fixes #9709
2021-03-07fix(cli/compile): do not append .exe depending on target (#9668)Divy Srivastava
2021-03-05fix(cli/tests): Fix flaky worker test (#9691)Nayeem Rahman
2021-03-04test(cli): move lint command tests into a module (#9674)Casper Beyer
2021-03-04fix(runtime/web_worker): Don't block self.onmessage with TLA (#9619)Nayeem Rahman
This commit rewrites implementation of "JsRuntime::mod_evaluate". Event loop is no longer polled automatically and users must manually drive event loop forward after calling "mod_evaluate". Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-03-03chore(lsp): update lspower to 0.8.4 (#9663)hvithrafn
Co-authored-by: hvithrafn <hvithrafn@users.noreply.github.com>
2021-03-02Pin lspower, because it made semvar incompatible patch release (#9656)Ryan Dahl
2021-03-02v1.8.0Ryan Dahl
2021-03-02Bump crate versions (#9651)Ryan Dahl
2021-03-02test(op_crates/web): add regression tests for past URL bugs (#9639) (#9639)Bert Belder
Closes: #9383
2021-03-02chore: upgrade crates (#9632)Bartek Iwańczuk
2021-03-02refactor(op_crates/web): Move URL parsing to Rust (#9276)Nayeem Rahman
2021-03-01test(cli): reorganize test subcommand testcases and fixtures (#9627)Casper Beyer
2021-03-01feat(cli): represent type dependencies in info (#9630)Kitson Kelly
Fixes #7927
2021-03-01feat: stabilise import maps (#9526)Bartek Iwańczuk
This commit stabilises import maps by removing requirement on "--unstable" flag when "--import-map" flag is used.
2021-03-01feat: WebGPU API (#7977)crowlKats
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-01fix(lsp): improve exception handling on tsc snapshots (#9628)Kitson Kelly
Refs #9348
2021-03-01feat: Align import map to spec and test using WPT (#9616)Bartek Iwańczuk
This commit updates implementation of import maps to align it to current revision of the spec. Existing tests were removed in favor of using suite from WPT.
2021-03-01fix: typo in coverage exit_unstable (#9626)Luca Casonato
2021-03-01chore: improve internal webidl functions (#9606)Luca Casonato
2021-02-26chore: move crypto types to op_crates/crypto (#9609)Divy Srivastava
2021-02-26Improve 'deno lsp' help text (#9610)Ryan Dahl
2021-02-26chore: simplify internal dependencies between crates (#9600)Divy Srivastava
2021-02-26feat(cli/source_map): Use top user frame for error source lines (#9604)Nayeem Rahman
This commit changes formatting of JS errors; by not showing source lines for internal code. Where possible, instead using the top stack frame associated with user code i.e. the first location that is colourful and not a "deno:" URL.
2021-02-25Upgrade rusty_v8 (V8 9.0.257.3) (#9605)Ryan Dahl
2021-02-26feat(runtime): stabilize Deno.symlink and Deno.symlinkSync (#9226)Casper Beyer
2021-02-26chore(cli/runtime): use re-export serde from deno_core (#9599)Kitson Kelly
2021-02-25chore(core): optional args for registerErrorClass (#9602)Luca Casonato
2021-02-25feat(runtime): stabilize Deno.link and Deno.linkSync (#9417)Casper Beyer
This commit makes "Deno.link" and "Deno.linkSync" stable. The permission required has been changed to read-write to ensure one cannot escape the sandbox.
2021-02-25feat(cli/doc): use type definitions "deno doc" if available (#8459)Liam Murphy
This commit adds support for type definitions in "deno doc"; with this change "deno doc" is able to leverage the same directives as TS compiler. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-25fix(runtime): do not panic on irregular dir entries (#9579)Casper Beyer
2021-02-25test(lsp): add benchmarking tests (#9586)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-25feat(cli): update to TypeScript 4.2 (#9341)Kitson Kelly
2021-02-25feat(runtime): stabilise permissions and add event target capabilities (#9573)Kitson Kelly
2021-02-25reafactor(lsp): use generics with JSON values (#9587)Kitson Kelly
2021-02-24feat: add "deno coverage" subcommand (#8664)Casper Beyer
This commit adds a new subcommand called "coverage" which can generate code coverage reports to stdout in multiple formats from code coverage profiles collected to disk. Currently this supports outputting a pretty printed diff and the lcov format for interoperability with third-party services and tools. Code coverage is still collected via other subcommands that run and collect code coverage such as "deno test --coverage=<directory>" but that command no longer prints a pretty printed report at the end of a test run with coverage collection enabled. The restrictions on which files that can be reported on has also been relaxed and are fully controllable with the include and exclude regular expression flags on the coverage subcommand. Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-24test: Fix --reload in integration_tests (#9345)Yosi Pramajaya
This commit removes redundant "--reload" args because "util::deno_cmd" recreates "DENO_DIR". This commit also fixes ta_reload in integration tests to actually test reload.
2021-02-24feat: add exit sanitizer to Deno.test (#9529)Casper Beyer
This adds an exit sanitizer to ensure that code being tested or dependencies of that code can't accidentally call "Deno.exit" leading to partial test runs and false results.
2021-02-23refactor(core): Allow multiple overflown responses in single poll (#9433)Inteon
This commit rewrites "JsRuntime::poll" function to fix a corner case that might caused "overflown_response" to be overwritten by other overflown response. The logic has been changed to allow returning multiple overflown response alongside responses from shared queue.
2021-02-23fix: panic caused by Deno.env.set("", "") (#9583)Kohei Ueno
2021-02-22fix(tests): fix fetchConnectionError test if port is in use (#9465)David DeSimone
Fixes #9379
2021-02-22chore: disable flaky test (#9568)Bartek Iwańczuk
2021-02-22chore: upgrade internal dprint plugins (#9566)Satya Rohith
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-02-21feat(unstable): per op metrics (#9240)Luca Casonato
2021-02-21fix(cli): capitalize inspect and inspect-brk descriptions (#9567)Casper Beyer
2021-02-21feat: add --ext flag to deno eval (#9295)Satya Rohith
This PR deprecates the "--ts"/"-T" flag of "deno eval" (which will later be removed in 2.0) and introduces "--ext" which is used by "deno fmt" for content type selection. This is to ensure we have a single flag that can be used across subcommands to select the language (JS/TS).
2021-02-21fix(op_crates/websocket): default to close code 1005 (#9339)DjDeveloper
Currently if WebSocket is closed without code, it will error while on Chrome it would close with code 1005 instead. Co-authored-by: crowlKats <13135287+crowlKats@users.noreply.github.com>
2021-02-21fix(runtime/testing): false positive for timers when an error is thrown (#9553)Casper Beyer
2021-02-21fix(repl): filter out symbol candidates (#9555)Casper Beyer
2021-02-21fix(core/bindings): Add stacks for dynamic import resolution errors (#9562)Nayeem Rahman