Update nailgun_deps function