Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade buffer dependency to 6.0.3 #4364

Closed
wants to merge 1 commit into from

Conversation

solancer
Copy link

@solancer solancer commented Mar 9, 2023

Using 4.9.2 version of the buffer package package causes an error on Lambda

Since it's a console.error, this logs to AWS CloudWatch every time a request is made. This problem exists only on Lambda, on local, it doesn't show any such errors.

ERROR (node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Screenshot 2023-03-10 at 1 41 43 AM
Screenshot 2023-03-10 at 1 40 08 AM
Screenshot 2023-03-10 at 1 39 56 AM

Using 4.9.2 version of the buffer package package causes an error on Lambda

Since it's a console.error, this logs to AWS CloudWatch every time a request is made.  This problem exists only on Lambda, on local, it doesn't show any such errors.

ERROR    (node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
@solancer solancer requested a review from a team as a code owner March 9, 2023 20:17
@kuhe kuhe self-assigned this May 22, 2024
@kuhe kuhe added queued p2 This is a standard priority issue labels May 22, 2024
@kellertk
Copy link
Contributor

kellertk commented Sep 4, 2024

Thank you for your efforts, but this project is no longer accepting contributions as part of our plan to end support for AWS SDK for JavaScript v2. Looking into this further, it doesn't look as though this is a critical security issue, instead merely a warning. We encourage you to migrate to v3 of the JavaScript SDK.

@kellertk kellertk closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 This is a standard priority issue queued
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants