How do I fix a vulnerable npm package in my package-lock.json that isn't listed in the package.json?
问题 Github is telling me that a dependency in my package-lock.json file is vulnerable and outdated. The problem is that if I do npm install or npm update , neither of them update the dependency in the package-lock.json file. I've done a lot of googling on this, as well as deleted the file and done npm install . If anyone can help resolve this I'd hugely appreciate it. The package in question is Hoek, which I don't actually have in my package.json file. Many thanks in advance. 回答1: It sounds like