@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.cjs
CHANGED
|
@@ -1478,8 +1478,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1478
1478
|
if (n2.__esModule) return n2;
|
|
1479
1479
|
var f2 = n2.default;
|
|
1480
1480
|
if (typeof f2 == "function") {
|
|
1481
|
-
var a2 = function
|
|
1482
|
-
if (this instanceof
|
|
1481
|
+
var a2 = function a3() {
|
|
1482
|
+
if (this instanceof a3) {
|
|
1483
1483
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
1484
1484
|
}
|
|
1485
1485
|
return f2.apply(this, arguments);
|
|
@@ -1488,8 +1488,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1488
1488
|
} else a2 = {};
|
|
1489
1489
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
1490
1490
|
Object.keys(n2).forEach(function(k) {
|
|
1491
|
-
var
|
|
1492
|
-
Object.defineProperty(a2, k,
|
|
1491
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
1492
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
1493
1493
|
enumerable: true,
|
|
1494
1494
|
get: function() {
|
|
1495
1495
|
return n2[k];
|
|
@@ -1865,8 +1865,8 @@ function requireStringifier$1() {
|
|
|
1865
1865
|
if (root2.raws.indent) return root2.raws.indent;
|
|
1866
1866
|
let value;
|
|
1867
1867
|
root2.walk((i2) => {
|
|
1868
|
-
let
|
|
1869
|
-
if (
|
|
1868
|
+
let p2 = i2.parent;
|
|
1869
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
1870
1870
|
if (typeof i2.raws.before !== "undefined") {
|
|
1871
1871
|
let parts = i2.raws.before.split("\n");
|
|
1872
1872
|
value = parts[parts.length - 1];
|
|
@@ -1964,7 +1964,7 @@ function requireNode$1() {
|
|
|
1964
1964
|
} else if (i2 === "source") {
|
|
1965
1965
|
cloned[i2] = value;
|
|
1966
1966
|
} else if (Array.isArray(value)) {
|
|
1967
|
-
cloned[i2] = value.map((
|
|
1967
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
1968
1968
|
} else {
|
|
1969
1969
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
1970
1970
|
cloned[i2] = value;
|
|
@@ -2750,10 +2750,10 @@ function requireAtRule$1() {
|
|
|
2750
2750
|
Container.registerAtRule(AtRule);
|
|
2751
2751
|
return atRule$1;
|
|
2752
2752
|
}
|
|
2753
|
-
var document$
|
|
2753
|
+
var document$2;
|
|
2754
2754
|
var hasRequiredDocument$1;
|
|
2755
2755
|
function requireDocument$1() {
|
|
2756
|
-
if (hasRequiredDocument$1) return document$
|
|
2756
|
+
if (hasRequiredDocument$1) return document$2;
|
|
2757
2757
|
hasRequiredDocument$1 = 1;
|
|
2758
2758
|
let Container = requireContainer$1();
|
|
2759
2759
|
let LazyResult, Processor;
|
|
@@ -2775,9 +2775,9 @@ function requireDocument$1() {
|
|
|
2775
2775
|
Document2.registerProcessor = (dependant) => {
|
|
2776
2776
|
Processor = dependant;
|
|
2777
2777
|
};
|
|
2778
|
-
document$
|
|
2778
|
+
document$2 = Document2;
|
|
2779
2779
|
Document2.default = Document2;
|
|
2780
|
-
return document$
|
|
2780
|
+
return document$2;
|
|
2781
2781
|
}
|
|
2782
2782
|
var nonSecure$1;
|
|
2783
2783
|
var hasRequiredNonSecure$1;
|
|
@@ -3480,9 +3480,9 @@ function requireMapGenerator$1() {
|
|
|
3480
3480
|
column += str.length;
|
|
3481
3481
|
}
|
|
3482
3482
|
if (node2 && type !== "start") {
|
|
3483
|
-
let
|
|
3483
|
+
let p2 = node2.parent || { raws: {} };
|
|
3484
3484
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
3485
|
-
if (!childless || node2 !==
|
|
3485
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
3486
3486
|
if (node2.source && node2.source.end) {
|
|
3487
3487
|
mapping.source = this.sourcePath(node2);
|
|
3488
3488
|
mapping.original.line = node2.source.end.line;
|
|
@@ -3975,8 +3975,8 @@ function requireParser$1() {
|
|
|
3975
3975
|
if (colon === false) return;
|
|
3976
3976
|
let founded = 0;
|
|
3977
3977
|
let token;
|
|
3978
|
-
for (let
|
|
3979
|
-
token = tokens[
|
|
3978
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
3979
|
+
token = tokens[j2];
|
|
3980
3980
|
if (token[0] !== "space") {
|
|
3981
3981
|
founded += 1;
|
|
3982
3982
|
if (founded === 2) break;
|
|
@@ -4094,8 +4094,8 @@ function requireParser$1() {
|
|
|
4094
4094
|
} else if (token[1].toLowerCase() === "important") {
|
|
4095
4095
|
let cache = tokens.slice(0);
|
|
4096
4096
|
let str = "";
|
|
4097
|
-
for (let
|
|
4098
|
-
let type = cache[
|
|
4097
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
4098
|
+
let type = cache[j2][0];
|
|
4099
4099
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
4100
4100
|
break;
|
|
4101
4101
|
}
|
|
@@ -4683,8 +4683,8 @@ function requireLazyResult$1() {
|
|
|
4683
4683
|
let pluginVer = plugin.postcssVersion;
|
|
4684
4684
|
let runtimeVer = this.result.processor.version;
|
|
4685
4685
|
let a2 = pluginVer.split(".");
|
|
4686
|
-
let
|
|
4687
|
-
if (a2[0] !==
|
|
4686
|
+
let b2 = runtimeVer.split(".");
|
|
4687
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
4688
4688
|
console.error(
|
|
4689
4689
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
4690
4690
|
);
|
|
@@ -5835,8 +5835,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5835
5835
|
if (n2.__esModule) return n2;
|
|
5836
5836
|
var f2 = n2.default;
|
|
5837
5837
|
if (typeof f2 == "function") {
|
|
5838
|
-
var a2 = function
|
|
5839
|
-
if (this instanceof
|
|
5838
|
+
var a2 = function a3() {
|
|
5839
|
+
if (this instanceof a3) {
|
|
5840
5840
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
5841
5841
|
}
|
|
5842
5842
|
return f2.apply(this, arguments);
|
|
@@ -5845,8 +5845,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5845
5845
|
} else a2 = {};
|
|
5846
5846
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
5847
5847
|
Object.keys(n2).forEach(function(k) {
|
|
5848
|
-
var
|
|
5849
|
-
Object.defineProperty(a2, k,
|
|
5848
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
5849
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
5850
5850
|
enumerable: true,
|
|
5851
5851
|
get: function() {
|
|
5852
5852
|
return n2[k];
|
|
@@ -6222,8 +6222,8 @@ function requireStringifier() {
|
|
|
6222
6222
|
if (root2.raws.indent) return root2.raws.indent;
|
|
6223
6223
|
let value;
|
|
6224
6224
|
root2.walk((i2) => {
|
|
6225
|
-
let
|
|
6226
|
-
if (
|
|
6225
|
+
let p2 = i2.parent;
|
|
6226
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
6227
6227
|
if (typeof i2.raws.before !== "undefined") {
|
|
6228
6228
|
let parts = i2.raws.before.split("\n");
|
|
6229
6229
|
value = parts[parts.length - 1];
|
|
@@ -6321,7 +6321,7 @@ function requireNode() {
|
|
|
6321
6321
|
} else if (i2 === "source") {
|
|
6322
6322
|
cloned[i2] = value;
|
|
6323
6323
|
} else if (Array.isArray(value)) {
|
|
6324
|
-
cloned[i2] = value.map((
|
|
6324
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
6325
6325
|
} else {
|
|
6326
6326
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
6327
6327
|
cloned[i2] = value;
|
|
@@ -7837,9 +7837,9 @@ function requireMapGenerator() {
|
|
|
7837
7837
|
column += str.length;
|
|
7838
7838
|
}
|
|
7839
7839
|
if (node2 && type !== "start") {
|
|
7840
|
-
let
|
|
7840
|
+
let p2 = node2.parent || { raws: {} };
|
|
7841
7841
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
7842
|
-
if (!childless || node2 !==
|
|
7842
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
7843
7843
|
if (node2.source && node2.source.end) {
|
|
7844
7844
|
mapping.source = this.sourcePath(node2);
|
|
7845
7845
|
mapping.original.line = node2.source.end.line;
|
|
@@ -8332,8 +8332,8 @@ function requireParser() {
|
|
|
8332
8332
|
if (colon === false) return;
|
|
8333
8333
|
let founded = 0;
|
|
8334
8334
|
let token;
|
|
8335
|
-
for (let
|
|
8336
|
-
token = tokens[
|
|
8335
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
8336
|
+
token = tokens[j2];
|
|
8337
8337
|
if (token[0] !== "space") {
|
|
8338
8338
|
founded += 1;
|
|
8339
8339
|
if (founded === 2) break;
|
|
@@ -8451,8 +8451,8 @@ function requireParser() {
|
|
|
8451
8451
|
} else if (token[1].toLowerCase() === "important") {
|
|
8452
8452
|
let cache = tokens.slice(0);
|
|
8453
8453
|
let str = "";
|
|
8454
|
-
for (let
|
|
8455
|
-
let type = cache[
|
|
8454
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
8455
|
+
let type = cache[j2][0];
|
|
8456
8456
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
8457
8457
|
break;
|
|
8458
8458
|
}
|
|
@@ -9040,8 +9040,8 @@ function requireLazyResult() {
|
|
|
9040
9040
|
let pluginVer = plugin.postcssVersion;
|
|
9041
9041
|
let runtimeVer = this.result.processor.version;
|
|
9042
9042
|
let a2 = pluginVer.split(".");
|
|
9043
|
-
let
|
|
9044
|
-
if (a2[0] !==
|
|
9043
|
+
let b2 = runtimeVer.split(".");
|
|
9044
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
9045
9045
|
console.error(
|
|
9046
9046
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
9047
9047
|
);
|