@hpcc-js/phosphor 2.18.8 → 2.18.9

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.es6.js CHANGED
@@ -1,8 +1,8 @@
1
- import { select, Widget as Widget$1, HTMLWidget, Utility } from '@hpcc-js/common';
1
+ import { select, Widget as Widget$1, Utility, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/phosphor";
4
- var PKG_VERSION = "2.18.8";
5
- var BUILD_VERSION = "2.105.9";
4
+ var PKG_VERSION = "2.18.9";
5
+ var BUILD_VERSION = "2.105.12";
6
6
 
7
7
  // Copyright (c) Jupyter Development Team.
8
8
  // Distributed under the terms of the Modified BSD License.
@@ -2057,10 +2057,7 @@ function reduce(object, fn, initial) {
2057
2057
  }
2058
2058
  // Setup the initial accumlated value.
2059
2059
  var accumulator;
2060
- if (initial === undefined) {
2061
- accumulator = fn(first, second, index++);
2062
- }
2063
- else {
2060
+ {
2064
2061
  accumulator = fn(fn(initial, first, index++), second, index++);
2065
2062
  }
2066
2063
  // Iterate the rest of the values, updating the accumulator.