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