@uipath/case-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 +32 -14
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -278559,7 +278559,12 @@ var require_fast_uri = __commonJS((exports, module) => {
278559
278559
  }
278560
278560
  function resolve2(baseURI, relativeURI, options) {
278561
278561
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
278562
- const resolved = resolveComponent(parse5(baseURI, schemelessOptions), parse5(relativeURI, schemelessOptions), schemelessOptions, true);
278562
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
278563
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
278564
+ if (baseMalformed || relativeMalformed) {
278565
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
278566
+ }
278567
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
278563
278568
  schemelessOptions.skipEscape = true;
278564
278569
  return serialize(resolved, schemelessOptions);
278565
278570
  }
@@ -278686,6 +278691,7 @@ var require_fast_uri = __commonJS((exports, module) => {
278686
278691
  }
278687
278692
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
278688
278693
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
278694
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
278689
278695
  function getParseError(parsed, matches) {
278690
278696
  if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
278691
278697
  return 'URI path must start with "/" when authority is present.';
@@ -278720,6 +278726,20 @@ var require_fast_uri = __commonJS((exports, module) => {
278720
278726
  parsed.error = "URI authority must not contain a literal backslash.";
278721
278727
  malformedAuthorityOrPort = true;
278722
278728
  }
278729
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
278730
+ if (introducerMatch !== null) {
278731
+ const region = introducerMatch[1];
278732
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
278733
+ if (normalizedRegion.length >= 2) {
278734
+ if (normalizedRegion.slice(0, 2) !== "//") {
278735
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
278736
+ malformedAuthorityOrPort = true;
278737
+ } else if (region.length !== normalizedRegion.length) {
278738
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
278739
+ malformedAuthorityOrPort = true;
278740
+ }
278741
+ }
278742
+ }
278723
278743
  const matches = uri.match(URI_PARSE);
278724
278744
  if (matches) {
278725
278745
  parsed.scheme = matches[1];
@@ -283463,7 +283483,7 @@ import"./packager-tool.js";
283463
283483
  var package_default = {
283464
283484
  name: "@uipath/case-tool",
283465
283485
  license: "MIT",
283466
- version: "1.199.0-preview.108",
283486
+ version: "1.199.0-preview.110",
283467
283487
  description: "Manage Case Management instances, processes, and incidents.",
283468
283488
  private: false,
283469
283489
  repository: {
@@ -286804,7 +286824,7 @@ function requireOmap() {
286804
286824
  function resolveYamlOmap(data) {
286805
286825
  if (data === null)
286806
286826
  return true;
286807
- const objectKeys = [];
286827
+ const objectKeys = {};
286808
286828
  const object = data;
286809
286829
  for (let index = 0, length = object.length;index < length; index += 1) {
286810
286830
  const pair = object[index];
@@ -286822,10 +286842,9 @@ function requireOmap() {
286822
286842
  }
286823
286843
  if (!pairHasKey)
286824
286844
  return false;
286825
- if (objectKeys.indexOf(pairKey) === -1)
286826
- objectKeys.push(pairKey);
286827
- else
286845
+ if (_hasOwnProperty.call(objectKeys, pairKey))
286828
286846
  return false;
286847
+ Object.defineProperty(objectKeys, pairKey, { value: true });
286829
286848
  }
286830
286849
  return true;
286831
286850
  }
@@ -366968,7 +366987,7 @@ class TextApiResponse {
366968
366987
  var package_default2 = {
366969
366988
  name: "@uipath/integrationservice-sdk",
366970
366989
  license: "MIT",
366971
- version: "1.199.0-preview.108",
366990
+ version: "1.199.0-preview.110",
366972
366991
  repository: {
366973
366992
  type: "git",
366974
366993
  url: "https://github.com/UiPath/cli.git",
@@ -381175,7 +381194,7 @@ function querystringSingleKey4(key, value, keyPrefix = "") {
381175
381194
  var package_default4 = {
381176
381195
  name: "@uipath/solution-sdk",
381177
381196
  license: "MIT",
381178
- version: "1.199.0-preview.108",
381197
+ version: "1.199.0-preview.110",
381179
381198
  repository: {
381180
381199
  type: "git",
381181
381200
  url: "https://github.com/UiPath/cli.git",
@@ -409637,7 +409656,7 @@ function requireOmap2() {
409637
409656
  function resolveYamlOmap(data) {
409638
409657
  if (data === null)
409639
409658
  return true;
409640
- const objectKeys = [];
409659
+ const objectKeys = {};
409641
409660
  const object3 = data;
409642
409661
  for (let index = 0, length = object3.length;index < length; index += 1) {
409643
409662
  const pair = object3[index];
@@ -409655,10 +409674,9 @@ function requireOmap2() {
409655
409674
  }
409656
409675
  if (!pairHasKey)
409657
409676
  return false;
409658
- if (objectKeys.indexOf(pairKey) === -1)
409659
- objectKeys.push(pairKey);
409660
- else
409677
+ if (_hasOwnProperty.call(objectKeys, pairKey))
409661
409678
  return false;
409679
+ Object.defineProperty(objectKeys, pairKey, { value: true });
409662
409680
  }
409663
409681
  return true;
409664
409682
  }
@@ -414018,7 +414036,7 @@ function querystringSingleKey6(key, value, keyPrefix = "") {
414018
414036
  var package_default5 = {
414019
414037
  name: "@uipath/solution-sdk",
414020
414038
  license: "MIT",
414021
- version: "1.199.0-preview.108",
414039
+ version: "1.199.0-preview.110",
414022
414040
  repository: {
414023
414041
  type: "git",
414024
414042
  url: "https://github.com/UiPath/cli.git",
@@ -443704,4 +443722,4 @@ export {
443704
443722
  metadata
443705
443723
  };
443706
443724
 
443707
- //# debugId=013B3C31B8D6507964756E2164756E21
443725
+ //# debugId=161D57D8AAB163F064756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/case-tool",
3
3
  "license": "MIT",
4
- "version": "1.199.0-preview.108",
4
+ "version": "1.199.0-preview.110",
5
5
  "description": "Manage Case Management instances, processes, and incidents.",
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
  }