embeditor-rails 2.0.0.beta → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/embeditor-rails/version.rb +1 -1
- metadata +51 -1056
- data/lib/node_modules/npm/AUTHORS +0 -158
- data/lib/node_modules/npm/CONTRIBUTING.md +0 -9
- data/lib/node_modules/npm/LICENSE +0 -235
- data/lib/node_modules/npm/Makefile +0 -216
- data/lib/node_modules/npm/README.md +0 -241
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -2
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -1
- data/lib/node_modules/npm/bin/npm +0 -13
- data/lib/node_modules/npm/bin/npm-cli.js +0 -87
- data/lib/node_modules/npm/bin/npm.cmd +0 -6
- data/lib/node_modules/npm/bin/read-package-json.js +0 -22
- data/lib/node_modules/npm/cli.js +0 -2
- data/lib/node_modules/npm/configure +0 -33
- data/lib/node_modules/npm/doc/api/npm-bin.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-bugs.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-commands.md +0 -22
- data/lib/node_modules/npm/doc/api/npm-config.md +0 -45
- data/lib/node_modules/npm/doc/api/npm-deprecate.md +0 -34
- data/lib/node_modules/npm/doc/api/npm-docs.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-edit.md +0 -24
- data/lib/node_modules/npm/doc/api/npm-explore.md +0 -18
- data/lib/node_modules/npm/doc/api/npm-help-search.md +0 -30
- data/lib/node_modules/npm/doc/api/npm-init.md +0 -29
- data/lib/node_modules/npm/doc/api/npm-install.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-link.md +0 -33
- data/lib/node_modules/npm/doc/api/npm-load.md +0 -26
- data/lib/node_modules/npm/doc/api/npm-ls.md +0 -56
- data/lib/node_modules/npm/doc/api/npm-outdated.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-owner.md +0 -31
- data/lib/node_modules/npm/doc/api/npm-pack.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-prefix.md +0 -15
- data/lib/node_modules/npm/doc/api/npm-prune.md +0 -17
- data/lib/node_modules/npm/doc/api/npm-publish.md +0 -30
- data/lib/node_modules/npm/doc/api/npm-rebuild.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-repo.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-restart.md +0 -22
- data/lib/node_modules/npm/doc/api/npm-root.md +0 -15
- data/lib/node_modules/npm/doc/api/npm-run-script.md +0 -27
- data/lib/node_modules/npm/doc/api/npm-search.md +0 -35
- data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +0 -20
- data/lib/node_modules/npm/doc/api/npm-start.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-stop.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-submodule.md +0 -28
- data/lib/node_modules/npm/doc/api/npm-tag.md +0 -23
- data/lib/node_modules/npm/doc/api/npm-test.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-uninstall.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-unpublish.md +0 -20
- data/lib/node_modules/npm/doc/api/npm-update.md +0 -11
- data/lib/node_modules/npm/doc/api/npm-version.md +0 -18
- data/lib/node_modules/npm/doc/api/npm-view.md +0 -93
- data/lib/node_modules/npm/doc/api/npm-whoami.md +0 -15
- data/lib/node_modules/npm/doc/api/npm.md +0 -116
- data/lib/node_modules/npm/doc/cli/npm-adduser.md +0 -38
- data/lib/node_modules/npm/doc/cli/npm-bin.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-bugs.md +0 -42
- data/lib/node_modules/npm/doc/cli/npm-build.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-bundle.md +0 -14
- data/lib/node_modules/npm/doc/cli/npm-cache.md +0 -72
- data/lib/node_modules/npm/doc/cli/npm-completion.md +0 -29
- data/lib/node_modules/npm/doc/cli/npm-config.md +0 -71
- data/lib/node_modules/npm/doc/cli/npm-dedupe.md +0 -58
- data/lib/node_modules/npm/doc/cli/npm-deprecate.md +0 -26
- data/lib/node_modules/npm/doc/cli/npm-docs.md +0 -44
- data/lib/node_modules/npm/doc/cli/npm-edit.md +0 -37
- data/lib/node_modules/npm/doc/cli/npm-explore.md +0 -40
- data/lib/node_modules/npm/doc/cli/npm-help-search.md +0 -35
- data/lib/node_modules/npm/doc/cli/npm-help.md +0 -40
- data/lib/node_modules/npm/doc/cli/npm-init.md +0 -25
- data/lib/node_modules/npm/doc/cli/npm-install.md +0 -252
- data/lib/node_modules/npm/doc/cli/npm-link.md +0 -63
- data/lib/node_modules/npm/doc/cli/npm-ls.md +0 -80
- data/lib/node_modules/npm/doc/cli/npm-outdated.md +0 -58
- data/lib/node_modules/npm/doc/cli/npm-owner.md +0 -33
- data/lib/node_modules/npm/doc/cli/npm-pack.md +0 -27
- data/lib/node_modules/npm/doc/cli/npm-prefix.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-prune.md +0 -25
- data/lib/node_modules/npm/doc/cli/npm-publish.md +0 -30
- data/lib/node_modules/npm/doc/cli/npm-rebuild.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-repo.md +0 -28
- data/lib/node_modules/npm/doc/cli/npm-restart.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-rm.md +0 -23
- data/lib/node_modules/npm/doc/cli/npm-root.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-run-script.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-search.md +0 -36
- data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +0 -185
- data/lib/node_modules/npm/doc/cli/npm-star.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-stars.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-start.md +0 -18
- data/lib/node_modules/npm/doc/cli/npm-stop.md +0 -18
- data/lib/node_modules/npm/doc/cli/npm-submodule.md +0 -28
- data/lib/node_modules/npm/doc/cli/npm-tag.md +0 -34
- data/lib/node_modules/npm/doc/cli/npm-test.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-uninstall.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-unpublish.md +0 -32
- data/lib/node_modules/npm/doc/cli/npm-update.md +0 -24
- data/lib/node_modules/npm/doc/cli/npm-version.md +0 -45
- data/lib/node_modules/npm/doc/cli/npm-view.md +0 -90
- data/lib/node_modules/npm/doc/cli/npm-whoami.md +0 -17
- data/lib/node_modules/npm/doc/cli/npm.md +0 -153
- data/lib/node_modules/npm/doc/files/npm-folders.md +0 -211
- data/lib/node_modules/npm/doc/files/npmrc.md +0 -59
- data/lib/node_modules/npm/doc/files/package.json.md +0 -576
- data/lib/node_modules/npm/doc/misc/npm-coding-style.md +0 -181
- data/lib/node_modules/npm/doc/misc/npm-config.md +0 -820
- data/lib/node_modules/npm/doc/misc/npm-developers.md +0 -207
- data/lib/node_modules/npm/doc/misc/npm-disputes.md +0 -99
- data/lib/node_modules/npm/doc/misc/npm-faq.md +0 -364
- data/lib/node_modules/npm/doc/misc/npm-index.md +0 -411
- data/lib/node_modules/npm/doc/misc/npm-registry.md +0 -69
- data/lib/node_modules/npm/doc/misc/npm-scripts.md +0 -245
- data/lib/node_modules/npm/doc/misc/removing-npm.md +0 -54
- data/lib/node_modules/npm/doc/misc/semver.md +0 -111
- data/lib/node_modules/npm/html/doc/README.html +0 -276
- data/lib/node_modules/npm/html/doc/api/npm-bin.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-bugs.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-commands.html +0 -62
- data/lib/node_modules/npm/html/doc/api/npm-config.html +0 -67
- data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-docs.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-edit.html +0 -64
- data/lib/node_modules/npm/html/doc/api/npm-explore.html +0 -58
- data/lib/node_modules/npm/html/doc/api/npm-help-search.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-init.html +0 -69
- data/lib/node_modules/npm/html/doc/api/npm-install.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-link.html +0 -73
- data/lib/node_modules/npm/html/doc/api/npm-load.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-ls.html +0 -93
- data/lib/node_modules/npm/html/doc/api/npm-outdated.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-owner.html +0 -68
- data/lib/node_modules/npm/html/doc/api/npm-pack.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-prefix.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm-prune.html +0 -57
- data/lib/node_modules/npm/html/doc/api/npm-publish.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-repo.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-restart.html +0 -61
- data/lib/node_modules/npm/html/doc/api/npm-root.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm-run-script.html +0 -63
- data/lib/node_modules/npm/html/doc/api/npm-search.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +0 -60
- data/lib/node_modules/npm/html/doc/api/npm-start.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-stop.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-submodule.html +0 -67
- data/lib/node_modules/npm/html/doc/api/npm-tag.html +0 -63
- data/lib/node_modules/npm/html/doc/api/npm-test.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +0 -60
- data/lib/node_modules/npm/html/doc/api/npm-update.html +0 -52
- data/lib/node_modules/npm/html/doc/api/npm-version.html +0 -58
- data/lib/node_modules/npm/html/doc/api/npm-view.html +0 -133
- data/lib/node_modules/npm/html/doc/api/npm-whoami.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm.html +0 -126
- data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +0 -73
- data/lib/node_modules/npm/html/doc/cli/npm-bin.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +0 -72
- data/lib/node_modules/npm/html/doc/cli/npm-build.html +0 -59
- data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-cache.html +0 -100
- data/lib/node_modules/npm/html/doc/cli/npm-completion.html +0 -67
- data/lib/node_modules/npm/html/doc/cli/npm-config.html +0 -107
- data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +0 -96
- data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +0 -65
- data/lib/node_modules/npm/html/doc/cli/npm-docs.html +0 -75
- data/lib/node_modules/npm/html/doc/cli/npm-edit.html +0 -71
- data/lib/node_modules/npm/html/doc/cli/npm-explore.html +0 -74
- data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +0 -72
- data/lib/node_modules/npm/html/doc/cli/npm-help.html +0 -70
- data/lib/node_modules/npm/html/doc/cli/npm-init.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-install.html +0 -183
- data/lib/node_modules/npm/html/doc/cli/npm-link.html +0 -96
- data/lib/node_modules/npm/html/doc/cli/npm-ls.html +0 -108
- data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +0 -92
- data/lib/node_modules/npm/html/doc/cli/npm-owner.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-pack.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-prune.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-publish.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-repo.html +0 -66
- data/lib/node_modules/npm/html/doc/cli/npm-restart.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-rm.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-root.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +0 -57
- data/lib/node_modules/npm/html/doc/cli/npm-search.html +0 -71
- data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +0 -217
- data/lib/node_modules/npm/html/doc/cli/npm-star.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-stars.html +0 -59
- data/lib/node_modules/npm/html/doc/cli/npm-start.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-stop.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +0 -67
- data/lib/node_modules/npm/html/doc/cli/npm-tag.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-test.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +0 -56
- data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-update.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-version.html +0 -83
- data/lib/node_modules/npm/html/doc/cli/npm-view.html +0 -125
- data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm.html +0 -165
- data/lib/node_modules/npm/html/doc/files/npm-folders.html +0 -239
- data/lib/node_modules/npm/html/doc/files/npm-global.html +0 -239
- data/lib/node_modules/npm/html/doc/files/npm-json.html +0 -580
- data/lib/node_modules/npm/html/doc/files/npmrc.html +0 -93
- data/lib/node_modules/npm/html/doc/files/package.json.html +0 -580
- data/lib/node_modules/npm/html/doc/index.html +0 -450
- data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +0 -216
- data/lib/node_modules/npm/html/doc/misc/npm-config.html +0 -744
- data/lib/node_modules/npm/html/doc/misc/npm-developers.html +0 -208
- data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +0 -126
- data/lib/node_modules/npm/html/doc/misc/npm-faq.html +0 -382
- data/lib/node_modules/npm/html/doc/misc/npm-index.html +0 -450
- data/lib/node_modules/npm/html/doc/misc/npm-registry.html +0 -105
- data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +0 -257
- data/lib/node_modules/npm/html/doc/misc/removing-npm.html +0 -92
- data/lib/node_modules/npm/html/doc/misc/semver.html +0 -128
- data/lib/node_modules/npm/html/docfoot-script.html +0 -31
- data/lib/node_modules/npm/html/docfoot.html +0 -2
- data/lib/node_modules/npm/html/dochead.html +0 -8
- data/lib/node_modules/npm/html/favicon.ico +0 -0
- data/lib/node_modules/npm/html/index.html +0 -95
- data/lib/node_modules/npm/html/static/style.css +0 -329
- data/lib/node_modules/npm/lib/adduser.js +0 -138
- data/lib/node_modules/npm/lib/bin.js +0 -18
- data/lib/node_modules/npm/lib/bugs.js +0 -61
- data/lib/node_modules/npm/lib/build.js +0 -228
- data/lib/node_modules/npm/lib/cache.js +0 -1318
- data/lib/node_modules/npm/lib/completion.js +0 -253
- data/lib/node_modules/npm/lib/config.js +0 -285
- data/lib/node_modules/npm/lib/dedupe.js +0 -357
- data/lib/node_modules/npm/lib/deprecate.js +0 -47
- data/lib/node_modules/npm/lib/docs.js +0 -62
- data/lib/node_modules/npm/lib/edit.js +0 -32
- data/lib/node_modules/npm/lib/explore.js +0 -36
- data/lib/node_modules/npm/lib/faq.js +0 -8
- data/lib/node_modules/npm/lib/get.js +0 -12
- data/lib/node_modules/npm/lib/help-search.js +0 -218
- data/lib/node_modules/npm/lib/help.js +0 -231
- data/lib/node_modules/npm/lib/init.js +0 -36
- data/lib/node_modules/npm/lib/install.js +0 -979
- data/lib/node_modules/npm/lib/link.js +0 -173
- data/lib/node_modules/npm/lib/ls.js +0 -357
- data/lib/node_modules/npm/lib/npm.js +0 -528
- data/lib/node_modules/npm/lib/outdated.js +0 -303
- data/lib/node_modules/npm/lib/owner.js +0 -205
- data/lib/node_modules/npm/lib/pack.js +0 -65
- data/lib/node_modules/npm/lib/prefix.js +0 -11
- data/lib/node_modules/npm/lib/prune.js +0 -53
- data/lib/node_modules/npm/lib/publish.js +0 -118
- data/lib/node_modules/npm/lib/rebuild.js +0 -75
- data/lib/node_modules/npm/lib/repo.js +0 -54
- data/lib/node_modules/npm/lib/restart.js +0 -1
- data/lib/node_modules/npm/lib/root.js +0 -11
- data/lib/node_modules/npm/lib/run-script.js +0 -102
- data/lib/node_modules/npm/lib/search.js +0 -265
- data/lib/node_modules/npm/lib/set.js +0 -13
- data/lib/node_modules/npm/lib/shrinkwrap.js +0 -86
- data/lib/node_modules/npm/lib/star.js +0 -33
- data/lib/node_modules/npm/lib/stars.js +0 -27
- data/lib/node_modules/npm/lib/start.js +0 -1
- data/lib/node_modules/npm/lib/stop.js +0 -1
- data/lib/node_modules/npm/lib/submodule.js +0 -119
- data/lib/node_modules/npm/lib/substack.js +0 -20
- data/lib/node_modules/npm/lib/tag.js +0 -18
- data/lib/node_modules/npm/lib/test.js +0 -14
- data/lib/node_modules/npm/lib/unbuild.js +0 -112
- data/lib/node_modules/npm/lib/uninstall.js +0 -127
- data/lib/node_modules/npm/lib/unpublish.js +0 -83
- data/lib/node_modules/npm/lib/update.js +0 -43
- data/lib/node_modules/npm/lib/utils/completion.sh +0 -54
- data/lib/node_modules/npm/lib/utils/completion/file-completion.js +0 -26
- data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +0 -50
- data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +0 -79
- data/lib/node_modules/npm/lib/utils/error-handler.js +0 -343
- data/lib/node_modules/npm/lib/utils/fetch.js +0 -93
- data/lib/node_modules/npm/lib/utils/find-prefix.js +0 -57
- data/lib/node_modules/npm/lib/utils/gently-rm.js +0 -61
- data/lib/node_modules/npm/lib/utils/is-git-url.js +0 -13
- data/lib/node_modules/npm/lib/utils/lifecycle.js +0 -360
- data/lib/node_modules/npm/lib/utils/link.js +0 -39
- data/lib/node_modules/npm/lib/utils/tar.js +0 -323
- data/lib/node_modules/npm/lib/version.js +0 -120
- data/lib/node_modules/npm/lib/view.js +0 -246
- data/lib/node_modules/npm/lib/visnup.js +0 -42
- data/lib/node_modules/npm/lib/whoami.js +0 -13
- data/lib/node_modules/npm/lib/xmas.js +0 -56
- data/lib/node_modules/npm/make.bat +0 -3
- data/lib/node_modules/npm/man/man1/npm-README.1 +0 -328
- data/lib/node_modules/npm/man/man1/npm-adduser.1 +0 -63
- data/lib/node_modules/npm/man/man1/npm-bin.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-bugs.1 +0 -78
- data/lib/node_modules/npm/man/man1/npm-build.1 +0 -43
- data/lib/node_modules/npm/man/man1/npm-bundle.1 +0 -23
- data/lib/node_modules/npm/man/man1/npm-cache.1 +0 -104
- data/lib/node_modules/npm/man/man1/npm-completion.1 +0 -47
- data/lib/node_modules/npm/man/man1/npm-config.1 +0 -113
- data/lib/node_modules/npm/man/man1/npm-dedupe.1 +0 -96
- data/lib/node_modules/npm/man/man1/npm-deprecate.1 +0 -48
- data/lib/node_modules/npm/man/man1/npm-docs.1 +0 -78
- data/lib/node_modules/npm/man/man1/npm-edit.1 +0 -66
- data/lib/node_modules/npm/man/man1/npm-explore.1 +0 -76
- data/lib/node_modules/npm/man/man1/npm-help-search.1 +0 -59
- data/lib/node_modules/npm/man/man1/npm-help.1 +0 -77
- data/lib/node_modules/npm/man/man1/npm-init.1 +0 -43
- data/lib/node_modules/npm/man/man1/npm-install.1 +0 -434
- data/lib/node_modules/npm/man/man1/npm-link.1 +0 -119
- data/lib/node_modules/npm/man/man1/npm-ls.1 +0 -146
- data/lib/node_modules/npm/man/man1/npm-outdated.1 +0 -102
- data/lib/node_modules/npm/man/man1/npm-owner.1 +0 -58
- data/lib/node_modules/npm/man/man1/npm-pack.1 +0 -48
- data/lib/node_modules/npm/man/man1/npm-prefix.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-prune.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-publish.1 +0 -53
- data/lib/node_modules/npm/man/man1/npm-rebuild.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-repo.1 +0 -47
- data/lib/node_modules/npm/man/man1/npm-restart.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-rm.1 +0 -44
- data/lib/node_modules/npm/man/man1/npm-root.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-run-script.1 +0 -41
- data/lib/node_modules/npm/man/man1/npm-search.1 +0 -62
- data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -275
- data/lib/node_modules/npm/man/man1/npm-star.1 +0 -39
- data/lib/node_modules/npm/man/man1/npm-stars.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-start.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-stop.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-submodule.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-tag.1 +0 -74
- data/lib/node_modules/npm/man/man1/npm-test.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-uninstall.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-unpublish.1 +0 -53
- data/lib/node_modules/npm/man/man1/npm-update.1 +0 -45
- data/lib/node_modules/npm/man/man1/npm-version.1 +0 -75
- data/lib/node_modules/npm/man/man1/npm-view.1 +0 -186
- data/lib/node_modules/npm/man/man1/npm-whoami.1 +0 -34
- data/lib/node_modules/npm/man/man1/npm.1 +0 -230
- data/lib/node_modules/npm/man/man3/npm-bin.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-bugs.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-commands.3 +0 -35
- data/lib/node_modules/npm/man/man3/npm-config.3 +0 -69
- data/lib/node_modules/npm/man/man3/npm-deprecate.3 +0 -57
- data/lib/node_modules/npm/man/man3/npm-docs.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-edit.3 +0 -35
- data/lib/node_modules/npm/man/man3/npm-explore.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-help-search.3 +0 -51
- data/lib/node_modules/npm/man/man3/npm-init.3 +0 -39
- data/lib/node_modules/npm/man/man3/npm-install.3 +0 -29
- data/lib/node_modules/npm/man/man3/npm-link.3 +0 -53
- data/lib/node_modules/npm/man/man3/npm-load.3 +0 -44
- data/lib/node_modules/npm/man/man3/npm-ls.3 +0 -86
- data/lib/node_modules/npm/man/man3/npm-outdated.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-owner.3 +0 -52
- data/lib/node_modules/npm/man/man3/npm-pack.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-prefix.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm-prune.3 +0 -27
- data/lib/node_modules/npm/man/man3/npm-publish.3 +0 -51
- data/lib/node_modules/npm/man/man3/npm-rebuild.3 +0 -22
- data/lib/node_modules/npm/man/man3/npm-repo.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-restart.3 +0 -37
- data/lib/node_modules/npm/man/man3/npm-root.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm-run-script.3 +0 -48
- data/lib/node_modules/npm/man/man3/npm-search.3 +0 -64
- data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +0 -30
- data/lib/node_modules/npm/man/man3/npm-start.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-stop.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-submodule.3 +0 -42
- data/lib/node_modules/npm/man/man3/npm-tag.3 +0 -31
- data/lib/node_modules/npm/man/man3/npm-test.3 +0 -25
- data/lib/node_modules/npm/man/man3/npm-uninstall.3 +0 -25
- data/lib/node_modules/npm/man/man3/npm-unpublish.3 +0 -30
- data/lib/node_modules/npm/man/man3/npm-update.3 +0 -18
- data/lib/node_modules/npm/man/man3/npm-version.3 +0 -27
- data/lib/node_modules/npm/man/man3/npm-view.3 +0 -176
- data/lib/node_modules/npm/man/man3/npm-whoami.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm.3 +0 -162
- data/lib/node_modules/npm/man/man5/npm-folders.5 +0 -264
- data/lib/node_modules/npm/man/man5/npm-global.5 +0 -264
- data/lib/node_modules/npm/man/man5/npm-json.5 +0 -807
- data/lib/node_modules/npm/man/man5/npmrc.5 +0 -89
- data/lib/node_modules/npm/man/man5/package.json.5 +0 -807
- data/lib/node_modules/npm/man/man7/npm-coding-style.7 +0 -254
- data/lib/node_modules/npm/man/man7/npm-config.7 +0 -1445
- data/lib/node_modules/npm/man/man7/npm-developers.7 +0 -335
- data/lib/node_modules/npm/man/man7/npm-disputes.7 +0 -146
- data/lib/node_modules/npm/man/man7/npm-faq.7 +0 -479
- data/lib/node_modules/npm/man/man7/npm-index.7 +0 -307
- data/lib/node_modules/npm/man/man7/npm-registry.7 +0 -82
- data/lib/node_modules/npm/man/man7/npm-scripts.7 +0 -354
- data/lib/node_modules/npm/man/man7/removing-npm.7 +0 -107
- data/lib/node_modules/npm/man/man7/semver.7 +0 -172
- data/lib/node_modules/npm/node_modules/abbrev/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/abbrev/README.md +0 -23
- data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +0 -111
- data/lib/node_modules/npm/node_modules/abbrev/package.json +0 -25
- data/lib/node_modules/npm/node_modules/ansi/README.md +0 -91
- data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +0 -67
- data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +0 -16
- data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +0 -15
- data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +0 -32
- data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +0 -87
- data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +0 -46
- data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +0 -405
- data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +0 -71
- data/lib/node_modules/npm/node_modules/ansi/package.json +0 -50
- data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ansicolors/README.md +0 -62
- data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +0 -65
- data/lib/node_modules/npm/node_modules/ansicolors/package.json +0 -34
- data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ansistyles/README.md +0 -71
- data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +0 -38
- data/lib/node_modules/npm/node_modules/ansistyles/package.json +0 -38
- data/lib/node_modules/npm/node_modules/archy/README.markdown +0 -92
- data/lib/node_modules/npm/node_modules/archy/index.js +0 -35
- data/lib/node_modules/npm/node_modules/archy/package.json +0 -52
- data/lib/node_modules/npm/node_modules/block-stream/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/block-stream/README.md +0 -14
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +0 -70
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +0 -68
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +0 -70
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +0 -68
- data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +0 -209
- data/lib/node_modules/npm/node_modules/block-stream/package.json +0 -35
- data/lib/node_modules/npm/node_modules/child-process-close/README.md +0 -45
- data/lib/node_modules/npm/node_modules/child-process-close/index.js +0 -48
- data/lib/node_modules/npm/node_modules/child-process-close/package.json +0 -37
- data/lib/node_modules/npm/node_modules/chmodr/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/chmodr/README.md +0 -3
- data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +0 -54
- data/lib/node_modules/npm/node_modules/chmodr/package.json +0 -28
- data/lib/node_modules/npm/node_modules/chownr/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/chownr/README.md +0 -3
- data/lib/node_modules/npm/node_modules/chownr/chownr.js +0 -41
- data/lib/node_modules/npm/node_modules/chownr/package.json +0 -42
- data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/cmd-shim/README.md +0 -42
- data/lib/node_modules/npm/node_modules/cmd-shim/index.js +0 -180
- data/lib/node_modules/npm/node_modules/cmd-shim/package.json +0 -35
- data/lib/node_modules/npm/node_modules/columnify/Readme.md +0 -189
- data/lib/node_modules/npm/node_modules/columnify/index.js +0 -210
- data/lib/node_modules/npm/node_modules/columnify/package.json +0 -42
- data/lib/node_modules/npm/node_modules/columnify/utils.js +0 -76
- data/lib/node_modules/npm/node_modules/editor/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/editor/README.markdown +0 -54
- data/lib/node_modules/npm/node_modules/editor/example/beep.json +0 -5
- data/lib/node_modules/npm/node_modules/editor/example/edit.js +0 -4
- data/lib/node_modules/npm/node_modules/editor/index.js +0 -26
- data/lib/node_modules/npm/node_modules/editor/package.json +0 -43
- data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/README.md +0 -18
- data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +0 -13
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +0 -19
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +0 -12
- data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +0 -19
- data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +0 -323
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +0 -22
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +0 -13
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +0 -275
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +0 -40
- data/lib/node_modules/npm/node_modules/fstream-npm/package.json +0 -27
- data/lib/node_modules/npm/node_modules/fstream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/fstream/README.md +0 -76
- data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +0 -131
- data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +0 -115
- data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +0 -54
- data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +0 -24
- data/lib/node_modules/npm/node_modules/fstream/fstream.js +0 -31
- data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +0 -85
- data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +0 -67
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +0 -251
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +0 -171
- data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +0 -147
- data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +0 -100
- data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +0 -32
- data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +0 -54
- data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +0 -95
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +0 -93
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +0 -109
- data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +0 -260
- data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +0 -38
- data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +0 -389
- data/lib/node_modules/npm/node_modules/fstream/package.json +0 -43
- data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +0 -10
- data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +0 -5
- data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +0 -41
- data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +0 -12
- data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +0 -31
- data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +0 -40
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +0 -14
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +0 -9
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +0 -33
- data/lib/node_modules/npm/node_modules/glob/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/glob/README.md +0 -250
- data/lib/node_modules/npm/node_modules/glob/examples/g.js +0 -9
- data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +0 -9
- data/lib/node_modules/npm/node_modules/glob/glob.js +0 -680
- data/lib/node_modules/npm/node_modules/glob/package.json +0 -39
- data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/graceful-fs/README.md +0 -26
- data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -161
- data/lib/node_modules/npm/node_modules/graceful-fs/package.json +0 -48
- data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -228
- data/lib/node_modules/npm/node_modules/inherits/LICENSE +0 -16
- data/lib/node_modules/npm/node_modules/inherits/README.md +0 -42
- data/lib/node_modules/npm/node_modules/inherits/inherits.js +0 -1
- data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +0 -23
- data/lib/node_modules/npm/node_modules/inherits/package.json +0 -32
- data/lib/node_modules/npm/node_modules/inherits/test.js +0 -25
- data/lib/node_modules/npm/node_modules/ini/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ini/README.md +0 -79
- data/lib/node_modules/npm/node_modules/ini/ini.js +0 -166
- data/lib/node_modules/npm/node_modules/ini/package.json +0 -29
- data/lib/node_modules/npm/node_modules/init-package-json/README.md +0 -43
- data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +0 -181
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +0 -8
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +0 -7
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +0 -13
- data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +0 -1
- data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +0 -129
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +0 -133
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +0 -11
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +0 -8
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +0 -191
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +0 -37
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +0 -10
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +0 -61
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +0 -32
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +0 -216
- data/lib/node_modules/npm/node_modules/init-package-json/package.json +0 -48
- data/lib/node_modules/npm/node_modules/lockfile/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/lockfile/README.md +0 -81
- data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +0 -272
- data/lib/node_modules/npm/node_modules/lockfile/package.json +0 -45
- data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/lru-cache/README.md +0 -97
- data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/lib/node_modules/npm/node_modules/lru-cache/package.json +0 -33
- data/lib/node_modules/npm/node_modules/minimatch/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/minimatch/README.md +0 -218
- data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +0 -1055
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/lib/node_modules/npm/node_modules/minimatch/package.json +0 -40
- data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +0 -21
- data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +0 -63
- data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +0 -6
- data/lib/node_modules/npm/node_modules/mkdirp/index.js +0 -82
- data/lib/node_modules/npm/node_modules/mkdirp/package.json +0 -33
- data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/node-gyp/README.md +0 -163
- data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -59
- data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -133
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +0 -10
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +0 -24
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +0 -1
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -115
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +0 -148
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +0 -10
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -18
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +0 -274
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -340
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -208
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1051
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1482
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -58
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -147
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -267
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -407
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -537
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -513
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -72
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -157
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -103
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -49
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1069
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -81
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -308
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -87
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2172
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3270
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -37
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2150
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -44
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1224
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -23
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -2809
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -90
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -264
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -870
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -160
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -176
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1324
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -2888
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -69
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +0 -307
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +0 -81
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +0 -19
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +0 -15
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -252
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +0 -100
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -155
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -168
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -329
- data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -275
- data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -22
- data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -344
- data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -362
- data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -33
- data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -225
- data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -16
- data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -56
- data/lib/node_modules/npm/node_modules/node-gyp/package.json +0 -55
- data/lib/node_modules/npm/node_modules/nopt/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/nopt/README.md +0 -210
- data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -51
- data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +0 -30
- data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -407
- data/lib/node_modules/npm/node_modules/nopt/package.json +0 -39
- data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -234
- data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +0 -25
- data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +0 -146
- data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +0 -43
- data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +0 -176
- data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +0 -55
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +0 -138
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +0 -9
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +0 -28
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +0 -184
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +0 -156
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +0 -270
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +0 -29
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +0 -9
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +0 -6
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +0 -104
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +0 -22
- data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +0 -43
- data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +0 -6
- data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +0 -49
- data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +0 -37
- data/lib/node_modules/npm/node_modules/npmconf/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npmconf/README.md +0 -33
- data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +0 -353
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +0 -22
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +0 -282
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +0 -3
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +0 -33
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +0 -81
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +0 -32
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +0 -228
- data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +0 -338
- data/lib/node_modules/npm/node_modules/npmconf/package.json +0 -50
- data/lib/node_modules/npm/node_modules/npmlog/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npmlog/README.md +0 -153
- data/lib/node_modules/npm/node_modules/npmlog/example.js +0 -39
- data/lib/node_modules/npm/node_modules/npmlog/log.js +0 -154
- data/lib/node_modules/npm/node_modules/npmlog/package.json +0 -32
- data/lib/node_modules/npm/node_modules/once/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/once/README.md +0 -51
- data/lib/node_modules/npm/node_modules/once/once.js +0 -20
- data/lib/node_modules/npm/node_modules/once/package.json +0 -39
- data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +0 -14
- data/lib/node_modules/npm/node_modules/opener/README.md +0 -44
- data/lib/node_modules/npm/node_modules/opener/opener.js +0 -55
- data/lib/node_modules/npm/node_modules/opener/package.json +0 -34
- data/lib/node_modules/npm/node_modules/osenv/LICENSE +0 -25
- data/lib/node_modules/npm/node_modules/osenv/README.md +0 -63
- data/lib/node_modules/npm/node_modules/osenv/osenv.js +0 -80
- data/lib/node_modules/npm/node_modules/osenv/package.json +0 -38
- data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +0 -14
- data/lib/node_modules/npm/node_modules/path-is-inside/README.md +0 -35
- data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +0 -24
- data/lib/node_modules/npm/node_modules/path-is-inside/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-installed/LICENSE +0 -16
- data/lib/node_modules/npm/node_modules/read-installed/README.md +0 -25
- data/lib/node_modules/npm/node_modules/read-installed/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +0 -338
- data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/read-package-json/README.md +0 -166
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +0 -4
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +0 -30
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +0 -101
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +0 -29
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +0 -14
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +0 -392
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +0 -36
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +0 -9
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +0 -25
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +0 -28
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +0 -53
- data/lib/node_modules/npm/node_modules/read-package-json/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +0 -368
- data/lib/node_modules/npm/node_modules/read/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/read/README.md +0 -53
- data/lib/node_modules/npm/node_modules/read/example/example.js +0 -13
- data/lib/node_modules/npm/node_modules/read/lib/read.js +0 -113
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +0 -68
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +0 -140
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +0 -37
- data/lib/node_modules/npm/node_modules/read/package.json +0 -35
- data/lib/node_modules/npm/node_modules/read/rs.js +0 -4
- data/lib/node_modules/npm/node_modules/request/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/README.md +0 -364
- data/lib/node_modules/npm/node_modules/request/index.js +0 -157
- data/lib/node_modules/npm/node_modules/request/lib/copy.js +0 -8
- data/lib/node_modules/npm/node_modules/request/lib/debug.js +0 -7
- data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +0 -34
- data/lib/node_modules/npm/node_modules/request/lib/optional.js +0 -5
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +0 -202
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +0 -119
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +0 -163
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +0 -325
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1414
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -955
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +0 -132
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +0 -185
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -154
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -99
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +0 -32
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +0 -46
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +0 -10
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +0 -627
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +0 -78
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +0 -485
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +0 -367
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +0 -111
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +0 -15
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +0 -524
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +0 -183
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -6
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -207
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -47
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -6
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -48
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +0 -33
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +0 -10
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -436
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -585
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -409
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -48
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +0 -75
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +0 -296
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +0 -25
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +0 -304
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +0 -179
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +0 -249
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +0 -42
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +0 -50
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +0 -27
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +0 -267
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +0 -317
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +0 -172
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +0 -296
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -126
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -196
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +0 -71
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +0 -82
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +0 -298
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +0 -245
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +0 -1485
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +0 -944
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +0 -129
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +0 -839
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +0 -104
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +0 -39
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +0 -17
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +0 -15
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +0 -767
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +0 -753
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +0 -638
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +0 -101
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +0 -92
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +0 -451
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +0 -81
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +0 -95
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +0 -156
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +0 -50
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +0 -44
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +0 -42
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +0 -45
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +0 -128
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +0 -33
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -39
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +0 -128
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +0 -66
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +0 -114
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +0 -84
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +0 -1588
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +0 -77
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -2
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +0 -207
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +0 -245
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +0 -58
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +0 -366
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +0 -38
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +0 -78
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +0 -380
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +0 -230
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -947
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -102
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -69
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +0 -278
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +0 -73
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -508
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +0 -2
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +0 -69
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +0 -38
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +0 -226
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +0 -442
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +0 -563
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +0 -46
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +0 -5229
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +0 -1340
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +0 -227
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/package.json +0 -57
- data/lib/node_modules/npm/node_modules/request/request.js +0 -1260
- data/lib/node_modules/npm/node_modules/retry/License +0 -21
- data/lib/node_modules/npm/node_modules/retry/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/retry/Readme.md +0 -167
- data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
- data/lib/node_modules/npm/node_modules/retry/example/dns.js +0 -31
- data/lib/node_modules/npm/node_modules/retry/index.js +0 -1
- data/lib/node_modules/npm/node_modules/retry/lib/retry.js +0 -50
- data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -109
- data/lib/node_modules/npm/node_modules/retry/package.json +0 -29
- data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +0 -6
- data/lib/node_modules/npm/node_modules/rimraf/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/rimraf/README.md +0 -30
- data/lib/node_modules/npm/node_modules/rimraf/bin.js +0 -33
- data/lib/node_modules/npm/node_modules/rimraf/package.json +0 -56
- data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +0 -178
- data/lib/node_modules/npm/node_modules/semver/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/semver/Makefile +0 -24
- data/lib/node_modules/npm/node_modules/semver/README.md +0 -142
- data/lib/node_modules/npm/node_modules/semver/bin/semver +0 -124
- data/lib/node_modules/npm/node_modules/semver/foot.js +0 -6
- data/lib/node_modules/npm/node_modules/semver/head.js +0 -2
- data/lib/node_modules/npm/node_modules/semver/package.json +0 -32
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js +0 -1007
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/semver/semver.js +0 -1011
- data/lib/node_modules/npm/node_modules/semver/semver.min.js +0 -1
- data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/sha/LICENSE +0 -46
- data/lib/node_modules/npm/node_modules/sha/README.md +0 -49
- data/lib/node_modules/npm/node_modules/sha/index.js +0 -120
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +0 -768
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +0 -68
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +0 -69
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +0 -41
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +0 -927
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +0 -205
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +0 -369
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +0 -36
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +0 -6
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/package.json +0 -32
- data/lib/node_modules/npm/node_modules/slide/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/slide/README.md +0 -143
- data/lib/node_modules/npm/node_modules/slide/index.js +0 -1
- data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +0 -65
- data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +0 -56
- data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +0 -16
- data/lib/node_modules/npm/node_modules/slide/lib/chain.js +0 -20
- data/lib/node_modules/npm/node_modules/slide/lib/slide.js +0 -3
- data/lib/node_modules/npm/node_modules/slide/package.json +0 -35
- data/lib/node_modules/npm/node_modules/tar/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/tar/README.md +0 -46
- data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +0 -11
- data/lib/node_modules/npm/node_modules/tar/examples/reader.js +0 -36
- data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +0 -30
- data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +0 -169
- data/lib/node_modules/npm/node_modules/tar/lib/entry.js +0 -213
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +0 -191
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +0 -140
- data/lib/node_modules/npm/node_modules/tar/lib/extract.js +0 -78
- data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +0 -14
- data/lib/node_modules/npm/node_modules/tar/lib/header.js +0 -385
- data/lib/node_modules/npm/node_modules/tar/lib/pack.js +0 -231
- data/lib/node_modules/npm/node_modules/tar/lib/parse.js +0 -270
- data/lib/node_modules/npm/node_modules/tar/package.json +0 -40
- data/lib/node_modules/npm/node_modules/tar/tar.js +0 -173
- data/lib/node_modules/npm/node_modules/text-table/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/text-table/example/align.js +0 -8
- data/lib/node_modules/npm/node_modules/text-table/example/center.js +0 -8
- data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
- data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
- data/lib/node_modules/npm/node_modules/text-table/example/table.js +0 -6
- data/lib/node_modules/npm/node_modules/text-table/index.js +0 -86
- data/lib/node_modules/npm/node_modules/text-table/package.json +0 -52
- data/lib/node_modules/npm/node_modules/text-table/readme.markdown +0 -134
- data/lib/node_modules/npm/node_modules/uid-number/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/uid-number/README.md +0 -17
- data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +0 -24
- data/lib/node_modules/npm/node_modules/uid-number/package.json +0 -35
- data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +0 -54
- data/lib/node_modules/npm/node_modules/which/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/which/README.md +0 -5
- data/lib/node_modules/npm/node_modules/which/bin/which +0 -14
- data/lib/node_modules/npm/node_modules/which/package.json +0 -34
- data/lib/node_modules/npm/node_modules/which/which.js +0 -104
- data/lib/node_modules/npm/package.json +0 -155
- data/lib/node_modules/npm/scripts/clean-old.sh +0 -165
- data/lib/node_modules/npm/scripts/doc-build.sh +0 -84
- data/lib/node_modules/npm/scripts/index-build.js +0 -62
- data/lib/node_modules/npm/scripts/install.sh +0 -313
- data/lib/node_modules/npm/scripts/release.sh +0 -36
- data/lib/node_modules/npm/scripts/relocate.sh +0 -26
@@ -1,36 +0,0 @@
|
|
1
|
-
|
2
|
-
// initialize a package.json file
|
3
|
-
|
4
|
-
module.exports = init
|
5
|
-
|
6
|
-
var log = require("npmlog")
|
7
|
-
, npm = require("./npm.js")
|
8
|
-
, initJson = require("init-package-json")
|
9
|
-
|
10
|
-
init.usage = "npm init"
|
11
|
-
|
12
|
-
function init (args, cb) {
|
13
|
-
var dir = process.cwd()
|
14
|
-
log.pause()
|
15
|
-
var initFile = npm.config.get('init-module')
|
16
|
-
|
17
|
-
console.log(
|
18
|
-
["This utility will walk you through creating a package.json file."
|
19
|
-
,"It only covers the most common items, and tries to guess sane defaults."
|
20
|
-
,""
|
21
|
-
,"See `npm help json` for definitive documentation on these fields"
|
22
|
-
,"and exactly what they do."
|
23
|
-
,""
|
24
|
-
,"Use `npm install <pkg> --save` afterwards to install a package and"
|
25
|
-
,"save it as a dependency in the package.json file."
|
26
|
-
,""
|
27
|
-
,"Press ^C at any time to quit."
|
28
|
-
].join("\n"))
|
29
|
-
|
30
|
-
initJson(dir, initFile, npm.config, function (er, data) {
|
31
|
-
log.resume()
|
32
|
-
log.silly('package data', data)
|
33
|
-
log.info('init', 'written successfully')
|
34
|
-
cb(er, data)
|
35
|
-
})
|
36
|
-
}
|
@@ -1,979 +0,0 @@
|
|
1
|
-
// npm install <pkg> <pkg> <pkg>
|
2
|
-
//
|
3
|
-
// See doc/install.md for more description
|
4
|
-
|
5
|
-
// Managing contexts...
|
6
|
-
// there's a lot of state associated with an "install" operation, including
|
7
|
-
// packages that are already installed, parent packages, current shrinkwrap, and
|
8
|
-
// so on. We maintain this state in a "context" object that gets passed around.
|
9
|
-
// every time we dive into a deeper node_modules folder, the "family" list that
|
10
|
-
// gets passed along uses the previous "family" list as its __proto__. Any
|
11
|
-
// "resolved precise dependency" things that aren't already on this object get
|
12
|
-
// added, and then that's passed to the next generation of installation.
|
13
|
-
|
14
|
-
module.exports = install
|
15
|
-
|
16
|
-
install.usage = "npm install"
|
17
|
-
+ "\nnpm install <pkg>"
|
18
|
-
+ "\nnpm install <pkg>@<tag>"
|
19
|
-
+ "\nnpm install <pkg>@<version>"
|
20
|
-
+ "\nnpm install <pkg>@<version range>"
|
21
|
-
+ "\nnpm install <folder>"
|
22
|
-
+ "\nnpm install <tarball file>"
|
23
|
-
+ "\nnpm install <tarball url>"
|
24
|
-
+ "\nnpm install <git:// url>"
|
25
|
-
+ "\nnpm install <github username>/<github project>"
|
26
|
-
+ "\n\nCan specify one or more: npm install ./foo.tgz bar@stable /some/folder"
|
27
|
-
+ "\nIf no argument is supplied and ./npm-shrinkwrap.json is "
|
28
|
-
+ "\npresent, installs dependencies specified in the shrinkwrap."
|
29
|
-
+ "\nOtherwise, installs dependencies from ./package.json."
|
30
|
-
|
31
|
-
install.completion = function (opts, cb) {
|
32
|
-
// install can complete to a folder with a package.json, or any package.
|
33
|
-
// if it has a slash, then it's gotta be a folder
|
34
|
-
// if it starts with https?://, then just give up, because it's a url
|
35
|
-
// for now, not yet implemented.
|
36
|
-
var registry = npm.registry
|
37
|
-
registry.get("/-/short", function (er, pkgs) {
|
38
|
-
if (er) return cb()
|
39
|
-
if (!opts.partialWord) return cb(null, pkgs)
|
40
|
-
|
41
|
-
var name = opts.partialWord.split("@").shift()
|
42
|
-
pkgs = pkgs.filter(function (p) {
|
43
|
-
return p.indexOf(name) === 0
|
44
|
-
})
|
45
|
-
|
46
|
-
if (pkgs.length !== 1 && opts.partialWord === name) {
|
47
|
-
return cb(null, pkgs)
|
48
|
-
}
|
49
|
-
|
50
|
-
registry.get(pkgs[0], function (er, d) {
|
51
|
-
if (er) return cb()
|
52
|
-
return cb(null, Object.keys(d["dist-tags"] || {})
|
53
|
-
.concat(Object.keys(d.versions || {}))
|
54
|
-
.map(function (t) {
|
55
|
-
return pkgs[0] + "@" + t
|
56
|
-
}))
|
57
|
-
})
|
58
|
-
})
|
59
|
-
}
|
60
|
-
|
61
|
-
var npm = require("./npm.js")
|
62
|
-
, semver = require("semver")
|
63
|
-
, readJson = require("read-package-json")
|
64
|
-
, readInstalled = require("read-installed")
|
65
|
-
, log = require("npmlog")
|
66
|
-
, path = require("path")
|
67
|
-
, fs = require("graceful-fs")
|
68
|
-
, cache = require("./cache.js")
|
69
|
-
, asyncMap = require("slide").asyncMap
|
70
|
-
, chain = require("slide").chain
|
71
|
-
, url = require("url")
|
72
|
-
, mkdir = require("mkdirp")
|
73
|
-
, lifecycle = require("./utils/lifecycle.js")
|
74
|
-
, archy = require("archy")
|
75
|
-
, isGitUrl = require("./utils/is-git-url.js")
|
76
|
-
, npmInstallChecks = require("npm-install-checks")
|
77
|
-
|
78
|
-
function install (args, cb_) {
|
79
|
-
var hasArguments = !!args.length
|
80
|
-
|
81
|
-
function cb (er, installed) {
|
82
|
-
if (er) return cb_(er)
|
83
|
-
|
84
|
-
findPeerInvalid(where, function (er, problem) {
|
85
|
-
if (er) return cb_(er)
|
86
|
-
|
87
|
-
if (problem) {
|
88
|
-
var peerInvalidError = new Error("The package " + problem.name +
|
89
|
-
" does not satisfy its siblings' peerDependencies requirements!")
|
90
|
-
peerInvalidError.code = "EPEERINVALID"
|
91
|
-
peerInvalidError.packageName = problem.name
|
92
|
-
peerInvalidError.peersDepending = problem.peersDepending
|
93
|
-
return cb(peerInvalidError)
|
94
|
-
}
|
95
|
-
|
96
|
-
var tree = treeify(installed || [])
|
97
|
-
, pretty = prettify(tree, installed).trim()
|
98
|
-
|
99
|
-
if (pretty) console.log(pretty)
|
100
|
-
save(where, installed, tree, pretty, hasArguments, cb_)
|
101
|
-
})
|
102
|
-
}
|
103
|
-
|
104
|
-
// the /path/to/node_modules/..
|
105
|
-
var where = path.resolve(npm.dir, "..")
|
106
|
-
|
107
|
-
// internal api: install(where, what, cb)
|
108
|
-
if (arguments.length === 3) {
|
109
|
-
where = args
|
110
|
-
args = [].concat(cb_) // pass in [] to do default dep-install
|
111
|
-
cb_ = arguments[2]
|
112
|
-
log.verbose("install", "where,what", [where, args])
|
113
|
-
}
|
114
|
-
|
115
|
-
if (!npm.config.get("global")) {
|
116
|
-
args = args.filter(function (a) {
|
117
|
-
return path.resolve(a) !== where
|
118
|
-
})
|
119
|
-
}
|
120
|
-
|
121
|
-
mkdir(where, function (er, made) {
|
122
|
-
if (er) return cb(er)
|
123
|
-
// install dependencies locally by default,
|
124
|
-
// or install current folder globally
|
125
|
-
if (!args.length) {
|
126
|
-
var opt = { dev: npm.config.get("dev") || !npm.config.get("production") }
|
127
|
-
|
128
|
-
if (npm.config.get("global")) args = ["."]
|
129
|
-
else return readDependencies(null, where, opt, function (er, data) {
|
130
|
-
if (er) {
|
131
|
-
log.error("install", "Couldn't read dependencies")
|
132
|
-
return cb(er)
|
133
|
-
}
|
134
|
-
var deps = Object.keys(data.dependencies || {})
|
135
|
-
log.verbose("install", "where, deps", [where, deps])
|
136
|
-
var context = { family: {}
|
137
|
-
, ancestors: {}
|
138
|
-
, explicit: false
|
139
|
-
, parent: data
|
140
|
-
, root: true
|
141
|
-
, wrap: null }
|
142
|
-
|
143
|
-
if (data.name === path.basename(where) &&
|
144
|
-
path.basename(path.dirname(where)) === "node_modules") {
|
145
|
-
// Only include in ancestry if it can actually be required.
|
146
|
-
// Otherwise, it does not count.
|
147
|
-
context.family[data.name] =
|
148
|
-
context.ancestors[data.name] = data.version
|
149
|
-
}
|
150
|
-
|
151
|
-
installManyTop(deps.map(function (dep) {
|
152
|
-
var target = data.dependencies[dep]
|
153
|
-
, parsed = url.parse(target.replace(/^git\+/, "git"))
|
154
|
-
target = dep + "@" + target
|
155
|
-
return target
|
156
|
-
}), where, context, function(er, results) {
|
157
|
-
if (er) return cb(er, results)
|
158
|
-
lifecycle(data, "prepublish", where, function(er) {
|
159
|
-
return cb(er, results)
|
160
|
-
})
|
161
|
-
})
|
162
|
-
})
|
163
|
-
}
|
164
|
-
|
165
|
-
// initial "family" is the name:version of the root, if it's got
|
166
|
-
// a package.json file.
|
167
|
-
var jsonFile = path.resolve(where, "package.json")
|
168
|
-
readJson(jsonFile, log.warn, function (er, data) {
|
169
|
-
if (er
|
170
|
-
&& er.code !== "ENOENT"
|
171
|
-
&& er.code !== "ENOTDIR") return cb(er)
|
172
|
-
if (er) data = null
|
173
|
-
var context = { family: {}
|
174
|
-
, ancestors: {}
|
175
|
-
, explicit: true
|
176
|
-
, parent: data
|
177
|
-
, root: true
|
178
|
-
, wrap: null }
|
179
|
-
if (data && data.name === path.basename(where) &&
|
180
|
-
path.basename(path.dirname(where)) === "node_modules") {
|
181
|
-
context.family[data.name] = context.ancestors[data.name] = data.version
|
182
|
-
}
|
183
|
-
var fn = npm.config.get("global") ? installMany : installManyTop
|
184
|
-
fn(args, where, context, cb)
|
185
|
-
})
|
186
|
-
})
|
187
|
-
}
|
188
|
-
|
189
|
-
function findPeerInvalid (where, cb) {
|
190
|
-
readInstalled(where, { log: log.warn }, function (er, data) {
|
191
|
-
if (er) return cb(er)
|
192
|
-
|
193
|
-
cb(null, findPeerInvalid_(data.dependencies, []))
|
194
|
-
})
|
195
|
-
}
|
196
|
-
|
197
|
-
function findPeerInvalid_ (packageMap, fpiList) {
|
198
|
-
if (fpiList.indexOf(packageMap) !== -1)
|
199
|
-
return
|
200
|
-
|
201
|
-
fpiList.push(packageMap)
|
202
|
-
|
203
|
-
for (var packageName in packageMap) {
|
204
|
-
var pkg = packageMap[packageName]
|
205
|
-
|
206
|
-
if (pkg.peerInvalid) {
|
207
|
-
var peersDepending = {};
|
208
|
-
for (peerName in packageMap) {
|
209
|
-
var peer = packageMap[peerName]
|
210
|
-
if (peer.peerDependencies && peer.peerDependencies[packageName]) {
|
211
|
-
peersDepending[peer.name + "@" + peer.version] =
|
212
|
-
peer.peerDependencies[packageName]
|
213
|
-
}
|
214
|
-
}
|
215
|
-
return { name: pkg.name, peersDepending: peersDepending }
|
216
|
-
}
|
217
|
-
|
218
|
-
if (pkg.dependencies) {
|
219
|
-
var invalid = findPeerInvalid_(pkg.dependencies, fpiList)
|
220
|
-
if (invalid)
|
221
|
-
return invalid
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
return null
|
226
|
-
}
|
227
|
-
|
228
|
-
// reads dependencies for the package at "where". There are several cases,
|
229
|
-
// depending on our current state and the package's configuration:
|
230
|
-
//
|
231
|
-
// 1. If "context" is specified, then we examine the context to see if there's a
|
232
|
-
// shrinkwrap there. In that case, dependencies are read from the shrinkwrap.
|
233
|
-
// 2. Otherwise, if an npm-shrinkwrap.json file is present, dependencies are
|
234
|
-
// read from there.
|
235
|
-
// 3. Otherwise, dependencies come from package.json.
|
236
|
-
//
|
237
|
-
// Regardless of which case we fall into, "cb" is invoked with a first argument
|
238
|
-
// describing the full package (as though readJson had been used) but with
|
239
|
-
// "dependencies" read as described above. The second argument to "cb" is the
|
240
|
-
// shrinkwrap to use in processing this package's dependencies, which may be
|
241
|
-
// "wrap" (in case 1) or a new shrinkwrap (in case 2).
|
242
|
-
function readDependencies (context, where, opts, cb) {
|
243
|
-
var wrap = context ? context.wrap : null
|
244
|
-
|
245
|
-
readJson( path.resolve(where, "package.json")
|
246
|
-
, log.warn
|
247
|
-
, function (er, data) {
|
248
|
-
if (er && er.code === "ENOENT") er.code = "ENOPACKAGEJSON"
|
249
|
-
if (er) return cb(er)
|
250
|
-
|
251
|
-
if (opts && opts.dev) {
|
252
|
-
if (!data.dependencies) data.dependencies = {}
|
253
|
-
Object.keys(data.devDependencies || {}).forEach(function (k) {
|
254
|
-
data.dependencies[k] = data.devDependencies[k]
|
255
|
-
})
|
256
|
-
}
|
257
|
-
|
258
|
-
if (!npm.config.get("optional") && data.optionalDependencies) {
|
259
|
-
Object.keys(data.optionalDependencies).forEach(function (d) {
|
260
|
-
delete data.dependencies[d]
|
261
|
-
})
|
262
|
-
}
|
263
|
-
|
264
|
-
// User has opted out of shrinkwraps entirely
|
265
|
-
if (npm.config.get("shrinkwrap") === false)
|
266
|
-
return cb(null, data, null)
|
267
|
-
|
268
|
-
if (wrap) {
|
269
|
-
log.verbose("readDependencies: using existing wrap", [where, wrap])
|
270
|
-
var rv = {}
|
271
|
-
Object.keys(data).forEach(function (key) {
|
272
|
-
rv[key] = data[key]
|
273
|
-
})
|
274
|
-
rv.dependencies = {}
|
275
|
-
Object.keys(wrap).forEach(function (key) {
|
276
|
-
log.verbose("from wrap", [key, wrap[key]])
|
277
|
-
rv.dependencies[key] = readWrap(wrap[key])
|
278
|
-
})
|
279
|
-
log.verbose("readDependencies returned deps", rv.dependencies)
|
280
|
-
return cb(null, rv, wrap)
|
281
|
-
}
|
282
|
-
|
283
|
-
var wrapfile = path.resolve(where, "npm-shrinkwrap.json")
|
284
|
-
|
285
|
-
fs.readFile(wrapfile, "utf8", function (er, wrapjson) {
|
286
|
-
if (er) {
|
287
|
-
log.verbose("readDependencies", "using package.json deps")
|
288
|
-
return cb(null, data, null)
|
289
|
-
}
|
290
|
-
|
291
|
-
try {
|
292
|
-
var newwrap = JSON.parse(wrapjson)
|
293
|
-
} catch (ex) {
|
294
|
-
return cb(ex)
|
295
|
-
}
|
296
|
-
|
297
|
-
log.info("shrinkwrap", "file %j", wrapfile)
|
298
|
-
var rv = {}
|
299
|
-
Object.keys(data).forEach(function (key) {
|
300
|
-
rv[key] = data[key]
|
301
|
-
})
|
302
|
-
rv.dependencies = {}
|
303
|
-
Object.keys(newwrap.dependencies || {}).forEach(function (key) {
|
304
|
-
rv.dependencies[key] = readWrap(newwrap.dependencies[key])
|
305
|
-
})
|
306
|
-
|
307
|
-
// fold in devDependencies if not already present, at top level
|
308
|
-
if (opts && opts.dev) {
|
309
|
-
Object.keys(data.devDependencies || {}).forEach(function (k) {
|
310
|
-
rv.dependencies[k] = rv.dependencies[k] || data.devDependencies[k]
|
311
|
-
})
|
312
|
-
}
|
313
|
-
|
314
|
-
log.verbose("readDependencies returned deps", rv.dependencies)
|
315
|
-
return cb(null, rv, newwrap.dependencies)
|
316
|
-
})
|
317
|
-
})
|
318
|
-
}
|
319
|
-
|
320
|
-
function readWrap (w) {
|
321
|
-
return (w.resolved) ? w.resolved
|
322
|
-
: (w.from && url.parse(w.from).protocol) ? w.from
|
323
|
-
: w.version
|
324
|
-
}
|
325
|
-
|
326
|
-
// if the -S|--save option is specified, then write installed packages
|
327
|
-
// as dependencies to a package.json file.
|
328
|
-
// This is experimental.
|
329
|
-
function save (where, installed, tree, pretty, hasArguments, cb) {
|
330
|
-
if (!hasArguments ||
|
331
|
-
!npm.config.get("save") &&
|
332
|
-
!npm.config.get("save-dev") &&
|
333
|
-
!npm.config.get("save-optional") ||
|
334
|
-
npm.config.get("global")) {
|
335
|
-
return cb(null, installed, tree, pretty)
|
336
|
-
}
|
337
|
-
|
338
|
-
var saveBundle = npm.config.get('save-bundle')
|
339
|
-
|
340
|
-
// each item in the tree is a top-level thing that should be saved
|
341
|
-
// to the package.json file.
|
342
|
-
// The relevant tree shape is { <folder>: {what:<pkg>} }
|
343
|
-
var saveTarget = path.resolve(where, "package.json")
|
344
|
-
, things = Object.keys(tree).map(function (k) {
|
345
|
-
// if "what" was a url, then save that instead.
|
346
|
-
var t = tree[k]
|
347
|
-
, u = url.parse(t.from)
|
348
|
-
, w = t.what.split("@")
|
349
|
-
if (u && u.protocol) w[1] = t.from
|
350
|
-
return w
|
351
|
-
}).reduce(function (set, k) {
|
352
|
-
var rangeDescriptor = semver.valid(k[1], true) &&
|
353
|
-
semver.gte(k[1], "0.1.0", true)
|
354
|
-
? "^" : ""
|
355
|
-
set[k[0]] = rangeDescriptor + k[1]
|
356
|
-
return set
|
357
|
-
}, {})
|
358
|
-
|
359
|
-
// don't use readJson, because we don't want to do all the other
|
360
|
-
// tricky npm-specific stuff that's in there.
|
361
|
-
fs.readFile(saveTarget, function (er, data) {
|
362
|
-
// ignore errors here, just don't save it.
|
363
|
-
try {
|
364
|
-
data = JSON.parse(data.toString("utf8"))
|
365
|
-
} catch (ex) {
|
366
|
-
er = ex
|
367
|
-
}
|
368
|
-
|
369
|
-
if (er) {
|
370
|
-
return cb(null, installed, tree, pretty)
|
371
|
-
}
|
372
|
-
|
373
|
-
var deps = npm.config.get("save-optional") ? "optionalDependencies"
|
374
|
-
: npm.config.get("save-dev") ? "devDependencies"
|
375
|
-
: "dependencies"
|
376
|
-
|
377
|
-
if (saveBundle) {
|
378
|
-
var bundle = data.bundleDependencies || data.bundledDependencies
|
379
|
-
delete data.bundledDependencies
|
380
|
-
if (!Array.isArray(bundle)) bundle = []
|
381
|
-
data.bundleDependencies = bundle
|
382
|
-
}
|
383
|
-
|
384
|
-
log.verbose('saving', things)
|
385
|
-
data[deps] = data[deps] || {}
|
386
|
-
Object.keys(things).forEach(function (t) {
|
387
|
-
data[deps][t] = things[t]
|
388
|
-
if (saveBundle) {
|
389
|
-
var i = bundle.indexOf(t)
|
390
|
-
if (i === -1) bundle.push(t)
|
391
|
-
}
|
392
|
-
})
|
393
|
-
|
394
|
-
data = JSON.stringify(data, null, 2) + "\n"
|
395
|
-
fs.writeFile(saveTarget, data, function (er) {
|
396
|
-
cb(er, installed, tree, pretty)
|
397
|
-
})
|
398
|
-
})
|
399
|
-
}
|
400
|
-
|
401
|
-
|
402
|
-
// Outputting *all* the installed modules is a bit confusing,
|
403
|
-
// because the length of the path does not make it clear
|
404
|
-
// that the submodules are not immediately require()able.
|
405
|
-
// TODO: Show the complete tree, ls-style, but only if --long is provided
|
406
|
-
function prettify (tree, installed) {
|
407
|
-
if (npm.config.get("json")) {
|
408
|
-
function red (set, kv) {
|
409
|
-
set[kv[0]] = kv[1]
|
410
|
-
return set
|
411
|
-
}
|
412
|
-
|
413
|
-
tree = Object.keys(tree).map(function (p) {
|
414
|
-
if (!tree[p]) return null
|
415
|
-
var what = tree[p].what.split("@")
|
416
|
-
, name = what.shift()
|
417
|
-
, version = what.join("@")
|
418
|
-
, o = { name: name, version: version, from: tree[p].from }
|
419
|
-
o.dependencies = tree[p].children.map(function P (dep) {
|
420
|
-
var what = dep.what.split("@")
|
421
|
-
, name = what.shift()
|
422
|
-
, version = what.join("@")
|
423
|
-
, o = { version: version, from: dep.from }
|
424
|
-
o.dependencies = dep.children.map(P).reduce(red, {})
|
425
|
-
return [name, o]
|
426
|
-
}).reduce(red, {})
|
427
|
-
return o
|
428
|
-
})
|
429
|
-
|
430
|
-
return JSON.stringify(tree, null, 2)
|
431
|
-
}
|
432
|
-
if (npm.config.get("parseable")) return parseable(installed)
|
433
|
-
|
434
|
-
return Object.keys(tree).map(function (p) {
|
435
|
-
return archy({ label: tree[p].what + " " + p
|
436
|
-
, nodes: (tree[p].children || []).map(function P (c) {
|
437
|
-
if (npm.config.get("long")) {
|
438
|
-
return { label: c.what, nodes: c.children.map(P) }
|
439
|
-
}
|
440
|
-
var g = c.children.map(function (g) {
|
441
|
-
return g.what
|
442
|
-
}).join(", ")
|
443
|
-
if (g) g = " (" + g + ")"
|
444
|
-
return c.what + g
|
445
|
-
})
|
446
|
-
})
|
447
|
-
}).join("\n")
|
448
|
-
}
|
449
|
-
|
450
|
-
function parseable (installed) {
|
451
|
-
var long = npm.config.get("long")
|
452
|
-
, cwd = process.cwd()
|
453
|
-
return installed.map(function (item) {
|
454
|
-
return path.resolve(cwd, item[1]) +
|
455
|
-
( long ? ":" + item[0] : "" )
|
456
|
-
}).join("\n")
|
457
|
-
}
|
458
|
-
|
459
|
-
function treeify (installed) {
|
460
|
-
// each item is [what, where, parent, parentDir]
|
461
|
-
// If no parent, then report it.
|
462
|
-
// otherwise, tack it into the parent's children list.
|
463
|
-
// If the parent isn't a top-level then ignore it.
|
464
|
-
var whatWhere = installed.reduce(function (l, r) {
|
465
|
-
var parentDir = r[3]
|
466
|
-
, parent = r[2]
|
467
|
-
, where = r[1]
|
468
|
-
, what = r[0]
|
469
|
-
, from = r[4]
|
470
|
-
l[where] = { parentDir: parentDir
|
471
|
-
, parent: parent
|
472
|
-
, children: []
|
473
|
-
, where: where
|
474
|
-
, what: what
|
475
|
-
, from: from }
|
476
|
-
return l
|
477
|
-
}, {})
|
478
|
-
|
479
|
-
// log.warn("install", whatWhere, "whatWhere")
|
480
|
-
return Object.keys(whatWhere).reduce(function (l, r) {
|
481
|
-
var ww = whatWhere[r]
|
482
|
-
//log.warn("r, ww", [r, ww])
|
483
|
-
if (!ww.parent) {
|
484
|
-
l[r] = ww
|
485
|
-
} else {
|
486
|
-
var p = whatWhere[ww.parentDir]
|
487
|
-
if (p) p.children.push(ww)
|
488
|
-
else l[r] = ww
|
489
|
-
}
|
490
|
-
return l
|
491
|
-
}, {})
|
492
|
-
}
|
493
|
-
|
494
|
-
|
495
|
-
// just like installMany, but also add the existing packages in
|
496
|
-
// where/node_modules to the family object.
|
497
|
-
function installManyTop (what, where, context, cb_) {
|
498
|
-
function cb (er, d) {
|
499
|
-
if (context.explicit || er) return cb_(er, d)
|
500
|
-
// since this wasn't an explicit install, let's build the top
|
501
|
-
// folder, so that `npm install` also runs the lifecycle scripts.
|
502
|
-
npm.commands.build([where], false, true, function (er) {
|
503
|
-
return cb_(er, d)
|
504
|
-
})
|
505
|
-
}
|
506
|
-
|
507
|
-
if (context.explicit) return next()
|
508
|
-
|
509
|
-
readJson(path.join(where, "package.json"), log.warn, function (er, data) {
|
510
|
-
if (er) return next(er)
|
511
|
-
lifecycle(data, "preinstall", where, next)
|
512
|
-
})
|
513
|
-
|
514
|
-
function next (er) {
|
515
|
-
if (er) return cb(er)
|
516
|
-
installManyTop_(what, where, context, cb)
|
517
|
-
}
|
518
|
-
}
|
519
|
-
|
520
|
-
function installManyTop_ (what, where, context, cb) {
|
521
|
-
var nm = path.resolve(where, "node_modules")
|
522
|
-
, names = context.explicit
|
523
|
-
? what.map(function (w) { return w.split(/@/).shift() })
|
524
|
-
: []
|
525
|
-
|
526
|
-
fs.readdir(nm, function (er, pkgs) {
|
527
|
-
if (er) return installMany(what, where, context, cb)
|
528
|
-
pkgs = pkgs.filter(function (p) {
|
529
|
-
return !p.match(/^[\._-]/)
|
530
|
-
})
|
531
|
-
asyncMap(pkgs.map(function (p) {
|
532
|
-
return path.resolve(nm, p, "package.json")
|
533
|
-
}), function (jsonfile, cb) {
|
534
|
-
readJson(jsonfile, log.warn, function (er, data) {
|
535
|
-
if (er && er.code !== "ENOENT" && er.code !== "ENOTDIR") return cb(er)
|
536
|
-
if (er) return cb(null, [])
|
537
|
-
return cb(null, [[data.name, data.version]])
|
538
|
-
})
|
539
|
-
}, function (er, packages) {
|
540
|
-
// if there's nothing in node_modules, then don't freak out.
|
541
|
-
if (er) packages = []
|
542
|
-
// add all the existing packages to the family list.
|
543
|
-
// however, do not add to the ancestors list.
|
544
|
-
packages.forEach(function (p) {
|
545
|
-
context.family[p[0]] = p[1]
|
546
|
-
})
|
547
|
-
return installMany(what, where, context, cb)
|
548
|
-
})
|
549
|
-
})
|
550
|
-
}
|
551
|
-
|
552
|
-
function installMany (what, where, context, cb) {
|
553
|
-
// readDependencies takes care of figuring out whether the list of
|
554
|
-
// dependencies we'll iterate below comes from an existing shrinkwrap from a
|
555
|
-
// parent level, a new shrinkwrap at this level, or package.json at this
|
556
|
-
// level, as well as which shrinkwrap (if any) our dependencies should use.
|
557
|
-
var opt = { dev: npm.config.get("dev") }
|
558
|
-
readDependencies(context, where, opt, function (er, data, wrap) {
|
559
|
-
if (er) data = {}
|
560
|
-
|
561
|
-
var parent = data
|
562
|
-
|
563
|
-
var d = data.dependencies || {}
|
564
|
-
|
565
|
-
// if we're explicitly installing "what" into "where", then the shrinkwrap
|
566
|
-
// for "where" doesn't apply. This would be the case if someone were adding
|
567
|
-
// a new package to a shrinkwrapped package. (data.dependencies will not be
|
568
|
-
// used here except to indicate what packages are already present, so
|
569
|
-
// there's no harm in using that.)
|
570
|
-
if (context.explicit) wrap = null
|
571
|
-
|
572
|
-
// what is a list of things.
|
573
|
-
// resolve each one.
|
574
|
-
asyncMap( what
|
575
|
-
, targetResolver(where, context, d)
|
576
|
-
, function (er, targets) {
|
577
|
-
|
578
|
-
if (er) return cb(er)
|
579
|
-
|
580
|
-
// each target will be a data object corresponding
|
581
|
-
// to a package, folder, or whatever that is in the cache now.
|
582
|
-
var newPrev = Object.create(context.family)
|
583
|
-
, newAnc = Object.create(context.ancestors)
|
584
|
-
|
585
|
-
if (!context.root) {
|
586
|
-
newAnc[data.name] = data.version
|
587
|
-
}
|
588
|
-
targets.forEach(function (t) {
|
589
|
-
newPrev[t.name] = t.version
|
590
|
-
})
|
591
|
-
log.silly("resolved", targets)
|
592
|
-
targets.filter(function (t) { return t }).forEach(function (t) {
|
593
|
-
log.info("install", "%s into %s", t._id, where)
|
594
|
-
})
|
595
|
-
asyncMap(targets, function (target, cb) {
|
596
|
-
log.info("installOne", target._id)
|
597
|
-
var wrapData = wrap ? wrap[target.name] : null
|
598
|
-
var newWrap = wrapData && wrapData.dependencies
|
599
|
-
? wrap[target.name].dependencies || {}
|
600
|
-
: null
|
601
|
-
var newContext = { family: newPrev
|
602
|
-
, ancestors: newAnc
|
603
|
-
, parent: parent
|
604
|
-
, explicit: false
|
605
|
-
, wrap: newWrap }
|
606
|
-
installOne(target, where, newContext, cb)
|
607
|
-
}, cb)
|
608
|
-
})
|
609
|
-
})
|
610
|
-
}
|
611
|
-
|
612
|
-
function targetResolver (where, context, deps) {
|
613
|
-
var alreadyInstalledManually = context.explicit ? [] : null
|
614
|
-
, nm = path.resolve(where, "node_modules")
|
615
|
-
, parent = context.parent
|
616
|
-
, wrap = context.wrap
|
617
|
-
|
618
|
-
if (!context.explicit) fs.readdir(nm, function (er, inst) {
|
619
|
-
if (er) return alreadyInstalledManually = []
|
620
|
-
|
621
|
-
// don't even mess with non-package looking things
|
622
|
-
inst = inst.filter(function (p) {
|
623
|
-
return !p.match(/^[\._-]/)
|
624
|
-
})
|
625
|
-
|
626
|
-
asyncMap(inst, function (pkg, cb) {
|
627
|
-
readJson(path.resolve(nm, pkg, "package.json"), log.warn, function (er, d) {
|
628
|
-
if (er && er.code !== "ENOENT" && er.code !== "ENOTDIR") return cb(er)
|
629
|
-
// error means it's not a package, most likely.
|
630
|
-
if (er) return cb(null, [])
|
631
|
-
|
632
|
-
// if it's a bundled dep, then assume that anything there is valid.
|
633
|
-
// otherwise, make sure that it's a semver match with what we want.
|
634
|
-
var bd = parent.bundleDependencies
|
635
|
-
if (bd && bd.indexOf(d.name) !== -1 ||
|
636
|
-
semver.satisfies(d.version, deps[d.name] || "*", true) ||
|
637
|
-
deps[d.name] === d._resolved) {
|
638
|
-
return cb(null, d.name)
|
639
|
-
}
|
640
|
-
|
641
|
-
// see if the package had been previously linked
|
642
|
-
fs.lstat(path.resolve(nm, pkg), function(err, s) {
|
643
|
-
if (err) return cb(null, [])
|
644
|
-
if (s.isSymbolicLink()) {
|
645
|
-
return cb(null, d.name)
|
646
|
-
}
|
647
|
-
|
648
|
-
// something is there, but it's not satisfactory. Clobber it.
|
649
|
-
return cb(null, [])
|
650
|
-
})
|
651
|
-
})
|
652
|
-
}, function (er, inst) {
|
653
|
-
// this is the list of things that are valid and should be ignored.
|
654
|
-
alreadyInstalledManually = inst
|
655
|
-
})
|
656
|
-
})
|
657
|
-
|
658
|
-
var to = 0
|
659
|
-
return function resolver (what, cb) {
|
660
|
-
if (!alreadyInstalledManually) return setTimeout(function () {
|
661
|
-
resolver(what, cb)
|
662
|
-
}, to++)
|
663
|
-
|
664
|
-
// now we know what's been installed here manually,
|
665
|
-
// or tampered with in some way that npm doesn't want to overwrite.
|
666
|
-
if (alreadyInstalledManually.indexOf(what.split("@").shift()) !== -1) {
|
667
|
-
log.verbose("already installed", "skipping %s %s", what, where)
|
668
|
-
return cb(null, [])
|
669
|
-
}
|
670
|
-
|
671
|
-
// check for a version installed higher in the tree.
|
672
|
-
// If installing from a shrinkwrap, it must match exactly.
|
673
|
-
if (context.family[what]) {
|
674
|
-
if (wrap && wrap[what].version === context.family[what]) {
|
675
|
-
log.verbose("shrinkwrap", "use existing", what)
|
676
|
-
return cb(null, [])
|
677
|
-
}
|
678
|
-
}
|
679
|
-
|
680
|
-
// if it's identical to its parent, then it's probably someone
|
681
|
-
// doing `npm install foo` inside of the foo project. Print
|
682
|
-
// a warning, and skip it.
|
683
|
-
if (parent && parent.name === what && !npm.config.get("force")) {
|
684
|
-
log.warn("install", "Refusing to install %s as a dependency of itself"
|
685
|
-
, what)
|
686
|
-
return cb(null, [])
|
687
|
-
}
|
688
|
-
|
689
|
-
if (wrap) {
|
690
|
-
var name = what.split(/@/).shift()
|
691
|
-
if (wrap[name]) {
|
692
|
-
var wrapTarget = readWrap(wrap[name])
|
693
|
-
what = name + "@" + wrapTarget
|
694
|
-
} else {
|
695
|
-
log.verbose("shrinkwrap", "skipping %s (not in shrinkwrap)", what)
|
696
|
-
}
|
697
|
-
} else if (deps[what]) {
|
698
|
-
what = what + "@" + deps[what]
|
699
|
-
}
|
700
|
-
|
701
|
-
// This is where we actually fetch the package, if it's not already
|
702
|
-
// in the cache.
|
703
|
-
// If it's a git repo, then we want to install it, even if the parent
|
704
|
-
// already has a matching copy.
|
705
|
-
// If it's not a git repo, and the parent already has that pkg, then
|
706
|
-
// we can skip installing it again.
|
707
|
-
cache.add(what, function (er, data) {
|
708
|
-
if (er && parent && parent.optionalDependencies &&
|
709
|
-
parent.optionalDependencies.hasOwnProperty(what.split("@")[0])) {
|
710
|
-
log.warn("optional dep failed, continuing", what)
|
711
|
-
log.verbose("optional dep failed, continuing", [what, er])
|
712
|
-
return cb(null, [])
|
713
|
-
}
|
714
|
-
|
715
|
-
var isGit = false
|
716
|
-
, maybeGit = what.split("@").slice(1).join()
|
717
|
-
|
718
|
-
if (maybeGit)
|
719
|
-
isGit = isGitUrl(url.parse(maybeGit))
|
720
|
-
|
721
|
-
if (!er &&
|
722
|
-
data &&
|
723
|
-
!context.explicit &&
|
724
|
-
context.family[data.name] === data.version &&
|
725
|
-
!npm.config.get("force") &&
|
726
|
-
!isGit) {
|
727
|
-
log.info("already installed", data.name + "@" + data.version)
|
728
|
-
return cb(null, [])
|
729
|
-
}
|
730
|
-
|
731
|
-
if (data && !data._from) data._from = what
|
732
|
-
if (er && parent && parent.name) er.parent = parent.name
|
733
|
-
return cb(er, data || [])
|
734
|
-
})
|
735
|
-
}
|
736
|
-
}
|
737
|
-
|
738
|
-
// we've already decided to install this. if anything's in the way,
|
739
|
-
// then uninstall it first.
|
740
|
-
function installOne (target, where, context, cb) {
|
741
|
-
// the --link flag makes this a "link" command if it's at the
|
742
|
-
// the top level.
|
743
|
-
if (where === npm.prefix && npm.config.get("link")
|
744
|
-
&& !npm.config.get("global")) {
|
745
|
-
return localLink(target, where, context, cb)
|
746
|
-
}
|
747
|
-
installOne_(target, where, context, function (er, installedWhat) {
|
748
|
-
|
749
|
-
// check if this one is optional to its parent.
|
750
|
-
if (er && context.parent && context.parent.optionalDependencies &&
|
751
|
-
context.parent.optionalDependencies.hasOwnProperty(target.name)) {
|
752
|
-
log.warn("optional dep failed, continuing", target._id)
|
753
|
-
log.verbose("optional dep failed, continuing", [target._id, er])
|
754
|
-
er = null
|
755
|
-
}
|
756
|
-
|
757
|
-
cb(er, installedWhat)
|
758
|
-
})
|
759
|
-
|
760
|
-
}
|
761
|
-
|
762
|
-
function localLink (target, where, context, cb) {
|
763
|
-
log.verbose("localLink", target._id)
|
764
|
-
var jsonFile = path.resolve( npm.globalDir, target.name
|
765
|
-
, "package.json" )
|
766
|
-
, parent = context.parent
|
767
|
-
|
768
|
-
readJson(jsonFile, log.warn, function (er, data) {
|
769
|
-
if (er && er.code !== "ENOENT" && er.code !== "ENOTDIR") return cb(er)
|
770
|
-
if (er || data._id === target._id) {
|
771
|
-
if (er) {
|
772
|
-
install( path.resolve(npm.globalDir, "..")
|
773
|
-
, target._id
|
774
|
-
, function (er) {
|
775
|
-
if (er) return cb(er, [])
|
776
|
-
thenLink()
|
777
|
-
})
|
778
|
-
} else thenLink()
|
779
|
-
|
780
|
-
function thenLink () {
|
781
|
-
npm.commands.link([target.name], function (er, d) {
|
782
|
-
log.silly("localLink", "back from link", [er, d])
|
783
|
-
cb(er, [resultList(target, where, parent && parent._id)])
|
784
|
-
})
|
785
|
-
}
|
786
|
-
|
787
|
-
} else {
|
788
|
-
log.verbose("localLink", "install locally (no link)", target._id)
|
789
|
-
installOne_(target, where, context, cb)
|
790
|
-
}
|
791
|
-
})
|
792
|
-
}
|
793
|
-
|
794
|
-
function resultList (target, where, parentId) {
|
795
|
-
var nm = path.resolve(where, "node_modules")
|
796
|
-
, targetFolder = path.resolve(nm, target.name)
|
797
|
-
, prettyWhere = where
|
798
|
-
|
799
|
-
if (!npm.config.get("global")) {
|
800
|
-
prettyWhere = path.relative(process.cwd(), where)
|
801
|
-
}
|
802
|
-
|
803
|
-
if (prettyWhere === ".") prettyWhere = null
|
804
|
-
|
805
|
-
if (!npm.config.get("global")) {
|
806
|
-
// print out the folder relative to where we are right now.
|
807
|
-
targetFolder = path.relative(process.cwd(), targetFolder)
|
808
|
-
}
|
809
|
-
|
810
|
-
return [ target._id
|
811
|
-
, targetFolder
|
812
|
-
, prettyWhere && parentId
|
813
|
-
, parentId && prettyWhere
|
814
|
-
, target._from ]
|
815
|
-
}
|
816
|
-
|
817
|
-
// name => install locations
|
818
|
-
var installOnesInProgress = Object.create(null)
|
819
|
-
|
820
|
-
function isIncompatibleInstallOneInProgress(target, where) {
|
821
|
-
return target.name in installOnesInProgress &&
|
822
|
-
installOnesInProgress[target.name].indexOf(where) !== -1
|
823
|
-
}
|
824
|
-
|
825
|
-
function installOne_ (target, where, context, cb) {
|
826
|
-
var nm = path.resolve(where, "node_modules")
|
827
|
-
, targetFolder = path.resolve(nm, target.name)
|
828
|
-
, prettyWhere = path.relative(process.cwd(), where)
|
829
|
-
, parent = context.parent
|
830
|
-
|
831
|
-
if (prettyWhere === ".") prettyWhere = null
|
832
|
-
|
833
|
-
if (isIncompatibleInstallOneInProgress(target, where)) {
|
834
|
-
var prettyTarget = path.relative(process.cwd(), targetFolder)
|
835
|
-
|
836
|
-
// just call back, with no error. the error will be detected in the
|
837
|
-
// final check for peer-invalid dependencies
|
838
|
-
return cb()
|
839
|
-
}
|
840
|
-
|
841
|
-
if (!(target.name in installOnesInProgress)) {
|
842
|
-
installOnesInProgress[target.name] = []
|
843
|
-
}
|
844
|
-
installOnesInProgress[target.name].push(where)
|
845
|
-
var indexOfIOIP = installOnesInProgress[target.name].length - 1
|
846
|
-
, force = npm.config.get("force")
|
847
|
-
, nodeVersion = npm.config.get("node-version")
|
848
|
-
, strict = npm.config.get("engine-strict")
|
849
|
-
, c = npmInstallChecks
|
850
|
-
|
851
|
-
chain
|
852
|
-
( [ [c.checkEngine, target, npm.version, nodeVersion, force, strict]
|
853
|
-
, [c.checkPlatform, target, force]
|
854
|
-
, [c.checkCycle, target, context.ancestors]
|
855
|
-
, [c.checkGit, targetFolder]
|
856
|
-
, [write, target, targetFolder, context] ]
|
857
|
-
, function (er, d) {
|
858
|
-
installOnesInProgress[target.name].splice(indexOfIOIP, 1)
|
859
|
-
|
860
|
-
if (er) return cb(er)
|
861
|
-
|
862
|
-
d.push(resultList(target, where, parent && parent._id))
|
863
|
-
cb(er, d)
|
864
|
-
}
|
865
|
-
)
|
866
|
-
}
|
867
|
-
|
868
|
-
function write (target, targetFolder, context, cb_) {
|
869
|
-
var up = npm.config.get("unsafe-perm")
|
870
|
-
, user = up ? null : npm.config.get("user")
|
871
|
-
, group = up ? null : npm.config.get("group")
|
872
|
-
, family = context.family
|
873
|
-
|
874
|
-
function cb (er, data) {
|
875
|
-
// cache.unpack returns the data object, and all we care about
|
876
|
-
// is the list of installed packages from that last thing.
|
877
|
-
if (!er) return cb_(er, data)
|
878
|
-
|
879
|
-
if (false === npm.config.get("rollback")) return cb_(er)
|
880
|
-
npm.commands.unbuild([targetFolder], true, function (er2) {
|
881
|
-
if (er2) log.error("error rolling back", target._id, er2)
|
882
|
-
return cb_(er, data)
|
883
|
-
})
|
884
|
-
}
|
885
|
-
|
886
|
-
var bundled = []
|
887
|
-
|
888
|
-
chain
|
889
|
-
( [ [ cache.unpack, target.name, target.version, targetFolder
|
890
|
-
, null, null, user, group ]
|
891
|
-
, [ fs, "writeFile"
|
892
|
-
, path.resolve(targetFolder, "package.json")
|
893
|
-
, JSON.stringify(target, null, 2) + "\n" ]
|
894
|
-
, [ lifecycle, target, "preinstall", targetFolder ]
|
895
|
-
, function (cb) {
|
896
|
-
if (!target.bundleDependencies) return cb()
|
897
|
-
|
898
|
-
var bd = path.resolve(targetFolder, "node_modules")
|
899
|
-
fs.readdir(bd, function (er, b) {
|
900
|
-
// nothing bundled, maybe
|
901
|
-
if (er) return cb()
|
902
|
-
bundled = b || []
|
903
|
-
cb()
|
904
|
-
})
|
905
|
-
} ]
|
906
|
-
|
907
|
-
// nest the chain so that we can throw away the results returned
|
908
|
-
// up until this point, since we really don't care about it.
|
909
|
-
, function X (er) {
|
910
|
-
if (er) return cb(er)
|
911
|
-
|
912
|
-
// before continuing to installing dependencies, check for a shrinkwrap.
|
913
|
-
var opt = { dev: npm.config.get("dev") }
|
914
|
-
readDependencies(context, targetFolder, opt, function (er, data, wrap) {
|
915
|
-
var deps = prepareForInstallMany(data, "dependencies", bundled, wrap,
|
916
|
-
family)
|
917
|
-
var depsTargetFolder = targetFolder
|
918
|
-
var depsContext = { family: family
|
919
|
-
, ancestors: context.ancestors
|
920
|
-
, parent: target
|
921
|
-
, explicit: false
|
922
|
-
, wrap: wrap }
|
923
|
-
|
924
|
-
var peerDeps = prepareForInstallMany(data, "peerDependencies", bundled,
|
925
|
-
wrap, family)
|
926
|
-
var pdTargetFolder = path.resolve(targetFolder, "..", "..")
|
927
|
-
var pdContext = context
|
928
|
-
|
929
|
-
var actions =
|
930
|
-
[ [ installManyAndBuild, deps, depsTargetFolder, depsContext ] ]
|
931
|
-
|
932
|
-
if (peerDeps.length > 0) {
|
933
|
-
actions.push(
|
934
|
-
[ installMany, peerDeps, pdTargetFolder, pdContext ]
|
935
|
-
)
|
936
|
-
}
|
937
|
-
|
938
|
-
chain(actions, cb)
|
939
|
-
})
|
940
|
-
})
|
941
|
-
}
|
942
|
-
|
943
|
-
function installManyAndBuild (deps, targetFolder, context, cb) {
|
944
|
-
installMany(deps, targetFolder, context, function (er, d) {
|
945
|
-
log.verbose("about to build", targetFolder)
|
946
|
-
if (er) return cb(er)
|
947
|
-
npm.commands.build( [targetFolder]
|
948
|
-
, npm.config.get("global")
|
949
|
-
, true
|
950
|
-
, function (er) { return cb(er, d) })
|
951
|
-
})
|
952
|
-
}
|
953
|
-
|
954
|
-
function prepareForInstallMany (packageData, depsKey, bundled, wrap, family) {
|
955
|
-
var deps = Object.keys(packageData[depsKey] || {})
|
956
|
-
|
957
|
-
// don't install bundleDependencies, unless they're missing.
|
958
|
-
if (packageData.bundleDependencies) {
|
959
|
-
deps = deps.filter(function (d) {
|
960
|
-
return packageData.bundleDependencies.indexOf(d) === -1 ||
|
961
|
-
bundled.indexOf(d) === -1
|
962
|
-
})
|
963
|
-
}
|
964
|
-
|
965
|
-
return deps.filter(function (d) {
|
966
|
-
// prefer to not install things that are satisfied by
|
967
|
-
// something in the "family" list, unless we're installing
|
968
|
-
// from a shrinkwrap.
|
969
|
-
if (wrap) return wrap
|
970
|
-
if (semver.validRange(family[d], true))
|
971
|
-
return !semver.satisfies(family[d], packageData[depsKey][d], true)
|
972
|
-
return true
|
973
|
-
}).map(function (d) {
|
974
|
-
var t = packageData[depsKey][d]
|
975
|
-
, parsed = url.parse(t.replace(/^git\+/, "git"))
|
976
|
-
t = d + "@" + t
|
977
|
-
return t
|
978
|
-
})
|
979
|
-
}
|