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

gulp-css-usage

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-css-usage - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

3

dist/index.js

@@ -59,3 +59,3 @@ 'use strict';

_gulpUtil2.default.log('');
_gulpUtil2.default.log(_gulpUtil2.default.colors.yellow('gulp-css-usage report: The following class names are not in use'));
_gulpUtil2.default.log(_gulpUtil2.default.colors.yellow(PLUGIN_NAME + ': The following class names are not in use'));
list.forEach(function (clazz) {

@@ -124,2 +124,3 @@ return _gulpUtil2.default.log(clazz);

if (file.isStream()) {
_gulpUtil2.default.log(_gulpUtil2.default.colors.magenta(PLUGIN_NAME + ': streaming is deprecated and will not be supported soon'));
if (enc !== 'utf8') {

@@ -126,0 +127,0 @@ file.contents.setEncoding('utf8');

@@ -39,3 +39,3 @@ import through from 'through2';

gutil.log('');
gutil.log(gutil.colors.yellow('gulp-css-usage report: The following class names are not in use'));
gutil.log(gutil.colors.yellow(PLUGIN_NAME + ': The following class names are not in use'));
list.forEach(clazz => gutil.log(clazz));

@@ -93,2 +93,3 @@ gutil.log('');

if (file.isStream()) {
gutil.log(gutil.colors.magenta(PLUGIN_NAME + ': streaming is deprecated and will not be supported soon'));
if (enc !== 'utf8') {

@@ -108,3 +109,2 @@ file.contents.setEncoding('utf8');

});
}

@@ -111,0 +111,0 @@ };

{
"name": "gulp-css-usage",
"version": "1.0.8",
"description": "A Gulp task which scans your react classes ( .js / .jsx ), your CSS files, and gives you a report of CSS coverage. .i.e how many class names are needless and which are those class names",
"version": "1.0.9",
"description": "A Gulp task which scans your JavaScript classes, including React JSX files support (.jsx/.js), your CSS files, and gives you a report of CSS coverage. i.e how many class names are needless and which are those class names.",
"keywords": [

@@ -12,3 +12,2 @@ "gulpplugin",

"usage",
"className",
"class",

@@ -15,0 +14,0 @@ "classes"

@@ -61,2 +61,3 @@ # gulp-css-usage

* write results to file
* support of more CSS selectors, such as `#`,
* support multiple CSS files

@@ -63,0 +64,0 @@ * support of precompiled SCSS files as well

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