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

Error Buffer, how to resolve? #79

Closed
joubertsaquett opened this issue Aug 1, 2020 · 1 comment
Closed

Error Buffer, how to resolve? #79

joubertsaquett opened this issue Aug 1, 2020 · 1 comment

Comments

@joubertsaquett
Copy link

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

package.json

"devDependencies": {
"electron": "^9.1.2",
"electron-rebuild": "^1.11.0"
},
"dependencies": {
"active-win": "^6.1.0",
"electron-active-window": "0.0.4",
"ffi-napi": "^2.4.5",
"iconv": "^3.0.0",
"ps-list": "^7.2.0",
"ref-napi": "^1.4.2",
"ref-struct-napi": "^1.1.0",
"ref-wchar-napi": "^1.0.2"
}

node => v10.22.0
npm => 6.14.1

@sindresorhus
Copy link
Owner

This package doesn't use Buffer() anywhere. It might come from a sub-dependency, and if so, you'll have to open an issue there instead.

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

2 participants