@hpcc-js/ddl-shim 2.17.15 → 2.17.19
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/cli.js +10 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.es6.js +72 -16
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +72 -16
- 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 +8 -8
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/CHANGELOG.md +0 -1369
package/dist/index.es6.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var PKG_NAME = "@hpcc-js/ddl-shim";
|
|
2
|
-
var PKG_VERSION = "2.17.
|
|
3
|
-
var BUILD_VERSION = "2.
|
|
2
|
+
var PKG_VERSION = "2.17.19";
|
|
3
|
+
var BUILD_VERSION = "2.88.0";
|
|
4
4
|
|
|
5
5
|
function isWorkunitDatasource(ref) {
|
|
6
6
|
return ref.WUID !== undefined;
|
|
@@ -136,12 +136,14 @@ var __assign = function() {
|
|
|
136
136
|
return __assign.apply(this, arguments);
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
function
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
function __spreadArray(to, from, pack) {
|
|
140
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
141
|
+
if (ar || !(i in from)) {
|
|
142
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
143
|
+
ar[i] = from[i];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return to.concat(ar || from);
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
var classMappings = {
|
|
@@ -588,7 +590,7 @@ var DDLUpgrade = /** @class */ (function () {
|
|
|
588
590
|
this._ddl2DataviewActivities[viz.id].project.transformations = projectTransformations;
|
|
589
591
|
}
|
|
590
592
|
if (aggrFields.length) {
|
|
591
|
-
this._ddl2DataviewActivities[viz.id].groupBy.groupByIDs =
|
|
593
|
+
this._ddl2DataviewActivities[viz.id].groupBy.groupByIDs = __spreadArray([], groupByColumns);
|
|
592
594
|
this._ddl2DataviewActivities[viz.id].groupBy.aggregates = aggrFields;
|
|
593
595
|
}
|
|
594
596
|
}
|
|
@@ -1092,7 +1094,7 @@ function commonjsRequire () {
|
|
|
1092
1094
|
}
|
|
1093
1095
|
|
|
1094
1096
|
var uri_all = createCommonjsModule(function (module, exports) {
|
|
1095
|
-
/** @license URI.js v4.
|
|
1097
|
+
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
1096
1098
|
(function (global, factory) {
|
|
1097
1099
|
factory(exports) ;
|
|
1098
1100
|
}(commonjsGlobal, (function (exports) {
|
|
@@ -2015,9 +2017,9 @@ function _recomposeAuthority(components, options) {
|
|
|
2015
2017
|
return "[" + $1 + ($2 ? "%25" + $2 : "") + "]";
|
|
2016
2018
|
}));
|
|
2017
2019
|
}
|
|
2018
|
-
if (typeof components.port === "number") {
|
|
2020
|
+
if (typeof components.port === "number" || typeof components.port === "string") {
|
|
2019
2021
|
uriTokens.push(":");
|
|
2020
|
-
uriTokens.push(components.port
|
|
2022
|
+
uriTokens.push(String(components.port));
|
|
2021
2023
|
}
|
|
2022
2024
|
return uriTokens.length ? uriTokens.join("") : undefined;
|
|
2023
2025
|
}
|
|
@@ -2220,8 +2222,9 @@ var handler = {
|
|
|
2220
2222
|
return components;
|
|
2221
2223
|
},
|
|
2222
2224
|
serialize: function serialize(components, options) {
|
|
2225
|
+
var secure = String(components.scheme).toLowerCase() === "https";
|
|
2223
2226
|
//normalize the default port
|
|
2224
|
-
if (components.port === (
|
|
2227
|
+
if (components.port === (secure ? 443 : 80) || components.port === "") {
|
|
2225
2228
|
components.port = undefined;
|
|
2226
2229
|
}
|
|
2227
2230
|
//normalize the empty path
|
|
@@ -2242,6 +2245,57 @@ var handler$1 = {
|
|
|
2242
2245
|
serialize: handler.serialize
|
|
2243
2246
|
};
|
|
2244
2247
|
|
|
2248
|
+
function isSecure(wsComponents) {
|
|
2249
|
+
return typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === "wss";
|
|
2250
|
+
}
|
|
2251
|
+
//RFC 6455
|
|
2252
|
+
var handler$2 = {
|
|
2253
|
+
scheme: "ws",
|
|
2254
|
+
domainHost: true,
|
|
2255
|
+
parse: function parse(components, options) {
|
|
2256
|
+
var wsComponents = components;
|
|
2257
|
+
//indicate if the secure flag is set
|
|
2258
|
+
wsComponents.secure = isSecure(wsComponents);
|
|
2259
|
+
//construct resouce name
|
|
2260
|
+
wsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');
|
|
2261
|
+
wsComponents.path = undefined;
|
|
2262
|
+
wsComponents.query = undefined;
|
|
2263
|
+
return wsComponents;
|
|
2264
|
+
},
|
|
2265
|
+
serialize: function serialize(wsComponents, options) {
|
|
2266
|
+
//normalize the default port
|
|
2267
|
+
if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === "") {
|
|
2268
|
+
wsComponents.port = undefined;
|
|
2269
|
+
}
|
|
2270
|
+
//ensure scheme matches secure flag
|
|
2271
|
+
if (typeof wsComponents.secure === 'boolean') {
|
|
2272
|
+
wsComponents.scheme = wsComponents.secure ? 'wss' : 'ws';
|
|
2273
|
+
wsComponents.secure = undefined;
|
|
2274
|
+
}
|
|
2275
|
+
//reconstruct path from resource name
|
|
2276
|
+
if (wsComponents.resourceName) {
|
|
2277
|
+
var _wsComponents$resourc = wsComponents.resourceName.split('?'),
|
|
2278
|
+
_wsComponents$resourc2 = slicedToArray(_wsComponents$resourc, 2),
|
|
2279
|
+
path = _wsComponents$resourc2[0],
|
|
2280
|
+
query = _wsComponents$resourc2[1];
|
|
2281
|
+
|
|
2282
|
+
wsComponents.path = path && path !== '/' ? path : undefined;
|
|
2283
|
+
wsComponents.query = query;
|
|
2284
|
+
wsComponents.resourceName = undefined;
|
|
2285
|
+
}
|
|
2286
|
+
//forbid fragment component
|
|
2287
|
+
wsComponents.fragment = undefined;
|
|
2288
|
+
return wsComponents;
|
|
2289
|
+
}
|
|
2290
|
+
};
|
|
2291
|
+
|
|
2292
|
+
var handler$3 = {
|
|
2293
|
+
scheme: "wss",
|
|
2294
|
+
domainHost: handler$2.domainHost,
|
|
2295
|
+
parse: handler$2.parse,
|
|
2296
|
+
serialize: handler$2.serialize
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2245
2299
|
var O = {};
|
|
2246
2300
|
//RFC 3986
|
|
2247
2301
|
var UNRESERVED$$ = "[A-Za-z0-9\\-\\.\\_\\~" + ( "\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF" ) + "]";
|
|
@@ -2271,7 +2325,7 @@ function decodeUnreserved(str) {
|
|
|
2271
2325
|
var decStr = pctDecChars(str);
|
|
2272
2326
|
return !decStr.match(UNRESERVED) ? str : decStr;
|
|
2273
2327
|
}
|
|
2274
|
-
var handler$
|
|
2328
|
+
var handler$4 = {
|
|
2275
2329
|
scheme: "mailto",
|
|
2276
2330
|
parse: function parse$$1(components, options) {
|
|
2277
2331
|
var mailtoComponents = components;
|
|
@@ -2359,7 +2413,7 @@ var handler$2 = {
|
|
|
2359
2413
|
|
|
2360
2414
|
var URN_PARSE = /^([^\:]+)\:(.*)/;
|
|
2361
2415
|
//RFC 2141
|
|
2362
|
-
var handler$
|
|
2416
|
+
var handler$5 = {
|
|
2363
2417
|
scheme: "urn",
|
|
2364
2418
|
parse: function parse$$1(components, options) {
|
|
2365
2419
|
var matches = components.path && components.path.match(URN_PARSE);
|
|
@@ -2398,7 +2452,7 @@ var handler$3 = {
|
|
|
2398
2452
|
|
|
2399
2453
|
var UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;
|
|
2400
2454
|
//RFC 4122
|
|
2401
|
-
var handler$
|
|
2455
|
+
var handler$6 = {
|
|
2402
2456
|
scheme: "urn:uuid",
|
|
2403
2457
|
parse: function parse(urnComponents, options) {
|
|
2404
2458
|
var uuidComponents = urnComponents;
|
|
@@ -2422,6 +2476,8 @@ SCHEMES[handler$1.scheme] = handler$1;
|
|
|
2422
2476
|
SCHEMES[handler$2.scheme] = handler$2;
|
|
2423
2477
|
SCHEMES[handler$3.scheme] = handler$3;
|
|
2424
2478
|
SCHEMES[handler$4.scheme] = handler$4;
|
|
2479
|
+
SCHEMES[handler$5.scheme] = handler$5;
|
|
2480
|
+
SCHEMES[handler$6.scheme] = handler$6;
|
|
2425
2481
|
|
|
2426
2482
|
exports.SCHEMES = SCHEMES;
|
|
2427
2483
|
exports.pctEncChar = pctEncChar;
|