@posthog/rrweb-player 0.0.30 → 0.0.32
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-player.cjs +34 -34
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +34 -34
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +34 -34
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +1 -1
|
@@ -573,8 +573,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
573
573
|
if (n2.__esModule) return n2;
|
|
574
574
|
var f2 = n2.default;
|
|
575
575
|
if (typeof f2 == "function") {
|
|
576
|
-
var a2 = function
|
|
577
|
-
if (this instanceof
|
|
576
|
+
var a2 = function a3() {
|
|
577
|
+
if (this instanceof a3) {
|
|
578
578
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
579
579
|
}
|
|
580
580
|
return f2.apply(this, arguments);
|
|
@@ -583,8 +583,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
583
583
|
} else a2 = {};
|
|
584
584
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
585
585
|
Object.keys(n2).forEach(function(k) {
|
|
586
|
-
var
|
|
587
|
-
Object.defineProperty(a2, k,
|
|
586
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
587
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
588
588
|
enumerable: true,
|
|
589
589
|
get: function() {
|
|
590
590
|
return n2[k];
|
|
@@ -960,8 +960,8 @@ function requireStringifier$1() {
|
|
|
960
960
|
if (root2.raws.indent) return root2.raws.indent;
|
|
961
961
|
let value;
|
|
962
962
|
root2.walk((i2) => {
|
|
963
|
-
let
|
|
964
|
-
if (
|
|
963
|
+
let p2 = i2.parent;
|
|
964
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
965
965
|
if (typeof i2.raws.before !== "undefined") {
|
|
966
966
|
let parts = i2.raws.before.split("\n");
|
|
967
967
|
value = parts[parts.length - 1];
|
|
@@ -1059,7 +1059,7 @@ function requireNode$1() {
|
|
|
1059
1059
|
} else if (i2 === "source") {
|
|
1060
1060
|
cloned[i2] = value;
|
|
1061
1061
|
} else if (Array.isArray(value)) {
|
|
1062
|
-
cloned[i2] = value.map((
|
|
1062
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
1063
1063
|
} else {
|
|
1064
1064
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
1065
1065
|
cloned[i2] = value;
|
|
@@ -1845,10 +1845,10 @@ function requireAtRule$1() {
|
|
|
1845
1845
|
Container.registerAtRule(AtRule);
|
|
1846
1846
|
return atRule$1;
|
|
1847
1847
|
}
|
|
1848
|
-
var document$
|
|
1848
|
+
var document$2;
|
|
1849
1849
|
var hasRequiredDocument$1;
|
|
1850
1850
|
function requireDocument$1() {
|
|
1851
|
-
if (hasRequiredDocument$1) return document$
|
|
1851
|
+
if (hasRequiredDocument$1) return document$2;
|
|
1852
1852
|
hasRequiredDocument$1 = 1;
|
|
1853
1853
|
let Container = requireContainer$1();
|
|
1854
1854
|
let LazyResult, Processor;
|
|
@@ -1870,9 +1870,9 @@ function requireDocument$1() {
|
|
|
1870
1870
|
Document2.registerProcessor = (dependant) => {
|
|
1871
1871
|
Processor = dependant;
|
|
1872
1872
|
};
|
|
1873
|
-
document$
|
|
1873
|
+
document$2 = Document2;
|
|
1874
1874
|
Document2.default = Document2;
|
|
1875
|
-
return document$
|
|
1875
|
+
return document$2;
|
|
1876
1876
|
}
|
|
1877
1877
|
var nonSecure$1;
|
|
1878
1878
|
var hasRequiredNonSecure$1;
|
|
@@ -2574,9 +2574,9 @@ function requireMapGenerator$1() {
|
|
|
2574
2574
|
column += str.length;
|
|
2575
2575
|
}
|
|
2576
2576
|
if (node2 && type !== "start") {
|
|
2577
|
-
let
|
|
2577
|
+
let p2 = node2.parent || { raws: {} };
|
|
2578
2578
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
2579
|
-
if (!childless || node2 !==
|
|
2579
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
2580
2580
|
if (node2.source && node2.source.end) {
|
|
2581
2581
|
mapping.source = this.sourcePath(node2);
|
|
2582
2582
|
mapping.original.line = node2.source.end.line;
|
|
@@ -3069,8 +3069,8 @@ function requireParser$1() {
|
|
|
3069
3069
|
if (colon === false) return;
|
|
3070
3070
|
let founded = 0;
|
|
3071
3071
|
let token;
|
|
3072
|
-
for (let
|
|
3073
|
-
token = tokens[
|
|
3072
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
3073
|
+
token = tokens[j2];
|
|
3074
3074
|
if (token[0] !== "space") {
|
|
3075
3075
|
founded += 1;
|
|
3076
3076
|
if (founded === 2) break;
|
|
@@ -3188,8 +3188,8 @@ function requireParser$1() {
|
|
|
3188
3188
|
} else if (token[1].toLowerCase() === "important") {
|
|
3189
3189
|
let cache = tokens.slice(0);
|
|
3190
3190
|
let str = "";
|
|
3191
|
-
for (let
|
|
3192
|
-
let type = cache[
|
|
3191
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
3192
|
+
let type = cache[j2][0];
|
|
3193
3193
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
3194
3194
|
break;
|
|
3195
3195
|
}
|
|
@@ -3777,8 +3777,8 @@ function requireLazyResult$1() {
|
|
|
3777
3777
|
let pluginVer = plugin.postcssVersion;
|
|
3778
3778
|
let runtimeVer = this.result.processor.version;
|
|
3779
3779
|
let a2 = pluginVer.split(".");
|
|
3780
|
-
let
|
|
3781
|
-
if (a2[0] !==
|
|
3780
|
+
let b2 = runtimeVer.split(".");
|
|
3781
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
3782
3782
|
console.error(
|
|
3783
3783
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
3784
3784
|
);
|
|
@@ -4929,8 +4929,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4929
4929
|
if (n2.__esModule) return n2;
|
|
4930
4930
|
var f2 = n2.default;
|
|
4931
4931
|
if (typeof f2 == "function") {
|
|
4932
|
-
var a2 = function
|
|
4933
|
-
if (this instanceof
|
|
4932
|
+
var a2 = function a3() {
|
|
4933
|
+
if (this instanceof a3) {
|
|
4934
4934
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
4935
4935
|
}
|
|
4936
4936
|
return f2.apply(this, arguments);
|
|
@@ -4939,8 +4939,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4939
4939
|
} else a2 = {};
|
|
4940
4940
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
4941
4941
|
Object.keys(n2).forEach(function(k) {
|
|
4942
|
-
var
|
|
4943
|
-
Object.defineProperty(a2, k,
|
|
4942
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
4943
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
4944
4944
|
enumerable: true,
|
|
4945
4945
|
get: function() {
|
|
4946
4946
|
return n2[k];
|
|
@@ -5316,8 +5316,8 @@ function requireStringifier() {
|
|
|
5316
5316
|
if (root2.raws.indent) return root2.raws.indent;
|
|
5317
5317
|
let value;
|
|
5318
5318
|
root2.walk((i2) => {
|
|
5319
|
-
let
|
|
5320
|
-
if (
|
|
5319
|
+
let p2 = i2.parent;
|
|
5320
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
5321
5321
|
if (typeof i2.raws.before !== "undefined") {
|
|
5322
5322
|
let parts = i2.raws.before.split("\n");
|
|
5323
5323
|
value = parts[parts.length - 1];
|
|
@@ -5415,7 +5415,7 @@ function requireNode() {
|
|
|
5415
5415
|
} else if (i2 === "source") {
|
|
5416
5416
|
cloned[i2] = value;
|
|
5417
5417
|
} else if (Array.isArray(value)) {
|
|
5418
|
-
cloned[i2] = value.map((
|
|
5418
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
5419
5419
|
} else {
|
|
5420
5420
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
5421
5421
|
cloned[i2] = value;
|
|
@@ -6930,9 +6930,9 @@ function requireMapGenerator() {
|
|
|
6930
6930
|
column += str.length;
|
|
6931
6931
|
}
|
|
6932
6932
|
if (node2 && type !== "start") {
|
|
6933
|
-
let
|
|
6933
|
+
let p2 = node2.parent || { raws: {} };
|
|
6934
6934
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
6935
|
-
if (!childless || node2 !==
|
|
6935
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
6936
6936
|
if (node2.source && node2.source.end) {
|
|
6937
6937
|
mapping.source = this.sourcePath(node2);
|
|
6938
6938
|
mapping.original.line = node2.source.end.line;
|
|
@@ -7425,8 +7425,8 @@ function requireParser() {
|
|
|
7425
7425
|
if (colon === false) return;
|
|
7426
7426
|
let founded = 0;
|
|
7427
7427
|
let token;
|
|
7428
|
-
for (let
|
|
7429
|
-
token = tokens[
|
|
7428
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
7429
|
+
token = tokens[j2];
|
|
7430
7430
|
if (token[0] !== "space") {
|
|
7431
7431
|
founded += 1;
|
|
7432
7432
|
if (founded === 2) break;
|
|
@@ -7544,8 +7544,8 @@ function requireParser() {
|
|
|
7544
7544
|
} else if (token[1].toLowerCase() === "important") {
|
|
7545
7545
|
let cache = tokens.slice(0);
|
|
7546
7546
|
let str = "";
|
|
7547
|
-
for (let
|
|
7548
|
-
let type = cache[
|
|
7547
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
7548
|
+
let type = cache[j2][0];
|
|
7549
7549
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
7550
7550
|
break;
|
|
7551
7551
|
}
|
|
@@ -8133,8 +8133,8 @@ function requireLazyResult() {
|
|
|
8133
8133
|
let pluginVer = plugin.postcssVersion;
|
|
8134
8134
|
let runtimeVer = this.result.processor.version;
|
|
8135
8135
|
let a2 = pluginVer.split(".");
|
|
8136
|
-
let
|
|
8137
|
-
if (a2[0] !==
|
|
8136
|
+
let b2 = runtimeVer.split(".");
|
|
8137
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
8138
8138
|
console.error(
|
|
8139
8139
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
8140
8140
|
);
|