Socket
Socket
Sign inDemoInstall

dompurify

Package Overview
Dependencies
0
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.5 to 0.6.6

10

bower.json
{
"name": "DOMPurify",
"version": "0.6.5",
"version": "0.6.6",
"homepage": "https://github.com/cure53/DOMPurify",

@@ -21,6 +21,6 @@ "author": "Cure53 <info@cure53.de>",

],
"license": {
"type": "MPL",
"url": "https://github.com/cure53/DOMPurify/blob/master/LICENSE"
},
"license": [
"MPL-2.0",
"Apache-2.0"
],
"ignore": [

@@ -27,0 +27,0 @@ "**/.*",

@@ -15,3 +15,3 @@ {

"description": "DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else using Blink or WebKit). DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not.",
"version": "0.6.5",
"version": "0.6.6",
"main": "purify.js",

@@ -39,3 +39,3 @@ "directories": {

"author": "Mario Heiderich <mario@cure53.de> (https://cure53.de/)",
"license": "MPL",
"license": "MPL-2.0 OR Apache-2.0",
"bugs": {

@@ -42,0 +42,0 @@ "url": "https://github.com/cure53/DOMPurify/issues"

@@ -24,3 +24,3 @@ ;(function(factory) {

*/
DOMPurify.version = '0.6.5';
DOMPurify.version = '0.6.6';

@@ -597,2 +597,3 @@ if (!window || !window.document || window.document.nodeType !== 9) {

var currentNode;
var oldNode;
var nodeIterator = _createIterator(body);

@@ -602,2 +603,8 @@

while ( (currentNode = nodeIterator.nextNode()) ) {
/* Fix IE's strange behavior with manipulated textNodes #89 */
if (currentNode.nodeType === 3 && currentNode === oldNode) {
continue;
}
/* Sanitize tags and elements */

@@ -615,2 +622,4 @@ if (_sanitizeElements(currentNode)) {

_sanitizeAttributes(currentNode);
oldNode = currentNode;
}

@@ -617,0 +626,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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