gulp-notify
Advanced tools
Comparing version
Changelog | ||
=== | ||
#### `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). | ||
#### `v1.8.0` | ||
@@ -5,0 +11,0 @@ 1. Changes notification to continue stream at once (unless when using the stream - i.e. when emitting errors) |
@@ -73,4 +73,4 @@ | ||
"icon": path.join(__dirname, "gulp.png"), // case sensitive | ||
"open": "https://github.com/mikaelbr/gulp-notify", | ||
"onLast": true | ||
"onLast": true, | ||
"wait": true | ||
})); | ||
@@ -96,3 +96,6 @@ }); | ||
})) | ||
.on("error", notify.onError('Error: <%= error.message %>')) | ||
.on("error", notify.onError({ | ||
message: 'Error: <%= error.message %>', | ||
sound: false // deactivate sound? | ||
})) | ||
.on("error", function (err) { | ||
@@ -99,0 +102,0 @@ console.log("Error:", err); |
var through = require("through2"); | ||
var gutil = require("gulp-util"); | ||
var Notification = require("node-notifier"); | ||
var notifier = require("node-notifier"); | ||
var report = require("./report"); | ||
@@ -42,3 +42,2 @@ | ||
} else { | ||
var notifier = new Notification(options); | ||
reporter = notifier.notify.bind(notifier); | ||
@@ -45,0 +44,0 @@ } |
var through = require("through2"); | ||
var report = require('./report'); | ||
var extra = require('./extra_api'); | ||
var Notification = require("node-notifier"); | ||
var notifier = require("node-notifier"); | ||
@@ -9,3 +9,3 @@ "use strict"; | ||
module.exports = function (options) { | ||
var reporter, notifier; | ||
var reporter; | ||
@@ -18,3 +18,2 @@ options = options || {}; | ||
} else { | ||
notifier = new Notification(options); | ||
reporter = notifier.notify.bind(notifier); | ||
@@ -74,3 +73,3 @@ } | ||
var isGrowl = notifier && notifier instanceof Notification.Growl; | ||
var isGrowl = notifier && notifier instanceof notifier.Growl; | ||
var isEcon = err.message.indexOf('ECONNREFUSED') !== -1; | ||
@@ -77,0 +76,0 @@ var dropMessage = isGrowl && isEcon; |
{ | ||
"name": "gulp-notify", | ||
"version": "1.8.0", | ||
"version": "2.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", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"lodash.template": "~2.4.1", | ||
"node-notifier": "^3.4.1", | ||
"node-notifier": "^4.0.0", | ||
"node.extend": "^1.0.9", | ||
@@ -38,0 +38,0 @@ "through2": "^1.0.0" |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
91326
0.19%1038
0.1%2
-33.33%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
Updated