Skip to content

Commit

Permalink
lib: remove obsolete deletion of bufferBinding.zeroFill
Browse files Browse the repository at this point in the history
PR-URL: nodejs#47881
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Khaidi Chu <[email protected]>
  • Loading branch information
legendecas authored and Ceres6 committed Aug 14, 2023
1 parent 0d58487 commit dac0341
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ function setupBuffer() {
// Only after this point can C++ use Buffer::New()
bufferBinding.setBufferPrototype(Buffer.prototype);
delete bufferBinding.setBufferPrototype;
delete bufferBinding.zeroFill;

// Create global.Buffer as getters so that we have a
// deprecation path for these in ES Modules.
Expand Down

0 comments on commit dac0341

Please sign in to comment.