@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.cjs
CHANGED
|
@@ -1508,7 +1508,10 @@ const pseudoClassPlugin = {
|
|
|
1508
1508
|
fixed.push(rule2);
|
|
1509
1509
|
rule2.selectors.forEach(function(selector) {
|
|
1510
1510
|
if (selector.includes(":hover")) {
|
|
1511
|
-
|
|
1511
|
+
const newSelector = selector.replace(new RegExp("(?<!\\\\):hover", "g"), ".\\:hover");
|
|
1512
|
+
if (newSelector !== selector) {
|
|
1513
|
+
rule2.selector += ",\n" + newSelector;
|
|
1514
|
+
}
|
|
1512
1515
|
}
|
|
1513
1516
|
});
|
|
1514
1517
|
}
|