gulp-jsonlint
Advanced tools
Comparing version 1.2.0 to 1.2.1
10
index.js
'use strict'; | ||
var mapStream = require('map-stream'); | ||
var gutil = require('gulp-util'); | ||
var c = gutil.colors; | ||
var colors = require('ansi-colors'); | ||
var jsonlint = require('jsonlint'); | ||
var through = require('through2'); | ||
var PluginError = require('gulp-util').PluginError; | ||
var PluginError = require('plugin-error') | ||
var log = require('fancy-log') | ||
@@ -39,4 +39,4 @@ var formatOutput = function (msg) { | ||
var defaultReporter = function (file) { | ||
gutil.log(c.yellow('Error on file ') + c.magenta(file.path)); | ||
gutil.log(c.red(file.jsonlint.message)); | ||
log(colors.yellow('Error on file ') + colors.magenta(file.path)); | ||
log(colors.red(file.jsonlint.message)); | ||
}; | ||
@@ -43,0 +43,0 @@ |
{ | ||
"name": "gulp-jsonlint", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A jsonlint plugin for Gulp", | ||
@@ -30,10 +30,13 @@ "keywords": [ | ||
"dependencies": { | ||
"gulp-util": "3.0.7", | ||
"ansi-colors": "^1.0.1", | ||
"fancy-log": "^1.3.2", | ||
"jsonlint": "1.6.2", | ||
"map-stream": "^0.1.0", | ||
"through2": "2.0.3" | ||
"plugin-error": "^0.1.2", | ||
"through2": "^2.0.3" | ||
}, | ||
"devDependencies": { | ||
"mocha": "3.2.0", | ||
"should": "11.1.2" | ||
"mocha": "3.4.1", | ||
"should": "11.2.1", | ||
"vinyl": "^2.1.0" | ||
}, | ||
@@ -40,0 +43,0 @@ "engines": { |
@@ -27,6 +27,6 @@ # gulp-jsonlint [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] | ||
var jsonlint = require('gulp-jsonlint'); | ||
var gutil = require('gulp-util'); | ||
var log = require('fancy-log'); | ||
var myCustomReporter = function (file) { | ||
gutil.log('File ' + file.path + ' is not valid JSON.'); | ||
log('File ' + file.path + ' is not valid JSON.'); | ||
}; | ||
@@ -33,0 +33,0 @@ |
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
6893
6
3
+ Addedansi-colors@^1.0.1
+ Addedfancy-log@^1.3.2
+ Addedplugin-error@^0.1.2
+ Addedansi-colors@1.1.0(transitive)
+ Addedansi-cyan@0.1.1(transitive)
+ Addedansi-red@0.1.1(transitive)
+ Addedarr-diff@1.1.0(transitive)
+ Addedarr-flatten@1.1.0(transitive)
+ Addedarr-union@2.1.0(transitive)
+ Addedarray-slice@0.2.3(transitive)
+ Addedextend-shallow@1.1.4(transitive)
+ Addedkind-of@1.1.0(transitive)
+ Addedplugin-error@0.1.2(transitive)
+ Addedthrough2@2.0.5(transitive)
- Removedgulp-util@3.0.7
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedarray-differ@1.0.0(transitive)
- Removedarray-find-index@1.0.2(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedbeeper@1.1.1(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcamelcase-keys@2.1.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedclone@1.0.4(transitive)
- Removedclone-stats@0.0.1(transitive)
- Removedcurrently-unhandled@0.4.1(transitive)
- Removeddateformat@1.0.12(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedduplexer2@0.0.2(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedglogg@1.0.2(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedgulp-util@3.0.7(transitive)
- Removedgulplog@1.0.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-gulplog@0.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhosted-git-info@2.8.9(transitive)
- Removedindent-string@2.1.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedisarray@0.0.1(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basetostring@3.0.1(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash._reescape@3.0.0(transitive)
- Removedlodash._reevaluate@3.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash._root@3.0.1(transitive)
- Removedlodash.escape@3.2.0(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.template@3.6.2(transitive)
- Removedlodash.templatesettings@3.1.1(transitive)
- Removedloud-rejection@1.6.0(transitive)
- Removedmap-obj@1.0.1(transitive)
- Removedmeow@3.7.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmultipipe@0.1.2(transitive)
- Removednormalize-package-data@2.5.0(transitive)
- Removedobject-assign@3.0.04.1.1(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedpify@2.3.0(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedreadable-stream@1.1.14(transitive)
- Removedredent@1.0.0(transitive)
- Removedrepeating@2.0.1(transitive)
- Removedreplace-ext@0.0.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedsparkles@1.0.1(transitive)
- Removedspdx-correct@3.2.0(transitive)
- Removedspdx-exceptions@2.5.0(transitive)
- Removedspdx-expression-parse@3.0.1(transitive)
- Removedspdx-license-ids@3.0.20(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedstrip-indent@1.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedthrough2@2.0.3(transitive)
- Removedtrim-newlines@1.0.0(transitive)
- Removedvalidate-npm-package-license@3.0.4(transitive)
- Removedvinyl@0.5.3(transitive)
Updatedthrough2@^2.0.3