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:
authorisaacs <i@izs.me>2014-02-17 22:40:10 +0400
committerisaacs <i@izs.me>2014-02-17 22:40:10 +0400
commit05d2490526fa40adc55727e92d4d30bd63aabaad (patch)
treef208d101933ec3a8e78b102911444e3955181b3e /node_modules/uid-number
parent1564bd1539e3b44cb652aa51d7add27b7e066720 (diff)
uid-number@0.0.4
Diffstat (limited to 'node_modules/uid-number')
-rw-r--r--node_modules/uid-number/LICENSE15
-rw-r--r--node_modules/uid-number/package.json23
-rw-r--r--node_modules/uid-number/uid-number.js2
3 files changed, 25 insertions, 15 deletions
diff --git a/node_modules/uid-number/LICENSE b/node_modules/uid-number/LICENSE
new file mode 100644
index 000000000..05eeeb88c
--- /dev/null
+++ b/node_modules/uid-number/LICENSE
@@ -0,0 +1,15 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/node_modules/uid-number/package.json b/node_modules/uid-number/package.json
index babe6f43e..b7d9e0007 100644
--- a/node_modules/uid-number/package.json
+++ b/node_modules/uid-number/package.json
@@ -6,7 +6,7 @@
},
"name": "uid-number",
"description": "Convert a username/group name to a uid/gid number",
- "version": "0.0.3",
+ "version": "0.0.4",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/uid-number.git"
@@ -18,18 +18,13 @@
"engines": {
"node": "*"
},
- "license": "BSD",
- "_npmUser": {
- "name": "isaacs",
- "email": "i@izs.me"
+ "license": "ISC",
+ "readme": "Use this module to convert a username/groupname to a uid/gid number.\n\nUsage:\n\n```\nnpm install uid-number\n```\n\nThen, in your node program:\n\n```javascript\nvar uidNumber = require(\"uid-number\")\nuidNumber(\"isaacs\", function (er, uid, gid) {\n // gid is null because we didn't ask for a group name\n // uid === 24561 because that's my number.\n})\n```\n",
+ "readmeFilename": "README.md",
+ "bugs": {
+ "url": "https://github.com/isaacs/uid-number/issues"
},
- "_id": "uid-number@0.0.3",
- "_engineSupported": true,
- "_npmVersion": "1.1.23",
- "_nodeVersion": "v0.7.10-pre",
- "_defaultsLoaded": true,
- "dist": {
- "shasum": "cefb0fa138d8d8098da71a40a0d04a8327d6e1cc"
- },
- "_from": "../uid-number"
+ "homepage": "https://github.com/isaacs/uid-number",
+ "_id": "uid-number@0.0.4",
+ "_from": "uid-number@latest"
}
diff --git a/node_modules/uid-number/uid-number.js b/node_modules/uid-number/uid-number.js
index 93f372bb9..1cd511c64 100644
--- a/node_modules/uid-number/uid-number.js
+++ b/node_modules/uid-number/uid-number.js
@@ -33,7 +33,7 @@ function uidNumber (uid, gid, cb) {
child_process.execFile( process.execPath
, [getter, uid, gid]
, function (code, out, err) {
- if (er) return cb(new Error("could not get uid/gid\n" + err))
+ if (err) return cb(new Error("could not get uid/gid\n" + err))
try {
out = JSON.parse(out+"")
} catch (ex) {