From 7d1c1ca55ea7ebec830da29b5b29d9ad8b0cdf78 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 23 May 2014 09:53:48 -0700 Subject: remove normalize-package-data from top level, de-^-ify inflight dep --- node_modules/inflight/package.json | 23 +++++++++++++++++++---- package.json | 3 +-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/node_modules/inflight/package.json b/node_modules/inflight/package.json index 263cc9872..f4e294aad 100644 --- a/node_modules/inflight/package.json +++ b/node_modules/inflight/package.json @@ -26,10 +26,25 @@ }, "homepage": "https://github.com/isaacs/inflight", "license": "ISC", - "readme": "# inflight\n\nAdd callbacks to requests in flight to avoid async duplication\n\n## USAGE\n\n```javascript\nvar inflight = require('inflight')\n\n// some request that does some stuff\nfunction req(key, callback) {\n // key is any random string. like a url or filename or whatever.\n //\n // will return either a falsey value, indicating that the\n // request for this key is already in flight, or a new callback\n // which when called will call all callbacks passed to inflightk\n // with the same key\n callback = inflight(key, callback)\n\n // If we got a falsey value back, then there's already a req going\n if (!callback) return\n\n // this is where you'd fetch the url or whatever\n // callback is also once()-ified, so it can safely be assigned\n // to multiple events etc. First call wins.\n setTimeout(function() {\n callback(null, key)\n }, 100)\n}\n\n// only assigns a single setTimeout\n// when it dings, all cbs get called\nreq('foo', cb1)\nreq('foo', cb2)\nreq('foo', cb3)\nreq('foo', cb4)\n```\n", - "readmeFilename": "README.md", "_id": "inflight@1.0.1", "_shasum": "01f6911821535243c790ac0f998f54e9023ffb6f", - "_from": "inflight@", - "_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.1.tgz" + "_from": "inflight@~1.0.1", + "_npmVersion": "1.4.9", + "_npmUser": { + "name": "isaacs", + "email": "i@izs.me" + }, + "maintainers": [ + { + "name": "isaacs", + "email": "i@izs.me" + } + ], + "dist": { + "shasum": "01f6911821535243c790ac0f998f54e9023ffb6f", + "tarball": "http://registry.npmjs.org/inflight/-/inflight-1.0.1.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.1.tgz", + "readme": "ERROR: No README data found!" } diff --git a/package.json b/package.json index 7242f32c2..848ff9cc7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "github-url-from-username-repo": "~0.1.0", "glob": "~3.2.10", "graceful-fs": "~2.0.2", - "inflight": "^1.0.1", + "inflight": "~1.0.1", "ini": "~1.2.0", "init-package-json": "0.0.17", "lockfile": "~0.4.0", @@ -114,7 +114,6 @@ "mkdirp", "node-gyp", "nopt", - "normalize-package-data", "npm-cache-filename", "npm-install-checks", "npm-registry-client", -- cgit v1.2.3