updates package.json to replace "latest" dependencies with specific versions