fix: move static function from ip to the parse-udp module#550
fix: move static function from ip to the parse-udp module#550fabianbormann wants to merge 1 commit intowebtorrent:masterfrom
Conversation
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
|
@DiegoRBaquero, are you the right person to review this PR? If not, could you please involve someone else who could take a look at it? Thanks! 😊 |
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
|
Please re-open the PR |
|
This should be re-opened. It's a good change, I noticed the high severity warning as well |
|
@fabianbormann I suggest that the commit message be more verbose as to exactly what is happening here. I think you could copy what is in the description above (removing the "For the past year,"). @ThaUnknown I've tested that the issue is real and that this fixes it. It should be a simple and quick review. |
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
Yes, it is still relevant. There's not much that can be done without an active maintainer to take a look at this. |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[ ] New feature
[X] Other, please explain:
For the past year, there has been a vulnerability in the less/not maintained
node-ippackage. While the vulnerability doesn't affectbittorrent-trackerdirectly, it still results in a1 high severity vulnerabilitywarning after runningnpm ion this project or any other project that hasbittorrent-trackeras a dependency. This creates a negative impression from a customer perspective or during code audits.What changes did you make? (Give an overview)
This repository only uses a single static function from the
node-ippackage, which is unmaintained but available under the MIT license. I copied this static function directly into theparse-udpmodule and removed thenode-ipdependency entirely.I ran the tests, which show:
Additionally,
npm inow showsfound 0 vulnerabilitiesafter running the command.