package-license
Advanced tools
Comparing version 0.1.2 to 0.2.0
14
index.js
@@ -12,3 +12,15 @@ var fs = require('fs'); | ||
} else if (str.indexOf('Apache License') > -1) { | ||
return 'Apache*'; | ||
return 'Apache*'; | ||
} else if (str.indexOf('Mozilla') > -1) { | ||
return 'Mozilla*'; | ||
} else if (str.indexOf('LGPL') > -1) { | ||
return 'LGPL*'; | ||
} else if (str.indexOf('Affero') > -1) { | ||
return 'GPL*'; | ||
} else if (str.indexOf('GPL') > -1) { | ||
return 'GPL*'; | ||
} else if (str.indexOf('Eclipse') > -1) { | ||
return 'Eclipse*'; | ||
} else if (str.indexOf('Artistic') > -1) { | ||
return 'Artistic*'; | ||
} else if (str.indexOf('DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE') > -1) { | ||
@@ -15,0 +27,0 @@ return 'WTF*'; |
{ | ||
"name": "package-license", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Checks the filesystem for potential license files and attempts to detect what they are", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13527
39