Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-11 | feat: Add "deno check" subcommand for type checking (#14072) | Bartek Iwańczuk | |
This commit adds new "deno check" subcommand. Currently it is an alias for "deno cache" with the difference that remote modules don't emit TS diagnostics by default. Prints warning for "deno run" subcommand if "--check" flag is not present and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env variable that allows to opt into new behavior now. | |||
2022-03-29 | refactor(flags): rename CheckFlag to TypecheckMode (#14111) | Bartek Iwańczuk | |
2022-03-28 | chore: fix compile_windows_ext test (#14142) | David Sherret | |
2022-03-28 | chore: update clap and completions (#14136) | Robert | |
2022-03-11 | feat: "deno bench" subcommand (#13713) | Bartek Iwańczuk | |
This commit adds "deno bench" subcommand and "Deno.bench()" API that allows to register bench cases. The API is modelled after "Deno.test()" and "deno test" subcommand. Currently the output is rudimentary and bench cases and not subject to "ops" and "resource" sanitizers. Co-authored-by: evan <github@evan.lol> | |||
2022-03-10 | feat: "deno task" subcommand (#13725) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-03-11 | fix(compat): cjs/esm interop for dynamic imports (#13792) | Bartek Iwańczuk | |
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM". | |||
2022-03-10 | fix(info): print deno info paths with unescaped backslashes on windows (#13847) | Geert-Jan Zwiers | |
2022-03-09 | refactor: add cli/display.rs module (#13879) | Bartek Iwańczuk | |
2022-03-01 | fix(runtime): disable console color for non tty stdout (#13782) | Antonio Musolino | |
2022-02-24 | chore: upgrade to Rust 1.59 (#13767) | David Sherret | |
2022-02-24 | fix(compile): Support import maps (#13756) | Divy Srivastava | |
2022-02-23 | feat: allow specification of import map in config file (#13739) | Kitson Kelly | |
Closes: #12800 | |||
2022-02-16 | feat: deno vendor (#13670) | David Sherret | |
2022-02-15 | feat(cli): Replace bundling with eszip in deno compile (#13563) | William Tetlow | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-02-11 | refactor: use `Arc` instead of making copies of `Flags` struct (#13610) | Maxim | |
2022-02-11 | compat: support --compat in web workers (#13629) | Bartek Iwańczuk | |
Adds another callback to WebWorkerOptions that allows to execute some modules before actual worker code executes. This allows to set up Node global using std/node. | |||
2022-02-07 | refactor: factor out CDP message types (#13551) | Leo Kettmeir | |
2022-02-01 | refactor: integrate deno_graph breaking changes (#13495) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-01-31 | feat(cli): add "--no-clear-screen" flag (#13454) | Zheyu Zhang | |
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change. | |||
2022-01-31 | Revert "refactor: factor out CDP message types (#13501)" (#13540) | Bartek Iwańczuk | |
This reverts commit 382a978859a7a7a4351542be818bb2e59523429c. | |||
2022-01-27 | refactor: factor out CDP message types (#13501) | Leo Kettmeir | |
2022-01-14 | chore: upgrade clap to v3 (#13266) | Leo Kettmeir | |
2022-01-13 | refactor: move transpiling to deno_ast (#13332) | David Sherret | |
2022-01-12 | feat(cli): add ignore directives to bundled code (#13309) | juju | |
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually. | |||
2022-01-10 | cli(compile): fix output flag behaviour on compile command (#13299) | Rabin Gaire | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2022-01-03 | feat(compat) preload Node.js built-in modules in global vars REPL (#13127) | VishnuJin | |
This commit adds preloading of built-in Node.js modules in the REPL if running with "deno repl --compat --unstable". | |||
2021-12-30 | feat(test): Add support for "deno test --compat" (#13235) | Steven Guerrero | |
2021-12-29 | cleanup(cli): use op Extensions (#13223) | Aaron O'Mullan | |
Enabling op-middleware for overrides in lieu of imperative .replace_op() etc... Impacts #13219, #12938, #13122 | |||
2021-12-22 | chore: update deno_graph and deno_doc (#13173) | Kitson Kelly | |
2021-12-21 | refactor: cleanup cli/main.rs (#13160) | Bartek Iwańczuk | |
2021-12-20 | refactor: Use dedicated flags structures (#13148) | Bartek Iwańczuk | |
2021-12-20 | chore: add custom panic message (#13145) | Luca Casonato | |
2021-12-16 | refactor(cli): use GraphData for check and emit (#12960) | Nayeem Rahman | |
2021-12-15 | feat(watch): support watching external files (#13087) | Jesper van den Ende | |
2021-12-11 | fix: op_set_exit_code (#13034) | Bartek Iwańczuk | |
Fixes "op_set_exit_code" by sharing a single "Arc" between all workers (via "op state") instead of having a "global" value stored in "deno_runtime" crate. As a consequence setting an exit code is always scoped to a tree of workers, instead of being overridable if there are multiple worker tree (like in "deno test --jobs" subcommand). Refactored "cli/main.rs" functions to return "Result<i32, AnyError>" instead of "Result<(), AnyError>" so they can return exit code. | |||
2021-11-30 | feat: add `--no-check=remote` flag (#12766) | Kitson Kelly | |
Closes #11970 | |||
2021-11-28 | feat(runtime): add op_set_exit_code (#12911) | Ben Noordhuis | |
Set the exit code to use if none is provided to Deno.exit(), or when Deno exits naturally. Needed for process.exitCode Node compat. Paves the way for #12888. | |||
2021-11-24 | fix(lsp): lsp should respect include/exclude files in format config (#12876) | David Sherret | |
2021-11-24 | compat: support compat mode in REPL (#12882) | Bartek Iwańczuk | |
This commit introduces "ProcState::maybe_resolver" field, which stores a single instance of resolver for the whole lifetime of the process, instead of creating these resolvers for each creation of module graph. As a result, this resolver can be used in fallback case where graph is not constructed (REPL, loading modules using "require") unifying resolution logic. | |||
2021-11-23 | fix(cli/compile): skip bundling for pre-bundled code (#12687) | Zheyu Zhang | |
2021-11-24 | fix(cli): don't cache .tsbuildinfo unless emitting (#12830) | Nayeem Rahman | |
Fixes #12755 Fixes #12807 Fixes #12832 | |||
2021-11-16 | fix(cli): short-circuit in prepare_module_load() (#12604) | Nayeem Rahman | |
2021-11-09 | feat(cli): support React 17 JSX transforms (#12631) | Kitson Kelly | |
Closes #8440 | |||
2021-11-08 | refactor: move `mod tokio_util` to runtime (#12332) | Bert Belder | |
This avoids a bunch of duplicated code. | |||
2021-11-01 | port check_if_should_use_esm_loader to rust (#12562) | Ryan Dahl | |
2021-10-27 | feat(ext/webstorage): use implied origin when --location not set (#12548) | Kitson Kelly | |
Closes #11882 BREAKING CHANGE: Previously when `--location` was set, the unique storage key was derived from the the URL of the location instead of just the origin. This change correctly uses just the origin. This may cause previously persisted storage to change its key and data to not be available with the same location as before. | |||
2021-10-26 | chore: upgrade Rust to 1.56.0 (#12514) | Bert Belder | |
2021-10-19 | refactor: use a single Mutex in ProcState for module graph (#12489) | Bartek Iwańczuk | |
This commit factors out 4 different fields from "ProcState", that are behind "Arc<Mutex<>>" into a single struct behind a single mutex. |