bug-extractor-plugin 0.1.0 → 0.1.1

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.
@@ -13,12 +13,12 @@ function Fe(a, n) {
13
13
  }, Fe(a, n);
14
14
  }
15
15
  function zt() {
16
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
16
+ if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham) return !1;
17
17
  if (typeof Proxy == "function") return !0;
18
18
  try {
19
19
  return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
20
20
  })), !0;
21
- } catch {
21
+ } catch (a) {
22
22
  return !1;
23
23
  }
24
24
  }
@@ -37,7 +37,7 @@ function Gt(a) {
37
37
  if (Array.isArray(a)) return Ue(a);
38
38
  }
39
39
  function Wt(a) {
40
- if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
40
+ if (typeof Symbol != "undefined" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
41
41
  }
42
42
  function Bt(a, n) {
43
43
  if (a) {
@@ -56,7 +56,7 @@ function $t() {
56
56
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
57
57
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
58
58
  }
59
- var jt = Object.hasOwnProperty, ut = Object.setPrototypeOf, Yt = Object.isFrozen, Xt = Object.getPrototypeOf, Vt = Object.getOwnPropertyDescriptor, E = Object.freeze, b = Object.seal, qt = Object.create, vt = typeof Reflect < "u" && Reflect, ue = vt.apply, He = vt.construct;
59
+ var jt = Object.hasOwnProperty, ut = Object.setPrototypeOf, Yt = Object.isFrozen, Xt = Object.getPrototypeOf, Vt = Object.getOwnPropertyDescriptor, E = Object.freeze, b = Object.seal, qt = Object.create, vt = typeof Reflect != "undefined" && Reflect, ue = vt.apply, He = vt.construct;
60
60
  ue || (ue = function(n, o, s) {
61
61
  return n.apply(o, s);
62
62
  });
@@ -126,7 +126,7 @@ var mt = E(["a", "abbr", "acronym", "address", "area", "article", "aside", "audi
126
126
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
127
127
  // eslint-disable-line no-control-regex
128
128
  ), fr = b(/^html$/i), cr = b(/^[a-z][.\w]*(-[.\w]+)+$/i), mr = function() {
129
- return typeof window > "u" ? null : window;
129
+ return typeof window == "undefined" ? null : window;
130
130
  }, pr = function(n, o) {
131
131
  if (I(n) !== "object" || typeof n.createPolicy != "function")
132
132
  return null;
@@ -142,7 +142,7 @@ var mt = E(["a", "abbr", "acronym", "address", "area", "article", "aside", "audi
142
142
  return D;
143
143
  }
144
144
  });
145
- } catch {
145
+ } catch (y) {
146
146
  return console.warn("TrustedTypes policy " + g + " could not be created."), null;
147
147
  }
148
148
  };
@@ -160,7 +160,7 @@ function _t() {
160
160
  var R = pr(K, o), me = R ? R.createHTML("") : "", J = s, pe = J.implementation, bt = J.createNodeIterator, Ot = J.createDocumentFragment, Rt = J.getElementsByTagName, Lt = o.importNode, ze = {};
161
161
  try {
162
162
  ze = U(s).documentMode ? s.documentMode : {};
163
- } catch {
163
+ } catch (i) {
164
164
  }
165
165
  var N = {};
166
166
  n.isSupported = typeof fe == "function" && pe && pe.createHTMLDocument !== void 0 && ze !== 9;
@@ -220,10 +220,10 @@ function _t() {
220
220
  });
221
221
  try {
222
222
  e.parentNode.removeChild(e);
223
- } catch {
223
+ } catch (t) {
224
224
  try {
225
225
  e.outerHTML = me;
226
- } catch {
226
+ } catch (r) {
227
227
  e.remove();
228
228
  }
229
229
  }
@@ -233,7 +233,7 @@ function _t() {
233
233
  attribute: t.getAttributeNode(e),
234
234
  from: t
235
235
  });
236
- } catch {
236
+ } catch (r) {
237
237
  q(n.removed, {
238
238
  attribute: null,
239
239
  from: t
@@ -243,12 +243,12 @@ function _t() {
243
243
  if (z || Q)
244
244
  try {
245
245
  S(t);
246
- } catch {
246
+ } catch (r) {
247
247
  }
248
248
  else
249
249
  try {
250
250
  t.setAttribute(e, "");
251
- } catch {
251
+ } catch (r) {
252
252
  }
253
253
  }, rt = function(e) {
254
254
  var t, r;
@@ -263,13 +263,13 @@ function _t() {
263
263
  if (B === w)
264
264
  try {
265
265
  t = new At().parseFromString(A, P);
266
- } catch {
266
+ } catch (v) {
267
267
  }
268
268
  if (!t || !t.documentElement) {
269
269
  t = pe.createDocument(B, "template", null);
270
270
  try {
271
271
  t.documentElement.innerHTML = Oe ? me : A;
272
- } catch {
272
+ } catch (v) {
273
273
  }
274
274
  }
275
275
  var h = t.body || t.documentElement;
@@ -385,7 +385,7 @@ function _t() {
385
385
  }
386
386
  try {
387
387
  Ne ? e.setAttributeNS(Ne, m, r) : e.setAttribute(m, r), De(e) ? S(e) : ft(n.removed);
388
- } catch {
388
+ } catch (dr) {
389
389
  }
390
390
  }
391
391
  }
@@ -469,4 +469,4 @@ var Tr = _t();
469
469
  export {
470
470
  Tr as default
471
471
  };
472
- //# sourceMappingURL=purify.es-Bo7Q7b72.js.map
472
+ //# sourceMappingURL=purify.es-CesKVqev.js.map