logoalt Hacker News

I_am_tiberiusyesterday at 11:02 AM3 repliesview on HN

I guess you should never use the latest versions of libraries.


Replies

kaelwdyesterday at 11:05 AM

Everyone needs to switch to pnpm and enable https://pnpm.io/settings#minimumreleaseage

Pnpm also blocks preinstall scripts by default.

show 2 replies
Ygg2yesterday at 11:05 AM

But you also need the latest versions to avoid zero-day attacks.

show 3 replies
sublinearyesterday at 11:04 AM

Not sure if you're serious, but if so I agree that people should take the time to set up their own package mirrors. Not just for npm but all other package managers as well.

This is why it's so important to get to know what you're actually building instead of just "vibing" all the time. Before all the AI slop of this decade we just called it being responsible.

show 2 replies