@uipath/agent-tool 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/tool.js +33 -15
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -6262,7 +6262,7 @@ function requireOmap() {
6262
6262
  function resolveYamlOmap(data) {
6263
6263
  if (data === null)
6264
6264
  return true;
6265
- const objectKeys = [];
6265
+ const objectKeys = {};
6266
6266
  const object = data;
6267
6267
  for (let index = 0, length = object.length;index < length; index += 1) {
6268
6268
  const pair = object[index];
@@ -6280,10 +6280,9 @@ function requireOmap() {
6280
6280
  }
6281
6281
  if (!pairHasKey)
6282
6282
  return false;
6283
- if (objectKeys.indexOf(pairKey) === -1)
6284
- objectKeys.push(pairKey);
6285
- else
6283
+ if (_hasOwnProperty.call(objectKeys, pairKey))
6286
6284
  return false;
6285
+ Object.defineProperty(objectKeys, pairKey, { value: true });
6287
6286
  }
6288
6287
  return true;
6289
6288
  }
@@ -62311,7 +62310,12 @@ var require_fast_uri = __commonJS((exports, module) => {
62311
62310
  }
62312
62311
  function resolve4(baseURI, relativeURI, options) {
62313
62312
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
62314
- const resolved = resolveComponent(parse9(baseURI, schemelessOptions), parse9(relativeURI, schemelessOptions), schemelessOptions, true);
62313
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
62314
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
62315
+ if (baseMalformed || relativeMalformed) {
62316
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
62317
+ }
62318
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
62315
62319
  schemelessOptions.skipEscape = true;
62316
62320
  return serialize(resolved, schemelessOptions);
62317
62321
  }
@@ -62438,6 +62442,7 @@ var require_fast_uri = __commonJS((exports, module) => {
62438
62442
  }
62439
62443
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
62440
62444
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
62445
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
62441
62446
  function getParseError(parsed, matches) {
62442
62447
  if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
62443
62448
  return 'URI path must start with "/" when authority is present.';
@@ -62472,6 +62477,20 @@ var require_fast_uri = __commonJS((exports, module) => {
62472
62477
  parsed.error = "URI authority must not contain a literal backslash.";
62473
62478
  malformedAuthorityOrPort = true;
62474
62479
  }
62480
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
62481
+ if (introducerMatch !== null) {
62482
+ const region = introducerMatch[1];
62483
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
62484
+ if (normalizedRegion.length >= 2) {
62485
+ if (normalizedRegion.slice(0, 2) !== "//") {
62486
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
62487
+ malformedAuthorityOrPort = true;
62488
+ } else if (region.length !== normalizedRegion.length) {
62489
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
62490
+ malformedAuthorityOrPort = true;
62491
+ }
62492
+ }
62493
+ }
62475
62494
  const matches = uri.match(URI_PARSE);
62476
62495
  if (matches) {
62477
62496
  parsed.scheme = matches[1];
@@ -65995,7 +66014,7 @@ var init_package = __esm(() => {
65995
66014
  package_default6 = {
65996
66015
  name: "@uipath/integrationservice-sdk",
65997
66016
  license: "MIT",
65998
- version: "1.199.0-preview.108",
66017
+ version: "1.199.0-preview.110",
65999
66018
  repository: {
66000
66019
  type: "git",
66001
66020
  url: "https://github.com/UiPath/cli.git",
@@ -90297,7 +90316,7 @@ import"./packager-tool.js";
90297
90316
  var package_default = {
90298
90317
  name: "@uipath/agent-tool",
90299
90318
  license: "MIT",
90300
- version: "1.199.0-preview.108",
90319
+ version: "1.199.0-preview.110",
90301
90320
  description: "cli plugin for creating and managing UiPath low-code agents",
90302
90321
  private: false,
90303
90322
  repository: {
@@ -95318,7 +95337,7 @@ class TextApiResponse2 {
95318
95337
  var package_default3 = {
95319
95338
  name: "@uipath/solution-sdk",
95320
95339
  license: "MIT",
95321
- version: "1.199.0-preview.108",
95340
+ version: "1.199.0-preview.110",
95322
95341
  repository: {
95323
95342
  type: "git",
95324
95343
  url: "https://github.com/UiPath/cli.git",
@@ -98988,7 +99007,7 @@ class VoidApiResponse3 {
98988
99007
  var package_default4 = {
98989
99008
  name: "@uipath/agent-sdk",
98990
99009
  license: "MIT",
98991
- version: "1.199.0-preview.108",
99010
+ version: "1.199.0-preview.110",
98992
99011
  description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
98993
99012
  repository: {
98994
99013
  type: "git",
@@ -148345,7 +148364,7 @@ function requireOmap2() {
148345
148364
  function resolveYamlOmap(data) {
148346
148365
  if (data === null)
148347
148366
  return true;
148348
- const objectKeys = [];
148367
+ const objectKeys = {};
148349
148368
  const object = data;
148350
148369
  for (let index = 0, length = object.length;index < length; index += 1) {
148351
148370
  const pair = object[index];
@@ -148363,10 +148382,9 @@ function requireOmap2() {
148363
148382
  }
148364
148383
  if (!pairHasKey)
148365
148384
  return false;
148366
- if (objectKeys.indexOf(pairKey) === -1)
148367
- objectKeys.push(pairKey);
148368
- else
148385
+ if (_hasOwnProperty.call(objectKeys, pairKey))
148369
148386
  return false;
148387
+ Object.defineProperty(objectKeys, pairKey, { value: true });
148370
148388
  }
148371
148389
  return true;
148372
148390
  }
@@ -152726,7 +152744,7 @@ function querystringSingleKey5(key, value, keyPrefix = "") {
152726
152744
  var package_default5 = {
152727
152745
  name: "@uipath/solution-sdk",
152728
152746
  license: "MIT",
152729
- version: "1.199.0-preview.108",
152747
+ version: "1.199.0-preview.110",
152730
152748
  repository: {
152731
152749
  type: "git",
152732
152750
  url: "https://github.com/UiPath/cli.git",
@@ -197978,4 +197996,4 @@ export {
197978
197996
  metadata
197979
197997
  };
197980
197998
 
197981
- //# debugId=4B7A19C6EA47922964756E2164756E21
197999
+ //# debugId=1C5A6DDF3BF8CBDE64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/agent-tool",
3
3
  "license": "MIT",
4
- "version": "1.199.0-preview.108",
4
+ "version": "1.199.0-preview.110",
5
5
  "description": "cli plugin for creating and managing UiPath low-code agents",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "171f68daab68809916e8df10ea198c259f688ede"
29
+ "gitHead": "a714aed479181e56e2a867470c3050b7230ec41f"
30
30
  }