node/lib/internal/readline
Antoine du Hamel 481a959adb
readline: remove question method from InterfaceConstructor
That method is overwritten in both
`require('node:readline').Interface.prototype` and
`require('node:readline/promises').Interface.prototype`, and is very
much not useful outside of interacting with TTY, removing it from the
parent class could enable the use of `InterfaceConstructor` in other
contexts (such as interacting with files).

PR-URL: https://github.com/nodejs/node/pull/44606
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2022-09-14 19:10:53 +00:00
..
callbacks.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
emitKeypressEvents.js readline: refactor Interface to ES2015 class 2021-09-16 23:16:34 +02:00
interface.js readline: remove question method from InterfaceConstructor 2022-09-14 19:10:53 +00:00
promises.js readline: add autoCommit option 2021-09-16 23:16:46 +02:00
utils.js readline: fix to not access a property on an undefined value 2022-06-28 11:10:50 +01:00