@applitools/dom-snapshot 4.18.10 → 4.18.12

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
@@ -9,6 +9,74 @@
9
9
  - fix style programmatic generated fallback
10
10
  - performance boost
11
11
 
12
+ ## [4.18.12](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.18.11...js/dom-snapshot@4.18.12) (2026-11-25)
13
+
14
+
15
+ ### Dependencies
16
+
17
+ * @applitools/utils bumped to 1.16.0
18
+ #### Features
19
+
20
+ * stitch iOS full pages without NML from the accessibility tree | AD-16309 ([#4202](https://github.com/Applitools-Dev/sdk/issues/4202)) ([123cbc8](https://github.com/Applitools-Dev/sdk/commit/123cbc85179d3179c5a8400bb3c1b9927561f8d9))
21
+ * @applitools/logger bumped to 2.3.5
22
+
23
+ * @applitools/dom-shared bumped to 1.2.6
24
+ #### Bug Fixes
25
+
26
+ * reloadPage awaits navigation so dom-snapshot can't race the layoutBreakpoints reload | AD-18455 ([#4540](https://github.com/Applitools-Dev/sdk/issues/4540)) ([accf317](https://github.com/Applitools-Dev/sdk/commit/accf317b44e4158c9b64f5f75524aad7450b7002))
27
+ * @applitools/driver bumped to 1.27.0
28
+ #### Features
29
+
30
+ * stitch iOS full pages without NML from the accessibility tree | AD-16309 ([#4202](https://github.com/Applitools-Dev/sdk/issues/4202)) ([123cbc8](https://github.com/Applitools-Dev/sdk/commit/123cbc85179d3179c5a8400bb3c1b9927561f8d9))
31
+
32
+
33
+ #### Bug Fixes
34
+
35
+ * reloadPage awaits navigation so dom-snapshot can't race the layoutBreakpoints reload | AD-18455 ([#4540](https://github.com/Applitools-Dev/sdk/issues/4540)) ([accf317](https://github.com/Applitools-Dev/sdk/commit/accf317b44e4158c9b64f5f75524aad7450b7002))
36
+
37
+
38
+
39
+ * @applitools/spec-driver-webdriver bumped to 1.7.0
40
+ #### Features
41
+
42
+ * stitch iOS full pages without NML from the accessibility tree | AD-16309 ([#4202](https://github.com/Applitools-Dev/sdk/issues/4202)) ([123cbc8](https://github.com/Applitools-Dev/sdk/commit/123cbc85179d3179c5a8400bb3c1b9927561f8d9))
43
+
44
+
45
+ #### Bug Fixes
46
+
47
+ * reloadPage awaits navigation so dom-snapshot can't race the layoutBreakpoints reload | AD-18455 ([#4540](https://github.com/Applitools-Dev/sdk/issues/4540)) ([accf317](https://github.com/Applitools-Dev/sdk/commit/accf317b44e4158c9b64f5f75524aad7450b7002))
48
+ * resolve shadow-root region selectors via the shadow endpoint | AD-18427 ([#4532](https://github.com/Applitools-Dev/sdk/issues/4532)) ([d43f26a](https://github.com/Applitools-Dev/sdk/commit/d43f26a0ca24285f31d7cfca5ea4a11a6f8461eb))
49
+
50
+
51
+
52
+ * @applitools/spec-driver-puppeteer bumped to 1.8.18
53
+ #### Bug Fixes
54
+
55
+ * reloadPage awaits navigation so dom-snapshot can't race the layoutBreakpoints reload | AD-18455 ([#4540](https://github.com/Applitools-Dev/sdk/issues/4540)) ([accf317](https://github.com/Applitools-Dev/sdk/commit/accf317b44e4158c9b64f5f75524aad7450b7002))
56
+
57
+
58
+
59
+ * @applitools/snippets bumped to 2.9.13
60
+
61
+ * @applitools/test-server bumped to 1.4.12
62
+
63
+
64
+ ## [4.18.11](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.18.10...js/dom-snapshot@4.18.11) (2026-11-18)
65
+
66
+
67
+ ### Dependencies
68
+
69
+ * @applitools/snippets bumped to 2.9.12
70
+
71
+ * @applitools/driver bumped to 1.26.17
72
+
73
+ * @applitools/spec-driver-webdriver bumped to 1.6.17
74
+
75
+ * @applitools/spec-driver-puppeteer bumped to 1.8.17
76
+
77
+ * @applitools/test-server bumped to 1.4.11
78
+
79
+
12
80
  ## [4.18.10](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.18.9...js/dom-snapshot@4.18.10) (2026-11-11)
13
81
 
14
82
 
@@ -1,4 +1,4 @@
1
- /* @applitools/dom-snapshot@4.18.10 */
1
+ /* @applitools/dom-snapshot@4.18.12 */
2
2
  function __pollResult() {
3
3
  var pollResult=function(){"use strict";return function(...t){const n=function(t,n,e){return function(){var t={};function o(t,n=0){const e=t.charCodeAt(n);return e>=55296&&e<56320?1024*(e-55296)+(t.charCodeAt(n+1)-56320)+65536:56320<=e&&e<=57343?-1:e}var r=function(t,n){const e=[];let r=0;for(let c=0;c<t.length;++c){const u=o(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),r+i>n?(e.push(c),r=i):r+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(r),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR",l="STATE_LOST";var f=function(t,e,o={}){const r=function(t,{chunkByteLength:e=0}={}){var o;if(t){if(t.status===l)return{status:l};if(t.value){if(e){if(!t.chunks)try{const r=void 0!==n?null===(o=n.__EYES__APPLITOOLS__)||void 0===o?void 0:o._stringify:void 0,u=(null!=r?r:JSON.stringify)(t.value);t.chunks=(0,c.default)(u,e),t.chunks.length>0&&(t.from=0,t.value=u)}catch(t){return{status:a,error:t.message}}if(t.from>=0)return{status:s,value:t.value.substring(t.from,t.from=t.chunks.shift()),done:!t.from}}return{status:i,value:t.value}}return t.error?{status:a,error:t.error}:{status:u}}return{status:a,error:"unexpected poll request received - cannot find state of current operation"}}((t=t||{})[e],o);return(r.status===i||r.status===a||r.status===l||r.status===s&&r.done)&&delete t[e],r};const d=f;var _=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessibleFrame=t.isInlineFrame=t.absolutizeUrl=p=t.poll=t.pollify=t.chunkify=void 0;const h=_(r);t.chunkify=h.default;const y=_((function(t,n,e){return o=>function(...r){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...r))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),d(n,e,o)}}));t.pollify=y.default;const m=_(f);var p=t.poll=m.default;const w=_((function(t,n){if(function(t){try{return new URL(t),!0}catch(t){return!1}}(t))return t;let e=!0;try{e=t!==decodeURI(t)}catch(t){e=!0}try{const o=new URL(t,n).href;return e?o:decodeURI(o)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=w.default;const S=_((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=S.default;const O=_((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=O.default,function(t){var n;const o=e.__EYES__APPLITOOLS__,r=null!==(n=null==o?void 0:o._stringify)&&void 0!==n?n:JSON.stringify;try{return r(p(o,"domSnapshotResult",t))}catch(t){return r({status:"ERROR",error:t.message})}}}()};let e=!0;if("undefined"!=typeof chrome&&chrome.runtime&&chrome.runtime.id)return n(document,window,window)(...t);try{let o=window.__applitools_sandbox;if(o&&!o.contentDocument){const d=window.__EYES__APPLITOOLS__||{};for(const _ in d){const h=d[_];!h||"object"!=typeof h||"value"in h||"error"in h||(d[_]={status:"STATE_LOST"})}o=null}o||(o=document.createElement("iframe"),o.setAttribute("data-applitools-sandbox",""),o.setAttribute("data-applitools-skip",""),document.head.appendChild(o),window.__applitools_sandbox=o);const r=Math.floor(4294967296*Math.random()),c=o.contentDocument.createElement("script");c.textContent="window['ctor-"+r+"'] = "+n.toString()+";",o.contentDocument.head.appendChild(c);const u=o.contentWindow["ctor-"+r];if(delete o.contentWindow["ctor-"+r],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=o.contentWindow,s=i.__EYES__APPLITOOLS__=i.__EYES__APPLITOOLS__||{};s._stringify||(s._stringify=i.JSON.stringify.bind(i.JSON));const a=window.__EYES__APPLITOOLS__=window.__EYES__APPLITOOLS__||{};function l(t){if(i.Array.isArray(t)){const n=new i.Array(t.length);for(let e=0;e<t.length;e++)n[e]=l(t[e]);return n}if(t&&"object"==typeof t&&Object.getPrototypeOf(t)===Object.prototype){const n=new i.Object;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=l(t[e]));return n}return t}a._stringify&&a._stringify!==JSON.stringify||(a._stringify=i.JSON.stringify.bind(i.JSON));const f=new i.Array(t.length);for(let y=0;y<t.length;y++)f[y]=l(t[y]);return u(document,window,i)(...f)}catch(m){try{return n(document,window,window)(...t)}catch(p){throw e?p:m}}}}();
4
4
  //# sourceMappingURL=pollResult.js.map
@@ -1,3 +1,3 @@
1
- /* @applitools/dom-snapshot@4.18.10 */
1
+ /* @applitools/dom-snapshot@4.18.12 */
2
2
  "use strict";module.exports=function(...t){const n=function(t,n,e){return function(){var t={};function o(t,n=0){const e=t.charCodeAt(n);return e>=55296&&e<56320?1024*(e-55296)+(t.charCodeAt(n+1)-56320)+65536:56320<=e&&e<=57343?-1:e}var r=function(t,n){const e=[];let r=0;for(let c=0;c<t.length;++c){const u=o(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),r+i>n?(e.push(c),r=i):r+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(r),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR",l="STATE_LOST";var f=function(t,e,o={}){const r=function(t,{chunkByteLength:e=0}={}){var o;if(t){if(t.status===l)return{status:l};if(t.value){if(e){if(!t.chunks)try{const r=void 0!==n?null===(o=n.__EYES__APPLITOOLS__)||void 0===o?void 0:o._stringify:void 0,u=(null!=r?r:JSON.stringify)(t.value);t.chunks=(0,c.default)(u,e),t.chunks.length>0&&(t.from=0,t.value=u)}catch(t){return{status:a,error:t.message}}if(t.from>=0)return{status:s,value:t.value.substring(t.from,t.from=t.chunks.shift()),done:!t.from}}return{status:i,value:t.value}}return t.error?{status:a,error:t.error}:{status:u}}return{status:a,error:"unexpected poll request received - cannot find state of current operation"}}((t=t||{})[e],o);return(r.status===i||r.status===a||r.status===l||r.status===s&&r.done)&&delete t[e],r};const d=f;var _=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessibleFrame=t.isInlineFrame=t.absolutizeUrl=p=t.poll=t.pollify=t.chunkify=void 0;const h=_(r);t.chunkify=h.default;const m=_((function(t,n,e){return o=>function(...r){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...r))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),d(n,e,o)}}));t.pollify=m.default;const y=_(f);var p=t.poll=y.default;const w=_((function(t,n){if(function(t){try{return new URL(t),!0}catch(t){return!1}}(t))return t;let e=!0;try{e=t!==decodeURI(t)}catch(t){e=!0}try{const o=new URL(t,n).href;return e?o:decodeURI(o)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=w.default;const S=_((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=S.default;const O=_((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=O.default,function(t){var n;const o=e.__EYES__APPLITOOLS__,r=null!==(n=null==o?void 0:o._stringify)&&void 0!==n?n:JSON.stringify;try{return r(p(o,"domSnapshotResult",t))}catch(t){return r({status:"ERROR",error:t.message})}}}()};let e=!0;if("undefined"!=typeof chrome&&chrome.runtime&&chrome.runtime.id)return n(document,window,window)(...t);try{let o=window.__applitools_sandbox;if(o&&!o.contentDocument){const d=window.__EYES__APPLITOOLS__||{};for(const _ in d){const h=d[_];!h||"object"!=typeof h||"value"in h||"error"in h||(d[_]={status:"STATE_LOST"})}o=null}o||(o=document.createElement("iframe"),o.setAttribute("data-applitools-sandbox",""),o.setAttribute("data-applitools-skip",""),document.head.appendChild(o),window.__applitools_sandbox=o);const r=Math.floor(4294967296*Math.random()),c=o.contentDocument.createElement("script");c.textContent="window['ctor-"+r+"'] = "+n.toString()+";",o.contentDocument.head.appendChild(c);const u=o.contentWindow["ctor-"+r];if(delete o.contentWindow["ctor-"+r],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=o.contentWindow,s=i.__EYES__APPLITOOLS__=i.__EYES__APPLITOOLS__||{};s._stringify||(s._stringify=i.JSON.stringify.bind(i.JSON));const a=window.__EYES__APPLITOOLS__=window.__EYES__APPLITOOLS__||{};function l(t){if(i.Array.isArray(t)){const n=new i.Array(t.length);for(let e=0;e<t.length;e++)n[e]=l(t[e]);return n}if(t&&"object"==typeof t&&Object.getPrototypeOf(t)===Object.prototype){const n=new i.Object;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=l(t[e]));return n}return t}a._stringify&&a._stringify!==JSON.stringify||(a._stringify=i.JSON.stringify.bind(i.JSON));const f=new i.Array(t.length);for(let m=0;m<t.length;m++)f[m]=l(t[m]);return u(document,window,i)(...f)}catch(y){try{return n(document,window,window)(...t)}catch(p){throw e?p:y}}};
3
3
  //# sourceMappingURL=pollResultCjs.js.map
@@ -1,3 +1,3 @@
1
- /* @applitools/dom-snapshot@4.18.10 */
1
+ /* @applitools/dom-snapshot@4.18.12 */
2
2
  function t(...t){const n=function(t,n,e){return function(){var t={};function o(t,n=0){const e=t.charCodeAt(n);return e>=55296&&e<56320?1024*(e-55296)+(t.charCodeAt(n+1)-56320)+65536:56320<=e&&e<=57343?-1:e}var r=function(t,n){const e=[];let r=0;for(let c=0;c<t.length;++c){const u=o(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),r+i>n?(e.push(c),r=i):r+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(r),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR",l="STATE_LOST";var f=function(t,e,o={}){const r=function(t,{chunkByteLength:e=0}={}){var o;if(t){if(t.status===l)return{status:l};if(t.value){if(e){if(!t.chunks)try{const r=void 0!==n?null===(o=n.__EYES__APPLITOOLS__)||void 0===o?void 0:o._stringify:void 0,u=(null!=r?r:JSON.stringify)(t.value);t.chunks=(0,c.default)(u,e),t.chunks.length>0&&(t.from=0,t.value=u)}catch(t){return{status:a,error:t.message}}if(t.from>=0)return{status:s,value:t.value.substring(t.from,t.from=t.chunks.shift()),done:!t.from}}return{status:i,value:t.value}}return t.error?{status:a,error:t.error}:{status:u}}return{status:a,error:"unexpected poll request received - cannot find state of current operation"}}((t=t||{})[e],o);return(r.status===i||r.status===a||r.status===l||r.status===s&&r.done)&&delete t[e],r};const d=f;var _=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessibleFrame=t.isInlineFrame=t.absolutizeUrl=p=t.poll=t.pollify=t.chunkify=void 0;const h=_(r);t.chunkify=h.default;const y=_((function(t,n,e){return o=>function(...r){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...r))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),d(n,e,o)}}));t.pollify=y.default;const m=_(f);var p=t.poll=m.default;const w=_((function(t,n){if(function(t){try{return new URL(t),!0}catch(t){return!1}}(t))return t;let e=!0;try{e=t!==decodeURI(t)}catch(t){e=!0}try{const o=new URL(t,n).href;return e?o:decodeURI(o)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=w.default;const S=_((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=S.default;const O=_((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=O.default,function(t){var n;const o=e.__EYES__APPLITOOLS__,r=null!==(n=null==o?void 0:o._stringify)&&void 0!==n?n:JSON.stringify;try{return r(p(o,"domSnapshotResult",t))}catch(t){return r({status:"ERROR",error:t.message})}}}()};let e=!0;if("undefined"!=typeof chrome&&chrome.runtime&&chrome.runtime.id)return n(document,window,window)(...t);try{let o=window.__applitools_sandbox;if(o&&!o.contentDocument){const d=window.__EYES__APPLITOOLS__||{};for(const _ in d){const h=d[_];!h||"object"!=typeof h||"value"in h||"error"in h||(d[_]={status:"STATE_LOST"})}o=null}o||(o=document.createElement("iframe"),o.setAttribute("data-applitools-sandbox",""),o.setAttribute("data-applitools-skip",""),document.head.appendChild(o),window.__applitools_sandbox=o);const r=Math.floor(4294967296*Math.random()),c=o.contentDocument.createElement("script");c.textContent="window['ctor-"+r+"'] = "+n.toString()+";",o.contentDocument.head.appendChild(c);const u=o.contentWindow["ctor-"+r];if(delete o.contentWindow["ctor-"+r],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=o.contentWindow,s=i.__EYES__APPLITOOLS__=i.__EYES__APPLITOOLS__||{};s._stringify||(s._stringify=i.JSON.stringify.bind(i.JSON));const a=window.__EYES__APPLITOOLS__=window.__EYES__APPLITOOLS__||{};function l(t){if(i.Array.isArray(t)){const n=new i.Array(t.length);for(let e=0;e<t.length;e++)n[e]=l(t[e]);return n}if(t&&"object"==typeof t&&Object.getPrototypeOf(t)===Object.prototype){const n=new i.Object;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=l(t[e]));return n}return t}a._stringify&&a._stringify!==JSON.stringify||(a._stringify=i.JSON.stringify.bind(i.JSON));const f=new i.Array(t.length);for(let y=0;y<t.length;y++)f[y]=l(t[y]);return u(document,window,i)(...f)}catch(m){try{return n(document,window,window)(...t)}catch(p){throw e?p:m}}}export{t as default};
3
3
  //# sourceMappingURL=pollResultEs.js.map