update-notifier
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -15,2 +15,3 @@ 'use strict'; | ||
const xdgBasedir = importLazy('xdg-basedir'); | ||
const isCi = importLazy('is-ci'); | ||
const ONE_DAY = 1000 * 60 * 60 * 24; | ||
@@ -41,3 +42,4 @@ | ||
this.disabled = 'NO_UPDATE_NOTIFIER' in process.env || | ||
process.argv.indexOf('--no-update-notifier') !== -1; | ||
process.argv.indexOf('--no-update-notifier') !== -1 || | ||
isCi(); | ||
@@ -44,0 +46,0 @@ if (!this.disabled && !this.hasCallback) { |
{ | ||
"name": "update-notifier", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Update notifications for your CLI app", | ||
@@ -10,3 +10,3 @@ "license": "BSD-2-Clause", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
@@ -41,2 +41,3 @@ "engines": { | ||
"import-lazy": "^2.1.0", | ||
"is-ci": "^1.0.10", | ||
"is-installed-globally": "^0.1.0", | ||
@@ -52,2 +53,3 @@ "is-npm": "^1.0.0", | ||
"fixture-stdout": "^0.2.1", | ||
"mock-require": "^2.0.2", | ||
"strip-ansi": "^4.0.0", | ||
@@ -54,0 +56,0 @@ "xo": "^0.18.2" |
@@ -26,3 +26,3 @@ # update-notifier [![Build Status](https://travis-ci.org/yeoman/update-notifier.svg?branch=master)](https://travis-ci.org/yeoman/update-notifier) | ||
## Usafe | ||
## Usage | ||
@@ -163,3 +163,5 @@ ### Simple | ||
The check is also skipped on CI automatically. | ||
## About | ||
@@ -177,3 +179,3 @@ | ||
- [AVA](https://ava.li) - Simple concurrent test runner | ||
- [XO](https://github.com/sindresorhus/xo) - JavaScript happiness style linter | ||
- [XO](https://github.com/xojs/xo) - JavaScript happiness style linter | ||
- [Pageres](https://github.com/sindresorhus/pageres) - Capture website screenshots | ||
@@ -187,2 +189,2 @@ - [Node GH](http://nodegh.io) - GitHub command line tool | ||
[BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google | ||
BSD-2-Clause © Google |
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
13219
5
149
187
10
6
+ Addedis-ci@^1.0.10
+ Addedci-info@1.6.0(transitive)
+ Addedis-ci@1.2.1(transitive)