Socket
Socket
Sign inDemoInstall

humanize-duration

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

humanize-duration - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

16

humanize-duration.js

@@ -286,9 +286,2 @@ // HumanizeDuration.js - http://git.io/j0HgmQ

humanizeDuration.humanizer = humanizer;
if (typeof module !== "undefined") {
module.exports = humanizeDuration;
} else {
this.humanizeDuration = humanizeDuration;
}
function render(count, type, dictionary, spacer) {

@@ -344,2 +337,11 @@ var dictionaryValue = dictionary[type];

humanizeDuration.humanizer = humanizer;
if (typeof define === "function" && define.amd) {
define(humanizeDuration);
} else if (typeof module !== "undefined" && module.exports) {
module.exports = humanizeDuration;
} else {
this.humanizeDuration = humanizeDuration;
}
})();

@@ -11,3 +11,3 @@ {

],
"version": "2.5.0",
"version": "2.6.0",
"description": "Convert millisecond durations to English and many other languages.",

@@ -14,0 +14,0 @@ "homepage": "https://github.com/EvanHahn/HumanizeDuration.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc