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