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 on manual install #1

Open
svaberg opened this issue Dec 2, 2019 · 1 comment
Open

DeprecationWarning Buffer on manual install #1

svaberg opened this issue Dec 2, 2019 · 1 comment

Comments

@svaberg
Copy link
Owner

svaberg commented Dec 2, 2019

When installed manually

code --install-extension swmf-grammar-0.2.2.vsix

the following warnings are produced

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

There are no instances of Buffer in the source code so presumably it comes from the devDependencies in package.json

"devDependencies": {
  "typescript": "^3.7.2",
  "vscode": "^1.1.36"
}
@svaberg
Copy link
Owner Author

svaberg commented Feb 6, 2020

Apparently this is linked to this VS Code issue: microsoft/vscode#82524; not much to do but to wait.

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