@applitools/snippets
Advanced tools
Comparing version 2.4.23 to 2.4.24
# Changelog | ||
## [2.4.24](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets@2.4.23...js/snippets@2.4.24) (2023-09-21) | ||
### Bug Fixes | ||
* add support to shadow dom iframe ([#1925](https://github.com/applitools/eyes.sdk.javascript1/issues/1925)) ([a06b955](https://github.com/applitools/eyes.sdk.javascript1/commit/a06b9555a3b37918fe43a90e92c0a94f765151cc)) | ||
## [2.4.23](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets@2.4.22...js/snippets@2.4.23) (2023-08-18) | ||
@@ -4,0 +11,0 @@ |
@@ -26,3 +26,3 @@ exports.addElementIds=function(arg){ | ||
exports.getChildFramesInfo=function(arg){ | ||
var s=function(){"use strict";return function(){var r=document.querySelectorAll("frame, iframe");return Array.prototype.map.call(r,(function(r){return[r,!r.contentDocument,r.src]}))}}(); | ||
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)}()}}(); | ||
return s(arg) | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@applitools/snippets", | ||
"version": "2.4.23", | ||
"version": "2.4.24", | ||
"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
36399
176