Comparing version 0.3.0 to 0.3.1
@@ -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)) { |
{ | ||
"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) |
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
14780
189
315