apn-app-manager 1.14.2 → 1.14.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apn-app-manager",
3
- "version": "1.14.2",
3
+ "version": "1.14.4",
4
4
  "description": "Appian App Manager",
5
5
  "license": "Apache-2.0",
6
6
  "preferGlobal": true,
package/src/cons.js CHANGED
@@ -31,7 +31,7 @@ module.exports = {
31
31
  // Note that we can assume any UUID that "must be cloned" must be wrapped in either >uuid< or "uuid"
32
32
  // -- i.e. a UUID that represents some metadata of an Appian object,
33
33
  // -- rather than an UUID that is a reference, or connected system third-party id, or just referenced in a code block, or commented out
34
- uuidRegex: /(?<=>|")[A-Za-z0-9-_]{10,}[0-9][A-Za-z0-9-_]{1,}-[A-Za-z0-9-_]{10,}(?=<|")/g,
34
+ uuidRegex: /(?<=>|"|:|\/)[A-Za-z0-9-_]{10,}[0-9][A-Za-z0-9-_]{1,}-[A-Za-z0-9-_]{10,}(?=<|"|:|\/)/g,
35
35
 
36
36
  noNamespace: "Objects with no found namespace",
37
37
  namespaceDelimiterRegex: "[:|_| |\\.|-]",
@@ -50,7 +50,7 @@ function modifyObjectFiles(appDir, objectMaps, problemWordsMaps, usageType, addi
50
50
  let replacementMaps = buildReplacementMaps(objectMaps, problemWordsMaps, usageType, additionalReplacementMaps);
51
51
  // Determine how many files to change
52
52
  let totalCount = 0;
53
- util.handleDirFiles(appDir, ["xml", "xsd", "properties"], 3, 2, function (obPath) {
53
+ util.handleDirFiles(appDir, ["xml", "xsd", "properties"], 3, 1, function (obPath) {
54
54
  totalCount++;
55
55
  });
56
56
  // Replace all object files with the new names & uuids
@@ -59,7 +59,7 @@ function modifyObjectFiles(appDir, objectMaps, problemWordsMaps, usageType, addi
59
59
  total: totalCount,
60
60
  nextProgress: progressToShow[0],
61
61
  };
62
- util.handleDirFiles(appDir, ["xml", "xsd", "properties"], 3, 2, function (obPath) {
62
+ util.handleDirFiles(appDir, ["xml", "xsd", "properties"], 3, 1, function (obPath) {
63
63
  modifyObjectFile(replacementMaps, fileCount, obPath, true);
64
64
  });
65
65
  // Rename all document folders