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

update-notifier

Package Overview
Dependencies
Maintainers
6
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 0.2.1 to 0.2.2

3

index.js

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

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