Socket
Socket
Sign inDemoInstall

node-notifier

Package Overview
Dependencies
6
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.1.1

6

CHANGELOG.md
Changelog
===
### `v4.1.1`
1. Fixes proper error codes for balloon: #42
2. Removes unused debug files: #41
3. Patches differences between subtitle for notify-send: #43
4. Updates terminal-notifier dependency (removing black borders) #44 #18
### `v4.1.0`

@@ -5,0 +11,0 @@ 1. Adds support for changing host and port for Growl.

1

lib/utils.js

@@ -38,2 +38,3 @@ var cp = require('child_process'),

"category": "category",
"subtitle": "category",
"h": "hint",

@@ -40,0 +41,0 @@ "hint": "hint"

18

notifiers/balloon.js

@@ -22,2 +22,3 @@ /**

3 = Clicked
4 = Closed or faded out

@@ -126,9 +127,14 @@ */

function fromErrorCodeToAction (errorCode) {
if (errorCode === 2) {
return 'timeout';
switch (errorCode) {
case 2:
return 'timeout';
case 3:
case 6:
case 7:
return 'activate';
case 4:
return 'close';
default:
return 'error';
}
if (errorCode === 3) {
return 'activate';
}
return 'error';
}
{
"name": "node-notifier",
"version": "4.1.0",
"version": "4.1.1",
"description": "A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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