update-notifier
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -9,2 +9,3 @@ 'use strict'; | ||
var stringLength = require('string-length'); | ||
var isNpm = require('is-npm'); | ||
@@ -77,3 +78,3 @@ function UpdateNotifier(options) { | ||
UpdateNotifier.prototype.notify = function (opts) { | ||
if (!process.stdout.isTTY || !this.update) { | ||
if (!process.stdout.isTTY || isNpm || !this.update) { | ||
return this; | ||
@@ -80,0 +81,0 @@ } |
{ | ||
"name": "update-notifier", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Update notifications for your CLI app", | ||
@@ -38,4 +38,5 @@ "license": "BSD", | ||
"configstore": "^0.3.1", | ||
"is-npm": "^1.0.0", | ||
"latest-version": "^1.0.0", | ||
"semver-diff": "^1.0.0", | ||
"semver-diff": "^2.0.0", | ||
"string-length": "^1.0.0" | ||
@@ -42,0 +43,0 @@ }, |
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
9772
119
6
+ Addedis-npm@^1.0.0
+ Addedis-npm@1.0.0(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsemver-diff@2.1.0(transitive)
- Removedsemver@3.0.1(transitive)
- Removedsemver-diff@1.0.0(transitive)
Updatedsemver-diff@^2.0.0