@modernman00/shared-js-lib 1.2.42 → 1.2.43

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/Utility.js CHANGED
@@ -37,6 +37,7 @@ export const realTimeCheckLen = (input, maxi) => {
37
37
  * @returns {string} A new string in sentence case.
38
38
  */
39
39
  export const toSentenceCase = (str) => {
40
+ if (typeof str !== 'string') return '';
40
41
  return str
41
42
  .toLowerCase() // Convert the string to lowercase
42
43
  .split(' ') // Split the string into words
@@ -1,3 +1,3 @@
1
1
  <?php
2
- define('APP_VERSION', 'v1.2.43');
2
+ define('APP_VERSION', 'v1.2.44');
3
3
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernman00/shared-js-lib",
3
- "version": "1.2.42",
3
+ "version": "1.2.43",
4
4
  "description": "Reusable JS utilities for numerous js problems",
5
5
  "homepage": "https://github.com/modernman00/shared-js-lib#readme",
6
6
  "keywords": [