summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror')
-rw-r--r--deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md18
-rw-r--r--deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf3
-rw-r--r--deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json25
3 files changed, 28 insertions, 18 deletions
diff --git a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md
index 3393baeecb..e9b5497851 100644
--- a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md
+++ b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md
@@ -41,7 +41,7 @@ request handler that stats a file and fails if it doesn't exist:
fs.stat(filename, function (err) {
if (err)
/* Annotate the "stat" error with what we were doing. */
- return (callback(new verror.VError(err,
+ return (callback(new verror.VError(err,
'failed to check "%s"', filename)));
/* ... */
@@ -49,14 +49,14 @@ request handler that stats a file and fails if it doesn't exist:
}
function handleRequest(filename, callback) {
- checkFile('/nonexistent', function (err) {
- if (err) {
- /* Annotate the "checkFile" error with what we were doing. */
- return (callback(new verror.VError(err, 'request failed')));
- }
-
- /* ... */
- });
+ checkFile('/nonexistent', function (err) {
+ if (err) {
+ /* Annotate the "checkFile" error with what we were doing. */
+ return (callback(new verror.VError(err, 'request failed')));
+ }
+
+ /* ... */
+ });
}
handleRequest('/nonexistent', function (err) {
diff --git a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf
index 9b19899be6..bd724a2c78 100644
--- a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf
+++ b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf
@@ -1,5 +1,5 @@
#
-# Configuration File for JavaScript Lint
+# Configuration File for JavaScript Lint
#
# This configuration file can be used to lint a collection of scripts, or to enable
# or disable warnings for scripts that are linted via the command line.
@@ -136,3 +136,4 @@
# To add a set of files, use "+process FileName", "+process Folder\Path\*.js",
# or "+process Folder\Path\*.htm".
#
+
diff --git a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
index d1cd81287b..888fea03eb 100644
--- a/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
+++ b/deps/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
@@ -1,8 +1,16 @@
{
"_args": [
[
- "verror@1.3.6",
- "/Users/ogd/Documents/projects/npm/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim"
+ {
+ "raw": "verror@1.3.6",
+ "scope": null,
+ "escapedName": "verror",
+ "name": "verror",
+ "rawSpec": "1.3.6",
+ "spec": "1.3.6",
+ "type": "version"
+ },
+ "/Users/rebecca/code/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim"
]
],
"_from": "verror@1.3.6",
@@ -11,16 +19,17 @@
"_installable": true,
"_location": "/request/http-signature/jsprim/verror",
"_npmUser": {
- "email": "dap@cs.brown.edu",
- "name": "dap"
+ "name": "dap",
+ "email": "dap@cs.brown.edu"
},
"_npmVersion": "1.1.65",
"_phantomChildren": {},
"_requested": {
- "name": "verror",
"raw": "verror@1.3.6",
- "rawSpec": "1.3.6",
"scope": null,
+ "escapedName": "verror",
+ "name": "verror",
+ "rawSpec": "1.3.6",
"spec": "1.3.6",
"type": "version"
},
@@ -31,7 +40,7 @@
"_shasum": "cff5df12946d297d2baaefaa2689e25be01c005c",
"_shrinkwrap": null,
"_spec": "verror@1.3.6",
- "_where": "/Users/ogd/Documents/projects/npm/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim",
+ "_where": "/Users/rebecca/code/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim",
"bugs": {
"url": "https://github.com/davepacheco/node-verror/issues"
},
@@ -43,7 +52,7 @@
"directories": {},
"dist": {
"shasum": "cff5df12946d297d2baaefaa2689e25be01c005c",
- "tarball": "http://registry.npmjs.org/verror/-/verror-1.3.6.tgz"
+ "tarball": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz"
},
"engines": [
"node >=0.6.0"