From f5c07b65a09afe2f9571efece91a4898d7b79404 Mon Sep 17 00:00:00 2001
From: isaacs
Date: Wed, 1 Aug 2012 19:10:42 -0700
Subject: [PATCH] npm: Upgrade to 1.1.46
---
deps/npm/Makefile | 18 +++--
deps/npm/doc/cli/npm.md | 2 +-
deps/npm/html/api/bin.html | 4 +-
deps/npm/html/api/bugs.html | 4 +-
deps/npm/html/api/commands.html | 4 +-
deps/npm/html/api/config.html | 4 +-
deps/npm/html/api/deprecate.html | 4 +-
deps/npm/html/api/docs.html | 4 +-
deps/npm/html/api/edit.html | 4 +-
deps/npm/html/api/explore.html | 4 +-
deps/npm/html/api/help-search.html | 4 +-
deps/npm/html/api/init.html | 4 +-
deps/npm/html/api/install.html | 4 +-
deps/npm/html/api/link.html | 4 +-
deps/npm/html/api/load.html | 4 +-
deps/npm/html/api/ls.html | 4 +-
deps/npm/html/api/npm.html | 6 +-
deps/npm/html/api/outdated.html | 4 +-
deps/npm/html/api/owner.html | 4 +-
deps/npm/html/api/pack.html | 4 +-
deps/npm/html/api/prefix.html | 4 +-
deps/npm/html/api/prune.html | 4 +-
deps/npm/html/api/publish.html | 4 +-
deps/npm/html/api/rebuild.html | 4 +-
deps/npm/html/api/restart.html | 4 +-
deps/npm/html/api/root.html | 4 +-
deps/npm/html/api/run-script.html | 4 +-
deps/npm/html/api/search.html | 4 +-
deps/npm/html/api/shrinkwrap.html | 4 +-
deps/npm/html/api/start.html | 4 +-
deps/npm/html/api/stop.html | 4 +-
deps/npm/html/api/submodule.html | 4 +-
deps/npm/html/api/tag.html | 4 +-
deps/npm/html/api/test.html | 4 +-
deps/npm/html/api/uninstall.html | 4 +-
deps/npm/html/api/unpublish.html | 4 +-
deps/npm/html/api/update.html | 4 +-
deps/npm/html/api/version.html | 4 +-
deps/npm/html/api/view.html | 4 +-
deps/npm/html/api/whoami.html | 4 +-
deps/npm/html/doc/README.html | 4 +-
deps/npm/html/doc/adduser.html | 4 +-
deps/npm/html/doc/bin.html | 4 +-
deps/npm/html/doc/bugs.html | 4 +-
deps/npm/html/doc/build.html | 4 +-
deps/npm/html/doc/bundle.html | 4 +-
deps/npm/html/doc/cache.html | 4 +-
deps/npm/html/doc/changelog.html | 4 +-
deps/npm/html/doc/coding-style.html | 4 +-
deps/npm/html/doc/completion.html | 4 +-
deps/npm/html/doc/config.html | 4 +-
deps/npm/html/doc/deprecate.html | 4 +-
deps/npm/html/doc/developers.html | 4 +-
deps/npm/html/doc/disputes.html | 4 +-
deps/npm/html/doc/docs.html | 4 +-
deps/npm/html/doc/edit.html | 4 +-
deps/npm/html/doc/explore.html | 4 +-
deps/npm/html/doc/faq.html | 4 +-
deps/npm/html/doc/folders.html | 4 +-
deps/npm/html/doc/help-search.html | 4 +-
deps/npm/html/doc/help.html | 4 +-
deps/npm/html/doc/index.html | 4 +-
deps/npm/html/doc/init.html | 4 +-
deps/npm/html/doc/install.html | 4 +-
deps/npm/html/doc/json.html | 4 +-
deps/npm/html/doc/link.html | 4 +-
deps/npm/html/doc/list.html | 6 +-
deps/npm/html/doc/npm.html | 8 +-
deps/npm/html/doc/outdated.html | 4 +-
deps/npm/html/doc/owner.html | 4 +-
deps/npm/html/doc/pack.html | 4 +-
deps/npm/html/doc/prefix.html | 4 +-
deps/npm/html/doc/prune.html | 4 +-
deps/npm/html/doc/publish.html | 4 +-
deps/npm/html/doc/rebuild.html | 4 +-
deps/npm/html/doc/registry.html | 4 +-
deps/npm/html/doc/removing-npm.html | 4 +-
deps/npm/html/doc/restart.html | 4 +-
deps/npm/html/doc/root.html | 4 +-
deps/npm/html/doc/run-script.html | 4 +-
deps/npm/html/doc/scripts.html | 4 +-
deps/npm/html/doc/search.html | 4 +-
deps/npm/html/doc/semver.html | 4 +-
deps/npm/html/doc/shrinkwrap.html | 4 +-
deps/npm/html/doc/star.html | 4 +-
deps/npm/html/doc/start.html | 4 +-
deps/npm/html/doc/stop.html | 4 +-
deps/npm/html/doc/submodule.html | 4 +-
deps/npm/html/doc/tag.html | 4 +-
deps/npm/html/doc/test.html | 4 +-
deps/npm/html/doc/uninstall.html | 4 +-
deps/npm/html/doc/unpublish.html | 4 +-
deps/npm/html/doc/update.html | 4 +-
deps/npm/html/doc/version.html | 4 +-
deps/npm/html/doc/view.html | 4 +-
deps/npm/html/doc/whoami.html | 4 +-
deps/npm/html/dochead.html | 2 +-
deps/npm/lib/config.js | 13 +---
deps/npm/lib/npm.js | 17 ++--
deps/npm/lib/utils/ini.js | 5 +-
deps/npm/man/man1/README.1 | 2 +-
deps/npm/man/man1/adduser.1 | 2 +-
deps/npm/man/man1/bin.1 | 2 +-
deps/npm/man/man1/bugs.1 | 2 +-
deps/npm/man/man1/build.1 | 2 +-
deps/npm/man/man1/bundle.1 | 2 +-
deps/npm/man/man1/cache.1 | 2 +-
deps/npm/man/man1/changelog.1 | 2 +-
deps/npm/man/man1/coding-style.1 | 2 +-
deps/npm/man/man1/completion.1 | 2 +-
deps/npm/man/man1/config.1 | 2 +-
deps/npm/man/man1/deprecate.1 | 2 +-
deps/npm/man/man1/developers.1 | 2 +-
deps/npm/man/man1/disputes.1 | 2 +-
deps/npm/man/man1/docs.1 | 2 +-
deps/npm/man/man1/edit.1 | 2 +-
deps/npm/man/man1/explore.1 | 2 +-
deps/npm/man/man1/faq.1 | 2 +-
deps/npm/man/man1/folders.1 | 2 +-
deps/npm/man/man1/help-search.1 | 2 +-
deps/npm/man/man1/help.1 | 2 +-
deps/npm/man/man1/index.1 | 2 +-
deps/npm/man/man1/init.1 | 2 +-
deps/npm/man/man1/install.1 | 2 +-
deps/npm/man/man1/json.1 | 2 +-
deps/npm/man/man1/link.1 | 2 +-
deps/npm/man/man1/list.1 | 4 +-
deps/npm/man/man1/npm.1 | 6 +-
deps/npm/man/man1/outdated.1 | 2 +-
deps/npm/man/man1/owner.1 | 2 +-
deps/npm/man/man1/pack.1 | 2 +-
deps/npm/man/man1/prefix.1 | 2 +-
deps/npm/man/man1/prune.1 | 2 +-
deps/npm/man/man1/publish.1 | 2 +-
deps/npm/man/man1/rebuild.1 | 2 +-
deps/npm/man/man1/registry.1 | 2 +-
deps/npm/man/man1/removing-npm.1 | 2 +-
deps/npm/man/man1/restart.1 | 2 +-
deps/npm/man/man1/root.1 | 2 +-
deps/npm/man/man1/run-script.1 | 2 +-
deps/npm/man/man1/scripts.1 | 2 +-
deps/npm/man/man1/search.1 | 2 +-
deps/npm/man/man1/semver.1 | 2 +-
deps/npm/man/man1/shrinkwrap.1 | 2 +-
deps/npm/man/man1/star.1 | 2 +-
deps/npm/man/man1/start.1 | 2 +-
deps/npm/man/man1/stop.1 | 2 +-
deps/npm/man/man1/submodule.1 | 2 +-
deps/npm/man/man1/tag.1 | 2 +-
deps/npm/man/man1/test.1 | 2 +-
deps/npm/man/man1/uninstall.1 | 2 +-
deps/npm/man/man1/unpublish.1 | 2 +-
deps/npm/man/man1/update.1 | 2 +-
deps/npm/man/man1/version.1 | 2 +-
deps/npm/man/man1/view.1 | 2 +-
deps/npm/man/man1/whoami.1 | 2 +-
deps/npm/man/man3/bin.3 | 2 +-
deps/npm/man/man3/bugs.3 | 2 +-
deps/npm/man/man3/commands.3 | 2 +-
deps/npm/man/man3/config.3 | 2 +-
deps/npm/man/man3/deprecate.3 | 2 +-
deps/npm/man/man3/docs.3 | 2 +-
deps/npm/man/man3/edit.3 | 2 +-
deps/npm/man/man3/explore.3 | 2 +-
deps/npm/man/man3/help-search.3 | 2 +-
deps/npm/man/man3/init.3 | 2 +-
deps/npm/man/man3/install.3 | 2 +-
deps/npm/man/man3/link.3 | 2 +-
deps/npm/man/man3/load.3 | 2 +-
deps/npm/man/man3/ls.3 | 2 +-
deps/npm/man/man3/npm.3 | 4 +-
deps/npm/man/man3/outdated.3 | 2 +-
deps/npm/man/man3/owner.3 | 2 +-
deps/npm/man/man3/pack.3 | 2 +-
deps/npm/man/man3/prefix.3 | 2 +-
deps/npm/man/man3/prune.3 | 2 +-
deps/npm/man/man3/publish.3 | 2 +-
deps/npm/man/man3/rebuild.3 | 2 +-
deps/npm/man/man3/restart.3 | 2 +-
deps/npm/man/man3/root.3 | 2 +-
deps/npm/man/man3/run-script.3 | 2 +-
deps/npm/man/man3/search.3 | 2 +-
deps/npm/man/man3/shrinkwrap.3 | 2 +-
deps/npm/man/man3/start.3 | 2 +-
deps/npm/man/man3/stop.3 | 2 +-
deps/npm/man/man3/submodule.3 | 2 +-
deps/npm/man/man3/tag.3 | 2 +-
deps/npm/man/man3/test.3 | 2 +-
deps/npm/man/man3/uninstall.3 | 2 +-
deps/npm/man/man3/unpublish.3 | 2 +-
deps/npm/man/man3/update.3 | 2 +-
deps/npm/man/man3/version.3 | 2 +-
deps/npm/man/man3/view.3 | 2 +-
deps/npm/man/man3/whoami.3 | 2 +-
.../node_modules/glob/{LICENCE => LICENSE} | 22 +++---
deps/npm/node_modules/glob/glob.js | 47 +++++------
deps/npm/node_modules/glob/package.json | 4 +-
.../node_modules/glob/test/bash-comparison.js | 5 +-
.../node_modules/glob/test/pause-resume.js | 14 +++-
.../node_modules/graceful-fs/graceful-fs.js | 32 ++++----
.../npm/node_modules/graceful-fs/package.json | 19 ++++-
.../npm/node_modules/graceful-fs/test/open.js | 41 ++++++++++
deps/npm/node_modules/lru-cache/AUTHORS | 2 +
deps/npm/node_modules/lru-cache/README.md | 9 ++-
.../node_modules/lru-cache/lib/lru-cache.js | 15 +++-
deps/npm/node_modules/lru-cache/package.json | 28 +++----
deps/npm/node_modules/lru-cache/test/basic.js | 39 ++++++++++
deps/npm/node_modules/mkdirp/.gitignore.orig | 2 +
deps/npm/node_modules/mkdirp/.gitignore.rej | 5 ++
.../node_modules/mkdirp/examples/pow.js.orig | 6 ++
.../node_modules/mkdirp/examples/pow.js.rej | 19 +++++
.../npm/node_modules/node-gyp/bin/node-gyp.js | 7 +-
.../node_modules/node-gyp/lib/configure.js | 60 ++++++++++++---
.../npm/node_modules/node-gyp/lib/node-gyp.js | 16 ++--
deps/npm/node_modules/node-gyp/package.json | 9 +--
.../read-package-json/package.json | 6 +-
.../read-package-json/read-json.js | 34 ++++----
.../read-package-json/test/basic.js | 1 +
.../test/fixtures/not-json.css | 37 +++++++++
.../read-package-json/test/non-json.js | 77 +++++++++++++++++++
deps/npm/node_modules/read/README.md | 1 +
deps/npm/node_modules/read/lib/read.js | 2 +-
.../read/node_modules/mute-stream/README.md | 10 ++-
.../read/node_modules/mute-stream/mute.js | 18 ++++-
.../node_modules/mute-stream/package.json | 11 ++-
.../node_modules/mute-stream/test/basic.js | 59 ++++++++++++++
deps/npm/node_modules/read/package.json | 10 +--
deps/npm/package.json | 2 +-
deps/npm/test/packages/npm-test-blerg3/README | 1 +
.../packages/npm-test-blerg3/package.json | 5 ++
.../npm/test/packages/npm-test-blerg3/test.js | 5 ++
231 files changed, 862 insertions(+), 455 deletions(-)
rename deps/npm/node_modules/glob/{LICENCE => LICENSE} (50%)
create mode 100644 deps/npm/node_modules/graceful-fs/test/open.js
create mode 100644 deps/npm/node_modules/mkdirp/.gitignore.orig
create mode 100644 deps/npm/node_modules/mkdirp/.gitignore.rej
create mode 100644 deps/npm/node_modules/mkdirp/examples/pow.js.orig
create mode 100644 deps/npm/node_modules/mkdirp/examples/pow.js.rej
create mode 100644 deps/npm/node_modules/read-package-json/test/fixtures/not-json.css
create mode 100644 deps/npm/node_modules/read-package-json/test/non-json.js
create mode 100644 deps/npm/test/packages/npm-test-blerg3/README
create mode 100644 deps/npm/test/packages/npm-test-blerg3/package.json
create mode 100644 deps/npm/test/packages/npm-test-blerg3/test.js
diff --git a/deps/npm/Makefile b/deps/npm/Makefile
index 96e3f37c0a..9c38f97675 100644
--- a/deps/npm/Makefile
+++ b/deps/npm/Makefile
@@ -113,13 +113,21 @@ publish: link doc
docpublish: doc-publish
doc-publish: doc
- rsync -vazu --stats --no-implied-dirs --delete html/doc/ npmjs.org:/var/www/npmjs.org/public/doc
- rsync -vazu --stats --no-implied-dirs --delete html/api/ npmjs.org:/var/www/npmjs.org/public/api
- rsync -vazu --stats --no-implied-dirs --delete html/webfonts/ npmjs.org:/var/www/npmjs.org/public/webfonts
- scp html/style.css npmjs.org:/var/www/npmjs.org/public/
+ rsync -vazu --stats --no-implied-dirs --delete \
+ html/doc/ \
+ node@npmjs.org:/home/node/npm-www/doc
+ rsync -vazu --stats --no-implied-dirs --delete \
+ html/api/ \
+ node@npmjs.org:/home/node/npm-www/api
+ rsync -vazu --stats --no-implied-dirs --delete \
+ html/webfonts/ \
+ node@npmjs.org:/home/node/npm-www/static/webfonts
+ rsync -vazu --stats --no-implied-dirs --delete \
+ html/style.css \
+ node@npmjs.org:/home/node/npm-www/static/
zip-publish: release
- scp release/* npmjs.org:/var/www/npmjs.org/public/dist/
+ scp release/* izs.me:/var/www/izs.me/static/public/npm/
release:
@bash scripts/release.sh
diff --git a/deps/npm/doc/cli/npm.md b/deps/npm/doc/cli/npm.md
index cd3360d7c5..a325fdf2e8 100644
--- a/deps/npm/doc/cli/npm.md
+++ b/deps/npm/doc/cli/npm.md
@@ -64,7 +64,7 @@ following help topics:
Especially, installing other peoples code from the registry is done via
`npm install`
* adduser:
- Create an account or log in. Creditials are stored in the
+ Create an account or log in. Credentials are stored in the
user config file.
* publish:
Use the `npm publish` command to upload your code to the registry.
diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html
index 7a76479d66..95d225ad71 100644
--- a/deps/npm/html/api/bin.html
+++ b/deps/npm/html/api/bin.html
@@ -2,7 +2,7 @@
This function should not be used programmatically. Instead, just refer
to the npm.bin
member.