@uipath/maestro-sdk 1.199.0-preview.108 → 1.199.0-preview.110

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.
Files changed (2) hide show
  1. package/dist/index.js +26 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -42333,7 +42333,12 @@ var require_fast_uri = __commonJS((exports, module) => {
42333
42333
  }
42334
42334
  function resolve2(baseURI, relativeURI, options) {
42335
42335
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
42336
- const resolved = resolveComponent(parse5(baseURI, schemelessOptions), parse5(relativeURI, schemelessOptions), schemelessOptions, true);
42336
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
42337
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
42338
+ if (baseMalformed || relativeMalformed) {
42339
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
42340
+ }
42341
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
42337
42342
  schemelessOptions.skipEscape = true;
42338
42343
  return serialize(resolved, schemelessOptions);
42339
42344
  }
@@ -42460,6 +42465,7 @@ var require_fast_uri = __commonJS((exports, module) => {
42460
42465
  }
42461
42466
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
42462
42467
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
42468
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
42463
42469
  function getParseError(parsed, matches) {
42464
42470
  if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
42465
42471
  return 'URI path must start with "/" when authority is present.';
@@ -42494,6 +42500,20 @@ var require_fast_uri = __commonJS((exports, module) => {
42494
42500
  parsed.error = "URI authority must not contain a literal backslash.";
42495
42501
  malformedAuthorityOrPort = true;
42496
42502
  }
42503
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
42504
+ if (introducerMatch !== null) {
42505
+ const region = introducerMatch[1];
42506
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
42507
+ if (normalizedRegion.length >= 2) {
42508
+ if (normalizedRegion.slice(0, 2) !== "//") {
42509
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
42510
+ malformedAuthorityOrPort = true;
42511
+ } else if (region.length !== normalizedRegion.length) {
42512
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
42513
+ malformedAuthorityOrPort = true;
42514
+ }
42515
+ }
42516
+ }
42497
42517
  const matches = uri.match(URI_PARSE);
42498
42518
  if (matches) {
42499
42519
  parsed.scheme = matches[1];
@@ -54335,7 +54355,7 @@ function requireOmap() {
54335
54355
  function resolveYamlOmap(data) {
54336
54356
  if (data === null)
54337
54357
  return true;
54338
- const objectKeys = [];
54358
+ const objectKeys = {};
54339
54359
  const object = data;
54340
54360
  for (let index = 0, length = object.length;index < length; index += 1) {
54341
54361
  const pair = object[index];
@@ -54353,10 +54373,9 @@ function requireOmap() {
54353
54373
  }
54354
54374
  if (!pairHasKey)
54355
54375
  return false;
54356
- if (objectKeys.indexOf(pairKey) === -1)
54357
- objectKeys.push(pairKey);
54358
- else
54376
+ if (_hasOwnProperty.call(objectKeys, pairKey))
54359
54377
  return false;
54378
+ Object.defineProperty(objectKeys, pairKey, { value: true });
54360
54379
  }
54361
54380
  return true;
54362
54381
  }
@@ -131061,7 +131080,7 @@ class TextApiResponse {
131061
131080
  var package_default = {
131062
131081
  name: "@uipath/integrationservice-sdk",
131063
131082
  license: "MIT",
131064
- version: "1.199.0-preview.108",
131083
+ version: "1.199.0-preview.110",
131065
131084
  repository: {
131066
131085
  type: "git",
131067
131086
  url: "https://github.com/UiPath/cli.git",
@@ -142923,4 +142942,4 @@ export {
142923
142942
  BPMN_SPEC
142924
142943
  };
142925
142944
 
142926
- //# debugId=F08A77EEC5E3334564756E2164756E21
142945
+ //# debugId=995E4B90E2E6A4C064756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/maestro-sdk",
3
3
  "license": "MIT",
4
- "version": "1.199.0-preview.108",
4
+ "version": "1.199.0-preview.110",
5
5
  "description": "SDK for the UiPath Maestro (PIMS) API — process instance management.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "files": [
48
48
  "dist"
49
49
  ],
50
- "gitHead": "171f68daab68809916e8df10ea198c259f688ede"
50
+ "gitHead": "a714aed479181e56e2a867470c3050b7230ec41f"
51
51
  }