lirantal / lockfile-lint

Lint an npm or yarn lockfile to analyze and detect security issues
Apache License 2.0
781 stars 35 forks source link

Friendlier error message when parsing lock files fails #16

Closed lirantal closed 4 years ago

lirantal commented 4 years ago

Is your feature request related to a problem? Please describe. When parsing files of either npm or yarn lockfile, let's make sure we show a friendly error message instead of the general error exception being thrown.

This is in continuation to #9 and the work landed by @emimuresan in #13

Describe the solution you'd like This should probably be done at the level of ParseLockfile.js class l

emimuresan commented 4 years ago

I will take a look 👍