Permalink
Please
sign in to comment.
Browse files
buffer: move initialization of buffer prototype into node.js
Instead of exposing it in `lib/internal/buffer.js` after deleting it from the binding and then do the initialization in `lib/buffer.js`, which results in an implicit dependency on the order in which these modules are loaded. PR-URL: #25292 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
- Loading branch information...
Showing
with
69 additions
and 47 deletions.
- +32 −8 lib/buffer.js
- +8 −4 lib/internal/bootstrap/node.js
- +0 −7 lib/internal/buffer.js
- +28 −28 src/node_buffer.cc
- +1 −0 src/node_internals.h
0 comments on commit
042d20a