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 0.3.0 to 0.3.2

9

examples/gulpfile.js
var gulp = require('gulp');
var notify = require('../');
var through = require('through');
var through = require('through2');

@@ -40,6 +40,9 @@ gulp.task("multiple", function () {

gulp.src("../test/fixtures/*")
.pipe(through(function () {
.pipe(through.obj(function () {
this.emit("error", "Something happend: Error message!")
}))
.on("error", notify.onError());
.on("error", notify.onError())
.on("error", function (err) {
console.log("Error:", err);
})
});
{
"name": "gulp-notify",
"version": "0.3.0",
"version": "0.3.2",
"description": "A plugin for Gulp to send messages to Mac Notification Center",

@@ -28,10 +28,10 @@ "keywords": [

"dependencies": {
"gulp-util": ">=2.2.9",
"node-notifier": ">=1.0.0-beta2",
"through2": "~0.4.0"
"node-notifier": "~1.1.0",
"through2": "~0.4.0",
"gulp-util": "~2.2.12"
},
"devDependencies": {
"mocha": "~1.14.0",
"should": "~2.1.0",
"gulp": "~3.2.2"
"mocha": "~1.17.0",
"should": "~3.0.1",
"gulp": "~3.4.0"
},

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

@@ -96,2 +96,29 @@ # gulp-notify [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]

## Examples
To see all examples run from root:
```sh
$ gulp --gulpfile examples/gulpfile.js --tasks
[gulp] Using file /Users/example/gulp-notify/examples/gulpfile.js
[gulp] Working directory changed to /Users/example/gulp-notify/examples
[gulp] Tasks for /Users/example/gulp-notify/examples/gulpfile.js
[gulp] ├── multiple
[gulp] ├── one
[gulp] ├── message
[gulp] ├── function
[gulp] ├── onlast
[gulp] └── error
```
To run an example:
```sh
$ gulp --gulpfile examples/gulpfile.js multiple
[gulp] Using file /Users/example/gulp-notify/examples/gulpfile.js
[gulp] Working directory changed to /Users/example/gulp-notify/examples
[gulp] Running 'multiple'...
[gulp] Finished 'multiple' in 3.75 ms
```
## License

@@ -98,0 +125,0 @@

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