Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pretty-ms

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-ms - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

3

index.js

@@ -138,3 +138,4 @@ 'use strict';

if (typeof options.unitCount === 'number') {
return result.slice(0, Math.max(options.unitCount, 1)).join(' ');
const separator = options.colonNotation ? '' : ' ';
return result.slice(0, Math.max(options.unitCount, 1)).join(separator);
}

@@ -141,0 +142,0 @@

{
"name": "pretty-ms",
"version": "6.0.0",
"version": "6.0.1",
"description": "Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`",

@@ -5,0 +5,0 @@ "license": "MIT",

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