resanitize
Advanced tools
Comparing version 0.1.1 to 0.1.3
{ "name" : "resanitize" | ||
, "author" : "Dan MacTough <danmactough@gmail.com>" | ||
, "description" : "Regular expression-based HTML sanitizer and ad remover, geared toward RSS feed descriptions" | ||
, "version" : "0.1.1" | ||
, "version" : "0.1.3" | ||
, "keywords" : ["sanitize", "html", "regexp", "security"] | ||
@@ -6,0 +6,0 @@ , "homepage" : "http://github.com/danmactough/node-resanitize" |
@@ -64,3 +64,3 @@ /*! | ||
function stripComments (str) { | ||
return str.replace(/<!--[^>]*?>/g, ''); | ||
return str.replace(/<!--[^>]*?>.*?<![^>]*?-->/g, ''); | ||
} | ||
@@ -67,0 +67,0 @@ module.exports.stripComments = stripComments; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
12634
0
1