humanization
Advanced tools
Comparing version 6.2.0 to 6.2.1
@@ -11,3 +11,7 @@ "use strict"; | ||
exports.process = function (inputString) { | ||
var words = inputString.split(" ").map(function (word) { return word.split(""); }); | ||
var words = inputString.split(" ").map(function (word) { | ||
if (word === "") | ||
return [""]; // Already irreducible | ||
return word.split(""); | ||
}); | ||
return words.map(function (word) { | ||
@@ -14,0 +18,0 @@ return word.map(function (character) { |
{ | ||
"name": "humanization", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "To err is human", | ||
@@ -20,4 +20,4 @@ "repository": "https://github.com/dzucconi/humanization", | ||
"devDependencies": { | ||
"@commitlint/cli": "8.1.0", | ||
"@commitlint/config-conventional": "8.1.0", | ||
"@commitlint/cli": "8.2.0", | ||
"@commitlint/config-conventional": "8.2.0", | ||
"@semantic-release/git": "7.0.16", | ||
@@ -27,7 +27,7 @@ "@types/jest": "24.0.18", | ||
"cz-conventional-changelog": "3.0.2", | ||
"husky": "3.0.4", | ||
"husky": "3.0.5", | ||
"jest": "24.9.0", | ||
"semantic-release": "15.13.24", | ||
"ts-jest": "24.0.2", | ||
"typescript": "3.6.2" | ||
"ts-jest": "24.1.0", | ||
"typescript": "3.6.3" | ||
}, | ||
@@ -34,0 +34,0 @@ "files": [ |
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
46572
57
1046