@hpcc-js/common 2.71.7 → 2.71.8

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
1
  import { classID2Meta, hashSum, isArray } from '@hpcc-js/util';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/common";
4
- var PKG_VERSION = "2.71.7";
5
- var BUILD_VERSION = "2.104.14";
4
+ var PKG_VERSION = "2.71.8";
5
+ var BUILD_VERSION = "2.104.18";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -6996,10 +6996,11 @@ function multiSort(data, sortBy) {
6996
6996
  }
6997
6997
  var Selection = SelectionBag;
6998
6998
  function urlParams() {
6999
- var def = window.location.search.split("?")[1];
7000
6999
  var retVal = {};
7001
- if (def) {
7002
- def.split("&").forEach(function (param) {
7000
+ var url = window.location.href;
7001
+ var idx = url.indexOf("?");
7002
+ if (idx >= 0) {
7003
+ url.substring(idx + 1).split("&").forEach(function (param) {
7003
7004
  var paramParts = param.split("=");
7004
7005
  switch (paramParts.length) {
7005
7006
  case 1: