Socket
Socket
Sign inDemoInstall

growl

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

growl - npm Package Compare versions

Comparing version 1.10.3 to 1.10.4

4

History.md

@@ -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 @@ ==================

17

lib/growl.js

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

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