@applitools/dom-snapshot
Advanced tools
Comparing version 2.0.2 to 2.1.1
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-snapshot@2.0.1 */ | ||
/* @applitools/dom-snapshot@2.1.0 */ | ||
@@ -17,5 +17,5 @@ function __processPage() { | ||
const srcUrls = Array.from(doc.querySelectorAll('img[src],source[src]')).map(srcEl => | ||
srcEl.getAttribute('src'), | ||
); | ||
const srcUrls = Array.from( | ||
doc.querySelectorAll('img[src],source[src],input[type="image"][src]'), | ||
).map(srcEl => srcEl.getAttribute('src')); | ||
@@ -22,0 +22,0 @@ const imageUrls = Array.from(doc.querySelectorAll('image,use')) |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-snapshot@2.0.1 */ | ||
/* @applitools/dom-snapshot@2.1.0 */ | ||
@@ -69,5 +69,5 @@ function __processPageAndPoll() { | ||
const srcUrls = Array.from(doc.querySelectorAll('img[src],source[src]')).map(srcEl => | ||
srcEl.getAttribute('src'), | ||
); | ||
const srcUrls = Array.from( | ||
doc.querySelectorAll('img[src],source[src],input[type="image"][src]'), | ||
).map(srcEl => srcEl.getAttribute('src')); | ||
@@ -74,0 +74,0 @@ const imageUrls = Array.from(doc.querySelectorAll('image,use')) |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-snapshot@2.0.1 */ | ||
/* @applitools/dom-snapshot@2.1.0 */ | ||
@@ -69,5 +69,5 @@ function __processPageAndSerialize() { | ||
const srcUrls = Array.from(doc.querySelectorAll('img[src],source[src]')).map(srcEl => | ||
srcEl.getAttribute('src'), | ||
); | ||
const srcUrls = Array.from( | ||
doc.querySelectorAll('img[src],source[src],input[type="image"][src]'), | ||
).map(srcEl => srcEl.getAttribute('src')); | ||
@@ -74,0 +74,0 @@ const imageUrls = Array.from(doc.querySelectorAll('image,use')) |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-snapshot@2.0.1 */ | ||
/* @applitools/dom-snapshot@2.1.0 */ | ||
'use strict'; | ||
@@ -14,5 +14,5 @@ | ||
const srcUrls = Array.from(doc.querySelectorAll('img[src],source[src]')).map(srcEl => | ||
srcEl.getAttribute('src'), | ||
); | ||
const srcUrls = Array.from( | ||
doc.querySelectorAll('img[src],source[src],input[type="image"][src]'), | ||
).map(srcEl => srcEl.getAttribute('src')); | ||
@@ -19,0 +19,0 @@ const imageUrls = Array.from(doc.querySelectorAll('image,use')) |
{ | ||
"name": "@applitools/dom-snapshot", | ||
"version": "2.0.2", | ||
"version": "2.1.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -13,5 +13,5 @@ 'use strict'; | ||
const srcUrls = Array.from(doc.querySelectorAll('img[src],source[src]')).map(srcEl => | ||
srcEl.getAttribute('src'), | ||
); | ||
const srcUrls = Array.from( | ||
doc.querySelectorAll('img[src],source[src],input[type="image"][src]'), | ||
).map(srcEl => srcEl.getAttribute('src')); | ||
@@ -18,0 +18,0 @@ const imageUrls = Array.from(doc.querySelectorAll('image,use')) |
Sorry, the diff of this file is too big to display
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
587663