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

[VS Code] DeprecationWarning: Buffer() is deprecated due to security and usability issues #5024

Open
mburnell opened this issue Feb 1, 2024 · 0 comments

Comments

@mburnell
Copy link

mburnell commented Feb 1, 2024

I know this issue has been reported multiple times in the past, but the older issues are all closed and it's still reproducible in 1.0.5905.

When running the following code from within a VS Code extension while the Live Share VS Code extension is installed and enabled:

const vsls = require('vsls');
const liveShare = vsls.getApi(); // await deliberately omitted, but not relevant

an error will be reported in the VS Code Developer Tools.

I've followed the steps at #3331 (comment) and the stack shows the issues are from .vscode-insiders/extensions/ms-vsliveshare.vsliveshare-1.0.5905/extension.js. Opening this file up, there are 31 usages of "new Buffer(".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant