node-notifier
Advanced tools
Comparing version 4.1.0 to 4.1.1
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. |
@@ -38,2 +38,3 @@ var cp = require('child_process'), | ||
"category": "category", | ||
"subtitle": "category", | ||
"h": "hint", | ||
@@ -40,0 +41,0 @@ "hint": "hint" |
@@ -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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1258
1844210
44
1