Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-29 | cleanup(cli/lsp): use op Extensions (#13225) | Aaron O'Mullan | |
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-29 | fix(lsp): add code lens for tests just using named functions (#13218) | Kitson Kelly | |
Fixes: #13216 | |||
2021-12-23 | fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) | David Sherret | |
2021-12-24 | fix(cli): include JSON modules in bundle (#13188) | Kitson Kelly | |
Fixes #13150 | |||
2021-12-23 | fix(ext/console): map basic css color keywords to ansi (#13175) | Zach | |
2021-12-22 | chore: merge v1.17.1 into main (#13184) | Bartek Iwańczuk | |
2021-12-22 | chore: update deno_graph and deno_doc (#13173) | Kitson Kelly | |
2021-12-21 | chore(tests): remove pty_complete_imports test for deleting the cwd (#13164) | David Sherret | |
2021-12-21 | refactor: Cleanup core/modules.rs (#13149) | Bartek Iwańczuk | |
2021-12-21 | refactor: cleanup cli/main.rs (#13160) | Bartek Iwańczuk | |
2021-12-21 | feat(lsp): supply accept header when fetching registry config (#13159) | Kitson Kelly | |
Closes #13153 | |||
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-20 | feat(lsp): add code lens for debugging tests (#13138) | Jesper van den Ende | |
Closes: #13130 | |||
2021-12-18 | refactor: use `once_cell` instead of `lazy_static` (#13135) | Divy Srivastava | |
2021-12-18 | refactor(repl): factor out ReplEditor and ReplSession (#13131) | Bartek Iwańczuk | |
2021-12-17 | fix: inspector prompts (#13123) | Bartek Iwańczuk | |
This commit fixes prompts printed to the terminal when running with "--inspect" or "--inspect-brk" flags. When debugger disconnects error is no longer printed as users don't care about the reason debugger did disconnect. A message suggesting to go to "chrome://inspect" is printed if debugger is active. Additionally and information that process is waiting for debugger to connect is printed if running with "--inspect-brk" flag. | |||
2021-12-17 | fix(cli/tools/coverage): Split sources by char index (#13114) | Nayeem Rahman | |
2021-12-17 | fix(repl): support assertions on import & export declarations (#13121) | David Sherret | |
2021-12-17 | chore: add codeblocks for lib.deno.shared_globals.d.ts (#13117) | Bartek Iwańczuk | |
2021-12-16 | v1.17.0 | Bartek Iwańczuk | |
2021-12-16 | chore: release crates for v1.17.0 (#13112) | Bartek Iwańczuk | |
2021-12-16 | feat(ext/crypto): support importing ECSDA and ECDH (#13088) | Sean Michael Wykes | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-12-16 | feat(fetch): support abort reasons in fetch (#13106) | Andreu Botella | |
2021-12-16 | feat: support abort reasons in Deno APIs and `WebSocketStream` (#13066) | Andreu Botella | |
2021-12-16 | refactor(cli): use GraphData for check and emit (#12960) | Nayeem Rahman | |
2021-12-16 | fix(lsp): provide diagnostics for import assertions (#13105) | Kitson Kelly | |
Fixes: #13099 | |||
2021-12-16 | fix(test): wait for inspector session in side modules (#13065) | Jesper van den Ende | |
This commit fixes inspector integration with "deno test" subcommand by waiting for inspector sessions to connect if "--inspect-brk" flag is passed. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-12-15 | feat(watch): support watching external files (#13087) | Jesper van den Ende | |
2021-12-15 | chore: update cli/Cargo.toml (#13096) | Bartek Iwańczuk | |
2021-12-15 | feat: REPL import specifier auto-completions (#13078) | David Sherret | |
2021-12-15 | feat: Add support for import assertions and JSON modules (#12866) | Bartek Iwańczuk | |
This commit adds proper support for import assertions and JSON modules. Implementation of "core/modules.rs" was changed to account for multiple possible module types, instead of always assuming that the code is an "ES module". In effect "ModuleMap" now has knowledge about each modules' type (stored via "ModuleType" enum). Module loading pipeline now stores information about expected module type for each request and validates that expected type matches discovered module type based on file's "MediaType". Relevant tests were added to "core/modules.rs" and integration tests, additionally multiple WPT tests were enabled. There are still some rough edges in the implementation and not all WPT were enabled, due to: a) unclear BOM handling in source code by "FileFetcher" b) design limitation of Deno's "FileFetcher" that doesn't download the same module multiple times in a single run Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-12-15 | feat(ext/ffi): implement UnsafePointer and UnsafePointerView (#12828) | Elias Sjögreen | |
2021-12-14 | fix(ext/net): make unix and tcp identical on close (#13075) | Ben Noordhuis | |
std/http/server knows how to handle "Listener has been closed" exceptions but not "operation canceled" errors. Make "unix" listen sockets throw the same exception as "tcp" listen sockets when the socket is closed and has a pending accept operation. There is still a discrepancy when multiple accept requests are posted but that's probably a less visible issue and something for another day. Fixes #13033 | |||
2021-12-15 | chore: updates to support deno_graph API changes (#13080) | Kitson Kelly | |
2021-12-14 | feat(ext/crypto): support exporting RSA JWKs (#13081) | Luca Casonato | |
This commit adds support for exporting RSA JWKs in the Web Crypto API. It also does some minor fixes for RSA JWK imports. Co-authored-by: Sean Michael Wykes <sean.wykes@nascent.com.br> | |||
2021-12-13 | fix(lsp): handle import specifier not having a trailing quote (#13074) | David Sherret | |
* fix(lsp): handle import specifier not having a trailing quote * clean up * Add test. | |||
2021-12-14 | feat(lsp): improve registry completion suggestions (#13023) | Kitson Kelly | |
Resolves #10051 | |||
2021-12-14 | fix(ext/web): set location undefined when `--location` is not specified (#13046) | Yoshiya Hinosawa | |
2021-12-13 | docs: Fix typo in EmitOptions (#13062) | 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-12-11 | feat(watcher): clear screen on each restart (#12613) | Bartek Iwańczuk | |
This commit adds automatic clearing of terminal screen after restarting execution on file change. | |||
2021-12-10 | feat(repl): add --unsafe-ignore-certificate-errors flag (#13045) | VishnuJin | |
2021-12-10 | tests: deflake crypto InvalidIntializationVector (#13040) | Luca Casonato | |
Use fixed data that is known to error as the test intends. | |||
2021-12-09 | fix(watch): mitigate race condition between file write by other process and ↵ | David Sherret | |
watch read (#13038) | |||
2021-12-10 | chore: place `@deprecated` tag after documentation block (#13037) | Kitson Kelly | |
2021-12-10 | feat(cli): update to TypeScript 4.5 (#12410) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-12-09 | feat(lsp): registry suggestion cache respects cache headers (#13010) | Kitson Kelly | |
Fixes #9931 | |||
2021-12-09 | feat(ext/timers): add refTimer, unrefTimer API (#12953) | Yoshiya Hinosawa | |