Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/dom

Package Overview
Dependencies
Maintainers
6
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/dom - npm Package Compare versions

Comparing version 1.0.0-beta.12 to 1.0.0-beta.13

2

dist/index.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PercyDOM=t():e.PercyDOM=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){var t;return!e.href&&e.cssRules&&!(null===(t=e.ownerNode)||void 0===t?void 0:t.innerText.trim().length)}function y(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e){var t=e||{},r=t.dom,o=void 0===r?document:r,i=t.enableJavaScript,c=t.domTransformation;!function(e){var t,r=n(e.querySelectorAll("input, textarea, select, iframe, canvas"));try{for(r.s();!(t=r.n()).done;){var o=t.value;o.getAttribute("data-percy-element-id")||o.setAttribute("data-percy-element-id","_".concat(Math.random().toString(36).substr(2,9)))}}catch(e){r.e(e)}finally{r.f()}}(o);var f=o.cloneNode(!0);!function(e,t){var r,n=a(e.querySelectorAll("input, textarea, select"));try{for(n.s();!(r=n.n()).done;){var o=r.value,i=o.getAttribute("data-percy-element-id"),u=t.querySelector('[data-percy-element-id="'.concat(i,'"]'));switch(o.type){case"checkbox":case"radio":o.checked&&u.setAttribute("checked","");break;case"select-one":-1!==o.selectedIndex&&u.options[o.selectedIndex].setAttribute("selected","true");break;case"select-multiple":var c,l=a(o.selectedOptions);try{for(l.s();!(c=l.n()).done;){var f=c.value;u.options[f.index].setAttribute("selected","true")}}catch(e){l.e(e)}finally{l.f()}break;case"textarea":u.innerHTML=o.value;break;default:u.setAttribute("value",o.value)}}}catch(e){n.e(e)}finally{n.f()}}(o,f),function(e,t,r){var n,o=r.enableJavaScript,a=u(e.querySelectorAll("iframe"));try{for(a.s();!(n=a.n()).done;){var i=n.value,c=i.getAttribute("data-percy-element-id"),l=t.querySelector('[data-percy-element-id="'.concat(c,'"]')),f=!(i.srcdoc||i.src&&"javascript"!==i.src.split(":")[0]);if(t.head.contains(l))l.remove();else if(i.contentDocument){if(o&&f)continue;if(!f&&!i.contentWindow.performance.timing.loadEventEnd)continue;var s=m({dom:i.contentDocument,enableJavaScript:o});l.setAttribute("srcdoc",s),l.removeAttribute("src")}else!o&&f&&l.remove()}}catch(e){a.e(e)}finally{a.f()}}(o,f,{enableJavaScript:i}),i||(function(e,t){var r,n=l(e.styleSheets);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(s(o)){var a=t.createElement("style");a.type="text/css",a.setAttribute("data-percy-cssom-serialized","true"),a.innerHTML=Array.from(o.cssRules).reduce((function(e,t){return e+t.cssText}),""),t.head.appendChild(a)}}}catch(e){n.e(e)}finally{n.f()}}(o,f),function(e,t){var r,n=y(e.querySelectorAll("canvas"));try{for(n.s();!(r=n.n()).done;){var o,a=r.value,i=t.createElement("img"),u=y(a.attributes);try{for(u.s();!(o=u.n()).done;){var c=o.value,l=c.name,f=c.value;i.setAttribute(l,f)}}catch(e){u.e(e)}finally{u.f()}i.src=a.toDataURL(),i.setAttribute("data-percy-canvas-serialized",""),i.style.maxWidth=i.style.maxWidth||"100%";var s=a.getAttribute("data-percy-element-id"),d=t.querySelector("[data-percy-element-id=".concat(s,"]"));d.parentElement.insertBefore(i,d),d.remove()}}catch(e){n.e(e)}finally{n.f()}}(o,f));var d=f.documentElement;if(c)try{c(d)}catch(e){console.error("Could not transform the dom:",e.message)}return function(e){var t,r=null!==(t=null==e?void 0:e.doctype)&&void 0!==t?t:{},n=r.name,o=void 0===n?"html":n,a=r.publicId,i=void 0===a?"":a,u=r.systemId,c=void 0===u?"":u,l="";return i&&c?l=' PUBLIC "'.concat(i,'" "').concat(c,'"'):i?l=' PUBLIC "'.concat(i,'"'):c&&(l=' SYSTEM "'.concat(c,'"')),"<!DOCTYPE ".concat(o).concat(l,">")}(o)+d.outerHTML}r.r(t),r.d(t,"default",(function(){return m})),r.d(t,"serialize",(function(){return m}))}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PercyDOM=t():e.PercyDOM=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){var t;return!e.href&&e.cssRules&&!(null===(t=e.ownerNode)||void 0===t?void 0:t.innerText.trim().length)}function d(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e){var t=e||{},r=t.dom,o=void 0===r?document:r,i=t.enableJavaScript,c=t.domTransformation;!function(e){var t,r=n(e.querySelectorAll("input, textarea, select, iframe, canvas"));try{for(r.s();!(t=r.n()).done;){var o=t.value;o.getAttribute("data-percy-element-id")||o.setAttribute("data-percy-element-id","_".concat(Math.random().toString(36).substr(2,9)))}}catch(e){r.e(e)}finally{r.f()}}(o);var f=o.cloneNode(!0);!function(e,t){var r,n=a(e.querySelectorAll("input, textarea, select"));try{for(n.s();!(r=n.n()).done;){var o=r.value,i=o.getAttribute("data-percy-element-id"),u=t.querySelector('[data-percy-element-id="'.concat(i,'"]'));switch(o.type){case"checkbox":case"radio":o.checked&&u.setAttribute("checked","");break;case"select-one":-1!==o.selectedIndex&&u.options[o.selectedIndex].setAttribute("selected","true");break;case"select-multiple":var c,l=a(o.selectedOptions);try{for(l.s();!(c=l.n()).done;){var f=c.value;u.options[f.index].setAttribute("selected","true")}}catch(e){l.e(e)}finally{l.f()}break;case"textarea":u.innerHTML=o.value;break;default:u.setAttribute("value",o.value)}}}catch(e){n.e(e)}finally{n.f()}}(o,f),function(e,t,r){var n,o=r.enableJavaScript,a=u(e.querySelectorAll("iframe"));try{for(a.s();!(n=a.n()).done;){var i=n.value,c=i.getAttribute("data-percy-element-id"),l=t.querySelector('[data-percy-element-id="'.concat(c,'"]')),f=!(i.srcdoc||i.src&&"javascript"!==i.src.split(":")[0]);if(t.head.contains(l))l.remove();else if(i.contentDocument){if(o&&f)continue;if(!f&&!i.contentWindow.performance.timing.loadEventEnd)continue;var s=m({dom:i.contentDocument,enableJavaScript:o});l.setAttribute("srcdoc",s),l.removeAttribute("src")}else!o&&f&&l.remove()}}catch(e){a.e(e)}finally{a.f()}}(o,f,{enableJavaScript:i}),i||(function(e,t){var r,n=l(e.styleSheets);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(s(o)){var a=t.createElement("style");a.type="text/css",a.setAttribute("data-percy-cssom-serialized","true"),a.innerHTML=Array.from(o.cssRules).reduce((function(e,t){return e+t.cssText}),""),t.head.appendChild(a)}}}catch(e){n.e(e)}finally{n.f()}}(o,f),function(e,t){var r,n=d(e.querySelectorAll("canvas"));try{for(n.s();!(r=n.n()).done;){var o=r.value,a=o.toDataURL();if(a&&"data:,"!==a){var i=t.createElement("img");i.src=a;var u,c=d(o.attributes);try{for(c.s();!(u=c.n()).done;){var l=u.value,f=l.name,s=l.value;i.setAttribute(f,s)}}catch(e){c.e(e)}finally{c.f()}i.setAttribute("data-percy-canvas-serialized",""),i.style.maxWidth=i.style.maxWidth||"100%";var y=o.getAttribute("data-percy-element-id"),m=t.querySelector("[data-percy-element-id=".concat(y,"]"));m.parentElement.insertBefore(i,m),m.remove()}}}catch(e){n.e(e)}finally{n.f()}}(o,f));var y=f.documentElement;if(c)try{c(y)}catch(e){console.error("Could not transform the dom:",e.message)}return function(e){var t,r=null!==(t=null==e?void 0:e.doctype)&&void 0!==t?t:{},n=r.name,o=void 0===n?"html":n,a=r.publicId,i=void 0===a?"":a,u=r.systemId,c=void 0===u?"":u,l="";return i&&c?l=' PUBLIC "'.concat(i,'" "').concat(c,'"'):i?l=' PUBLIC "'.concat(i,'"'):c&&(l=' SYSTEM "'.concat(c,'"')),"<!DOCTYPE ".concat(o).concat(l,">")}(o)+y.outerHTML}r.r(t),r.d(t,"default",(function(){return m})),r.d(t,"serialize",(function(){return m}))}])}));
{
"name": "@percy/dom",
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"license": "MIT",

@@ -30,8 +30,8 @@ "main": "dist/index.js",

"devDependencies": {
"babel-loader": "^8.0.6",
"babel-loader": "^8.1.0",
"cheerio": "^1.0.0-rc.3",
"interactor.js": "^1.6.0",
"karma": "^5.0.9",
"interactor.js": "^2.0.0-beta.8",
"karma": "^5.2.2",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.1",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^1.3.0",

@@ -41,7 +41,7 @@ "karma-mocha": "^2.0.1",

"karma-webpack": "^4.0.2",
"regenerator-runtime": "^0.13.3",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11"
"regenerator-runtime": "^0.13.7",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"gitHead": "99e1314ba7c982bcf1a766ec0bb31ec3656d2ec8"
"gitHead": "9e694cfb410f5736467e5dafd96e6a8e9834c77b"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc