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.9 to 1.2.10

14

dist/processPage.js

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

// @applitools/dom-snapshot@1.2.9
// @applitools/dom-snapshot@1.2.10
function __processPage() {

@@ -340,7 +340,9 @@ var processPage = (function () {

return fetch(url, {cache: 'force-cache', credentials: 'same-origin'}).then(resp =>
resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
})),
resp.status === 200
? resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
}))
: Promise.reject(`bad status code ${resp.status}`),
);

@@ -347,0 +349,0 @@ }

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

// @applitools/dom-snapshot@1.2.9
// @applitools/dom-snapshot@1.2.10
function __processPageAndPoll() {

@@ -392,7 +392,9 @@ var processPageAndPoll = (function () {

return fetch(url, {cache: 'force-cache', credentials: 'same-origin'}).then(resp =>
resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
})),
resp.status === 200
? resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
}))
: Promise.reject(`bad status code ${resp.status}`),
);

@@ -399,0 +401,0 @@ }

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

// @applitools/dom-snapshot@1.2.9
// @applitools/dom-snapshot@1.2.10
function __processPageAndSerialize() {

@@ -392,7 +392,9 @@ var processPageAndSerialize = (function () {

return fetch(url, {cache: 'force-cache', credentials: 'same-origin'}).then(resp =>
resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
})),
resp.status === 200
? resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
}))
: Promise.reject(`bad status code ${resp.status}`),
);

@@ -399,0 +401,0 @@ }

@@ -337,7 +337,9 @@ 'use strict';

return fetch(url, {cache: 'force-cache', credentials: 'same-origin'}).then(resp =>
resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
})),
resp.status === 200
? resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
}))
: Promise.reject(`bad status code ${resp.status}`),
);

@@ -344,0 +346,0 @@ }

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

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

@@ -6,7 +6,9 @@ /* global window */

return fetch(url, {cache: 'force-cache', credentials: 'same-origin'}).then(resp =>
resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
})),
resp.status === 200
? resp.arrayBuffer().then(buff => ({
url,
type: resp.headers.get('Content-Type'),
value: buff,
}))
: Promise.reject(`bad status code ${resp.status}`),
);

@@ -13,0 +15,0 @@ }

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