Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/dom-snapshot

Package Overview
Dependencies
Maintainers
17
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-snapshot - npm Package Compare versions

Comparing version 2.0.2 to 2.1.1

8

dist/processPage.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc