question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation Warning DEP0005

See original GitHub issue

Using this action with the Java - Maven example code snippet, behind a proxy on a self-hosted runner. A security issue warning is logged:

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

Maybe related with?:

$ grep -r " Buffer(" -n
dist/restore/index.js:3583:        new Buffer(connectOptions.proxyAuth).toString('base64');
dist/save/index.js:3583:        new Buffer(connectOptions.proxyAuth).toString('base64');

See node deprecation page for more info.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dhadkacommented, Nov 16, 2020

I apparently don’t have permissions to transfer to http-client, so I filed a new issue over there - https://github.com/actions/http-client/issues/36.

0reactions
github-actions[bot]commented, Dec 29, 2021

This issue was closed because it has been inactive for 5 days since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Buffer() is deprecated due to security and usability issues ...
Getting error when script move to other server. (node:15707) [DEP0005] DeprecationWarning: Buffer ...
Read more >
(node:20120) [DEP0005] DeprecationWarning: Buffer ... - GitHub
(node:20120) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues #123180.
Read more >
Getting (node:3524) [DEP0005] DeprecationWarning: Buffer ...
Hello, we have a CI/CD release pipeline which deploys an ARM template to our Azure ADF instance and it uses the ARM template...
Read more >
DeprecationWarning - Seed.run
(node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.
Read more >
Porting to the Buffer.from() / Buffer.alloc() API - Node.js
The migration fixes the following deprecation warning: ... example.js (node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found