summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client')
-rw-r--r--deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/index.js39
-rw-r--r--deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json33
-rw-r--r--deps/npm/node_modules/npm-registry-client/package.json37
3 files changed, 74 insertions, 35 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/index.js b/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/index.js
index 571c276783..a4f40f845f 100644
--- a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/index.js
+++ b/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/index.js
@@ -8,13 +8,36 @@ if (!process.version ||
module.exports = process.nextTick;
}
-function nextTick(fn) {
- var args = new Array(arguments.length - 1);
- var i = 0;
- while (i < args.length) {
- args[i++] = arguments[i];
+function nextTick(fn, arg1, arg2, arg3) {
+ if (typeof fn !== 'function') {
+ throw new TypeError('"callback" argument must be a function');
+ }
+ var len = arguments.length;
+ var args, i;
+ switch (len) {
+ case 0:
+ case 1:
+ return process.nextTick(fn);
+ case 2:
+ return process.nextTick(function afterTickOne() {
+ fn.call(null, arg1);
+ });
+ case 3:
+ return process.nextTick(function afterTickTwo() {
+ fn.call(null, arg1, arg2);
+ });
+ case 4:
+ return process.nextTick(function afterTickThree() {
+ fn.call(null, arg1, arg2, arg3);
+ });
+ default:
+ args = new Array(len - 1);
+ i = 0;
+ while (i < args.length) {
+ args[i++] = arguments[i];
+ }
+ return process.nextTick(function afterTick() {
+ fn.apply(null, args);
+ });
}
- process.nextTick(function afterTick() {
- fn.apply(null, args);
- });
}
diff --git a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json b/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json
index 3718b900c6..f0ee8b940e 100644
--- a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json
+++ b/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json
@@ -1,25 +1,32 @@
{
"_args": [
[
- "process-nextick-args@~1.0.6",
- "/Users/rebecca/code/npm/node_modules/readable-stream"
- ],
- [
- "process-nextick-args@~1.0.6",
+ {
+ "name": "process-nextick-args",
+ "raw": "process-nextick-args@~1.0.6",
+ "rawSpec": "~1.0.6",
+ "scope": null,
+ "spec": ">=1.0.6 <1.1.0",
+ "type": "range"
+ },
"/Users/rebecca/code/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream"
]
],
"_from": "process-nextick-args@>=1.0.6 <1.1.0",
- "_id": "process-nextick-args@1.0.6",
+ "_id": "process-nextick-args@1.0.7",
"_inCache": true,
"_installable": true,
"_location": "/npm-registry-client/concat-stream/readable-stream/process-nextick-args",
- "_nodeVersion": "4.1.1",
+ "_nodeVersion": "5.11.0",
+ "_npmOperationalInternal": {
+ "host": "packages-12-west.internal.npmjs.com",
+ "tmp": "tmp/process-nextick-args-1.0.7.tgz_1462394251778_0.36989671061746776"
+ },
"_npmUser": {
"email": "calvin.metcalf@gmail.com",
"name": "cwmma"
},
- "_npmVersion": "2.14.4",
+ "_npmVersion": "3.8.6",
"_phantomChildren": {},
"_requested": {
"name": "process-nextick-args",
@@ -32,6 +39,8 @@
"_requiredBy": [
"/npm-registry-client/concat-stream/readable-stream"
],
+ "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
+ "_shasum": "150e20b756590ad3f91093f25a4f2ad8bff30ba3",
"_shrinkwrap": null,
"_spec": "process-nextick-args@~1.0.6",
"_where": "/Users/rebecca/code/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream",
@@ -46,10 +55,10 @@
},
"directories": {},
"dist": {
- "shasum": "0f96b001cea90b12592ce566edb97ec11e69bd05",
- "tarball": "http://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz"
+ "shasum": "150e20b756590ad3f91093f25a4f2ad8bff30ba3",
+ "tarball": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz"
},
- "gitHead": "e85787b05a8c3c1adb714f332d822e9162699c78",
+ "gitHead": "5c00899ab01dd32f93ad4b5743da33da91404f39",
"homepage": "https://github.com/calvinmetcalf/process-nextick-args",
"license": "MIT",
"main": "index.js",
@@ -69,5 +78,5 @@
"scripts": {
"test": "node test.js"
},
- "version": "1.0.6"
+ "version": "1.0.7"
}
diff --git a/deps/npm/node_modules/npm-registry-client/package.json b/deps/npm/node_modules/npm-registry-client/package.json
index ca717a0bd3..20ff75226d 100644
--- a/deps/npm/node_modules/npm-registry-client/package.json
+++ b/deps/npm/node_modules/npm-registry-client/package.json
@@ -1,28 +1,34 @@
{
"_args": [
[
- "npm-registry-client@latest",
+ {
+ "name": "npm-registry-client",
+ "raw": "npm-registry-client@latest",
+ "rawSpec": "latest",
+ "scope": null,
+ "spec": "latest",
+ "type": "tag"
+ },
"/Users/rebecca/code/npm"
]
],
"_from": "npm-registry-client@latest",
- "_id": "npm-registry-client@7.1.0",
+ "_id": "npm-registry-client@7.1.2",
"_inCache": true,
"_installable": true,
"_location": "/npm-registry-client",
- "_nodeVersion": "5.4.0",
+ "_nodeVersion": "4.4.0",
"_npmOperationalInternal": {
- "host": "packages-5-east.internal.npmjs.com",
- "tmp": "tmp/npm-registry-client-7.1.0.tgz_1456435497334_0.35472381697036326"
+ "host": "packages-16-east.internal.npmjs.com",
+ "tmp": "tmp/npm-registry-client-7.1.2.tgz_1466040796551_0.645394338760525"
},
"_npmUser": {
"email": "me@re-becca.org",
"name": "iarna"
},
- "_npmVersion": "3.7.5",
+ "_npmVersion": "3.9.2",
"_phantomChildren": {
- "inherits": "2.0.1",
- "readable-stream": "2.0.5"
+ "inherits": "2.0.1"
},
"_requested": {
"name": "npm-registry-client",
@@ -35,7 +41,8 @@
"_requiredBy": [
"/"
],
- "_shasum": "e3be14ab279fe5123e15ab5c8a650445415664a5",
+ "_resolved": "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-7.1.2.tgz",
+ "_shasum": "ddf243a2bd149d35172fe680aff40dfa20054bc3",
"_shrinkwrap": null,
"_spec": "npm-registry-client@latest",
"_where": "/Users/rebecca/code/npm",
@@ -54,7 +61,7 @@
"mkdirp": "^0.5.0",
"normalize-package-data": "~1.0.1 || ^2.0.0",
"npm-package-arg": "^3.0.0 || ^4.0.0",
- "npmlog": "~2.0.0",
+ "npmlog": "~2.0.0 || ~3.1.0",
"once": "^1.3.0",
"request": "^2.47.0",
"retry": "^0.8.0",
@@ -72,10 +79,10 @@
},
"directories": {},
"dist": {
- "shasum": "e3be14ab279fe5123e15ab5c8a650445415664a5",
- "tarball": "http://registry.npmjs.org/npm-registry-client/-/npm-registry-client-7.1.0.tgz"
+ "shasum": "ddf243a2bd149d35172fe680aff40dfa20054bc3",
+ "tarball": "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-7.1.2.tgz"
},
- "gitHead": "d077cb652152a8c265369d9d169cba8a52239fb4",
+ "gitHead": "0b595c4769f314a12661d537a328cf4e5658a00f",
"homepage": "https://github.com/npm/npm-registry-client#readme",
"license": "ISC",
"main": "index.js",
@@ -99,7 +106,7 @@
],
"name": "npm-registry-client",
"optionalDependencies": {
- "npmlog": "~2.0.0"
+ "npmlog": "~2.0.0 || ~3.1.0"
},
"readme": "ERROR: No README data found!",
"repository": {
@@ -108,5 +115,5 @@
"scripts": {
"test": "standard && tap test/*.js"
},
- "version": "7.1.0"
+ "version": "7.1.2"
}