@posthog/rrweb-snapshot 0.0.46 → 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/replay.cjs +4 -1
- package/dist/replay.cjs.map +1 -1
- package/dist/replay.js +4 -1
- package/dist/replay.js.map +1 -1
- package/dist/replay.umd.cjs +4 -1
- package/dist/replay.umd.cjs.map +2 -2
- package/dist/replay.umd.min.cjs +2 -2
- package/dist/replay.umd.min.cjs.map +3 -3
- package/dist/rrweb-snapshot.umd.cjs +4 -1
- package/dist/rrweb-snapshot.umd.cjs.map +2 -2
- package/dist/rrweb-snapshot.umd.min.cjs +2 -2
- package/dist/rrweb-snapshot.umd.min.cjs.map +3 -3
- package/package.json +3 -3
|
@@ -1619,7 +1619,10 @@ var require_replay = __commonJS({
|
|
|
1619
1619
|
fixed.push(rule2);
|
|
1620
1620
|
rule2.selectors.forEach(function(selector) {
|
|
1621
1621
|
if (selector.includes(":hover")) {
|
|
1622
|
-
|
|
1622
|
+
const newSelector = selector.replace(new RegExp("(?<!\\\\):hover", "g"), ".\\:hover");
|
|
1623
|
+
if (newSelector !== selector) {
|
|
1624
|
+
rule2.selector += ",\n" + newSelector;
|
|
1625
|
+
}
|
|
1623
1626
|
}
|
|
1624
1627
|
});
|
|
1625
1628
|
}
|