Socket
Socket
Sign inDemoInstall

glob-stream

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob-stream - npm Package Compare versions

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/)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc