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
{{ message }}
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object. ({redacted}/node_modules/lz4/lib/static.js:9:30)
thanks
The text was updated successfully, but these errors were encountered:
Having this call isn't just "annoying", but actually costs speed: NodeJS will check for each buffer constructor call whether it possibly needs to log this warning, and these checks appear in profiles in our application.
ankon
added a commit
to ankon/node-lz4
that referenced
this issue
Jun 21, 2020
* Use Buffer.alloc/Buffer.from instead of "new Buffer"
* Remove the 'noAssert' parameter from the write calls
This got removed with nodejs/node#18395Fixespierrec#91
ankon
added a commit
to ankon/node-lz4
that referenced
this issue
Jun 21, 2020
* Use Buffer.alloc/Buffer.from instead of "new Buffer"
* Remove the 'noAssert' parameter from the write calls
This got removed with nodejs/node#18395Fixespierrec#91
* Use Buffer.alloc/Buffer.from instead of "new Buffer"
* Remove the 'noAssert' parameter from the write calls
This got removed with nodejs/node#18395Fixes#91
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object. ({redacted}/node_modules/lz4/lib/static.js:9:30)
thanks
The text was updated successfully, but these errors were encountered: