@arsedizioni/ars-utils 21.2.325 → 21.2.327

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": "@arsedizioni/ars-utils",
3
- "version": "21.2.325",
3
+ "version": "21.2.327",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -156,7 +156,7 @@ interface ClipperSettingsInfo {
156
156
  enableNotifications: boolean;
157
157
  channels?: ClipperChannelSettings[];
158
158
  bulletinTaxonomy?: string[];
159
- bulletinOrigins?: number[];
159
+ bulletinOrigins?: string[];
160
160
  enableBulletinFilter: boolean;
161
161
  }
162
162
  declare class ClipperUpdateChannelsStateParams {
@@ -275,6 +275,12 @@ declare class SystemUtils {
275
275
  * @returns : the joined string
276
276
  */
277
277
  static join(items?: string[], sep?: string, max?: number): string | undefined;
278
+ /**
279
+ * Normalize a string by converting it to lowercase and removing extra spaces, with special handling for acronyms and camelCase.
280
+ * @param s : the string to normalize
281
+ * @returns : The normalized string, or `undefined` if the input is falsy.
282
+ */
283
+ static normalize(s?: string): string | undefined;
278
284
  /**
279
285
  * Wraps bare URLs in the given string with `<a>` anchor tags.
280
286
  * @param s - The plain-text or HTML string to process.