Re:Netmask NPM package, used by 270k+ projects, vulnerable t...
by simion314 on Monday March 29, 2021 @11:03AM
(#26622773)
Funny enough you mention url, I had to fix a bug recently in JS code where our project was rejecting valid urls, the issue was that someone found somewhere a regex that validated urls but during the years the standards updated and now more characters were allowed. So copy pasting perfectly good code is bad because it might get outdated.
I would bet that on average Java standard library code(that is not deprecated) will be higher quality then npm packages.
I would bet that on average Java standard library code(that is not deprecated) will be higher quality then npm packages.