gulp-autoprefixer
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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 @@ }); |
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
4024
+ Addedmap-stream@~0.0.4
+ Addedautoprefixer@1.0.20140213(transitive)
+ Addedfs-extra@0.8.1(transitive)
+ Addedjsonfile@1.1.1(transitive)
+ Addedmkdirp@0.3.5(transitive)
+ Addedncp@0.4.2(transitive)
+ Addedpostcss@0.2.0(transitive)
+ Addedrimraf@2.2.8(transitive)
+ Addedsource-map@0.7.4(transitive)
- Removedevent-stream@~3.0.15
- Removedamdefine@1.0.1(transitive)
- Removedautoprefixer@0.8.20131213(transitive)
- Removedcss-parse@1.6.0(transitive)
- Removedcss-stringify@1.4.1(transitive)
- Removedduplexer@0.1.2(transitive)
- Removedevent-stream@3.0.20(transitive)
- Removedfrom@0.1.7(transitive)
- Removedpause-stream@0.0.11(transitive)
- Removedsource-map@0.1.43(transitive)
- Removedsplit@0.2.10(transitive)
- Removedstream-combiner@0.0.4(transitive)
- Removedthrough@2.3.8(transitive)
Updatedautoprefixer@~1.0.*