-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
With following script defined in package.json:
"lint:outdated": "assert-outdated-npm-modules --max-warnings 0 --ignore-pre-releases",
- Ran
lint:outdatedand got a list of outdated dependencies (as expected) - Updated package.json with new versions
- Ran
lint:outdatedagain, and got following errror (not expected):
C:\dev\project>npm run lint:outdated
> project@0.1.0 lint:outdated C:\dev\project
> assert-outdated-npm-modules --max-warnings 0 --ignore-pre-releases
TypeError: Cannot read property 'indexOf' of undefined
at C:\dev\project\node_modules\assert-outdated\outdated.js:23:26
at Array.filter (<anonymous>)
at filterDependencies (C:\dev\project\node_modules\assert-outdated\outdated.js:22:49)
at C:\dev\project\node_modules\assert-outdated\outdated.js:62:27- Ran
npm installto see if that helped - Ran
lint:outdatedonce again, and got no errors (as expected)
Seems when I update package.json, but don't run npm install, then outdated.js crashes for some reason?
Metadata
Metadata
Assignees
Labels
No labels