glob-stream
Advanced tools
Comparing version 5.3.2 to 5.3.3
15
index.js
@@ -18,13 +18,14 @@ 'use strict'; | ||
// Remove path relativity to make globs make sense | ||
ourGlob = resolveGlob(ourGlob, opt); | ||
var ourOpt = extend({}, opt); | ||
delete ourOpt.root; | ||
// Extract base path from glob | ||
var basePath = ourOpt.base || getBasePath(ourGlob, opt); | ||
// Remove path relativity to make globs make sense | ||
ourGlob = resolveGlob(ourGlob, opt); | ||
// Create globbing stuff | ||
var globber = new glob.Glob(ourGlob, ourOpt); | ||
// Extract base path from glob | ||
var basePath = opt.base || globParent(ourGlob) + path.sep; | ||
// Create stream and map events from globber to it | ||
@@ -192,2 +193,6 @@ var stream = through2.obj(opt, | ||
function getBasePath(ourGlob, opt) { | ||
return resolveGlob(globParent(ourGlob) + path.sep, opt); | ||
} | ||
module.exports = gs; |
{ | ||
"name": "glob-stream", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"description": "A wrapper around node-glob to make it streamy", | ||
@@ -5,0 +5,0 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)", |
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
9902
158