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:
-rw-r--r--node_modules/npmconf/LICENSE27
-rw-r--r--node_modules/npmconf/config-defs.js7
-rw-r--r--node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json3
-rw-r--r--node_modules/npmconf/package.json6
4 files changed, 35 insertions, 8 deletions
diff --git a/node_modules/npmconf/LICENSE b/node_modules/npmconf/LICENSE
new file mode 100644
index 000000000..0c44ae716
--- /dev/null
+++ b/node_modules/npmconf/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) Isaac Z. Schlueter ("Author")
+All rights reserved.
+
+The BSD License
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/node_modules/npmconf/config-defs.js b/node_modules/npmconf/config-defs.js
index 857f4af3d..7a6f56bda 100644
--- a/node_modules/npmconf/config-defs.js
+++ b/node_modules/npmconf/config-defs.js
@@ -107,10 +107,7 @@ Object.defineProperty(exports, "defaults", {get: function () {
return defaults =
{ "always-auth" : false
- // are there others?
- , browser : process.platform === "darwin" ? "open"
- : process.platform === "win32" ? "start"
- : "google-chrome"
+ , browser : null
, ca : // the npm CA certificate.
[ "-----BEGIN CERTIFICATE-----\n"+
@@ -268,7 +265,7 @@ Object.defineProperty(exports, "defaults", {get: function () {
exports.types =
{ "always-auth" : Boolean
- , browser : String
+ , browser : [null, String]
, ca: [null, String, Array]
, cache : path
, "cache-lock-stale": Number
diff --git a/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json b/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json
index 98ff78d20..6ee30e7d2 100644
--- a/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json
+++ b/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json
@@ -24,5 +24,8 @@
},
"readme": "A list of objects, bound by their prototype chain.\n\nUsed in npm's config stuff.\n",
"_id": "proto-list@1.2.2",
+ "dist": {
+ "shasum": "48b88798261ec2c4a785720cdfec6200d57d3326"
+ },
"_from": "proto-list@~1.2.1"
}
diff --git a/node_modules/npmconf/package.json b/node_modules/npmconf/package.json
index ea9ac9929..8d7bd42b6 100644
--- a/node_modules/npmconf/package.json
+++ b/node_modules/npmconf/package.json
@@ -1,6 +1,6 @@
{
"name": "npmconf",
- "version": "0.0.15",
+ "version": "0.0.16",
"description": "The config thing npm uses",
"main": "npmconf.js",
"directories": {
@@ -36,6 +36,6 @@
},
"license": "BSD",
"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.15",
- "_from": "npmconf@0"
+ "_id": "npmconf@0.0.16",
+ "_from": "npmconf@latest"
}