Skip to content
This repository was 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
bradlhart merged 1 commit intorelease/21.0.xfrom
buffer-deprecation
Jun 9, 2020
Merged

Resolving deprecation of new Buffer() (release/21.0.x branch)#744
bradlhart merged 1 commit intorelease/21.0.xfrom
buffer-deprecation

Conversation

@bradlhart
Copy link
Copy Markdown
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