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.6 to 1.1.7

2

dist/processPage.js

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

// @applitools/dom-snapshot@1.1.6
// @applitools/dom-snapshot@1.1.7
function __processPage() {

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

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

// @applitools/dom-snapshot@1.1.6
// @applitools/dom-snapshot@1.1.7
function __processPageAndPoll() {

@@ -541,4 +541,9 @@ var processPageAndPoll = (function () {

if (!window[EYES_NAME_SPACE]) {
window[EYES_NAME_SPACE] = {
processPageAndSerializeResult: {status: 'WIP', value: null, error: null},
window[EYES_NAME_SPACE] = {};
}
if (!window[EYES_NAME_SPACE].processPageAndSerializeResult) {
window[EYES_NAME_SPACE].processPageAndSerializeResult = {
status: 'WIP',
value: null,
error: null,
};

@@ -549,3 +554,8 @@ processPageAndSerialize_1(doc)

}
const resultObject = window[EYES_NAME_SPACE].processPageAndSerializeResult;
if (resultObject.status === 'SUCCESS') {
window[EYES_NAME_SPACE].processPageAndSerializeResult = null;
}
return Promise.resolve(JSON.stringify(resultObject));

@@ -552,0 +562,0 @@ }

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

// @applitools/dom-snapshot@1.1.6
// @applitools/dom-snapshot@1.1.7
function __processPageAndSerialize() {

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

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

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

@@ -8,4 +8,9 @@ 'use strict';

if (!window[EYES_NAME_SPACE]) {
window[EYES_NAME_SPACE] = {
processPageAndSerializeResult: {status: 'WIP', value: null, error: null},
window[EYES_NAME_SPACE] = {};
}
if (!window[EYES_NAME_SPACE].processPageAndSerializeResult) {
window[EYES_NAME_SPACE].processPageAndSerializeResult = {
status: 'WIP',
value: null,
error: null,
};

@@ -16,3 +21,8 @@ processPageAndSerialize(doc)

}
const resultObject = window[EYES_NAME_SPACE].processPageAndSerializeResult;
if (resultObject.status === 'SUCCESS') {
window[EYES_NAME_SPACE].processPageAndSerializeResult = null;
}
return Promise.resolve(JSON.stringify(resultObject));

@@ -19,0 +29,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