resanitize
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ "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.3" | ||
, "version" : "0.1.4" | ||
, "keywords" : ["sanitize", "html", "regexp", "security"] | ||
@@ -6,0 +6,0 @@ , "homepage" : "http://github.com/danmactough/node-resanitize" |
@@ -200,2 +200,3 @@ /*! | ||
.replace(/<img[^>]*?src=("|')http:\/\/feeds\.[^>]+?\.[^>]+?\/(?:~|%7e)r\/[^>]+?\1[\s\S]*?>/gi, '') | ||
.replace(/<img[^>]*?src=("|')http:\/\/rss\.nytimes\.com\/c\/[^>]*?\1.*?>.*$/gim, '') | ||
.replace(/<img[^>]*?src=("|')http:\/\/(?:feedads\.googleadservices|feedproxy\.google|feeds2\.feedburner)\.com\/(?:~|%7e)r\/[^>]+?\1[\s\S]*?>/gi, '') | ||
@@ -202,0 +203,0 @@ .replace(/<img[^>]*?src=("|')http:\/\/rss\.cnn\.com\/~r\/[^>]*?\1[\s\S]*?>/gi, '') |
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
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
12731
224
0