sanitize-html
Advanced tools
Comparing version 2.12.0 to 2.12.1
@@ -456,3 +456,3 @@ const htmlparser = require('htmlparser2'); | ||
try { | ||
const abstractSyntaxTree = postcssParse(name + ' {' + value + '}'); | ||
const abstractSyntaxTree = postcssParse(name + ' {' + value + '}', { map: false }); | ||
const filteredAST = filterCss(abstractSyntaxTree, options.allowedStyles); | ||
@@ -459,0 +459,0 @@ |
{ | ||
"name": "sanitize-html", | ||
"version": "2.12.0", | ||
"version": "2.12.1", | ||
"description": "Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
62721
0