Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-18 | fix: WebSocketStream ping event causes pending promises (#15235) | Leo Kettmeir | |
2022-07-18 | feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151) | Leo Kettmeir | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-07-18 | reland: "fix(core): unhandled rejection in top-level scope" (#15236) | Bartek Iwańczuk | |
Reland #15204 | |||
2022-07-18 | feat(cli): support configuring the test tool in the config file (#15079) | Roj | |
2022-07-18 | chore(repl): update rustyline to 10.0.0 (#15232) | sigmaSd | |
2022-07-18 | feat: import.meta.resolve() (#15074) | Bartek Iwańczuk | |
This commit adds new "import.meta.resolve()" API which allows to resolve specifiers relative to the module the API is called in. This API supports resolving using import maps. | |||
2022-07-18 | chore: fix flaky captured_output (#15234) | David Sherret | |
2022-07-18 | fix: revert changes to test output for uncaught errors (#15231) | Bartek Iwańczuk | |
2022-07-18 | BREAKING(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-18 | Revert "fix(core): unhandled rejection in top-level scope (#15204)" (#15226) | Bartek Iwańczuk | |
This reverts commit 48a7312f3871e3b76c51eb0143ca1c48da43b20c. | |||
2022-07-15 | refactor: allocate IDs for tests (#14729) | Nayeem Rahman | |
2022-07-15 | chore: fix Windows specific clippy errors (#15212) | David Sherret | |
2022-07-15 | feat(cli/test): add `DENO_JOBS` env variable for `test` subcommand (#14929) | Mark Ladyshau | |
2022-07-15 | Revert "feat: add "unhandledrejection" event support (#12994) (#15080)" (#15210) | Bartek Iwańczuk | |
This reverts commit 1a7259b04b7229f6350a7a7c21b50497b5c80c17. | |||
2022-07-14 | fix(ext/ffi): allow setting a custom lib path for libtcc.a (#15208) | Kayla Washburn | |
2022-07-15 | refactor: remove redundant qualification of symbols in Rust (#15201) | orvit | |
2022-07-14 | feat: 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-14 | fix(core): unhandled rejection in top-level scope (#15204) | Bartek Iwańczuk | |
Update "deno_core" to not forward rejection of top level module if it was already handled by appropriate handlers. Co-authored-by: Colin Ihrig cjihrig@gmail.com | |||
2022-07-14 | fix(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-14 | fix(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-14 | chore: upgrade rusty_v8 to v0.46.0 (#15200) | Bartek Iwańczuk | |
2022-07-14 | feat(lsp): provide import map remapping diags and fixes (#15165) | Kitson Kelly | |
2022-07-13 | feat(fmt): do not add a newline between a template and its tag (#15195) | David Sherret | |
2022-07-13 | fix(cli): Improve error message in watch mode (#15184) | 2shiori17 | |
2022-07-13 | chore: remove flaky writeSyncWhileAsyncFails test (#15194) | David Sherret | |
2022-07-13 | chore(cli): remove dead code related to previous tsc emit (#15196) | Nayeem Rahman | |
2022-07-13 | fix(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-13 | chore: fix flaky `integration::test::meta` (#15192) | David Sherret | |
2022-07-13 | chore: fix pty_complete_imports test on linux/mac (#15191) | David Sherret | |
2022-07-12 | fix: fallback to no type checking cache when db file can't be created (#15180) | David Sherret | |
2022-07-12 | feat(cli/lsp): Sort repl completions (#15171) | 2shiori17 | |
2022-07-12 | fix(repl): do not panic for import completions when the import specifier is ↵ | David Sherret | |
empty (#15177) | |||
2022-07-12 | perf: use emit from swc instead of tsc (#15118) | David Sherret | |
2022-07-12 | chore: 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-12 | fix(ext/http): reading headers with ongoing body reader (#15161) | Divy Srivastava | |
2022-07-12 | fix(net): don't panic on failed UDS removal (#15157) | Colin Ihrig | |
If a Unix Domain Socket cannot be removed, throw instead of panicing. Fixes: https://github.com/denoland/deno/issues/14213 | |||
2022-07-12 | chore: fix repl::pty_emoji test on linux (#15166) | David Sherret | |
2022-07-12 | fix(ext/ffi): i64 arg to C mapping was wrong (#15162) | Aapo Alasuutari | |
2022-07-12 | feat(ext/ffi): Support 64 bit parameters in Fast API calls (#15140) | Aapo Alasuutari | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-07-12 | fix(ext/ffi): trampoline for fast calls (#15139) | Divy Srivastava | |
2022-07-12 | fix(lsp): enable auto imports (#15145) | Kitson Kelly | |
Fixes: #15111 | |||
2022-07-11 | fix(coverage): better handling of multi-byte characters (#15159) | David Sherret | |
2022-07-11 | fix(ext/crypto): Adjust typings for `Crypto.getRandomValues()` (#15130) | Livia Medeiros | |
2022-07-11 | benchmarks: fix exec_time and latency benchmarks (#15155) | Bartek Iwańczuk | |
2022-07-11 | perf(cli/proc_state): Get error source lines from memory (#15031) | Nayeem Rahman | |
2022-07-11 | fix: upgrade deno_ast to 0.17 (#15152) | David Sherret | |
2022-07-11 | refactor: rename run_basic to run_local (#15068) | cuobiezi | |
2022-07-11 | chore(ci): Run wpt launcher with preinstalled Deno (#15098) | Nayeem Rahman | |
2022-07-11 | chore(web, worker): Use `DetachedBuffer` for `postMessage` ops (#15133) | Andreu Botella | |
This commit uses `DetachedBuffer` instead of `ZeroCopyBuf` in the ops that back `Worker.prototype.postMessage` and `MessagePort.prototype.postMessage`. This is done because the serialized buffer is then copied to the destination isolate, even though it is internal to runtime code and not used for anything else, so detaching it and transferring it instead saves an unnecessary copy. | |||
2022-07-11 | chore(core): Deduplicate code related to `op_event_loop_has_more_work` (#15147) | Andreu Botella | |
The `op_event_loop_has_more_work` op, introduced in #14830, duplicates code from `JsRuntime::poll_event_loop`. That PR also added the unused method `JsRuntime::event_loop_has_work`, which is another duplication of that same code, and which isn't used anywhere. This change deduplicates this by renaming `JsRuntime::event_loop_has_work` to `event_loop_pending_state`, and making it the single place to determine what in the event loop is pending. This result is then returned in a struct which is used both in the event loop and in the `op_event_loop_has_more_work` op. |