@hpcc-js/phosphor 2.20.0 → 2.20.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.
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, common) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/phosphor";
8
- var PKG_VERSION = "2.20.0";
9
- var BUILD_VERSION = "2.107.0";
8
+ var PKG_VERSION = "2.20.2";
9
+ var BUILD_VERSION = "2.108.2";
10
10
 
11
11
  // Copyright (c) Jupyter Development Team.
12
12
  // Distributed under the terms of the Modified BSD License.
@@ -2040,10 +2040,6 @@
2040
2040
  var index = 0;
2041
2041
  var it = iter(object);
2042
2042
  var first = it.next();
2043
- // An empty iterator and no initial value is an error.
2044
- if (first === undefined && initial === undefined) {
2045
- throw new TypeError('Reduce of empty iterable with no initial value.');
2046
- }
2047
2043
  // If the iterator is empty, return the initial value.
2048
2044
  if (first === undefined) {
2049
2045
  return initial;
@@ -2051,9 +2047,6 @@
2051
2047
  // If the iterator has a single item and no initial value, the
2052
2048
  // reducer is not invoked and the first item is the return value.
2053
2049
  var second = it.next();
2054
- if (second === undefined && initial === undefined) {
2055
- return first;
2056
- }
2057
2050
  // If iterator has a single item and an initial value is provided,
2058
2051
  // the reducer is invoked and that result is the return value.
2059
2052
  if (second === undefined) {
@@ -26559,7 +26552,7 @@
26559
26552
  this._pPlaceholder
26560
26553
  .style("width", this.width() + "px")
26561
26554
  .style("height", this.height() + "px")
26562
- .style("overflow", "auto");
26555
+ .style("overflow", "hidden");
26563
26556
  element.select(".p-Widget")
26564
26557
  .style("width", this._pPlaceholder.node().clientWidth + "px")
26565
26558
  .style("height", this.height() + "px");