@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 +17 -3
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/src/Class.ts +1 -1
- package/src/Database.ts +4 -4
- package/src/Widget.ts +18 -0
- package/src/__package__.ts +2 -2
- package/types/Database.d.ts +2 -2
- package/types/Database.d.ts.map +1 -1
- package/types/Widget.d.ts +4 -0
- package/types/Widget.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/Database.d.ts +2 -2
- package/types-3.4/Widget.d.ts +4 -0
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
})(this, (function (exports, util) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var PKG_NAME = "@hpcc-js/common";
|
|
8
|
-
var PKG_VERSION = "2.
|
|
9
|
-
var BUILD_VERSION = "2.
|
|
8
|
+
var PKG_VERSION = "2.71.0";
|
|
9
|
+
var BUILD_VERSION = "2.104.0";
|
|
10
10
|
|
|
11
11
|
/*! *****************************************************************************
|
|
12
12
|
Copyright (c) Microsoft Corporation.
|
|
@@ -5787,7 +5787,7 @@
|
|
|
5787
5787
|
};
|
|
5788
5788
|
Class.prototype.overrideMethod = function (methodID, newMethod) {
|
|
5789
5789
|
if (this[methodID] === undefined) {
|
|
5790
|
-
throw new Error("Method: "
|
|
5790
|
+
throw new Error("Method: ".concat(methodID.toString(), " does not exist."));
|
|
5791
5791
|
}
|
|
5792
5792
|
var origMethod = this[methodID];
|
|
5793
5793
|
this[methodID] = function () {
|
|
@@ -8189,10 +8189,24 @@
|
|
|
8189
8189
|
}
|
|
8190
8190
|
return _this;
|
|
8191
8191
|
}
|
|
8192
|
+
Widget.prototype.columnChecksum = function () {
|
|
8193
|
+
return this._db.fieldsChecksum();
|
|
8194
|
+
};
|
|
8195
|
+
Widget.prototype.dataChecksum = function () {
|
|
8196
|
+
return this._db.dataChecksum();
|
|
8197
|
+
};
|
|
8192
8198
|
Widget.prototype.importJSON = function (_) {
|
|
8193
8199
|
this._db.json(_);
|
|
8194
8200
|
return this;
|
|
8195
8201
|
};
|
|
8202
|
+
Widget.prototype.importCSV = function (_) {
|
|
8203
|
+
this._db.csv(_);
|
|
8204
|
+
return this;
|
|
8205
|
+
};
|
|
8206
|
+
Widget.prototype.importTSV = function (_) {
|
|
8207
|
+
this._db.tsv(_);
|
|
8208
|
+
return this;
|
|
8209
|
+
};
|
|
8196
8210
|
Widget.prototype.export = function (_) {
|
|
8197
8211
|
if (_ === void 0) { _ = "JSON"; }
|
|
8198
8212
|
switch (_) {
|