From b6ae411ea9a3f7155a3b272f721c1bbb1bb1c369 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Fri, 5 May 2023 19:38:13 +0800 Subject: [PATCH] lib: remove obsolete deletion of bufferBinding.zeroFill PR-URL: https://github.com/nodejs/node/pull/47881 Reviewed-By: Joyee Cheung Reviewed-By: Minwoo Jung Reviewed-By: James M Snell Reviewed-By: Yagiz Nizipli Reviewed-By: Antoine du Hamel Reviewed-By: Khaidi Chu --- lib/internal/bootstrap/node.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 2814b7228aa2c1..36ff5bcd8c526a 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -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.