@sentry/replay 10.58.0 → 10.59.0
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/build/npm/esm/index.js
CHANGED
|
@@ -81,9 +81,9 @@ function stringifyStylesheet(s) {
|
|
|
81
81
|
}
|
|
82
82
|
function fixAllCssProperty(rule) {
|
|
83
83
|
let styles = "";
|
|
84
|
-
for (let
|
|
84
|
+
for (let i2 = 0; i2 < rule.style.length; i2++) {
|
|
85
85
|
const styleDeclaration = rule.style;
|
|
86
|
-
const attribute = styleDeclaration[
|
|
86
|
+
const attribute = styleDeclaration[i2];
|
|
87
87
|
const isImportant = styleDeclaration.getPropertyPriority(attribute);
|
|
88
88
|
styles += `${attribute}:${styleDeclaration.getPropertyValue(attribute)}${isImportant ? ` !important` : ""};`;
|
|
89
89
|
}
|
|
@@ -890,8 +890,8 @@ function serializeElementNode(n, options) {
|
|
|
890
890
|
const tagName = getValidTagName(n);
|
|
891
891
|
let attributes2 = {};
|
|
892
892
|
const len = n.attributes.length;
|
|
893
|
-
for (let
|
|
894
|
-
const attr = n.attributes[
|
|
893
|
+
for (let i2 = 0; i2 < len; i2++) {
|
|
894
|
+
const attr = n.attributes[i2];
|
|
895
895
|
if (attr.name && !ignoreAttribute(tagName, attr.name, attr.value)) {
|
|
896
896
|
attributes2[attr.name] = transformAttribute(
|
|
897
897
|
doc,
|