chore(deps): check for length to, before concat and map