@applitools/dom-snapshot
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.1.3 | ||
// @applitools/dom-snapshot@1.1.4 | ||
function __processPage() { | ||
@@ -119,2 +119,14 @@ var processPage = (function () { | ||
} | ||
} 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: [], | ||
}; | ||
} | ||
@@ -121,0 +133,0 @@ } else if (nodeType === NODE_TYPES.TEXT) { |
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.1.3 | ||
// @applitools/dom-snapshot@1.1.4 | ||
function __processPageAndSerialize() { | ||
@@ -171,2 +171,14 @@ var processPageAndSerialize = (function () { | ||
} | ||
} 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: [], | ||
}; | ||
} | ||
@@ -173,0 +185,0 @@ } else if (nodeType === NODE_TYPES.TEXT) { |
{ | ||
"name": "@applitools/dom-snapshot", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"main": "index.js", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"build:seal:file": "sed -i \"1s/.*/\\/\\/ @applitools\\/dom-snapshot@$npm_package_version/\" $file_name", | ||
"prepublishOnly": "npm version patch && npm run build:seal" | ||
"prepublishOnly": "npm run build && npm version patch && npm run build:seal" | ||
}, | ||
@@ -19,0 +19,0 @@ "engines": { |
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
56792
1422