shrinkwrap might work for a bit. but if you regenerate the file you will run into the same issue.
a way to protect you 100% against the problem is to define your dependency as a link to a specific commit or tarball.
a way to protect you 100% against the problem is to define your dependency as a link to a specific commit or tarball.