Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2016-06-17 00:16:27 +0300
committerRebecca Turner <me@re-becca.org>2016-06-17 00:16:27 +0300
commit4a18922e56f9dc902fbb4daa8f5fafa4a1b89376 (patch)
treefe88c0ce68dd9af2d681a42ece522e02b8216f92 /node_modules/glob/glob.js
parent9d64fe676ebc6949c687ffb85bd93eca3137fc0d (diff)
glob@7.0.4
Fixes issues with Node 6 and "long or excessively symlink-looping paths" Credit: @isaacs
Diffstat (limited to 'node_modules/glob/glob.js')
-rw-r--r--node_modules/glob/glob.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/glob/glob.js b/node_modules/glob/glob.js
index 4dba04ade..02d15b755 100644
--- a/node_modules/glob/glob.js
+++ b/node_modules/glob/glob.js
@@ -41,6 +41,7 @@
module.exports = glob
var fs = require('fs')
+var rp = require('fs.realpath')
var minimatch = require('minimatch')
var Minimatch = minimatch.Minimatch
var inherits = require('inherits')
@@ -232,7 +233,7 @@ Glob.prototype._realpathSet = function (index, cb) {
// one or more of the links in the realpath couldn't be
// resolved. just return the abs value in that case.
p = self._makeAbs(p)
- fs.realpath(p, self.realpathCache, function (er, real) {
+ rp.realpath(p, self.realpathCache, function (er, real) {
if (!er)
set[real] = true
else if (er.syscall === 'stat')