@uipath/flow-tool 1.199.0-preview.99 → 1.199.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.
@@ -26273,7 +26273,12 @@ var require_fast_uri = __commonJS((exports, module) => {
26273
26273
  }
26274
26274
  function resolve(baseURI, relativeURI, options) {
26275
26275
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
26276
- const resolved = resolveComponent(parse5(baseURI, schemelessOptions), parse5(relativeURI, schemelessOptions), schemelessOptions, true);
26276
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
26277
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
26278
+ if (baseMalformed || relativeMalformed) {
26279
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
26280
+ }
26281
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
26277
26282
  schemelessOptions.skipEscape = true;
26278
26283
  return serialize(resolved, schemelessOptions);
26279
26284
  }
@@ -26400,6 +26405,7 @@ var require_fast_uri = __commonJS((exports, module) => {
26400
26405
  }
26401
26406
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
26402
26407
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
26408
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
26403
26409
  function getParseError(parsed, matches) {
26404
26410
  if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
26405
26411
  return 'URI path must start with "/" when authority is present.';
@@ -26434,6 +26440,20 @@ var require_fast_uri = __commonJS((exports, module) => {
26434
26440
  parsed.error = "URI authority must not contain a literal backslash.";
26435
26441
  malformedAuthorityOrPort = true;
26436
26442
  }
26443
+ const introducerMatch = uri2.match(AUTHORITY_INTRODUCER_REGION);
26444
+ if (introducerMatch !== null) {
26445
+ const region = introducerMatch[1];
26446
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
26447
+ if (normalizedRegion.length >= 2) {
26448
+ if (normalizedRegion.slice(0, 2) !== "//") {
26449
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
26450
+ malformedAuthorityOrPort = true;
26451
+ } else if (region.length !== normalizedRegion.length) {
26452
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
26453
+ malformedAuthorityOrPort = true;
26454
+ }
26455
+ }
26456
+ }
26437
26457
  const matches = uri2.match(URI_PARSE);
26438
26458
  if (matches) {
26439
26459
  parsed.scheme = matches[1];
@@ -172877,7 +172897,7 @@ init_dist6();
172877
172897
  // ../packager/packager-tool-flow/package.json
172878
172898
  var package_default = {
172879
172899
  name: "@uipath/packager-tool-flow",
172880
- version: "1.199.0-preview.99",
172900
+ version: "1.199.0",
172881
172901
  description: "UiPath Flow tool implementation",
172882
172902
  type: "module",
172883
172903
  exports: {
@@ -187640,4 +187660,4 @@ var toolsFactoryRepository2 = _global2[REGISTRY_KEY2];
187640
187660
  // src/packager-tool.ts
187641
187661
  toolsFactoryRepository2.registerProjectToolFactory(new FlowToolFactory);
187642
187662
 
187643
- //# debugId=BA653613DB8EAA2F64756E2164756E21
187663
+ //# debugId=0F4210B42020B7D464756E2164756E21