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 6.0.1 to 6.1.0

4

index.js

@@ -18,2 +18,6 @@ var Stream = require('stream')

if (file.isNull()) {
return cb(null, file)
}
if (file.isStream()) {

@@ -20,0 +24,0 @@ return handleError('Streams are not supported!')

12

package.json
{
"name": "gulp-postcss",
"version": "6.0.1",
"version": "6.1.0",
"description": "PostCSS gulp plugin",

@@ -26,13 +26,13 @@ "main": "index.js",

"dependencies": {
"gulp-util": "^3.0.4",
"postcss": "^5.0.0",
"gulp-util": "^3.0.7",
"postcss": "^5.0.14",
"vinyl-sourcemaps-apply": "^0.2.0"
},
"devDependencies": {
"es6-promise": "^2.0.1",
"es6-promise": "^3.0.2",
"gulp-sourcemaps": "^1.5.1",
"mocha": "^2.2.5",
"proxyquire": "^1.5.0",
"sinon": "^1.14.1"
"proxyquire": "^1.7.4",
"sinon": "^1.17.3"
}
}

@@ -97,2 +97,6 @@ # gulp-postcss [![Build Status](https://api.travis-ci.org/postcss/gulp-postcss.png)](https://travis-ci.org/postcss/gulp-postcss)

* 6.1.0
* Support for `null` files
* Updated dependencies
* 6.0.1

@@ -99,0 +103,0 @@ * Added an example and a test to pass options to PostCSS (e.g. `syntax` option)

@@ -11,2 +11,18 @@ /* global it, afterEach, beforeEach, describe, Promise */

it('should pass file when it isNull()', function (cb) {
var stream = postcss([ doubler ])
var emptyFile = {
isNull: function () { return true }
}
stream.once('data', function (data) {
assert.equal(data, emptyFile)
cb()
})
stream.write(emptyFile)
stream.end()
})
it('should transform css with multiple processors', function (cb) {

@@ -13,0 +29,0 @@

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