Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glob

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob - npm Package Compare versions

Comparing version 4.1.4 to 4.1.5

10

glob.js

@@ -351,4 +351,4 @@ // Approach:

var self = this
this._stat(this._makeAbs(e), function (er, st) {
self.emit("stat", e)
this._stat(this._makeAbs(e), function (er, c, st) {
self.emit("stat", e, st)
self.emit("match", e)

@@ -570,3 +570,3 @@ })

else
return cb(null, stat.isDirectory() ? 'DIR' : 'FILE')
return cb(null, stat.isDirectory() ? 'DIR' : 'FILE', stat)
}

@@ -593,7 +593,7 @@

if (abs.slice(-1) === "/" && !stat.isDirectory())
return cb(null, false)
return cb(null, false, stat)
var c = stat.isDirectory() ? 'DIR' : 'FILE'
this.cache[f] = this.cache[f] || c
return cb(null, c)
return cb(null, c, stat)
}

@@ -5,3 +5,3 @@ {

"description": "a little globber",
"version": "4.1.4",
"version": "4.1.5",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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