Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-29 | fix(cli): make hashes of tsconfig deterministic (#8167) | Kitson Kelly | |
Fixes #8163 | |||
2020-10-28 | refactor(watch): create single watcher for whole process (#8083) | Yusuke Tanaka | |
This commit rewrites file watcher used with --watch flag. Instead of creating new watcher after each restart, only a single watcher is created for whole process. Additionally debouncing mechanism has been added to prevent infinite restart loops if multiple files were changed in quick succession. Co-authored-by: bartossh <lenart.consulting@gmail.com> | |||
2020-10-28 | fix(repl): don't hang on unpaired braces (#8151) | Kevin (Kun) "Kassimo" Qian | |
Previously, entering a single ']' would cause repl to forever accepting new lines, due to that `ValidationResult::Invalid` would actually be consumed by the editor itself while continue building the lines. Instead we should mark it as `Valid` and send the bad input for evaluation to get the proper error from V8. Before: ``` > ] (you can keep entering new line here, and it will never consume input until you Ctrl-C) ``` After: ``` > ] Uncaught SyntaxError: Unexpected token ']' > ``` | |||
2020-10-28 | fix(cli): module graph handles redirects properly (#8159) | Kitson Kelly | |
Fixes #8154 | |||
2020-10-28 | fix(cli): restore tripleslash lib refs support (#8157) | Kitson Kelly | |
Fixes #8147 | |||
2020-10-27 | fix(cli): handle URL paths in Deno.mkdir() (#8140) | Ross Weir | |
2020-10-27 | fix(cli): do not throw on empty typescript files (#8143) | Kitson Kelly | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-27 | fix(op_crates/web): Expose event properties in console output (#8103) | Ross Weir | |
Fixes #8073 | |||
2020-10-27 | fix(cli): restore permission check on workers (#8123) | Kitson Kelly | |
Fixes #8120 | |||
2020-10-26 | rename(std/testing): rename assert*Contains to assert*Includes (#7951) | Tim Reichen | |
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes | |||
2020-10-26 | feat(unstable): add Deno.systemCpuInfo() (#7774) | Elias Sjögreen | |
2020-10-26 | fix(op_crates/fetch): ensure Request.method to be string (#8100) | Kid | |
Ensure "Request.method" to be the default value ("GET") if "init.method" is not defined, which follows browser's behavior. | |||
2020-10-26 | refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090) | Bartek Iwańczuk | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2020-10-26 | Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128) | Bartek Iwańczuk | |
This reverts commit c5c48f845a4d25f064c4388fcdd4295317edf155. | |||
2020-10-26 | fix(core/runtime): Indicate exceptions in promises (#8124) | Nayeem Rahman | |
Fixes #4879 | |||
2020-10-26 | fix(cli): properly handle roots with extensions that don't match media type ↵ | Kitson Kelly | |
(#8114) | |||
2020-10-25 | test(cli): ensure modules can export typed JS files (#8101) | Kitson Kelly | |
Closes #5935 | |||
2020-10-25 | test(cli): dynamic imports not evaluated until runtime (#8102) | Kitson Kelly | |
Closes #7997 | |||
2020-10-23 | Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089) | Bartek Iwańczuk | |
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93. | |||
2020-10-23 | feat(cli): Add deno cache --test and --worker (#7920) | Nayeem Rahman | |
2020-10-23 | refactor(cli): move bundle check to new infrastructure (#8071) | Kitson Kelly | |
2020-10-23 | refactor(cli): migrate run and cache to new infrastructure (#7996) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-22 | feat(lint): stabilize "deno lint" subcommand (#8075) | Bartek Iwańczuk | |
This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag. | |||
2020-10-22 | chores(cli/fmt): make --ignore stable (#7922) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-10-21 | feat(cli): add types for WeakRef/FinalizationRegistry (#8056) | Kitson Kelly | |
Fixes #8051 | |||
2020-10-20 | chore: Rename --importmap to --import-map (#7032) | Nayeem Rahman | |
--importmap still works as an alias to --import-map but is not visible in CLI help output. | |||
2020-10-20 | fix(op_crates/web): TextEncoder should return error message with original ↵ | aca | |
input (#8005) | |||
2020-10-20 | fix(cli/worker): Print error stacks from the origin Worker (#7987) | Nayeem Rahman | |
Fixes #4728 | |||
2020-10-20 | feat(cli): add support for bundle --no-check (#8023) | Kitson Kelly | |
Fixes #6686 | |||
2020-10-20 | fix(cli/rt/performance): check for object props in startOrMeasureOptions ↵ | Jesse Jackson | |
before throwing (#7884) Fixes #7876 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-10-19 | fix(op_crates/web): TextEncoder should throw RangeError (#8039) | Leonard Ginters | |
This commit changes error type thrown by TextEncoder, when provided encoding is not supported matching Chromium behavior. | |||
2020-10-19 | fix(cli): Handling of relative importmaps while using watch (#7950) | Absebo | |
2020-10-19 | feat(cli/installer): Add missing flags for deno install (#7601) | Nayeem Rahman | |
This commit adds support for following flags: - deno install --importmap - deno install --no-remote - deno install --lock - deno install --lock-write - deno install --cached-only - deno install --v8-flags - deno install --seed | |||
2020-10-19 | fix(cli/repl): ignore pair matching inside literals (#8037) | Casper Beyer | |
2020-10-19 | fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030) | Luca Casonato | |
2020-10-19 | fix(cli/repl): unterminated string literal should invalidate (#7896) | Casper Beyer | |
This adds the grave character to the pair matching so that template string literals trigger multi-line edits. | |||
2020-10-19 | fix(cli/repl): write all results to stdout (#7893) | Casper Beyer | |
This writes all evaluaton results to stdout regardless if the result is an error or not. This matches the behavior of other read-eval-print-loops like Node. | |||
2020-10-18 | refactor(lint): show hint for lint errors (#8016) | Bartek Iwańczuk | |
This commit adds formatting of optional "hint" that can be present in lint diagnostic. | |||
2020-10-17 | upgrade: deno_doc, deno_lint, dprint, swc (#8009) | Bartek Iwańczuk | |
2020-10-15 | feat(cli/ops): add the sleep_sync op (#7974) | William Perron | |
2020-10-16 | fix(cli): ModuleGraph2 properly handles redirects (#7981) | Kitson Kelly | |
2020-10-14 | fix(test): return error when awaiting unresolved promise (#7968) | Bartek Iwańczuk | |
This commit fixes test runner by awaitning "Deno.runTests()" call, which ensures proper error is returned when there's an unresolved promise that's being awaited. | |||
2020-10-14 | fix(console): fix the test cases of function inspections (#7965) | Yoshiya Hinosawa | |
2020-10-14 | fix: top-level-await module execution (#7946) | Bartek Iwańczuk | |
This commit changes implementation of top-level-await in "deno_core". Previously promise returned from module evaluation was not awaited, leading to out-of-order execution of modules that have TLA. It's been fixed by changing "JsRuntime::mod_evaluate" to be an async function that resolves when the promise returned from module evaluation also resolves. When waiting for promise resolution event loop is polled repeatedly, until there are no more dynamic imports or pending ops. | |||
2020-10-14 | refactor(cli): add tsc2 (#7942) | Kitson Kelly | |
Ref #7225 | |||
2020-10-13 | Remove dead code (#7963) | Ryan Dahl | |
2020-10-13 | fix(op_crates/web/url): apply backslash replacement to the pathname setter ↵ | Nayeem Rahman | |
(#7937) | |||
2020-10-13 | feat: add alert, confirm, and prompt (#7507) | Yoshiya Hinosawa | |
This commit adds "alert", "confirm" and "prompt" functions from web standards. | |||
2020-10-12 | refactor(cli): move info subcommand over to new module graph (#7892) | Kitson Kelly | |
2020-10-12 | feat(cli): support importmap flag with deno doc subcommand (#7821) | Valentin Anger | |
Fixes #7783 |