gulp-polish
Advanced tools
Comparing version 4.0.0 to 5.0.0
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
87
0
0
17536
17
278
+ Addedpolish-css@3.0.2(transitive)
- Removedpolish-css@2.0.0(transitive)
Updatedpolish-css@^3.0.0