Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resanitize

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resanitize - npm Package Compare versions

Comparing version 0.1.1 to 0.1.3

2

package.json
{ "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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc