New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/dom-snapshot

Package Overview
Dependencies
Maintainers
15
Versions
190
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.8 to 1.1.9

2

dist/processPage.js

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

// @applitools/dom-snapshot@1.1.8
// @applitools/dom-snapshot@1.1.9
function __processPage() {

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

@@ -1,3 +0,3 @@

// @applitools/dom-snapshot@1.1.8
(function(){
// @applitools/dom-snapshot@1.1.9
function __processPageAndPoll() {
var processPageAndPoll = (function () {

@@ -567,4 +567,4 @@ 'use strict';

}());
return processPageAndPoll.apply(this, arguments);
})()
}

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

// @applitools/dom-snapshot@1.1.8
// @applitools/dom-snapshot@1.1.9
function __processPageAndSerialize() {

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

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

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

'use strict';
// type = 'function' :
// This rollup plugin is meant to create a standalone function that can be consumed as a string and be sent to a remote browser for evaluation.

@@ -7,3 +6,3 @@ // I couldn't find a way in rollup to create an iife that runs the actual code (instead of returning a function that runs the code) without polluting the global scope

function wrapBundle(filename, type) {
function wrapBundle(filename) {
return {

@@ -13,14 +12,7 @@ generateBundle: function(_outputOptions, bundle, _isWrite) {

bundleFile.code = {
iife: () => `
(function(){
${bundleFile.code}
return ${filename}.apply(this, arguments);
})()`,
function: () => `
bundleFile.code = `
function __${filename}() {
${bundleFile.code}
return ${filename}.apply(this, arguments);
}`,
}[type]();
}`;
},

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