compute new hashes for library and lockfile when they change