@hpcc-js/common 2.68.1 → 2.71.0

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.68.1";
5
- var BUILD_VERSION = "2.103.1";
4
+ var PKG_VERSION = "2.71.0";
5
+ var BUILD_VERSION = "2.104.0";
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -5783,7 +5783,7 @@ var Class = /** @class */ (function () {
5783
5783
  };
5784
5784
  Class.prototype.overrideMethod = function (methodID, newMethod) {
5785
5785
  if (this[methodID] === undefined) {
5786
- throw new Error("Method: " + methodID + " does not exist.");
5786
+ throw new Error("Method: ".concat(methodID.toString(), " does not exist."));
5787
5787
  }
5788
5788
  var origMethod = this[methodID];
5789
5789
  this[methodID] = function () {
@@ -8185,10 +8185,24 @@ var Widget = /** @class */ (function (_super) {
8185
8185
  }
8186
8186
  return _this;
8187
8187
  }
8188
+ Widget.prototype.columnChecksum = function () {
8189
+ return this._db.fieldsChecksum();
8190
+ };
8191
+ Widget.prototype.dataChecksum = function () {
8192
+ return this._db.dataChecksum();
8193
+ };
8188
8194
  Widget.prototype.importJSON = function (_) {
8189
8195
  this._db.json(_);
8190
8196
  return this;
8191
8197
  };
8198
+ Widget.prototype.importCSV = function (_) {
8199
+ this._db.csv(_);
8200
+ return this;
8201
+ };
8202
+ Widget.prototype.importTSV = function (_) {
8203
+ this._db.tsv(_);
8204
+ return this;
8205
+ };
8192
8206
  Widget.prototype.export = function (_) {
8193
8207
  if (_ === void 0) { _ = "JSON"; }
8194
8208
  switch (_) {