Support earlier versions of npm