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

@applitools/snippets

Package Overview
Dependencies
Maintainers
52
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/snippets - npm Package Compare versions

Comparing version 2.4.24 to 2.4.25

7

CHANGELOG.md
# Changelog
## [2.4.25](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets@2.4.24...js/snippets@2.4.25) (2024-01-30)
### Bug Fixes
* losing root context after layout breakpoints reload ([#2113](https://github.com/applitools/eyes.sdk.javascript1/issues/2113)) ([afa1473](https://github.com/applitools/eyes.sdk.javascript1/commit/afa14735e5539ab0f79aa610e6ec1ea8989a5922))
## [2.4.24](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets@2.4.23...js/snippets@2.4.24) (2023-09-21)

@@ -4,0 +11,0 @@

64

dist/index.js
exports.addElementIds=function(arg){
var s=function(){"use strict";return function(t){var o=t[0],r=t[1];return o.map((function(t,o){var e=[t];if(t.getRootNode)for(var a=t.getRootNode();a!==document&&a.constructor&&"ShadowRoot"===a.constructor.name;a=a.host.getRootNode())e.push(a.host);var n=r[o];return e.map((function(t){var o=t.getAttribute("data-applitools-selector"),r=o?o+" "+n:n;return t.setAttribute("data-applitools-selector",r),'[data-applitools-selector~="'+n+'"]'}))}))}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var o=t[0],e=t[1];return o.map((function(t,o){var r=[t];if(t.getRootNode)for(var a=t.getRootNode();a!==document&&a.constructor&&"ShadowRoot"===a.constructor.name;a=a.host.getRootNode())r.push(a.host);var n=e[o];return r.map((function(t){var o=t.getAttribute("data-applitools-selector"),e=o?o+" "+n:n;return t.setAttribute("data-applitools-selector",e),'[data-applitools-selector~="'+n+'"]'}))}))}))}();
return s(arg)
}
exports.addPageMarker=function(arg){
var s=function(){"use strict";var t=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),i=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),i};return function(e){var r=e[0],o=r.mask,n=r.size,i=void 0===n?1:n,a={1:"rgb(0, 0, 0)",0:"rgb(255, 255, 255)"},s=i,p=document.createElement("div");p.setAttribute("data-applitools-marker",""),p.style.setProperty("position","fixed","important"),p.style.setProperty("top","0","important"),p.style.setProperty("left","0","important"),p.style.setProperty("box-sizing","content-box","important"),p.style.setProperty("padding",s+"px","important"),p.style.setProperty("background","rgb(128, 128, 128)","important"),p.style.setProperty("z-index","2147483647","important");for(var l,y=0;y<o.length;y+=l){for(l=1;o[y]===o[y+l];)++l;var m=o[y],d=document.createElement("div");d.style.setProperty("display","block","important"),d.style.setProperty("float","left","important"),d.style.setProperty("width",l*i+"px","important"),d.style.setProperty("height",i+"px","important"),d.style.setProperty("background",a[m],"important"),p.appendChild(d)}var u={value:"none",important:!0},c=t([document.documentElement,{transform:u,"-webkit-transform":u}]),f=t([document.body,{transform:u,"-webkit-transform":u}]);return document.documentElement.setAttribute("data-applitools-original-transforms",JSON.stringify(c)),document.body.setAttribute("data-applitools-original-transforms",JSON.stringify(f)),document.body.appendChild(p),{mask:o,size:i,offset:s}}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),a=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),a};return t((function(t){var r=t[0],o=r.mask,n=r.size,a=void 0===n?1:n,i={1:"rgb(0, 0, 0)",0:"rgb(255, 255, 255)"},s=a,p=document.createElement("div");p.setAttribute("data-applitools-marker",""),p.style.setProperty("position","fixed","important"),p.style.setProperty("top","0","important"),p.style.setProperty("left","0","important"),p.style.setProperty("box-sizing","content-box","important"),p.style.setProperty("padding",s+"px","important"),p.style.setProperty("background","rgb(128, 128, 128)","important"),p.style.setProperty("z-index","2147483647","important");for(var l,y=0;y<o.length;y+=l){for(l=1;o[y]===o[y+l];)++l;var m=o[y],d=document.createElement("div");d.style.setProperty("display","block","important"),d.style.setProperty("float","left","important"),d.style.setProperty("width",l*a+"px","important"),d.style.setProperty("height",a+"px","important"),d.style.setProperty("background",i[m],"important"),p.appendChild(d)}var u={value:"none",important:!0},c=e([document.documentElement,{transform:u,"-webkit-transform":u}]),f=e([document.body,{transform:u,"-webkit-transform":u}]);return document.documentElement.setAttribute("data-applitools-original-transforms",JSON.stringify(c)),document.body.setAttribute("data-applitools-original-transforms",JSON.stringify(f)),document.body.appendChild(p),{mask:o,size:a,offset:s}}))}();
return s(arg)
}
exports.blurElement=function(arg){
var s=function(){"use strict";return function(t){var n=(void 0===t?[]:t)[0]||document.activeElement;return n&&n.blur(),n}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=(void 0===t?[]:t)[0]||document.activeElement;return e&&e.blur(),e}))}();
return s(arg)
}
exports.cleanupElementIds=function(arg){
var s=function(){"use strict";return function(o){o[0].forEach((function(o){if(o.removeAttribute("data-applitools-selector"),o.getRootNode)for(var t=o.getRootNode();t!==document&&t.constructor&&"ShadowRoot"===t.constructor.name;t=t.host.getRootNode())t.host.removeAttribute("data-applitools-selector")}))}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){t[0].forEach((function(t){if(t.removeAttribute("data-applitools-selector"),t.getRootNode)for(var o=t.getRootNode();o!==document&&o.constructor&&"ShadowRoot"===o.constructor.name;o=o.host.getRootNode())o.host.removeAttribute("data-applitools-selector")}))}))}();
return s(arg)
}
exports.cleanupPageMarker=function(arg){
var s=function(){"use strict";var t=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),a=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),a};return function(){var e=document.querySelector("[data-applitools-marker]");e&&document.body.removeChild(e);var r=document.documentElement.getAttribute("data-applitools-original-transforms"),o=document.body.getAttribute("data-applitools-original-transforms");r&&t([document.documentElement,JSON.parse(r)]),o&&t([document.body,JSON.parse(o)])}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),a=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),a};return t((function(){var t=document.querySelector("[data-applitools-marker]");t&&document.body.removeChild(t);var r=document.documentElement.getAttribute("data-applitools-original-transforms"),o=document.body.getAttribute("data-applitools-original-transforms");r&&e([document.documentElement,JSON.parse(r)]),o&&e([document.body,JSON.parse(o)])}))}();
return s(arg)
}
exports.focusElement=function(arg){
var s=function(){"use strict";return function(n){var r=(void 0===n?[]:n)[0];r&&r.focus()}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=(void 0===t?[]:t)[0];e&&e.focus()}))}();
return s(arg)
}
exports.getChildFramesInfo=function(arg){
var s=function(){"use strict";return function(){return function r(t){t=t||document;var n=[];t.querySelectorAll("frame, iframe").forEach((function(r){return n.push([r,!r.contentDocument,r.src])}));var o=Array.prototype.filter.call(t.querySelectorAll("*"),(function(r){return r.shadowRoot})).map((function(t){return r(t.shadowRoot)}));return n.concat.apply(n,o)}()}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(){return function t(r){r=r||document;var e=[];r.querySelectorAll("frame, iframe").forEach((function(t){return e.push([t,!t.contentDocument,t.src])}));var n=Array.prototype.filter.call(r.querySelectorAll("*"),(function(t){return t.shadowRoot})).map((function(r){return t(r.shadowRoot)}));return e.concat.apply(e,n)}()}))}();
return s(arg)
}
exports.getContextInfo=function(arg){
var s=function(){"use strict";var t=function(t){var n=(void 0===t?[]:t)[0],e="",r=n.ownerDocument;if(!r)return e;for(var o=n;o!==r;){var a=Array.prototype.filter.call(o.parentNode.childNodes,(function(t){return t.tagName===o.tagName})).indexOf(o);e="/"+o.tagName+"["+(a+1)+"]"+e,o=o.parentNode}return e};return function(){var n,e,r;try{n=window.top.document===window.document||"root-context"===window.document["applitools-marker"]}catch(t){n=!1}try{e=!window.parent.document===window.document}catch(t){e=!0}if(!e)try{r=t([window.frameElement])}catch(t){r=null}return[document.documentElement,r,n,e]}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=(void 0===t?[]:t)[0],n="",r=e.ownerDocument;if(!r)return n;for(var o=e;o!==r;){var a=Array.prototype.filter.call(o.parentNode.childNodes,(function(t){return t.tagName===o.tagName})).indexOf(o);n="/"+o.tagName+"["+(a+1)+"]"+n,o=o.parentNode}return n};return t((function(){var t,n,r;try{t=window.top.document===window.document||"root-context"===window.parent.document["applitools-marker"]}catch(e){t=!1}try{n=!window.parent.document===window.document}catch(t){n=!0}if(!n)try{r=e([window.frameElement])}catch(t){r=null}return[document.documentElement,r,t,n]}))}();
return s(arg)
}
exports.getDocumentScrollingElement=function(arg){
var s=function(){"use strict";return function(){var t="HTML",e=document.scrollingElement;return e&&(t=e.tagName),t.toLowerCase()}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(){var t="HTML",e=document.scrollingElement;return e&&(t=e.tagName),t.toLowerCase()}))}();
return s(arg)
}
exports.getDocumentSize=function(arg){
var s=function(){"use strict";return function(){var t=document.documentElement.scrollWidth,e=document.documentElement.scrollHeight,n=document.documentElement.clientHeight,c=document.body.scrollWidth,o=document.body.scrollHeight,d=document.body.clientHeight;return{width:Math.max(t,c),height:Math.max(n,e,d,o)}}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(){var t=document.documentElement.scrollWidth,e=document.documentElement.scrollHeight,n=document.documentElement.clientHeight,o=document.body.scrollWidth,c=document.body.scrollHeight,u=document.body.clientHeight;return{width:Math.max(t,o),height:Math.max(n,e,u,c)}}))}();
return s(arg)
}
exports.getElementComputedStyleProperties=function(arg){
var s=function(){"use strict";return function(t){var r=void 0===t?[]:t,e=r[0],n=r[1],u=void 0===n?[]:n,o=window.getComputedStyle(e);return o?u.map((function(t){return o.getPropertyValue(t)})):[]}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=void 0===t?[]:t,r=e[0],n=e[1],u=void 0===n?[]:n,o=window.getComputedStyle(r);return o?u.map((function(t){return o.getPropertyValue(t)})):[]}))}();
return s(arg)
}
exports.getElementContentSize=function(arg){
var s=function(){"use strict";var t=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),a=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),a};return function(e){var r,o,n,a=(void 0===e?[]:e)[0];a!==document.documentElement&&a.tagName.toLowerCase()!==(o="HTML",(n=document.scrollingElement)&&(o=n.tagName),o.toLowerCase())||(r=t([a,{transform:"none"}]));var i={width:a.scrollWidth,height:a.scrollHeight};return r&&t([a,r]),i}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),a=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),a},r=function(){var t="HTML",e=document.scrollingElement;return e&&(t=e.tagName),t.toLowerCase()};return t((function(t){var o,n=(void 0===t?[]:t)[0];n!==document.documentElement&&n.tagName.toLowerCase()!==r()||(o=e([n,{transform:"none"}]));var a={width:n.scrollWidth,height:n.scrollHeight};return o&&e([n,o]),a}))}();
return s(arg)
}
exports.getElementFixedAncestor=function(arg){
var s=function(){"use strict";return function(t){for(var e=(void 0===t?[]:t)[0];e.offsetParent&&e.offsetParent!==document.body&&e.offsetParent!==document.documentElement;)e=e.offsetParent;return"fixed"===window.getComputedStyle(e).getPropertyValue("position")?e:null}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){for(var e=(void 0===t?[]:t)[0];e.offsetParent&&e.offsetParent!==document.body&&e.offsetParent!==document.documentElement;)e=e.offsetParent;return"fixed"===window.getComputedStyle(e).getPropertyValue("position")?e:null}))}();
return s(arg)
}
exports.getElementInnerOffset=function(arg){
var s=function(){"use strict";var r=function(r){var t=(void 0===r?[]:r)[0];return t?{x:t.scrollLeft,y:t.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}};var t=function(r){var t=void 0===r?[]:r,e=t[0],o=t[1];return(void 0===o?[]:o).reduce((function(r,t){return r[t]={value:e.style.getPropertyValue(t),important:Boolean(e.style.getPropertyPriority(t))},r}),{})};var e=function(r){var e=(void 0===r?[]:r)[0],o=void 0===e?document.documentElement:e,n=t([o,["transform","-webkit-transform"]]),i=Object.keys(n).reduce((function(r,t){var e=n[t].value;if(e){var o=e.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(o){var i=o[1],a=void 0!==o[3]?o[3]:0;r.push({x:Math.round(-parseFloat(i)),y:Math.round(-parseFloat(a))})}else r.push({x:0,y:0})}return r}),[]);if(!i.every((function(r){return i[0].x===r.x||i[0].y===r.y})))throw new Error("Got different css positions!");return i[0]||{x:0,y:0}};return function(t){var o=(void 0===t?[]:t)[0],n=r([o]),i=e([o]);return{x:n.x+i.x,y:n.y+i.y}}}();
var s=function(){"use strict";function r(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var t=function(r){var t=void 0===r?[]:r,e=t[0],o=t[1];return(void 0===o?[]:o).reduce((function(r,t){return r[t]={value:e.style.getPropertyValue(t),important:Boolean(e.style.getPropertyPriority(t))},r}),{})};var e=function(r){var t=(void 0===r?[]:r)[0];return t?{x:t.scrollLeft,y:t.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}},o=function(r){var e=(void 0===r?[]:r)[0],o=void 0===e?document.documentElement:e,n=t([o,["transform","-webkit-transform"]]),u=Object.keys(n).reduce((function(r,t){var e=n[t].value;if(e){var o=e.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(o){var u=o[1],a=void 0!==o[3]?o[3]:0;r.push({x:Math.round(-parseFloat(u)),y:Math.round(-parseFloat(a))})}else r.push({x:0,y:0})}return r}),[]);if(!u.every((function(r){return u[0].x===r.x||u[0].y===r.y})))throw new Error("Got different css positions!");return u[0]||{x:0,y:0}};return r((function(r){var t=(void 0===r?[]:r)[0],n=e([t]),u=o([t]);return{x:n.x+u.x,y:n.y+u.y}}))}();
return s(arg)
}
exports.getElementProperties=function(arg){
var s=function(){"use strict";return function(r){var n=void 0===r?[]:r,t=n[0],u=n[1];return(void 0===u?[]:u).reduce((function(r,n){return r[n]=t[n],r}),{})}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var r=void 0===t?[]:t,e=r[0],n=r[1];return(void 0===n?[]:n).reduce((function(t,r){return t[r]=e[r],t}),{})}))}();
return s(arg)
}
exports.getElementRect=function(arg){
var s=function(){"use strict";var t=function(t){for(var e=(void 0===t?[]:t)[0];e.offsetParent&&e.offsetParent!==document.body&&e.offsetParent!==document.documentElement;)e=e.offsetParent;return"fixed"===window.getComputedStyle(e).getPropertyValue("position")?e:null};var e=function(t){var e=(void 0===t?[]:t)[0];return e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}};var r=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1];return(void 0===o?[]:o).reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{})};var o=function(t){var e=(void 0===t?[]:t)[0],o=void 0===e?document.documentElement:e,n=r([o,["transform","-webkit-transform"]]),i=Object.keys(n).reduce((function(t,e){var r=n[e].value;if(r){var o=r.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(o){var i=o[1],a=void 0!==o[3]?o[3]:0;t.push({x:Math.round(-parseFloat(i)),y:Math.round(-parseFloat(a))})}else t.push({x:0,y:0})}return t}),[]);if(!i.every((function(t){return i[0].x===t.x||i[0].y===t.y})))throw new Error("Got different css positions!");return i[0]||{x:0,y:0}};var n=function(t){var r=(void 0===t?[]:t)[0],n=e([r]),i=o([r]);return{x:n.x+i.x,y:n.y+i.y}};return function(e){var r,o,i=void 0===e?[]:e,a=i[0],d=i[1],u=void 0!==d&&d;if(a===document.documentElement||a.tagName.toLowerCase()===(r="HTML",(o=document.scrollingElement)&&(r=o.tagName),r.toLowerCase()))return{x:0,y:0,width:a.clientWidth,height:a.clientHeight};var s=a.getBoundingClientRect(),l={x:s.left,y:s.top,width:s.width,height:s.height};if(u){var f=window.getComputedStyle(a);l.x+=parseInt(f.getPropertyValue("border-left-width")),l.y+=parseInt(f.getPropertyValue("border-top-width")),l.width=a.clientWidth,l.height=a.clientHeight}var c=t([a]);if(c){if(c!==a){var v=n([c]);l.x+=v.x,l.y+=v.y}}else{var y=n();l.x+=y.x,l.y+=y.y}return l}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=void 0===t?[]:t,r=e[0],o=e[1];return(void 0===o?[]:o).reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{})};var r=function(t){var e=(void 0===t?[]:t)[0];return e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}},o=function(t){var r=(void 0===t?[]:t)[0],o=void 0===r?document.documentElement:r,n=e([o,["transform","-webkit-transform"]]),i=Object.keys(n).reduce((function(t,e){var r=n[e].value;if(r){var o=r.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(o){var i=o[1],a=void 0!==o[3]?o[3]:0;t.push({x:Math.round(-parseFloat(i)),y:Math.round(-parseFloat(a))})}else t.push({x:0,y:0})}return t}),[]);if(!i.every((function(t){return i[0].x===t.x||i[0].y===t.y})))throw new Error("Got different css positions!");return i[0]||{x:0,y:0}};var n=function(t){for(var e=(void 0===t?[]:t)[0];e.offsetParent&&e.offsetParent!==document.body&&e.offsetParent!==document.documentElement;)e=e.offsetParent;return"fixed"===window.getComputedStyle(e).getPropertyValue("position")?e:null},i=function(t){var e=(void 0===t?[]:t)[0],n=r([e]),i=o([e]);return{x:n.x+i.x,y:n.y+i.y}},a=function(){var t="HTML",e=document.scrollingElement;return e&&(t=e.tagName),t.toLowerCase()};return t((function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],u=void 0!==o&&o;if(r===document.documentElement||r.tagName.toLowerCase()===a())return{x:0,y:0,width:r.clientWidth,height:r.clientHeight};var d=r.getBoundingClientRect(),l={x:d.left,y:d.top,width:d.width,height:d.height};if(u){var f=window.getComputedStyle(r);l.x+=parseInt(f.getPropertyValue("border-left-width")),l.y+=parseInt(f.getPropertyValue("border-top-width")),l.width=r.clientWidth,l.height=r.clientHeight}var s=n([r]);if(s){if(s!==r){var c=i([s]);l.x+=c.x,l.y+=c.y}}else{var v=i();l.x+=v.x,l.y+=v.y}return l}))}();
return s(arg)
}
exports.getElementScrollOffset=function(arg){
var s=function(){"use strict";return function(o){var r=(void 0===o?[]:o)[0];return r?{x:r.scrollLeft,y:r.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}}}();
var s=function(){"use strict";function o(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}return o((function(o){var t=(void 0===o?[]:o)[0];return t?{x:t.scrollLeft,y:t.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}}))}();
return s(arg)
}
exports.getElementStyleProperties=function(arg){
var s=function(){"use strict";return function(r){var t=void 0===r?[]:r,e=t[0],n=t[1];return(void 0===n?[]:n).reduce((function(r,t){return r[t]={value:e.style.getPropertyValue(t),important:Boolean(e.style.getPropertyPriority(t))},r}),{})}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=void 0===t?[]:t,r=e[0],o=e[1];return(void 0===o?[]:o).reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{})}))}();
return s(arg)
}
exports.getElementTranslateOffset=function(arg){
var s=function(){"use strict";var r=function(r){var t=void 0===r?[]:r,e=t[0],n=t[1];return(void 0===n?[]:n).reduce((function(r,t){return r[t]={value:e.style.getPropertyValue(t),important:Boolean(e.style.getPropertyPriority(t))},r}),{})};return function(t){var e=(void 0===t?[]:t)[0],n=void 0===e?document.documentElement:e,o=r([n,["transform","-webkit-transform"]]),u=Object.keys(o).reduce((function(r,t){var e=o[t].value;if(e){var n=e.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(n){var u=n[1],a=void 0!==n[3]?n[3]:0;r.push({x:Math.round(-parseFloat(u)),y:Math.round(-parseFloat(a))})}else r.push({x:0,y:0})}return r}),[]);if(!u.every((function(r){return u[0].x===r.x||u[0].y===r.y})))throw new Error("Got different css positions!");return u[0]||{x:0,y:0}}}();
var s=function(){"use strict";function r(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var t=function(r){var t=void 0===r?[]:r,e=t[0],n=t[1];return(void 0===n?[]:n).reduce((function(r,t){return r[t]={value:e.style.getPropertyValue(t),important:Boolean(e.style.getPropertyPriority(t))},r}),{})};return r((function(r){var e=(void 0===r?[]:r)[0],n=void 0===e?document.documentElement:e,o=t([n,["transform","-webkit-transform"]]),u=Object.keys(o).reduce((function(r,t){var e=o[t].value;if(e){var n=e.match(/^translate\s*\(\s*(\-?[\d, \.]+)px\s*(,\s*(-?[\d, \.]+)px)?\s*\)/);if(n){var u=n[1],a=void 0!==n[3]?n[3]:0;r.push({x:Math.round(-parseFloat(u)),y:Math.round(-parseFloat(a))})}else r.push({x:0,y:0})}return r}),[]);if(!u.every((function(r){return u[0].x===r.x||u[0].y===r.y})))throw new Error("Got different css positions!");return u[0]||{x:0,y:0}}))}();
return s(arg)
}
exports.getElementXpath=function(arg){
var s=function(){"use strict";return function(r){var e=(void 0===r?[]:r)[0],t="",n=e.ownerDocument;if(!n)return t;for(var a=e;a!==n;){var o=Array.prototype.filter.call(a.parentNode.childNodes,(function(r){return r.tagName===a.tagName})).indexOf(a);t="/"+a.tagName+"["+(o+1)+"]"+t,a=a.parentNode}return t}}();
var s=function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}return e((function(e){var r=(void 0===e?[]:e)[0],t="",n=r.ownerDocument;if(!n)return t;for(var a=r;a!==n;){var o=Array.prototype.filter.call(a.parentNode.childNodes,(function(e){return e.tagName===a.tagName})).indexOf(a);t="/"+a.tagName+"["+(o+1)+"]"+t,a=a.parentNode}return t}))}();
return s(arg)
}
exports.getShadowRoot=function(arg){
var s=function(){"use strict";return function(t){return(void 0===t?[]:t)[0].shadowRoot}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){return(void 0===t?[]:t)[0].shadowRoot}))}();
return s(arg)
}
exports.getText=function(arg){
var s=function(){"use strict";return function(n){return n[0].innerText}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){return t[0].innerText}))}();
return s(arg)
}
exports.getUserAgent=function(arg){
var s=function(){"use strict";function t(){return t=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.apply(this,arguments)}var n="__EYES__APPLITOOLS__",r="userAgent";return window[n]=window[n]||{},function(){try{if(window[n][r]){var i=window[n][r];return"WIP"!==i.status&&delete window[n][r],JSON.stringify(i)}return window.navigator.userAgentData?(window[n][r]={status:"WIP"},window.navigator.userAgentData.getHighEntropyValues(["brands","platform","platformVersion","model"]).then((function(i){window[n][r]={status:"SUCCESS",value:t({legacy:window.navigator.userAgent},i)}})).catch((function(t){window[n][r]={status:"ERROR",error:t.message}}))):window[n][r]={status:"SUCCESS",value:window.navigator.userAgent},JSON.stringify(window[n][r])}catch(t){return window[n][r]={status:"ERROR",error:t.message},JSON.stringify(window[n][r])}}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(){return n=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},n.apply(this,arguments)}var r="__EYES__APPLITOOLS__",e="userAgent";return window[r]=window[r]||{},t((function(){try{if(window[r][e]){var t=window[r][e];return"WIP"!==t.status&&delete window[r][e],JSON.stringify(t)}return window.navigator.userAgentData?(window[r][e]={status:"WIP"},window.navigator.userAgentData.getHighEntropyValues(["brands","platform","platformVersion","model"]).then((function(t){window[r][e]={status:"SUCCESS",value:n({legacy:window.navigator.userAgent},t)}})).catch((function(t){window[r][e]={status:"ERROR",error:t.message}}))):window[r][e]={status:"SUCCESS",value:window.navigator.userAgent},JSON.stringify(window[r][e])}catch(t){return window[r][e]={status:"ERROR",error:t.message},JSON.stringify(window[r][e])}}))}();
return s(arg)
}
exports.getViewport=function(arg){
var s=function(){"use strict";return function(){var n,e=0,t=0;return window.innerHeight?t=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?t=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(t=document.body.clientHeight),window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),window.screen&&window.screen.orientation?n=window.screen.orientation.type.replace(/-primary$/,""):null!=window.orientation&&(0===window.orientation?n="portrait":180===window.orientation?n="portrait-secondary":90===window.orientation?n="landscape":-90===window.orientation&&(n="landscape-secondary")),{viewportSize:{width:e,height:t},pixelRatio:window.devicePixelRatio,viewportScale:window.visualViewport&&window.visualViewport.scale,orientation:n}}}();
var s=function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}return e((function(){var e,n=0,t=0;return window.innerHeight?t=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?t=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(t=document.body.clientHeight),window.innerWidth?n=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?n=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(n=document.body.clientWidth),window.screen&&window.screen.orientation?e=window.screen.orientation.type.replace(/-primary$/,""):null!=window.orientation&&(0===window.orientation?e="portrait":180===window.orientation?e="portrait-secondary":90===window.orientation?e="landscape":-90===window.orientation&&(e="landscape-secondary")),{viewportSize:{width:n,height:t},pixelRatio:window.devicePixelRatio,viewportScale:window.visualViewport&&window.visualViewport.scale,orientation:e}}))}();
return s(arg)
}
exports.isElementScrollable=function(arg){
var s=function(){"use strict";var t=function(t){var o=void 0===t?[]:t,r=o[0],e=o[1],i=void 0===e?[]:e,n=window.getComputedStyle(r);return n?i.map((function(t){return n.getPropertyValue(t)})):[]};return function(o){var r=(void 0===o?[]:o)[0],e=t([r,["overflow-x","overflow-y","overflow"]]);return("scroll"===e[0]||"auto"===e[0]||"hidden"===e[2])&&r.scrollWidth>r.clientWidth||("scroll"===e[1]||"auto"===e[1]||"hidden"===e[2])&&r.scrollHeight>r.clientHeight}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e=function(t){var e=void 0===t?[]:t,o=e[0],r=e[1],n=void 0===r?[]:r,l=window.getComputedStyle(o);return l?n.map((function(t){return l.getPropertyValue(t)})):[]};return t((function(t){var o=(void 0===t?[]:t)[0],r=e([o,["overflow-x","overflow-y","overflow"]]);return("scroll"===r[0]||"auto"===r[0]||"hidden"===r[2])&&o.scrollWidth>o.clientWidth||("scroll"===r[1]||"auto"===r[1]||"hidden"===r[2])&&o.scrollHeight>o.clientHeight}))}();
return s(arg)
}
exports.isEqualElements=function(arg){
var s=function(){"use strict";return function(r){var n=void 0===r?[]:r;return n[0]===n[1]}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var r=void 0===t?[]:t;return r[0]===r[1]}))}();
return s(arg)
}
exports.lazyLoad=function(arg){
var s=function(){"use strict";var o=function(o){var t=(void 0===o?[]:o)[0];return t?{x:t.scrollLeft,y:t.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}};var t=function(o){var t=void 0===o?[]:o,r=t[0],n=t[1],i=Object.keys(n).sort(),e=i.reduce((function(o,t){return o[t]={value:r.style.getPropertyValue(t),important:Boolean(r.style.getPropertyPriority(t))},o}),{});return i.forEach((function(o){r.style.setProperty(o,"string"!=typeof n[o]&&n[o]?n[o].value:n[o],n[o]&&n[o].important?"important":"")})),e};var r=function(o){var r=void 0===o?[]:o,n=r[0],i=r[1];n=n||document.documentElement;var e=t([n,{"scroll-behavior":{value:"auto",important:!0}}]);return n.scrollTo?n.scrollTo(i.x,i.y):(n.scrollLeft=i.x,n.scrollTop=i.y),t([n,e]),{x:n.scrollLeft,y:n.scrollTop}},n="__EYES__APPLITOOLS__",i="lazyLoadResult";return window[n]=window[n]||{},function(t){var e=void 0===t?[]:t,l=e[0],s=e[1],a=void 0===s?{}:s,u=a.scrollLength,c=a.waitingTime,w=a.maxAmountToScroll;try{if(window[n][i]){var d=window[n][i];return"WIP"!==d.status&&delete window[n][i],JSON.stringify(d)}window[n][i]={status:"WIP"};var v=o(),y=[];y.push({maxAmountToScroll:w,scrollLength:u,waitingTime:c,startingScrollPositionX:v.x,startingScrollPositionY:v.y});var f=Date.now();return function o(t){var e=void 0===t?{}:t,s=e.doneScrolling,a=e.previousScrollResult,d=void 0===a?{}:a;setTimeout((function(){try{if(s){var t=r([l,v]),e=t.x,a=t.y;return y.push({x:e,y:a,msSinceStart:Date.now()-f}),void(window[n][i]={status:"SUCCESS",value:y})}var c=r([l,{x:v.x,y:d.y+u}]),S=c.x,p=c.y;y.push({x:S,y:p,msSinceStart:Date.now()-f}),o({doneScrolling:p===d.y||p===w,previousScrollResult:{x:S,y:p}})}catch(o){window[n][i]={status:"ERROR",error:o}}}),c)}(),JSON.stringify(window[n][i])}catch(o){return window[n][i]={status:"ERROR",error:o},JSON.stringify(window[n][i])}}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o=function(t){var o=(void 0===t?[]:t)[0];return o?{x:o.scrollLeft,y:o.scrollTop}:{x:window.scrollX||window.pageXOffset,y:window.scrollY||window.pageYOffset}};var r=function(t){var o=void 0===t?[]:t,r=o[0],n=o[1],e=Object.keys(n).sort(),i=e.reduce((function(t,o){return t[o]={value:r.style.getPropertyValue(o),important:Boolean(r.style.getPropertyPriority(o))},t}),{});return e.forEach((function(t){r.style.setProperty(t,"string"!=typeof n[t]&&n[t]?n[t].value:n[t],n[t]&&n[t].important?"important":"")})),i};var n=function(t){var o=void 0===t?[]:t,n=o[0],e=o[1];n=n||document.documentElement;var i=r([n,{"scroll-behavior":{value:"auto",important:!0}}]);return n.scrollTo?n.scrollTo(e.x,e.y):(n.scrollLeft=e.x,n.scrollTop=e.y),r([n,i]),{x:n.scrollLeft,y:n.scrollTop}},e="__EYES__APPLITOOLS__",i="lazyLoadResult";window[e]=window[e]||{};var l=o,a=n;return t((function(t){var o=void 0===t?[]:t,r=o[0],n=o[1],s=void 0===n?{}:n,u=s.scrollLength,c=s.waitingTime,w=s.maxAmountToScroll;try{if(window[e][i]){var d=window[e][i];return"WIP"!==d.status&&delete window[e][i],JSON.stringify(d)}window[e][i]={status:"WIP"};var v=l(),y=[];y.push({maxAmountToScroll:w,scrollLength:u,waitingTime:c,startingScrollPositionX:v.x,startingScrollPositionY:v.y});var f=Date.now();return function t(o){var n=void 0===o?{}:o,l=n.doneScrolling,s=n.previousScrollResult,d=void 0===s?{}:s;setTimeout((function(){try{if(l){var o=a([r,v]),n=o.x,s=o.y;return y.push({x:n,y:s,msSinceStart:Date.now()-f}),void(window[e][i]={status:"SUCCESS",value:y})}var c=a([r,{x:v.x,y:d.y+u}]),p=c.x,S=c.y;y.push({x:p,y:S,msSinceStart:Date.now()-f}),t({doneScrolling:S===d.y||S===w,previousScrollResult:{x:p,y:S}})}catch(t){window[e][i]={status:"ERROR",error:t}}}),c)}(),JSON.stringify(window[e][i])}catch(t){return window[e][i]={status:"ERROR",error:t},JSON.stringify(window[e][i])}}))}();
return s(arg)
}
exports.reloadPage=function(arg){
var s=function(){"use strict";return function(){window.location.reload()}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(){window.location.reload()}))}();
return s(arg)
}
exports.scrollTo=function(arg){
var s=function(){"use strict";var t=function(t){var r=void 0===t?[]:t,o=r[0],e=r[1],l=Object.keys(e).sort(),n=l.reduce((function(t,r){return t[r]={value:o.style.getPropertyValue(r),important:Boolean(o.style.getPropertyPriority(r))},t}),{});return l.forEach((function(t){o.style.setProperty(t,"string"!=typeof e[t]&&e[t]?e[t].value:e[t],e[t]&&e[t].important?"important":"")})),n};return function(r){var o=void 0===r?[]:r,e=o[0],l=o[1];e=e||document.documentElement;var n=t([e,{"scroll-behavior":{value:"auto",important:!0}}]);return e.scrollTo?e.scrollTo(l.x,l.y):(e.scrollLeft=l.x,e.scrollTop=l.y),t([e,n]),{x:e.scrollLeft,y:e.scrollTop}}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r=function(t){var r=void 0===t?[]:t,o=r[0],e=r[1],l=Object.keys(e).sort(),n=l.reduce((function(t,r){return t[r]={value:o.style.getPropertyValue(r),important:Boolean(o.style.getPropertyPriority(r))},t}),{});return l.forEach((function(t){o.style.setProperty(t,"string"!=typeof e[t]&&e[t]?e[t].value:e[t],e[t]&&e[t].important?"important":"")})),n};return t((function(t){var o=void 0===t?[]:t,e=o[0],l=o[1];e=e||document.documentElement;var n=r([e,{"scroll-behavior":{value:"auto",important:!0}}]);return e.scrollTo?e.scrollTo(l.x,l.y):(e.scrollLeft=l.x,e.scrollTop=l.y),r([e,n]),{x:e.scrollLeft,y:e.scrollTop}}))}();
return s(arg)
}
exports.setElementAttributes=function(arg){
var s=function(){"use strict";return function(t){var e=void 0===t?[]:t,r=e[0],u=e[1];return Object.keys(u).reduce((function(t,e){return t[e]=r.getAttribute(e),r.setAttribute(e,u[e]),t}),{})}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=void 0===t?[]:t,r=e[0],u=e[1];return Object.keys(u).reduce((function(t,e){return t[e]=r.getAttribute(e),r.setAttribute(e,u[e]),t}),{})}))}();
return s(arg)
}
exports.setElementStyleProperties=function(arg){
var s=function(){"use strict";return function(t){var r=void 0===t?[]:t,e=r[0],o=r[1],n=Object.keys(o).sort(),i=n.reduce((function(t,r){return t[r]={value:e.style.getPropertyValue(r),important:Boolean(e.style.getPropertyPriority(r))},t}),{});return n.forEach((function(t){e.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),i}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}return t((function(t){var e=void 0===t?[]:t,r=e[0],o=e[1],n=Object.keys(o).sort(),u=n.reduce((function(t,e){return t[e]={value:r.style.getPropertyValue(e),important:Boolean(r.style.getPropertyPriority(e))},t}),{});return n.forEach((function(t){r.style.setProperty(t,"string"!=typeof o[t]&&o[t]?o[t].value:o[t],o[t]&&o[t].important?"important":"")})),u}))}();
return s(arg)
}
exports.translateTo=function(arg){
var s=function(){"use strict";var t=function(t){var r=void 0===t?[]:t,e=r[0],n=r[1],o=Object.keys(n).sort(),a=o.reduce((function(t,r){return t[r]={value:e.style.getPropertyValue(r),important:Boolean(e.style.getPropertyPriority(r))},t}),{});return o.forEach((function(t){e.style.setProperty(t,"string"!=typeof n[t]&&n[t]?n[t].value:n[t],n[t]&&n[t].important?"important":"")})),a};return function(r){var e=void 0===r?[]:r,n=e[0],o=e[1];n=n||document.documentElement;var a={value:"translate("+-o.x+"px, "+-o.y+"px)",important:!0};return t([n,{transform:a,"-webkit-transform":a}]),o}}();
var s=function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r=function(t){var r=void 0===t?[]:t,e=r[0],n=r[1],o=Object.keys(n).sort(),a=o.reduce((function(t,r){return t[r]={value:e.style.getPropertyValue(r),important:Boolean(e.style.getPropertyPriority(r))},t}),{});return o.forEach((function(t){e.style.setProperty(t,"string"!=typeof n[t]&&n[t]?n[t].value:n[t],n[t]&&n[t].important?"important":"")})),a};return t((function(t){var e=void 0===t?[]:t,n=e[0],o=e[1];n=n||document.documentElement;var a={value:"translate("+-o.x+"px, "+-o.y+"px)",important:!0};return r([n,{transform:a,"-webkit-transform":a}]),o}))}();
return s(arg)
}
{
"name": "@applitools/snippets",
"version": "2.4.24",
"version": "2.4.25",
"repository": {

@@ -21,14 +21,16 @@ "type": "git",

"test:ie": "MOCHA_GROUP=ie run --top-level mocha './test/*.spec.js' --grep 'internet explorer' -r ./test/util/hook.js",
"test:ios": "MOCHA_GROUP=ios run --top-level mocha './test/*.spec.js' --grep 'ios safari' -r ./test/util/hook.js"
"test:ios": "MOCHA_GROUP=ios run --top-level mocha './test/*.spec.js' --grep 'ios safari' -r ./test/util/hook.js",
"setup": "run --top-level xvfb:setup && run playwright:setup",
"playwright:setup": "yarn playwright install --with-deps chromium"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.0.0",
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-terser": "^0.4.4",
"chalk": "^4.1.0",
"glob": "^7.1.6",
"playwright": "^1.37.0",
"rollup": "^2.26.11",
"rollup-plugin-terser": "^7.0.2",
"playwright": "^1.39.0",
"rollup": "^4.1.4",
"webdriverio": "^7.31.1",

@@ -35,0 +37,0 @@ "yargs": "^17.7.2"

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