Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-notifier

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-notifier - npm Package Compare versions

Comparing version 4.0.3 to 4.1.0

CONTRIBUTE.md

7

CHANGELOG.md
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`)

4

notifiers/growl.js

@@ -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) {

8

package.json
{
"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 @@

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