Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mahboi
· 1mo ago · 0 comments
The reason is if you have a small script as a single js file and don't want a separate package file and build step. The given example was ^5, same effort as =5. I guess you can also import different versions in different files?
Comments
[–]
otabdeveloper4
1mo ago
No, version pinning is a lockfile that has verified hashes of git revisions.