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

DeprecationWarning: Buffer() #183

Closed
stevenwhayes opened this issue Apr 19, 2022 · 2 comments
Closed

DeprecationWarning: Buffer() #183

stevenwhayes opened this issue Apr 19, 2022 · 2 comments

Comments

@stevenwhayes
Copy link

Getting warning when running this action:
(node:1781) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. at showFlaggedDeprecation (node:buffer:186:11) at new Buffer (node:buffer:270:3) at Object.9203 (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:40921:17) at __nccwpck_require__ (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:69632:43) at Object.9886 (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:423[16](https://github.com/department-of-veterans-affairs/bedrock-infrastructure/runs/6082561465?check_suite_focus=true#step:4:16):31) at __nccwpck_require__ (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:69632:43) at Object.[17](https://github.com/department-of-veterans-affairs/bedrock-infrastructure/runs/6082561465?check_suite_focus=true#step:4:17)92 (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:42691:31) at __nccwpck_require__ (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:69632:43) at Object.6338 (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:48876:35) at __nccwpck_require__ (/home/runner/work/_actions/hashicorp/setup-terraform/main/dist/index.js:69632:43)

VSCode showing it on lines 37869 and 40921 of index.js

Saw this partially addressed in #76

@chenrui333
Copy link
Contributor

This would be ncc issue, vercel/ncc#484

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants