davglass / license-checker

Check NPM package licenses
Other
1.59k stars 215 forks source link

--failOn doesn't catch certain more complex licenses #273

Open YPCrumble opened 3 weeks ago

YPCrumble commented 3 weeks ago

Thank you for maintaining this repo!

For example, DOMPurify has an unusual license: https://github.com/cure53/DOMPurify?tab=License-1-ov-file#readme

I would think that --failOn="MPL" would raise for DOMPurify, though I understand this is a fairly complex example. Maybe an option like --failOnGlob that would allow me to use *MPL* to find that license would work.