@bigbinary/neeto-playwright-reporter 1.5.5 → 1.5.6

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/index.js CHANGED
@@ -1492,10 +1492,7 @@ function _iterableToArrayLimit(r, l) {
1492
1492
  f = !0,
1493
1493
  o = !1;
1494
1494
  try {
1495
- if (i = (t = t.call(r)).next, 0 === l) {
1496
- if (Object(t) !== t) return;
1497
- f = !1;
1498
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1495
+ if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1499
1496
  } catch (r) {
1500
1497
  o = !0, n = r;
1501
1498
  } finally {
@@ -1552,11 +1549,11 @@ function _toPrimitive(input, hint) {
1552
1549
  if (_typeof(input) !== "object" || input === null) return input;
1553
1550
  var prim = input[Symbol.toPrimitive];
1554
1551
  if (prim !== undefined) {
1555
- var res = prim.call(input, hint || "default");
1552
+ var res = prim.call(input, hint);
1556
1553
  if (_typeof(res) !== "object") return res;
1557
1554
  throw new TypeError("@@toPrimitive must return a primitive value.");
1558
1555
  }
1559
- return (hint === "string" ? String : Number)(input);
1556
+ return (String )(input);
1560
1557
  }
1561
1558
 
1562
1559
  function _toPropertyKey(arg) {
@@ -1575,7 +1572,6 @@ function _defineProperties(target, props) {
1575
1572
  }
1576
1573
  function _createClass(Constructor, protoProps, staticProps) {
1577
1574
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1578
- if (staticProps) _defineProperties(Constructor, staticProps);
1579
1575
  Object.defineProperty(Constructor, "prototype", {
1580
1576
  writable: false
1581
1577
  });
@@ -15884,8 +15880,8 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
15884
15880
  var utils = /*#__PURE__*/Object.freeze({
15885
15881
  __proto__: null,
15886
15882
  hasBrowserEnv: hasBrowserEnv,
15887
- hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
15888
15883
  hasStandardBrowserEnv: hasStandardBrowserEnv,
15884
+ hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
15889
15885
  navigator: _navigator,
15890
15886
  origin: origin
15891
15887
  });
@@ -20247,7 +20243,7 @@ const composeSignals = (signals, timeout) => {
20247
20243
  const streamChunk = function* (chunk, chunkSize) {
20248
20244
  let len = chunk.byteLength;
20249
20245
 
20250
- if (!chunkSize || len < chunkSize) {
20246
+ if (len < chunkSize) {
20251
20247
  yield chunk;
20252
20248
  return;
20253
20249
  }