@uipath/case-tool 1.1.0 → 1.196.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.
Files changed (3) hide show
  1. package/dist/packager-tool.js +6 -2
  2. package/dist/tool.js +139461 -100008
  3. package/package.json +28 -42
@@ -1580,6 +1580,7 @@ class ToolResult {
1580
1580
  errorCode;
1581
1581
  message;
1582
1582
  packages;
1583
+ details;
1583
1584
  constructor(errorCode, message, packages = []) {
1584
1585
  this.errorCode = errorCode;
1585
1586
  this.message = message;
@@ -1757,8 +1758,11 @@ class ToolsFactoryRepository {
1757
1758
  solutionFactory = null;
1758
1759
  registerProjectToolFactory(factory) {
1759
1760
  for (const type of factory.supportedTypes) {
1760
- if (this.projectFactoryMap.has(type)) {
1761
- console.warn(`Tool factory already registered for project type '${type}', skipping.`);
1761
+ const existing = this.projectFactoryMap.get(type);
1762
+ if (existing) {
1763
+ if (existing.constructor?.name !== factory.constructor?.name) {
1764
+ console.warn(`Tool factory conflict for project type '${type}': ` + `'${existing.constructor?.name}' already registered, ` + `ignoring '${factory.constructor?.name}'.`);
1765
+ }
1762
1766
  continue;
1763
1767
  }
1764
1768
  this.projectFactoryMap.set(type, factory);