Socket
Socket
Sign inDemoInstall

filterhtml

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3-a to 0.2.3-b

demo.html

4

lib/FilterHTML.js

@@ -552,3 +552,3 @@ var FilterHTML = (function() {

if (new_class_value) {
allowed_values[new_class_value] = true;
allowed_values_set[new_class_value] = true;
}

@@ -558,2 +558,3 @@ }

allowed_values = [];
for (new_class_value in allowed_values_set) {

@@ -762,2 +763,1 @@ if (allowed_values_set.hasOwnProperty(new_class_value)) {

}

@@ -5,3 +5,3 @@ {

"description": "FilterHTML: A whitelisting HTML filter for Python and JavaScript",
"version": "0.2.3a",
"version": "0.2.3b",
"repository": {

@@ -8,0 +8,0 @@ "url": "https://github.com/dcollien/FilterHTML"

@@ -13,2 +13,8 @@ FilterHTML

Node.js installation:
npm install filterhtml
Browser: copy `./lib/FilterHTML.js` into your project
Example:

@@ -15,0 +21,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc