SWMF-grammar icon indicating copy to clipboard operation
SWMF-grammar copied to clipboard

DeprecationWarning Buffer on manual install

Open svaberg opened this issue 6 years ago • 1 comments

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 avatar Dec 02 '19 02:12 svaberg

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

svaberg avatar Feb 06 '20 01:02 svaberg