@hpcc-js/phosphor 2.19.2 → 2.20.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.
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.19.2";
9
- var BUILD_VERSION = "2.106.4";
8
+ var PKG_VERSION = "2.20.1";
9
+ var BUILD_VERSION = "2.108.1";
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) {
@@ -26098,7 +26091,7 @@
26098
26091
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26099
26092
  PERFORMANCE OF THIS SOFTWARE.
26100
26093
  ***************************************************************************** */
26101
- /* global Reflect, Promise, SuppressedError, Symbol */
26094
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
26102
26095
 
26103
26096
  var extendStatics = function(d, b) {
26104
26097
  extendStatics = Object.setPrototypeOf ||
@@ -26137,8 +26130,8 @@
26137
26130
  }
26138
26131
 
26139
26132
  function __generator(thisArg, body) {
26140
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
26141
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
26133
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
26134
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
26142
26135
  function verb(n) { return function (v) { return step([n, v]); }; }
26143
26136
  function step(op) {
26144
26137
  if (f) throw new TypeError("Generator is already executing.");
@@ -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");