Comparing version 0.3.1 to 0.3.2
@@ -5,3 +5,2 @@ 'use strict'; | ||
var through = require('through2'); | ||
var map = require('through2-map'); | ||
var gs = require('glob-stream'); | ||
@@ -13,7 +12,5 @@ var File = require('vinyl'); | ||
var formatStream = map.ctor({ | ||
objectMode: true | ||
}, function (globFile) { | ||
return new File(globFile); | ||
}); | ||
function createFile (globFile, enc, cb) { | ||
cb(null, new File(globFile)); | ||
} | ||
@@ -34,3 +31,3 @@ function src(glob, opt) { | ||
var outputStream = globStream | ||
.pipe(formatStream()) | ||
.pipe(through.obj(createFile)) | ||
.pipe(getStats(options)); | ||
@@ -37,0 +34,0 @@ |
{ | ||
"name": "vinyl-fs", | ||
"description": "Vinyl adapter for the file system", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "http://github.com/wearefractal/vinyl-fs", | ||
@@ -17,3 +17,2 @@ "repository": "git://github.com/wearefractal/vinyl-fs.git", | ||
"through2": "^0.5.1", | ||
"through2-map": "^1.3.0", | ||
"vinyl": "^0.2.0" | ||
@@ -20,0 +19,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
33114
8
732
- Removedthrough2-map@^1.3.0
- Removedterminus@1.0.12(transitive)
- Removedthrough2-map@1.4.0(transitive)