3 ms·
Can NPM not just override "core-js" when performing dependency resolution and point to a maintained fork?
by meritt 7y ago
Can NPM not just override "core-js" when performing dependency resolution and point to a maintained fork?
- jakear 7y agoWould you want all packages you're responsible for being taken over by whomever happens to be NPM's preferred forker in the event of your getting into legal troubles? I'd be strongly against that. This should be handled the way any other fork happens: people create forks, other people audit them for stability and choose which to update their dependencies to. This isn't up to NPM to decide.
- waterfowl 7y agoNow Microsoft's preferred forker. Yikes!
- battery_cowboy 7y agoI'd rather hear Microsoft's suggestions on libraries to use than some random Joe Developer. They have/had unethical business practices, but their tech is really good and they have very smart people working for them.
- foepys 7y agoA lot of people are making fun of Microsoft but most of them don't know or appreciate that you can run software compiled in the 90s on the most recent Windows 10 1909 without problems. Microsoft's backwards compatibility is off the charts. Try that with macOS.
- Zardoz84 7y agoWell... Windows 10 have the record of the being the only windows that breaks backwards compatibility sometimes. I saw Visual Basic 5/6 applications stooping to work because Microsoft break something on a update. Also, good luck trying to run any Windows 16 bit application on a modern Windows 64 bit installation.
- tim-- 7y ago> Also, good luck trying to run any Windows 16 bit application on a modern Windows 64 bit installation. The officially supported method is to have Windows 10 (32 bit) running in HyperV. There is no 16 bit support in Windows 10 64bit builds.
- battery_cowboy 7y agoI can run Ubuntu now without worrying about hardware compatibility and I can play video games, all from Windows. I'm a fan.
- lzsiga 7y agoSomething like that happened with `leftpad` in 2016.
- battery_cowboy 7y agoNot a great precedent, is rather have them forcefully depreciate the package, eventually, suggest a few alternatives in the error log, and let the user decide.
- jessaustin 7y agoIt's probably a better idea for individual depending projects (all 19k of them!) to evaluate their own use of this module. They may issue new versions with new dependencies, or they may not. It's not as if this code will start killing puppies just because the maintainer is unavailable.
- werkjohann 7y agoYou can: https://www.npmjs.com/policies/disputes https://www.npmjs.com/policies/disputes > This process is an excellent way to: Adopt an "abandoned" package Harder is taking control of the GitHub project where the bug tracker lives and people are used to sending patches.
- noway421 7y agoFinding a vulnerability in core-js which would highlight it in `npm audit` and then making a fork which fixes such vulnerability is much more ideomatic imho.
- futhey 7y agoI would imagine a better answer is for someone else in the community with familiarity on the project to create a semi-official fork. Perhaps a less destructive change that someone with access (Github, NPM, Microsoft, etc.) could make, is to link to the new project from the readme. Eventually when something breaks, this could be surfaced as an `npm audit` response (Core-js is no longer maintained. Switch to core-js-fork to resolve issue xyz).