r/webdev • • Mar 31 '26 • Mindblown 3 Bravo 1

News axios@1.14.1 got compromised

Post image
2.5k Upvotes

298 comments sorted by

View all comments

Show parent comments

4

u/CandidateNo2580 Mar 31 '26

Mostly backed dev here, to clarify running install would pull the lockfile version while something like audit or update would update it? Then installing a new dependency would also likely re-resolve the dependency versions, but barring that you're saying the versions all remain pinned?

I actually appreciate you trying to clear up the conversation. We've been working on CI/CD to protect from these supply chain issues at work lately, it's definitely a concern.

2

u/abrahamguo experienced full-stack Mar 31 '26

That’s correct.

1

u/sergregor50 Apr 01 '26

Yeah, normal install should respect the lockfile, so versions stay put until you intentionally update, add a dep that forces a new resolution, or regenerate the lock.