Skip to content

Commit

Permalink
lib: remove obsolete deletion of bufferBinding.zeroFill
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed May 5, 2023
1 parent f87da58 commit fb1707d
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 @@ -374,7 +374,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 fb1707d

Please sign in to comment.