DeprecationWarning: Buffer() is deprecated due to security and usability issues #5643
Unanswered
bsomeshwer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need some explanation for the below usage of the "Buffer": anyone please explain...
Description:
DeprecationWarning: Buffer() is deprecated due to security and usability issues
There is a file at the below path:
ace-builds-1.36.2\ace-builds-1.36.2\src\worker-css.js at line number 6507 there is a usage of "Buffer" as below:
child = new Buffer(parent.length);
Hence, this is using the deprecated method.
Remediation:
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Beta Was this translation helpful? Give feedback.
All reactions