New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-postcss

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-postcss - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

.npmignore

24

index.js
var Stream = require('stream')
var postcss = require('postcss')
var applySourceMap = require('vinyl-sourcemaps-apply')
var gutil = require('gulp-util')
var fancyLog = require('fancy-log')
var PluginError = require('plugin-error')
var path = require('path')

@@ -28,6 +29,6 @@

var options = {
from: file.path
, to: file.path
from: file.path,
to: file.path,
// Generate a separate source map for gulp-sourcemaps
, map: file.sourceMap ? { annotation: false } : false
map: file.sourceMap ? { annotation: false } : false
}

@@ -43,3 +44,3 @@

} else {
gutil.log(
fancyLog.info(
'gulp-postcss:',

@@ -73,3 +74,3 @@ file.relative + '\nCannot override ' + opt +

if (warnings) {
gutil.log('gulp-postcss:', file.relative + '\n' + warnings)
fancyLog.info('gulp-postcss:', file.relative + '\n' + warnings)
}

@@ -95,3 +96,3 @@

setImmediate(function () {
cb(new gutil.PluginError('gulp-postcss', error, errorOptions))
cb(new PluginError('gulp-postcss', error, errorOptions))
})

@@ -111,4 +112,4 @@ }

return Promise.resolve({
plugins: plugins
, options: options
plugins: plugins,
options: options
})

@@ -135,4 +136,5 @@ })

return postcssLoadConfig(
{ file: file
, options: contextOptions
{
file: file,
options: contextOptions
},

@@ -139,0 +141,0 @@ configPath

{
"name": "gulp-postcss",
"version": "7.0.0",
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"reporter": [
"lcov",
"text"
],
"cache": true,
"all": true,
"check-coverage": true
},
"version": "7.0.1",
"description": "PostCSS gulp plugin",
"main": "index.js",
"scripts": {
"pretest": "eslint index.js",
"test": "mocha test.js"
"coveralls": "coveralls < coverage/lcov.info",
"pretest": "eslint *.js",
"test": "nyc mocha test.js"
},

@@ -27,3 +41,4 @@ "repository": {

"dependencies": {
"gulp-util": "^3.0.8",
"fancy-log": "^1.3.2",
"plugin-error": "^0.1.2",
"postcss": "^6.0.0",

@@ -34,9 +49,11 @@ "postcss-load-config": "^1.2.0",

"devDependencies": {
"eslint": "^3.19.0",
"coveralls": "^2.13.1",
"eslint": "^4.1.1",
"gulp-sourcemaps": "^2.6.0",
"mocha": "^3.3.0",
"proxyquire": "^1.7.11",
"sinon": "^2.2.0"
},
"files": []
"mocha": "^3.4.2",
"nyc": "^11.0.3",
"proxyquire": "^1.8.0",
"sinon": "^2.3.5",
"vinyl": "^2.1.0"
}
}

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

# gulp-postcss [![Build Status](https://api.travis-ci.org/postcss/gulp-postcss.png)](https://travis-ci.org/postcss/gulp-postcss)
# gulp-postcss
[![Build Status](https://img.shields.io/travis/postcss/gulp-postcss.png)](https://travis-ci.org/postcss/gulp-postcss)
[![Coverage Status](https://img.shields.io/coveralls/postcss/gulp-postcss.png)](https://coveralls.io/r/postcss/gulp-postcss)
[PostCSS](https://github.com/postcss/postcss) gulp plugin to pipe CSS through

@@ -4,0 +7,0 @@ several plugins, but parse CSS only once.

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