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
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 1.2.21 to 1.2.22

8

dist/processPage.js

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

// @applitools/dom-snapshot@1.2.21
// @applitools/dom-snapshot@1.2.22
function __processPage() {

@@ -226,3 +226,3 @@ var processPage = (function () {

return Promise.all(
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs.bind(null, doc))),
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs)),
).then(resourceUrlsAndBlobsArr => aggregateResourceUrlsAndBlobs(resourceUrlsAndBlobsArr));

@@ -242,3 +242,3 @@ };

const m = url && url.match(/(^[^#]*)/);
return (m && m[1]) || url;
return ((m && m[1]) || url).replace(/\?\s*$/, '');
}

@@ -295,3 +295,3 @@

.filter(filterInlineUrl_1);
result = getResourceUrlsAndBlobs(baseUrl, resourceUrls).then(
result = getResourceUrlsAndBlobs(doc, baseUrl, resourceUrls).then(
({resourceUrls, blobsObj}) => ({

@@ -298,0 +298,0 @@ resourceUrls,

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

// @applitools/dom-snapshot@1.2.21
// @applitools/dom-snapshot@1.2.22
function __processPageAndPoll() {

@@ -278,3 +278,3 @@ var processPageAndPoll = (function () {

return Promise.all(
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs.bind(null, doc))),
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs)),
).then(resourceUrlsAndBlobsArr => aggregateResourceUrlsAndBlobs(resourceUrlsAndBlobsArr));

@@ -294,3 +294,3 @@ };

const m = url && url.match(/(^[^#]*)/);
return (m && m[1]) || url;
return ((m && m[1]) || url).replace(/\?\s*$/, '');
}

@@ -347,3 +347,3 @@

.filter(filterInlineUrl_1);
result = getResourceUrlsAndBlobs(baseUrl, resourceUrls).then(
result = getResourceUrlsAndBlobs(doc, baseUrl, resourceUrls).then(
({resourceUrls, blobsObj}) => ({

@@ -350,0 +350,0 @@ resourceUrls,

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

// @applitools/dom-snapshot@1.2.21
// @applitools/dom-snapshot@1.2.22
function __processPageAndSerialize() {

@@ -278,3 +278,3 @@ var processPageAndSerialize = (function () {

return Promise.all(
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs.bind(null, doc))),
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs)),
).then(resourceUrlsAndBlobsArr => aggregateResourceUrlsAndBlobs(resourceUrlsAndBlobsArr));

@@ -294,3 +294,3 @@ };

const m = url && url.match(/(^[^#]*)/);
return (m && m[1]) || url;
return ((m && m[1]) || url).replace(/\?\s*$/, '');
}

@@ -347,3 +347,3 @@

.filter(filterInlineUrl_1);
result = getResourceUrlsAndBlobs(baseUrl, resourceUrls).then(
result = getResourceUrlsAndBlobs(doc, baseUrl, resourceUrls).then(
({resourceUrls, blobsObj}) => ({

@@ -350,0 +350,0 @@ resourceUrls,

@@ -223,3 +223,3 @@ 'use strict';

return Promise.all(
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs.bind(null, doc))),
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs)),
).then(resourceUrlsAndBlobsArr => aggregateResourceUrlsAndBlobs(resourceUrlsAndBlobsArr));

@@ -239,3 +239,3 @@ };

const m = url && url.match(/(^[^#]*)/);
return (m && m[1]) || url;
return ((m && m[1]) || url).replace(/\?\s*$/, '');
}

@@ -292,3 +292,3 @@

.filter(filterInlineUrl_1);
result = getResourceUrlsAndBlobs(baseUrl, resourceUrls).then(
result = getResourceUrlsAndBlobs(doc, baseUrl, resourceUrls).then(
({resourceUrls, blobsObj}) => ({

@@ -295,0 +295,0 @@ resourceUrls,

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

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

@@ -6,3 +6,3 @@ 'use strict';

return Promise.all(
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs.bind(null, doc))),
urls.map(url => processResource(url, doc, baseUrl, getResourceUrlsAndBlobs)),
).then(resourceUrlsAndBlobsArr => aggregateResourceUrlsAndBlobs(resourceUrlsAndBlobsArr));

@@ -9,0 +9,0 @@ };

@@ -47,3 +47,3 @@ 'use strict';

.filter(filterInlineUrl);
result = getResourceUrlsAndBlobs(baseUrl, resourceUrls).then(
result = getResourceUrlsAndBlobs(doc, baseUrl, resourceUrls).then(
({resourceUrls, blobsObj}) => ({

@@ -50,0 +50,0 @@ resourceUrls,

@@ -5,5 +5,5 @@ 'use strict';

const m = url && url.match(/(^[^#]*)/);
return (m && m[1]) || url;
return ((m && m[1]) || url).replace(/\?\s*$/, '');
}
module.exports = toUnAnchoredUri;
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