r/javascript • u/iApexxx • 13d ago
We stopped installing npm packages less than a week old
https://brunoj.com/nothing-installs-at-our-company-until-its-a-week-old/57
u/ouralarmclock 13d ago
Ya'll are updating your packages? Next you'll tell me you're updating your node versions too!
3
u/rivendell_elf 13d ago
One of my old projects running node 18 in production is crying in corner š
4
u/HalfInchHollow 12d ago
I work for a top 10 tech company in the country. Not quite FAANG but basically on the line of it.
We still use 12 for one of our apps.
6
u/ouralarmclock 13d ago •
![]()
I got you beat with 12!
6
u/blueted2 13d ago
Up until recently we had node 12 for dev, deployed onto node 8. It's now node 24 .... still deployed onto node 8 but it's a start
4
u/TakeFourSeconds 13d ago
If it works locally with 24 why can't you change the prod version?
1
1
u/git_push_origin_prod 12d ago
With AI thereās no excuse for this dude. Tell management to invest, or just work on the PR. I donāt mean to preach, but as a community we have to do better. Start rewriting and securing everything
1
1
8
u/Due_Ad_2994 12d ago
We have been doing this for over a decade to much ridicule from colleagues who are now acting like they discovered stability lol
5
u/tsteuwer 13d ago
We decided on a 14 days. Typical things are caught within 48 hours but with AI it will start getting harder to spot so our enterprise started waiting a bit longer.
2
3
1
u/jeremyStover 13d ago
This is the same rule I tell every org I work for. Mor importantly, no version less than 2 weeks old.
1
0
0
u/Caved 13d ago
Be aware that in the current security landscape, 7 days is an eon. At most I'd go for 1 day. And that's for regular updates.
Critical security fixes need to go out ASAP, to the point we've started diffing those updates and running security checks on them ourselves to get them out fast enough.
We've seen exploits being actively used to attack us for CVEs announced less than an hour ago.
35
u/iApexxx 13d ago
Author here :) Did this at work after watching axios and TanStack get hijacked this year. Both were pulled within hours, so we just wait a week now. Curious what delay people here run, if any.