Comparing version 1.10.3 to 1.10.4
@@ -0,2 +1,6 @@ | ||
1.10.4 / 2018-01-29 | ||
================== | ||
* Fix notifications on linux when using notify-send (#70) [hmshwt] | ||
1.9.3 / 2016-09-05 | ||
@@ -3,0 +7,0 @@ ================== |
@@ -89,3 +89,3 @@ 'use strict'; | ||
msg: '', | ||
sticky: '-t 0', | ||
sticky: '-t', | ||
icon: '-i', | ||
@@ -218,2 +218,3 @@ priority: { | ||
if (options.sticky) args.push(cmd.sticky); | ||
if (options.sticky && cmd.type === 'Linux') args.push('0'); | ||
@@ -277,9 +278,4 @@ // priority | ||
case 'Linux': | ||
if (options.title) { | ||
args.push(options.title); | ||
args.push(cmd.msg); | ||
args.push(msg.replace(/\\n/g, '\n')); | ||
} else { | ||
args.push(msg.replace(/\\n/g, '\n')); | ||
} | ||
if (options.title) args.push(options.title); | ||
args.push(msg.replace(/\\n/g, '\n')); | ||
break; | ||
@@ -318,2 +314,7 @@ case 'Windows': | ||
const now = new Date(); | ||
const timestamp = `${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}.${now.getMilliseconds()}` | ||
stderr += `[${timestamp}][node-growl] : Executed command '${cmdToExec}' with arguments '${args}'\n[stderr] : `; | ||
child.on('error', (err) => { | ||
@@ -320,0 +321,0 @@ console.error('An error occured.', err); |
{ | ||
"name": "growl", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "Growl unobtrusive notifications", | ||
@@ -5,0 +5,0 @@ "author": "TJ Holowaychuk <tj@vision-media.ca>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59231
356