Bug #103419 | Buffer() is deprecated due to security and usability issues | ||
---|---|---|---|
Submitted: | 22 Apr 2021 7:00 | Modified: | 9 Jul 2021 13:04 |
Reporter: | ALEKSANDAR MAKEDONSKI | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector for Node.js | Severity: | S3 (Non-critical) |
Version: | 8.0.24 | OS: | Any |
Assigned to: | Rui Quelhas | CPU Architecture: | Any |
Tags: | deprecation, engine, NodeJS |
[22 Apr 2021 7:00]
ALEKSANDAR MAKEDONSKI
[9 Jul 2021 13:04]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Node 8.0.26 release, and here's the proposed changelog entry from the documentation team: Replaced all instances of the deprecated new Buffer() API for the now recommended alternatives (Buffer.alloc(), Buffer.allocUnsafe() and Buffer.from()) to avoid unnecessary warning messages. Thank you for the bug report.