Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2021-10-18 | feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) | Bartek Iwańczuk | |
This commit adds CJS and ESM Node resolvers to the "--compat" mode. The functionality is spread across "cli/compat" module and Node compatibility layer in "deno_std/node"; this stems from the fact that ES module resolution can only be implemented in Rust as it needs to directly integrated with "deno_core"; however "deno_std/node" already provided CJS module resolution. Currently this resolution is only active when running a files using "deno run --compat --unstable <filename>", and is not available in other subcommands, which will be changed in follow up commits. | |||
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-10-08 | feat(compat): inject Node globals in REPL (#12352) | Bartek Iwańczuk | |
2021-10-08 | feat(runtime): allow passing extensions via Worker options (#12362) | Aaron O'Mullan | |
2021-10-06 | Revert "fix(cli): ensure empty lines don't count towards coverage (#11957)" ↵ | Bartek Iwańczuk | |
(#12348) This reverts commit d5b38a992933db5cb2d0221e9d82af191022dad5. | |||
2021-10-06 | feat(compat): inject Node globals (#12342) | Bartek Iwańczuk | |
This commit adds automatic injection of Node globals when "--compat" flag is present. This is done by executing "https://deno.land/std/node/global.ts" as a "side module", before main module is executed. This commit makes "--compat" required to be used with "--unstable" flag, as some of Node globals require unstable Deno APIs. | |||
2021-10-06 | fix(cli): ensure empty lines don't count towards coverage (#11957) | Casper Beyer | |
2021-10-05 | feat(lint): add support for --watch flag (#11983) | CGQAQ | |
2021-10-05 | refactor(runtime): Worker bootstrap options (#12299) | Aaron O'Mullan | |
2021-10-05 | feat: add --compat flag to provide built-in Node modules (#12293) | Bartek Iwańczuk | |
This commit adds "--compat" flag. When the flag is passed a set of mappings for built-in Node modules is injected into the import map. If user doesn't explicitly provide an import map (using "--import-map" flag) then a map is created on the fly. If there are already existing mappings in import map that would clash with built-in Node modules a set of diagnostics is printed to the terminal with suggestions how to proceed. | |||
2021-09-30 | feat(cli/uninstall): add uninstall command (#12209) | Sylvain Cau | |
2021-09-29 | feat: support serializing `WebAssembly.Module` objects (#12140) | Andreu Botella | |