-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(sshpk): Upgrade request and sshpk to latest versions #5934
Conversation
Upgrades `request` ve `sshpk` modules to latest versions to avoid deprecated `Buffer` usages. #5477
I keep seeing |
|
Are you sure this fixes #5477 completely? Since sshpk depends on asn1 which hasn't been patched yet: TritonDataCenter/node-asn1#30. |
@simonkberg good point. I haven't seen the warning myself and that may be because the code path is not being used by yarn (or only in my tests). I'll keep an eye on that patch too! |
Another check you can do is search/grep for Offenders:
|
@mkutny Oops, you're right, Update: The |
@mkutny
|
BTW, it looks like we may still have a problem. Of the 14 string matches for In module "471" there are 2 cases where it is not being used as a fall-back for newer methods. I believe this code corresponds to In module "546", which I believe corresponds to
|
Seems to be some sort of IDE metadata erroneously introduced in 7ff626c (yarnpkg#5934)
Summary
Fixes #5477. Upgrades
request
vesshpk
modules to latest versions to avoid deprecatedBuffer
usages.Test plan
Install new dependencies, build and run Yarn with Node 10. Make sure there are no
Buffer
warnings.