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,124 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
// Standalone semver comparison program.
|
3
|
-
// Exits successfully and prints matching version(s) if
|
4
|
-
// any supplied version is valid and passes all tests.
|
5
|
-
|
6
|
-
var argv = process.argv.slice(2)
|
7
|
-
, versions = []
|
8
|
-
, range = []
|
9
|
-
, gt = []
|
10
|
-
, lt = []
|
11
|
-
, eq = []
|
12
|
-
, inc = null
|
13
|
-
, version = require("../package.json").version
|
14
|
-
, loose = false
|
15
|
-
, semver = require("../semver")
|
16
|
-
, reverse = false
|
17
|
-
|
18
|
-
main()
|
19
|
-
|
20
|
-
function main () {
|
21
|
-
if (!argv.length) return help()
|
22
|
-
while (argv.length) {
|
23
|
-
var a = argv.shift()
|
24
|
-
var i = a.indexOf('=')
|
25
|
-
if (i !== -1) {
|
26
|
-
a = a.slice(0, i)
|
27
|
-
argv.unshift(a.slice(i + 1))
|
28
|
-
}
|
29
|
-
switch (a) {
|
30
|
-
case "-rv": case "-rev": case "--rev": case "--reverse":
|
31
|
-
reverse = true
|
32
|
-
break
|
33
|
-
case "-l": case "--loose":
|
34
|
-
loose = true
|
35
|
-
break
|
36
|
-
case "-v": case "--version":
|
37
|
-
versions.push(argv.shift())
|
38
|
-
break
|
39
|
-
case "-i": case "--inc": case "--increment":
|
40
|
-
switch (argv[0]) {
|
41
|
-
case "major": case "minor": case "patch": case "prerelease":
|
42
|
-
inc = argv.shift()
|
43
|
-
break
|
44
|
-
default:
|
45
|
-
inc = "patch"
|
46
|
-
break
|
47
|
-
}
|
48
|
-
break
|
49
|
-
case "-r": case "--range":
|
50
|
-
range.push(argv.shift())
|
51
|
-
break
|
52
|
-
case "-h": case "--help": case "-?":
|
53
|
-
return help()
|
54
|
-
default:
|
55
|
-
versions.push(a)
|
56
|
-
break
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
versions = versions.filter(function (v) {
|
61
|
-
return semver.valid(v, loose)
|
62
|
-
})
|
63
|
-
if (!versions.length) return fail()
|
64
|
-
if (inc && (versions.length !== 1 || range.length))
|
65
|
-
return failInc()
|
66
|
-
|
67
|
-
for (var i = 0, l = range.length; i < l ; i ++) {
|
68
|
-
versions = versions.filter(function (v) {
|
69
|
-
return semver.satisfies(v, range[i], loose)
|
70
|
-
})
|
71
|
-
if (!versions.length) return fail()
|
72
|
-
}
|
73
|
-
return success(versions)
|
74
|
-
}
|
75
|
-
|
76
|
-
function failInc () {
|
77
|
-
console.error("--inc can only be used on a single version with no range")
|
78
|
-
fail()
|
79
|
-
}
|
80
|
-
|
81
|
-
function fail () { process.exit(1) }
|
82
|
-
|
83
|
-
function success () {
|
84
|
-
var compare = reverse ? "rcompare" : "compare"
|
85
|
-
versions.sort(function (a, b) {
|
86
|
-
return semver[compare](a, b, loose)
|
87
|
-
}).map(function (v) {
|
88
|
-
return semver.clean(v, loose)
|
89
|
-
}).map(function (v) {
|
90
|
-
return inc ? semver.inc(v, inc, loose) : v
|
91
|
-
}).forEach(function (v,i,_) { console.log(v) })
|
92
|
-
}
|
93
|
-
|
94
|
-
function help () {
|
95
|
-
console.log(["SemVer " + version
|
96
|
-
,""
|
97
|
-
,"A JavaScript implementation of the http://semver.org/ specification"
|
98
|
-
,"Copyright Isaac Z. Schlueter"
|
99
|
-
,""
|
100
|
-
,"Usage: semver [options] <version> [<version> [...]]"
|
101
|
-
,"Prints valid versions sorted by SemVer precedence"
|
102
|
-
,""
|
103
|
-
,"Options:"
|
104
|
-
,"-r --range <range>"
|
105
|
-
," Print versions that match the specified range."
|
106
|
-
,""
|
107
|
-
,"-i --increment [<level>]"
|
108
|
-
," Increment a version by the specified level. Level can"
|
109
|
-
," be one of: major, minor, patch, or prerelease"
|
110
|
-
," Default level is 'patch'."
|
111
|
-
," Only one version may be specified."
|
112
|
-
,""
|
113
|
-
,"-l --loose"
|
114
|
-
," Interpret versions and ranges loosely"
|
115
|
-
,""
|
116
|
-
,"Program exits successfully if any valid version satisfies"
|
117
|
-
,"all supplied ranges, and prints all satisfying versions."
|
118
|
-
,""
|
119
|
-
,"If no satisfying versions are found, then exits failure."
|
120
|
-
,""
|
121
|
-
,"Versions are printed in ascending order, so supplying"
|
122
|
-
,"multiple versions to the utility will just sort them."
|
123
|
-
].join("\n"))
|
124
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "semver",
|
3
|
-
"version": "2.2.1",
|
4
|
-
"description": "The semantic version parser used by npm.",
|
5
|
-
"main": "semver.js",
|
6
|
-
"browser": "semver.browser.js",
|
7
|
-
"min": "semver.min.js",
|
8
|
-
"scripts": {
|
9
|
-
"test": "tap test/*.js",
|
10
|
-
"prepublish": "make"
|
11
|
-
},
|
12
|
-
"devDependencies": {
|
13
|
-
"tap": "0.x >=0.0.4",
|
14
|
-
"uglify-js": "~2.3.6"
|
15
|
-
},
|
16
|
-
"license": "BSD",
|
17
|
-
"repository": {
|
18
|
-
"type": "git",
|
19
|
-
"url": "git://github.com/isaacs/node-semver.git"
|
20
|
-
},
|
21
|
-
"bin": {
|
22
|
-
"semver": "./bin/semver"
|
23
|
-
},
|
24
|
-
"readme": "semver(1) -- The semantic versioner for npm\n===========================================\n\n## Usage\n\n $ npm install semver\n\n semver.valid('1.2.3') // '1.2.3'\n semver.valid('a.b.c') // null\n semver.clean(' =v1.2.3 ') // '1.2.3'\n semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true\n semver.gt('1.2.3', '9.8.7') // false\n semver.lt('1.2.3', '9.8.7') // true\n\nAs a command-line utility:\n\n $ semver -h\n\n Usage: semver <version> [<version> [...]] [-r <range> | -i <inc> | -d <dec>]\n Test if version(s) satisfy the supplied range(s), and sort them.\n\n Multiple versions or ranges may be supplied, unless increment\n or decrement options are specified. In that case, only a single\n version may be used, and it is incremented by the specified level\n\n Program exits successfully if any valid version satisfies\n all supplied ranges, and prints all satisfying versions.\n\n If no versions are valid, or ranges are not satisfied,\n then exits failure.\n\n Versions are printed in ascending order, so supplying\n multiple versions to the utility will just sort them.\n\n## Versions\n\nA \"version\" is described by the v2.0.0 specification found at\n<http://semver.org/>.\n\nA leading `\"=\"` or `\"v\"` character is stripped off and ignored.\n\n## Ranges\n\nThe following range styles are supported:\n\n* `1.2.3` A specific version. When nothing else will do. Note that\n build metadata is still ignored, so `1.2.3+build2012` will satisfy\n this range.\n* `>1.2.3` Greater than a specific version.\n* `<1.2.3` Less than a specific version. If there is no prerelease\n tag on the version range, then no prerelease version will be allowed\n either, even though these are technically \"less than\".\n* `>=1.2.3` Greater than or equal to. Note that prerelease versions\n are NOT equal to their \"normal\" equivalents, so `1.2.3-beta` will\n not satisfy this range, but `2.3.0-beta` will.\n* `<=1.2.3` Less than or equal to. In this case, prerelease versions\n ARE allowed, so `1.2.3-beta` would satisfy.\n* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4`\n* `~1.2.3` := `>=1.2.3-0 <1.3.0-0` \"Reasonably close to 1.2.3\". When\n using tilde operators, prerelease versions are supported as well,\n but a prerelease of the next significant digit will NOT be\n satisfactory, so `1.3.0-beta` will not satisfy `~1.2.3`.\n* `^1.2.3` := `>=1.2.3-0 <2.0.0-0` \"Compatible with 1.2.3\". When\n using caret operators, anything from the specified version (including\n prerelease) will be supported up to, but not including, the next\n major version (or its prereleases). `1.5.1` will satisfy `^1.2.3`,\n while `1.2.2` and `2.0.0-beta` will not.\n* `^0.1.3` := `>=0.1.3-0 <0.2.0-0` \"Compatible with 0.1.3\". 0.x.x versions are\n special: the first non-zero component indicates potentially breaking changes,\n meaning the caret operator matches any version with the same first non-zero\n component starting at the specified version.\n* `^0.0.2` := `=0.0.2` \"Only the version 0.0.2 is considered compatible\"\n* `~1.2` := `>=1.2.0-0 <1.3.0-0` \"Any version starting with 1.2\"\n* `^1.2` := `>=1.2.0-0 <2.0.0-0` \"Any version compatible with 1.2\"\n* `1.2.x` := `>=1.2.0-0 <1.3.0-0` \"Any version starting with 1.2\"\n* `~1` := `>=1.0.0-0 <2.0.0-0` \"Any version starting with 1\"\n* `^1` := `>=1.0.0-0 <2.0.0-0` \"Any version compatible with 1\"\n* `1.x` := `>=1.0.0-0 <2.0.0-0` \"Any version starting with 1\"\n\n\nRanges can be joined with either a space (which implies \"and\") or a\n`||` (which implies \"or\").\n\n## Functions\n\nAll methods and classes take a final `loose` boolean argument that, if\ntrue, will be more forgiving about not-quite-valid semver strings.\nThe resulting output will always be 100% strict, of course.\n\nStrict-mode Comparators and Ranges will be strict about the SemVer\nstrings that they parse.\n\n* valid(v): Return the parsed version, or null if it's not valid.\n* inc(v, release): Return the version incremented by the release type\n (major, minor, patch, or prerelease), or null if it's not valid.\n\n### Comparison\n\n* gt(v1, v2): `v1 > v2`\n* gte(v1, v2): `v1 >= v2`\n* lt(v1, v2): `v1 < v2`\n* lte(v1, v2): `v1 <= v2`\n* eq(v1, v2): `v1 == v2` This is true if they're logically equivalent,\n even if they're not the exact same string. You already know how to\n compare strings.\n* neq(v1, v2): `v1 != v2` The opposite of eq.\n* cmp(v1, comparator, v2): Pass in a comparison string, and it'll call\n the corresponding function above. `\"===\"` and `\"!==\"` do simple\n string comparison, but are included for completeness. Throws if an\n invalid comparison string is provided.\n* compare(v1, v2): Return 0 if v1 == v2, or 1 if v1 is greater, or -1 if\n v2 is greater. Sorts in ascending order if passed to Array.sort().\n* rcompare(v1, v2): The reverse of compare. Sorts an array of versions\n in descending order when passed to Array.sort().\n\n\n### Ranges\n\n* validRange(range): Return the valid range or null if it's not valid\n* satisfies(version, range): Return true if the version satisfies the\n range.\n* maxSatisfying(versions, range): Return the highest version in the list\n that satisfies the range, or null if none of them do.\n* gtr(version, range): Return true if version is greater than all the\n versions possible in the range.\n* ltr(version, range): Return true if version is less than all the\n versions possible in the range.\n* outside(version, range, hilo): Return true if the version is outside\n the bounds of the range in either the high or low direction. The\n `hilo` argument must be either the string `'>'` or `'<'`. (This is\n the function called by `gtr` and `ltr`.)\n\nNote that, since ranges may be non-contiguous, a version might not be\ngreater than a range, less than a range, *or* satisfy a range! For\nexample, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9`\nuntil `2.0.0`, so the version `1.2.10` would not be greater than the\nrange (because 2.0.1 satisfies, which is higher), nor less than the\nrange (since 1.2.8 satisfies, which is lower), and it also does not\nsatisfy the range.\n\nIf you want to know if a version satisfies or does not satisfy a\nrange, use the `satisfies(version, range)` function.\n",
|
25
|
-
"readmeFilename": "README.md",
|
26
|
-
"bugs": {
|
27
|
-
"url": "https://github.com/isaacs/node-semver/issues"
|
28
|
-
},
|
29
|
-
"homepage": "https://github.com/isaacs/node-semver",
|
30
|
-
"_id": "semver@2.2.1",
|
31
|
-
"_from": "semver@latest"
|
32
|
-
}
|
@@ -1,1007 +0,0 @@
|
|
1
|
-
;(function(exports) {
|
2
|
-
|
3
|
-
// export the class if we are in a Node-like system.
|
4
|
-
if (typeof module === 'object' && module.exports === exports)
|
5
|
-
exports = module.exports = SemVer;
|
6
|
-
|
7
|
-
// The debug function is excluded entirely from the minified version.
|
8
|
-
|
9
|
-
// Note: this is the semver.org version of the spec that it implements
|
10
|
-
// Not necessarily the package version of this code.
|
11
|
-
exports.SEMVER_SPEC_VERSION = '2.0.0';
|
12
|
-
|
13
|
-
// The actual regexps go on exports.re
|
14
|
-
var re = exports.re = [];
|
15
|
-
var src = exports.src = [];
|
16
|
-
var R = 0;
|
17
|
-
|
18
|
-
// The following Regular Expressions can be used for tokenizing,
|
19
|
-
// validating, and parsing SemVer version strings.
|
20
|
-
|
21
|
-
// ## Numeric Identifier
|
22
|
-
// A single `0`, or a non-zero digit followed by zero or more digits.
|
23
|
-
|
24
|
-
var NUMERICIDENTIFIER = R++;
|
25
|
-
src[NUMERICIDENTIFIER] = '0|[1-9]\\d*';
|
26
|
-
var NUMERICIDENTIFIERLOOSE = R++;
|
27
|
-
src[NUMERICIDENTIFIERLOOSE] = '[0-9]+';
|
28
|
-
|
29
|
-
|
30
|
-
// ## Non-numeric Identifier
|
31
|
-
// Zero or more digits, followed by a letter or hyphen, and then zero or
|
32
|
-
// more letters, digits, or hyphens.
|
33
|
-
|
34
|
-
var NONNUMERICIDENTIFIER = R++;
|
35
|
-
src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*';
|
36
|
-
|
37
|
-
|
38
|
-
// ## Main Version
|
39
|
-
// Three dot-separated numeric identifiers.
|
40
|
-
|
41
|
-
var MAINVERSION = R++;
|
42
|
-
src[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\.' +
|
43
|
-
'(' + src[NUMERICIDENTIFIER] + ')\\.' +
|
44
|
-
'(' + src[NUMERICIDENTIFIER] + ')';
|
45
|
-
|
46
|
-
var MAINVERSIONLOOSE = R++;
|
47
|
-
src[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
|
48
|
-
'(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
|
49
|
-
'(' + src[NUMERICIDENTIFIERLOOSE] + ')';
|
50
|
-
|
51
|
-
// ## Pre-release Version Identifier
|
52
|
-
// A numeric identifier, or a non-numeric identifier.
|
53
|
-
|
54
|
-
var PRERELEASEIDENTIFIER = R++;
|
55
|
-
src[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +
|
56
|
-
'|' + src[NONNUMERICIDENTIFIER] + ')';
|
57
|
-
|
58
|
-
var PRERELEASEIDENTIFIERLOOSE = R++;
|
59
|
-
src[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +
|
60
|
-
'|' + src[NONNUMERICIDENTIFIER] + ')';
|
61
|
-
|
62
|
-
|
63
|
-
// ## Pre-release Version
|
64
|
-
// Hyphen, followed by one or more dot-separated pre-release version
|
65
|
-
// identifiers.
|
66
|
-
|
67
|
-
var PRERELEASE = R++;
|
68
|
-
src[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +
|
69
|
-
'(?:\\.' + src[PRERELEASEIDENTIFIER] + ')*))';
|
70
|
-
|
71
|
-
var PRERELEASELOOSE = R++;
|
72
|
-
src[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +
|
73
|
-
'(?:\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))';
|
74
|
-
|
75
|
-
// ## Build Metadata Identifier
|
76
|
-
// Any combination of digits, letters, or hyphens.
|
77
|
-
|
78
|
-
var BUILDIDENTIFIER = R++;
|
79
|
-
src[BUILDIDENTIFIER] = '[0-9A-Za-z-]+';
|
80
|
-
|
81
|
-
// ## Build Metadata
|
82
|
-
// Plus sign, followed by one or more period-separated build metadata
|
83
|
-
// identifiers.
|
84
|
-
|
85
|
-
var BUILD = R++;
|
86
|
-
src[BUILD] = '(?:\\+(' + src[BUILDIDENTIFIER] +
|
87
|
-
'(?:\\.' + src[BUILDIDENTIFIER] + ')*))';
|
88
|
-
|
89
|
-
|
90
|
-
// ## Full Version String
|
91
|
-
// A main version, followed optionally by a pre-release version and
|
92
|
-
// build metadata.
|
93
|
-
|
94
|
-
// Note that the only major, minor, patch, and pre-release sections of
|
95
|
-
// the version string are capturing groups. The build metadata is not a
|
96
|
-
// capturing group, because it should not ever be used in version
|
97
|
-
// comparison.
|
98
|
-
|
99
|
-
var FULL = R++;
|
100
|
-
var FULLPLAIN = 'v?' + src[MAINVERSION] +
|
101
|
-
src[PRERELEASE] + '?' +
|
102
|
-
src[BUILD] + '?';
|
103
|
-
|
104
|
-
src[FULL] = '^' + FULLPLAIN + '$';
|
105
|
-
|
106
|
-
// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
|
107
|
-
// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
|
108
|
-
// common in the npm registry.
|
109
|
-
var LOOSEPLAIN = '[v=\\s]*' + src[MAINVERSIONLOOSE] +
|
110
|
-
src[PRERELEASELOOSE] + '?' +
|
111
|
-
src[BUILD] + '?';
|
112
|
-
|
113
|
-
var LOOSE = R++;
|
114
|
-
src[LOOSE] = '^' + LOOSEPLAIN + '$';
|
115
|
-
|
116
|
-
var GTLT = R++;
|
117
|
-
src[GTLT] = '((?:<|>)?=?)';
|
118
|
-
|
119
|
-
// Something like "2.*" or "1.2.x".
|
120
|
-
// Note that "x.x" is a valid xRange identifer, meaning "any version"
|
121
|
-
// Only the first item is strictly required.
|
122
|
-
var XRANGEIDENTIFIERLOOSE = R++;
|
123
|
-
src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\*';
|
124
|
-
var XRANGEIDENTIFIER = R++;
|
125
|
-
src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\*';
|
126
|
-
|
127
|
-
var XRANGEPLAIN = R++;
|
128
|
-
src[XRANGEPLAIN] = '[v=\\s]*(' + src[XRANGEIDENTIFIER] + ')' +
|
129
|
-
'(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
|
130
|
-
'(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
|
131
|
-
'(?:(' + src[PRERELEASE] + ')' +
|
132
|
-
')?)?)?';
|
133
|
-
|
134
|
-
var XRANGEPLAINLOOSE = R++;
|
135
|
-
src[XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
136
|
-
'(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
137
|
-
'(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
138
|
-
'(?:(' + src[PRERELEASELOOSE] + ')' +
|
139
|
-
')?)?)?';
|
140
|
-
|
141
|
-
// >=2.x, for example, means >=2.0.0-0
|
142
|
-
// <1.x would be the same as "<1.0.0-0", though.
|
143
|
-
var XRANGE = R++;
|
144
|
-
src[XRANGE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAIN] + '$';
|
145
|
-
var XRANGELOOSE = R++;
|
146
|
-
src[XRANGELOOSE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAINLOOSE] + '$';
|
147
|
-
|
148
|
-
// Tilde ranges.
|
149
|
-
// Meaning is "reasonably at or greater than"
|
150
|
-
var LONETILDE = R++;
|
151
|
-
src[LONETILDE] = '(?:~>?)';
|
152
|
-
|
153
|
-
var TILDETRIM = R++;
|
154
|
-
src[TILDETRIM] = '(\\s*)' + src[LONETILDE] + '\\s+';
|
155
|
-
re[TILDETRIM] = new RegExp(src[TILDETRIM], 'g');
|
156
|
-
var tildeTrimReplace = '$1~';
|
157
|
-
|
158
|
-
var TILDE = R++;
|
159
|
-
src[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$';
|
160
|
-
var TILDELOOSE = R++;
|
161
|
-
src[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$';
|
162
|
-
|
163
|
-
// Caret ranges.
|
164
|
-
// Meaning is "at least and backwards compatible with"
|
165
|
-
var LONECARET = R++;
|
166
|
-
src[LONECARET] = '(?:\\^)';
|
167
|
-
|
168
|
-
var CARETTRIM = R++;
|
169
|
-
src[CARETTRIM] = '(\\s*)' + src[LONECARET] + '\\s+';
|
170
|
-
re[CARETTRIM] = new RegExp(src[CARETTRIM], 'g');
|
171
|
-
var caretTrimReplace = '$1^';
|
172
|
-
|
173
|
-
var CARET = R++;
|
174
|
-
src[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$';
|
175
|
-
var CARETLOOSE = R++;
|
176
|
-
src[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$';
|
177
|
-
|
178
|
-
// A simple gt/lt/eq thing, or just "" to indicate "any version"
|
179
|
-
var COMPARATORLOOSE = R++;
|
180
|
-
src[COMPARATORLOOSE] = '^' + src[GTLT] + '\\s*(' + LOOSEPLAIN + ')$|^$';
|
181
|
-
var COMPARATOR = R++;
|
182
|
-
src[COMPARATOR] = '^' + src[GTLT] + '\\s*(' + FULLPLAIN + ')$|^$';
|
183
|
-
|
184
|
-
|
185
|
-
// An expression to strip any whitespace between the gtlt and the thing
|
186
|
-
// it modifies, so that `> 1.2.3` ==> `>1.2.3`
|
187
|
-
var COMPARATORTRIM = R++;
|
188
|
-
src[COMPARATORTRIM] = '(\\s*)' + src[GTLT] +
|
189
|
-
'\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')';
|
190
|
-
|
191
|
-
// this one has to use the /g flag
|
192
|
-
re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g');
|
193
|
-
var comparatorTrimReplace = '$1$2$3';
|
194
|
-
|
195
|
-
|
196
|
-
// Something like `1.2.3 - 1.2.4`
|
197
|
-
// Note that these all use the loose form, because they'll be
|
198
|
-
// checked against either the strict or loose comparator form
|
199
|
-
// later.
|
200
|
-
var HYPHENRANGE = R++;
|
201
|
-
src[HYPHENRANGE] = '^\\s*(' + src[XRANGEPLAIN] + ')' +
|
202
|
-
'\\s+-\\s+' +
|
203
|
-
'(' + src[XRANGEPLAIN] + ')' +
|
204
|
-
'\\s*$';
|
205
|
-
|
206
|
-
var HYPHENRANGELOOSE = R++;
|
207
|
-
src[HYPHENRANGELOOSE] = '^\\s*(' + src[XRANGEPLAINLOOSE] + ')' +
|
208
|
-
'\\s+-\\s+' +
|
209
|
-
'(' + src[XRANGEPLAINLOOSE] + ')' +
|
210
|
-
'\\s*$';
|
211
|
-
|
212
|
-
// Star ranges basically just allow anything at all.
|
213
|
-
var STAR = R++;
|
214
|
-
src[STAR] = '(<|>)?=?\\s*\\*';
|
215
|
-
|
216
|
-
// Compile to actual regexp objects.
|
217
|
-
// All are flag-free, unless they were created above with a flag.
|
218
|
-
for (var i = 0; i < R; i++) {
|
219
|
-
;
|
220
|
-
if (!re[i])
|
221
|
-
re[i] = new RegExp(src[i]);
|
222
|
-
}
|
223
|
-
|
224
|
-
exports.parse = parse;
|
225
|
-
function parse(version, loose) {
|
226
|
-
var r = loose ? re[LOOSE] : re[FULL];
|
227
|
-
return (r.test(version)) ? new SemVer(version, loose) : null;
|
228
|
-
}
|
229
|
-
|
230
|
-
exports.valid = valid;
|
231
|
-
function valid(version, loose) {
|
232
|
-
var v = parse(version, loose);
|
233
|
-
return v ? v.version : null;
|
234
|
-
}
|
235
|
-
|
236
|
-
|
237
|
-
exports.clean = clean;
|
238
|
-
function clean(version, loose) {
|
239
|
-
var s = parse(version, loose);
|
240
|
-
return s ? s.version : null;
|
241
|
-
}
|
242
|
-
|
243
|
-
exports.SemVer = SemVer;
|
244
|
-
|
245
|
-
function SemVer(version, loose) {
|
246
|
-
if (version instanceof SemVer) {
|
247
|
-
if (version.loose === loose)
|
248
|
-
return version;
|
249
|
-
else
|
250
|
-
version = version.version;
|
251
|
-
}
|
252
|
-
|
253
|
-
if (!(this instanceof SemVer))
|
254
|
-
return new SemVer(version, loose);
|
255
|
-
|
256
|
-
;
|
257
|
-
this.loose = loose;
|
258
|
-
var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);
|
259
|
-
|
260
|
-
if (!m)
|
261
|
-
throw new TypeError('Invalid Version: ' + version);
|
262
|
-
|
263
|
-
this.raw = version;
|
264
|
-
|
265
|
-
// these are actually numbers
|
266
|
-
this.major = +m[1];
|
267
|
-
this.minor = +m[2];
|
268
|
-
this.patch = +m[3];
|
269
|
-
|
270
|
-
// numberify any prerelease numeric ids
|
271
|
-
if (!m[4])
|
272
|
-
this.prerelease = [];
|
273
|
-
else
|
274
|
-
this.prerelease = m[4].split('.').map(function(id) {
|
275
|
-
return (/^[0-9]+$/.test(id)) ? +id : id;
|
276
|
-
});
|
277
|
-
|
278
|
-
this.build = m[5] ? m[5].split('.') : [];
|
279
|
-
this.format();
|
280
|
-
}
|
281
|
-
|
282
|
-
SemVer.prototype.format = function() {
|
283
|
-
this.version = this.major + '.' + this.minor + '.' + this.patch;
|
284
|
-
if (this.prerelease.length)
|
285
|
-
this.version += '-' + this.prerelease.join('.');
|
286
|
-
return this.version;
|
287
|
-
};
|
288
|
-
|
289
|
-
SemVer.prototype.inspect = function() {
|
290
|
-
return '<SemVer "' + this + '">';
|
291
|
-
};
|
292
|
-
|
293
|
-
SemVer.prototype.toString = function() {
|
294
|
-
return this.version;
|
295
|
-
};
|
296
|
-
|
297
|
-
SemVer.prototype.compare = function(other) {
|
298
|
-
;
|
299
|
-
if (!(other instanceof SemVer))
|
300
|
-
other = new SemVer(other, this.loose);
|
301
|
-
|
302
|
-
return this.compareMain(other) || this.comparePre(other);
|
303
|
-
};
|
304
|
-
|
305
|
-
SemVer.prototype.compareMain = function(other) {
|
306
|
-
if (!(other instanceof SemVer))
|
307
|
-
other = new SemVer(other, this.loose);
|
308
|
-
|
309
|
-
return compareIdentifiers(this.major, other.major) ||
|
310
|
-
compareIdentifiers(this.minor, other.minor) ||
|
311
|
-
compareIdentifiers(this.patch, other.patch);
|
312
|
-
};
|
313
|
-
|
314
|
-
SemVer.prototype.comparePre = function(other) {
|
315
|
-
if (!(other instanceof SemVer))
|
316
|
-
other = new SemVer(other, this.loose);
|
317
|
-
|
318
|
-
// NOT having a prerelease is > having one
|
319
|
-
if (this.prerelease.length && !other.prerelease.length)
|
320
|
-
return -1;
|
321
|
-
else if (!this.prerelease.length && other.prerelease.length)
|
322
|
-
return 1;
|
323
|
-
else if (!this.prerelease.lenth && !other.prerelease.length)
|
324
|
-
return 0;
|
325
|
-
|
326
|
-
var i = 0;
|
327
|
-
do {
|
328
|
-
var a = this.prerelease[i];
|
329
|
-
var b = other.prerelease[i];
|
330
|
-
;
|
331
|
-
if (a === undefined && b === undefined)
|
332
|
-
return 0;
|
333
|
-
else if (b === undefined)
|
334
|
-
return 1;
|
335
|
-
else if (a === undefined)
|
336
|
-
return -1;
|
337
|
-
else if (a === b)
|
338
|
-
continue;
|
339
|
-
else
|
340
|
-
return compareIdentifiers(a, b);
|
341
|
-
} while (++i);
|
342
|
-
};
|
343
|
-
|
344
|
-
SemVer.prototype.inc = function(release) {
|
345
|
-
switch (release) {
|
346
|
-
case 'major':
|
347
|
-
this.major++;
|
348
|
-
this.minor = -1;
|
349
|
-
case 'minor':
|
350
|
-
this.minor++;
|
351
|
-
this.patch = -1;
|
352
|
-
case 'patch':
|
353
|
-
this.patch++;
|
354
|
-
this.prerelease = [];
|
355
|
-
break;
|
356
|
-
case 'prerelease':
|
357
|
-
if (this.prerelease.length === 0)
|
358
|
-
this.prerelease = [0];
|
359
|
-
else {
|
360
|
-
var i = this.prerelease.length;
|
361
|
-
while (--i >= 0) {
|
362
|
-
if (typeof this.prerelease[i] === 'number') {
|
363
|
-
this.prerelease[i]++;
|
364
|
-
i = -2;
|
365
|
-
}
|
366
|
-
}
|
367
|
-
if (i === -1) // didn't increment anything
|
368
|
-
this.prerelease.push(0);
|
369
|
-
}
|
370
|
-
break;
|
371
|
-
|
372
|
-
default:
|
373
|
-
throw new Error('invalid increment argument: ' + release);
|
374
|
-
}
|
375
|
-
this.format();
|
376
|
-
return this;
|
377
|
-
};
|
378
|
-
|
379
|
-
exports.inc = inc;
|
380
|
-
function inc(version, release, loose) {
|
381
|
-
try {
|
382
|
-
return new SemVer(version, loose).inc(release).version;
|
383
|
-
} catch (er) {
|
384
|
-
return null;
|
385
|
-
}
|
386
|
-
}
|
387
|
-
|
388
|
-
exports.compareIdentifiers = compareIdentifiers;
|
389
|
-
|
390
|
-
var numeric = /^[0-9]+$/;
|
391
|
-
function compareIdentifiers(a, b) {
|
392
|
-
var anum = numeric.test(a);
|
393
|
-
var bnum = numeric.test(b);
|
394
|
-
|
395
|
-
if (anum && bnum) {
|
396
|
-
a = +a;
|
397
|
-
b = +b;
|
398
|
-
}
|
399
|
-
|
400
|
-
return (anum && !bnum) ? -1 :
|
401
|
-
(bnum && !anum) ? 1 :
|
402
|
-
a < b ? -1 :
|
403
|
-
a > b ? 1 :
|
404
|
-
0;
|
405
|
-
}
|
406
|
-
|
407
|
-
exports.rcompareIdentifiers = rcompareIdentifiers;
|
408
|
-
function rcompareIdentifiers(a, b) {
|
409
|
-
return compareIdentifiers(b, a);
|
410
|
-
}
|
411
|
-
|
412
|
-
exports.compare = compare;
|
413
|
-
function compare(a, b, loose) {
|
414
|
-
return new SemVer(a, loose).compare(b);
|
415
|
-
}
|
416
|
-
|
417
|
-
exports.compareLoose = compareLoose;
|
418
|
-
function compareLoose(a, b) {
|
419
|
-
return compare(a, b, true);
|
420
|
-
}
|
421
|
-
|
422
|
-
exports.rcompare = rcompare;
|
423
|
-
function rcompare(a, b, loose) {
|
424
|
-
return compare(b, a, loose);
|
425
|
-
}
|
426
|
-
|
427
|
-
exports.sort = sort;
|
428
|
-
function sort(list, loose) {
|
429
|
-
return list.sort(function(a, b) {
|
430
|
-
return exports.compare(a, b, loose);
|
431
|
-
});
|
432
|
-
}
|
433
|
-
|
434
|
-
exports.rsort = rsort;
|
435
|
-
function rsort(list, loose) {
|
436
|
-
return list.sort(function(a, b) {
|
437
|
-
return exports.rcompare(a, b, loose);
|
438
|
-
});
|
439
|
-
}
|
440
|
-
|
441
|
-
exports.gt = gt;
|
442
|
-
function gt(a, b, loose) {
|
443
|
-
return compare(a, b, loose) > 0;
|
444
|
-
}
|
445
|
-
|
446
|
-
exports.lt = lt;
|
447
|
-
function lt(a, b, loose) {
|
448
|
-
return compare(a, b, loose) < 0;
|
449
|
-
}
|
450
|
-
|
451
|
-
exports.eq = eq;
|
452
|
-
function eq(a, b, loose) {
|
453
|
-
return compare(a, b, loose) === 0;
|
454
|
-
}
|
455
|
-
|
456
|
-
exports.neq = neq;
|
457
|
-
function neq(a, b, loose) {
|
458
|
-
return compare(a, b, loose) !== 0;
|
459
|
-
}
|
460
|
-
|
461
|
-
exports.gte = gte;
|
462
|
-
function gte(a, b, loose) {
|
463
|
-
return compare(a, b, loose) >= 0;
|
464
|
-
}
|
465
|
-
|
466
|
-
exports.lte = lte;
|
467
|
-
function lte(a, b, loose) {
|
468
|
-
return compare(a, b, loose) <= 0;
|
469
|
-
}
|
470
|
-
|
471
|
-
exports.cmp = cmp;
|
472
|
-
function cmp(a, op, b, loose) {
|
473
|
-
var ret;
|
474
|
-
switch (op) {
|
475
|
-
case '===': ret = a === b; break;
|
476
|
-
case '!==': ret = a !== b; break;
|
477
|
-
case '': case '=': case '==': ret = eq(a, b, loose); break;
|
478
|
-
case '!=': ret = neq(a, b, loose); break;
|
479
|
-
case '>': ret = gt(a, b, loose); break;
|
480
|
-
case '>=': ret = gte(a, b, loose); break;
|
481
|
-
case '<': ret = lt(a, b, loose); break;
|
482
|
-
case '<=': ret = lte(a, b, loose); break;
|
483
|
-
default: throw new TypeError('Invalid operator: ' + op);
|
484
|
-
}
|
485
|
-
return ret;
|
486
|
-
}
|
487
|
-
|
488
|
-
exports.Comparator = Comparator;
|
489
|
-
function Comparator(comp, loose) {
|
490
|
-
if (comp instanceof Comparator) {
|
491
|
-
if (comp.loose === loose)
|
492
|
-
return comp;
|
493
|
-
else
|
494
|
-
comp = comp.value;
|
495
|
-
}
|
496
|
-
|
497
|
-
if (!(this instanceof Comparator))
|
498
|
-
return new Comparator(comp, loose);
|
499
|
-
|
500
|
-
;
|
501
|
-
this.loose = loose;
|
502
|
-
this.parse(comp);
|
503
|
-
|
504
|
-
if (this.semver === ANY)
|
505
|
-
this.value = '';
|
506
|
-
else
|
507
|
-
this.value = this.operator + this.semver.version;
|
508
|
-
}
|
509
|
-
|
510
|
-
var ANY = {};
|
511
|
-
Comparator.prototype.parse = function(comp) {
|
512
|
-
var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
|
513
|
-
var m = comp.match(r);
|
514
|
-
|
515
|
-
if (!m)
|
516
|
-
throw new TypeError('Invalid comparator: ' + comp);
|
517
|
-
|
518
|
-
this.operator = m[1];
|
519
|
-
// if it literally is just '>' or '' then allow anything.
|
520
|
-
if (!m[2])
|
521
|
-
this.semver = ANY;
|
522
|
-
else {
|
523
|
-
this.semver = new SemVer(m[2], this.loose);
|
524
|
-
|
525
|
-
// <1.2.3-rc DOES allow 1.2.3-beta (has prerelease)
|
526
|
-
// >=1.2.3 DOES NOT allow 1.2.3-beta
|
527
|
-
// <=1.2.3 DOES allow 1.2.3-beta
|
528
|
-
// However, <1.2.3 does NOT allow 1.2.3-beta,
|
529
|
-
// even though `1.2.3-beta < 1.2.3`
|
530
|
-
// The assumption is that the 1.2.3 version has something you
|
531
|
-
// *don't* want, so we push the prerelease down to the minimum.
|
532
|
-
if (this.operator === '<' && !this.semver.prerelease.length) {
|
533
|
-
this.semver.prerelease = ['0'];
|
534
|
-
this.semver.format();
|
535
|
-
}
|
536
|
-
}
|
537
|
-
};
|
538
|
-
|
539
|
-
Comparator.prototype.inspect = function() {
|
540
|
-
return '<SemVer Comparator "' + this + '">';
|
541
|
-
};
|
542
|
-
|
543
|
-
Comparator.prototype.toString = function() {
|
544
|
-
return this.value;
|
545
|
-
};
|
546
|
-
|
547
|
-
Comparator.prototype.test = function(version) {
|
548
|
-
;
|
549
|
-
return (this.semver === ANY) ? true :
|
550
|
-
cmp(version, this.operator, this.semver, this.loose);
|
551
|
-
};
|
552
|
-
|
553
|
-
|
554
|
-
exports.Range = Range;
|
555
|
-
function Range(range, loose) {
|
556
|
-
if ((range instanceof Range) && range.loose === loose)
|
557
|
-
return range;
|
558
|
-
|
559
|
-
if (!(this instanceof Range))
|
560
|
-
return new Range(range, loose);
|
561
|
-
|
562
|
-
this.loose = loose;
|
563
|
-
|
564
|
-
// First, split based on boolean or ||
|
565
|
-
this.raw = range;
|
566
|
-
this.set = range.split(/\s*\|\|\s*/).map(function(range) {
|
567
|
-
return this.parseRange(range.trim());
|
568
|
-
}, this).filter(function(c) {
|
569
|
-
// throw out any that are not relevant for whatever reason
|
570
|
-
return c.length;
|
571
|
-
});
|
572
|
-
|
573
|
-
if (!this.set.length) {
|
574
|
-
throw new TypeError('Invalid SemVer Range: ' + range);
|
575
|
-
}
|
576
|
-
|
577
|
-
this.format();
|
578
|
-
}
|
579
|
-
|
580
|
-
Range.prototype.inspect = function() {
|
581
|
-
return '<SemVer Range "' + this.range + '">';
|
582
|
-
};
|
583
|
-
|
584
|
-
Range.prototype.format = function() {
|
585
|
-
this.range = this.set.map(function(comps) {
|
586
|
-
return comps.join(' ').trim();
|
587
|
-
}).join('||').trim();
|
588
|
-
return this.range;
|
589
|
-
};
|
590
|
-
|
591
|
-
Range.prototype.toString = function() {
|
592
|
-
return this.range;
|
593
|
-
};
|
594
|
-
|
595
|
-
Range.prototype.parseRange = function(range) {
|
596
|
-
var loose = this.loose;
|
597
|
-
range = range.trim();
|
598
|
-
;
|
599
|
-
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
|
600
|
-
var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];
|
601
|
-
range = range.replace(hr, hyphenReplace);
|
602
|
-
;
|
603
|
-
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
604
|
-
range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);
|
605
|
-
;
|
606
|
-
|
607
|
-
// `~ 1.2.3` => `~1.2.3`
|
608
|
-
range = range.replace(re[TILDETRIM], tildeTrimReplace);
|
609
|
-
|
610
|
-
// `^ 1.2.3` => `^1.2.3`
|
611
|
-
range = range.replace(re[CARETTRIM], caretTrimReplace);
|
612
|
-
|
613
|
-
// normalize spaces
|
614
|
-
range = range.split(/\s+/).join(' ');
|
615
|
-
|
616
|
-
// At this point, the range is completely trimmed and
|
617
|
-
// ready to be split into comparators.
|
618
|
-
|
619
|
-
var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
|
620
|
-
var set = range.split(' ').map(function(comp) {
|
621
|
-
return parseComparator(comp, loose);
|
622
|
-
}).join(' ').split(/\s+/);
|
623
|
-
if (this.loose) {
|
624
|
-
// in loose mode, throw out any that are not valid comparators
|
625
|
-
set = set.filter(function(comp) {
|
626
|
-
return !!comp.match(compRe);
|
627
|
-
});
|
628
|
-
}
|
629
|
-
set = set.map(function(comp) {
|
630
|
-
return new Comparator(comp, loose);
|
631
|
-
});
|
632
|
-
|
633
|
-
return set;
|
634
|
-
};
|
635
|
-
|
636
|
-
// Mostly just for testing and legacy API reasons
|
637
|
-
exports.toComparators = toComparators;
|
638
|
-
function toComparators(range, loose) {
|
639
|
-
return new Range(range, loose).set.map(function(comp) {
|
640
|
-
return comp.map(function(c) {
|
641
|
-
return c.value;
|
642
|
-
}).join(' ').trim().split(' ');
|
643
|
-
});
|
644
|
-
}
|
645
|
-
|
646
|
-
// comprised of xranges, tildes, stars, and gtlt's at this point.
|
647
|
-
// already replaced the hyphen ranges
|
648
|
-
// turn into a set of JUST comparators.
|
649
|
-
function parseComparator(comp, loose) {
|
650
|
-
;
|
651
|
-
comp = replaceCarets(comp, loose);
|
652
|
-
;
|
653
|
-
comp = replaceTildes(comp, loose);
|
654
|
-
;
|
655
|
-
comp = replaceXRanges(comp, loose);
|
656
|
-
;
|
657
|
-
comp = replaceStars(comp, loose);
|
658
|
-
;
|
659
|
-
return comp;
|
660
|
-
}
|
661
|
-
|
662
|
-
function isX(id) {
|
663
|
-
return !id || id.toLowerCase() === 'x' || id === '*';
|
664
|
-
}
|
665
|
-
|
666
|
-
// ~, ~> --> * (any, kinda silly)
|
667
|
-
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
|
668
|
-
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
|
669
|
-
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
|
670
|
-
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
|
671
|
-
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
|
672
|
-
function replaceTildes(comp, loose) {
|
673
|
-
return comp.trim().split(/\s+/).map(function(comp) {
|
674
|
-
return replaceTilde(comp, loose);
|
675
|
-
}).join(' ');
|
676
|
-
}
|
677
|
-
|
678
|
-
function replaceTilde(comp, loose) {
|
679
|
-
var r = loose ? re[TILDELOOSE] : re[TILDE];
|
680
|
-
return comp.replace(r, function(_, M, m, p, pr) {
|
681
|
-
;
|
682
|
-
var ret;
|
683
|
-
|
684
|
-
if (isX(M))
|
685
|
-
ret = '';
|
686
|
-
else if (isX(m))
|
687
|
-
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
688
|
-
else if (isX(p))
|
689
|
-
// ~1.2 == >=1.2.0- <1.3.0-
|
690
|
-
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
691
|
-
else if (pr) {
|
692
|
-
;
|
693
|
-
if (pr.charAt(0) !== '-')
|
694
|
-
pr = '-' + pr;
|
695
|
-
ret = '>=' + M + '.' + m + '.' + p + pr +
|
696
|
-
' <' + M + '.' + (+m + 1) + '.0-0';
|
697
|
-
} else
|
698
|
-
// ~1.2.3 == >=1.2.3-0 <1.3.0-0
|
699
|
-
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
700
|
-
' <' + M + '.' + (+m + 1) + '.0-0';
|
701
|
-
|
702
|
-
;
|
703
|
-
return ret;
|
704
|
-
});
|
705
|
-
}
|
706
|
-
|
707
|
-
// ^ --> * (any, kinda silly)
|
708
|
-
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
|
709
|
-
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
|
710
|
-
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
|
711
|
-
// ^1.2.3 --> >=1.2.3 <2.0.0
|
712
|
-
// ^1.2.0 --> >=1.2.0 <2.0.0
|
713
|
-
function replaceCarets(comp, loose) {
|
714
|
-
return comp.trim().split(/\s+/).map(function(comp) {
|
715
|
-
return replaceCaret(comp, loose);
|
716
|
-
}).join(' ');
|
717
|
-
}
|
718
|
-
|
719
|
-
function replaceCaret(comp, loose) {
|
720
|
-
var r = loose ? re[CARETLOOSE] : re[CARET];
|
721
|
-
return comp.replace(r, function(_, M, m, p, pr) {
|
722
|
-
;
|
723
|
-
var ret;
|
724
|
-
|
725
|
-
if (isX(M))
|
726
|
-
ret = '';
|
727
|
-
else if (isX(m))
|
728
|
-
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
729
|
-
else if (isX(p)) {
|
730
|
-
if (M === '0')
|
731
|
-
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
732
|
-
else
|
733
|
-
ret = '>=' + M + '.' + m + '.0-0 <' + (+M + 1) + '.0.0-0';
|
734
|
-
} else if (pr) {
|
735
|
-
;
|
736
|
-
if (pr.charAt(0) !== '-')
|
737
|
-
pr = '-' + pr;
|
738
|
-
if (M === '0') {
|
739
|
-
if (m === '0')
|
740
|
-
ret = '=' + M + '.' + m + '.' + p + pr;
|
741
|
-
else
|
742
|
-
ret = '>=' + M + '.' + m + '.' + p + pr +
|
743
|
-
' <' + M + '.' + (+m + 1) + '.0-0';
|
744
|
-
} else
|
745
|
-
ret = '>=' + M + '.' + m + '.' + p + pr +
|
746
|
-
' <' + (+M + 1) + '.0.0-0';
|
747
|
-
} else {
|
748
|
-
if (M === '0') {
|
749
|
-
if (m === '0')
|
750
|
-
ret = '=' + M + '.' + m + '.' + p;
|
751
|
-
else
|
752
|
-
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
753
|
-
' <' + M + '.' + (+m + 1) + '.0-0';
|
754
|
-
} else
|
755
|
-
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
756
|
-
' <' + (+M + 1) + '.0.0-0';
|
757
|
-
}
|
758
|
-
|
759
|
-
;
|
760
|
-
return ret;
|
761
|
-
});
|
762
|
-
}
|
763
|
-
|
764
|
-
function replaceXRanges(comp, loose) {
|
765
|
-
;
|
766
|
-
return comp.split(/\s+/).map(function(comp) {
|
767
|
-
return replaceXRange(comp, loose);
|
768
|
-
}).join(' ');
|
769
|
-
}
|
770
|
-
|
771
|
-
function replaceXRange(comp, loose) {
|
772
|
-
comp = comp.trim();
|
773
|
-
var r = loose ? re[XRANGELOOSE] : re[XRANGE];
|
774
|
-
return comp.replace(r, function(ret, gtlt, M, m, p, pr) {
|
775
|
-
;
|
776
|
-
var xM = isX(M);
|
777
|
-
var xm = xM || isX(m);
|
778
|
-
var xp = xm || isX(p);
|
779
|
-
var anyX = xp;
|
780
|
-
|
781
|
-
if (gtlt === '=' && anyX)
|
782
|
-
gtlt = '';
|
783
|
-
|
784
|
-
if (gtlt && anyX) {
|
785
|
-
// replace X with 0, and then append the -0 min-prerelease
|
786
|
-
if (xM)
|
787
|
-
M = 0;
|
788
|
-
if (xm)
|
789
|
-
m = 0;
|
790
|
-
if (xp)
|
791
|
-
p = 0;
|
792
|
-
|
793
|
-
if (gtlt === '>') {
|
794
|
-
// >1 => >=2.0.0-0
|
795
|
-
// >1.2 => >=1.3.0-0
|
796
|
-
// >1.2.3 => >= 1.2.4-0
|
797
|
-
gtlt = '>=';
|
798
|
-
if (xM) {
|
799
|
-
// no change
|
800
|
-
} else if (xm) {
|
801
|
-
M = +M + 1;
|
802
|
-
m = 0;
|
803
|
-
p = 0;
|
804
|
-
} else if (xp) {
|
805
|
-
m = +m + 1;
|
806
|
-
p = 0;
|
807
|
-
}
|
808
|
-
}
|
809
|
-
|
810
|
-
|
811
|
-
ret = gtlt + M + '.' + m + '.' + p + '-0';
|
812
|
-
} else if (xM) {
|
813
|
-
// allow any
|
814
|
-
ret = '*';
|
815
|
-
} else if (xm) {
|
816
|
-
// append '-0' onto the version, otherwise
|
817
|
-
// '1.x.x' matches '2.0.0-beta', since the tag
|
818
|
-
// *lowers* the version value
|
819
|
-
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
820
|
-
} else if (xp) {
|
821
|
-
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
822
|
-
}
|
823
|
-
|
824
|
-
;
|
825
|
-
|
826
|
-
return ret;
|
827
|
-
});
|
828
|
-
}
|
829
|
-
|
830
|
-
// Because * is AND-ed with everything else in the comparator,
|
831
|
-
// and '' means "any version", just remove the *s entirely.
|
832
|
-
function replaceStars(comp, loose) {
|
833
|
-
;
|
834
|
-
// Looseness is ignored here. star is always as loose as it gets!
|
835
|
-
return comp.trim().replace(re[STAR], '');
|
836
|
-
}
|
837
|
-
|
838
|
-
// This function is passed to string.replace(re[HYPHENRANGE])
|
839
|
-
// M, m, patch, prerelease, build
|
840
|
-
// 1.2 - 3.4.5 => >=1.2.0-0 <=3.4.5
|
841
|
-
// 1.2.3 - 3.4 => >=1.2.0-0 <3.5.0-0 Any 3.4.x will do
|
842
|
-
// 1.2 - 3.4 => >=1.2.0-0 <3.5.0-0
|
843
|
-
function hyphenReplace($0,
|
844
|
-
from, fM, fm, fp, fpr, fb,
|
845
|
-
to, tM, tm, tp, tpr, tb) {
|
846
|
-
|
847
|
-
if (isX(fM))
|
848
|
-
from = '';
|
849
|
-
else if (isX(fm))
|
850
|
-
from = '>=' + fM + '.0.0-0';
|
851
|
-
else if (isX(fp))
|
852
|
-
from = '>=' + fM + '.' + fm + '.0-0';
|
853
|
-
else
|
854
|
-
from = '>=' + from;
|
855
|
-
|
856
|
-
if (isX(tM))
|
857
|
-
to = '';
|
858
|
-
else if (isX(tm))
|
859
|
-
to = '<' + (+tM + 1) + '.0.0-0';
|
860
|
-
else if (isX(tp))
|
861
|
-
to = '<' + tM + '.' + (+tm + 1) + '.0-0';
|
862
|
-
else if (tpr)
|
863
|
-
to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr;
|
864
|
-
else
|
865
|
-
to = '<=' + to;
|
866
|
-
|
867
|
-
return (from + ' ' + to).trim();
|
868
|
-
}
|
869
|
-
|
870
|
-
|
871
|
-
// if ANY of the sets match ALL of its comparators, then pass
|
872
|
-
Range.prototype.test = function(version) {
|
873
|
-
if (!version)
|
874
|
-
return false;
|
875
|
-
for (var i = 0; i < this.set.length; i++) {
|
876
|
-
if (testSet(this.set[i], version))
|
877
|
-
return true;
|
878
|
-
}
|
879
|
-
return false;
|
880
|
-
};
|
881
|
-
|
882
|
-
function testSet(set, version) {
|
883
|
-
for (var i = 0; i < set.length; i++) {
|
884
|
-
if (!set[i].test(version))
|
885
|
-
return false;
|
886
|
-
}
|
887
|
-
return true;
|
888
|
-
}
|
889
|
-
|
890
|
-
exports.satisfies = satisfies;
|
891
|
-
function satisfies(version, range, loose) {
|
892
|
-
try {
|
893
|
-
range = new Range(range, loose);
|
894
|
-
} catch (er) {
|
895
|
-
return false;
|
896
|
-
}
|
897
|
-
return range.test(version);
|
898
|
-
}
|
899
|
-
|
900
|
-
exports.maxSatisfying = maxSatisfying;
|
901
|
-
function maxSatisfying(versions, range, loose) {
|
902
|
-
return versions.filter(function(version) {
|
903
|
-
return satisfies(version, range, loose);
|
904
|
-
}).sort(function(a, b) {
|
905
|
-
return rcompare(a, b, loose);
|
906
|
-
})[0] || null;
|
907
|
-
}
|
908
|
-
|
909
|
-
exports.validRange = validRange;
|
910
|
-
function validRange(range, loose) {
|
911
|
-
try {
|
912
|
-
// Return '*' instead of '' so that truthiness works.
|
913
|
-
// This will throw if it's invalid anyway
|
914
|
-
return new Range(range, loose).range || '*';
|
915
|
-
} catch (er) {
|
916
|
-
return null;
|
917
|
-
}
|
918
|
-
}
|
919
|
-
|
920
|
-
// Determine if version is less than all the versions possible in the range
|
921
|
-
exports.ltr = ltr;
|
922
|
-
function ltr(version, range, loose) {
|
923
|
-
return outside(version, range, '<', loose);
|
924
|
-
}
|
925
|
-
|
926
|
-
// Determine if version is greater than all the versions possible in the range.
|
927
|
-
exports.gtr = gtr;
|
928
|
-
function gtr(version, range, loose) {
|
929
|
-
return outside(version, range, '>', loose);
|
930
|
-
}
|
931
|
-
|
932
|
-
exports.outside = outside;
|
933
|
-
function outside(version, range, hilo, loose) {
|
934
|
-
version = new SemVer(version, loose);
|
935
|
-
range = new Range(range, loose);
|
936
|
-
|
937
|
-
var gtfn, ltefn, ltfn, comp, ecomp;
|
938
|
-
switch (hilo) {
|
939
|
-
case '>':
|
940
|
-
gtfn = gt;
|
941
|
-
ltefn = lte;
|
942
|
-
ltfn = lt;
|
943
|
-
comp = '>';
|
944
|
-
ecomp = '>=';
|
945
|
-
break;
|
946
|
-
case '<':
|
947
|
-
gtfn = lt;
|
948
|
-
ltefn = gte;
|
949
|
-
ltfn = gt;
|
950
|
-
comp = '<';
|
951
|
-
ecomp = '<=';
|
952
|
-
break;
|
953
|
-
default:
|
954
|
-
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
955
|
-
}
|
956
|
-
|
957
|
-
// If it satisifes the range it is not outside
|
958
|
-
if (satisfies(version, range, loose)) {
|
959
|
-
return false;
|
960
|
-
}
|
961
|
-
|
962
|
-
// From now on, variable terms are as if we're in "gtr" mode.
|
963
|
-
// but note that everything is flipped for the "ltr" function.
|
964
|
-
|
965
|
-
for (var i = 0; i < range.set.length; ++i) {
|
966
|
-
var comparators = range.set[i];
|
967
|
-
|
968
|
-
var high = null;
|
969
|
-
var low = null;
|
970
|
-
|
971
|
-
comparators.forEach(function(comparator) {
|
972
|
-
high = high || comparator;
|
973
|
-
low = low || comparator;
|
974
|
-
if (gtfn(comparator.semver, high.semver, loose)) {
|
975
|
-
high = comparator;
|
976
|
-
} else if (ltfn(comparator.semver, low.semver, loose)) {
|
977
|
-
low = comparator;
|
978
|
-
}
|
979
|
-
});
|
980
|
-
|
981
|
-
// If the edge version comparator has a operator then our version
|
982
|
-
// isn't outside it
|
983
|
-
if (high.operator === comp || high.operator === ecomp) {
|
984
|
-
return false;
|
985
|
-
}
|
986
|
-
|
987
|
-
// If the lowest version comparator has an operator and our version
|
988
|
-
// is less than it then it isn't higher than the range
|
989
|
-
if ((!low.operator || low.operator === comp) &&
|
990
|
-
ltefn(version, low.semver)) {
|
991
|
-
return false;
|
992
|
-
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
993
|
-
return false;
|
994
|
-
}
|
995
|
-
}
|
996
|
-
return true;
|
997
|
-
}
|
998
|
-
|
999
|
-
// Use the define() function if we're in AMD land
|
1000
|
-
if (typeof define === 'function' && define.amd)
|
1001
|
-
define(exports);
|
1002
|
-
|
1003
|
-
})(
|
1004
|
-
typeof exports === 'object' ? exports :
|
1005
|
-
typeof define === 'function' && define.amd ? {} :
|
1006
|
-
semver = {}
|
1007
|
-
);
|