@applitools/dom-snapshot
Advanced tools
Comparing version 1.2.17 to 1.2.18
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.2.17 | ||
// @applitools/dom-snapshot@1.2.18 | ||
function __processPage() { | ||
@@ -96,3 +96,3 @@ var processPage = (function () { | ||
let value = elementNode.attributes[key].value; | ||
const name = elementNode.attributes[key].name; | ||
const name = elementNode.attributes[key].localName; | ||
@@ -141,3 +141,3 @@ if (/^blob:/.test(value)) { | ||
.map(key => ({ | ||
name: elementNode.attributes[key].name, | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
@@ -170,3 +170,3 @@ })) | ||
function nodeAttributes({attributes = {}}) { | ||
return Object.keys(attributes).filter(k => attributes[k].name); | ||
return Object.keys(attributes).filter(k => attributes[k].localName); | ||
} | ||
@@ -173,0 +173,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.2.17 | ||
// @applitools/dom-snapshot@1.2.18 | ||
function __processPageAndPoll() { | ||
@@ -148,3 +148,3 @@ var processPageAndPoll = (function () { | ||
let value = elementNode.attributes[key].value; | ||
const name = elementNode.attributes[key].name; | ||
const name = elementNode.attributes[key].localName; | ||
@@ -193,3 +193,3 @@ if (/^blob:/.test(value)) { | ||
.map(key => ({ | ||
name: elementNode.attributes[key].name, | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
@@ -222,3 +222,3 @@ })) | ||
function nodeAttributes({attributes = {}}) { | ||
return Object.keys(attributes).filter(k => attributes[k].name); | ||
return Object.keys(attributes).filter(k => attributes[k].localName); | ||
} | ||
@@ -225,0 +225,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// @applitools/dom-snapshot@1.2.17 | ||
// @applitools/dom-snapshot@1.2.18 | ||
function __processPageAndSerialize() { | ||
@@ -148,3 +148,3 @@ var processPageAndSerialize = (function () { | ||
let value = elementNode.attributes[key].value; | ||
const name = elementNode.attributes[key].name; | ||
const name = elementNode.attributes[key].localName; | ||
@@ -193,3 +193,3 @@ if (/^blob:/.test(value)) { | ||
.map(key => ({ | ||
name: elementNode.attributes[key].name, | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
@@ -222,3 +222,3 @@ })) | ||
function nodeAttributes({attributes = {}}) { | ||
return Object.keys(attributes).filter(k => attributes[k].name); | ||
return Object.keys(attributes).filter(k => attributes[k].localName); | ||
} | ||
@@ -225,0 +225,0 @@ } |
@@ -93,3 +93,3 @@ 'use strict'; | ||
let value = elementNode.attributes[key].value; | ||
const name = elementNode.attributes[key].name; | ||
const name = elementNode.attributes[key].localName; | ||
@@ -138,3 +138,3 @@ if (/^blob:/.test(value)) { | ||
.map(key => ({ | ||
name: elementNode.attributes[key].name, | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
@@ -167,3 +167,3 @@ })) | ||
function nodeAttributes({attributes = {}}) { | ||
return Object.keys(attributes).filter(k => attributes[k].name); | ||
return Object.keys(attributes).filter(k => attributes[k].localName); | ||
} | ||
@@ -170,0 +170,0 @@ } |
{ | ||
"name": "@applitools/dom-snapshot", | ||
"version": "1.2.17", | ||
"version": "1.2.18", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -57,3 +57,3 @@ /* eslint-disable no-use-before-define */ | ||
let value = elementNode.attributes[key].value; | ||
const name = elementNode.attributes[key].name; | ||
const name = elementNode.attributes[key].localName; | ||
@@ -102,3 +102,3 @@ if (/^blob:/.test(value)) { | ||
.map(key => ({ | ||
name: elementNode.attributes[key].name, | ||
name: elementNode.attributes[key].localName, | ||
value: elementNode.attributes[key].value, | ||
@@ -131,3 +131,3 @@ })) | ||
function nodeAttributes({attributes = {}}) { | ||
return Object.keys(attributes).filter(k => attributes[k].name); | ||
return Object.keys(attributes).filter(k => attributes[k].localName); | ||
} | ||
@@ -134,0 +134,0 @@ } |
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
103212