@esri/solution-common 6.6.1-next.55 → 6.6.1-next.57

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.
@@ -461,6 +461,9 @@ function setNamesAndTitles(templates) {
461
461
  let baseName = t.item.name || t.item.title;
462
462
  // If the name already contains a GUID remove it
463
463
  baseName = baseName.replace(/_[0-9A-F]{32}/gi, "");
464
+ // Replace characters that are not allowed in a feature service name with "_"
465
+ // Disallowed: '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', ' ', '\t'
466
+ baseName = baseName.replace(/[#%&"\\/+?:*<> \t]/g, "_");
464
467
  // The name length limit is 98
465
468
  // Limit the baseName to 50 characters before the _<guid>
466
469
  // If the baseName includes '{{params' it is likely being used in a template replacement, so do not truncate.
@@ -443,6 +443,9 @@ export function setNamesAndTitles(templates) {
443
443
  let baseName = t.item.name || t.item.title;
444
444
  // If the name already contains a GUID remove it
445
445
  baseName = baseName.replace(/_[0-9A-F]{32}/gi, "");
446
+ // Replace characters that are not allowed in a feature service name with "_"
447
+ // Disallowed: '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', ' ', '\t'
448
+ baseName = baseName.replace(/[#%&"\\/+?:*<> \t]/g, "_");
446
449
  // The name length limit is 98
447
450
  // Limit the baseName to 50 characters before the _<guid>
448
451
  // If the baseName includes '{{params' it is likely being used in a template replacement, so do not truncate.
@@ -1,7 +1,7 @@
1
- Built 06/01/2026 20:42:52.78
1
+ Built 06/03/2026 20:42:57.09
2
2
  develop
3
- commit 23113bda977b88ac82de7082f3bf0be63fa0524d
3
+ commit f97b4b2217927549bf4afb9edbd5dca2c1df9539
4
4
  Author: Ryan Cosby <ryan9313@esri.com>
5
- Date: Sun May 31 20:49:37 2026 -0700
5
+ Date: Tue Jun 2 20:50:00 2026 -0700
6
6
 
7
- v6.6.1-next.54
7
+ v6.6.1-next.56
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-common",
3
- "version": "6.6.1-next.55",
3
+ "version": "6.6.1-next.57",
4
4
  "description": "Provides general helper functions for @esri/solution.js.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -96,5 +96,5 @@
96
96
  "esri",
97
97
  "ES6"
98
98
  ],
99
- "gitHead": "23113bda977b88ac82de7082f3bf0be63fa0524d"
99
+ "gitHead": "f97b4b2217927549bf4afb9edbd5dca2c1df9539"
100
100
  }