Socket
Socket
Sign inDemoInstall

update-notifier

Package Overview
Dependencies
90
Maintainers
7
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

7

index.js

@@ -129,7 +129,6 @@ 'use strict';

options = {
options = Object.assign({
isGlobal: isInstalledGlobally(),
isYarnGlobal: isYarnGlobal()(),
...options
};
isYarnGlobal: isYarnGlobal()()
}, options);

@@ -136,0 +135,0 @@ let installCommand;

{
"name": "update-notifier",
"version": "3.0.0",
"version": "3.0.1",
"description": "Update notifications for your CLI app",

@@ -56,3 +56,8 @@ "license": "BSD-2-Clause",

"xo": "^0.24.0"
},
"xo": {
"rules": {
"prefer-object-spread": 0
}
}
}

@@ -83,17 +83,2 @@ # update-notifier [![Build Status](https://travis-ci.org/yeoman/update-notifier.svg?branch=master)](https://travis-ci.org/yeoman/update-notifier)

---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-update_notifier?utm_source=npm-update-notifier&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
---
## API

@@ -107,5 +92,7 @@

Type: `object`
#### pkg
Type: `Object`
Type: `object`

@@ -153,7 +140,7 @@ ##### name

Only notifies if there is an update and the process is [TTY](https://nodejs.org/api/process.html#process_tty_terminals_and_process_stdout).
Only notifies if there is an update and the process is [TTY](https://nodejs.org/api/process.html#process_a_note_on_process_i_o).
#### options
Type: `Object`
Type: `object`

@@ -183,3 +170,3 @@ ##### defer

Type: `Object`<br>
Type: `object`<br>
Default: `{padding: 1, margin: 1, align: 'center', borderColor: 'yellow', borderStyle: 'round'}` *(See screenshot)*

@@ -218,9 +205,12 @@

## Security
---
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
## License
BSD-2-Clause © Google
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-update_notifier?utm_source=npm-update-notifier&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc