Comparing version 2.4.1 to 2.4.2
'use strict'; | ||
var path = require('path'); | ||
var assign = require('object-assign'); | ||
@@ -17,17 +16,2 @@ var through2 = require('through2'); | ||
function normalizePath(options) { | ||
function normalize(globFile, enc, cb) { | ||
// TODO: probably move this somewhere | ||
// Ref https://github.com/gulpjs/vinyl/issues/80 | ||
var normalizedFile = assign({}, globFile, { | ||
path: path.normalize(globFile.path), | ||
}); | ||
cb(null, normalizedFile); | ||
} | ||
return through2.obj(options, normalize); | ||
} | ||
function createFile(globFile, enc, cb) { | ||
@@ -60,3 +44,2 @@ cb(null, new File(globFile)); | ||
var outputStream = globStream | ||
.pipe(normalizePath(options)) | ||
.pipe(resolveSymlinks(options)) | ||
@@ -63,0 +46,0 @@ .pipe(through2.obj(options, createFile)); |
{ | ||
"name": "vinyl-fs", | ||
"description": "Vinyl adapter for the file system", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"homepage": "http://github.com/wearefractal/vinyl-fs", | ||
@@ -15,3 +15,3 @@ "repository": "git://github.com/wearefractal/vinyl-fs.git", | ||
"duplexify": "^3.2.0", | ||
"glob-stream": "^5.2.0", | ||
"glob-stream": "^5.3.2", | ||
"graceful-fs": "^4.0.0", | ||
@@ -18,0 +18,0 @@ "gulp-sourcemaps": "^1.5.2", |
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
71352
678
Updatedglob-stream@^5.3.2