fix(expand): throw error on empty deps object