gulp-notify
Advanced tools
Comparing version 3.2.0 to 4.0.0
@@ -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 |
@@ -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
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
95542
1106
+ Addedansi-colors@4.1.3(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedextend-shallow@3.0.2(transitive)
+ Addedis-docker@2.2.1(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addednode-notifier@9.0.1(transitive)
+ Addedplugin-error@1.0.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough2@4.0.2(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedansi-cyan@0.1.1(transitive)
- Removedansi-red@0.1.1(transitive)
- Removedarr-diff@1.1.0(transitive)
- Removedarr-flatten@1.1.0(transitive)
- Removedarr-union@2.1.0(transitive)
- Removedarray-slice@0.2.3(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedextend-shallow@1.1.4(transitive)
- Removedis-wsl@1.1.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedkind-of@1.1.0(transitive)
- Removednode-notifier@5.4.5(transitive)
- Removedplugin-error@0.1.2(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedwhich@1.3.1(transitive)
- Removedxtend@4.0.2(transitive)
Updatedansi-colors@^4.1.1
Updatedfancy-log@^1.3.3
Updatedlodash.template@^4.5.0
Updatednode-notifier@^9.0.1
Updatednode.extend@^2.0.2
Updatedplugin-error@^1.0.1
Updatedthrough2@^4.0.2