@appsurify-testmap/rrdom-nodejs 2.1.2-alpha.1 → 2.1.2-alpha.2

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.
@@ -124,10 +124,13 @@ function inspectInlineEventHandlers() {
124
124
  });
125
125
  });
126
126
  }
127
- if (document.readyState === "complete" || document.readyState === "interactive") {
128
- inspectInlineEventHandlers();
129
- } else {
130
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
127
+ try {
128
+ if (document.readyState === "complete" || document.readyState === "interactive") {
129
+ inspectInlineEventHandlers();
130
+ } else {
131
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
132
+ }
133
+ } catch (error) {
131
134
  }
132
135
  function getDefaultExportFromCjs(x2) {
133
136
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;