SWMF-grammar
SWMF-grammar copied to clipboard
DeprecationWarning Buffer on manual install
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"
}
Apparently this is linked to this VS Code issue: https://github.com/microsoft/vscode/issues/82524; not much to do but to wait.