Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Kyu
@kyu
Strong opinion, loosely held. If you're a JS/TS application (not a library), there's no point using ^ or ~ in package.json. The lockfile already locks versions, so it doesn't do anything—except make it harder to see what's actually installed. IMO, it should be banned in application package.json 🚫😂
3 replies
1 recast
5 reactions
Mo
@meb
You know what, I sort of agree. Whenever I've upgraded packages, it's always been an intentional process. There's no real reason for doing npm install package@latest WAGMI LGTM
1 reply
0 recast
1 reaction
Kyu
@kyu
Yeahh why would anyone want to upgrade a dependency (update the lock file) but not update package.json.
0 reply
0 recast
0 reaction