From 00944c7cc25f391c3fbeba1e054a56a62cf0de12 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 19 Dec 2018 14:14:57 -0800 Subject: src: use consistent names for JSStream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Its confusing to call a js class with a handle a "Wrap", usually it's the C++ handle that is called a Wrap (tcp_wrap, tls_wrap, ...). Its derived from Socket, and makes a JS stream look like a Socket, so call it that. Also, remove use of lib/_stream_wrap.js so it can be deprecated some time. PR-URL: https://github.com/nodejs/node/pull/25153 Reviewed-By: Anna Henningsen Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Anatoli Papirovski --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.gyp') diff --git a/node.gyp b/node.gyp index 8c42ef446e..e36f9f26aa 100644 --- a/node.gyp +++ b/node.gyp @@ -126,6 +126,7 @@ 'lib/internal/fs/watchers.js', 'lib/internal/http.js', 'lib/internal/inspector_async_hook.js', + 'lib/internal/js_stream_socket.js', 'lib/internal/linkedlist.js', 'lib/internal/modules/cjs/helpers.js', 'lib/internal/modules/cjs/loader.js', @@ -188,7 +189,6 @@ 'lib/internal/streams/state.js', 'lib/internal/streams/pipeline.js', 'lib/internal/streams/end-of-stream.js', - 'lib/internal/wrap_js_stream.js', 'deps/v8/tools/splaytree.js', 'deps/v8/tools/codemap.js', 'deps/v8/tools/consarray.js', -- cgit v1.2.3