plugin-error
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,3 +9,4 @@ /*! | ||
var util = require('util'); | ||
var chalk = require('chalk'); | ||
var red = require('ansi-red'); | ||
var cyan = require('ansi-cyan'); | ||
var extend = require('extend-shallow'); | ||
@@ -139,5 +140,5 @@ var differ = require('arr-diff'); | ||
function message(msg, thisArg) { | ||
var sig = chalk.red(thisArg.name); | ||
var sig = red(thisArg.name); | ||
sig += ' in plugin '; | ||
sig += '"' + chalk.cyan(thisArg.plugin) + '"'; | ||
sig += '"' + cyan(thisArg.plugin) + '"'; | ||
sig += '\n'; | ||
@@ -172,3 +173,3 @@ sig += msg; | ||
* - `showStack`: default=false | ||
* - `showProperties`: default=false | ||
* - `showProperties`: default=true | ||
* | ||
@@ -175,0 +176,0 @@ * @param {Object} `opts` Options to extend |
{ | ||
"name": "plugin-error", | ||
"description": "Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/jonschlinkert/plugin-error", | ||
@@ -17,6 +17,3 @@ "author": { | ||
}, | ||
"license": { | ||
"type": "MIT", | ||
"url": "https://github.com/jonschlinkert/plugin-error/blob/master/LICENSE" | ||
}, | ||
"license": "MIT", | ||
"files": [ | ||
@@ -33,5 +30,6 @@ "index.js" | ||
"dependencies": { | ||
"ansi-cyan": "^0.1.1", | ||
"ansi-red": "^0.1.1", | ||
"arr-diff": "^1.0.1", | ||
"arr-union": "^2.0.1", | ||
"chalk": "^1.0.0", | ||
"extend-shallow": "^1.1.2" | ||
@@ -42,3 +40,7 @@ }, | ||
"should": "*" | ||
} | ||
}, | ||
"keywords": [ | ||
"error", | ||
"plugin" | ||
] | ||
} |
@@ -5,6 +5,6 @@ # plugin-error [![NPM version](https://badge.fury.io/js/plugin-error.svg)](http://badge.fury.io/js/plugin-error) [![Build Status](https://travis-ci.org/jonschlinkert/plugin-error.svg)](https://travis-ci.org/jonschlinkert/plugin-error) | ||
## Install with [npm](npmjs.org) | ||
Install with [npm](https://www.npmjs.com/) | ||
```bash | ||
npm i plugin-error --save | ||
```sh | ||
$ npm i plugin-error --save | ||
``` | ||
@@ -58,3 +58,3 @@ | ||
* [assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io) | ||
* [gulp-util](https://github.com/wearefractal/gulp-util): Utility functions for gulp plugins | ||
* [gulp-util](https://github.com/wearefractal/gulp-util#readme): Utility functions for gulp plugins | ||
* [gulp](http://gulpjs.com): The streaming build system | ||
@@ -68,4 +68,4 @@ * [generate](https://github.com/generate/generate): Project generator, for node.js. | ||
```bash | ||
npm i -d && npm test | ||
```sh | ||
$ npm i -d && npm test | ||
``` | ||
@@ -75,3 +75,3 @@ | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/plugin-error/issues) | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/plugin-error/issues/new) | ||
@@ -87,3 +87,3 @@ ## Author | ||
Copyright (c) 2015 Jon Schlinkert | ||
Copyright © 2015 Jon Schlinkert | ||
Released under the MIT license. | ||
@@ -93,4 +93,2 @@ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 01, 2015._ | ||
<!-- reflinks generated by verb-reflinks plugin --> | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 31, 2015._ |
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
152
9393
5
89
+ Addedansi-cyan@^0.1.1
+ Addedansi-red@^0.1.1
+ Addedansi-cyan@0.1.1(transitive)
+ Addedansi-red@0.1.1(transitive)
+ Addedansi-wrap@0.1.0(transitive)
- Removedchalk@^1.0.0
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)