0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Matteo Collina 91eec00ca2 tty: make _read throw ERR_TTY_WRITABLE_NOT_READABLE
This change avoid an 'read ENOTCONN' error introduced by libuv 1.20.0
when trying to read from a TTY WriteStream. Instead, we are throwing
a more actionable ERR_TTY_WRITABLE_NOT_READABLE.

Fixes: https://github.com/nodejs/node/issues/21203

PR-URL: https://github.com/nodejs/node/pull/21654
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-08-22 16:41:54 +02:00
..
bootstrap src: move process.binding('signal_wrap') to internalBinding 2018-08-19 14:18:29 -07:00
cluster src: move process.binding('uv') to internalBinding 2018-08-09 13:47:31 -07:00
crypto lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
dns dns: type check for dns.setServers argument. 2018-08-03 08:34:10 -07:00
fs lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
http2 stream: move process.binding('stream_wrap') to internalBinding 2018-08-19 12:46:10 -07:00
modules tools: add no-duplicate-requires rule 2018-07-12 16:11:11 -05:00
process src: move process.binding('signal_wrap') to internalBinding 2018-08-19 14:18:29 -07:00
repl repl: support mult-line string-keyed objects 2018-08-03 20:20:00 -07:00
streams lib: require a callback for end-of-stream 2018-08-22 01:00:27 +02:00
test src: move process.binding('performance') to internalBinding 2018-08-09 07:30:58 -07:00
util assert, util: *DeepEqual() handles ArrayBuffers 2018-08-20 12:03:08 +02:00
vm vm: rename vm.Module to vm.SourceTextModule 2018-07-31 10:23:03 -05:00
assert.js assert: improve loose assertion message 2018-08-09 14:04:30 +02:00
async_hooks.js lib,src: standardize owner_symbol for handles 2018-08-05 13:46:13 +02:00
buffer.js lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
child_process.js stream: move process.binding('stream_wrap') to internalBinding 2018-08-19 12:46:10 -07:00
cli_table.js lib: refactor cli table 2018-07-14 14:04:38 +02:00
constants.js os: lazy loaded 2018-05-18 15:25:41 +02:00
dgram.js src: move process.binding('uv') to internalBinding 2018-08-09 13:47:31 -07:00
domexception.js messaging: use actual DOMException for DataCloneError 2018-07-03 22:53:59 -04:00
encoding.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
error-serdes.js worker: improve error (de)serialization 2018-06-06 19:43:59 +02:00
errors.js tty: make _read throw ERR_TTY_WRITABLE_NOT_READABLE 2018-08-22 16:41:54 +02:00
fixed_queue.js lib: expose FixedQueue internally and fix nextTick bug 2018-05-06 07:21:32 +02:00
freelist.js
http.js
inspector_async_hook.js async_hooks: lazy loading for startup performance 2018-05-18 15:32:10 +02:00
linkedlist.js
net.js net: track bytesWritten in C++ land 2018-03-30 14:20:40 +02:00
per_context.js lib: fix segfault with --without-intl 2018-06-29 13:17:35 -07:00
priority_queue.js lib: add internal PriorityQueue class 2018-05-22 23:24:37 +04:00
querystring.js
readline.js lib,test: lint fixes for linter upgrade 2018-03-24 04:11:40 -07:00
readme.md doc: clarify text about internal module changes 2018-07-31 08:28:40 +03:00
repl.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
safe_globals.js
socket_list.js child_process: swallow errors in internal communication 2018-06-07 09:43:10 -04:00
stream_base_commons.js stream: move process.binding('stream_wrap') to internalBinding 2018-08-19 12:46:10 -07:00
timers.js lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
tls.js tls: change var to const 2018-08-12 10:44:53 -07:00
trace_events_async_hooks.js trace_events: add trace category enabled tracking 2018-08-17 09:08:05 -07:00
tty.js os: lazy loaded 2018-05-18 15:25:41 +02:00
url.js querystring: lazy loaded 2018-05-18 15:25:39 +02:00
util.js src: move process.binding('uv') to internalBinding 2018-08-09 13:47:31 -07:00
v8_prof_polyfill.js tools, test: fix prof polyfill readline 2018-02-17 10:06:53 -02:00
v8_prof_processor.js lib: define printErr() in script string 2018-03-12 08:45:13 -07:00
validators.js lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
worker.js worker: exit after uncaught exception 2018-07-14 12:04:54 +02:00
wrap_js_stream.js src: move process.binding('uv') to internalBinding 2018-08-09 13:47:31 -07:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.