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: #47881
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
  • Loading branch information
legendecas authored and RafaelGSS committed Jul 3, 2023
1 parent 562b3d4 commit b6ae411
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 b6ae411

Please sign in to comment.