diff --git a/patches/@rrweb__record@2.0.0-alpha.18.patch b/patches/@rrweb__record@2.0.0-alpha.18.patch index 270d143fd..499490136 100644 --- a/patches/@rrweb__record@2.0.0-alpha.18.patch +++ b/patches/@rrweb__record@2.0.0-alpha.18.patch @@ -1,5 +1,5 @@ diff --git a/dist/record.js b/dist/record.js -index d9c57625633fb87da27fc5948c1b15a7c4e4caa5..f87cc088f3210eed0c38cc0544c1cb0d47e634b1 100644 +index d9c57625633fb87da27fc5948c1b15a7c4e4caa5..472c9f1359baf685279614c47426648102479efb 100644 --- a/dist/record.js +++ b/dist/record.js @@ -68,10 +68,10 @@ function getUntaintedPrototype$1(key) { @@ -25,7 +25,110 @@ index d9c57625633fb87da27fc5948c1b15a7c4e4caa5..f87cc088f3210eed0c38cc0544c1cb0d class Mirror { constructor() { __publicField$1(this, "idNodeMap", /* @__PURE__ */ new Map()); -@@ -841,9 +844,14 @@ function serializeElementNode(n2, options) { +@@ -426,23 +429,81 @@ function absolutifyURLs(cssText, href) { + function normalizeCssString(cssText) { + return cssText.replace(/(\/\*[^*]*\*\/)|[\s;]/g, ""); + } +-function splitCssText(cssText, style) { +- const childNodes2 = Array.from(style.childNodes); ++/** ++ * Maps the output of stringifyStylesheet to individual text nodes of a