closed substack/npm-package-search#1 -- properly creating search index of existing package file, in update method