Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Resolving deprecation of new Buffer() (release/21.0.x branch) #744

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

bradlhart
Copy link
Contributor

Change Description

The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.

Resolved by switching usages to Buffer.from()

Second PR to cherry pick commits to release/21.0.x branch

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@bradlhart bradlhart merged commit dcc9bfb into release/21.0.x Jun 9, 2020
@bradlhart bradlhart deleted the buffer-deprecation branch June 9, 2020 19:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants