Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-29 | fix(npm): conditional exports with wildcards (#15652) | Bartek Iwańczuk | |
2022-08-29 | chore: update test_util/std/ submodule (#15657) | Bartek Iwańczuk | |
2022-08-26 | fix(npm): handle cjs re-exports with the same name as an export (#15626) | David Sherret | |
2022-08-26 | fix(ext/node): fix global in node env (#15622) | Yoshiya Hinosawa | |
2022-08-26 | chore(npm): add test for esm npm binary package (#15609) | David Sherret | |
2022-08-25 | fix: avoid global declaration collisions in cjs (#15608) | David Sherret | |
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though. | |||
2022-08-24 | fix(npm): always require --unstable flag even for esm (#15583) | David Sherret | |
2022-08-24 | fix: resolve `jsxImportSource` relative to module (#15561) | Luca Casonato | |
Previously `jsxImportSource` was resolved relative to the config file during graph building, and relative to the emitted module during runtime. This is now fixed so that the JSX import source is resolved relative to the module both during graph building and at runtime. | |||
2022-08-24 | feat: support subpaths in npm package references (#15578) | David Sherret | |
2022-08-23 | feat(npm): support packages with multiple command names (#15565) | David Sherret | |
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-23 | fix(cache): do not attempt to emit non-emitable files (#15562) | David Sherret | |
2022-08-22 | feat(unstable): Respect --cached-only flags for npm: specifiers (#15512) | Bartek Iwańczuk | |
This commit changes "npm:" specifier handling to respect "--cached-only" flags and adds "Download" messages for npm registry api calls. Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-21 | feat: `queueMicrotask()` error handling (#15522) | Nayeem Rahman | |
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158). | |||
2022-08-21 | fix(core/runtime): always cancel termination in exception handling (#15514) | Nayeem Rahman | |
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-20 | feat: add "deno init" subcommand (#15469) | Leo Kettmeir | |
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-17 | docs: add category tag for built-in APIs (#15480) | Kitson Kelly | |
2022-08-12 | fix(coverage): ensure coverage is only collected in certain situations (#15467) | David Sherret | |
2022-08-11 | fix(cli): allow configurations files to also be json modules (#15444) | Nayeem Rahman | |
Closes #15440 | |||
2022-08-09 | chore: temporarily disable `op_require_read_file` (#15433) | David Sherret | |
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(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 | 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-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 | fix(task): resolve deno configuration file first from specified `--cwd` arg ↵ | David Sherret | |
(#15257) | |||
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(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-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 | 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 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 | 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 | 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. |