From bcb0cc0b184c61313541002e504948ed21f59dad Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 12 Mar 2012 21:10:40 -0700 Subject: [PATCH] Upgrade npm to 1.1.6 * Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn) * Don't use existing pkg if explicit * Install missing deps, even if they are in bundleDependencies * bundle node-gyp * Automatically node-gyp build stuff with a bindings.gyp * Fix #2230 Unpack in place. No folder renaming malarky * Never create un-listable directories * Fix cases where an optionalDependency fails to build * Always ignore .wafpickle-7 files * fix shrinkwrap test * Fix: bundleDependencies being re-installed unnecessarily --- deps/npm/AUTHORS | 1 + deps/npm/LICENSE | 18 +- deps/npm/bin/node-gyp-bin/node-gyp | 2 + deps/npm/bin/node-gyp-bin/node-gyp.cmd | 1 + deps/npm/bin/npm | 0 deps/npm/bin/npm-cli.js | 0 deps/npm/bin/npm-get-uid-gid.js | 0 deps/npm/bin/read-package-json.js | 0 deps/npm/cli.js | 0 deps/npm/configure | 0 deps/npm/doc/cli/json.md | 32 +- deps/npm/html/api/GubbleBum-Blocky.ttf | Bin deps/npm/html/api/bin.html | 2 +- deps/npm/html/api/bugs.html | 2 +- deps/npm/html/api/commands.html | 2 +- deps/npm/html/api/config.html | 2 +- deps/npm/html/api/deprecate.html | 2 +- deps/npm/html/api/docs.html | 2 +- deps/npm/html/api/edit.html | 2 +- deps/npm/html/api/explore.html | 2 +- deps/npm/html/api/help-search.html | 2 +- deps/npm/html/api/init.html | 2 +- deps/npm/html/api/install.html | 2 +- deps/npm/html/api/link.html | 2 +- deps/npm/html/api/load.html | 2 +- deps/npm/html/api/ls.html | 2 +- deps/npm/html/api/npm.html | 4 +- deps/npm/html/api/outdated.html | 2 +- deps/npm/html/api/owner.html | 2 +- deps/npm/html/api/pack.html | 2 +- deps/npm/html/api/prefix.html | 2 +- deps/npm/html/api/prune.html | 2 +- deps/npm/html/api/publish.html | 2 +- deps/npm/html/api/rebuild.html | 2 +- deps/npm/html/api/restart.html | 2 +- deps/npm/html/api/root.html | 2 +- deps/npm/html/api/run-script.html | 2 +- deps/npm/html/api/search.html | 2 +- deps/npm/html/api/shrinkwrap.html | 2 +- deps/npm/html/api/start.html | 2 +- deps/npm/html/api/stop.html | 2 +- deps/npm/html/api/submodule.html | 2 +- deps/npm/html/api/tag.html | 2 +- deps/npm/html/api/test.html | 2 +- deps/npm/html/api/uninstall.html | 2 +- deps/npm/html/api/unpublish.html | 2 +- deps/npm/html/api/update.html | 2 +- deps/npm/html/api/version.html | 2 +- deps/npm/html/api/view.html | 2 +- deps/npm/html/api/whoami.html | 2 +- deps/npm/html/doc/GubbleBum-Blocky.ttf | Bin deps/npm/html/doc/README.html | 2 +- deps/npm/html/doc/adduser.html | 2 +- deps/npm/html/doc/bin.html | 2 +- deps/npm/html/doc/bugs.html | 2 +- deps/npm/html/doc/build.html | 2 +- deps/npm/html/doc/bundle.html | 2 +- deps/npm/html/doc/cache.html | 2 +- deps/npm/html/doc/changelog.html | 2 +- deps/npm/html/doc/coding-style.html | 2 +- deps/npm/html/doc/completion.html | 2 +- deps/npm/html/doc/config.html | 2 +- deps/npm/html/doc/deprecate.html | 2 +- deps/npm/html/doc/developers.html | 2 +- deps/npm/html/doc/disputes.html | 2 +- deps/npm/html/doc/docs.html | 2 +- deps/npm/html/doc/edit.html | 2 +- deps/npm/html/doc/explore.html | 2 +- deps/npm/html/doc/faq.html | 2 +- deps/npm/html/doc/folders.html | 2 +- deps/npm/html/doc/help-search.html | 2 +- deps/npm/html/doc/help.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/init.html | 2 +- deps/npm/html/doc/install.html | 2 +- deps/npm/html/doc/json.html | 32 +- deps/npm/html/doc/link.html | 2 +- deps/npm/html/doc/list.html | 2 +- deps/npm/html/doc/npm.html | 4 +- deps/npm/html/doc/outdated.html | 2 +- deps/npm/html/doc/owner.html | 2 +- deps/npm/html/doc/pack.html | 2 +- deps/npm/html/doc/prefix.html | 2 +- deps/npm/html/doc/prune.html | 2 +- deps/npm/html/doc/publish.html | 2 +- deps/npm/html/doc/rebuild.html | 2 +- deps/npm/html/doc/registry.html | 2 +- deps/npm/html/doc/removing-npm.html | 2 +- deps/npm/html/doc/restart.html | 2 +- deps/npm/html/doc/root.html | 2 +- deps/npm/html/doc/run-script.html | 2 +- deps/npm/html/doc/scripts.html | 2 +- deps/npm/html/doc/search.html | 2 +- deps/npm/html/doc/semver.html | 2 +- deps/npm/html/doc/shrinkwrap.html | 2 +- deps/npm/html/doc/star.html | 2 +- deps/npm/html/doc/start.html | 2 +- deps/npm/html/doc/stop.html | 2 +- deps/npm/html/doc/submodule.html | 2 +- deps/npm/html/doc/tag.html | 2 +- deps/npm/html/doc/test.html | 2 +- deps/npm/html/doc/uninstall.html | 2 +- deps/npm/html/doc/unpublish.html | 2 +- deps/npm/html/doc/update.html | 2 +- deps/npm/html/doc/version.html | 2 +- deps/npm/html/doc/view.html | 2 +- deps/npm/html/doc/whoami.html | 2 +- deps/npm/lib/cache.js | 2 +- deps/npm/lib/install.js | 113 +- deps/npm/lib/npm.js | 3 +- deps/npm/lib/utils/completion.sh | 0 deps/npm/lib/utils/error-handler.js | 11 + deps/npm/lib/utils/get.js | 6 - deps/npm/lib/utils/lifecycle.js | 5 + deps/npm/lib/utils/read-json.js | 66 +- deps/npm/lib/utils/set.js | 25 - deps/npm/lib/utils/tar.js | 178 +- deps/npm/man/man1/json.1 | 61 + deps/npm/man/man1/npm.1 | 2 +- deps/npm/man/man3/npm.3 | 2 +- deps/npm/node_modules/fstream/lib/dir-writer.js | 1 + deps/npm/node_modules/fstream/package.json | 21 +- deps/npm/node_modules/node-gyp/.npmignore | 1 + deps/npm/node_modules/node-gyp/README.md | 145 + deps/npm/node_modules/node-gyp/bin/node-gyp.js | 126 + deps/npm/node_modules/node-gyp/legacy/common.gypi | 191 ++ .../node_modules/node-gyp/legacy/tools/addon.gypi | 24 + .../node-gyp/legacy/tools/gyp/.npmignore | 1 + .../node_modules/node-gyp/legacy/tools/gyp/AUTHORS | 6 + .../node_modules/node-gyp/legacy/tools/gyp/DEPS | 22 + .../node_modules/node-gyp/legacy/tools/gyp/LICENSE | 27 + .../node-gyp/legacy/tools/gyp/MANIFEST | 21 + .../node_modules/node-gyp/legacy/tools/gyp/OWNERS | 1 + .../node-gyp/legacy/tools/gyp/PRESUBMIT.py | 51 + .../legacy/tools/gyp/buildbot/buildbot_run.py | 97 + .../node-gyp/legacy/tools/gyp/codereview.settings | 10 + .../npm/node_modules/node-gyp/legacy/tools/gyp/gyp | 18 + .../node_modules/node-gyp/legacy/tools/gyp/gyp.bat | 5 + .../node-gyp/legacy/tools/gyp/gyp_dummy.c | 7 + .../node-gyp/legacy/tools/gyp/gyptest.py | 256 ++ .../node-gyp/legacy/tools/gyp/pylib/gyp/MSVSNew.py | 338 +++ .../legacy/tools/gyp/pylib/gyp/MSVSProject.py | 208 ++ .../legacy/tools/gyp/pylib/gyp/MSVSSettings.py | 1032 +++++++ .../tools/gyp/pylib/gyp/MSVSSettings_test.py | 1481 ++++++++++ .../legacy/tools/gyp/pylib/gyp/MSVSToolFile.py | 58 + .../legacy/tools/gyp/pylib/gyp/MSVSUserFile.py | 146 + .../legacy/tools/gyp/pylib/gyp/MSVSVersion.py | 264 ++ .../node-gyp/legacy/tools/gyp/pylib/gyp/SCons.py | 199 ++ .../legacy/tools/gyp/pylib/gyp/__init__.py | 487 ++++ .../node-gyp/legacy/tools/gyp/pylib/gyp/common.py | 402 +++ .../legacy/tools/gyp/pylib/gyp/easy_xml.py | 148 + .../legacy/tools/gyp/pylib/gyp/easy_xml_test.py | 102 + .../tools/gyp/pylib/gyp/generator/__init__.py | 0 .../pylib/gyp/generator/dump_dependency_json.py | 64 + .../legacy/tools/gyp/pylib/gyp/generator/gypd.py | 87 + .../legacy/tools/gyp/pylib/gyp/generator/gypsh.py | 56 + .../legacy/tools/gyp/pylib/gyp/generator/make.py | 2149 ++++++++++++++ .../legacy/tools/gyp/pylib/gyp/generator/msvs.py | 2935 ++++++++++++++++++++ .../tools/gyp/pylib/gyp/generator/msvs_test.py | 35 + .../legacy/tools/gyp/pylib/gyp/generator/ninja.py | 1256 +++++++++ .../tools/gyp/pylib/gyp/generator/ninja_test.py | 42 + .../legacy/tools/gyp/pylib/gyp/generator/scons.py | 1044 +++++++ .../legacy/tools/gyp/pylib/gyp/generator/xcode.py | 1205 ++++++++ .../node-gyp/legacy/tools/gyp/pylib/gyp/input.py | 2382 ++++++++++++++++ .../legacy/tools/gyp/pylib/gyp/mac_tool.py | 204 ++ .../legacy/tools/gyp/pylib/gyp/ninja_syntax.py | 145 + .../legacy/tools/gyp/pylib/gyp/sun_tool.py | 51 + .../legacy/tools/gyp/pylib/gyp/system_test.py | 68 + .../legacy/tools/gyp/pylib/gyp/xcode_emulation.py | 972 +++++++ .../legacy/tools/gyp/pylib/gyp/xcodeproj_file.py | 2838 +++++++++++++++++++ .../node-gyp/legacy/tools/gyp/pylib/gyp/xml_fix.py | 69 + .../node-gyp/legacy/tools/gyp/pylintrc | 307 ++ .../node-gyp/legacy/tools/gyp/samples/samples | 81 + .../node-gyp/legacy/tools/gyp/samples/samples.bat | 5 + .../node-gyp/legacy/tools/gyp/setup.py | 26 + .../node-gyp/legacy/tools/gyp/tools/README | 15 + .../node-gyp/legacy/tools/gyp/tools/Xcode/README | 5 + .../gyp/tools/Xcode/Specifications/gyp.pbfilespec | 27 + .../gyp/tools/Xcode/Specifications/gyp.xclangspec | 226 ++ .../node-gyp/legacy/tools/gyp/tools/graphviz.py | 100 + .../node-gyp/legacy/tools/gyp/tools/pretty_gyp.py | 154 + .../node-gyp/legacy/tools/gyp/tools/pretty_sln.py | 168 ++ .../legacy/tools/gyp/tools/pretty_vcproj.py | 330 +++ .../node_modules/node-gyp/legacy/tools/gyp_addon | 42 + deps/npm/node_modules/node-gyp/lib/build.js | 169 ++ deps/npm/node_modules/node-gyp/lib/clean.js | 42 + deps/npm/node_modules/node-gyp/lib/configure.js | 136 + deps/npm/node_modules/node-gyp/lib/install.js | 316 +++ deps/npm/node_modules/node-gyp/lib/list.js | 34 + deps/npm/node_modules/node-gyp/lib/node-gyp.js | 139 + deps/npm/node_modules/node-gyp/lib/rebuild.js | 20 + deps/npm/node_modules/node-gyp/lib/remove.js | 57 + .../node_modules/node-gyp/lib/util/asyncEmit.js | 61 + deps/npm/node_modules/node-gyp/lib/util/hook.js | 48 + deps/npm/node_modules/node-gyp/lib/util/mkdirp.js | 29 + .../node-gyp/node_modules/ansi/.npmignore | 1 + .../node-gyp/node_modules/ansi/README.md | 89 + .../node-gyp/node_modules/ansi/lib/ansi.js | 291 ++ .../node-gyp/node_modules/ansi/nodejs.png | Bin 0 -> 30997 bytes .../node-gyp/node_modules/ansi/package.json | 48 + .../node-gyp/node_modules/ansi/server.js | 51 + .../node-gyp/node_modules/glob/.npmignore | 2 + .../node-gyp/node_modules/glob/.travis.yml | 4 + .../node-gyp/node_modules/glob/README.md | 233 ++ .../node-gyp/node_modules/glob/glob.js | 542 ++++ .../glob/node_modules/minimatch/.travis.yml | 4 + .../glob/node_modules/minimatch/LICENSE | 23 + .../glob/node_modules/minimatch/README.md | 212 ++ .../glob/node_modules/minimatch/minimatch.js | 980 +++++++ .../glob/node_modules/minimatch/package.json | 44 + .../node-gyp/node_modules/glob/package.json | 42 + deps/npm/node_modules/node-gyp/package.json | 57 + deps/npm/node_modules/node-gyp/updateLegacy.sh | 9 + deps/npm/node_modules/nopt/bin/nopt.js | 0 deps/npm/node_modules/semver/bin/semver | 0 deps/npm/node_modules/tar/lib/extract.js | 14 + deps/npm/node_modules/tar/package.json | 24 +- deps/npm/node_modules/which/bin/which | 0 deps/npm/package.json | 10 +- deps/npm/scripts/clean-old.sh | 0 deps/npm/scripts/doc-build.sh | 0 deps/npm/scripts/index-build.js | 0 deps/npm/scripts/install.sh | 0 .../npm-test-bundled-git/minimatch-expected.json | 29 + .../packages/npm-test-bundled-git/package.json | 5 + .../npm/test/packages/npm-test-bundled-git/test.js | 4 + .../test/packages/npm-test-env-reader/package.json | 18 +- deps/npm/test/packages/npm-test-env-reader/test.js | 9 + deps/npm/test/packages/npm-test-env-reader/test.sh | 3 - .../packages/npm-test-optional-deps/package.json | 4 +- .../test/packages/npm-test-optional-deps/test.js | 9 + .../npm-test-shrinkwrap/npm-shrinkwrap.json | 6 +- .../test/packages/npm-test-shrinkwrap/package.json | 2 +- deps/npm/test/update-test.sh | 0 234 files changed, 27247 insertions(+), 307 deletions(-) create mode 100644 deps/npm/bin/node-gyp-bin/node-gyp create mode 100644 deps/npm/bin/node-gyp-bin/node-gyp.cmd mode change 100755 => 100644 deps/npm/bin/npm mode change 100755 => 100644 deps/npm/bin/npm-cli.js mode change 100755 => 100644 deps/npm/bin/npm-get-uid-gid.js mode change 100755 => 100644 deps/npm/bin/read-package-json.js mode change 100755 => 100644 deps/npm/cli.js mode change 100755 => 100644 deps/npm/configure mode change 100755 => 100644 deps/npm/html/api/GubbleBum-Blocky.ttf mode change 100755 => 100644 deps/npm/html/doc/GubbleBum-Blocky.ttf mode change 100755 => 100644 deps/npm/lib/utils/completion.sh delete mode 100644 deps/npm/lib/utils/get.js delete mode 100644 deps/npm/lib/utils/set.js create mode 100644 deps/npm/node_modules/node-gyp/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/README.md create mode 100644 deps/npm/node_modules/node-gyp/bin/node-gyp.js create mode 100644 deps/npm/node_modules/node-gyp/legacy/common.gypi create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/addon.gypi create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/AUTHORS create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/DEPS create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/MANIFEST create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/OWNERS create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/PRESUBMIT.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/buildbot/buildbot_run.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/codereview.settings create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/gyp create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/gyp.bat create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/gyp_dummy.c create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/gyptest.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSNew.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSProject.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSSettings.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSSettings_test.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSToolFile.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSUserFile.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/MSVSVersion.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/SCons.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/__init__.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/common.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/easy_xml.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/easy_xml_test.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/__init__.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/dump_dependency_json.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/gypd.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/gypsh.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/make.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/msvs.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/msvs_test.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/ninja.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/ninja_test.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/scons.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/xcode.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/input.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/mac_tool.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/ninja_syntax.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/sun_tool.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/system_test.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/xcode_emulation.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/xcodeproj_file.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/xml_fix.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylintrc create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/samples/samples create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/samples/samples.bat create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/setup.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/README create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/Xcode/README create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/Xcode/Specifications/gyp.pbfilespec create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/Xcode/Specifications/gyp.xclangspec create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/graphviz.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/pretty_gyp.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/pretty_sln.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp/tools/pretty_vcproj.py create mode 100644 deps/npm/node_modules/node-gyp/legacy/tools/gyp_addon create mode 100644 deps/npm/node_modules/node-gyp/lib/build.js create mode 100644 deps/npm/node_modules/node-gyp/lib/clean.js create mode 100644 deps/npm/node_modules/node-gyp/lib/configure.js create mode 100644 deps/npm/node_modules/node-gyp/lib/install.js create mode 100644 deps/npm/node_modules/node-gyp/lib/list.js create mode 100644 deps/npm/node_modules/node-gyp/lib/node-gyp.js create mode 100644 deps/npm/node_modules/node-gyp/lib/rebuild.js create mode 100644 deps/npm/node_modules/node-gyp/lib/remove.js create mode 100644 deps/npm/node_modules/node-gyp/lib/util/asyncEmit.js create mode 100644 deps/npm/node_modules/node-gyp/lib/util/hook.js create mode 100644 deps/npm/node_modules/node-gyp/lib/util/mkdirp.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/lib/ansi.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/nodejs.png create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ansi/server.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/.travis.yml create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/glob.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/.travis.yml create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/minimatch.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/package.json create mode 100644 deps/npm/node_modules/node-gyp/package.json create mode 100644 deps/npm/node_modules/node-gyp/updateLegacy.sh mode change 100755 => 100644 deps/npm/node_modules/nopt/bin/nopt.js mode change 100755 => 100644 deps/npm/node_modules/semver/bin/semver mode change 100755 => 100644 deps/npm/node_modules/which/bin/which mode change 100755 => 100644 deps/npm/scripts/clean-old.sh mode change 100755 => 100644 deps/npm/scripts/doc-build.sh mode change 100755 => 100644 deps/npm/scripts/index-build.js mode change 100755 => 100644 deps/npm/scripts/install.sh create mode 100644 deps/npm/test/packages/npm-test-bundled-git/minimatch-expected.json create mode 100644 deps/npm/test/packages/npm-test-bundled-git/package.json create mode 100644 deps/npm/test/packages/npm-test-bundled-git/test.js create mode 100644 deps/npm/test/packages/npm-test-env-reader/test.js delete mode 100755 deps/npm/test/packages/npm-test-env-reader/test.sh create mode 100644 deps/npm/test/packages/npm-test-optional-deps/test.js mode change 100755 => 100644 deps/npm/test/update-test.sh diff --git a/deps/npm/AUTHORS b/deps/npm/AUTHORS index 86899d4..9a10b18 100644 --- a/deps/npm/AUTHORS +++ b/deps/npm/AUTHORS @@ -59,3 +59,4 @@ Rod Vagg Christian Howe Andrew Lunny Henrik Hodne +Adam Blackburn diff --git a/deps/npm/LICENSE b/deps/npm/LICENSE index 71ca385..c944259 100644 --- a/deps/npm/LICENSE +++ b/deps/npm/LICENSE @@ -1,4 +1,4 @@ -Copyright 2009, 2010, 2011 Isaac Z. Schlueter (the "Author") +Copyright 2009-2012, Isaac Z. Schlueter (the "Original Author") All rights reserved. MIT +no-false-attribs License @@ -20,9 +20,9 @@ by the recipients as they would use the unmodified Software, containing modifications that substantially alter, remove, or disable functionality of the Software, outside of the documented configuration mechanisms provided by the Software, shall be -modified such that the Author's bug reporting email addresses and -urls are either replaced with the contact information of the -parties responsible for the changes, or removed entirely. +modified such that the Original Author's bug reporting email +addresses and urls are either replaced with the contact information +of the parties responsible for the changes, or removed entirely. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES @@ -36,7 +36,7 @@ OTHER DEALINGS IN THE SOFTWARE. Except where noted, this license applies to any and all software programs and associated documentation files created by the -Author, when distributed with the Software. +Original Author, when distributed with the Software. "Node.js" and "node" trademark Joyent, Inc. npm is not officially part of the Node.js project, and is neither owned by nor @@ -49,13 +49,11 @@ and are not covered by this license. "npm Logo" created by Mathias Pettersson and Brian Hammond, used with permission. -This program includes a BSDTar/LibArchive version 2.8.3-1 binary, -originally distributed as part of the MinGW suite, compiled for -Win32, according to the terms of the BSD license. -See deps/basic-bsdtar-2.8.3-1-ming32-bin/basic-bsdtar.LICENSE. - This program uses "node-uuid", Copyright (c) 2010 Robert Kieffer, according to the terms of the MIT license. This program uses "request", Copyright (c) 2011 Mikeal Rogers, according to the terms of the Apache license. + +This program uses "mkdirp", Copyright (c) 2010 James Halliday, +according to the terms of the MIT/X11 license. diff --git a/deps/npm/bin/node-gyp-bin/node-gyp b/deps/npm/bin/node-gyp-bin/node-gyp new file mode 100644 index 0000000..345f07a --- /dev/null +++ b/deps/npm/bin/node-gyp-bin/node-gyp @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" diff --git a/deps/npm/bin/node-gyp-bin/node-gyp.cmd b/deps/npm/bin/node-gyp-bin/node-gyp.cmd new file mode 100644 index 0000000..c2563ea --- /dev/null +++ b/deps/npm/bin/node-gyp-bin/node-gyp.cmd @@ -0,0 +1 @@ +node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* diff --git a/deps/npm/bin/npm b/deps/npm/bin/npm old mode 100755 new mode 100644 diff --git a/deps/npm/bin/npm-cli.js b/deps/npm/bin/npm-cli.js old mode 100755 new mode 100644 diff --git a/deps/npm/bin/npm-get-uid-gid.js b/deps/npm/bin/npm-get-uid-gid.js old mode 100755 new mode 100644 diff --git a/deps/npm/bin/read-package-json.js b/deps/npm/bin/read-package-json.js old mode 100755 new mode 100644 diff --git a/deps/npm/cli.js b/deps/npm/cli.js old mode 100755 new mode 100644 diff --git a/deps/npm/configure b/deps/npm/configure old mode 100755 new mode 100644 diff --git a/deps/npm/doc/cli/json.md b/deps/npm/doc/cli/json.md index 0ded878..16b2ad9 100644 --- a/deps/npm/doc/cli/json.md +++ b/deps/npm/doc/cli/json.md @@ -428,7 +428,7 @@ node that your stuff works on: { "engines" : { "node" : ">=0.1.27 <0.1.30" } } And, like with dependencies, if you don't specify the version (or if you -specify "*" as the version), then any version of node will do. +specify "\*" as the version), then any version of node will do. If you specify an "engines" field, then npm will require that "node" be somewhere on that list. If "engines" is omitted, then npm will just assume @@ -439,6 +439,36 @@ are capable of properly installing your program. For example: { "engines" : { "npm" : "~1.0.20" } } +## os + +You can specify which operating systems your +module will run on: + + "os" : [ "darwin", "linux" ] + +You can also blacklist instead of whitelist operating systems, +just prepend the blacklisted os with a '!': + + "os" : [ "!win32" ] + +The host operating system is determined by `process.platform` + +It is allowed to both blacklist, and whitelist, although there isn't any +good reason to do this. + +## cpu + +If your code only runs on certain cpu architectures, +you can specify which ones. + + "cpu" : [ "x64", "ia32" ] + +Like the `os` option, you can also blacklist architectures: + + "cpu" : [ "!arm", "!mips" ] + +The host architecture is determined by `process.arch` + ## preferGlobal If your package is primarily a command-line application that should be diff --git a/deps/npm/html/api/GubbleBum-Blocky.ttf b/deps/npm/html/api/GubbleBum-Blocky.ttf old mode 100755 new mode 100644 diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index e805697..7a35f53 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -19,7 +19,7 @@

This function should not be used programmatically. Instead, just refer to the npm.bin member.

- +