@connectedxm/zpl-generator 0.0.4-beta.7 → 0.0.4-beta.8
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.es.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3167,7 +3167,7 @@ function Hs(e, t) {
|
|
|
3167
3167
|
t = t.toLowerCase();
|
|
3168
3168
|
break;
|
|
3169
3169
|
case V.Capitalize:
|
|
3170
|
-
t = t.
|
|
3170
|
+
t = t.toLowerCase().replace(/\b\w/g, (n) => n.toUpperCase());
|
|
3171
3171
|
break;
|
|
3172
3172
|
}
|
|
3173
3173
|
return e.maxCharacters !== void 0 && (t = t.slice(0, e.maxCharacters)), t;
|