diff options
Diffstat (limited to 'deps/npm/node_modules/npmconf')
-rw-r--r-- | deps/npm/node_modules/npmconf/config-defs.js | 2 | ||||
-rw-r--r-- | deps/npm/node_modules/npmconf/package.json | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/deps/npm/node_modules/npmconf/config-defs.js b/deps/npm/node_modules/npmconf/config-defs.js index 32c13d5209..df8b987118 100644 --- a/deps/npm/node_modules/npmconf/config-defs.js +++ b/deps/npm/node_modules/npmconf/config-defs.js @@ -176,6 +176,7 @@ Object.defineProperty(exports, "defaults", {get: function () { , npaturl : "http://npat.npmjs.org/" , npat : false , "onload-script" : false + , optional: true , parseable : false , pre: false , prefix : globalPrefix @@ -266,6 +267,7 @@ exports.types = , npaturl : url , npat : Boolean , "onload-script" : [null, String] + , optional: Boolean , parseable : Boolean , pre: Boolean , prefix: path diff --git a/deps/npm/node_modules/npmconf/package.json b/deps/npm/node_modules/npmconf/package.json index 8995ddfc04..e1a31fa1d8 100644 --- a/deps/npm/node_modules/npmconf/package.json +++ b/deps/npm/node_modules/npmconf/package.json @@ -1,6 +1,6 @@ { "name": "npmconf", - "version": "0.0.8", + "version": "0.0.9", "description": "The config thing npm uses", "main": "npmconf.js", "directories": { @@ -39,6 +39,6 @@ "nopt": "~2.0.0" }, "readme": "# npmconf\n\nThe config thing npm uses\n\nIf you are interested in interacting with the config settings that npm\nuses, then use this module.\n\nHowever, if you are writing a new Node.js program, and want\nconfiguration functionality similar to what npm has, but for your\nown thing, then I'd recommend using [rc](https://github.com/dominictarr/rc),\nwhich is probably what you want.\n\nIf I were to do it all over again, that's what I'd do for npm. But,\nalas, there are many systems depending on many of the particulars of\nnpm's configuration setup, so it's not worth the cost of changing.\n\n## USAGE\n\n```javascript\nvar npmconf = require('npmconf')\n\n// pass in the cli options that you read from the cli\n// or whatever top-level configs you want npm to use for now.\nnpmconf.load({some:'configs'}, function (er, conf) {\n // do stuff with conf\n conf.get('some', 'cli') // 'configs'\n conf.get('username') // 'joebobwhatevers'\n conf.set('foo', 'bar', 'user')\n conf.save('user', function (er) {\n // foo = bar is now saved to ~/.npmrc or wherever\n })\n})\n```\n", - "_id": "npmconf@0.0.8", + "_id": "npmconf@0.0.9", "_from": "npmconf@~0.0.6" } |