File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,11 +68,10 @@ differently based on what arguments are provided:
6868* Passing an [ ` ArrayBuffer ` ] or a [ ` SharedArrayBuffer ` ] returns a ` Buffer ` that
6969 shares allocated memory with the given array buffer.
7070
71- Because the behavior of ` new Buffer() ` changes significantly based on the type
72- of value passed as the first argument, applications that do not properly
73- validate the input arguments passed to ` new Buffer() ` , or that fail to
74- appropriately initialize newly allocated ` Buffer ` content, can inadvertently
75- introduce security and reliability issues into their code.
71+ Because the behavior of ` new Buffer() ` is different depending on the type of the
72+ first argument, security and reliability issues can be inadvertantly introduced
73+ into applications when argument validation or ` Buffer ` initialization are not
74+ performed.
7675
7776To make the creation of ` Buffer ` instances more reliable and less error prone,
7877the various forms of the ` new Buffer() ` constructor have been ** deprecated**
You can’t perform that action at this time.
0 commit comments