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

time-diff

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time-diff - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

index.js

@@ -143,2 +143,6 @@ /*!

function diff(msg) {
if (typeof opts.logTimeDiffs !== 'undefined') {
opts.logDiff = opts.logTimeDiffs;
}
if (typeof opts.logDiff === 'string') {

@@ -145,0 +149,0 @@ if (!toRegex(opts.logDiff).test(namespace)) {

2

package.json
{
"name": "time-diff",
"description": "Returns the formatted, high-resolution time difference between `start` and `end` times.",
"version": "0.3.0",
"version": "0.3.1",
"homepage": "https://github.com/jonschlinkert/time-diff",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

@@ -15,3 +15,3 @@ # time-diff [![NPM version](https://img.shields.io/npm/v/time-diff.svg?style=flat)](https://www.npmjs.com/package/time-diff) [![NPM downloads](https://img.shields.io/npm/dm/time-diff.svg?style=flat)](https://npmjs.org/package/time-diff) [![Build Status](https://img.shields.io/travis/jonschlinkert/time-diff.svg?style=flat)](https://travis-ci.org/jonschlinkert/time-diff)

Uses [pretty-time](https://github.com/jonschlinkert/pretty-time) to format time diffs.
Uses [pretty-time][] to format time diffs.

@@ -184,3 +184,3 @@ ```js

_(See [pretty-time](https://github.com/jonschlinkert/pretty-time) for all available formats)_
_(See [pretty-time][] for all available formats)_

@@ -254,3 +254,3 @@ Given the following:

If you're using `time-diff` with a command line application, try using [minimist](https://github.com/substack/minimist) for setting options.
If you're using `time-diff` with a command line application, try using [minimist][] for setting options.

@@ -280,3 +280,3 @@ ```js

Generate readme and API documentation with [verb](https://github.com/verbose/verb):
Generate readme and API documentation with [verb][]:

@@ -287,3 +287,3 @@ ```sh

Or, if [verb](https://github.com/verbose/verb) is installed globally:
Or, if [verb][] is installed globally:

@@ -316,2 +316,6 @@ ```sh

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 27, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 30, 2016._
[pretty-time](https://github.com/jonschlinkert/pretty-time)
[minimist](https://github.com/substack/minimist)
[verb](https://github.com/verbose/verb)
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