Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Use Buffer.alloc() to avoid deprecation #716

Merged
merged 1 commit into from
Jan 20, 2020
Merged

Use Buffer.alloc() to avoid deprecation #716

merged 1 commit into from
Jan 20, 2020

Conversation

Charsy89
Copy link
Contributor

Using Buffer() is deprecated because of security/usability issues. This fixes a line in packet/DynamicBuffer.js to use Buffer.alloc instead, as instructed by this page in the NodeJS documentation.

@Charsy89
Copy link
Contributor Author

Charsy89 commented Oct 2, 2019

Okay, sorry to trouble you.

@Charsy89 Charsy89 closed this Oct 2, 2019
@vram4 vram4 reopened this Jan 20, 2020
@vram4 vram4 merged commit 8d9be35 into OgarProject:master Jan 20, 2020
@freaky767
Copy link

hi vram

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.

3 participants