@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.umd.cjs
CHANGED
|
@@ -1523,8 +1523,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1523
1523
|
if (n2.__esModule) return n2;
|
|
1524
1524
|
var f2 = n2.default;
|
|
1525
1525
|
if (typeof f2 == "function") {
|
|
1526
|
-
var a2 = function
|
|
1527
|
-
if (this instanceof
|
|
1526
|
+
var a2 = function a3() {
|
|
1527
|
+
if (this instanceof a3) {
|
|
1528
1528
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
1529
1529
|
}
|
|
1530
1530
|
return f2.apply(this, arguments);
|
|
@@ -1533,8 +1533,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
1533
1533
|
} else a2 = {};
|
|
1534
1534
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
1535
1535
|
Object.keys(n2).forEach(function(k) {
|
|
1536
|
-
var
|
|
1537
|
-
Object.defineProperty(a2, k,
|
|
1536
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
1537
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
1538
1538
|
enumerable: true,
|
|
1539
1539
|
get: function() {
|
|
1540
1540
|
return n2[k];
|
|
@@ -1910,8 +1910,8 @@ function requireStringifier$1() {
|
|
|
1910
1910
|
if (root2.raws.indent) return root2.raws.indent;
|
|
1911
1911
|
let value;
|
|
1912
1912
|
root2.walk((i2) => {
|
|
1913
|
-
let
|
|
1914
|
-
if (
|
|
1913
|
+
let p2 = i2.parent;
|
|
1914
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
1915
1915
|
if (typeof i2.raws.before !== "undefined") {
|
|
1916
1916
|
let parts = i2.raws.before.split("\n");
|
|
1917
1917
|
value = parts[parts.length - 1];
|
|
@@ -2009,7 +2009,7 @@ function requireNode$1() {
|
|
|
2009
2009
|
} else if (i2 === "source") {
|
|
2010
2010
|
cloned[i2] = value;
|
|
2011
2011
|
} else if (Array.isArray(value)) {
|
|
2012
|
-
cloned[i2] = value.map((
|
|
2012
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
2013
2013
|
} else {
|
|
2014
2014
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
2015
2015
|
cloned[i2] = value;
|
|
@@ -2795,10 +2795,10 @@ function requireAtRule$1() {
|
|
|
2795
2795
|
Container.registerAtRule(AtRule);
|
|
2796
2796
|
return atRule$1;
|
|
2797
2797
|
}
|
|
2798
|
-
var document$
|
|
2798
|
+
var document$2;
|
|
2799
2799
|
var hasRequiredDocument$1;
|
|
2800
2800
|
function requireDocument$1() {
|
|
2801
|
-
if (hasRequiredDocument$1) return document$
|
|
2801
|
+
if (hasRequiredDocument$1) return document$2;
|
|
2802
2802
|
hasRequiredDocument$1 = 1;
|
|
2803
2803
|
let Container = requireContainer$1();
|
|
2804
2804
|
let LazyResult, Processor;
|
|
@@ -2820,9 +2820,9 @@ function requireDocument$1() {
|
|
|
2820
2820
|
Document2.registerProcessor = (dependant) => {
|
|
2821
2821
|
Processor = dependant;
|
|
2822
2822
|
};
|
|
2823
|
-
document$
|
|
2823
|
+
document$2 = Document2;
|
|
2824
2824
|
Document2.default = Document2;
|
|
2825
|
-
return document$
|
|
2825
|
+
return document$2;
|
|
2826
2826
|
}
|
|
2827
2827
|
var nonSecure$1;
|
|
2828
2828
|
var hasRequiredNonSecure$1;
|
|
@@ -3524,9 +3524,9 @@ function requireMapGenerator$1() {
|
|
|
3524
3524
|
column += str.length;
|
|
3525
3525
|
}
|
|
3526
3526
|
if (node2 && type !== "start") {
|
|
3527
|
-
let
|
|
3527
|
+
let p2 = node2.parent || { raws: {} };
|
|
3528
3528
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
3529
|
-
if (!childless || node2 !==
|
|
3529
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
3530
3530
|
if (node2.source && node2.source.end) {
|
|
3531
3531
|
mapping.source = this.sourcePath(node2);
|
|
3532
3532
|
mapping.original.line = node2.source.end.line;
|
|
@@ -4019,8 +4019,8 @@ function requireParser$1() {
|
|
|
4019
4019
|
if (colon === false) return;
|
|
4020
4020
|
let founded = 0;
|
|
4021
4021
|
let token;
|
|
4022
|
-
for (let
|
|
4023
|
-
token = tokens[
|
|
4022
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
4023
|
+
token = tokens[j2];
|
|
4024
4024
|
if (token[0] !== "space") {
|
|
4025
4025
|
founded += 1;
|
|
4026
4026
|
if (founded === 2) break;
|
|
@@ -4138,8 +4138,8 @@ function requireParser$1() {
|
|
|
4138
4138
|
} else if (token[1].toLowerCase() === "important") {
|
|
4139
4139
|
let cache = tokens.slice(0);
|
|
4140
4140
|
let str = "";
|
|
4141
|
-
for (let
|
|
4142
|
-
let type = cache[
|
|
4141
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
4142
|
+
let type = cache[j2][0];
|
|
4143
4143
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
4144
4144
|
break;
|
|
4145
4145
|
}
|
|
@@ -4727,8 +4727,8 @@ function requireLazyResult$1() {
|
|
|
4727
4727
|
let pluginVer = plugin.postcssVersion;
|
|
4728
4728
|
let runtimeVer = this.result.processor.version;
|
|
4729
4729
|
let a2 = pluginVer.split(".");
|
|
4730
|
-
let
|
|
4731
|
-
if (a2[0] !==
|
|
4730
|
+
let b2 = runtimeVer.split(".");
|
|
4731
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
4732
4732
|
console.error(
|
|
4733
4733
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
4734
4734
|
);
|
|
@@ -5879,8 +5879,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5879
5879
|
if (n2.__esModule) return n2;
|
|
5880
5880
|
var f2 = n2.default;
|
|
5881
5881
|
if (typeof f2 == "function") {
|
|
5882
|
-
var a2 = function
|
|
5883
|
-
if (this instanceof
|
|
5882
|
+
var a2 = function a3() {
|
|
5883
|
+
if (this instanceof a3) {
|
|
5884
5884
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
5885
5885
|
}
|
|
5886
5886
|
return f2.apply(this, arguments);
|
|
@@ -5889,8 +5889,8 @@ function getAugmentedNamespace(n2) {
|
|
|
5889
5889
|
} else a2 = {};
|
|
5890
5890
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
5891
5891
|
Object.keys(n2).forEach(function(k) {
|
|
5892
|
-
var
|
|
5893
|
-
Object.defineProperty(a2, k,
|
|
5892
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
5893
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
5894
5894
|
enumerable: true,
|
|
5895
5895
|
get: function() {
|
|
5896
5896
|
return n2[k];
|
|
@@ -6266,8 +6266,8 @@ function requireStringifier() {
|
|
|
6266
6266
|
if (root2.raws.indent) return root2.raws.indent;
|
|
6267
6267
|
let value;
|
|
6268
6268
|
root2.walk((i2) => {
|
|
6269
|
-
let
|
|
6270
|
-
if (
|
|
6269
|
+
let p2 = i2.parent;
|
|
6270
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
6271
6271
|
if (typeof i2.raws.before !== "undefined") {
|
|
6272
6272
|
let parts = i2.raws.before.split("\n");
|
|
6273
6273
|
value = parts[parts.length - 1];
|
|
@@ -6365,7 +6365,7 @@ function requireNode() {
|
|
|
6365
6365
|
} else if (i2 === "source") {
|
|
6366
6366
|
cloned[i2] = value;
|
|
6367
6367
|
} else if (Array.isArray(value)) {
|
|
6368
|
-
cloned[i2] = value.map((
|
|
6368
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
6369
6369
|
} else {
|
|
6370
6370
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
6371
6371
|
cloned[i2] = value;
|
|
@@ -7880,9 +7880,9 @@ function requireMapGenerator() {
|
|
|
7880
7880
|
column += str.length;
|
|
7881
7881
|
}
|
|
7882
7882
|
if (node2 && type !== "start") {
|
|
7883
|
-
let
|
|
7883
|
+
let p2 = node2.parent || { raws: {} };
|
|
7884
7884
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
7885
|
-
if (!childless || node2 !==
|
|
7885
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
7886
7886
|
if (node2.source && node2.source.end) {
|
|
7887
7887
|
mapping.source = this.sourcePath(node2);
|
|
7888
7888
|
mapping.original.line = node2.source.end.line;
|
|
@@ -8375,8 +8375,8 @@ function requireParser() {
|
|
|
8375
8375
|
if (colon === false) return;
|
|
8376
8376
|
let founded = 0;
|
|
8377
8377
|
let token;
|
|
8378
|
-
for (let
|
|
8379
|
-
token = tokens[
|
|
8378
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
8379
|
+
token = tokens[j2];
|
|
8380
8380
|
if (token[0] !== "space") {
|
|
8381
8381
|
founded += 1;
|
|
8382
8382
|
if (founded === 2) break;
|
|
@@ -8494,8 +8494,8 @@ function requireParser() {
|
|
|
8494
8494
|
} else if (token[1].toLowerCase() === "important") {
|
|
8495
8495
|
let cache = tokens.slice(0);
|
|
8496
8496
|
let str = "";
|
|
8497
|
-
for (let
|
|
8498
|
-
let type = cache[
|
|
8497
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
8498
|
+
let type = cache[j2][0];
|
|
8499
8499
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
8500
8500
|
break;
|
|
8501
8501
|
}
|
|
@@ -9083,8 +9083,8 @@ function requireLazyResult() {
|
|
|
9083
9083
|
let pluginVer = plugin.postcssVersion;
|
|
9084
9084
|
let runtimeVer = this.result.processor.version;
|
|
9085
9085
|
let a2 = pluginVer.split(".");
|
|
9086
|
-
let
|
|
9087
|
-
if (a2[0] !==
|
|
9086
|
+
let b2 = runtimeVer.split(".");
|
|
9087
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
9088
9088
|
console.error(
|
|
9089
9089
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
9090
9090
|
);
|