@applitools/dom-snapshot 4.17.1 → 4.17.3

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,84 @@
9
9
  - fix style programmatic generated fallback
10
10
  - performance boost
11
11
 
12
+ ## [4.17.3](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.17.2...js/dom-snapshot@4.17.3) (2026-06-14)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * @applitools/snippets bumped to 2.9.3
23
+ #### Bug Fixes
24
+
25
+ * capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
26
+ * @applitools/driver bumped to 1.26.3
27
+
28
+ * @applitools/spec-driver-webdriver bumped to 1.6.3
29
+
30
+ * @applitools/spec-driver-puppeteer bumped to 1.8.3
31
+
32
+
33
+ ## [4.17.2](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.17.1...js/dom-snapshot@4.17.2) (2026-05-26)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
39
+
40
+
41
+ ### Dependencies
42
+
43
+ * @applitools/utils bumped to 1.14.5
44
+ #### Bug Fixes
45
+
46
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
47
+ * @applitools/logger bumped to 2.2.12
48
+ #### Bug Fixes
49
+
50
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
51
+
52
+
53
+
54
+ * @applitools/dom-shared bumped to 1.2.1
55
+ #### Bug Fixes
56
+
57
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
58
+ * @applitools/snippets bumped to 2.9.2
59
+ #### Bug Fixes
60
+
61
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
62
+
63
+
64
+
65
+ * @applitools/driver bumped to 1.26.2
66
+ #### Bug Fixes
67
+
68
+ * redact cookie values from logs to prevent sensitive data exposure | AD-12834 ([#3835](https://github.com/Applitools-Dev/sdk/issues/3835)) ([d883647](https://github.com/Applitools-Dev/sdk/commit/d883647d8e007467bd2770ddb79f89be057067b9))
69
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
70
+
71
+
72
+
73
+ * @applitools/spec-driver-webdriver bumped to 1.6.2
74
+ #### Bug Fixes
75
+
76
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
77
+
78
+
79
+
80
+ * @applitools/spec-driver-puppeteer bumped to 1.8.2
81
+ #### Bug Fixes
82
+
83
+ * strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
84
+
85
+
86
+
87
+ * @applitools/test-server bumped to 1.4.4
88
+
89
+
12
90
  ## [4.17.1](https://github.com/Applitools-Dev/sdk/compare/js/dom-snapshot@4.17.0...js/dom-snapshot@4.17.1) (2026-05-19)
13
91
 
14
92
 
@@ -1,4 +1,4 @@
1
- /* @applitools/dom-snapshot@4.17.1 */
1
+ /* @applitools/dom-snapshot@4.17.3 */
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 r(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 o=function(t,n){const e=[];let o=0;for(let c=0;c<t.length;++c){const u=r(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),o+i>n?(e.push(c),o=i):o+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(o),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR";var l=function(t,e,r={}){const o=function(t,{chunkByteLength:e=0}={}){var r;if(t){if(t.value){if(e){if(!t.chunks)try{const o=void 0!==n?null===(r=n.__EYES__APPLITOOLS__)||void 0===r?void 0:r._stringify:void 0,u=(null!=o?o: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],r);return(o.status===i||o.status===a||o.status===s&&o.done)&&delete t[e],o};const f=l;var d=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 _=d(o);t.chunkify=_.default;const h=d((function(t,n,e){return r=>function(...o){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...o))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),f(n,e,r)}}));t.pollify=h.default;const y=d(l);var p=t.poll=y.default;const m=d((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 r=new URL(t,n).href;return e?r:decodeURI(r)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=m.default;const w=d((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=w.default;const S=d((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=S.default,function(t){var n;const r=e.__EYES__APPLITOOLS__,o=null!==(n=null==r?void 0:r._stringify)&&void 0!==n?n:JSON.stringify;try{return o(p(r,"domSnapshotResult",t))}catch(t){return o({status:"ERROR",error:t.message})}}}()};let e=!0;try{let r=window.__applitools_sandbox;r||(r=document.createElement("iframe"),r.setAttribute("data-applitools-sandbox",""),r.setAttribute("data-applitools-skip",""),document.head.appendChild(r),window.__applitools_sandbox=r);const o=Math.floor(4294967296*Math.random()),c=r.contentDocument.createElement("script");c.textContent="window['ctor-"+o+"'] = "+n.toString()+";",r.contentDocument.head.appendChild(c);const u=r.contentWindow["ctor-"+o];if(delete r.contentWindow["ctor-"+o],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=r.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 d=0;d<t.length;d++)f[d]=l(t[d]);return u(document,window,i)(...f)}catch(_){try{return n(document,window,window)(...t)}catch(h){throw e?h:_}}}}();
4
4
  //# sourceMappingURL=pollResult.js.map
@@ -1,3 +1,3 @@
1
- /* @applitools/dom-snapshot@4.17.1 */
1
+ /* @applitools/dom-snapshot@4.17.3 */
2
2
  "use strict";module.exports=function(...t){const n=function(t,n,e){return function(){var t={};function r(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 o=function(t,n){const e=[];let o=0;for(let c=0;c<t.length;++c){const u=r(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),o+i>n?(e.push(c),o=i):o+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(o),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR";var l=function(t,e,r={}){const o=function(t,{chunkByteLength:e=0}={}){var r;if(t){if(t.value){if(e){if(!t.chunks)try{const o=void 0!==n?null===(r=n.__EYES__APPLITOOLS__)||void 0===r?void 0:r._stringify:void 0,u=(null!=o?o: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],r);return(o.status===i||o.status===a||o.status===s&&o.done)&&delete t[e],o};const f=l;var d=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 _=d(o);t.chunkify=_.default;const h=d((function(t,n,e){return r=>function(...o){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...o))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),f(n,e,r)}}));t.pollify=h.default;const y=d(l);var p=t.poll=y.default;const m=d((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 r=new URL(t,n).href;return e?r:decodeURI(r)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=m.default;const w=d((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=w.default;const S=d((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=S.default,function(t){var n;const r=e.__EYES__APPLITOOLS__,o=null!==(n=null==r?void 0:r._stringify)&&void 0!==n?n:JSON.stringify;try{return o(p(r,"domSnapshotResult",t))}catch(t){return o({status:"ERROR",error:t.message})}}}()};let e=!0;try{let r=window.__applitools_sandbox;r||(r=document.createElement("iframe"),r.setAttribute("data-applitools-sandbox",""),r.setAttribute("data-applitools-skip",""),document.head.appendChild(r),window.__applitools_sandbox=r);const o=Math.floor(4294967296*Math.random()),c=r.contentDocument.createElement("script");c.textContent="window['ctor-"+o+"'] = "+n.toString()+";",r.contentDocument.head.appendChild(c);const u=r.contentWindow["ctor-"+o];if(delete r.contentWindow["ctor-"+o],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=r.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 d=0;d<t.length;d++)f[d]=l(t[d]);return u(document,window,i)(...f)}catch(_){try{return n(document,window,window)(...t)}catch(h){throw e?h:_}}};
3
3
  //# sourceMappingURL=pollResultCjs.js.map
@@ -1,3 +1,3 @@
1
- /* @applitools/dom-snapshot@4.17.1 */
1
+ /* @applitools/dom-snapshot@4.17.3 */
2
2
  function t(...t){const n=function(t,n,e){return function(){var t={};function r(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 o=function(t,n){const e=[];let o=0;for(let c=0;c<t.length;++c){const u=r(t,c);let i=0;u>0&&(i=u<128?1:u<2048?2:u<65536?3:u<2097152?4:u<67108864?5:6),o+i>n?(e.push(c),o=i):o+=i}return e};const c=function(t){return t&&t.__esModule?t:{default:t}}(o),u="WIP",i="SUCCESS",s="SUCCESS_CHUNKED",a="ERROR";var l=function(t,e,r={}){const o=function(t,{chunkByteLength:e=0}={}){var r;if(t){if(t.value){if(e){if(!t.chunks)try{const o=void 0!==n?null===(r=n.__EYES__APPLITOOLS__)||void 0===r?void 0:r._stringify:void 0,u=(null!=o?o: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],r);return(o.status===i||o.status===a||o.status===s&&o.done)&&delete t[e],o};const f=l;var d=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 _=d(o);t.chunkify=_.default;const h=d((function(t,n,e){return r=>function(...o){return n[e]||(n[e]={},Promise.resolve().then((()=>t(...o))).then((t=>n[e].value=t)).catch((t=>n[e].error=t.message+"\nStack:"+t.stack))),f(n,e,r)}}));t.pollify=h.default;const y=d(l);var p=t.poll=y.default;const m=d((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 r=new URL(t,n).href;return e?r:decodeURI(r)}catch(n){return e?t:decodeURI(t)}}));t.absolutizeUrl=m.default;const w=d((function(t){return t.contentDocument&&t.contentDocument.location&&!/^https?:$/.test(t.contentDocument.location.protocol)}));t.isInlineFrame=w.default;const S=d((function(t){try{const n=t.contentDocument;return Boolean(n&&n.defaultView&&n.defaultView.frameElement)}catch(t){return!1}}));return t.isAccessibleFrame=S.default,function(t){var n;const r=e.__EYES__APPLITOOLS__,o=null!==(n=null==r?void 0:r._stringify)&&void 0!==n?n:JSON.stringify;try{return o(p(r,"domSnapshotResult",t))}catch(t){return o({status:"ERROR",error:t.message})}}}()};let e=!0;try{let r=window.__applitools_sandbox;r||(r=document.createElement("iframe"),r.setAttribute("data-applitools-sandbox",""),r.setAttribute("data-applitools-skip",""),document.head.appendChild(r),window.__applitools_sandbox=r);const o=Math.floor(4294967296*Math.random()),c=r.contentDocument.createElement("script");c.textContent="window['ctor-"+o+"'] = "+n.toString()+";",r.contentDocument.head.appendChild(c);const u=r.contentWindow["ctor-"+o];if(delete r.contentWindow["ctor-"+o],"function"!=typeof u)throw new Error("Sandbox failed to extract function");e=!1;const i=r.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 d=0;d<t.length;d++)f[d]=l(t[d]);return u(document,window,i)(...f)}catch(_){try{return n(document,window,window)(...t)}catch(h){throw e?h:_}}}export{t as default};
3
3
  //# sourceMappingURL=pollResultEs.js.map