@kipicore/dbcore 1.1.316 → 1.1.317
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/helpers/utils.js +1 -1
- package/package.json +1 -1
package/dist/helpers/utils.js
CHANGED
|
@@ -520,7 +520,7 @@ const fromSnakeCaseToNormalText = (input) => {
|
|
|
520
520
|
return '';
|
|
521
521
|
return input
|
|
522
522
|
.toLowerCase()
|
|
523
|
-
.split(
|
|
523
|
+
.split(/[_\s]+/) // split by underscore or space
|
|
524
524
|
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
525
525
|
.join(' ');
|
|
526
526
|
};
|
package/package.json
CHANGED