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

gulp-polish

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-polish - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

.polish.json

8

lib/plugin.js
var through = require('through2'),
polishCSS = require('polish-css'),
gulpReporter = require('./reporter'),
getConfig = require('./get-config');
gulpReporter = require('./reporter');

@@ -9,4 +8,2 @@ function polish (options){

var contents = file.contents.toString('utf8'),
plugins,
config,
results;

@@ -18,4 +15,3 @@

config = getConfig(file, options);
results = polishCSS(contents, file.path, config);
results = polishCSS(contents, file.path);

@@ -22,0 +18,0 @@ file.polish = {};

{
"name": "gulp-polish",
"version": "4.0.0",
"version": "5.0.0",
"description": "Make your stylesheets perfect. Add an extra coat of polish.",
"main": "./lib/plugin.js",
"scripts": {
"test": "./node_modules/.bin/intern-client config=tests/intern"
"test": "./node_modules/.bin/intern-client config=tests/intern",
"changelog": "conventional-changelog -o CHANGELOG.md"
},

@@ -25,3 +26,3 @@ "repository": {

"log-symbols": "^1.0.2",
"polish-css": "^2.0.0",
"polish-css": "^3.0.0",
"through2": "^2.0.0"

@@ -28,0 +29,0 @@ },

# gulp-polish
[![Build Status](https://travis-ci.org/brendanlacroix/gulp-polish.svg)](https://travis-ci.org/brendanlacroix/gulp-polish) [![codecov.io](https://codecov.io/github/brendanlacroix/gulp-polish/coverage.svg?branch=master)](https://codecov.io/github/brendanlacroix/gulp-polish?branch=master)
gulp plugin for integrating [Polish](https://github.com/brendanlacroix/polish-css).

@@ -4,0 +6,0 @@

@@ -48,3 +48,2 @@ define({

'tests/units/plugin-tests',
'tests/units/get-config-tests',
'tests/units/reporter-tests'

@@ -51,0 +50,0 @@ ],

@@ -42,3 +42,3 @@ define(function (require) {

gulpPolish.once('data', deferred.callback(function(file) {
assert.notOk(file.polish.success);
assert.isFalse(file.polish.success);
assert.lengthOf(file.polish.errors, 1);

@@ -45,0 +45,0 @@ assert.lengthOf(file.polish.warnings, 1);

@@ -0,1 +1,3 @@

/* jshint expr:true */
define([

@@ -2,0 +4,0 @@ 'require',

Sorry, the diff of this file is not supported yet

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