gulp-ttf2woff
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "gulp-ttf2woff", | ||
"description": "Create a WOFF font from a TTF font", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"homepage": "https://github.com/nfroidure/gulp-ttf2woff", | ||
@@ -32,3 +32,3 @@ "author": { | ||
"ttf2woff": "latest", | ||
"gulp-util": "~2.2.17", | ||
"gulp-util": "~2.2.19", | ||
"bufferstreams": "0.0.2", | ||
@@ -47,3 +47,3 @@ "readable-stream": "^1.0.27-1" | ||
"devDependencies": { | ||
"gulp": "~3.8.1", | ||
"gulp": "~3.8.5", | ||
"mocha": "~1.20.1", | ||
@@ -50,0 +50,0 @@ "event-stream": "~3.1.5" |
@@ -53,4 +53,15 @@ var Stream = require('readable-stream') | ||
// Fix for the vinyl clone method... | ||
// https://github.com/wearefractal/vinyl/pull/9 | ||
if(options.clone) { | ||
stream.push(file.clone()); | ||
if(file.isBuffer()) { | ||
stream.push(file.clone()); | ||
} else { | ||
var cntStream = file.contents; | ||
file.contents = null; | ||
var newFile = file.clone(); | ||
file.contents = cntStream.pipe(new Stream.PassThrough()); | ||
newFile.contents = cntStream.pipe(new Stream.PassThrough()); | ||
stream.push(newFile); | ||
} | ||
} | ||
@@ -57,0 +68,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
15433
231
Updatedgulp-util@~2.2.19