@forge/egress

2.3.22.3.2-experimental-04cc2b9
out/egress/url-parser.js
~out/egress/url-parser.jsModified
+1−2
Index: package/out/egress/url-parser.js
===================================================================
--- package/out/egress/url-parser.js
+++ package/out/egress/url-parser.js
@@ -1,12 +1,11 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseUrl = void 0;
+exports.parseUrl = parseUrl;
 function parseUrl(url) {
     var _a, _b;
     const protocol = (_b = (_a = url.match(/^(.*?:)/)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : 'https:';
     const hostAndPath = url.replace(protocol, '').replace(/^\/*/, '').replace(/^\\*/, '').split('?')[0].split('#')[0];
     const hostname = hostAndPath.split('/')[0];
     const pathname = hostAndPath.slice(hostname.length) || '/';
     return { protocol, hostname, pathname };
 }
-exports.parseUrl = parseUrl;