@hestia-earth/utils
Advanced tools
Comparing version 0.10.18 to 0.10.19
@@ -11,3 +11,3 @@ "use strict"; | ||
var keyToLabel = function (key) { | ||
return ("" + key[0].toUpperCase() + key.replace(/([a-z])([A-Z])/g, '$1 $2').substring(1)).replace(/[_-]/g, ' '); | ||
return "" + key[0].toUpperCase() + key.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([_])([a-zA-Z])/g, function (g) { return " " + g[1].toUpperCase(); }).substring(1); | ||
}; | ||
@@ -14,0 +14,0 @@ exports.keyToLabel = keyToLabel; |
{ | ||
"name": "@hestia-earth/utils", | ||
"version": "0.10.18", | ||
"version": "0.10.19", | ||
"description": "Hestia Utils library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28382