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

Deprecation warning about use of Buffer() when installing an extension #202810

Closed
FunctionPoint opened this issue Jan 19, 2024 · 4 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions

Comments

@FunctionPoint
Copy link

FunctionPoint commented Jan 19, 2024

When installing a vsce extension with:
code --install-extension my-extension.vsix

the following deprecation warning is shown:
(node:11672) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use 'Code --trace-deprecation ...' to show where the warning was created)

Using the current Node.js (v21.1.0).

@joaomoreno joaomoreno transferred this issue from microsoft/vscode-vsce Jan 19, 2024
@sandy081
Copy link
Member

/duplicate

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 22, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
@rlneumiller
Copy link

When declaring a bug as duplicate please provide the issue number that the current issue is supposedly a duplicate of.

@sandy081 sandy081 added the extensions Issues concerning extensions label May 27, 2024
@sandy081
Copy link
Member

Here you go - #82524

@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

4 participants