embeditor-rails 1.1.1 → 2.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -17
- data/app/assets/javascripts/embeditor/adapter.js.coffee +21 -2
- data/app/assets/javascripts/embeditor/adapters/embedly.js.coffee +4 -40
- data/app/assets/javascripts/embeditor/adapters/oembed.js.coffee +37 -2
- data/app/assets/javascripts/embeditor/embeditor.js.coffee +16 -4
- data/lib/embeditor-rails/version.rb +1 -1
- data/lib/node_modules/npm/AUTHORS +158 -0
- data/lib/node_modules/npm/CONTRIBUTING.md +9 -0
- data/lib/node_modules/npm/LICENSE +235 -0
- data/lib/node_modules/npm/Makefile +216 -0
- data/lib/node_modules/npm/README.md +241 -0
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +2 -0
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +1 -0
- data/lib/node_modules/npm/bin/npm +13 -0
- data/lib/node_modules/npm/bin/npm-cli.js +87 -0
- data/lib/node_modules/npm/bin/npm.cmd +6 -0
- data/lib/node_modules/npm/bin/read-package-json.js +22 -0
- data/lib/node_modules/npm/cli.js +2 -0
- data/lib/node_modules/npm/configure +33 -0
- data/lib/node_modules/npm/doc/api/npm-bin.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-bugs.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-commands.md +22 -0
- data/lib/node_modules/npm/doc/api/npm-config.md +45 -0
- data/lib/node_modules/npm/doc/api/npm-deprecate.md +34 -0
- data/lib/node_modules/npm/doc/api/npm-docs.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-edit.md +24 -0
- data/lib/node_modules/npm/doc/api/npm-explore.md +18 -0
- data/lib/node_modules/npm/doc/api/npm-help-search.md +30 -0
- data/lib/node_modules/npm/doc/api/npm-init.md +29 -0
- data/lib/node_modules/npm/doc/api/npm-install.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-link.md +33 -0
- data/lib/node_modules/npm/doc/api/npm-load.md +26 -0
- data/lib/node_modules/npm/doc/api/npm-ls.md +56 -0
- data/lib/node_modules/npm/doc/api/npm-outdated.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-owner.md +31 -0
- data/lib/node_modules/npm/doc/api/npm-pack.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-prefix.md +15 -0
- data/lib/node_modules/npm/doc/api/npm-prune.md +17 -0
- data/lib/node_modules/npm/doc/api/npm-publish.md +30 -0
- data/lib/node_modules/npm/doc/api/npm-rebuild.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-repo.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-restart.md +22 -0
- data/lib/node_modules/npm/doc/api/npm-root.md +15 -0
- data/lib/node_modules/npm/doc/api/npm-run-script.md +27 -0
- data/lib/node_modules/npm/doc/api/npm-search.md +35 -0
- data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +20 -0
- data/lib/node_modules/npm/doc/api/npm-start.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-stop.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-submodule.md +28 -0
- data/lib/node_modules/npm/doc/api/npm-tag.md +23 -0
- data/lib/node_modules/npm/doc/api/npm-test.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-uninstall.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-unpublish.md +20 -0
- data/lib/node_modules/npm/doc/api/npm-update.md +11 -0
- data/lib/node_modules/npm/doc/api/npm-version.md +18 -0
- data/lib/node_modules/npm/doc/api/npm-view.md +93 -0
- data/lib/node_modules/npm/doc/api/npm-whoami.md +15 -0
- data/lib/node_modules/npm/doc/api/npm.md +116 -0
- data/lib/node_modules/npm/doc/cli/npm-adduser.md +38 -0
- data/lib/node_modules/npm/doc/cli/npm-bin.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-bugs.md +42 -0
- data/lib/node_modules/npm/doc/cli/npm-build.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-bundle.md +14 -0
- data/lib/node_modules/npm/doc/cli/npm-cache.md +72 -0
- data/lib/node_modules/npm/doc/cli/npm-completion.md +29 -0
- data/lib/node_modules/npm/doc/cli/npm-config.md +71 -0
- data/lib/node_modules/npm/doc/cli/npm-dedupe.md +58 -0
- data/lib/node_modules/npm/doc/cli/npm-deprecate.md +26 -0
- data/lib/node_modules/npm/doc/cli/npm-docs.md +44 -0
- data/lib/node_modules/npm/doc/cli/npm-edit.md +37 -0
- data/lib/node_modules/npm/doc/cli/npm-explore.md +40 -0
- data/lib/node_modules/npm/doc/cli/npm-help-search.md +35 -0
- data/lib/node_modules/npm/doc/cli/npm-help.md +40 -0
- data/lib/node_modules/npm/doc/cli/npm-init.md +25 -0
- data/lib/node_modules/npm/doc/cli/npm-install.md +252 -0
- data/lib/node_modules/npm/doc/cli/npm-link.md +63 -0
- data/lib/node_modules/npm/doc/cli/npm-ls.md +80 -0
- data/lib/node_modules/npm/doc/cli/npm-outdated.md +58 -0
- data/lib/node_modules/npm/doc/cli/npm-owner.md +33 -0
- data/lib/node_modules/npm/doc/cli/npm-pack.md +27 -0
- data/lib/node_modules/npm/doc/cli/npm-prefix.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-prune.md +25 -0
- data/lib/node_modules/npm/doc/cli/npm-publish.md +30 -0
- data/lib/node_modules/npm/doc/cli/npm-rebuild.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-repo.md +28 -0
- data/lib/node_modules/npm/doc/cli/npm-restart.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-rm.md +23 -0
- data/lib/node_modules/npm/doc/cli/npm-root.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-run-script.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-search.md +36 -0
- data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +185 -0
- data/lib/node_modules/npm/doc/cli/npm-star.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-stars.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-start.md +18 -0
- data/lib/node_modules/npm/doc/cli/npm-stop.md +18 -0
- data/lib/node_modules/npm/doc/cli/npm-submodule.md +28 -0
- data/lib/node_modules/npm/doc/cli/npm-tag.md +34 -0
- data/lib/node_modules/npm/doc/cli/npm-test.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-uninstall.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-unpublish.md +32 -0
- data/lib/node_modules/npm/doc/cli/npm-update.md +24 -0
- data/lib/node_modules/npm/doc/cli/npm-version.md +45 -0
- data/lib/node_modules/npm/doc/cli/npm-view.md +90 -0
- data/lib/node_modules/npm/doc/cli/npm-whoami.md +17 -0
- data/lib/node_modules/npm/doc/cli/npm.md +153 -0
- data/lib/node_modules/npm/doc/files/npm-folders.md +211 -0
- data/lib/node_modules/npm/doc/files/npmrc.md +59 -0
- data/lib/node_modules/npm/doc/files/package.json.md +576 -0
- data/lib/node_modules/npm/doc/misc/npm-coding-style.md +181 -0
- data/lib/node_modules/npm/doc/misc/npm-config.md +820 -0
- data/lib/node_modules/npm/doc/misc/npm-developers.md +207 -0
- data/lib/node_modules/npm/doc/misc/npm-disputes.md +99 -0
- data/lib/node_modules/npm/doc/misc/npm-faq.md +364 -0
- data/lib/node_modules/npm/doc/misc/npm-index.md +411 -0
- data/lib/node_modules/npm/doc/misc/npm-registry.md +69 -0
- data/lib/node_modules/npm/doc/misc/npm-scripts.md +245 -0
- data/lib/node_modules/npm/doc/misc/removing-npm.md +54 -0
- data/lib/node_modules/npm/doc/misc/semver.md +111 -0
- data/lib/node_modules/npm/html/doc/README.html +276 -0
- data/lib/node_modules/npm/html/doc/api/npm-bin.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-bugs.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-commands.html +62 -0
- data/lib/node_modules/npm/html/doc/api/npm-config.html +67 -0
- data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-docs.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-edit.html +64 -0
- data/lib/node_modules/npm/html/doc/api/npm-explore.html +58 -0
- data/lib/node_modules/npm/html/doc/api/npm-help-search.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-init.html +69 -0
- data/lib/node_modules/npm/html/doc/api/npm-install.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-link.html +73 -0
- data/lib/node_modules/npm/html/doc/api/npm-load.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-ls.html +93 -0
- data/lib/node_modules/npm/html/doc/api/npm-outdated.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-owner.html +68 -0
- data/lib/node_modules/npm/html/doc/api/npm-pack.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-prefix.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm-prune.html +57 -0
- data/lib/node_modules/npm/html/doc/api/npm-publish.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-repo.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-restart.html +61 -0
- data/lib/node_modules/npm/html/doc/api/npm-root.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm-run-script.html +63 -0
- data/lib/node_modules/npm/html/doc/api/npm-search.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +60 -0
- data/lib/node_modules/npm/html/doc/api/npm-start.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-stop.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-submodule.html +67 -0
- data/lib/node_modules/npm/html/doc/api/npm-tag.html +63 -0
- data/lib/node_modules/npm/html/doc/api/npm-test.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +60 -0
- data/lib/node_modules/npm/html/doc/api/npm-update.html +52 -0
- data/lib/node_modules/npm/html/doc/api/npm-version.html +58 -0
- data/lib/node_modules/npm/html/doc/api/npm-view.html +133 -0
- data/lib/node_modules/npm/html/doc/api/npm-whoami.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm.html +126 -0
- data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +73 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bin.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +72 -0
- data/lib/node_modules/npm/html/doc/cli/npm-build.html +59 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-cache.html +100 -0
- data/lib/node_modules/npm/html/doc/cli/npm-completion.html +67 -0
- data/lib/node_modules/npm/html/doc/cli/npm-config.html +107 -0
- data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +96 -0
- data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +65 -0
- data/lib/node_modules/npm/html/doc/cli/npm-docs.html +75 -0
- data/lib/node_modules/npm/html/doc/cli/npm-edit.html +71 -0
- data/lib/node_modules/npm/html/doc/cli/npm-explore.html +74 -0
- data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +72 -0
- data/lib/node_modules/npm/html/doc/cli/npm-help.html +70 -0
- data/lib/node_modules/npm/html/doc/cli/npm-init.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-install.html +183 -0
- data/lib/node_modules/npm/html/doc/cli/npm-link.html +96 -0
- data/lib/node_modules/npm/html/doc/cli/npm-ls.html +108 -0
- data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +92 -0
- data/lib/node_modules/npm/html/doc/cli/npm-owner.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-pack.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-prune.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-publish.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-repo.html +66 -0
- data/lib/node_modules/npm/html/doc/cli/npm-restart.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-rm.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-root.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +57 -0
- data/lib/node_modules/npm/html/doc/cli/npm-search.html +71 -0
- data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +217 -0
- data/lib/node_modules/npm/html/doc/cli/npm-star.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-stars.html +59 -0
- data/lib/node_modules/npm/html/doc/cli/npm-start.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-stop.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +67 -0
- data/lib/node_modules/npm/html/doc/cli/npm-tag.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-test.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +56 -0
- data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-update.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-version.html +83 -0
- data/lib/node_modules/npm/html/doc/cli/npm-view.html +125 -0
- data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm.html +165 -0
- data/lib/node_modules/npm/html/doc/files/npm-folders.html +239 -0
- data/lib/node_modules/npm/html/doc/files/npm-global.html +239 -0
- data/lib/node_modules/npm/html/doc/files/npm-json.html +580 -0
- data/lib/node_modules/npm/html/doc/files/npmrc.html +93 -0
- data/lib/node_modules/npm/html/doc/files/package.json.html +580 -0
- data/lib/node_modules/npm/html/doc/index.html +450 -0
- data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +216 -0
- data/lib/node_modules/npm/html/doc/misc/npm-config.html +744 -0
- data/lib/node_modules/npm/html/doc/misc/npm-developers.html +208 -0
- data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +126 -0
- data/lib/node_modules/npm/html/doc/misc/npm-faq.html +382 -0
- data/lib/node_modules/npm/html/doc/misc/npm-index.html +450 -0
- data/lib/node_modules/npm/html/doc/misc/npm-registry.html +105 -0
- data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +257 -0
- data/lib/node_modules/npm/html/doc/misc/removing-npm.html +92 -0
- data/lib/node_modules/npm/html/doc/misc/semver.html +128 -0
- data/lib/node_modules/npm/html/docfoot-script.html +31 -0
- data/lib/node_modules/npm/html/docfoot.html +2 -0
- data/lib/node_modules/npm/html/dochead.html +8 -0
- data/lib/node_modules/npm/html/favicon.ico +0 -0
- data/lib/node_modules/npm/html/index.html +95 -0
- data/lib/node_modules/npm/html/static/style.css +329 -0
- data/lib/node_modules/npm/lib/adduser.js +138 -0
- data/lib/node_modules/npm/lib/bin.js +18 -0
- data/lib/node_modules/npm/lib/bugs.js +61 -0
- data/lib/node_modules/npm/lib/build.js +228 -0
- data/lib/node_modules/npm/lib/cache.js +1318 -0
- data/lib/node_modules/npm/lib/completion.js +253 -0
- data/lib/node_modules/npm/lib/config.js +285 -0
- data/lib/node_modules/npm/lib/dedupe.js +357 -0
- data/lib/node_modules/npm/lib/deprecate.js +47 -0
- data/lib/node_modules/npm/lib/docs.js +62 -0
- data/lib/node_modules/npm/lib/edit.js +32 -0
- data/lib/node_modules/npm/lib/explore.js +36 -0
- data/lib/node_modules/npm/lib/faq.js +8 -0
- data/lib/node_modules/npm/lib/get.js +12 -0
- data/lib/node_modules/npm/lib/help-search.js +218 -0
- data/lib/node_modules/npm/lib/help.js +231 -0
- data/lib/node_modules/npm/lib/init.js +36 -0
- data/lib/node_modules/npm/lib/install.js +979 -0
- data/lib/node_modules/npm/lib/link.js +173 -0
- data/lib/node_modules/npm/lib/ls.js +357 -0
- data/lib/node_modules/npm/lib/npm.js +528 -0
- data/lib/node_modules/npm/lib/outdated.js +303 -0
- data/lib/node_modules/npm/lib/owner.js +205 -0
- data/lib/node_modules/npm/lib/pack.js +65 -0
- data/lib/node_modules/npm/lib/prefix.js +11 -0
- data/lib/node_modules/npm/lib/prune.js +53 -0
- data/lib/node_modules/npm/lib/publish.js +118 -0
- data/lib/node_modules/npm/lib/rebuild.js +75 -0
- data/lib/node_modules/npm/lib/repo.js +54 -0
- data/lib/node_modules/npm/lib/restart.js +1 -0
- data/lib/node_modules/npm/lib/root.js +11 -0
- data/lib/node_modules/npm/lib/run-script.js +102 -0
- data/lib/node_modules/npm/lib/search.js +265 -0
- data/lib/node_modules/npm/lib/set.js +13 -0
- data/lib/node_modules/npm/lib/shrinkwrap.js +86 -0
- data/lib/node_modules/npm/lib/star.js +33 -0
- data/lib/node_modules/npm/lib/stars.js +27 -0
- data/lib/node_modules/npm/lib/start.js +1 -0
- data/lib/node_modules/npm/lib/stop.js +1 -0
- data/lib/node_modules/npm/lib/submodule.js +119 -0
- data/lib/node_modules/npm/lib/substack.js +20 -0
- data/lib/node_modules/npm/lib/tag.js +18 -0
- data/lib/node_modules/npm/lib/test.js +14 -0
- data/lib/node_modules/npm/lib/unbuild.js +112 -0
- data/lib/node_modules/npm/lib/uninstall.js +127 -0
- data/lib/node_modules/npm/lib/unpublish.js +83 -0
- data/lib/node_modules/npm/lib/update.js +43 -0
- data/lib/node_modules/npm/lib/utils/completion.sh +54 -0
- data/lib/node_modules/npm/lib/utils/completion/file-completion.js +26 -0
- data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +50 -0
- data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +79 -0
- data/lib/node_modules/npm/lib/utils/error-handler.js +343 -0
- data/lib/node_modules/npm/lib/utils/fetch.js +93 -0
- data/lib/node_modules/npm/lib/utils/find-prefix.js +57 -0
- data/lib/node_modules/npm/lib/utils/gently-rm.js +61 -0
- data/lib/node_modules/npm/lib/utils/is-git-url.js +13 -0
- data/lib/node_modules/npm/lib/utils/lifecycle.js +360 -0
- data/lib/node_modules/npm/lib/utils/link.js +39 -0
- data/lib/node_modules/npm/lib/utils/tar.js +323 -0
- data/lib/node_modules/npm/lib/version.js +120 -0
- data/lib/node_modules/npm/lib/view.js +246 -0
- data/lib/node_modules/npm/lib/visnup.js +42 -0
- data/lib/node_modules/npm/lib/whoami.js +13 -0
- data/lib/node_modules/npm/lib/xmas.js +56 -0
- data/lib/node_modules/npm/make.bat +3 -0
- data/lib/node_modules/npm/man/man1/npm-README.1 +328 -0
- data/lib/node_modules/npm/man/man1/npm-adduser.1 +63 -0
- data/lib/node_modules/npm/man/man1/npm-bin.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-bugs.1 +78 -0
- data/lib/node_modules/npm/man/man1/npm-build.1 +43 -0
- data/lib/node_modules/npm/man/man1/npm-bundle.1 +23 -0
- data/lib/node_modules/npm/man/man1/npm-cache.1 +104 -0
- data/lib/node_modules/npm/man/man1/npm-completion.1 +47 -0
- data/lib/node_modules/npm/man/man1/npm-config.1 +113 -0
- data/lib/node_modules/npm/man/man1/npm-dedupe.1 +96 -0
- data/lib/node_modules/npm/man/man1/npm-deprecate.1 +48 -0
- data/lib/node_modules/npm/man/man1/npm-docs.1 +78 -0
- data/lib/node_modules/npm/man/man1/npm-edit.1 +66 -0
- data/lib/node_modules/npm/man/man1/npm-explore.1 +76 -0
- data/lib/node_modules/npm/man/man1/npm-help-search.1 +59 -0
- data/lib/node_modules/npm/man/man1/npm-help.1 +77 -0
- data/lib/node_modules/npm/man/man1/npm-init.1 +43 -0
- data/lib/node_modules/npm/man/man1/npm-install.1 +434 -0
- data/lib/node_modules/npm/man/man1/npm-link.1 +119 -0
- data/lib/node_modules/npm/man/man1/npm-ls.1 +146 -0
- data/lib/node_modules/npm/man/man1/npm-outdated.1 +102 -0
- data/lib/node_modules/npm/man/man1/npm-owner.1 +58 -0
- data/lib/node_modules/npm/man/man1/npm-pack.1 +48 -0
- data/lib/node_modules/npm/man/man1/npm-prefix.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-prune.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-publish.1 +53 -0
- data/lib/node_modules/npm/man/man1/npm-rebuild.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-repo.1 +47 -0
- data/lib/node_modules/npm/man/man1/npm-restart.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-rm.1 +44 -0
- data/lib/node_modules/npm/man/man1/npm-root.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-run-script.1 +41 -0
- data/lib/node_modules/npm/man/man1/npm-search.1 +62 -0
- data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +275 -0
- data/lib/node_modules/npm/man/man1/npm-star.1 +39 -0
- data/lib/node_modules/npm/man/man1/npm-stars.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-start.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-stop.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-submodule.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-tag.1 +74 -0
- data/lib/node_modules/npm/man/man1/npm-test.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-uninstall.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-unpublish.1 +53 -0
- data/lib/node_modules/npm/man/man1/npm-update.1 +45 -0
- data/lib/node_modules/npm/man/man1/npm-version.1 +75 -0
- data/lib/node_modules/npm/man/man1/npm-view.1 +186 -0
- data/lib/node_modules/npm/man/man1/npm-whoami.1 +34 -0
- data/lib/node_modules/npm/man/man1/npm.1 +230 -0
- data/lib/node_modules/npm/man/man3/npm-bin.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-bugs.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-commands.3 +35 -0
- data/lib/node_modules/npm/man/man3/npm-config.3 +69 -0
- data/lib/node_modules/npm/man/man3/npm-deprecate.3 +57 -0
- data/lib/node_modules/npm/man/man3/npm-docs.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-edit.3 +35 -0
- data/lib/node_modules/npm/man/man3/npm-explore.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-help-search.3 +51 -0
- data/lib/node_modules/npm/man/man3/npm-init.3 +39 -0
- data/lib/node_modules/npm/man/man3/npm-install.3 +29 -0
- data/lib/node_modules/npm/man/man3/npm-link.3 +53 -0
- data/lib/node_modules/npm/man/man3/npm-load.3 +44 -0
- data/lib/node_modules/npm/man/man3/npm-ls.3 +86 -0
- data/lib/node_modules/npm/man/man3/npm-outdated.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-owner.3 +52 -0
- data/lib/node_modules/npm/man/man3/npm-pack.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-prefix.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm-prune.3 +27 -0
- data/lib/node_modules/npm/man/man3/npm-publish.3 +51 -0
- data/lib/node_modules/npm/man/man3/npm-rebuild.3 +22 -0
- data/lib/node_modules/npm/man/man3/npm-repo.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-restart.3 +37 -0
- data/lib/node_modules/npm/man/man3/npm-root.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm-run-script.3 +48 -0
- data/lib/node_modules/npm/man/man3/npm-search.3 +64 -0
- data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +30 -0
- data/lib/node_modules/npm/man/man3/npm-start.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-stop.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-submodule.3 +42 -0
- data/lib/node_modules/npm/man/man3/npm-tag.3 +31 -0
- data/lib/node_modules/npm/man/man3/npm-test.3 +25 -0
- data/lib/node_modules/npm/man/man3/npm-uninstall.3 +25 -0
- data/lib/node_modules/npm/man/man3/npm-unpublish.3 +30 -0
- data/lib/node_modules/npm/man/man3/npm-update.3 +18 -0
- data/lib/node_modules/npm/man/man3/npm-version.3 +27 -0
- data/lib/node_modules/npm/man/man3/npm-view.3 +176 -0
- data/lib/node_modules/npm/man/man3/npm-whoami.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm.3 +162 -0
- data/lib/node_modules/npm/man/man5/npm-folders.5 +264 -0
- data/lib/node_modules/npm/man/man5/npm-global.5 +264 -0
- data/lib/node_modules/npm/man/man5/npm-json.5 +807 -0
- data/lib/node_modules/npm/man/man5/npmrc.5 +89 -0
- data/lib/node_modules/npm/man/man5/package.json.5 +807 -0
- data/lib/node_modules/npm/man/man7/npm-coding-style.7 +254 -0
- data/lib/node_modules/npm/man/man7/npm-config.7 +1445 -0
- data/lib/node_modules/npm/man/man7/npm-developers.7 +335 -0
- data/lib/node_modules/npm/man/man7/npm-disputes.7 +146 -0
- data/lib/node_modules/npm/man/man7/npm-faq.7 +479 -0
- data/lib/node_modules/npm/man/man7/npm-index.7 +307 -0
- data/lib/node_modules/npm/man/man7/npm-registry.7 +82 -0
- data/lib/node_modules/npm/man/man7/npm-scripts.7 +354 -0
- data/lib/node_modules/npm/man/man7/removing-npm.7 +107 -0
- data/lib/node_modules/npm/man/man7/semver.7 +172 -0
- data/lib/node_modules/npm/node_modules/abbrev/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/abbrev/README.md +23 -0
- data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +111 -0
- data/lib/node_modules/npm/node_modules/abbrev/package.json +25 -0
- data/lib/node_modules/npm/node_modules/ansi/README.md +91 -0
- data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +67 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +16 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +15 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +32 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +87 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +46 -0
- data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +405 -0
- data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +71 -0
- data/lib/node_modules/npm/node_modules/ansi/package.json +50 -0
- data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ansicolors/README.md +62 -0
- data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +65 -0
- data/lib/node_modules/npm/node_modules/ansicolors/package.json +34 -0
- data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ansistyles/README.md +71 -0
- data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +38 -0
- data/lib/node_modules/npm/node_modules/ansistyles/package.json +38 -0
- data/lib/node_modules/npm/node_modules/archy/README.markdown +92 -0
- data/lib/node_modules/npm/node_modules/archy/index.js +35 -0
- data/lib/node_modules/npm/node_modules/archy/package.json +52 -0
- data/lib/node_modules/npm/node_modules/block-stream/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/block-stream/README.md +14 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +70 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +68 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +70 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +68 -0
- data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +209 -0
- data/lib/node_modules/npm/node_modules/block-stream/package.json +35 -0
- data/lib/node_modules/npm/node_modules/child-process-close/README.md +45 -0
- data/lib/node_modules/npm/node_modules/child-process-close/index.js +48 -0
- data/lib/node_modules/npm/node_modules/child-process-close/package.json +37 -0
- data/lib/node_modules/npm/node_modules/chmodr/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/chmodr/README.md +3 -0
- data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +54 -0
- data/lib/node_modules/npm/node_modules/chmodr/package.json +28 -0
- data/lib/node_modules/npm/node_modules/chownr/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/chownr/README.md +3 -0
- data/lib/node_modules/npm/node_modules/chownr/chownr.js +41 -0
- data/lib/node_modules/npm/node_modules/chownr/package.json +42 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/README.md +42 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/index.js +180 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/package.json +35 -0
- data/lib/node_modules/npm/node_modules/columnify/Readme.md +189 -0
- data/lib/node_modules/npm/node_modules/columnify/index.js +210 -0
- data/lib/node_modules/npm/node_modules/columnify/package.json +42 -0
- data/lib/node_modules/npm/node_modules/columnify/utils.js +76 -0
- data/lib/node_modules/npm/node_modules/editor/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/editor/README.markdown +54 -0
- data/lib/node_modules/npm/node_modules/editor/example/beep.json +5 -0
- data/lib/node_modules/npm/node_modules/editor/example/edit.js +4 -0
- data/lib/node_modules/npm/node_modules/editor/index.js +26 -0
- data/lib/node_modules/npm/node_modules/editor/package.json +43 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/README.md +18 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +13 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +19 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +12 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +19 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +323 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +22 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +13 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +275 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +40 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/package.json +27 -0
- data/lib/node_modules/npm/node_modules/fstream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/fstream/README.md +76 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +131 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +115 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +54 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +24 -0
- data/lib/node_modules/npm/node_modules/fstream/fstream.js +31 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +85 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +67 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +251 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +171 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +147 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +100 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +32 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +54 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +95 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +93 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +109 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +260 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +38 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +389 -0
- data/lib/node_modules/npm/node_modules/fstream/package.json +43 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +10 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +5 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +41 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +12 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +31 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +40 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +14 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +9 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +33 -0
- data/lib/node_modules/npm/node_modules/glob/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/glob/README.md +250 -0
- data/lib/node_modules/npm/node_modules/glob/examples/g.js +9 -0
- data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +9 -0
- data/lib/node_modules/npm/node_modules/glob/glob.js +680 -0
- data/lib/node_modules/npm/node_modules/glob/package.json +39 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/README.md +26 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +161 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/package.json +48 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +228 -0
- data/lib/node_modules/npm/node_modules/inherits/LICENSE +16 -0
- data/lib/node_modules/npm/node_modules/inherits/README.md +42 -0
- data/lib/node_modules/npm/node_modules/inherits/inherits.js +1 -0
- data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +23 -0
- data/lib/node_modules/npm/node_modules/inherits/package.json +32 -0
- data/lib/node_modules/npm/node_modules/inherits/test.js +25 -0
- data/lib/node_modules/npm/node_modules/ini/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ini/README.md +79 -0
- data/lib/node_modules/npm/node_modules/ini/ini.js +166 -0
- data/lib/node_modules/npm/node_modules/ini/package.json +29 -0
- data/lib/node_modules/npm/node_modules/init-package-json/README.md +43 -0
- data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +181 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +8 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +7 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +13 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +1 -0
- data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +129 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +133 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +11 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +8 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +191 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +37 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +10 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +61 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +32 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +216 -0
- data/lib/node_modules/npm/node_modules/init-package-json/package.json +48 -0
- data/lib/node_modules/npm/node_modules/lockfile/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/lockfile/README.md +81 -0
- data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +272 -0
- data/lib/node_modules/npm/node_modules/lockfile/package.json +45 -0
- data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +14 -0
- data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/lru-cache/README.md +97 -0
- data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +252 -0
- data/lib/node_modules/npm/node_modules/lru-cache/package.json +33 -0
- data/lib/node_modules/npm/node_modules/minimatch/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/minimatch/README.md +218 -0
- data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +1055 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +42 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
- data/lib/node_modules/npm/node_modules/minimatch/package.json +40 -0
- data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +21 -0
- data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +63 -0
- data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +6 -0
- data/lib/node_modules/npm/node_modules/mkdirp/index.js +82 -0
- data/lib/node_modules/npm/node_modules/mkdirp/package.json +33 -0
- data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/node-gyp/README.md +163 -0
- data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +59 -0
- data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +133 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +10 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +24 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +1 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +115 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +148 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +10 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +18 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +274 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +340 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +208 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1051 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1482 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +58 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +147 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +267 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +407 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +537 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +513 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +72 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +157 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +103 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +49 -0
- 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 +1069 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +81 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +308 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +87 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2172 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3270 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +37 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2150 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +44 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1224 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +23 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +2809 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +90 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +264 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +870 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +160 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +176 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1324 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +2888 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +69 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +307 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +81 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +19 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +15 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +27 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +226 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +12 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +63 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +252 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +1105 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +100 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +155 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +168 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +329 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +275 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +22 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +344 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +362 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +33 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +225 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +16 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +56 -0
- data/lib/node_modules/npm/node_modules/node-gyp/package.json +55 -0
- data/lib/node_modules/npm/node_modules/nopt/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/nopt/README.md +210 -0
- data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +51 -0
- data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +30 -0
- data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +407 -0
- data/lib/node_modules/npm/node_modules/nopt/package.json +39 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +234 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +25 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +146 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +43 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +176 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +55 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +138 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +9 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +28 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +184 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +156 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +270 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +29 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +9 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +6 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +104 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +22 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +43 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +6 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +49 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +37 -0
- data/lib/node_modules/npm/node_modules/npmconf/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npmconf/README.md +33 -0
- data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +353 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +22 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +282 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +3 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +33 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +81 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +32 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +228 -0
- data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +338 -0
- data/lib/node_modules/npm/node_modules/npmconf/package.json +50 -0
- data/lib/node_modules/npm/node_modules/npmlog/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npmlog/README.md +153 -0
- data/lib/node_modules/npm/node_modules/npmlog/example.js +39 -0
- data/lib/node_modules/npm/node_modules/npmlog/log.js +154 -0
- data/lib/node_modules/npm/node_modules/npmlog/package.json +32 -0
- data/lib/node_modules/npm/node_modules/once/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/once/README.md +51 -0
- data/lib/node_modules/npm/node_modules/once/once.js +20 -0
- data/lib/node_modules/npm/node_modules/once/package.json +39 -0
- data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +14 -0
- data/lib/node_modules/npm/node_modules/opener/README.md +44 -0
- data/lib/node_modules/npm/node_modules/opener/opener.js +55 -0
- data/lib/node_modules/npm/node_modules/opener/package.json +34 -0
- data/lib/node_modules/npm/node_modules/osenv/LICENSE +25 -0
- data/lib/node_modules/npm/node_modules/osenv/README.md +63 -0
- data/lib/node_modules/npm/node_modules/osenv/osenv.js +80 -0
- data/lib/node_modules/npm/node_modules/osenv/package.json +38 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +14 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/README.md +35 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +24 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-installed/LICENSE +16 -0
- data/lib/node_modules/npm/node_modules/read-installed/README.md +25 -0
- data/lib/node_modules/npm/node_modules/read-installed/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +338 -0
- data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/read-package-json/README.md +166 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +4 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +30 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +101 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +29 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +14 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +392 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +36 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +9 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +25 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +28 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +53 -0
- data/lib/node_modules/npm/node_modules/read-package-json/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +368 -0
- data/lib/node_modules/npm/node_modules/read/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/read/README.md +53 -0
- data/lib/node_modules/npm/node_modules/read/example/example.js +13 -0
- data/lib/node_modules/npm/node_modules/read/lib/read.js +113 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +68 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +140 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +37 -0
- data/lib/node_modules/npm/node_modules/read/package.json +35 -0
- data/lib/node_modules/npm/node_modules/read/rs.js +4 -0
- data/lib/node_modules/npm/node_modules/request/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/README.md +364 -0
- data/lib/node_modules/npm/node_modules/request/index.js +157 -0
- data/lib/node_modules/npm/node_modules/request/lib/copy.js +8 -0
- data/lib/node_modules/npm/node_modules/request/lib/debug.js +7 -0
- data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +34 -0
- data/lib/node_modules/npm/node_modules/request/lib/optional.js +5 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +202 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +119 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +163 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +325 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +1414 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +955 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +132 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +185 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +154 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +99 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +32 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +46 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +10 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +627 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +78 -0
- 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 +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +485 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +367 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +111 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +15 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +524 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +183 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +6 -0
- 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 +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +207 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +47 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +6 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +48 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +33 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +10 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +436 -0
- 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 +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +585 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +409 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +48 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +75 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +25 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +179 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +249 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +42 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +196 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +71 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +104 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +39 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +17 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +15 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +767 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +753 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +638 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +101 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +92 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +451 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +81 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +95 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +156 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +50 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +44 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +42 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +45 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +128 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +33 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +39 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +128 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +66 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +114 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +84 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +1588 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +77 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +2 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +207 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +245 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +58 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +366 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +38 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +78 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +380 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +230 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +947 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +102 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +69 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +278 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +73 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +508 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +2 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +69 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +38 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +226 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +442 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +563 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +46 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +5229 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +1340 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +227 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/package.json +57 -0
- data/lib/node_modules/npm/node_modules/request/request.js +1260 -0
- data/lib/node_modules/npm/node_modules/retry/License +21 -0
- data/lib/node_modules/npm/node_modules/retry/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/retry/Readme.md +167 -0
- data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
- data/lib/node_modules/npm/node_modules/retry/example/dns.js +31 -0
- data/lib/node_modules/npm/node_modules/retry/index.js +1 -0
- data/lib/node_modules/npm/node_modules/retry/lib/retry.js +50 -0
- data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +109 -0
- data/lib/node_modules/npm/node_modules/retry/package.json +29 -0
- data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +6 -0
- data/lib/node_modules/npm/node_modules/rimraf/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/rimraf/README.md +30 -0
- data/lib/node_modules/npm/node_modules/rimraf/bin.js +33 -0
- data/lib/node_modules/npm/node_modules/rimraf/package.json +56 -0
- data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +178 -0
- data/lib/node_modules/npm/node_modules/semver/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/semver/Makefile +24 -0
- data/lib/node_modules/npm/node_modules/semver/README.md +142 -0
- data/lib/node_modules/npm/node_modules/semver/bin/semver +124 -0
- data/lib/node_modules/npm/node_modules/semver/foot.js +6 -0
- data/lib/node_modules/npm/node_modules/semver/head.js +2 -0
- data/lib/node_modules/npm/node_modules/semver/package.json +32 -0
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js +1007 -0
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/semver/semver.js +1011 -0
- data/lib/node_modules/npm/node_modules/semver/semver.min.js +1 -0
- data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/sha/LICENSE +46 -0
- data/lib/node_modules/npm/node_modules/sha/README.md +49 -0
- data/lib/node_modules/npm/node_modules/sha/index.js +120 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +768 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +68 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +69 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +41 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +927 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +205 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +369 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +36 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +6 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/package.json +32 -0
- data/lib/node_modules/npm/node_modules/slide/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/slide/README.md +143 -0
- data/lib/node_modules/npm/node_modules/slide/index.js +1 -0
- data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +65 -0
- data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +56 -0
- data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +16 -0
- data/lib/node_modules/npm/node_modules/slide/lib/chain.js +20 -0
- data/lib/node_modules/npm/node_modules/slide/lib/slide.js +3 -0
- data/lib/node_modules/npm/node_modules/slide/package.json +35 -0
- data/lib/node_modules/npm/node_modules/tar/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/tar/README.md +46 -0
- data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +11 -0
- data/lib/node_modules/npm/node_modules/tar/examples/reader.js +36 -0
- data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +30 -0
- data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +169 -0
- data/lib/node_modules/npm/node_modules/tar/lib/entry.js +213 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +191 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +140 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extract.js +78 -0
- data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +14 -0
- data/lib/node_modules/npm/node_modules/tar/lib/header.js +385 -0
- data/lib/node_modules/npm/node_modules/tar/lib/pack.js +231 -0
- data/lib/node_modules/npm/node_modules/tar/lib/parse.js +270 -0
- data/lib/node_modules/npm/node_modules/tar/package.json +40 -0
- data/lib/node_modules/npm/node_modules/tar/tar.js +173 -0
- data/lib/node_modules/npm/node_modules/text-table/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/text-table/example/align.js +8 -0
- data/lib/node_modules/npm/node_modules/text-table/example/center.js +8 -0
- data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -0
- data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -0
- data/lib/node_modules/npm/node_modules/text-table/example/table.js +6 -0
- data/lib/node_modules/npm/node_modules/text-table/index.js +86 -0
- data/lib/node_modules/npm/node_modules/text-table/package.json +52 -0
- data/lib/node_modules/npm/node_modules/text-table/readme.markdown +134 -0
- data/lib/node_modules/npm/node_modules/uid-number/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/uid-number/README.md +17 -0
- data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +24 -0
- data/lib/node_modules/npm/node_modules/uid-number/package.json +35 -0
- data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +54 -0
- data/lib/node_modules/npm/node_modules/which/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/which/README.md +5 -0
- data/lib/node_modules/npm/node_modules/which/bin/which +14 -0
- data/lib/node_modules/npm/node_modules/which/package.json +34 -0
- data/lib/node_modules/npm/node_modules/which/which.js +104 -0
- data/lib/node_modules/npm/package.json +155 -0
- data/lib/node_modules/npm/scripts/clean-old.sh +165 -0
- data/lib/node_modules/npm/scripts/doc-build.sh +84 -0
- data/lib/node_modules/npm/scripts/index-build.js +62 -0
- data/lib/node_modules/npm/scripts/install.sh +313 -0
- data/lib/node_modules/npm/scripts/release.sh +36 -0
- data/lib/node_modules/npm/scripts/relocate.sh +26 -0
- metadata +1052 -36
- checksums.yaml +0 -7
Binary file
|
@@ -0,0 +1,1011 @@
|
|
1
|
+
// export the class if we are in a Node-like system.
|
2
|
+
if (typeof module === 'object' && module.exports === exports)
|
3
|
+
exports = module.exports = SemVer;
|
4
|
+
|
5
|
+
// The debug function is excluded entirely from the minified version.
|
6
|
+
/* nomin */ var debug;
|
7
|
+
/* nomin */ if (typeof process === 'object' &&
|
8
|
+
/* nomin */ process.env &&
|
9
|
+
/* nomin */ process.env.NODE_DEBUG &&
|
10
|
+
/* nomin */ /\bsemver\b/i.test(process.env.NODE_DEBUG))
|
11
|
+
/* nomin */ debug = function() {
|
12
|
+
/* nomin */ var args = Array.prototype.slice.call(arguments, 0);
|
13
|
+
/* nomin */ args.unshift('SEMVER');
|
14
|
+
/* nomin */ console.log.apply(console, args);
|
15
|
+
/* nomin */ };
|
16
|
+
/* nomin */ else
|
17
|
+
/* nomin */ debug = function() {};
|
18
|
+
|
19
|
+
// Note: this is the semver.org version of the spec that it implements
|
20
|
+
// Not necessarily the package version of this code.
|
21
|
+
exports.SEMVER_SPEC_VERSION = '2.0.0';
|
22
|
+
|
23
|
+
// The actual regexps go on exports.re
|
24
|
+
var re = exports.re = [];
|
25
|
+
var src = exports.src = [];
|
26
|
+
var R = 0;
|
27
|
+
|
28
|
+
// The following Regular Expressions can be used for tokenizing,
|
29
|
+
// validating, and parsing SemVer version strings.
|
30
|
+
|
31
|
+
// ## Numeric Identifier
|
32
|
+
// A single `0`, or a non-zero digit followed by zero or more digits.
|
33
|
+
|
34
|
+
var NUMERICIDENTIFIER = R++;
|
35
|
+
src[NUMERICIDENTIFIER] = '0|[1-9]\\d*';
|
36
|
+
var NUMERICIDENTIFIERLOOSE = R++;
|
37
|
+
src[NUMERICIDENTIFIERLOOSE] = '[0-9]+';
|
38
|
+
|
39
|
+
|
40
|
+
// ## Non-numeric Identifier
|
41
|
+
// Zero or more digits, followed by a letter or hyphen, and then zero or
|
42
|
+
// more letters, digits, or hyphens.
|
43
|
+
|
44
|
+
var NONNUMERICIDENTIFIER = R++;
|
45
|
+
src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*';
|
46
|
+
|
47
|
+
|
48
|
+
// ## Main Version
|
49
|
+
// Three dot-separated numeric identifiers.
|
50
|
+
|
51
|
+
var MAINVERSION = R++;
|
52
|
+
src[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\.' +
|
53
|
+
'(' + src[NUMERICIDENTIFIER] + ')\\.' +
|
54
|
+
'(' + src[NUMERICIDENTIFIER] + ')';
|
55
|
+
|
56
|
+
var MAINVERSIONLOOSE = R++;
|
57
|
+
src[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
|
58
|
+
'(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
|
59
|
+
'(' + src[NUMERICIDENTIFIERLOOSE] + ')';
|
60
|
+
|
61
|
+
// ## Pre-release Version Identifier
|
62
|
+
// A numeric identifier, or a non-numeric identifier.
|
63
|
+
|
64
|
+
var PRERELEASEIDENTIFIER = R++;
|
65
|
+
src[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +
|
66
|
+
'|' + src[NONNUMERICIDENTIFIER] + ')';
|
67
|
+
|
68
|
+
var PRERELEASEIDENTIFIERLOOSE = R++;
|
69
|
+
src[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +
|
70
|
+
'|' + src[NONNUMERICIDENTIFIER] + ')';
|
71
|
+
|
72
|
+
|
73
|
+
// ## Pre-release Version
|
74
|
+
// Hyphen, followed by one or more dot-separated pre-release version
|
75
|
+
// identifiers.
|
76
|
+
|
77
|
+
var PRERELEASE = R++;
|
78
|
+
src[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +
|
79
|
+
'(?:\\.' + src[PRERELEASEIDENTIFIER] + ')*))';
|
80
|
+
|
81
|
+
var PRERELEASELOOSE = R++;
|
82
|
+
src[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +
|
83
|
+
'(?:\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))';
|
84
|
+
|
85
|
+
// ## Build Metadata Identifier
|
86
|
+
// Any combination of digits, letters, or hyphens.
|
87
|
+
|
88
|
+
var BUILDIDENTIFIER = R++;
|
89
|
+
src[BUILDIDENTIFIER] = '[0-9A-Za-z-]+';
|
90
|
+
|
91
|
+
// ## Build Metadata
|
92
|
+
// Plus sign, followed by one or more period-separated build metadata
|
93
|
+
// identifiers.
|
94
|
+
|
95
|
+
var BUILD = R++;
|
96
|
+
src[BUILD] = '(?:\\+(' + src[BUILDIDENTIFIER] +
|
97
|
+
'(?:\\.' + src[BUILDIDENTIFIER] + ')*))';
|
98
|
+
|
99
|
+
|
100
|
+
// ## Full Version String
|
101
|
+
// A main version, followed optionally by a pre-release version and
|
102
|
+
// build metadata.
|
103
|
+
|
104
|
+
// Note that the only major, minor, patch, and pre-release sections of
|
105
|
+
// the version string are capturing groups. The build metadata is not a
|
106
|
+
// capturing group, because it should not ever be used in version
|
107
|
+
// comparison.
|
108
|
+
|
109
|
+
var FULL = R++;
|
110
|
+
var FULLPLAIN = 'v?' + src[MAINVERSION] +
|
111
|
+
src[PRERELEASE] + '?' +
|
112
|
+
src[BUILD] + '?';
|
113
|
+
|
114
|
+
src[FULL] = '^' + FULLPLAIN + '$';
|
115
|
+
|
116
|
+
// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
|
117
|
+
// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
|
118
|
+
// common in the npm registry.
|
119
|
+
var LOOSEPLAIN = '[v=\\s]*' + src[MAINVERSIONLOOSE] +
|
120
|
+
src[PRERELEASELOOSE] + '?' +
|
121
|
+
src[BUILD] + '?';
|
122
|
+
|
123
|
+
var LOOSE = R++;
|
124
|
+
src[LOOSE] = '^' + LOOSEPLAIN + '$';
|
125
|
+
|
126
|
+
var GTLT = R++;
|
127
|
+
src[GTLT] = '((?:<|>)?=?)';
|
128
|
+
|
129
|
+
// Something like "2.*" or "1.2.x".
|
130
|
+
// Note that "x.x" is a valid xRange identifer, meaning "any version"
|
131
|
+
// Only the first item is strictly required.
|
132
|
+
var XRANGEIDENTIFIERLOOSE = R++;
|
133
|
+
src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\*';
|
134
|
+
var XRANGEIDENTIFIER = R++;
|
135
|
+
src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\*';
|
136
|
+
|
137
|
+
var XRANGEPLAIN = R++;
|
138
|
+
src[XRANGEPLAIN] = '[v=\\s]*(' + src[XRANGEIDENTIFIER] + ')' +
|
139
|
+
'(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
|
140
|
+
'(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
|
141
|
+
'(?:(' + src[PRERELEASE] + ')' +
|
142
|
+
')?)?)?';
|
143
|
+
|
144
|
+
var XRANGEPLAINLOOSE = R++;
|
145
|
+
src[XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
146
|
+
'(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
147
|
+
'(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
|
148
|
+
'(?:(' + src[PRERELEASELOOSE] + ')' +
|
149
|
+
')?)?)?';
|
150
|
+
|
151
|
+
// >=2.x, for example, means >=2.0.0-0
|
152
|
+
// <1.x would be the same as "<1.0.0-0", though.
|
153
|
+
var XRANGE = R++;
|
154
|
+
src[XRANGE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAIN] + '$';
|
155
|
+
var XRANGELOOSE = R++;
|
156
|
+
src[XRANGELOOSE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAINLOOSE] + '$';
|
157
|
+
|
158
|
+
// Tilde ranges.
|
159
|
+
// Meaning is "reasonably at or greater than"
|
160
|
+
var LONETILDE = R++;
|
161
|
+
src[LONETILDE] = '(?:~>?)';
|
162
|
+
|
163
|
+
var TILDETRIM = R++;
|
164
|
+
src[TILDETRIM] = '(\\s*)' + src[LONETILDE] + '\\s+';
|
165
|
+
re[TILDETRIM] = new RegExp(src[TILDETRIM], 'g');
|
166
|
+
var tildeTrimReplace = '$1~';
|
167
|
+
|
168
|
+
var TILDE = R++;
|
169
|
+
src[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$';
|
170
|
+
var TILDELOOSE = R++;
|
171
|
+
src[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$';
|
172
|
+
|
173
|
+
// Caret ranges.
|
174
|
+
// Meaning is "at least and backwards compatible with"
|
175
|
+
var LONECARET = R++;
|
176
|
+
src[LONECARET] = '(?:\\^)';
|
177
|
+
|
178
|
+
var CARETTRIM = R++;
|
179
|
+
src[CARETTRIM] = '(\\s*)' + src[LONECARET] + '\\s+';
|
180
|
+
re[CARETTRIM] = new RegExp(src[CARETTRIM], 'g');
|
181
|
+
var caretTrimReplace = '$1^';
|
182
|
+
|
183
|
+
var CARET = R++;
|
184
|
+
src[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$';
|
185
|
+
var CARETLOOSE = R++;
|
186
|
+
src[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$';
|
187
|
+
|
188
|
+
// A simple gt/lt/eq thing, or just "" to indicate "any version"
|
189
|
+
var COMPARATORLOOSE = R++;
|
190
|
+
src[COMPARATORLOOSE] = '^' + src[GTLT] + '\\s*(' + LOOSEPLAIN + ')$|^$';
|
191
|
+
var COMPARATOR = R++;
|
192
|
+
src[COMPARATOR] = '^' + src[GTLT] + '\\s*(' + FULLPLAIN + ')$|^$';
|
193
|
+
|
194
|
+
|
195
|
+
// An expression to strip any whitespace between the gtlt and the thing
|
196
|
+
// it modifies, so that `> 1.2.3` ==> `>1.2.3`
|
197
|
+
var COMPARATORTRIM = R++;
|
198
|
+
src[COMPARATORTRIM] = '(\\s*)' + src[GTLT] +
|
199
|
+
'\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')';
|
200
|
+
|
201
|
+
// this one has to use the /g flag
|
202
|
+
re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g');
|
203
|
+
var comparatorTrimReplace = '$1$2$3';
|
204
|
+
|
205
|
+
|
206
|
+
// Something like `1.2.3 - 1.2.4`
|
207
|
+
// Note that these all use the loose form, because they'll be
|
208
|
+
// checked against either the strict or loose comparator form
|
209
|
+
// later.
|
210
|
+
var HYPHENRANGE = R++;
|
211
|
+
src[HYPHENRANGE] = '^\\s*(' + src[XRANGEPLAIN] + ')' +
|
212
|
+
'\\s+-\\s+' +
|
213
|
+
'(' + src[XRANGEPLAIN] + ')' +
|
214
|
+
'\\s*$';
|
215
|
+
|
216
|
+
var HYPHENRANGELOOSE = R++;
|
217
|
+
src[HYPHENRANGELOOSE] = '^\\s*(' + src[XRANGEPLAINLOOSE] + ')' +
|
218
|
+
'\\s+-\\s+' +
|
219
|
+
'(' + src[XRANGEPLAINLOOSE] + ')' +
|
220
|
+
'\\s*$';
|
221
|
+
|
222
|
+
// Star ranges basically just allow anything at all.
|
223
|
+
var STAR = R++;
|
224
|
+
src[STAR] = '(<|>)?=?\\s*\\*';
|
225
|
+
|
226
|
+
// Compile to actual regexp objects.
|
227
|
+
// All are flag-free, unless they were created above with a flag.
|
228
|
+
for (var i = 0; i < R; i++) {
|
229
|
+
debug(i, src[i]);
|
230
|
+
if (!re[i])
|
231
|
+
re[i] = new RegExp(src[i]);
|
232
|
+
}
|
233
|
+
|
234
|
+
exports.parse = parse;
|
235
|
+
function parse(version, loose) {
|
236
|
+
var r = loose ? re[LOOSE] : re[FULL];
|
237
|
+
return (r.test(version)) ? new SemVer(version, loose) : null;
|
238
|
+
}
|
239
|
+
|
240
|
+
exports.valid = valid;
|
241
|
+
function valid(version, loose) {
|
242
|
+
var v = parse(version, loose);
|
243
|
+
return v ? v.version : null;
|
244
|
+
}
|
245
|
+
|
246
|
+
|
247
|
+
exports.clean = clean;
|
248
|
+
function clean(version, loose) {
|
249
|
+
var s = parse(version, loose);
|
250
|
+
return s ? s.version : null;
|
251
|
+
}
|
252
|
+
|
253
|
+
exports.SemVer = SemVer;
|
254
|
+
|
255
|
+
function SemVer(version, loose) {
|
256
|
+
if (version instanceof SemVer) {
|
257
|
+
if (version.loose === loose)
|
258
|
+
return version;
|
259
|
+
else
|
260
|
+
version = version.version;
|
261
|
+
}
|
262
|
+
|
263
|
+
if (!(this instanceof SemVer))
|
264
|
+
return new SemVer(version, loose);
|
265
|
+
|
266
|
+
debug('SemVer', version, loose);
|
267
|
+
this.loose = loose;
|
268
|
+
var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);
|
269
|
+
|
270
|
+
if (!m)
|
271
|
+
throw new TypeError('Invalid Version: ' + version);
|
272
|
+
|
273
|
+
this.raw = version;
|
274
|
+
|
275
|
+
// these are actually numbers
|
276
|
+
this.major = +m[1];
|
277
|
+
this.minor = +m[2];
|
278
|
+
this.patch = +m[3];
|
279
|
+
|
280
|
+
// numberify any prerelease numeric ids
|
281
|
+
if (!m[4])
|
282
|
+
this.prerelease = [];
|
283
|
+
else
|
284
|
+
this.prerelease = m[4].split('.').map(function(id) {
|
285
|
+
return (/^[0-9]+$/.test(id)) ? +id : id;
|
286
|
+
});
|
287
|
+
|
288
|
+
this.build = m[5] ? m[5].split('.') : [];
|
289
|
+
this.format();
|
290
|
+
}
|
291
|
+
|
292
|
+
SemVer.prototype.format = function() {
|
293
|
+
this.version = this.major + '.' + this.minor + '.' + this.patch;
|
294
|
+
if (this.prerelease.length)
|
295
|
+
this.version += '-' + this.prerelease.join('.');
|
296
|
+
return this.version;
|
297
|
+
};
|
298
|
+
|
299
|
+
SemVer.prototype.inspect = function() {
|
300
|
+
return '<SemVer "' + this + '">';
|
301
|
+
};
|
302
|
+
|
303
|
+
SemVer.prototype.toString = function() {
|
304
|
+
return this.version;
|
305
|
+
};
|
306
|
+
|
307
|
+
SemVer.prototype.compare = function(other) {
|
308
|
+
debug('SemVer.compare', this.version, this.loose, other);
|
309
|
+
if (!(other instanceof SemVer))
|
310
|
+
other = new SemVer(other, this.loose);
|
311
|
+
|
312
|
+
return this.compareMain(other) || this.comparePre(other);
|
313
|
+
};
|
314
|
+
|
315
|
+
SemVer.prototype.compareMain = function(other) {
|
316
|
+
if (!(other instanceof SemVer))
|
317
|
+
other = new SemVer(other, this.loose);
|
318
|
+
|
319
|
+
return compareIdentifiers(this.major, other.major) ||
|
320
|
+
compareIdentifiers(this.minor, other.minor) ||
|
321
|
+
compareIdentifiers(this.patch, other.patch);
|
322
|
+
};
|
323
|
+
|
324
|
+
SemVer.prototype.comparePre = function(other) {
|
325
|
+
if (!(other instanceof SemVer))
|
326
|
+
other = new SemVer(other, this.loose);
|
327
|
+
|
328
|
+
// NOT having a prerelease is > having one
|
329
|
+
if (this.prerelease.length && !other.prerelease.length)
|
330
|
+
return -1;
|
331
|
+
else if (!this.prerelease.length && other.prerelease.length)
|
332
|
+
return 1;
|
333
|
+
else if (!this.prerelease.lenth && !other.prerelease.length)
|
334
|
+
return 0;
|
335
|
+
|
336
|
+
var i = 0;
|
337
|
+
do {
|
338
|
+
var a = this.prerelease[i];
|
339
|
+
var b = other.prerelease[i];
|
340
|
+
debug('prerelease compare', i, a, b);
|
341
|
+
if (a === undefined && b === undefined)
|
342
|
+
return 0;
|
343
|
+
else if (b === undefined)
|
344
|
+
return 1;
|
345
|
+
else if (a === undefined)
|
346
|
+
return -1;
|
347
|
+
else if (a === b)
|
348
|
+
continue;
|
349
|
+
else
|
350
|
+
return compareIdentifiers(a, b);
|
351
|
+
} while (++i);
|
352
|
+
};
|
353
|
+
|
354
|
+
SemVer.prototype.inc = function(release) {
|
355
|
+
switch (release) {
|
356
|
+
case 'major':
|
357
|
+
this.major++;
|
358
|
+
this.minor = -1;
|
359
|
+
case 'minor':
|
360
|
+
this.minor++;
|
361
|
+
this.patch = -1;
|
362
|
+
case 'patch':
|
363
|
+
this.patch++;
|
364
|
+
this.prerelease = [];
|
365
|
+
break;
|
366
|
+
case 'prerelease':
|
367
|
+
if (this.prerelease.length === 0)
|
368
|
+
this.prerelease = [0];
|
369
|
+
else {
|
370
|
+
var i = this.prerelease.length;
|
371
|
+
while (--i >= 0) {
|
372
|
+
if (typeof this.prerelease[i] === 'number') {
|
373
|
+
this.prerelease[i]++;
|
374
|
+
i = -2;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
if (i === -1) // didn't increment anything
|
378
|
+
this.prerelease.push(0);
|
379
|
+
}
|
380
|
+
break;
|
381
|
+
|
382
|
+
default:
|
383
|
+
throw new Error('invalid increment argument: ' + release);
|
384
|
+
}
|
385
|
+
this.format();
|
386
|
+
return this;
|
387
|
+
};
|
388
|
+
|
389
|
+
exports.inc = inc;
|
390
|
+
function inc(version, release, loose) {
|
391
|
+
try {
|
392
|
+
return new SemVer(version, loose).inc(release).version;
|
393
|
+
} catch (er) {
|
394
|
+
return null;
|
395
|
+
}
|
396
|
+
}
|
397
|
+
|
398
|
+
exports.compareIdentifiers = compareIdentifiers;
|
399
|
+
|
400
|
+
var numeric = /^[0-9]+$/;
|
401
|
+
function compareIdentifiers(a, b) {
|
402
|
+
var anum = numeric.test(a);
|
403
|
+
var bnum = numeric.test(b);
|
404
|
+
|
405
|
+
if (anum && bnum) {
|
406
|
+
a = +a;
|
407
|
+
b = +b;
|
408
|
+
}
|
409
|
+
|
410
|
+
return (anum && !bnum) ? -1 :
|
411
|
+
(bnum && !anum) ? 1 :
|
412
|
+
a < b ? -1 :
|
413
|
+
a > b ? 1 :
|
414
|
+
0;
|
415
|
+
}
|
416
|
+
|
417
|
+
exports.rcompareIdentifiers = rcompareIdentifiers;
|
418
|
+
function rcompareIdentifiers(a, b) {
|
419
|
+
return compareIdentifiers(b, a);
|
420
|
+
}
|
421
|
+
|
422
|
+
exports.compare = compare;
|
423
|
+
function compare(a, b, loose) {
|
424
|
+
return new SemVer(a, loose).compare(b);
|
425
|
+
}
|
426
|
+
|
427
|
+
exports.compareLoose = compareLoose;
|
428
|
+
function compareLoose(a, b) {
|
429
|
+
return compare(a, b, true);
|
430
|
+
}
|
431
|
+
|
432
|
+
exports.rcompare = rcompare;
|
433
|
+
function rcompare(a, b, loose) {
|
434
|
+
return compare(b, a, loose);
|
435
|
+
}
|
436
|
+
|
437
|
+
exports.sort = sort;
|
438
|
+
function sort(list, loose) {
|
439
|
+
return list.sort(function(a, b) {
|
440
|
+
return exports.compare(a, b, loose);
|
441
|
+
});
|
442
|
+
}
|
443
|
+
|
444
|
+
exports.rsort = rsort;
|
445
|
+
function rsort(list, loose) {
|
446
|
+
return list.sort(function(a, b) {
|
447
|
+
return exports.rcompare(a, b, loose);
|
448
|
+
});
|
449
|
+
}
|
450
|
+
|
451
|
+
exports.gt = gt;
|
452
|
+
function gt(a, b, loose) {
|
453
|
+
return compare(a, b, loose) > 0;
|
454
|
+
}
|
455
|
+
|
456
|
+
exports.lt = lt;
|
457
|
+
function lt(a, b, loose) {
|
458
|
+
return compare(a, b, loose) < 0;
|
459
|
+
}
|
460
|
+
|
461
|
+
exports.eq = eq;
|
462
|
+
function eq(a, b, loose) {
|
463
|
+
return compare(a, b, loose) === 0;
|
464
|
+
}
|
465
|
+
|
466
|
+
exports.neq = neq;
|
467
|
+
function neq(a, b, loose) {
|
468
|
+
return compare(a, b, loose) !== 0;
|
469
|
+
}
|
470
|
+
|
471
|
+
exports.gte = gte;
|
472
|
+
function gte(a, b, loose) {
|
473
|
+
return compare(a, b, loose) >= 0;
|
474
|
+
}
|
475
|
+
|
476
|
+
exports.lte = lte;
|
477
|
+
function lte(a, b, loose) {
|
478
|
+
return compare(a, b, loose) <= 0;
|
479
|
+
}
|
480
|
+
|
481
|
+
exports.cmp = cmp;
|
482
|
+
function cmp(a, op, b, loose) {
|
483
|
+
var ret;
|
484
|
+
switch (op) {
|
485
|
+
case '===': ret = a === b; break;
|
486
|
+
case '!==': ret = a !== b; break;
|
487
|
+
case '': case '=': case '==': ret = eq(a, b, loose); break;
|
488
|
+
case '!=': ret = neq(a, b, loose); break;
|
489
|
+
case '>': ret = gt(a, b, loose); break;
|
490
|
+
case '>=': ret = gte(a, b, loose); break;
|
491
|
+
case '<': ret = lt(a, b, loose); break;
|
492
|
+
case '<=': ret = lte(a, b, loose); break;
|
493
|
+
default: throw new TypeError('Invalid operator: ' + op);
|
494
|
+
}
|
495
|
+
return ret;
|
496
|
+
}
|
497
|
+
|
498
|
+
exports.Comparator = Comparator;
|
499
|
+
function Comparator(comp, loose) {
|
500
|
+
if (comp instanceof Comparator) {
|
501
|
+
if (comp.loose === loose)
|
502
|
+
return comp;
|
503
|
+
else
|
504
|
+
comp = comp.value;
|
505
|
+
}
|
506
|
+
|
507
|
+
if (!(this instanceof Comparator))
|
508
|
+
return new Comparator(comp, loose);
|
509
|
+
|
510
|
+
debug('comparator', comp, loose);
|
511
|
+
this.loose = loose;
|
512
|
+
this.parse(comp);
|
513
|
+
|
514
|
+
if (this.semver === ANY)
|
515
|
+
this.value = '';
|
516
|
+
else
|
517
|
+
this.value = this.operator + this.semver.version;
|
518
|
+
}
|
519
|
+
|
520
|
+
var ANY = {};
|
521
|
+
Comparator.prototype.parse = function(comp) {
|
522
|
+
var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
|
523
|
+
var m = comp.match(r);
|
524
|
+
|
525
|
+
if (!m)
|
526
|
+
throw new TypeError('Invalid comparator: ' + comp);
|
527
|
+
|
528
|
+
this.operator = m[1];
|
529
|
+
// if it literally is just '>' or '' then allow anything.
|
530
|
+
if (!m[2])
|
531
|
+
this.semver = ANY;
|
532
|
+
else {
|
533
|
+
this.semver = new SemVer(m[2], this.loose);
|
534
|
+
|
535
|
+
// <1.2.3-rc DOES allow 1.2.3-beta (has prerelease)
|
536
|
+
// >=1.2.3 DOES NOT allow 1.2.3-beta
|
537
|
+
// <=1.2.3 DOES allow 1.2.3-beta
|
538
|
+
// However, <1.2.3 does NOT allow 1.2.3-beta,
|
539
|
+
// even though `1.2.3-beta < 1.2.3`
|
540
|
+
// The assumption is that the 1.2.3 version has something you
|
541
|
+
// *don't* want, so we push the prerelease down to the minimum.
|
542
|
+
if (this.operator === '<' && !this.semver.prerelease.length) {
|
543
|
+
this.semver.prerelease = ['0'];
|
544
|
+
this.semver.format();
|
545
|
+
}
|
546
|
+
}
|
547
|
+
};
|
548
|
+
|
549
|
+
Comparator.prototype.inspect = function() {
|
550
|
+
return '<SemVer Comparator "' + this + '">';
|
551
|
+
};
|
552
|
+
|
553
|
+
Comparator.prototype.toString = function() {
|
554
|
+
return this.value;
|
555
|
+
};
|
556
|
+
|
557
|
+
Comparator.prototype.test = function(version) {
|
558
|
+
debug('Comparator.test', version, this.loose);
|
559
|
+
return (this.semver === ANY) ? true :
|
560
|
+
cmp(version, this.operator, this.semver, this.loose);
|
561
|
+
};
|
562
|
+
|
563
|
+
|
564
|
+
exports.Range = Range;
|
565
|
+
function Range(range, loose) {
|
566
|
+
if ((range instanceof Range) && range.loose === loose)
|
567
|
+
return range;
|
568
|
+
|
569
|
+
if (!(this instanceof Range))
|
570
|
+
return new Range(range, loose);
|
571
|
+
|
572
|
+
this.loose = loose;
|
573
|
+
|
574
|
+
// First, split based on boolean or ||
|
575
|
+
this.raw = range;
|
576
|
+
this.set = range.split(/\s*\|\|\s*/).map(function(range) {
|
577
|
+
return this.parseRange(range.trim());
|
578
|
+
}, this).filter(function(c) {
|
579
|
+
// throw out any that are not relevant for whatever reason
|
580
|
+
return c.length;
|
581
|
+
});
|
582
|
+
|
583
|
+
if (!this.set.length) {
|
584
|
+
throw new TypeError('Invalid SemVer Range: ' + range);
|
585
|
+
}
|
586
|
+
|
587
|
+
this.format();
|
588
|
+
}
|
589
|
+
|
590
|
+
Range.prototype.inspect = function() {
|
591
|
+
return '<SemVer Range "' + this.range + '">';
|
592
|
+
};
|
593
|
+
|
594
|
+
Range.prototype.format = function() {
|
595
|
+
this.range = this.set.map(function(comps) {
|
596
|
+
return comps.join(' ').trim();
|
597
|
+
}).join('||').trim();
|
598
|
+
return this.range;
|
599
|
+
};
|
600
|
+
|
601
|
+
Range.prototype.toString = function() {
|
602
|
+
return this.range;
|
603
|
+
};
|
604
|
+
|
605
|
+
Range.prototype.parseRange = function(range) {
|
606
|
+
var loose = this.loose;
|
607
|
+
range = range.trim();
|
608
|
+
debug('range', range, loose);
|
609
|
+
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
|
610
|
+
var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];
|
611
|
+
range = range.replace(hr, hyphenReplace);
|
612
|
+
debug('hyphen replace', range);
|
613
|
+
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
614
|
+
range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);
|
615
|
+
debug('comparator trim', range, re[COMPARATORTRIM]);
|
616
|
+
|
617
|
+
// `~ 1.2.3` => `~1.2.3`
|
618
|
+
range = range.replace(re[TILDETRIM], tildeTrimReplace);
|
619
|
+
|
620
|
+
// `^ 1.2.3` => `^1.2.3`
|
621
|
+
range = range.replace(re[CARETTRIM], caretTrimReplace);
|
622
|
+
|
623
|
+
// normalize spaces
|
624
|
+
range = range.split(/\s+/).join(' ');
|
625
|
+
|
626
|
+
// At this point, the range is completely trimmed and
|
627
|
+
// ready to be split into comparators.
|
628
|
+
|
629
|
+
var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
|
630
|
+
var set = range.split(' ').map(function(comp) {
|
631
|
+
return parseComparator(comp, loose);
|
632
|
+
}).join(' ').split(/\s+/);
|
633
|
+
if (this.loose) {
|
634
|
+
// in loose mode, throw out any that are not valid comparators
|
635
|
+
set = set.filter(function(comp) {
|
636
|
+
return !!comp.match(compRe);
|
637
|
+
});
|
638
|
+
}
|
639
|
+
set = set.map(function(comp) {
|
640
|
+
return new Comparator(comp, loose);
|
641
|
+
});
|
642
|
+
|
643
|
+
return set;
|
644
|
+
};
|
645
|
+
|
646
|
+
// Mostly just for testing and legacy API reasons
|
647
|
+
exports.toComparators = toComparators;
|
648
|
+
function toComparators(range, loose) {
|
649
|
+
return new Range(range, loose).set.map(function(comp) {
|
650
|
+
return comp.map(function(c) {
|
651
|
+
return c.value;
|
652
|
+
}).join(' ').trim().split(' ');
|
653
|
+
});
|
654
|
+
}
|
655
|
+
|
656
|
+
// comprised of xranges, tildes, stars, and gtlt's at this point.
|
657
|
+
// already replaced the hyphen ranges
|
658
|
+
// turn into a set of JUST comparators.
|
659
|
+
function parseComparator(comp, loose) {
|
660
|
+
debug('comp', comp);
|
661
|
+
comp = replaceCarets(comp, loose);
|
662
|
+
debug('caret', comp);
|
663
|
+
comp = replaceTildes(comp, loose);
|
664
|
+
debug('tildes', comp);
|
665
|
+
comp = replaceXRanges(comp, loose);
|
666
|
+
debug('xrange', comp);
|
667
|
+
comp = replaceStars(comp, loose);
|
668
|
+
debug('stars', comp);
|
669
|
+
return comp;
|
670
|
+
}
|
671
|
+
|
672
|
+
function isX(id) {
|
673
|
+
return !id || id.toLowerCase() === 'x' || id === '*';
|
674
|
+
}
|
675
|
+
|
676
|
+
// ~, ~> --> * (any, kinda silly)
|
677
|
+
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
|
678
|
+
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
|
679
|
+
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
|
680
|
+
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
|
681
|
+
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
|
682
|
+
function replaceTildes(comp, loose) {
|
683
|
+
return comp.trim().split(/\s+/).map(function(comp) {
|
684
|
+
return replaceTilde(comp, loose);
|
685
|
+
}).join(' ');
|
686
|
+
}
|
687
|
+
|
688
|
+
function replaceTilde(comp, loose) {
|
689
|
+
var r = loose ? re[TILDELOOSE] : re[TILDE];
|
690
|
+
return comp.replace(r, function(_, M, m, p, pr) {
|
691
|
+
debug('tilde', comp, _, M, m, p, pr);
|
692
|
+
var ret;
|
693
|
+
|
694
|
+
if (isX(M))
|
695
|
+
ret = '';
|
696
|
+
else if (isX(m))
|
697
|
+
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
698
|
+
else if (isX(p))
|
699
|
+
// ~1.2 == >=1.2.0- <1.3.0-
|
700
|
+
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
701
|
+
else if (pr) {
|
702
|
+
debug('replaceTilde pr', pr);
|
703
|
+
if (pr.charAt(0) !== '-')
|
704
|
+
pr = '-' + pr;
|
705
|
+
ret = '>=' + M + '.' + m + '.' + p + pr +
|
706
|
+
' <' + M + '.' + (+m + 1) + '.0-0';
|
707
|
+
} else
|
708
|
+
// ~1.2.3 == >=1.2.3-0 <1.3.0-0
|
709
|
+
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
710
|
+
' <' + M + '.' + (+m + 1) + '.0-0';
|
711
|
+
|
712
|
+
debug('tilde return', ret);
|
713
|
+
return ret;
|
714
|
+
});
|
715
|
+
}
|
716
|
+
|
717
|
+
// ^ --> * (any, kinda silly)
|
718
|
+
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
|
719
|
+
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
|
720
|
+
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
|
721
|
+
// ^1.2.3 --> >=1.2.3 <2.0.0
|
722
|
+
// ^1.2.0 --> >=1.2.0 <2.0.0
|
723
|
+
function replaceCarets(comp, loose) {
|
724
|
+
return comp.trim().split(/\s+/).map(function(comp) {
|
725
|
+
return replaceCaret(comp, loose);
|
726
|
+
}).join(' ');
|
727
|
+
}
|
728
|
+
|
729
|
+
function replaceCaret(comp, loose) {
|
730
|
+
var r = loose ? re[CARETLOOSE] : re[CARET];
|
731
|
+
return comp.replace(r, function(_, M, m, p, pr) {
|
732
|
+
debug('caret', comp, _, M, m, p, pr);
|
733
|
+
var ret;
|
734
|
+
|
735
|
+
if (isX(M))
|
736
|
+
ret = '';
|
737
|
+
else if (isX(m))
|
738
|
+
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
739
|
+
else if (isX(p)) {
|
740
|
+
if (M === '0')
|
741
|
+
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
742
|
+
else
|
743
|
+
ret = '>=' + M + '.' + m + '.0-0 <' + (+M + 1) + '.0.0-0';
|
744
|
+
} else if (pr) {
|
745
|
+
debug('replaceCaret pr', pr);
|
746
|
+
if (pr.charAt(0) !== '-')
|
747
|
+
pr = '-' + pr;
|
748
|
+
if (M === '0') {
|
749
|
+
if (m === '0')
|
750
|
+
ret = '=' + M + '.' + m + '.' + p + pr;
|
751
|
+
else
|
752
|
+
ret = '>=' + M + '.' + m + '.' + p + pr +
|
753
|
+
' <' + M + '.' + (+m + 1) + '.0-0';
|
754
|
+
} else
|
755
|
+
ret = '>=' + M + '.' + m + '.' + p + pr +
|
756
|
+
' <' + (+M + 1) + '.0.0-0';
|
757
|
+
} else {
|
758
|
+
if (M === '0') {
|
759
|
+
if (m === '0')
|
760
|
+
ret = '=' + M + '.' + m + '.' + p;
|
761
|
+
else
|
762
|
+
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
763
|
+
' <' + M + '.' + (+m + 1) + '.0-0';
|
764
|
+
} else
|
765
|
+
ret = '>=' + M + '.' + m + '.' + p + '-0' +
|
766
|
+
' <' + (+M + 1) + '.0.0-0';
|
767
|
+
}
|
768
|
+
|
769
|
+
debug('caret return', ret);
|
770
|
+
return ret;
|
771
|
+
});
|
772
|
+
}
|
773
|
+
|
774
|
+
function replaceXRanges(comp, loose) {
|
775
|
+
debug('replaceXRanges', comp, loose);
|
776
|
+
return comp.split(/\s+/).map(function(comp) {
|
777
|
+
return replaceXRange(comp, loose);
|
778
|
+
}).join(' ');
|
779
|
+
}
|
780
|
+
|
781
|
+
function replaceXRange(comp, loose) {
|
782
|
+
comp = comp.trim();
|
783
|
+
var r = loose ? re[XRANGELOOSE] : re[XRANGE];
|
784
|
+
return comp.replace(r, function(ret, gtlt, M, m, p, pr) {
|
785
|
+
debug('xRange', comp, ret, gtlt, M, m, p, pr);
|
786
|
+
var xM = isX(M);
|
787
|
+
var xm = xM || isX(m);
|
788
|
+
var xp = xm || isX(p);
|
789
|
+
var anyX = xp;
|
790
|
+
|
791
|
+
if (gtlt === '=' && anyX)
|
792
|
+
gtlt = '';
|
793
|
+
|
794
|
+
if (gtlt && anyX) {
|
795
|
+
// replace X with 0, and then append the -0 min-prerelease
|
796
|
+
if (xM)
|
797
|
+
M = 0;
|
798
|
+
if (xm)
|
799
|
+
m = 0;
|
800
|
+
if (xp)
|
801
|
+
p = 0;
|
802
|
+
|
803
|
+
if (gtlt === '>') {
|
804
|
+
// >1 => >=2.0.0-0
|
805
|
+
// >1.2 => >=1.3.0-0
|
806
|
+
// >1.2.3 => >= 1.2.4-0
|
807
|
+
gtlt = '>=';
|
808
|
+
if (xM) {
|
809
|
+
// no change
|
810
|
+
} else if (xm) {
|
811
|
+
M = +M + 1;
|
812
|
+
m = 0;
|
813
|
+
p = 0;
|
814
|
+
} else if (xp) {
|
815
|
+
m = +m + 1;
|
816
|
+
p = 0;
|
817
|
+
}
|
818
|
+
}
|
819
|
+
|
820
|
+
|
821
|
+
ret = gtlt + M + '.' + m + '.' + p + '-0';
|
822
|
+
} else if (xM) {
|
823
|
+
// allow any
|
824
|
+
ret = '*';
|
825
|
+
} else if (xm) {
|
826
|
+
// append '-0' onto the version, otherwise
|
827
|
+
// '1.x.x' matches '2.0.0-beta', since the tag
|
828
|
+
// *lowers* the version value
|
829
|
+
ret = '>=' + M + '.0.0-0 <' + (+M + 1) + '.0.0-0';
|
830
|
+
} else if (xp) {
|
831
|
+
ret = '>=' + M + '.' + m + '.0-0 <' + M + '.' + (+m + 1) + '.0-0';
|
832
|
+
}
|
833
|
+
|
834
|
+
debug('xRange return', ret);
|
835
|
+
|
836
|
+
return ret;
|
837
|
+
});
|
838
|
+
}
|
839
|
+
|
840
|
+
// Because * is AND-ed with everything else in the comparator,
|
841
|
+
// and '' means "any version", just remove the *s entirely.
|
842
|
+
function replaceStars(comp, loose) {
|
843
|
+
debug('replaceStars', comp, loose);
|
844
|
+
// Looseness is ignored here. star is always as loose as it gets!
|
845
|
+
return comp.trim().replace(re[STAR], '');
|
846
|
+
}
|
847
|
+
|
848
|
+
// This function is passed to string.replace(re[HYPHENRANGE])
|
849
|
+
// M, m, patch, prerelease, build
|
850
|
+
// 1.2 - 3.4.5 => >=1.2.0-0 <=3.4.5
|
851
|
+
// 1.2.3 - 3.4 => >=1.2.0-0 <3.5.0-0 Any 3.4.x will do
|
852
|
+
// 1.2 - 3.4 => >=1.2.0-0 <3.5.0-0
|
853
|
+
function hyphenReplace($0,
|
854
|
+
from, fM, fm, fp, fpr, fb,
|
855
|
+
to, tM, tm, tp, tpr, tb) {
|
856
|
+
|
857
|
+
if (isX(fM))
|
858
|
+
from = '';
|
859
|
+
else if (isX(fm))
|
860
|
+
from = '>=' + fM + '.0.0-0';
|
861
|
+
else if (isX(fp))
|
862
|
+
from = '>=' + fM + '.' + fm + '.0-0';
|
863
|
+
else
|
864
|
+
from = '>=' + from;
|
865
|
+
|
866
|
+
if (isX(tM))
|
867
|
+
to = '';
|
868
|
+
else if (isX(tm))
|
869
|
+
to = '<' + (+tM + 1) + '.0.0-0';
|
870
|
+
else if (isX(tp))
|
871
|
+
to = '<' + tM + '.' + (+tm + 1) + '.0-0';
|
872
|
+
else if (tpr)
|
873
|
+
to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr;
|
874
|
+
else
|
875
|
+
to = '<=' + to;
|
876
|
+
|
877
|
+
return (from + ' ' + to).trim();
|
878
|
+
}
|
879
|
+
|
880
|
+
|
881
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
882
|
+
Range.prototype.test = function(version) {
|
883
|
+
if (!version)
|
884
|
+
return false;
|
885
|
+
for (var i = 0; i < this.set.length; i++) {
|
886
|
+
if (testSet(this.set[i], version))
|
887
|
+
return true;
|
888
|
+
}
|
889
|
+
return false;
|
890
|
+
};
|
891
|
+
|
892
|
+
function testSet(set, version) {
|
893
|
+
for (var i = 0; i < set.length; i++) {
|
894
|
+
if (!set[i].test(version))
|
895
|
+
return false;
|
896
|
+
}
|
897
|
+
return true;
|
898
|
+
}
|
899
|
+
|
900
|
+
exports.satisfies = satisfies;
|
901
|
+
function satisfies(version, range, loose) {
|
902
|
+
try {
|
903
|
+
range = new Range(range, loose);
|
904
|
+
} catch (er) {
|
905
|
+
return false;
|
906
|
+
}
|
907
|
+
return range.test(version);
|
908
|
+
}
|
909
|
+
|
910
|
+
exports.maxSatisfying = maxSatisfying;
|
911
|
+
function maxSatisfying(versions, range, loose) {
|
912
|
+
return versions.filter(function(version) {
|
913
|
+
return satisfies(version, range, loose);
|
914
|
+
}).sort(function(a, b) {
|
915
|
+
return rcompare(a, b, loose);
|
916
|
+
})[0] || null;
|
917
|
+
}
|
918
|
+
|
919
|
+
exports.validRange = validRange;
|
920
|
+
function validRange(range, loose) {
|
921
|
+
try {
|
922
|
+
// Return '*' instead of '' so that truthiness works.
|
923
|
+
// This will throw if it's invalid anyway
|
924
|
+
return new Range(range, loose).range || '*';
|
925
|
+
} catch (er) {
|
926
|
+
return null;
|
927
|
+
}
|
928
|
+
}
|
929
|
+
|
930
|
+
// Determine if version is less than all the versions possible in the range
|
931
|
+
exports.ltr = ltr;
|
932
|
+
function ltr(version, range, loose) {
|
933
|
+
return outside(version, range, '<', loose);
|
934
|
+
}
|
935
|
+
|
936
|
+
// Determine if version is greater than all the versions possible in the range.
|
937
|
+
exports.gtr = gtr;
|
938
|
+
function gtr(version, range, loose) {
|
939
|
+
return outside(version, range, '>', loose);
|
940
|
+
}
|
941
|
+
|
942
|
+
exports.outside = outside;
|
943
|
+
function outside(version, range, hilo, loose) {
|
944
|
+
version = new SemVer(version, loose);
|
945
|
+
range = new Range(range, loose);
|
946
|
+
|
947
|
+
var gtfn, ltefn, ltfn, comp, ecomp;
|
948
|
+
switch (hilo) {
|
949
|
+
case '>':
|
950
|
+
gtfn = gt;
|
951
|
+
ltefn = lte;
|
952
|
+
ltfn = lt;
|
953
|
+
comp = '>';
|
954
|
+
ecomp = '>=';
|
955
|
+
break;
|
956
|
+
case '<':
|
957
|
+
gtfn = lt;
|
958
|
+
ltefn = gte;
|
959
|
+
ltfn = gt;
|
960
|
+
comp = '<';
|
961
|
+
ecomp = '<=';
|
962
|
+
break;
|
963
|
+
default:
|
964
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
965
|
+
}
|
966
|
+
|
967
|
+
// If it satisifes the range it is not outside
|
968
|
+
if (satisfies(version, range, loose)) {
|
969
|
+
return false;
|
970
|
+
}
|
971
|
+
|
972
|
+
// From now on, variable terms are as if we're in "gtr" mode.
|
973
|
+
// but note that everything is flipped for the "ltr" function.
|
974
|
+
|
975
|
+
for (var i = 0; i < range.set.length; ++i) {
|
976
|
+
var comparators = range.set[i];
|
977
|
+
|
978
|
+
var high = null;
|
979
|
+
var low = null;
|
980
|
+
|
981
|
+
comparators.forEach(function(comparator) {
|
982
|
+
high = high || comparator;
|
983
|
+
low = low || comparator;
|
984
|
+
if (gtfn(comparator.semver, high.semver, loose)) {
|
985
|
+
high = comparator;
|
986
|
+
} else if (ltfn(comparator.semver, low.semver, loose)) {
|
987
|
+
low = comparator;
|
988
|
+
}
|
989
|
+
});
|
990
|
+
|
991
|
+
// If the edge version comparator has a operator then our version
|
992
|
+
// isn't outside it
|
993
|
+
if (high.operator === comp || high.operator === ecomp) {
|
994
|
+
return false;
|
995
|
+
}
|
996
|
+
|
997
|
+
// If the lowest version comparator has an operator and our version
|
998
|
+
// is less than it then it isn't higher than the range
|
999
|
+
if ((!low.operator || low.operator === comp) &&
|
1000
|
+
ltefn(version, low.semver)) {
|
1001
|
+
return false;
|
1002
|
+
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
1003
|
+
return false;
|
1004
|
+
}
|
1005
|
+
}
|
1006
|
+
return true;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
// Use the define() function if we're in AMD land
|
1010
|
+
if (typeof define === 'function' && define.amd)
|
1011
|
+
define(exports);
|