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

update-notifier

Package Overview
Dependencies
Maintainers
9
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

update-notifier - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

license

4

index.js

@@ -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
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