summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-07-18BREAKING(unstable): Improve Deno.spawn() stdio API (#14919)Nayeem Rahman
- "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "<T extends SpawnOptions = SpawnOptions>" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable)
2022-07-15refactor: allocate IDs for tests (#14729)Nayeem Rahman
2022-07-15chore: fix Windows specific clippy errors (#15212)David Sherret
2022-07-15feat(cli/test): add `DENO_JOBS` env variable for `test` subcommand (#14929)Mark Ladyshau
2022-07-15Revert "feat: add "unhandledrejection" event support (#12994) (#15080)" (#15210)Bartek Iwańczuk
This reverts commit 1a7259b04b7229f6350a7a7c21b50497b5c80c17.
2022-07-15refactor: remove redundant qualification of symbols in Rust (#15201)orvit
2022-07-14feat: add "unhandledrejection" event support (#12994) (#15080)Bartek Iwańczuk
Relanding #12994 This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-14fix(cli/dts): allow passing arguments to `WebAssembly` error constructors ↵Liam Murphy
(#15149) These constructors have the same signature as all of JavaScript's other builtin errors.
2022-07-14fix(cli): expand tsc roots when using checkJs (#15164)Rafael Ávila de Espíndola
A JS file can still point to a TS file, so we need to expand the roots in the checkJs case too. Fixes: #15163
2022-07-14feat(lsp): provide import map remapping diags and fixes (#15165)Kitson Kelly
2022-07-13feat(fmt): do not add a newline between a template and its tag (#15195)David Sherret
2022-07-13fix(cli): Improve error message in watch mode (#15184)2shiori17
2022-07-13chore: remove flaky writeSyncWhileAsyncFails test (#15194)David Sherret
2022-07-13chore(cli): remove dead code related to previous tsc emit (#15196)Nayeem Rahman
2022-07-13fix(cli): synchronize async stdio/file reads and writes (#15092)David Sherret
Fixes a regression where async writes and reads could get out of order.
2022-07-13chore: fix flaky `integration::test::meta` (#15192)David Sherret
2022-07-13chore: fix pty_complete_imports test on linux/mac (#15191)David Sherret
2022-07-12fix: fallback to no type checking cache when db file can't be created (#15180)David Sherret
2022-07-12feat(cli/lsp): Sort repl completions (#15171)2shiori17
2022-07-12fix(repl): do not panic for import completions when the import specifier is ↵David Sherret
empty (#15177)
2022-07-12perf: use emit from swc instead of tsc (#15118)David Sherret
2022-07-12chore: forward v1.23.4 release commit to main (#15172)Colin Ihrig
1.23.4 (#15168) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-07-12fix(ext/http): reading headers with ongoing body reader (#15161)Divy Srivastava
2022-07-12chore: fix repl::pty_emoji test on linux (#15166)David Sherret
2022-07-12fix(lsp): enable auto imports (#15145)Kitson Kelly
Fixes: #15111
2022-07-11fix(coverage): better handling of multi-byte characters (#15159)David Sherret
2022-07-11benchmarks: fix exec_time and latency benchmarks (#15155)Bartek Iwańczuk
2022-07-11perf(cli/proc_state): Get error source lines from memory (#15031)Nayeem Rahman
2022-07-11fix: upgrade deno_ast to 0.17 (#15152)David Sherret
2022-07-11refactor: rename run_basic to run_local (#15068)cuobiezi
2022-07-10refactor: update comment in diff.rs (#15142)Ikko Ashimine
Github -> GitHub
2022-07-09fix(ext/ffi): allow opting out of fast ffi calls (#15131)Divy Srivastava
2022-07-05chore: unpin pin project to fix cargo publish (#15085)David Sherret
2022-07-051.23.3 (#15081)denobot
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-07-05Revert "refactor(snapshots): to their own crate (#14794)" (#15076)Bartek Iwańczuk
This reverts commit fd5a12d7e25dc53238e2bbcffe970e646c1035f3.
2022-07-04Revert "feat: add "unhandledrejection" event support (#12994)" (#15075)Bartek Iwańczuk
This reverts commit f7af0b01a59aaac91473e2f920137004d39a310a.
2022-07-04feat: add "unhandledrejection" event support (#12994)Bartek Iwańczuk
This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-04chore(test): fix `test_collect_specifiers` windows path to specifier code ↵Roj
(#15072)
2022-07-04fix(cli): handle collecting a directory with file:// (#15002)Roj
2022-07-04chore(cli/bench): use `deno bench` for deno_common.js (#15063)Divy Srivastava
2022-07-04fix(dts): stop default export type behavior (#14977)Carter Snook
Ref: #14976
2022-07-04fix: update to TypeScript 4.7.4 (#15022)Rafael Ávila de Espíndola
2022-07-02chore(cli/bench): benchmark for raw HTTP ops (#15043)Divy Srivastava
2022-07-01refactor: extract `deno_graph::create_graph` use to common function (#15009)David Sherret
2022-07-01chore: use Rust 1.62.0 (#15028)Bartek Iwańczuk
2022-07-01chore(cli/bench): Add more HTTP benchmarks (#14995)Divy Srivastava
2022-06-30chore: forward 1.23.2 to main (#15027)David Sherret
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-29fix(vendor): ignore import map in output directory instead of erroring (#14998)David Sherret
2022-06-29refactor: rename `RootConfig` to `CliOptions` (#15007)David Sherret
2022-06-29fix(ext/web): remove `ErrorEventInit`'s error default (#14809)Mark Ladyshau