Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-11 | perf(ops): Monomorphic sync op calls (#15337) | Aapo Alasuutari | |
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader. | |||
2022-08-11 | fix(cli): allow configurations files to also be json modules (#15444) | Nayeem Rahman | |
Closes #15440 | |||
2022-08-10 | fix: allow setting `globalThis.location` when no `--location` is provided ↵ | Kayla Washburn | |
(#15448) | |||
2022-08-09 | chore: temporarily disable `op_require_read_file` (#15433) | David Sherret | |
2022-08-10 | fix: update deno_graph to fix importing config as JSON module (#15388) | Kitson Kelly | |
Ref: denoland/deno_graph#166 | |||
2022-08-09 | feat: add ext/node for require support (#15362) | Bartek Iwańczuk | |
This commit adds "ext/node" extension that implementes CommonJS module system. In the future this extension might be extended to actually contain implementation of Node compatibility layer in favor of "deno_std/node". Currently this functionality is not publicly exposed, it is available via "Deno[Deno.internal].require" namespace and is meant to be used by other functionality to be landed soon. This is a minimal first pass, things that still don't work: support for dynamic imports in CJS conditional exports | |||
2022-08-04 | fix(test): output parallel test results independently (#15399) | Nayeem Rahman | |
2022-08-02 | fix(test): race condition for cancelled tests (#15233) | Nayeem Rahman | |
2022-08-02 | fix(lsp): use correct commit chars for completions (#15366) | Kitson Kelly | |
Fixes: #15252 | |||
2022-07-30 | fix(core): BorrowMutError in nested error (#15352) | Bartek Iwańczuk | |
2022-07-23 | feat(ext/crypto): deriveBits P-384 (#15138) | diachedelic | |
This commit adds P-384 curve support for crypto.subtle.deriveBits. Co-authored-by: James Diacono <james@diacono.com.au> | |||
2022-07-23 | fix: unhandledrejection handling for sync throw in top level (#15279) | Bartek Iwańczuk | |
Fixes an edge in "unhandledrejection" event that prevent synchronous errors being surfaced when throw from a top-level scope. | |||
2022-07-22 | fix: Child.unref() unrefs stdio streams properly (#15275) | Bartek Iwańczuk | |
2022-07-21 | fix: proper typings for unhandledrejection event (#15271) | Bartek Iwańczuk | |
2022-07-21 | fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) | Satya Rohith | |
2022-07-20 | feat(test): add `--parallel` flag, soft deprecate `--jobs` (#15259) | David Sherret | |
Co-authored-by: mrkldshv <markladyshev@gmail.com> | |||
2022-07-20 | Reland "feat: add "unhandledrejection" event support" (#15211) | Bartek Iwańczuk | |
2022-07-20 | chore(cli): Ignore "experimentalDecorators" and "moduleDetection" options ↵ | Nayeem Rahman | |
(#15202) | |||
2022-07-20 | chore: use import.meta.resolve() in tests (#15256) | Bartek Iwańczuk | |
2022-07-20 | fix(task): resolve deno configuration file first from specified `--cwd` arg ↵ | David Sherret | |
(#15257) | |||
2022-07-20 | chore: align some Web API type definitions to lib.dom.d.ts (#15219) | ayame113 | |
2022-07-20 | fix(ext/web): align DOMException better with spec (#15097) | Phosra | |
2022-07-20 | chore(ext): update webgpu (#15059) | Dante Issaias | |
2022-07-19 | feat: emit files on demand and fix racy emit (#15220) | David Sherret | |
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 | feat(cli): support configuring the test tool in the config file (#15079) | Roj | |
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-15 | refactor: allocate IDs for tests (#14729) | Nayeem Rahman | |
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 | 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(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-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 | 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(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 | fix(ext/http): reading headers with ongoing body reader (#15161) | Divy Srivastava | |
2022-07-12 | chore: fix repl::pty_emoji test on linux (#15166) | David Sherret | |
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 | perf(cli/proc_state): Get error source lines from memory (#15031) | Nayeem Rahman | |
2022-07-04 | Revert "feat: add "unhandledrejection" event support (#12994)" (#15075) | Bartek Iwańczuk | |
This reverts commit f7af0b01a59aaac91473e2f920137004d39a310a. | |||
2022-07-04 | feat: 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> |