updated npm compatibility