Skip to content

Conversation

@rilysh
Copy link

@rilysh rilysh commented Apr 23, 2023

new Buffer(...) is a deprecated function in Node.js since v6.0 and most libraries now uses Buffer.from(...) instead. Since of a deprecated function, new Buffer(...) will emit an warning when the library in use.

Deprecation note: https://nodejs.org/api/buffer.html#new-bufferarray

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant