Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kristjansson
on Jan 10, 2022
|
parent
|
context
|
favorite
| on:
Dev corrupts NPM libs 'colors' and 'faker', breaki...
But you can roll back your dependencies until your entire dependency graph avoids a bad version.
umvi
on Jan 10, 2022
[–]
Yeah but in this case you might not be directly dependent on colors. You might be dependent on http-server, which is in turn dependent on colors. You can only roll back http-server, and unless http-server rolls back colors, you are stuck.
kristjansson
on Jan 10, 2022
|
parent
[–]
So set it in overrides? Blacklist it in your private mirror? It’s your project, your environment, and your computer, you’re never stuck.
umvi
on Jan 10, 2022
|
root
|
parent
[–]
Oh I agree, nobody is stuck. I'm just pointing out that, sure, there are messy workarounds, but in this case it is not as simple as "rollback".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: