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:
authorForrest L Norvell <forrest@npmjs.com>2015-02-27 14:53:55 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-27 14:53:55 +0300
commit5d0612f31e226cba32a05351c47b055c0ab6c557 (patch)
treefe94ee4a517eaf66a2613eb48c3cfabf3c5f7142
parent64b07f6caf6cb07e4102f1e4e5f2ff2b944e452e (diff)
glob@4.4.1
More informative error messages when calling sync versions of functions with a callback.
-rw-r--r--node_modules/glob/package.json17
-rw-r--r--node_modules/glob/sync.js6
-rw-r--r--package.json2
3 files changed, 13 insertions, 12 deletions
diff --git a/node_modules/glob/package.json b/node_modules/glob/package.json
index c5032684b..8c11fbb77 100644
--- a/node_modules/glob/package.json
+++ b/node_modules/glob/package.json
@@ -6,7 +6,7 @@
},
"name": "glob",
"description": "a little globber",
- "version": "4.4.0",
+ "version": "4.4.1",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-glob.git"
@@ -42,14 +42,14 @@
"benchclean": "bash benchclean.sh"
},
"license": "ISC",
- "gitHead": "57e6b293108b48d9771a05e2b9a6a1b12cb81c12",
+ "gitHead": "a10b0294183788c0e9f56fc3ac88832e2c3513bc",
"bugs": {
"url": "https://github.com/isaacs/node-glob/issues"
},
"homepage": "https://github.com/isaacs/node-glob",
- "_id": "glob@4.4.0",
- "_shasum": "91d63dc1ed1d82b52ba2cb76044852ccafc2130f",
- "_from": "glob@>=4.4.0 <4.5.0",
+ "_id": "glob@4.4.1",
+ "_shasum": "8395b16d01f4a58f0bf3f6359174997b78d74197",
+ "_from": "glob@>=4.4.1 <4.5.0",
"_npmVersion": "2.6.0",
"_nodeVersion": "1.1.0",
"_npmUser": {
@@ -63,10 +63,9 @@
}
],
"dist": {
- "shasum": "91d63dc1ed1d82b52ba2cb76044852ccafc2130f",
- "tarball": "http://registry.npmjs.org/glob/-/glob-4.4.0.tgz"
+ "shasum": "8395b16d01f4a58f0bf3f6359174997b78d74197",
+ "tarball": "http://registry.npmjs.org/glob/-/glob-4.4.1.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/glob/-/glob-4.4.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/glob/-/glob-4.4.1.tgz"
}
diff --git a/node_modules/glob/sync.js b/node_modules/glob/sync.js
index 686f2c369..7aa0d07c5 100644
--- a/node_modules/glob/sync.js
+++ b/node_modules/glob/sync.js
@@ -18,7 +18,8 @@ var childrenIgnored = common.childrenIgnored
function globSync (pattern, options) {
if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob')
+ throw new TypeError('callback provided to sync glob\n'+
+ 'See: https://github.com/isaacs/node-glob/issues/167')
return new GlobSync(pattern, options).found
}
@@ -28,7 +29,8 @@ function GlobSync (pattern, options) {
throw new Error('must provide pattern')
if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob')
+ throw new TypeError('callback provided to sync glob\n'+
+ 'See: https://github.com/isaacs/node-glob/issues/167')
if (!(this instanceof GlobSync))
return new GlobSync(pattern, options)
diff --git a/package.json b/package.json
index 654de8447..dac2e7c7a 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,7 @@
"fstream-npm": "~1.0.1",
"github-url-from-git": "~1.4.0",
"github-url-from-username-repo": "~1.0.2",
- "glob": "~4.4.0",
+ "glob": "~4.4.1",
"graceful-fs": "~3.0.5",
"inflight": "~1.0.4",
"inherits": "~2.0.1",