@posthog/rrweb-snapshot 0.0.47 → 0.0.49
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
package/dist/replay.umd.cjs
CHANGED
|
@@ -617,7 +617,10 @@ var pseudoClassPlugin = {
|
|
|
617
617
|
fixed.push(rule2);
|
|
618
618
|
rule2.selectors.forEach(function(selector) {
|
|
619
619
|
if (selector.includes(":hover")) {
|
|
620
|
-
|
|
620
|
+
const newSelector = selector.replace(new RegExp("(?<!\\\\):hover", "g"), ".\\:hover");
|
|
621
|
+
if (newSelector !== selector) {
|
|
622
|
+
rule2.selector += ",\n" + newSelector;
|
|
623
|
+
}
|
|
621
624
|
}
|
|
622
625
|
});
|
|
623
626
|
}
|