@applitools/dom-snapshot
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.1.2 | ||
// @applitools/dom-snapshot@1.1.3 | ||
function __processPage() { | ||
@@ -3,0 +3,0 @@ var processPage = (function () { |
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.1.2 | ||
// @applitools/dom-snapshot@1.1.3 | ||
function __processPageAndSerialize() { | ||
@@ -3,0 +3,0 @@ var processPageAndSerialize = (function () { |
{ | ||
"name": "@applitools/dom-snapshot", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -88,2 +88,14 @@ /* eslint-disable no-use-before-define */ | ||
} | ||
} else { | ||
node = { | ||
nodeType: NODE_TYPES.ELEMENT, | ||
nodeName: 'SCRIPT', | ||
attributes: Object.keys(elementNode.attributes || {}) | ||
.map(key => ({ | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
})) | ||
.filter(attr => attr.name !== 'src'), | ||
childNodeIndexes: [], | ||
}; | ||
} | ||
@@ -90,0 +102,0 @@ } else if (nodeType === NODE_TYPES.TEXT) { |
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
55893
1398