@applitools/snippets
Advanced tools
Comparing version 2.4.19 to 2.4.20
@@ -109,2 +109,6 @@ exports.addElementIds=function(arg){ | ||
} | ||
exports.reloadPage=function(arg){ | ||
var s=function(){"use strict";return function(){window.location.reload()}}(); | ||
return s(arg) | ||
} | ||
exports.scrollTo=function(arg){ | ||
@@ -111,0 +115,0 @@ 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}}}(); |
{ | ||
"name": "@applitools/snippets", | ||
"version": "2.4.19", | ||
"version": "2.4.20", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35564
174