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

gulp-notify

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-notify - npm Package Compare versions

Comparing version 3.2.0 to 4.0.0

31

CHANGELOG.md

@@ -1,4 +0,9 @@

Changelog
===
# Changelog
#### `v4.0.0`
##### Breaking Changes
1. Updates to `node-notifier@v9.0.0` and the the [breaking changes from that](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md) applies to gulp-notify.
#### `v3.0.0`

@@ -11,2 +16,3 @@

#### `v2.2.0`
1. Adds support for changing host, port and appName for Growl.

@@ -17,26 +23,33 @@ 2. Adds support for templating on subtitle and open (for Notification Center).

#### `v2.1.0`
1. Adds `click` and `timeout` events to `notify` object.
#### `v2.0.1`
1. Now `onError()` calls `.emit('end')` for you on the stream. Making watching and usage easier.
#### `v2.0.0`
1. Major bump due to node-notifier (underlying module for doing notifications) have changed it's API and thus this has as well.
See [changelog on node-notifier](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md#v400).
See [changelog on node-notifier](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md#v400).
#### `v1.8.0`
1. Changes notification to continue stream at once (unless when using the stream - i.e. when emitting errors)
2. Fixes example gulpfile by returning stream for each task.
#### `v1.7.1`
#### `v1.7.1`
1. Fixes issue with Windows 7 and Growl/Bubble conditional.
#### `v1.7.0`
1. Now supports native windows 7 and earlier notifications, through balloons! This means that gulp-notify can be used on any platform without any extra installs.
#### `v1.6.0`
1. Now supports native windows notifications!
#### `v1.5.1`
1. Changes success icon [ref #48](https://github.com/mikaelbr/gulp-notify/issues/48).

@@ -47,14 +60,19 @@ 2. Changes to show better info notice if no notifier is found [ref #48](https://github.com/mikaelbr/gulp-notify/issues/49).

#### `v1.5.0`
1. Adds a global way to disable notifier by doing `export DISABLE_NOTIFIER=true`.
#### `v1.4.0`
1. Adds default icons for regular notification and error. Also adds Frog sound on error on Mac.
#### `v1.3.1`
1. Updates node-notifier dependency. Adds support for app icon and images for Mac.
#### `v1.3.0`
1. Adds default setting for failing silently. Introduces concept emitError flag to still emit errors
#### `v1.2.1`
1. The entire options-object is passed to the notifier, allowing pass additional information to notifiers.

@@ -64,5 +82,7 @@ 2. Adds support for showing errors returned from the notifiers and showing these errors in the console.

#### `v1.1.0`
1. Bumps dependency for `node-notifier`. Now supports Growl on Windows!
#### `v1.0.0-beta`
1. Major rewrites and restructure in code

@@ -73,5 +93,7 @@ 2. Lock down on API, changes `setLogLevel` to `logLevel`

#### `v0.6.2`
1. Adds another logging level: 0 - none, 1 - error, 2 - all.
#### `v0.6.1`
1. Added `.onError` method on object created by `withReporter`

@@ -81,3 +103,4 @@ 2. Added colored logging on success / error

#### `v0.5.0`
1. Added API end point `notify.withReporter(Reporter)` as syntactic suger for custom reporter
2. Updated dependency for node-notfier - now checking if `notify-send` is installed on the Linux box

6

lib/extra_api.js

@@ -18,7 +18,7 @@ var fancyLog = require('fancy-log');

color = isError ? "red" : "green";
var color = isError ? "red" : "green";
if (!colors[color]) return;
fnLog(colors.cyan('gulp-notify') + ':',
'[' + colors.blue(options.title) + ']',
colors[color].call(colors, options.message)
colors[color](options.message)
);

@@ -33,3 +33,3 @@ };

var templateOptions = options.templateOptions || {};
var callback = callback || function (err) {
callback = callback || function (err) {
err && logError({

@@ -36,0 +36,0 @@ title: "Error running notifier",

@@ -21,3 +21,2 @@ var template = require("lodash.template");

module.exports = function (reporter, message, options, templateOptions, callback) {
var self = this;
callback = callback || function () {};

@@ -28,3 +27,3 @@ if (!reporter) return callback(new PluginError("gulp-notify", "No reporter specified."));

try {
var options = constructOptions(options, message, templateOptions);
options = constructOptions(options, message, templateOptions);
if (!options) {

@@ -31,0 +30,0 @@ return callback();

{
"name": "gulp-notify",
"version": "3.2.0",
"version": "4.0.0",
"description": "gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging",

@@ -34,16 +34,16 @@ "keywords": [

"dependencies": {
"ansi-colors": "^1.0.1",
"fancy-log": "^1.3.2",
"lodash.template": "^4.4.0",
"node-notifier": "^5.2.1",
"node.extend": "^2.0.0",
"plugin-error": "^0.1.2",
"through2": "^2.0.3"
"ansi-colors": "^4.1.1",
"fancy-log": "^1.3.3",
"lodash.template": "^4.5.0",
"node-notifier": "^9.0.1",
"node.extend": "^2.0.2",
"plugin-error": "^1.0.1",
"through2": "^4.0.2"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-plumber": "^1.2.0",
"mocha": "^4.1.0",
"should": "^13.2.1",
"vinyl": "^2.1.0"
"gulp": "^4.0.2",
"gulp-plumber": "^1.2.1",
"mocha": "^8.3.2",
"should": "^13.2.3",
"vinyl": "^2.2.1"
},

@@ -50,0 +50,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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