Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-12 | fix(lsp): enable auto imports (#15145) | Kitson Kelly | |
Fixes: #15111 | |||
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> | |||
2022-07-01 | chore: use Rust 1.62.0 (#15028) | Bartek Iwańczuk | |
2022-06-29 | fix(vendor): ignore import map in output directory instead of erroring (#14998) | David Sherret | |
2022-06-28 | feat(web): add beforeunload event (#14830) | Colin Ihrig | |
This commit adds the 'beforeunload' event. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-06-25 | fix(modules): Immediately resolve follow-up dyn imports to a dyn imported ↵ | Andreu Botella | |
module (#14958) When a dynamically imported module gets resolved, any code that comes after an await import() to that module will continue running. However, if that is the last code in the evaluation of another dynamically imported module, that second module will not resolve until the next iteration of the event loop, even though it does not depend on the event loop at all. When the event loop is being blocked by a long-running operation, such as a long-running timer, or by an async op that might never end, such as with workers or BroadcastChannels, that will result in the second dynamically imported module not being resolved for a while, or ever. This change fixes this by running the dynamic module loading steps in a loop until no more dynamic modules can be resolved. | |||
2022-06-24 | fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ↵ | Bartek Iwańczuk | |
(#14946) | |||
2022-06-23 | fix(check): ignore TS2306 (#14940) | Nayeem Rahman | |
Fixes a regression where this type checking error was being surfaced in certain scenarios. | |||
2022-06-23 | fix(fmt): ignore node_modules directory (#14943) | Bartek Iwańczuk | |
2022-06-21 | chore(test_util): add new string assertion macros (#14928) | David Sherret | |
2022-06-20 | fix(repl): accept tab when previous character is whitespace (#14898) | sigmaSd | |
2022-06-20 | fix: do not panic running .d.cts and .d.mts files (#14917) | David Sherret | |
2022-06-18 | fix(fmt): should fail `--check` on parse error (#14907) | David Sherret | |
2022-06-15 | fix(check): use "moduleDetection": "force" (#14875) | Nayeem Rahman | |
2022-06-15 | fix(url): properly indent when inspecting URLs (#14867) | cjihrig | |
This commit updates the custom inspect function for URL objects to pass the inspect options through so that the context is propagated and the resulting indentation is correct. Fixes: https://github.com/denoland/deno/issues/14171 | |||
2022-06-14 | feat(test): update test summary report (#14629) | Mark Ladyshau | |
2022-06-14 | feat(vendor): support using an existing import map (#14836) | David Sherret | |
2022-06-13 | Deno.exit() is an alias to self.close() in worker contexts (#14826) | Bartek Iwańczuk | |
This commit changes Deno.exit() to be an alias to self.close() in worker contexts, and the provided exit code becomes is ignored. | |||
2022-06-13 | feat: no type-check by default (#14691) | Bartek Iwańczuk | |
This commit changes default default behavior of type checking for several subcommands. Instead of type checking and reporting type errors only for local files, the type checking is skipped entirely. Type checking can still be enabled using the "--check" flag. Following subcomands are affected: - deno cache - deno install - deno eval - deno run | |||
2022-06-13 | fix(cli): add config flag to `deno info` (#14706) | Mark Ladyshau | |
2022-06-09 | feat(fmt): support formatting cjs, cts, mjs, and mts files (#14837) | David Sherret | |
2022-06-08 | feat(task): add `--cwd` flag for configuring the working directory (#14823) | Kayla Washburn | |
2022-06-08 | fix: watch dynamic imports in --watch (#14775) | Bartek Iwańczuk | |
Fix dynamic imports being watched in the watcher when using `--watch`. | |||
2022-06-06 | fix: Format non-error exceptions (#14604) | Nayeem Rahman | |
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc). | |||
2022-06-01 | feat: update to TypeScript 4.7 (#14242) | Kitson Kelly | |
2022-05-23 | fix: read raw stdin to prevent buffering (regression) (#14704) | David Sherret | |
2022-05-23 | fix: deno task should actually use current exe for `deno` command (#14705) | David Sherret | |
2022-05-23 | fix(ext/websocket): WebSocket dispatch single close event (#13443) | Leo Kettmeir | |
2022-05-22 | fix(coverage): do not report transpiled files with no lines (#14699) | Colin Ihrig | |
This commit omits files from the coverage report that have no lines of code to report coverage for. Fixes: https://github.com/denoland/deno/issues/14683 | |||
2022-05-20 | refactor: upgrade to deno_ast 0.15 (#14680) | David Sherret | |
2022-05-20 | fix: prevent Deno.exit to fail when dispatchEvent tampered (#14665) | Yoshiya Hinosawa | |
Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-05-18 | refactor: use spawn API across codebase (#14414) | Leo Kettmeir | |
2022-05-18 | fix(ext/tls): ability to ignore IP-address certificate errors (#14610) | Aleksei Kosyrev | |
2022-05-17 | feat: subcommands type-check only local files by default (#14623) | Bartek Iwańczuk | |
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test | |||
2022-05-17 | BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463) | Bartek Iwańczuk | |
2022-05-17 | feat(core): deterministic snapshots (#14037) | Divy Srivastava | |
2022-05-15 | fix(lsp): correct positions in some scenarios (#14359) | David Sherret | |
2022-05-14 | feat(ext/net): add support for SOA records in Deno.resolveDns() API (#14534) | Thanapat Chotipun | |
2022-05-13 | feat: add --no-config flag (#14555) | Bartek Iwańczuk | |
This flag disables loading of configuration file, ie. it will not be automatically discovered and loaded. Of course this flag conflicts with "--config" flag and they cannot be used together. | |||
2022-05-13 | chore: update test_util/std/ submodule (#14595) | Bartek Iwańczuk | |
2022-05-11 | chore: fix flaky lsp_testing_api test (#14569) | David Sherret | |
2022-05-11 | fix: stdout and stderr encoding on Windows (#14559) | David Sherret | |
2022-05-10 | fix(runtime/web_worker): Use biased select when getting module result (#14553) | Nayeem Rahman | |
2022-05-09 | feat(test): Represent uncaught errors (#14513) | Nayeem Rahman | |
This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner. | |||
2022-05-08 | fix(core): avoid panic on non-string Error.name (#14529) | Aaron O'Mullan | |
Fixes #14518 | |||
2022-05-04 | fix(coverage): exclude .snap files (#14480) | Geert-Jan Zwiers | |
2022-05-03 | feat(ext/net): add "NS" record support in Deno.resolveDns API (#14372) | Thanapat Chotipun | |
2022-05-02 | fix(test/bench): accept file protocol module specifier CLI args (#14429) | Adilson Schmitt Junior | |