@posthog/rrweb 0.0.47 → 0.0.48
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/dist/rrweb.cjs +4 -1
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +4 -1
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +4 -1
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +2 -2
- package/dist/rrweb.umd.min.cjs.map +3 -3
- package/package.json +5 -5
package/dist/rrweb.umd.cjs
CHANGED
|
@@ -1541,7 +1541,10 @@ const pseudoClassPlugin = {
|
|
|
1541
1541
|
fixed.push(rule2);
|
|
1542
1542
|
rule2.selectors.forEach(function(selector) {
|
|
1543
1543
|
if (selector.includes(":hover")) {
|
|
1544
|
-
|
|
1544
|
+
const newSelector = selector.replace(new RegExp("(?<!\\\\):hover", "g"), ".\\:hover");
|
|
1545
|
+
if (newSelector !== selector) {
|
|
1546
|
+
rule2.selector += ",\n" + newSelector;
|
|
1547
|
+
}
|
|
1545
1548
|
}
|
|
1546
1549
|
});
|
|
1547
1550
|
}
|