uniformize
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -19,3 +19,3 @@ "use strict"; | ||
value: function() { | ||
return this.charAt(0).toUpperCase() + this.slice(1); | ||
return this.toLowerCase().charAt(0).toUpperCase() + this.slice(1); | ||
}, | ||
@@ -26,3 +26,3 @@ enumerable: false | ||
value: function() { | ||
return this.replace(/(^\p{L})|(\s\p{L})/giu, (char) => char.toUpperCase()); | ||
return this.toLowerCase().replace(/(^\p{L})|(\s\p{L})/giu, (char) => char.toUpperCase()); | ||
}, | ||
@@ -29,0 +29,0 @@ enumerable: false |
@@ -7,3 +7,3 @@ { | ||
"type": "commonjs", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"repository": { | ||
@@ -18,3 +18,3 @@ "type": "git", | ||
"postbuild": "cross-os cp", | ||
"prepublish": "bun run build", | ||
"prerelease": "bun run build", | ||
"release": "commit-and-tag-version", | ||
@@ -21,0 +21,0 @@ "postrelease": "npm publish" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14636