feat(jupyter): support confirm and prompt in notebooks (#23592)

Closes: https://github.com/denoland/deno/issues/22633

This commit adds support for `confirm` and `prompt` APIs,
that instead of reading from stdin are using notebook frontend
to show modal boxes and wait for answers.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
Zander Hill 2024-07-04 15:12:14 -07:00 committed by GitHub
parent 96b527b8df
commit f00f0f9298
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 165 additions and 13 deletions

View file

@ -579,6 +579,7 @@ const NOT_IMPORTED_OPS = [
// Related to `Deno.jupyter` API
"op_jupyter_broadcast",
"op_jupyter_input",
// Related to `Deno.test()` API
"op_test_event_step_result_failed",