summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-11chore: update swc_ecma_dep_graph (#13053)Bartek Iwańczuk
2021-12-11Revert "fix(cli): don't add colors for non-tty outputs (#13031)" (#13054)Bartek Iwańczuk
This reverts commit 38f163022373c9adb050f17140f7d29bb403abe2.
2021-12-11fix: 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-11feat(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-10chore: run cargo update (#13051)David Sherret
2021-12-10fix(test): Make the op sanitizer delay macrotask into a queue (#12966)Andreu Botella
Fixes #12945.
2021-12-10refactor(ext/crypto): symmetric jwk decode in rust (#13047)Luca Casonato
2021-12-10feat(repl): add --unsafe-ignore-certificate-errors flag (#13045)VishnuJin
2021-12-10feat(ext/web): implement `AbortSignal.prototype.throwIfAborted()` (#13044)Andreu Botella
See whatwg/dom#1034.
2021-12-10refactor(ext/crypto): clean up rust side importKey (#13036)Luca Casonato
This commit cleans up the Rust side of `import_key` by using a bunch of enums instead of structs with "type" and "data" fields. This commit does add some duplicated code for the time being, because a lot of the other ops still need to get the same cleanup treatment.
2021-12-10fix(cli): don't add colors for non-tty outputs (#13031)VishnuJin
2021-12-10chore: update wpt (#13043)Andreu Botella
2021-12-10tests: deflake crypto InvalidIntializationVector (#13040)Luca Casonato
Use fixed data that is known to error as the test intends.
2021-12-09fix(watch): mitigate race condition between file write by other process and ↵David Sherret
watch read (#13038)
2021-12-10chore: place `@deprecated` tag after documentation block (#13037)Kitson Kelly
2021-12-09refactor(ext/crypto): various cleanups in js code (#13027)Sean Michael Wykes
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-12-09feat(crypto): support `importKey` in SPKI format (#12921)Yacine Hmito
This commit adds support for `spki` key format for `crypto.subtle.importKey` for the RSA* algorithms.
2021-12-09refactor(ext/crypto): de-duplicate copyBuffer code (#13030)Luca Casonato
This commit de-duplicates the buffer copying code in ext/crypto. Co-authored-by: yacinehmito <yacinehmito@users.noreply.github.com>
2021-12-09refactor(ext/crypto): clean up `exportKey` logic (#13029)Luca Casonato
This commit de-duplicates and cleans up some logic in `exportKey`. There are no functional changes in this commit (just moves code around).
2021-12-09refactor(ext/crypto): clean up `importKey` logic (#13028)Luca Casonato
This commit de-duplicates and cleans up some logic in `importKey`. There are no functional changes in this commit (just moves code around).
2021-12-09feat(lsp): registry suggestion cache respects cache headers (#13010)Kitson Kelly
Fixes #9931
2021-12-09feat(ext/timers): add refTimer, unrefTimer API (#12953)Yoshiya Hinosawa
2021-12-08fix: upgrade swc fixing many bundling and `--no-check` bugs (#13025)David Sherret
2021-12-08feat(streams): support abort reasons in streams (#12991)Andreu Botella
2021-12-07feat(cli): use deno fmt for lock and coverage files (#13018)WenheLI
2021-12-08fix(ext/timers): fix flakiness of `httpConnAutoCloseDelayedOnUpgrade` test ↵Yoshiya Hinosawa
(#13017)
2021-12-07chore: update CODEOWNERS (#13020)Bartek Iwańczuk
2021-12-07build: don't publish canary verion from non-main branch (#12986)Bartek Iwańczuk
2021-12-07chore: add CODEOWNERS file (#13008)Bartek Iwańczuk
2021-12-07refactor(timers): refactor timers to use one async op per timer (#12862)Andreu Botella
This change also makes the timers implementation closer to the spec, and sets up the stage to implement AbortSignal.timeout() (whatwg/dom#1032). Fixes #8965 Fixes #10974 Fixes #11398
2021-12-07build: pin dependencies in cli crate (#12967)Bartek Iwańczuk
2021-12-07chore: upgrade to rustls 0.20 (#12488)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-12-06chore: Update WPT (#12987)Andreu Botella
2021-12-05feat(ext/crypto): implement unwrapKey (#12539)Divy Srivastava
2021-12-04chore: upgrade to Rust 1.57.0 (#12968)Bartek Iwańczuk
2021-12-04chore: merge v1.16.4 into main (#12984)Luca Casonato
2021-12-03chore: update to rusty v8 0.36.0 (#12979)Luca Casonato
2021-12-03refactor(ext/fetch): pass opstate in `FetchHandler::fetch_file`Leo Kettmeir
2021-12-03chore(ci): update `setup-python` action version (#12965)Nikita Sobolev
2021-12-03fix(core): throw on invalid callConsole args (#12973)Aaron O'Mullan
Instead of panicking via asserts, since JS-callable code (even Deno.core ...) should not cause process crashes/panics
2021-12-01refactor: deno_tls does not depend on reqwest (#12961)Ryan Dahl
2021-12-01refactor: cli doesn't need to depend on deno_tls (#12952)Ryan Dahl
also move create_http_client to deno_fetch
2021-12-01chore: Fix typo in no-pending-ops error message (#12948)KnorpelSenf
2021-12-01ci: fix sysroot setup (#12958)Yoshiya Hinosawa
2021-11-30fix(test): Improve reliability of `deno test`'s op sanitizer with timers ↵Andreu Botella
(#12934) Although not easy to replicate in the wild, the `deno test` op sanitizer can fail when there are intervals that started before a test runs, since the op sanitizer can end up running in the time between the timer op for an interval's run resolves and the op for the next run starts. This change fixes that by adding a new macrotask callback that will run after the timer macrotask queue has drained. This ensures that there is a timer op if there are any timers which are unresolved by the time the op sanitizer runs.
2021-11-30fix(core): Wake up the runtime if there are ticks scheduled (#12933)Andreu Botella
2021-11-30feat: add `--no-check=remote` flag (#12766)Kitson Kelly
Closes #11970
2021-11-29refactor: remove deno_fetch::HttpClientDefaults (#12931)Ryan Dahl
More clean up that should have been in cc83ad3
2021-11-29refactor(cli): simplify lint/format resolver logic (#12898)Zheyu Zhang