summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2021-06-25upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113)Ryan Dahl
2021-06-25chore(ext/console): deprecate Deno.customInspect (#10035)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-25fix(runtime/signal): use op_async_unref for op_signal_poll (#11097)Yoshiya Hinosawa
2021-06-25test(cli): refactor the usages of delay (#11098)Yoshiya Hinosawa
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code.
2021-06-25feat(lsp): dependency hover information (#11090)Kitson Kelly
2021-06-24fix: make readonly `Event` properties readonly (#11106)David Sherret
2021-06-24fix(inspect): eliminate panic inspecting event classes (#10979)David Sherret
2021-06-24feat(repl): support import declarations in the REPL (#11086)David Sherret
2021-06-24fix(lsp): handle invalid config setting better (#11104)Kitson Kelly
Fixes #11100 Fixes #10808
2021-06-22feat(core): support AbortSignal in readFile (#10943)Benjamin Gruenbaum
2021-06-22feat: transfer MessagePort between workers (#11076)Luca Casonato
Add support for transferring `MessagePort`s between workers.
2021-06-22fix(runtime): fix signal promise API (#11069)Yoshiya Hinosawa
2021-06-22fix(extensions/fetch): Filter out custom HOST headers (#11020)Vladimir Ivanov
This commit updates "fetch" API to ignore custom "Host" headers and return value provided by "reqwest".
2021-06-22feat(fetch): add programmatic proxy (#10907)Tomofumi Chiba
This commit adds new options to unstable "Deno.createHttpClient" API. "proxy" and "basicAuth" options were added that allow to use custom proxy when client instance is passed to "fetch" API.
2021-06-22fix(core): don't panic on stdout/stderr write failures in Deno.core.print ↵Charlie Moog
(#11039)
2021-06-22fix: move stable/unstable types/APIs to their correct places (#10880)Muthu Kumar
- Moved ppid and memoryUsage types from deno.unstable to deno.ns. - Moved sleepSync to unstable object, shutdown to stable object.
2021-06-22refactor: unify JavaScript script execution method (#11043)Bartek Iwańczuk
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-06-22fix(#10761): graph errors reported as diagnostics for `Deno.emit()` (#10767)Kitson Kelly
Fixes #10761
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-06-22feat: Deno namespace configurable and unfrozen (#11062)Kitson Kelly
Closes #11033
2021-06-21feat(repl): Type stripping in the REPL (#10934)David Sherret
2021-06-21feat: `MessageChannel` and `MessagePort` (#11051)Luca Casonato
This commit introduces support for MessageChannel and MessagePort. MessagePorts can be transfered across other MessagePorts.
2021-06-21feat(lsp): quick fix actions to ignore lint errors (#10627)Satya Rohith
Closes #10122
2021-06-19fix(lsp): do not rename in strings and comments (#11041)David Sherret
2021-06-19fix(core/modules): Prepare modules only once per runtime (#11015)Nayeem Rahman
This commit changes module loading implementation in "deno_core" to call "ModuleLoader::prepare" hook only once per entry point. This is done to avoid multiple type checking of the same code in case of duplicated dynamic imports. Relevant code in "cli/module_graph.rs" was updated as well.
2021-06-18fix: Worker accepts specifier as URL (#11038)Bartek Iwańczuk
This commit updates type declarations for Worker to accept specifiers as either strings or URL, bringing it in line with TypeScript declarations and browser behavior.
2021-06-15fix(inspector): Deno.inspect should inspect the object the proxy represents ↵David Sherret
rather than the target of the proxy (#10977)
2021-06-15fix(repl): Complete declarations (#10963)David Sherret
2021-06-14fix: poll connection after writing response chunk in Deno.serveHttp() (#10961)Bartek Iwańczuk
This commit changes "op_http_response_write" to first send response chunk and then poll the underlying HTTP connection. Previously after writing a chunk of response HTTP connection wasn't polled and thus data wasn't written to the socket until after next op interacting with the connection.
2021-06-14fix: hang in Deno.serveHttp() (#10923)Bartek Iwańczuk
Waiting on next request in Deno.serveHttp() API hanged when responses were using ReadableStream. This was caused by op_http_request_next op that was never woken after response was fully written. This commit adds waker field to DenoService which is called after response is finished.
2021-06-10chore: Fix broken test on Windows (#10900)David Sherret
2021-06-10chore(tests): Kill orphaned deno processes spawned during the tests (#10922)David Sherret
2021-06-09fix(runtime): early binding to dispatchEvent in workers (#10904)Kitson Kelly
2021-06-07feat(compile): Initialize runtime_compiler ops for standalone binaries (#10052)Divy Srivastava
2021-06-07feat(lsp): add test code lens (#10874)Kitson Kelly
Ref #8643
2021-06-07tests(lsp): fix flakey lsp integration test (#10875)Kitson Kelly
2021-06-06fix(#10747): cannot read config option in windows (#10791)jeiea
Fixes #10747
2021-06-05refactor(web): use encoding_rs for text encoding (#10844)Luca Casonato
This commit removes all JS based text encoding / text decoding. Instead encoding now happens in Rust via encoding_rs (already in tree). This implementation retains stream support, but adds the last missing encodings. We are incredibly close to 100% WPT on text encoding now. This should reduce our baseline heap by quite a bit.
2021-06-05feat(cli/compile): Support data uri dynamic imports in `deno compile` (#9936)Divy Srivastava
2021-06-05fix(lsp): refactor, fix issues and add benchmark for code lens (#10841)Kitson Kelly
2021-06-04fix: hang in op_http_next_request (#10836)Bartek Iwańczuk
This commit adds "CancelHandle" to "ConnResource" and changes "op_http_next_request" to await for the cancel signal. In turn when async iterating over "Deno.HttpConn" the iterator breaks upon closing of the resource.
2021-06-03fix(cli): output json with trailing newline character (#10830)Yusuke Tanaka
2021-06-03feat(runtime): support URL overloads for `Deno.symlink` and ↵Casper Beyer
`Deno.symlinkSync` (#10664)
2021-06-03feat(runtime): support URL overloads for Deno.rename/Deno.renameSync (#10512)Casper Beyer
2021-06-03fix(#10775): diagnostics update on dependency changes (#10817)Kitson Kelly
Fixes #10775
2021-06-02fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816)Kitson Kelly
Fixes #10815
2021-06-01feat(lsp): registry auto discovery (#10813)Kitson Kelly
Closes: #10194 Fixes: #10468
2021-06-01fix(lsp): updates to workspace config are processed sync (#10812)Kitson Kelly
2021-06-01fix(cli): represent bare imports as module graph error slots (#10804)Nayeem Rahman
Fixes #10795
2021-06-01feat: add FsWatcher interface (#10798)Yoshiya Hinosawa