@applitools/snippets 2.4.22 → 2.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [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
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * 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))
9
+
10
+ ## [2.4.23](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets@2.4.22...js/snippets@2.4.23) (2023-08-18)
11
+
12
+
13
+ ### Code Refactoring
14
+
15
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
16
+
3
17
  ## [2.4.22](https://github.com/applitools/eyes.sdk.javascript1/compare/js/snippets-v2.4.21...js/snippets@2.4.22) (2023-08-03)
4
18
 
5
19
 
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var s=function(){"use strict";return function(n){var r=(void 0===n?[]:n)[0];r&&r
23
23
  return s(arg)
24
24
  }
25
25
  exports.getChildFramesInfo=function(arg){
26
- 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]}))}}();
26
+ 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)}()}}();
27
27
  return s(arg)
28
28
  }
29
29
  exports.getContextInfo=function(arg){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/snippets",
3
- "version": "2.4.22",
3
+ "version": "2.4.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1.git",
@@ -27,10 +27,10 @@
27
27
  "@rollup/plugin-commonjs": "^15.0.0",
28
28
  "chalk": "^4.1.0",
29
29
  "glob": "^7.1.6",
30
- "playwright": "^1.34.3",
30
+ "playwright": "^1.37.0",
31
31
  "rollup": "^2.26.11",
32
32
  "rollup-plugin-terser": "^7.0.2",
33
- "webdriverio": "^7.25.0",
33
+ "webdriverio": "^7.31.1",
34
34
  "yargs": "^17.7.2"
35
35
  },
36
36
  "engines": {