@mightyplow/blindtext
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -118,7 +118,7 @@ /** | ||
? randomWord | ||
: randomWord.toUpperCase() | ||
: randomWord[0].toUpperCase() + randomWord.slice(1) | ||
); | ||
} | ||
return sentenceWords.join(' ') + getRandomPunctuationMark; | ||
return sentenceWords.join(' ') + getRandomPunctuationMark(); | ||
} | ||
@@ -138,3 +138,3 @@ | ||
if (!UnitFunction.hasOwnProperty(unit)) { | ||
throw new Exception('Invalid unit parameter'); | ||
throw Error('Invalid unit parameter'); | ||
} | ||
@@ -141,0 +141,0 @@ |
{ | ||
"name": "@mightyplow/blindtext", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "blindtext.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
7816