This website requires JavaScript.
Explore
Help
Sign In
Nodejs
/
node
Watch
1
Star
0
Fork
0
You've already forked node
mirror of
https://github.com/nodejs/node.git
synced
2024-11-21 10:59:27 +00:00
Code
Issues
Actions
25
Packages
Projects
Releases
Wiki
Activity
6593f7788b
node
/
lib
/
_stream_wrap.js
4 lines
70 B
JavaScript
Raw
Normal View
History
Unescape
Escape
streams: use strict on _stream_wrap A Mostly Harmless™ change to enable 'use strict' mode in _stream_wrap, bringing it in line with /all/ the other modules. PR-URL: https://github.com/iojs/io.js/pull/1279 Reviewed-By: Brian White (@mscdex) <mscdex@mscdex.net> Reviewed-By: Roman Reiss (@silverwind) <me@silverwind.io> Reviewed-By: Yosuke Furukawa (@yosuke-furukawa) <yosuke.furukawa@gmail.com>
2015-03-26 22:20:27 +00:00
'use strict'
;
src: use consistent names for JSStream 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 <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
2018-12-19 22:14:57 +00:00
module
.
exports
=
require
(
'internal/js_stream_socket'
)
;
Reference in New Issue
Copy Permalink