[MIG] migrate the file check_deps to v8