@hpcc-js/ddl-shim 2.17.16 → 2.17.20
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 +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.es6.js +63 -9
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +63 -9
- 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 +7 -6
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/CHANGELOG.md +0 -1658
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.20";
|
|
3
|
+
var BUILD_VERSION = "2.94.0";
|
|
4
4
|
|
|
5
5
|
function isWorkunitDatasource(ref) {
|
|
6
6
|
return ref.WUID !== undefined;
|
|
@@ -1094,7 +1094,7 @@ function commonjsRequire () {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
1096
|
var uri_all = createCommonjsModule(function (module, exports) {
|
|
1097
|
-
/** @license URI.js v4.
|
|
1097
|
+
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
1098
1098
|
(function (global, factory) {
|
|
1099
1099
|
factory(exports) ;
|
|
1100
1100
|
}(commonjsGlobal, (function (exports) {
|
|
@@ -2017,9 +2017,9 @@ function _recomposeAuthority(components, options) {
|
|
|
2017
2017
|
return "[" + $1 + ($2 ? "%25" + $2 : "") + "]";
|
|
2018
2018
|
}));
|
|
2019
2019
|
}
|
|
2020
|
-
if (typeof components.port === "number") {
|
|
2020
|
+
if (typeof components.port === "number" || typeof components.port === "string") {
|
|
2021
2021
|
uriTokens.push(":");
|
|
2022
|
-
uriTokens.push(components.port
|
|
2022
|
+
uriTokens.push(String(components.port));
|
|
2023
2023
|
}
|
|
2024
2024
|
return uriTokens.length ? uriTokens.join("") : undefined;
|
|
2025
2025
|
}
|
|
@@ -2222,8 +2222,9 @@ var handler = {
|
|
|
2222
2222
|
return components;
|
|
2223
2223
|
},
|
|
2224
2224
|
serialize: function serialize(components, options) {
|
|
2225
|
+
var secure = String(components.scheme).toLowerCase() === "https";
|
|
2225
2226
|
//normalize the default port
|
|
2226
|
-
if (components.port === (
|
|
2227
|
+
if (components.port === (secure ? 443 : 80) || components.port === "") {
|
|
2227
2228
|
components.port = undefined;
|
|
2228
2229
|
}
|
|
2229
2230
|
//normalize the empty path
|
|
@@ -2244,6 +2245,57 @@ var handler$1 = {
|
|
|
2244
2245
|
serialize: handler.serialize
|
|
2245
2246
|
};
|
|
2246
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
|
+
|
|
2247
2299
|
var O = {};
|
|
2248
2300
|
//RFC 3986
|
|
2249
2301
|
var UNRESERVED$$ = "[A-Za-z0-9\\-\\.\\_\\~" + ( "\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF" ) + "]";
|
|
@@ -2273,7 +2325,7 @@ function decodeUnreserved(str) {
|
|
|
2273
2325
|
var decStr = pctDecChars(str);
|
|
2274
2326
|
return !decStr.match(UNRESERVED) ? str : decStr;
|
|
2275
2327
|
}
|
|
2276
|
-
var handler$
|
|
2328
|
+
var handler$4 = {
|
|
2277
2329
|
scheme: "mailto",
|
|
2278
2330
|
parse: function parse$$1(components, options) {
|
|
2279
2331
|
var mailtoComponents = components;
|
|
@@ -2361,7 +2413,7 @@ var handler$2 = {
|
|
|
2361
2413
|
|
|
2362
2414
|
var URN_PARSE = /^([^\:]+)\:(.*)/;
|
|
2363
2415
|
//RFC 2141
|
|
2364
|
-
var handler$
|
|
2416
|
+
var handler$5 = {
|
|
2365
2417
|
scheme: "urn",
|
|
2366
2418
|
parse: function parse$$1(components, options) {
|
|
2367
2419
|
var matches = components.path && components.path.match(URN_PARSE);
|
|
@@ -2400,7 +2452,7 @@ var handler$3 = {
|
|
|
2400
2452
|
|
|
2401
2453
|
var UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;
|
|
2402
2454
|
//RFC 4122
|
|
2403
|
-
var handler$
|
|
2455
|
+
var handler$6 = {
|
|
2404
2456
|
scheme: "urn:uuid",
|
|
2405
2457
|
parse: function parse(urnComponents, options) {
|
|
2406
2458
|
var uuidComponents = urnComponents;
|
|
@@ -2424,6 +2476,8 @@ SCHEMES[handler$1.scheme] = handler$1;
|
|
|
2424
2476
|
SCHEMES[handler$2.scheme] = handler$2;
|
|
2425
2477
|
SCHEMES[handler$3.scheme] = handler$3;
|
|
2426
2478
|
SCHEMES[handler$4.scheme] = handler$4;
|
|
2479
|
+
SCHEMES[handler$5.scheme] = handler$5;
|
|
2480
|
+
SCHEMES[handler$6.scheme] = handler$6;
|
|
2427
2481
|
|
|
2428
2482
|
exports.SCHEMES = SCHEMES;
|
|
2429
2483
|
exports.pctEncChar = pctEncChar;
|