Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-csslint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-csslint - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

15

index.js

@@ -13,3 +13,3 @@ /*jshint node:true */

if (!report.messages.length) {
return {
return {
success: true

@@ -85,4 +85,2 @@ };

var plural = errorCount === 1 ? '' : 's';
process.stderr.write('\x07'); // Send a beep to the terminal so it bounces

@@ -129,2 +127,13 @@ gutil.log(c.cyan(errorCount)+' error'+plural+' found in '+c.magenta(file.path));

cssLintPlugin.failReporter = function(){
return es.map(function (file, cb) {
// Nothing to report or no errors
if (!file.csslint || file.csslint.success) {
return cb(null, file);
}
return cb(new gutil.PluginError('gulp-csslint', 'CSSLint failed for '+file.relative), file);
});
};
module.exports = cssLintPlugin;

12

package.json
{
"name": "gulp-csslint",
"version": "0.1.3",
"version": "0.1.4",
"description": "CSSLint plugin for gulp",
"main": "index.js",
"dependencies": {
"csslint": "~0.10.0",
"gulp-util": "~1.2.0",
"event-stream": "~3.0.18"
"csslint": "^0.10.0",
"event-stream": "^3.1.2",
"gulp-util": "^2.2.14"
},
"devDependencies": {
"should": "~2.1.1",
"mocha": "~1.15.1"
"mocha": "^1.18.2",
"should": "^3.3.1"
},

@@ -15,0 +15,0 @@ "scripts": {

@@ -82,3 +82,3 @@ # gulp-csslint [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url]

gulp.task('lint', function() {
gulp.files('lib/*.js')
gulp.files('lib/*.css')
.pipe(csslint())

@@ -85,0 +85,0 @@ .pipe(csslint.reporter(customReporter));

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