Change:
Issue Type: <bBug</b! VS Code version: Code - Insiders 1.31.0-insider (, 2019-01-30T06:17:39.118Z) OS version: Darwin x64 18.0.0 <details<summarySystem Info</summary </details<details<summaryExtensions (29)</summaryExtensionVersion ------ unique-lines1.0.0 ssh0.0.4 vscode-eslint1.8.0 Spot0.4.0 ghlink1.0.2 remotehub0.2.0 EditorConfig0.12.7 tslint1.0.42 git-project-manager1.7.1 vscode-pull-request-github0.3.2 rest-client0.21.1 solidity0.0.49 theme-karyfoundation-themes18.2.1 graphql-for-vscode1.13.0 vscode-azureappservice0.11.0 vscode-azurefunctions0.13.1 vscode-cosmosdb0.9.1 azure-account0.8.0 azurecli0.4.2 cpptools0.21.0 github-issues-prs0.9.1 debugger-for-chrome4.11.1 vscode-docker0.5.1 vscode-versionlens0.22.0 vscode-workspacecontains-canary0.0.2 vscode-open-in-github1.10.1 ayu0.17.0 vscodeintellicode1.1.2 azure-iot-toolkit2.2.0 </details<!-- generated by issue reporter --
This is coming as deprecation from our Electron update. If its unclear where this deprecation is coming from, I can help to print a stack from the place where it happens (this requires Electron 4 though from our exploration builds).
The stack trace would be helpful to know.
to this: open command line use Exploration: macOS: Linux: Windows:
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the (), Buffer.allocUnsafe(), or () methods instead. at showFlaggedDeprecation () at new Buffer () at fromRandomAccessReader (/Applications/Visual Studio Code - ) at /Applications/Visual Studio Code - at FSReqWrap.oncomplete ()
This is coming from lib. Will this gets fixed upstream?
I suggest you check if there is a newer version of yauzl lib that has this fixed. It should get fixed if a popular node lib wants to support node 10
I do not see this warning when running from sources? How can I repro this on dev?
it should show up, I saw it in devtools at least, but never from the comand line.
I can confirm that this is still happening for me when using on Windows to install latest versions of following extensions: ms-azure-, ms-vscode.powershell, ms-, ms-, ms-, ms-, , , eamodio.gitlens, qezhu.gitlink, yzhang.markdown-all-in-one. In case this is needed, here's my environment info: nodejs 8.9.3 npm 5.5.1 windows server 1607 10.0..2791 vscode system installer 1.33.1
I too can confirm the existence of the issue nodejs 10.9.0 npm 6.2.0 vscode system installer 1.33.1
When I install extensions on the command line in Fedora 30:
On WIndows 10:
FWIW I see this showing up inside Code in the developer tools now during normal use, if I installed from a VSIX (through the command palette). That is, the error is occurring during extension usage, not just during installation. <img width="769" alt="Screenshot 2019-05-23 at 11 43 56 am" src="https://user-"In the packed version of my extension, there is no instance of "Buffer()" in the code, so I don't think it's my code directly triggering it.

Discussion:
"vscode-sqlite3": "4.0.7", "vscode-textmate": "^4.1.1", "vscode-xterm": "3.14.0-beta5", <del> "yauzl": "^2.9.1", </del> <ins> "yauzl": "^2.9.2", </ins> "yazl": "^2.4.3" }, "devDependencies": {

"vscode-proxy-agent": "0.4.0", "vscode-ripgrep": "^1.2.5", "vscode-textmate": "^4.1.1", <del> "yauzl": "^2.9.1", </del> <ins> "yauzl": "^2.9.2", </ins> "yazl": "^2.4.3" }, "optionalDependencies": {