This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
nodejs
Watch
0
Star
0
Fork
0
You've already forked nodejs
mirror of
https://github.com/nodejs/node.git
synced
2024-11-24 12:10:08 +01:00
Code
Issues
Releases
Activity
6593f7788b
nodejs
/
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 23:20:27 +01: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 23:14:57 +01:00
module
.
exports
=
require
(
'internal/js_stream_socket'
)
;
Copy Permalink