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
npm install
npm update
did you try this: go to your project root, delete the package-lock.json file, node_modules and .cache folders, and then npm install.
package-lock.json
node_modules
.cache