@esposter/shared 2.5.0 → 2.6.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.
package/dist/index.d.ts CHANGED
@@ -708,7 +708,7 @@ type TupleSlice<T extends unknown[], S extends number, E extends number = T["len
708
708
  declare const exhaustiveGuard: (value: never) => never;
709
709
  //#endregion
710
710
  //#region src/util/id/uuid/constants.d.ts
711
- /* eslint-disable @typescript-eslint/no-inferrable-types */
711
+ /* oxlint-disable @typescript-eslint/no-inferrable-types */
712
712
  declare const NIL = "00000000-0000-0000-0000-000000000000";
713
713
  declare const UUIDV4_REGEX: RegExp;
714
714
  declare const UUIDV4_SEARCH_REGEX: RegExp;
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ const mergeObjectsStrict = (...objects) => Object.assign({}, ...objects);
53
53
 
54
54
  //#endregion
55
55
  //#region src/util/text/capitalize.ts
56
- const capitalize = (string) => `${string.charAt(0).toUpperCase()}${string.substring(1)}`;
56
+ const capitalize = (string) => `${string.charAt(0).toUpperCase()}${string.slice(1)}`;
57
57
 
58
58
  //#endregion
59
59
  //#region src/util/text/toKebabCase.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esposter/shared",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "A library that contains shared typescript code.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/Esposter/Esposter#readme",
@@ -30,5 +30,5 @@
30
30
  "typecheck": "tsc",
31
31
  "export:gen": "ctix build --config ../configuration/.ctirc-ts"
32
32
  },
33
- "gitHead": "8faf7789eed01e2fcff4d2206137058e3c3ee681"
33
+ "gitHead": "45ae08aaf254d1c3d2a66e668d19aaf8f5022119"
34
34
  }