node/lib
Calvin Metcalf e20af3371b stream: add flow and buffer properties to streams
This adds computed properties to readable and writable streams to
allow access to the readable buffer, the writable buffer, and flow
state without accessing the readable or writable state.

These are the only uses of readable and writable state in the docs
so adding these work arounds allows them to be removed from the docs.

This also updates net, http_client and http_server to use the new
methods instead of manipulating readable and writable state directly.

See: https://github.com/nodejs/node/issues/445
PR-URL: https://github.com/nodejs/node/pull/12855
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-12-15 23:05:45 +01:00
..
internal events: remove reaches into _events internals 2017-12-14 08:43:00 -05:00
_http_agent.js lib: replace string concatenation with template 2017-11-11 10:52:23 +01:00
_http_client.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
_http_common.js http: simplify checkIsHttpToken() 2017-12-10 16:50:47 -05:00
_http_incoming.js tools: enable additional eslint rules 2017-10-19 13:54:14 -04:00
_http_outgoing.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-12 11:04:06 -08:00
_http_server.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
_stream_duplex.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
_stream_passthrough.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_stream_readable.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
_stream_transform.js stream: migrate to internal/errors 2017-10-01 20:37:00 -03:00
_stream_wrap.js lib: move _stream_wrap into internals 2017-10-19 18:06:27 +02:00
_stream_writable.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
_tls_common.js tls: implement clientCertEngine option 2017-11-11 13:35:23 -08:00
_tls_legacy.js tls: use correct class name in deprecation message 2017-12-12 12:51:03 -02:00
_tls_wrap.js async_wrap: add provider types for net server 2017-11-28 02:50:54 +01:00
.eslintrc.yaml tools: add lowercase-name-for-primitive eslint rule 2017-12-13 06:23:37 +01:00
assert.js assert: fix .throws operator 2017-12-15 19:21:52 -02:00
async_hooks.js async_hooks: remove deprecated API 2017-11-22 11:25:03 +01:00
buffer.js buffer: throw on failed fill attempts 2017-12-06 12:02:47 -05:00
child_process.js errors, child_process: use internal/errors codes 2017-11-29 18:14:27 -05:00
cluster.js lib: use consistent indentation for ternaries 2017-07-07 06:57:16 -07:00
console.js console: make dirxml an alias for console.log 2017-12-04 00:07:57 +01:00
constants.js src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
crypto.js crypto: migrate setFipsCrypto to internal/errors 2017-10-27 08:13:01 -07:00
dgram.js async_hooks: deprecate undocumented API 2017-11-20 12:03:06 +01:00
dns.js dns: fix crash while setting server during query 2017-12-06 04:22:31 +01:00
domain.js domain: fix error emit handling 2017-12-13 09:33:27 -05:00
events.js events: remove reaches into _events internals 2017-12-14 08:43:00 -05:00
fs.js fs: move type checking for fs.read to js 2017-12-13 13:26:54 -08:00
http2.js http2: refactor error handling 2017-08-28 00:39:42 +04:00
http.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
https.js tls: implement clientCertEngine option 2017-11-11 13:35:23 -08:00
inspector.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-12 11:04:06 -08:00
module.js module: Set dynamic import callback 2017-11-29 14:16:43 -08:00
net.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00
os.js os: migrate node_os.cc to internal/errors 2017-11-02 11:58:38 -07:00
path.js benchmark,path: remove unused variables 2017-11-22 14:36:38 -08:00
perf_hooks.js perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
process.js
punycode.js
querystring.js querystring: convert to using internal/errors 2017-10-28 14:04:53 -04:00
readline.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
repl.js repl: fix util.inspect() coloring regression 2017-12-12 12:49:32 -02:00
stream.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
string_decoder.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
sys.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timers.js timers: improvements to TimersList management 2017-12-07 17:05:23 -05:00
tls.js doc: document tls.checkServerIdentity 2017-12-01 20:44:52 +01:00
tty.js tty: refactor exports 2017-11-14 17:31:26 -05:00
url.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-12 11:04:06 -08:00
util.js util: allow wildcards in NODE_DEBUG variable 2017-12-15 19:31:07 -02:00
v8.js v8: migrate setFlagsFromString to internal/errors 2017-10-29 17:04:27 -07:00
vm.js events: remove reaches into _events internals 2017-12-14 08:43:00 -05:00
zlib.js zlib: add ArrayBuffer support 2017-12-13 06:23:23 +01:00