@esri/solution-common 6.6.1-next.65 → 6.6.1-next.66

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.
@@ -551,7 +551,8 @@ export declare function _addItemMetadataFile(itemId: string, metadataFile: File,
551
551
  export declare function _countRelationships(layers: any[]): number;
552
552
  /**
553
553
  * Remove spaces and replace other characters that are not allowed in a feature service name with "_".
554
- * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', '\t'
554
+ * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*',
555
+ * '<', '>', '\t', '!', '@', "'", ';', ','
555
556
  *
556
557
  * @param name The candidate service name
557
558
  * @returns The sanitized name, or the input unchanged if it is not a string
@@ -1693,13 +1693,14 @@ function _countRelationships(layers) {
1693
1693
  exports._countRelationships = _countRelationships;
1694
1694
  /**
1695
1695
  * Remove spaces and replace other characters that are not allowed in a feature service name with "_".
1696
- * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', '\t'
1696
+ * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*',
1697
+ * '<', '>', '\t', '!', '@', "'", ';', ','
1697
1698
  *
1698
1699
  * @param name The candidate service name
1699
1700
  * @returns The sanitized name, or the input unchanged if it is not a string
1700
1701
  */
1701
1702
  function sanitizeFeatureServiceName(name) {
1702
- return typeof name === "string" ? name.replace(/ /g, "").replace(/[#%&"\\/+?:*<>\t]/g, "_") : name;
1703
+ return typeof name === "string" ? name.replace(/ /g, "").replace(/[#%&"\\/+?:*<>\t!@';,]/g, "_") : name;
1703
1704
  }
1704
1705
  exports.sanitizeFeatureServiceName = sanitizeFeatureServiceName;
1705
1706
  /**
@@ -551,7 +551,8 @@ export declare function _addItemMetadataFile(itemId: string, metadataFile: File,
551
551
  export declare function _countRelationships(layers: any[]): number;
552
552
  /**
553
553
  * Remove spaces and replace other characters that are not allowed in a feature service name with "_".
554
- * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', '\t'
554
+ * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*',
555
+ * '<', '>', '\t', '!', '@', "'", ';', ','
555
556
  *
556
557
  * @param name The candidate service name
557
558
  * @returns The sanitized name, or the input unchanged if it is not a string
@@ -1637,13 +1637,14 @@ export function _countRelationships(layers) {
1637
1637
  }
1638
1638
  /**
1639
1639
  * Remove spaces and replace other characters that are not allowed in a feature service name with "_".
1640
- * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*', '<', '>', '\t'
1640
+ * Spaces are removed entirely. Disallowed (replaced with "_"): '#', '%', '&', '"', '\', '/', '+', '?', ':', '*',
1641
+ * '<', '>', '\t', '!', '@', "'", ';', ','
1641
1642
  *
1642
1643
  * @param name The candidate service name
1643
1644
  * @returns The sanitized name, or the input unchanged if it is not a string
1644
1645
  */
1645
1646
  export function sanitizeFeatureServiceName(name) {
1646
- return typeof name === "string" ? name.replace(/ /g, "").replace(/[#%&"\\/+?:*<>\t]/g, "_") : name;
1647
+ return typeof name === "string" ? name.replace(/ /g, "").replace(/[#%&"\\/+?:*<>\t!@';,]/g, "_") : name;
1647
1648
  }
1648
1649
  /**
1649
1650
  * Gets the full definitions of the layers affiliated with a hosted service.
@@ -1,10 +1,10 @@
1
- Built 06/11/2026 20:42:42.68
1
+ Built 06/12/2026 20:42:11.62
2
2
  develop
3
- commit c863f76817a8ca40b8aa7c94e5ce094365a58f0a
4
- Merge: 4ff447205 48c692aa4
3
+ commit 307d5009be47540e9814c131fa0c7bdf0077bff2
4
+ Merge: 9cd693d93 cf483e6ed
5
5
  Author: John Hauck <jhauck@esri.com>
6
- Date: Thu Jun 11 18:36:20 2026 -0600
6
+ Date: Fri Jun 12 10:41:41 2026 -0600
7
7
 
8
- Merge pull request #1589 from Esri/add-seperate-build-solution-param
8
+ Merge pull request #1590 from Esri/add-seperate-build-solution-param
9
9
 
10
- add buildSolution param to deploy solution
10
+ replace additional characters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-common",
3
- "version": "6.6.1-next.65",
3
+ "version": "6.6.1-next.66",
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": "c863f76817a8ca40b8aa7c94e5ce094365a58f0a"
99
+ "gitHead": "307d5009be47540e9814c131fa0c7bdf0077bff2"
100
100
  }