mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
Removes the reliance on prototype bound methods internally so that Uint8Arrays can be set as the bound `this` value when calling the various Buffer methods. Introduces some additional tamper protection by removing internal reliance on writable properties. Fixes: https://github.com/nodejs/node/issues/56577 PR-URL: https://github.com/nodejs/node/pull/56578 Reviewed-By: Anna Henningsen <anna@addaleax.net>