node-notifier
Advanced tools
Comparing version 4.0.3 to 4.1.0
Changelog | ||
=== | ||
### `v4.1.0` | ||
1. Adds support for changing host and port for Growl. | ||
### `v4.0.3` | ||
1. Fixes Notification center issue with multiple callback events. | ||
2. Fixes error in source code: Fixes long-spaces to proper spaces | ||
### `v4.0.2` | ||
@@ -5,0 +12,0 @@ 1. Fixes issue with immidiate notifu notifications (with `wait : false`) |
@@ -24,2 +24,3 @@ /** | ||
growly.appname = options.name || 'Node'; | ||
this.options = options; | ||
@@ -32,2 +33,5 @@ EventEmitter.call(this); | ||
Growl.prototype.notify = function (options, callback) { | ||
growly.setHost(this.options.host, this.options.port); | ||
options = options || {}; | ||
@@ -34,0 +38,0 @@ callback = utils.actionJackerDecorator(this, options, callback, function (data) { |
{ | ||
"name": "node-notifier", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"description": "A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)", | ||
@@ -31,8 +31,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"clone": "^0.1.18", | ||
"growly": "^1.2.0", | ||
"semver": "^4.0.3", | ||
"shellwords": "^0.1.0", | ||
"which": "^1.0.5", | ||
"growly": "^1.1.1", | ||
"clone": "^0.1.18" | ||
"which": "^1.0.5" | ||
} | ||
} |
@@ -48,2 +48,4 @@ # node-notifier [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] | ||
var notifier = require('node-notifier'); | ||
var path = require('path'); | ||
notifier.notify({ | ||
@@ -200,3 +202,5 @@ title: 'My awesome title', | ||
var notifier = new Growl({ | ||
name: 'Growl Name Used' // Defaults as 'Node' | ||
name: 'Growl Name Used', // Defaults as 'Node' | ||
host: 'localhost', | ||
port: 23053 | ||
}); | ||
@@ -203,0 +207,0 @@ |
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
10395803
46
1251
298
Updatedgrowly@^1.2.0