You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Expected Behavior
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Current Behavior
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.
Reproduction Steps
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.
Possible Solution
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
latest version
The text was updated successfully, but these errors were encountered:
We don't currently recommend anyone to use ace-workers found at https://github.com/ajaxorg/ace/tree/master/lib/ace/mode, they are frozen deprecated packages offering out-of-date and limited language support. They probably shouldn't had been part of the main Ace package from the start.
We did remedy this by not shipping them to ace-code and keeping them out of the src folder though.
We plan on having new guidelines that will communicate this properly as soon as possible.
That being said, the Buffer() is a potential risk because it doesn't initialize the newly allocated memory, so it might leak previous content, but this particular case it's created with parent.length and then parent content is poured into it right away (through parent.copy(child);), there is no time for it to leak anything and while the usage of the API can be unsafe in general, I don't see it being misused here.
Describe the bug
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.
Expected Behavior
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Current Behavior
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.
Reproduction Steps
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.
Possible Solution
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
latest version
The text was updated successfully, but these errors were encountered: