humanize-duration
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -122,2 +122,5 @@ /* | ||
var dictionary = LANGUAGES[language || humanizeDuration.language]; | ||
if (!dictionary) { | ||
throw new Error("Language " + language + " not defined"); | ||
} | ||
return count + " " + dictionary[word](count); | ||
@@ -124,0 +127,0 @@ } |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Convert millisecond durations to English or many other languages.", | ||
@@ -13,0 +13,0 @@ "main": "humanize-duration.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46927
16
193
0