@posthog/rrweb 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.cjs +34 -34
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +34 -34
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +34 -34
- package/dist/rrweb.umd.cjs.map +4 -4
- package/dist/rrweb.umd.min.cjs.map +4 -4
- package/package.json +1 -1
package/dist/rrweb.js
CHANGED
|
@@ -1476,8 +1476,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1476
1476
|
if (n2.__esModule) return n2;
|
|
1477
1477
|
var f2 = n2.default;
|
|
1478
1478
|
if (typeof f2 == "function") {
|
|
1479
|
-
var a2 = function
|
|
1480
|
-
if (this instanceof
|
|
1479
|
+
var a2 = function a3() {
|
|
1480
|
+
if (this instanceof a3) {
|
|
1481
1481
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
1482
1482
|
}
|
|
1483
1483
|
return f2.apply(this, arguments);
|
|
@@ -1486,8 +1486,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1486
1486
|
} else a2 = {};
|
|
1487
1487
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
1488
1488
|
Object.keys(n2).forEach(function(k) {
|
|
1489
|
-
var
|
|
1490
|
-
Object.defineProperty(a2, k,
|
|
1489
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
1490
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
1491
1491
|
enumerable: true,
|
|
1492
1492
|
get: function() {
|
|
1493
1493
|
return n2[k];
|
|
@@ -1863,8 +1863,8 @@ function requireStringifier$1() {
|
|
|
1863
1863
|
if (root2.raws.indent) return root2.raws.indent;
|
|
1864
1864
|
let value;
|
|
1865
1865
|
root2.walk((i2) => {
|
|
1866
|
-
let
|
|
1867
|
-
if (
|
|
1866
|
+
let p2 = i2.parent;
|
|
1867
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
1868
1868
|
if (typeof i2.raws.before !== "undefined") {
|
|
1869
1869
|
let parts = i2.raws.before.split("\n");
|
|
1870
1870
|
value = parts[parts.length - 1];
|
|
@@ -1962,7 +1962,7 @@ function requireNode$1() {
|
|
|
1962
1962
|
} else if (i2 === "source") {
|
|
1963
1963
|
cloned[i2] = value;
|
|
1964
1964
|
} else if (Array.isArray(value)) {
|
|
1965
|
-
cloned[i2] = value.map((
|
|
1965
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
1966
1966
|
} else {
|
|
1967
1967
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
1968
1968
|
cloned[i2] = value;
|
|
@@ -2748,10 +2748,10 @@ function requireAtRule$1() {
|
|
|
2748
2748
|
Container.registerAtRule(AtRule);
|
|
2749
2749
|
return atRule$1;
|
|
2750
2750
|
}
|
|
2751
|
-
var document$
|
|
2751
|
+
var document$2;
|
|
2752
2752
|
var hasRequiredDocument$1;
|
|
2753
2753
|
function requireDocument$1() {
|
|
2754
|
-
if (hasRequiredDocument$1) return document$
|
|
2754
|
+
if (hasRequiredDocument$1) return document$2;
|
|
2755
2755
|
hasRequiredDocument$1 = 1;
|
|
2756
2756
|
let Container = requireContainer$1();
|
|
2757
2757
|
let LazyResult, Processor;
|
|
@@ -2773,9 +2773,9 @@ function requireDocument$1() {
|
|
|
2773
2773
|
Document2.registerProcessor = (dependant) => {
|
|
2774
2774
|
Processor = dependant;
|
|
2775
2775
|
};
|
|
2776
|
-
document$
|
|
2776
|
+
document$2 = Document2;
|
|
2777
2777
|
Document2.default = Document2;
|
|
2778
|
-
return document$
|
|
2778
|
+
return document$2;
|
|
2779
2779
|
}
|
|
2780
2780
|
var nonSecure$1;
|
|
2781
2781
|
var hasRequiredNonSecure$1;
|
|
@@ -3478,9 +3478,9 @@ function requireMapGenerator$1() {
|
|
|
3478
3478
|
column += str.length;
|
|
3479
3479
|
}
|
|
3480
3480
|
if (node2 && type !== "start") {
|
|
3481
|
-
let
|
|
3481
|
+
let p2 = node2.parent || { raws: {} };
|
|
3482
3482
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
3483
|
-
if (!childless || node2 !==
|
|
3483
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
3484
3484
|
if (node2.source && node2.source.end) {
|
|
3485
3485
|
mapping.source = this.sourcePath(node2);
|
|
3486
3486
|
mapping.original.line = node2.source.end.line;
|
|
@@ -3973,8 +3973,8 @@ function requireParser$1() {
|
|
|
3973
3973
|
if (colon === false) return;
|
|
3974
3974
|
let founded = 0;
|
|
3975
3975
|
let token;
|
|
3976
|
-
for (let
|
|
3977
|
-
token = tokens[
|
|
3976
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
3977
|
+
token = tokens[j2];
|
|
3978
3978
|
if (token[0] !== "space") {
|
|
3979
3979
|
founded += 1;
|
|
3980
3980
|
if (founded === 2) break;
|
|
@@ -4092,8 +4092,8 @@ function requireParser$1() {
|
|
|
4092
4092
|
} else if (token[1].toLowerCase() === "important") {
|
|
4093
4093
|
let cache = tokens.slice(0);
|
|
4094
4094
|
let str = "";
|
|
4095
|
-
for (let
|
|
4096
|
-
let type = cache[
|
|
4095
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
4096
|
+
let type = cache[j2][0];
|
|
4097
4097
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
4098
4098
|
break;
|
|
4099
4099
|
}
|
|
@@ -4681,8 +4681,8 @@ function requireLazyResult$1() {
|
|
|
4681
4681
|
let pluginVer = plugin.postcssVersion;
|
|
4682
4682
|
let runtimeVer = this.result.processor.version;
|
|
4683
4683
|
let a2 = pluginVer.split(".");
|
|
4684
|
-
let
|
|
4685
|
-
if (a2[0] !==
|
|
4684
|
+
let b2 = runtimeVer.split(".");
|
|
4685
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
4686
4686
|
console.error(
|
|
4687
4687
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
4688
4688
|
);
|
|
@@ -5833,8 +5833,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5833
5833
|
if (n2.__esModule) return n2;
|
|
5834
5834
|
var f2 = n2.default;
|
|
5835
5835
|
if (typeof f2 == "function") {
|
|
5836
|
-
var a2 = function
|
|
5837
|
-
if (this instanceof
|
|
5836
|
+
var a2 = function a3() {
|
|
5837
|
+
if (this instanceof a3) {
|
|
5838
5838
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
5839
5839
|
}
|
|
5840
5840
|
return f2.apply(this, arguments);
|
|
@@ -5843,8 +5843,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5843
5843
|
} else a2 = {};
|
|
5844
5844
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
5845
5845
|
Object.keys(n2).forEach(function(k) {
|
|
5846
|
-
var
|
|
5847
|
-
Object.defineProperty(a2, k,
|
|
5846
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
5847
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
5848
5848
|
enumerable: true,
|
|
5849
5849
|
get: function() {
|
|
5850
5850
|
return n2[k];
|
|
@@ -6220,8 +6220,8 @@ function requireStringifier() {
|
|
|
6220
6220
|
if (root2.raws.indent) return root2.raws.indent;
|
|
6221
6221
|
let value;
|
|
6222
6222
|
root2.walk((i2) => {
|
|
6223
|
-
let
|
|
6224
|
-
if (
|
|
6223
|
+
let p2 = i2.parent;
|
|
6224
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
6225
6225
|
if (typeof i2.raws.before !== "undefined") {
|
|
6226
6226
|
let parts = i2.raws.before.split("\n");
|
|
6227
6227
|
value = parts[parts.length - 1];
|
|
@@ -6319,7 +6319,7 @@ function requireNode() {
|
|
|
6319
6319
|
} else if (i2 === "source") {
|
|
6320
6320
|
cloned[i2] = value;
|
|
6321
6321
|
} else if (Array.isArray(value)) {
|
|
6322
|
-
cloned[i2] = value.map((
|
|
6322
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
6323
6323
|
} else {
|
|
6324
6324
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
6325
6325
|
cloned[i2] = value;
|
|
@@ -7835,9 +7835,9 @@ function requireMapGenerator() {
|
|
|
7835
7835
|
column += str.length;
|
|
7836
7836
|
}
|
|
7837
7837
|
if (node2 && type !== "start") {
|
|
7838
|
-
let
|
|
7838
|
+
let p2 = node2.parent || { raws: {} };
|
|
7839
7839
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
7840
|
-
if (!childless || node2 !==
|
|
7840
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
7841
7841
|
if (node2.source && node2.source.end) {
|
|
7842
7842
|
mapping.source = this.sourcePath(node2);
|
|
7843
7843
|
mapping.original.line = node2.source.end.line;
|
|
@@ -8330,8 +8330,8 @@ function requireParser() {
|
|
|
8330
8330
|
if (colon === false) return;
|
|
8331
8331
|
let founded = 0;
|
|
8332
8332
|
let token;
|
|
8333
|
-
for (let
|
|
8334
|
-
token = tokens[
|
|
8333
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
8334
|
+
token = tokens[j2];
|
|
8335
8335
|
if (token[0] !== "space") {
|
|
8336
8336
|
founded += 1;
|
|
8337
8337
|
if (founded === 2) break;
|
|
@@ -8449,8 +8449,8 @@ function requireParser() {
|
|
|
8449
8449
|
} else if (token[1].toLowerCase() === "important") {
|
|
8450
8450
|
let cache = tokens.slice(0);
|
|
8451
8451
|
let str = "";
|
|
8452
|
-
for (let
|
|
8453
|
-
let type = cache[
|
|
8452
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
8453
|
+
let type = cache[j2][0];
|
|
8454
8454
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
8455
8455
|
break;
|
|
8456
8456
|
}
|
|
@@ -9038,8 +9038,8 @@ function requireLazyResult() {
|
|
|
9038
9038
|
let pluginVer = plugin.postcssVersion;
|
|
9039
9039
|
let runtimeVer = this.result.processor.version;
|
|
9040
9040
|
let a2 = pluginVer.split(".");
|
|
9041
|
-
let
|
|
9042
|
-
if (a2[0] !==
|
|
9041
|
+
let b2 = runtimeVer.split(".");
|
|
9042
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
9043
9043
|
console.error(
|
|
9044
9044
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
9045
9045
|
);
|