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

@applitools/dom-snapshot

Package Overview
Dependencies
Maintainers
15
Versions
185
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 1.1.10 to 1.2.1

8

dist/processPage.js

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.10
// @applitools/dom-snapshot@1.2.1
function __processPage() {

@@ -20,2 +20,6 @@ var processPage = (function () {

const hrefUrls = [...doc.querySelectorAll('image')]
.map(hrefEl => hrefEl.getAttribute('href') || hrefEl.getAttribute('xlink:href'))
.filter(Boolean);
const cssUrls = [...doc.querySelectorAll('link[rel="stylesheet"]')].map(link =>

@@ -29,3 +33,3 @@ link.getAttribute('href'),

return [...srcsetUrls, ...srcUrls, ...cssUrls, ...videoPosterUrls];
return [...srcsetUrls, ...srcUrls, ...hrefUrls, ...cssUrls, ...videoPosterUrls];
}

@@ -32,0 +36,0 @@

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.10
// @applitools/dom-snapshot@1.2.1
function __processPageAndPoll() {

@@ -72,2 +72,6 @@ var processPageAndPoll = (function () {

const hrefUrls = [...doc.querySelectorAll('image')]
.map(hrefEl => hrefEl.getAttribute('href') || hrefEl.getAttribute('xlink:href'))
.filter(Boolean);
const cssUrls = [...doc.querySelectorAll('link[rel="stylesheet"]')].map(link =>

@@ -81,3 +85,3 @@ link.getAttribute('href'),

return [...srcsetUrls, ...srcUrls, ...cssUrls, ...videoPosterUrls];
return [...srcsetUrls, ...srcUrls, ...hrefUrls, ...cssUrls, ...videoPosterUrls];
}

@@ -84,0 +88,0 @@

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.10
// @applitools/dom-snapshot@1.2.1
function __processPageAndSerialize() {

@@ -72,2 +72,6 @@ var processPageAndSerialize = (function () {

const hrefUrls = [...doc.querySelectorAll('image')]
.map(hrefEl => hrefEl.getAttribute('href') || hrefEl.getAttribute('xlink:href'))
.filter(Boolean);
const cssUrls = [...doc.querySelectorAll('link[rel="stylesheet"]')].map(link =>

@@ -81,3 +85,3 @@ link.getAttribute('href'),

return [...srcsetUrls, ...srcUrls, ...cssUrls, ...videoPosterUrls];
return [...srcsetUrls, ...srcUrls, ...hrefUrls, ...cssUrls, ...videoPosterUrls];
}

@@ -84,0 +88,0 @@

{
"name": "@applitools/dom-snapshot",
"version": "1.1.10",
"version": "1.2.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -17,2 +17,6 @@ 'use strict';

const hrefUrls = [...doc.querySelectorAll('image')]
.map(hrefEl => hrefEl.getAttribute('href') || hrefEl.getAttribute('xlink:href'))
.filter(Boolean);
const cssUrls = [...doc.querySelectorAll('link[rel="stylesheet"]')].map(link =>

@@ -26,5 +30,5 @@ link.getAttribute('href'),

return [...srcsetUrls, ...srcUrls, ...cssUrls, ...videoPosterUrls];
return [...srcsetUrls, ...srcUrls, ...hrefUrls, ...cssUrls, ...videoPosterUrls];
}
module.exports = extractLinks;
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