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

gulp-autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-autoprefixer - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

index.js

@@ -1,2 +0,2 @@

var es = require('event-stream');
var map = require('map-stream');
var prefix = require('autoprefixer');

@@ -10,4 +10,4 @@

return es.map(function(file,callback){
file.contents = new Buffer(prefix(opts).compile(String(file.contents)));
return map(function(file,callback){
file.contents = new Buffer(prefix(opts).process(String(file.contents)).css);
callback(null,file)

@@ -14,0 +14,0 @@ });

{
"name": "gulp-autoprefixer",
"version": "0.0.2",
"version": "0.0.3",
"description": "Autoprefixer for gulp.",

@@ -15,4 +15,4 @@ "license": "MIT",

"dependencies": {
"autoprefixer":"~0.8",
"event-stream": "~3.0.15"
"autoprefixer":"~1.0.*",
"map-stream": "~0.0.4"
},

@@ -19,0 +19,0 @@ "main":"index.js",

@@ -27,3 +27,3 @@ var prefix = require('../');

newFile.shortened.should.equal("file.css");
String(newFile.contents).should.equal(autoprefixer.compile(testfile));
String(newFile.contents).should.equal(autoprefixer.process(testfile).css);
done();

@@ -58,3 +58,3 @@ });

newFile.shortened.should.equal("file.css");
String(newFile.contents).should.equal(autoprefixer("last 1 version", "> 1%", "ie 8", "ie 7").compile(testfile));
String(newFile.contents).should.equal(autoprefixer("last 1 version", "> 1%", "ie 8", "ie 7").process(testfile).css);
done();

@@ -61,0 +61,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